|
Re: Vision on the cRIO with OpenCV
I'm not directly responding to any of the posts on this thread, but just wanted to try and clarify what NI Vision is.
NI Vision consists of hundreds of highly optimized kernel routines written in C/C++ and library wrappers into that kernel for a few languages. Those languages are C++, LabVIEW, and .NET. NI doesn't ship java wrappers for NIVision, and WPI has written only written JNI wrappers for a few functions. In addition, the WPILib wrappers for C++ usage of NI Vision are not really that compatible with how NI Vision was intended to be used. Many parameters are remapped or left out entirely.
If you are interested in using NI Vision from LabVIEW, it is easy and all wrappers are already done for you.
If you are interested in using NI Vision from C++, it is pretty straightforward. Open the Program Files/National Instruments/Vision directory. You will find includes, libraries, examples, and documentation for C users. The C manual is the CVI one. Note that it is a C interface and not class based.
If you are interested in using NI Vision from Java, see the C++ case and use an import tool or write JNI wrappers.
NI Vision is included for Windows and VxWorks.
Greg McKaskle
|