Obtain Point Cloud with Normals

This topic introduces how to obtain the point cloud with normals with the obtain_point_cloud_with_normals sample on Windows.

Please refer to Usage Guide for HALCON Samples to obtain the samples and check the prerequisites for using the samples.

Obtain Point Cloud with Normals

Follow these steps to obtain the point cloud with normals:

  1. Open the sample in HDevelop: Open HDevelop, and drag the sample into HDevelop.

  2. Step over the program (click the step over button in the toolbar repeatedly), until the Variable Inspect: MechEyeCamers window pops up.

  3. This window displays all the available cameras. Double-click the camera that you want to connect, and copy the name after unique_name: or user_name:.

    camera name
    user_name is the custom camera name. You can customize the camera name in Mech-Eye Viewer.
  4. Locate the following line, and replace MechEye with the copied unique_name or user_name.

    DeviceInfo := 'MechEye'
  5. Run the sample by clicking run in the toolbar or pressing the F5 key.

  6. When the obtained point cloud with normals is displayed in the Graphics Window, click the Continue button in this window to resume the execution of the program.

  7. View the point cloud in the ObjectModel3D variable.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.