共用方式為


PerceptionDepthCorrelatedCoordinateMapper 類別

定義

提供方便的方法,可將相機影像空間中的圖元座標組應至深度影像空間。

public ref class PerceptionDepthCorrelatedCoordinateMapper sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PerceptionDepthCorrelatedCoordinateMapper final
/// [Windows.Foundation.Metadata.ContractVersion(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")]
class PerceptionDepthCorrelatedCoordinateMapper final
[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
[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
Public NotInheritable Class PerceptionDepthCorrelatedCoordinateMapper
繼承
Object Platform::Object IInspectable PerceptionDepthCorrelatedCoordinateMapper
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

方法

MapAllPixelsToTargetAsync(PerceptionDepthFrame, Point[])

將影像中的所有圖元從相機影像空間對應到深度影像空間。

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

將相機影像空間中的一組圖元對應至深度影像空間。

MapPixelToTarget(Point, PerceptionDepthFrame)

將相機影像空間的圖元對應至深度影像空間。

MapRegionOfPixelsToTargetAsync(Rect, PerceptionDepthFrame, Point[])

將相機影像空間的圖元區域對應至深度影像空間。

適用於