Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is it normal a HSV image looks like this?

Hello,

For a university project we have to navigate a drone through a building using a grid of symbols varying in color and shape. The drone takes pictures every second in JPEG format.

To recognize the shapes and colors in the picture I was thinking about using a color filter, thus eliminating noise and identifying the color of the symbols. I read through some opencv tutorials and documentation and the general consensus suggested to convert the image to HSV and then applying a mask.

To tweak the color masks I wrote a simple GUI to adjust the mask values. I do not know what color space JPEG uses so I tried both "RGB2HSV" and "BGR2HSV" but both images do not look like the original image at all

This is the result using RGB2HSV, and this is BGR2HSV. None of these images look like the original (that I cannot upload for some reason)

I was wondering if this is normal, and if so which conversion is the correct one?