-
January 19th, 2010, 05:06 AM
#1
Color Conversion
Dear all,
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, 02:07 PM
#2
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...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|