PerceptionDepthCorrelatedCoordinateMapper.MapPixelsToTarget 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将一组像素从相机图像空间映射到深度图像空间。
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())
参数
- sourceCoordinates
- Point[]
相机图像空间中的一组像素坐标。
- depthFrame
- PerceptionDepthFrame
要将像素映射到的深度帧。
- results
- Point[]
像素坐标到深度图像空间的映射。
- 属性