Condividi tramite


PerceptionDepthCorrelatedCameraIntrinsics.UnprojectRegionPixelsAtCorrelatedDepthAsync Metodo

Definizione

Unprojects a region of pixel in an image from camera image space out into the coordinate frame of the camera device, using the corrispondente depth value from a correlate depth camera camera.Unprojects a region of pixel in an image out into the coordinate frame of the camera device, using the corrispondente depth value value from a correlate depth camera camera.

public:
 virtual IAsyncAction ^ UnprojectRegionPixelsAtCorrelatedDepthAsync(Rect region, PerceptionDepthFrame ^ depthFrame, Platform::Array <float3> ^ results) = UnprojectRegionPixelsAtCorrelatedDepthAsync;
IAsyncAction UnprojectRegionPixelsAtCorrelatedDepthAsync(Rect const& region, PerceptionDepthFrame const& depthFrame, winrt::array_view <float3> & results);
/// [Windows.Foundation.Metadata.Deprecated("PerceptionDepthCorrelatedCameraIntrinsics may be unavailable after Windows Creator Update.  Use Windows.Media.Devices.Core.DepthCorrelatedCoordinateMapper instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
IAsyncAction UnprojectRegionPixelsAtCorrelatedDepthAsync(Rect const& region, PerceptionDepthFrame const& depthFrame, winrt::array_view <float3> & results);
public IAsyncAction UnprojectRegionPixelsAtCorrelatedDepthAsync(Rect region, PerceptionDepthFrame depthFrame, Vector3[] results);
[Windows.Foundation.Metadata.Deprecated("PerceptionDepthCorrelatedCameraIntrinsics 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 UnprojectRegionPixelsAtCorrelatedDepthAsync(Rect region, PerceptionDepthFrame depthFrame, Vector3[] results);
function unprojectRegionPixelsAtCorrelatedDepthAsync(region, depthFrame, results)
Public Function UnprojectRegionPixelsAtCorrelatedDepthAsync (region As Rect, depthFrame As PerceptionDepthFrame, results As Vector3()) As IAsyncAction

Parametri

region
Rect

Area di pixel da proiettare dallo spazio delle immagini della fotocamera nel fotogramma di coordinata del dispositivo fotocamera.

depthFrame
PerceptionDepthFrame

Cornice di profondità contenente il valore di profondità da usare quando si proiettano i punti nello spazio della fotocamera. I pixelCoordinati verranno mappati dallo spazio immagine della fotocamera allo spazio delle immagini di profondità e quindi usati per cercare la profondità in profonditàFrame.

results

Vector3[]

Vector3[]

float3[]

Set di coordinate, rispetto al sistema di coordinate del dispositivo fotocamera e con valori di profondità correlati.

Restituisce

Questo metodo restituisce in modo asincrono.

Attributi

Si applica a