converted input data from BGR to HSV color-space