Opencv: Converting hue image to RGB image?

If I understand you correctly, you want to "correctly" visualize just the Hue component. You can create another imageSat and imageVal one-channel each and filled with 255 (maximum). Then cvMerge your imageHue with the other two, to create a new HSV image, and convert that back to RGB/BGR for final display.

If I understand you correctly, you want to "correctly" visualize just the Hue component. You can create another imageSat and imageVal, one-channel each and filled with 255 (maximum). Then cvMerge your imageHue with the other two, to create a new HSV image, and convert that back to RGB/BGR for final display.

That works perfectly, thank you! I tried cvMerge before but I guess I never thought to fill each image with the max value. – jhaip Jun 11 '10 at 12:54 If you don't care for S/V, you don't need to split it, just set them already to maximum.

I don't know by heart, but I think cvSetCOI(hsvimg, 2); cvSet(hsvimg, 255); as well as the same for 3 might work already. Don't forget to reset the COI (channel of interest) back to 0 (=no channel, use whole image) when your done. – zerm Jun 11 '10 at 13:47.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions