2.2.3   Dense Pose Refinement

This step works similar to the sparse pose refinement and minimizes the distances between the scene points and the planes of the closest model points. The difference is that

Taking all points from the scene increases the accuracy of the refinement but is slower than refining on the subsampled scene points. The dense pose refinement is enabled by default, but can be disabled with the generic parameter 'dense_pose_refinement'.

After the dense pose refinement, the score of each match is recomputed. The threshold for considering a point to be 'on' the object is set with the generic parameter value 'pose_ref_scoring_dist_rel' or 'pose_ref_scoring_dist_abs'. When using the edge-supported matching, the parameters 'pose_ref_scoring_dist_edges_rel' or 'pose_ref_scoring_dist_edges_abs' control the corresponding thresholds for edges.

The final accuracy of the refined pose depends on several factors. The internal refinement algorithm has an accuracy of up to 1e-7 times the size (diameter) of the model. This maximal accuracy is only achieved for best possible conditions. Factors for the final accuracy are, e.g., the shape of the model, the number of scene points, the noise of the scene points, the visible part of the object instance, and the position of the object. The number of matches to be returned can be controlled by the generic parameter num_matches but also depends on whether the matches exceed the minimum score MinScore.