Obtain HALCON-Readable Point Cloud through Mech-Eye API
Through Mech-Eye API, you can obtain point clouds faster than through HALCON, and it is possible to obtain textured point clouds directly.
Mech-Eye API provides a C++ sample named ConvertPointCloudToObjectModel3D. By running this sample, you can obtain untextured and textured point clouds through Mech-Eye API and convert the data to HALCON-readable format. Then, you can read the point clouds into HALCON and perform further processing.
This sample can be used on Windows and Ubuntu operating system.
This sample depends on the HALCON/C++ interface. Please confirm that your HALCON license is still valid before using. |
Use Sample on Windows
In order to use this sample on Windows, the following software must be installed:
-
Mech-Eye SDK
-
Cmake
-
Visual Studio
-
Halcon
For instructions on installing the above software, as well as instructions on building and running this sample individually, please refer to Instructions on Using Mech-Eye API C++ Samples (Windows).
After running the sample, you can read the obtained point clouds into HALCON with the read_object_model_3d operator.
Use Sample on Ubuntu
In order to use this sample on Ubuntu, the following software must be installed:
-
Mech-Eye SDK
-
Cmake
-
PCL
-
Halcon
For instructions on installing the above software, as well as instructions on building and running this sample individually, please refer to Instructions on Using Mech-Eye API C++ Samples (Ubuntu).
After running the sample, you can read the obtained point clouds into HALCON with the read_object_model_3d operator.