Contrast Distortion Filter¶
The Contrast Distortion filter corrects and/or removes points that are affected by contrast distortion as a result of blurring in the camera lens. In the point cloud, this typically occurs in regions with high contrast (strong specular reflection), and in regions with large texture gradients.
The filter has two modes; correction and removal. How much a point is corrected in 3D space depends on the strength parameter. If removal is on, points experiencing large corrections will be removed if the correction is above the threshold parameter value. Both correction and removal can be turned on and off.
The filter works best when aperture values are chosen such that the camera has a good focus (see Depth of Focus for adjusting aperture accordingly). The higher the strength value is, the further are the points corrected. The higher the threshold value is, the stricter the filter is on removing points.
Caution
Contrast Distortion filter can overcompensate correction if strength is set too high!
When do you use the Contrast Distortion filter?¶
Correction¶
In applications such as bin picking, it is common to use matching algorithms based on models for object detection and localization. Using the correction component of this filter can make the resulting point cloud of an object better resemble the actual object and its CAD model.
Removal¶
In inspection applications, it is often desired to keep only the points with high confidence. Points affected with the contrast distortion are considered to have low confidence. The removal component of this filter can be used to remove these points.