PerceptionDepthCorrelatedCoordinateMapper
PerceptionDepthCorrelatedCoordinateMapper
PerceptionDepthCorrelatedCoordinateMapper
PerceptionDepthCorrelatedCoordinateMapper
Class
Definition
Provides convenience methods to map pixel coordinates in camera image space to depth image space.
public : sealed class PerceptionDepthCorrelatedCoordinateMapper : IPerceptionDepthCorrelatedCoordinateMapperpublic sealed class PerceptionDepthCorrelatedCoordinateMapper : IPerceptionDepthCorrelatedCoordinateMapperPublic NotInheritable Class PerceptionDepthCorrelatedCoordinateMapper Implements IPerceptionDepthCorrelatedCoordinateMapper// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Methods
MapAllPixelsToTargetAsync(PerceptionDepthFrame, Point[]) MapAllPixelsToTargetAsync(PerceptionDepthFrame, Point[]) MapAllPixelsToTargetAsync(PerceptionDepthFrame, Point[]) MapAllPixelsToTargetAsync(PerceptionDepthFrame, Point[])
Maps all pixels in an image from camera image space to depth image space.
public : IAsyncAction MapAllPixelsToTargetAsync(PerceptionDepthFrame depthFrame, Point[] targetCoordinates)public IAsyncAction MapAllPixelsToTargetAsync(PerceptionDepthFrame depthFrame, Point[] targetCoordinates)Public Function MapAllPixelsToTargetAsync(depthFrame As PerceptionDepthFrame, targetCoordinates As Point[]) As IAsyncAction// You can use this method in JavaScript.
The depth frame to map the pixels to.
- targetCoordinates
- Point[] Point[] Point[] Point[]
Returns the pixel coordinates, mapped to depth image space.
This function returns asynchronously.
MapPixelsToTarget(Point[], PerceptionDepthFrame, Point[]) MapPixelsToTarget(Point[], PerceptionDepthFrame, Point[]) MapPixelsToTarget(Point[], PerceptionDepthFrame, Point[]) MapPixelsToTarget(Point[], PerceptionDepthFrame, Point[])
Maps a set of pixels from camera image space to depth image space.
public : void MapPixelsToTarget(Point[] sourceCoordinates, PerceptionDepthFrame depthFrame, Point[] results)public void MapPixelsToTarget(Point[] sourceCoordinates, PerceptionDepthFrame depthFrame, Point[] results)Public Function MapPixelsToTarget(sourceCoordinates As Point[], depthFrame As PerceptionDepthFrame, results As Point[]) As void// You can use this method in JavaScript.
- sourceCoordinates
- Point[] Point[] Point[] Point[]
A set of pixel coordinates, in camera image space.
The depth frame to map the pixels to.
- results
- Point[] Point[] Point[] Point[]
The mapping of the pixel coordinate to depth image space.
MapPixelToTarget(Point, PerceptionDepthFrame) MapPixelToTarget(Point, PerceptionDepthFrame) MapPixelToTarget(Point, PerceptionDepthFrame) MapPixelToTarget(Point, PerceptionDepthFrame)
Maps a pixel from camera image space to depth image space.
public : Point MapPixelToTarget(Point sourcePixelCoordinate, PerceptionDepthFrame depthFrame)public Point MapPixelToTarget(Point sourcePixelCoordinate, PerceptionDepthFrame depthFrame)Public Function MapPixelToTarget(sourcePixelCoordinate As Point, depthFrame As PerceptionDepthFrame) As Point// You can use this method in JavaScript.
The depth frame to map the pixel to.
MapRegionOfPixelsToTargetAsync(Rect, PerceptionDepthFrame, Point[]) MapRegionOfPixelsToTargetAsync(Rect, PerceptionDepthFrame, Point[]) MapRegionOfPixelsToTargetAsync(Rect, PerceptionDepthFrame, Point[]) MapRegionOfPixelsToTargetAsync(Rect, PerceptionDepthFrame, Point[])
Maps a region of pixels from camera image space to depth image space.
public : IAsyncAction MapRegionOfPixelsToTargetAsync(Rect region, PerceptionDepthFrame depthFrame, Point[] targetCoordinates)public IAsyncAction MapRegionOfPixelsToTargetAsync(Rect region, PerceptionDepthFrame depthFrame, Point[] targetCoordinates)Public Function MapRegionOfPixelsToTargetAsync(region As Rect, depthFrame As PerceptionDepthFrame, targetCoordinates As Point[]) As IAsyncAction// You can use this method in JavaScript.
The region of pixels to map from camera image space to depth image space.
The depth frame to map the region of pixels to.
- targetCoordinates
- Point[] Point[] Point[] Point[]
The pixel coordinates, mapped to depth image space.
This function returns asynchronously.