Instance Property

depthDataQuality

The overall quality of the depth map.

Declaration

@property(readonly) AVDepthDataQuality depthDataQuality;

Discussion

A device typically generates depth data maps by comparing images and calculating disparity. If features are lacking in either input image, it may be difficult to find matching key points, resulting in a depth data map with substantial holes. These holes can be filled with depth data filtering, but still may produce a map of overall poor quality.

If a depth data map suffers from insufficient features, the capture system marks it as AVDepthDataQualityLow quality, indicating that the depth map is a poor candidate for rendering high-quality depth effects or reconstructing a 3D scene. A depth map with AVDepthDataQualityHigh quality is feature-rich, contains a high level of detail, making it a good candidate for rendering high-quality depth effects or reconstructing a 3D scene.

See Also

Evaluating Depth Data

depthDataFiltered

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

depthDataAccuracy

The general accuracy of depth data map values.

AVDepthDataAccuracy

Values indicating the general accuracy of a depth data map.

AVDepthDataQuality

Values indicating the overall quality of a depth data map.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software