|
Re: Laptop Vision and Converting between WPIBinaryImage and BinaryImage
Java seems to lack a lot of the more complex image processing algorithms. Furthermore, the NI Vision Assistant can compile its vision processing scripts into C and LabView, but not Java. We initially wanted to do our image processing in Java, but as it stands I think it simply lacks the functionality to do it effectively.
What I'm doing is offloading the image processing to a Labview VI running on our driver station dashboard. This processes the images faster, reduces the load on the cRIO, and enables access to all the higher end functionality Labview offers for image processing. I transmit whatever data I need from the processed images back over TCP to the cRIO, and the Java handles it from there.
As much as I hate labview, it seems like one of the best ways to do things so far.
EDIT: And while I know this doesn't strictly answer your question of how to do the conversion, it's just my 2 cents on the image processing.
Last edited by jesusrambo : 08-02-2012 at 19:02.
Reason: further explanation
|