Instance Property

depthDataFiltered

A Boolean value indicating whether the depth map contains temporally smoothed data.

Declaration

@property(readonly, getter=isDepthDataFiltered) BOOL depthDataFiltered;

Discussion

The capture system can smooth noise and fill in missing values (caused by low light or lens occlusion) in depth data maps by temporally interpolating between previous and subsequent frames of captured depth data. Use the AVCaptureDepthDataOutput filteringEnabled property to control filtering for streaming depth capture, or the AVCapturePhotoSettings depthDataFiltered property to control filtering for depth data captured alongside photo capture.

Filtering depth data makes it more useful for applying visual effects to a companion image, but alters the data such that it may no longer be suitable for computer vision tasks. (In an unfiltered depth map, missing values are represented as NaN.)

See Also

Evaluating Depth Data

depthDataAccuracy

The general accuracy of depth data map values.

AVDepthDataAccuracy

Values indicating the general accuracy of a depth data map.

depthDataQuality

The overall quality of the depth map.

AVDepthDataQuality

Values indicating the overall quality of a depth data map.