i wanna to filter every color in a picture except light orange til dark orange
i wanna to remove the other color ranges
also about yellow and green
i have the code to threshold but i don't know what ranges should i use
// threshold values for each channel
var thresholds = new[] { new TRange(70, 230), new TRange(100, 255), new TRange(140, 210) };
what numbers should i use in Tranges for each above colors ?
thanks in advance
Bahar JalaliPosted Jan 8, 2013, 6:52 AM
VulpesPosted Jan 8, 2013, 5:47 AM
If that's the case, then the RGB numbers for all recognized 'orange' colors are as follows:
Orange 255, 165, 0
Dark Orange 255, 140, 0
Orange Red 255, 69, 0
There's no 'Light Orange' to my knowledge.
For other colors, I'd check this site:
http://www.rapidtables.com/web/color/RGB_Color.htm