PerceptionDepthCorrelatedCoordinateMapper.MapPixelsToTarget Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Maps a set of pixels from camera image space to depth image space.
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())
Parameters
- sourceCoordinates
- Point[]
A set of pixel coordinates, in camera image space.
- depthFrame
- PerceptionDepthFrame
The depth frame to map the pixels to.
- results
- Point[]
The mapping of the pixel coordinate to depth image space.
- Attributes