Instance Property

depthDataFiltered

A Boolean value that determines whether to smooth noise and fill in missing values in depth data output.

Declaration

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

Discussion

When this property is YES (the default), and depth data capture is enabled with the depthDataDeliveryEnabled property, the capture system smooths noise and fills 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.

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.) Set this property to NO to disable filtering and receive unfiltered depth data.

See Also

Capturing Depth Data

depthDataDeliveryEnabled

A Boolean value that determines whether the photo output captures depth data along with the photo.

embedsDepthDataInPhoto

A Boolean value that determines whether any depth data captured with the photo is included when generating output file data.