color filter

Ask question on using Emgu CV with C#

color filter

Postby uchaudh1 » Fri Sep 10, 2010 4:54 pm

i am trying to make a orange color filter using a webcam with emgu. I have the image coming in correctly, but i cant seem to figure out how to filter the orange, could anyone give me some hints on the coding algorithim. I have tried but but have not gotten anywhere. the rgb values range i found for orange were 128 81 0 to 255 160 0. Any help would be great thx.
uchaudh1
 
Posts: 1
Joined: Fri Sep 10, 2010 4:18 pm

Re: color filter

Postby badrepent » Sat Sep 18, 2010 4:27 am

You can simply use the InRange method of Image class using your brg values as parameters.
Hope this helps
badrepent
 
Posts: 96
Joined: Mon Nov 17, 2008 12:14 pm


Return to C# Help

Who is online

Users browsing this forum: Google [Bot] and 2 guests