Compartilhar via


PerceptionDepthCorrelatedCoordinateMapper.MapPixelToTarget Método

Definição

Mapeia um pixel do espaço de imagem da câmera para o espaço de imagem de profundidade.

public:
 virtual Point MapPixelToTarget(Point sourcePixelCoordinate, PerceptionDepthFrame ^ depthFrame) = MapPixelToTarget;
Point MapPixelToTarget(Point const& sourcePixelCoordinate, PerceptionDepthFrame const& depthFrame);
/// [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")]
Point MapPixelToTarget(Point const& sourcePixelCoordinate, PerceptionDepthFrame const& depthFrame);
public Point MapPixelToTarget(Point sourcePixelCoordinate, PerceptionDepthFrame depthFrame);
[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 Point MapPixelToTarget(Point sourcePixelCoordinate, PerceptionDepthFrame depthFrame);
function mapPixelToTarget(sourcePixelCoordinate, depthFrame)
Public Function MapPixelToTarget (sourcePixelCoordinate As Point, depthFrame As PerceptionDepthFrame) As Point

Parâmetros

sourcePixelCoordinate
Point

Uma coordenada de pixel, no espaço de imagem da câmera.

depthFrame
PerceptionDepthFrame

O quadro de profundidade para o qual mapear o pixel.

Retornos

Retorna o mapeamento da coordenada de pixel para o espaço de imagem de profundidade.

Atributos

Aplica-se a