C# Класс Emgu.CV.KinectCapture

Kinect Camera capture
Наследование: Capture
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetColorPoints ( Byte>.Image mask ) : Emgu.CV.Structure.ColorPoint[]

Get an enumerator of the colored points from Kinect. This function can only be called after the Grab() function.

GetMaxDisparity ( double minDistance ) : double

Given the minimum distance in mm, return the maximum valid disparity value.

GetOpenNIContext ( ) : IntPtr

Get the unmanaged OpenNI Context from the capture.

This function required the opencv_highgui module patched by EMGU CV, otherwise it will throw entry point not found exception.

KinectCapture ( ImageGeneratorOutputMode outputMode ) : System

Create the Kinect Camera capture object

RetrieveBgrFrame ( ) : Byte>.Image

Retrieve Bgr frame from Kinect

RetrieveDepthMap ( ) : int>.Image

Retrieve the depth map from Kinect (in mm)

RetrieveDisparityMap ( ) : Byte>.Image

Retrieve disparity map (in pixels) from Kinect

RetrieveDisparityMap32f ( ) : float>.Image

Retrieve disparity map (in pixels) from Kinect

RetrieveGrayFrame ( ) : Byte>.Image

Retrieve Gray frame from Kinect

RetrievePointCloudMap ( ) : MCvPoint3D32f[]

Retrieve all the points (x, y, z position in meters) from Kinect, row by row.

RetrieveValidDepthMap ( ) : Byte>.Image

Retrieve the valid depth map from Kinect

Описание методов

GetColorPoints() публичный Метод

Get an enumerator of the colored points from Kinect. This function can only be called after the Grab() function.
public GetColorPoints ( Byte>.Image mask ) : Emgu.CV.Structure.ColorPoint[]
mask Byte>.Image The mask that controls which points should be returned. You can use the result from RetrieveValidDepthMap() function. Use null if you want all points to be returned
Результат Emgu.CV.Structure.ColorPoint[]

GetMaxDisparity() публичный Метод

Given the minimum distance in mm, return the maximum valid disparity value.
public GetMaxDisparity ( double minDistance ) : double
minDistance double The minimum distance that an object is away from the camera
Результат double

GetOpenNIContext() публичный Метод

Get the unmanaged OpenNI Context from the capture.
This function required the opencv_highgui module patched by EMGU CV, otherwise it will throw entry point not found exception.
public GetOpenNIContext ( ) : IntPtr
Результат System.IntPtr

KinectCapture() публичный Метод

Create the Kinect Camera capture object
public KinectCapture ( ImageGeneratorOutputMode outputMode ) : System
outputMode ImageGeneratorOutputMode The output mode
Результат System

RetrieveBgrFrame() публичный Метод

Retrieve Bgr frame from Kinect
public RetrieveBgrFrame ( ) : Byte>.Image
Результат Byte>.Image

RetrieveDepthMap() публичный Метод

Retrieve the depth map from Kinect (in mm)
public RetrieveDepthMap ( ) : int>.Image
Результат int>.Image

RetrieveDisparityMap() публичный Метод

Retrieve disparity map (in pixels) from Kinect
public RetrieveDisparityMap ( ) : Byte>.Image
Результат Byte>.Image

RetrieveDisparityMap32f() публичный Метод

Retrieve disparity map (in pixels) from Kinect
public RetrieveDisparityMap32f ( ) : float>.Image
Результат float>.Image

RetrieveGrayFrame() публичный Метод

Retrieve Gray frame from Kinect
public RetrieveGrayFrame ( ) : Byte>.Image
Результат Byte>.Image

RetrievePointCloudMap() публичный Метод

Retrieve all the points (x, y, z position in meters) from Kinect, row by row.
public RetrievePointCloudMap ( ) : MCvPoint3D32f[]
Результат MCvPoint3D32f[]

RetrieveValidDepthMap() публичный Метод

Retrieve the valid depth map from Kinect
public RetrieveValidDepthMap ( ) : Byte>.Image
Результат Byte>.Image