Convert images to HSV