PerceptionDepthCorrelatedCoordinateMapper.MapAllPixelsToTargetAsync Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Mappe tous les pixels d’une image de l’espace de l’image de la caméra à l’espace d’image de profondeur.
public:
virtual IAsyncAction ^ MapAllPixelsToTargetAsync(PerceptionDepthFrame ^ depthFrame, Platform::Array <Point> ^ targetCoordinates) = MapAllPixelsToTargetAsync;
IAsyncAction MapAllPixelsToTargetAsync(PerceptionDepthFrame const& depthFrame, winrt::array_view <Point> & targetCoordinates);
/// [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")]
IAsyncAction MapAllPixelsToTargetAsync(PerceptionDepthFrame const& depthFrame, winrt::array_view <Point> & targetCoordinates);
public IAsyncAction MapAllPixelsToTargetAsync(PerceptionDepthFrame depthFrame, Point[] targetCoordinates);
[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 IAsyncAction MapAllPixelsToTargetAsync(PerceptionDepthFrame depthFrame, Point[] targetCoordinates);
function mapAllPixelsToTargetAsync(depthFrame, targetCoordinates)
Public Function MapAllPixelsToTargetAsync (depthFrame As PerceptionDepthFrame, targetCoordinates As Point()) As IAsyncAction
- depthFrame
- PerceptionDepthFrame
Image de profondeur à laquelle mapper les pixels.
- targetCoordinates
- Point[]
Retourne les coordonnées de pixel, mappées à l’espace d’image de profondeur.
Cette fonction retourne de manière asynchrone.
- Attributs
Produit | Versions |
---|---|
WinRT | Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |