DepthMediaFrame DepthMediaFrame DepthMediaFrame DepthMediaFrame DepthMediaFrame Class

Definition

Represents a VideoMediaFrame that contains depth video data.

public : sealed class DepthMediaFrame
struct winrt::Windows::Media::Capture::Frames::DepthMediaFrame
public sealed class DepthMediaFrame
Public NotInheritable Class DepthMediaFrame
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

Get an instance of this class by accessing the DepthMediaFrame property of the VideoMediaFrame class.

For how-to guidance on using MediaFrameSource to capture frames, see Process media frames with MediaFrameReader.

Version history

Windows version SDK version Value added
1703 15063 MaxReliableDepth
1703 15063 MinReliableDepth

Properties

DepthFormat DepthFormat DepthFormat DepthFormat DepthFormat

Gets an object that describes the format of the depth data in the DepthMediaFrame.

FrameReference FrameReference FrameReference FrameReference FrameReference

Gets the MediaFrameReference wrapper object associated with the DepthMediaFrame, which provides access to format information and other properties of the media frame.

MaxReliableDepth MaxReliableDepth MaxReliableDepth MaxReliableDepth MaxReliableDepth

Gets a value that specifies the maximum reliable depth value for the camera that captured the depth frame.

MinReliableDepth MinReliableDepth MinReliableDepth MinReliableDepth MinReliableDepth

Gets a value that specifies the minimum reliable depth value for the camera that captured the depth frame.

VideoMediaFrame VideoMediaFrame VideoMediaFrame VideoMediaFrame VideoMediaFrame

Gets the VideoMediaFrame associated with the DepthMediaFrame.

Methods

TryCreateCoordinateMapper(CameraIntrinsics, SpatialCoordinateSystem) TryCreateCoordinateMapper(CameraIntrinsics, SpatialCoordinateSystem) TryCreateCoordinateMapper(CameraIntrinsics, SpatialCoordinateSystem) TryCreateCoordinateMapper(CameraIntrinsics, SpatialCoordinateSystem) TryCreateCoordinateMapper(CameraIntrinsics, SpatialCoordinateSystem)

Attempts to create a DepthCorrelatedCoordinateMapper for the DepthMediaFrame. This object provides methods for mapping pixel coordinates from a MediaFrameSource camera to the coordinate system of a different MediaFrameSource or to 3D space.

See also