Partager via


PerceptionDepthCorrelatedCoordinateMapper.MapPixelsToTarget Méthode

Définition

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

public:
 virtual void MapPixelsToTarget(Platform::Array <Point> ^ sourceCoordinates, PerceptionDepthFrame ^ depthFrame, Platform::Array <Point> ^ results) = MapPixelsToTarget;
void MapPixelsToTarget(winrt::array_view <Point> const& sourceCoordinates, PerceptionDepthFrame const& depthFrame, winrt::array_view <Point> & results);
/// [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")]
void MapPixelsToTarget(winrt::array_view <Point> const& sourceCoordinates, PerceptionDepthFrame const& depthFrame, winrt::array_view <Point> & results);
public void MapPixelsToTarget(Point[] sourceCoordinates, PerceptionDepthFrame depthFrame, Point[] results);
[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 void MapPixelsToTarget(Point[] sourceCoordinates, PerceptionDepthFrame depthFrame, Point[] results);
function mapPixelsToTarget(sourceCoordinates, depthFrame, results)
Public Sub MapPixelsToTarget (sourceCoordinates As Point(), depthFrame As PerceptionDepthFrame, results As Point())

Paramètres

sourceCoordinates
Point[]

Ensemble de coordonnées de pixels, dans l’espace de l’image de la caméra.

depthFrame
PerceptionDepthFrame

Image de profondeur à laquelle mapper les pixels.

results
Point[]

Mappage de la coordonnée de pixel à l’espace d’image de profondeur.

Attributs

S’applique à