- Sampling distance:
- The larger the sampling distance, the
smaller the amount of data points and thus the faster the
object localization process. However, the sampling distance should be
set such that at least 150 points are distributed on the object.
Moreover, in case smaller or thinner shapes are to be considered,
the sampling distance should be set such that enough points are
distributed over the smaller or thinner shape as well. For instance,
if a long and thin object should be localized, the sampling distance
should be set such that it is at least one fourth of the smaller
extension of the object.
- Shape of the model:
- In case of flat objects, the optimization
process will take longer. In such cases, it is recommended to segment the
scene and to apply the surface matching in a loop of the segmented
components.
- Disable 3D edge alignment:
- When applying surface-based
matching with surface information, 3D and 2D edge information, 3D
edge alignment can be disabled, which can speed up the matching,
especially if handling noisy point clouds.
This can be done by setting 'use_3d_edges' to be
'false'.
- Use XYZ-mappings:
- XYZ-mapping-based processing is much
faster than point cloud processing due to the already available
information structure or order. Note that you can also enhance the
preprocessing of your 3D data, by applying it to the XYZ-images.
- Duplicate points:
- Duplicate points lead to slower processing.
The presence of duplicate points can be checked and removed as described
in section “Duplicate Points”.
- Number of points:
- If there are a lot of scene points that lie on the
object instance and/or the point cloud is very dense, it is recommended
to increase the value set for the generic parameter
'pose_ref_sub_sampling' (its default value is 2, i.e.,
every second scene point is used in the dense pose refinement).
- Remove outliers:
- Use select_points_object_model_3d
with the parameter 'num_neighbors_fast' to remove outliers.
- Remove noise:
- Noise can be removed with one of the following
approaches:
- median_image on the Z-mapping. Note that if smoothing
is applied on the Z-image , artifacts appear in the XY-plane at
Z=0. Therefore, a threshold should be carried out afterwards
with a value that excludes all Z=0 values.
- Apply a standard blob analysis on the Z-mapping. Remove smaller
blobs from the image domain and reduce the scene to the new
domain by applying reduce_object_model_3d_by_view
or xyz_to_object_model_3d.
- Remove background:
- Generally, the fewer the points to be
processed, the faster the matching. In most cases, an adequate
preprocessing can speed up the application significantly.
Such a preprocessing can be applied on the XYZ-mappings or on the point
cloud. For further information see chapter “Background Removal”.