PerceptionDepthCorrelatedCoordinateMapper Classe

Définition

Fournit des méthodes pratiques pour mapper les coordonnées de pixels dans l’espace d’image de l’appareil photo à l’espace d’image de profondeur.

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PerceptionDepthCorrelatedCoordinateMapper
C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Deprecated("PerceptionDepthCorrelatedCoordinateMapper may be unavailable after Windows Creator Update.  Use Windows.Media.Devices.Core.DepthCorrelatedCoordinateMapper instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public sealed class PerceptionDepthCorrelatedCoordinateMapper
Héritage
Object PerceptionDepthCorrelatedCoordinateMapper
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)

Méthodes

MapAllPixelsToTargetAsync(PerceptionDepthFrame, Point[])

Mappe tous les pixels d’une image, de l’espace de l’image de la caméra à l’espace d’image de profondeur.

MapPixelsToTarget(Point[], PerceptionDepthFrame, Point[])

Mappe un ensemble de pixels de l’espace d’image de l’appareil photo à l’espace d’image de profondeur.

MapPixelToTarget(Point, PerceptionDepthFrame)

Mappe un pixel de l’espace d’image de l’appareil photo à l’espace image de profondeur.

MapRegionOfPixelsToTargetAsync(Rect, PerceptionDepthFrame, Point[])

Mappe une région de pixels de l’espace d’image de l’appareil photo à l’espace d’image de profondeur.

S’applique à

Produit Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100