C# Class HandInput.Engine.SalienceHandTracker

Inheritance: IHandTracker
Show file Open project: ushadow/handinput

Public Properties

Property Type Description
HandWidth float

Public Methods

Method Description
SalienceHandTracker ( int width, int height, Byte kinectParams, int bufferSize = 1 ) : System

Creates a detector based on salience.

SalienceHandTracker ( int width, int height, CoordinateMapper mapper, int bufferSize = 1 ) : System
Update ( short depthFrame, byte colorFrame, Microsoft.Kinect.Skeleton skeleton ) : TrackingResult

Private Methods

Method Description
AveDepth ( Byte>.Image image ) : float
ComputeCumulativeDist ( Byte>.Image image, float cumulativeDist ) : void

ContourScore ( Rectangle rect ) : float
FilterImage ( Byte>.Image image, Byte>.Image mask ) : void
FindBestBoundingBox ( short depthFrame, Microsoft.Kinect.Skeleton skeleton ) : List

If no bounding box is found, returns the last bounding box.

FloodFill ( Byte>.Image image, Rectangle roi ) : void
Init ( int width, int height, int bufferSize ) : void
InitSearchWindow ( Single>.Image probImage ) : Rectangle

Method Details

SalienceHandTracker() public method

Creates a detector based on salience.
public SalienceHandTracker ( int width, int height, Byte kinectParams, int bufferSize = 1 ) : System
width int
height int
kinectParams Byte
bufferSize int
return System

SalienceHandTracker() public method

public SalienceHandTracker ( int width, int height, CoordinateMapper mapper, int bufferSize = 1 ) : System
width int
height int
mapper CoordinateMapper
bufferSize int
return System

Update() public method

public Update ( short depthFrame, byte colorFrame, Microsoft.Kinect.Skeleton skeleton ) : TrackingResult
depthFrame short
colorFrame byte
skeleton Microsoft.Kinect.Skeleton skeleton object from Kinect SDK. The skeleton coordinate space has /// the x-axis pointing rightwards, the y-axis pointing upwards, and the z-axis poining outwards /// relative to the image.
return TrackingResult

Property Details

HandWidth public static property

public static float HandWidth
return float