We are using SmartDashboard to view and process the images from the camera.
We have access to a WPIColorImage. Unfortunately, when we isolate the blue, red and green channel as per examples given, the detection of rectangles of a specific color (around the hoop) is erratic.
So I thougt of using HSL space to isolate specific colors but this can be done only from an IPLImage.
Paul indicated here a way to access the underneath IPLImage using a java wrapper.
http://www.chiefdelphi.com/forums/sh...ferrerid=46078
Now I have access to the IPLImage but my detection still does not work as expected - I need to see the IPLImage and check what I am doing. Anybody knows how to obtain the WPIImage from an IPLImage ? Thanks.