How can I using code in C# for color extraction?
问题 I need help to extract specified color (red for example) from an image then cropping objects which contain this color. This part is so important in my graduate project which tracking laser gesture in projector screen. 回答1: I'm really not sure I understood you correctly, but here is a code that makes only red parts of an image visible. You can change it to only red parts invisible by changing > to < when comparing to 200. You can also play with the number 200 to see what threshold is good for