PerceptionDepthCorrelatedCoordinateMapper.MapAllPixelsToTargetAsync Méthode
Définition
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
Paramètres
- 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.
Retours
Cette fonction retourne de manière asynchrone.
- Attributs
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour