5.2   Robustness

Higher robustness can especially be achieved by improving the significance of the computed scores. There are three major parameters that can be used in order to improve the matching concerning its robustness.
Key point fraction:
Increasing the number of key points increases the number of approximate matching poses, and therefore, more poses are available to be analyzed in the following two refinement steps. Note that this increases the processing time as well.
Sampling distance:
If the model contains a finer structure or a high density of geometrical information, reducing the sampling distance leads to more robust results. Note that the distance should be defined such that the characteristic features of the model are displayed fine enough (see figure 5.1 for an example case with a long and thin object).

a) RelSamplingDistance= 0.03 b) RelSamplingDistance= 0.015

Figure 5.1: With the determined distance between the sampling points of a scene, the object characteristics still need to be represented.

Point thresholding:
In case 3D edges with nonlinear trajectories are available, i.e., edges of a box are rather round, matching results and scores can be improved by increasing the values of 'pose_ref_dist_threshold_edges_rel' or 'pose_ref_dist_threshold_edges_abs'.
Robustness and scores can further be affected by the parameters listed below.
Duplicate points:
Duplicate points can also lead to less robust results. Therefore, it is highly recommended to remove them before any further processing (see section “Duplicate Points”).
Normal directions:
If model normals and scene normals do not point approximately in the same direction, matching results are not robust or matching will not work at all (see section “Normals”).
Shape:
Shapes with reduced 3D information lead to lower robustness. Therefore, in such cases it is highly recommended to preprocess the data in a suitable way and use edge-supported surface-based matching.
View-based score:
The view-based score only considers those model points, that are potentially visible from the determined viewpoint. Therefore the robustness of the matching results increases as this score is more expressive.
Maximum overlap:
Due to efficiency reasons, the generic parameters 'max_overlap_dist_rel'/ 'max_overlap_dist_abs' are based on the distance of the centers of the axis oriented bounding boxes of neighboring objects in the scene. Therefore, in case of long and thin objects, the generic parameters should be set to a much lower value (at about the smallest extension of the object, see figure 5.2). However, this also leads to overlapping matching results, which need to be filtered out in a post-processing step.

Figure 5.2: The object model has a length of 45 mm and a maximal diameter of 4.5 mm. Therefore the 'max_overlap_dist_abs' is set to 4.5 mm and the sampling distance is set to 0.6 mm.

Self-similarities:
The pose of objects that are almost symmetric are sometimes hard to distinguish for find_surface_model. Enable the generic parameter 'train_self_similar_poses' when creating the surface model, in order to avoid this.