Condividi tramite


DepthCorrelatedCoordinateMapper Classe

Definizione

Esegue il mapping di punti 2D in un oggetto MediaFrameSource a uno spazio 3D o a un frame da un'origine MediaFrame diversa usando i dati di un oggetto DepthMediaFrame.

public ref class DepthCorrelatedCoordinateMapper sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DepthCorrelatedCoordinateMapper final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DepthCorrelatedCoordinateMapper : System.IDisposable
Public NotInheritable Class DepthCorrelatedCoordinateMapper
Implements IDisposable
Ereditarietà
Object Platform::Object IInspectable DepthCorrelatedCoordinateMapper
Attributi
Implementazioni

Requisiti Windows

Famiglia di dispositivi
Windows 10 Anniversary Edition (è stato introdotto in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v3.0)

Commenti

Ottenere un'istanza di questa classe chiamando tryCreateCoordinateMapper di depthMediaFrame.

Metodi

Close()

Elimina l'oggetto e le risorse associate.

Dispose()

Esegue attività definite dall'applicazione, come rilasciare o reimpostare risorse non gestite.

MapPoint(Point, SpatialCoordinateSystem, CameraIntrinsics)

Esegue il mapping di un punto da un Oggetto MediaFrameSource a un altro, usando informazioni di profondità provenienti da DepthMediaFrame da cui è stato creato il mapper di coordinate con una chiamata a TryCreateCoordinateMapper.

MapPoints(Point[], SpatialCoordinateSystem, CameraIntrinsics, Point[])

Esegue il mapping di una matrice di punti da un MediaFrameSource a un altro, usando le informazioni di profondità del depthMediaFrame da cui è stato creato il mapper di coordinate con una chiamata a TryCreateCoordinateMapper.

UnprojectPoint(Point, SpatialCoordinateSystem)

Unprojects a 2D point from a MediaFrameSource to a point in 3D space,using depth information from the DepthMediaFrame from which the coordinate mapper was created with a call to TryCreateCoordinateMapper.

UnprojectPoints(Point[], SpatialCoordinateSystem, Vector3[])

Unprojects an array of 2D points from a MediaFrameSource to a point in 3D space, using depth information from the DepthMediaFrame from the coordinate mapper was created with a call to TryCreateCoordinateMapper.

Si applica a

Vedi anche