Thanks for the info. i think I understand how the thresholds work. But I’m not clear on how to isolate a color. I can see using a combination of inverted and normal thresholds to do this. But in my testing I have had very little success. This is partly because im not sure how to combine them. team 237 used a variant of the code below but I don’t see much logic in how this executes.
There is also a .getOr() function which I might be able to use.
Code:
WPIBinaryImage threshold = red.getAnd(green).getAnd(blue);
on a side note where did you get that code snippet?