Compartilhar via


PerceptionDepthCorrelatedCoordinateMapper.MapRegionOfPixelsToTargetAsync Método

Definição

Mapeia uma região de pixels do espaço de imagem da câmera para o espaço de imagem de profundidade.

public:
 virtual IAsyncAction ^ MapRegionOfPixelsToTargetAsync(Rect region, PerceptionDepthFrame ^ depthFrame, Platform::Array <Point> ^ targetCoordinates) = MapRegionOfPixelsToTargetAsync;
IAsyncAction MapRegionOfPixelsToTargetAsync(Rect const& region, PerceptionDepthFrame const& depthFrame, winrt::array_view <Point> & targetCoordinates);
/// [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")]
IAsyncAction MapRegionOfPixelsToTargetAsync(Rect const& region, PerceptionDepthFrame const& depthFrame, winrt::array_view <Point> & targetCoordinates);
public IAsyncAction MapRegionOfPixelsToTargetAsync(Rect region, PerceptionDepthFrame depthFrame, Point[] targetCoordinates);
[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 IAsyncAction MapRegionOfPixelsToTargetAsync(Rect region, PerceptionDepthFrame depthFrame, Point[] targetCoordinates);
function mapRegionOfPixelsToTargetAsync(region, depthFrame, targetCoordinates)
Public Function MapRegionOfPixelsToTargetAsync (region As Rect, depthFrame As PerceptionDepthFrame, targetCoordinates As Point()) As IAsyncAction

Parâmetros

region
Rect

A região de pixels a ser mapeada do espaço de imagem da câmera para o espaço de imagem de profundidade.

depthFrame
PerceptionDepthFrame

O quadro de profundidade para o qual mapear a região de pixels.

targetCoordinates
Point[]

As coordenadas de pixel, mapeadas para o espaço de imagem de profundidade.

Retornos

Essa função retorna de forma assíncrona.

Atributos

Aplica-se a