Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV RGB to HSV wrong colors, detection by color

Hi, I am working on project what detect hematoma from skin. I am having issue with color after convertion from RGB to HSV. My algorithm detect hematoma by its color.

With some images I have good results like here:

Original img: http://imgur.com/WHiOWdj Result img: http://imgur.com/PujbnHa

But with some images i have bad result like this:

Original img: http://imgur.com/OshB99r Result img: http://imgur.com/CuNzAId

The same original image after convertion to HSV: http://imgur.com/lkVwtCs

Do you have any ideas how to fix it?

Thanks

click to hide/show revision 2
retagged

updated 2015-02-05 12:10:02 -0600

berak gravatar image

OpenCV RGB to HSV wrong colors, detection by color

Hi, I am working on project what detect hematoma from skin. I am having issue with color after convertion from RGB to HSV. My algorithm detect hematoma by its color.

With some images I have good results like here:

Original img: http://imgur.com/WHiOWdj Result img: http://imgur.com/PujbnHa

But with some images i have bad result like this:

Original img: http://imgur.com/OshB99r Result img: http://imgur.com/CuNzAId

The same original image after convertion to HSV: http://imgur.com/lkVwtCs

Do you have any ideas how to fix it?

Thanks