Share via


MatchCandidates.CalculateMinimumDistance Method

Kinect for Windows 1.8

Calculates the distance between the input depth frame and the most similar pose candidate in the pose database.

Syntax

public float CalculateMinimumDistance ()

Return Value

Type: Single
Returns a floating-point value that contains the minimum distance measure. This value is in the range [0.0f, 1.0f], with smaller values indicating higher similarity and larger values indicating less similarity.

Remarks

You can regulate how different the poses in the database are by calling the CameraPoseFinder.ProcessFrame method only when this value exceeds a set threshold.

Requirements

Namespace: Microsoft.Kinect.Toolkit.Fusion

Assembly: Microsoft.Kinect.Toolkit.Fusion (in microsoft.kinect.toolkit.fusion.dll)

See Also

Reference

MatchCandidates Class
MatchCandidates Members
Microsoft.Kinect.Toolkit.Fusion Namespace