January 19th, 2010, 04:06 AM
I just started "playing" with OpenCV and eclipse but I have some problems with them. I'm just trying to change red color to green... It should be easy but my algorithms never work, can anyone help me? Any algorithms?
Thank you in advance. Alex
January 27th, 2010, 01:07 PM
Re: Color Conversion
What's your algorithm? All you should have to do is swap values 0 and 1, 4 and 5, 8 and 9...
If I remember correctly the images that come out of OpenCV are RGBA, but they might be RGB, in which case you would swap 0 and 1, 3 and 4, 6 and 7...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!