Ok I understand the thresholds now, but I'm still unsure how to isolate a color.
I can see how I might be able to utilize the getInverseThreshold() function but my testing has had little success.
This is compounded by the fact that I don't understand the threshold combination command seen below.
Code:
WPIBinaryImage threshold = red.getAnd(green).getAnd(blue);
There is also a getOr() function.
I don't fully understand how the implementation of these works.
on a side note where can I find the actual code for all these functions. If i had that it might be unnecessary for me to pose these questions.