Combined Image and Point-cloud Workflow

This workflow uses image recognition to separate targets, extracts the corresponding 3D point clouds, and then generates initial poses or performs precise 3D matching. It is suitable for closely packed targets that point-cloud processing alone cannot separate reliably.

Prerequisites

  • Image, point cloud, and camera parameters belong to the same acquisition.

  • Pixel mapping uses an organized point cloud in the camera coordinate system.

  • Precise 3D matching requires a model with normals and target point clouds with estimated normals.

  • Data entering the same matching or pose-correction stage uses the same coordinate system.

Workflow

  1. Input the image, organized point cloud, camera parameters, and hand-eye calibration data.

  2. Configure ROIs while preserving image-to-point correspondence when required.

  3. Obtain a 2D detection result through detection, segmentation, or shape-based matching.

  4. Map the detection result to the organized point cloud.

  5. Filter each target cloud, generate an initial pose, and optionally perform precise 3D matching.

  6. Transform coordinates, then generate and sort pick points.

Design guidance

Image recognition and alignment

See Image-based Recognition Workflow for image ROI and recognition methods. If Keep Original Shape is disabled in Image ROI, use Align Post-ROI Detection Results before extracting points from the original cloud.

When applying Point Cloud ROI before pixel mapping, enable Keep Organized and Keep Original Size.

Extract target point clouds

The recommended operator is Extract Point Cloud from 2D Detection Result. It uses camera parameters to map bounding boxes or segmentation contours from a color image to the organized point cloud and outputs one cloud per detection instance.

If Split Detection Result has already produced masks with the same dimensions as the point cloud, use Extract Point Clouds from Mask List. This alternative requires strict pixel-level alignment.

After extraction, remove invalid points and apply ROI, filtering, downsampling, clustering, or normal estimation to each target cloud as required.

Generate or refine poses

If precise matching is performed in the camera coordinate system, use Transform Object Pose before generating pick points.

Parameter tuning

Extract point clouds from 2D results

Verify acquisition correspondence, image source, restored full-image coordinates, camera parameters, and point-cloud organization before tuning geometry. Adjust the bounding-box scale gradually: shrink it when background dominates and enlarge it when target edges are missing. Select the detection type that matches the recognition output and use reverse extraction only when the outside region is required.

Mask extraction

After Split Detection Result, keep detection, box, center, and mask lists in the same order. In Extract Point Clouds from Mask List, contours preserve irregular shapes, rectangles are faster but include background, and a center circle is useful for stable depth estimation. Filter detection results before splitting when a large number of masks causes transfer or rendering delays.

Target-cloud processing and matching

After extraction, remove invalid padding and process each cloud independently. Use clustering, normals, and expected target size to remove neighboring objects, but do not reorder clouds without updating the corresponding detections. Direct precise matching requires an initial pose near the true target; add coarse matching when the initial pose is uncertain and the target cloud retains enough 3D geometry.

Image projection normally uses camera-frame organized clouds, whereas robot picking uses robot-base poses. Label both data paths clearly and verify hand-eye transformation direction before attempting to compensate errors with pick-point offsets.

Debugging tips

  • If 2D recognition is correct but the cloud is shifted, check ROI result alignment, image source, camera parameters, and whether the point cloud is organized.

  • If detection and cloud counts differ, verify that filtering or clustering has not changed the list order.

  • If precise matching returns no result, check the initial pose, completeness of target geometry, and normals in both target and model clouds.

  • Confirm coordinate systems before pose correction; do not apply camera-frame normals or bounding boxes directly to robot-base poses.