A Boolean value that determines whether to smooth noise and fill in missing values in depth data output.
- iOS 11.0+
- Mac Catalyst 13.0+
When this property is
YES (the default), and depth data capture is enabled with the
depth 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
Na.) Set this property to
NO to disable filtering and receive unfiltered depth data.