6.1.1   Orthogonal Camera Setup

In case height is not changing and the 3D sensor or acquisition setup is mostly orthogonal to the background plane, the background plane can be removed by applying a simple threshold on the Z-mapping (if available) or on the 3D point cloud. A threshold on the Z-mapping can be applied using the following operators:
  
threshold (ImageZ, Regions, MinThres, MaxThres)
reduce_object_model_3d_by_view (Regions, Scene, [], [], SceneReduced)
    
To remove the background plane without using a Z-mapping the following operator calls can be executed:
  
select_points_object_model_3d (Scene, 'point_coord_z', MinThres, MaxThres, ObjectModel3DReduced)
    

a) Scene b) Z-image c) Applied threshold d) Reduced scene

Figure 6.1: A scene is reduced to the contained objects by applying a threshold on its Z-image.