Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
MFDepthMeasurement enumeration (mfapi.h)
Specifies the measurement system for a depth value in a video frame.
Syntax
typedef enum _MFDepthMeasurement {
DistanceToFocalPlane = 0,
DistanceToOpticalCenter = 1
} MFDepthMeasurement;
Constants
DistanceToFocalPlaneValue: 0 The measurement is the distance to the focal plane. |
DistanceToOpticalCenterValue: 1 The measurement is the distance to the optical center. |
Remarks
Use a value from this enumeration with the MF_MT_DEPTH_MEASUREMENT attribute.
The distance to focal plane is typically easier to consume in a 3D Euclidian coordinate system.
👁 Illustration of DistanceToFocalPlane
The distance to focal center format is typically raw data from sensor such as time of flight cameras.
👁 Illustration of DistanceToOpticalCenter
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10 Build 20348 |
| Minimum supported server | Windows 10 Build 20348 |
| Header | mfapi.h |
Feedback
Was this page helpful?
