Quote:
Originally Posted by jesusrambo
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.
|
In tinkering with the NI Vision Assistant, I've created what I think is a good image processing scheme. However, I'm finding that I'm missing one thing from the Vision Assistant that the Java libraries don't have. It's the Close Objects function in the Binary Images tab under basic morphing.
I've read several posts, including yours, that say Java only has limited image processing routines. So, I'm interested in finding out more detail on how you are using Labview on the driver station dashboard. Are you using the default dashboard provided with the driver station? We're currently using the SmartDashboard. Would your method work with that? If not, I wonder if it's possible to run both the default dashboard and the SmartDashboard at the same time... I have no experience in Labview but I do see that I can create a VI file for Labview straight from the Vision Assistant program. After that I have no clue how to implement it into the dashboard and then send the info back to the Java code...