Point-cloud Matching Workflow
This workflow performs 3D coarse and precise matching between a known model point cloud and a scene point cloud. It is suitable for rigid workpieces with stable geometry and reliable point-cloud data.
Prerequisites
-
Scene and model point clouds use the same unit and scale.
-
The
.plymodel used by 3D Coarse Matching and 3D Precise Matching contains valid normals. -
Scene point clouds supplied to the matching operators also contain normals.
-
Matching results use the coordinate system of the input scene point cloud.
Workflow
-
Input and crop the scene point cloud.
-
Remove invalid points, filter and downsample as required, and estimate normals.
-
Use 3D coarse matching to generate pose candidates.
-
Use 3D precise matching to optimize and filter the candidates.
-
Transform coordinate systems when required, then generate and sort pick points.
-
Optionally set the remaining scene cloud as collision data.
Design guidance
Input and preprocessing
Obtain point clouds from EpicPro Input (Single Data Group) or EpicPro Input. For offline debugging, the same operators can read .epicraw data.
A common preprocessing order is:
-
Crop the workspace with Configure 3D ROI or Point Cloud ROI.
-
Remove invalid points with Remove Invalid Point-cloud Points.
-
Apply Point-cloud Downsampling, statistical filtering, or radius filtering as required.
-
Generate a point cloud with normals using Estimate Point-cloud Normals. If the input already has normals, use the corresponding normal-preserving filters and downsampling operators.
Downsampling reduces computation, but an excessive voxel size removes useful geometry. Select filtering and normal-estimation neighborhoods according to point spacing and workpiece size.
Coarse and precise matching
Provide the scene cloud with normals and a model cloud with normals to 3D Coarse Matching. Its candidates should cover the real targets; final accuracy is provided by the next stage. Start with normal mode and use advanced clustering, voting, and overlap parameters only when candidate count, false matches, or runtime require adjustment.
Provide the coarse result and scene cloud with normals to 3D Precise Matching. Coarse and precise matching normally use the same model file. The voxel size, search radius, and valid-correspondence distance must suit the point spacing and model size.
Coordinate transformation and pick points
If matching is performed in the camera coordinate system, use Transform Object Pose before generating robot pick points.
Use Generate Pick Points with an Epic Pro pick-point file, or Generate Pick Points (Parameters) for simple offset and symmetry rules. Then use Pick-point Sorting V2.
Collision point cloud
Use Remove Model-matched Point Cloud to remove recognized objects when required. Pass the remaining cloud to Set Collision Point Cloud to bind it for collision checking in Epic Pro.
Parameter tuning
Preprocessing
Increase the downsampling voxel size gradually while checking that holes, thin edges, and curved surfaces remain recognizable. For radius filtering, the search radius must suit point spacing and the minimum-neighbor count must not erode valid boundaries. For statistical filtering, choose the neighborhood and standard-deviation multiplier with care when point density varies. Normal-estimation neighborhoods should suppress noise without smoothing away the geometry used for matching.
3D coarse matching
First verify the model file, units, normals, and model origin. Then tune distance and angle discretization and the reference-point step. Finer discretization and a smaller step normally increase search coverage and computation. Use advanced clustering, voting, overlap, output-count, and search-range parameters only after the basic result contains the real targets. Do not tighten filtering while real targets are still missing.
3D precise matching
Precise matching is a local ICP optimization and needs a usable initial pose. Match voxel size to input density. A search radius that is too small cannot recover from initial error; one that is too large admits nearby objects. Confidence and valid-correspondence distance determine retained results, while maximum iterations and translation/rotation termination conditions balance convergence and runtime. Check deduplication carefully when targets are close together.
Remove matched points
Use the same model as matching. Select a removal method and range by inspecting the remaining scene cloud. Excessive voxel size or removal range can erase neighboring objects; an insufficient range leaves target surfaces in collision data. Reverse removal is useful when validating the extracted target region. Merge inputs only after all clouds use the same coordinate system.
Debugging tips
-
If coarse matching returns no result, check normals, units, scale, and whether the ROI contains the complete target.
-
If it returns too many candidates, adjust voting, clustering, and overlap parameters one at a time.
-
If precise matching drifts, check the initial pose, scene noise, search radius, and model quality.
-
If a pose is correct in ATOM but incorrect on the robot, verify hand-eye calibration and transformation direction.