|
@@ -195,12 +195,12 @@ namespace BBIWARG
|
|
|
/// <summary>
|
|
|
/// the number of missed slices until the trail expansion stops
|
|
|
/// </summary>
|
|
|
- public static readonly int FingerMaxGapCounter = 3;
|
|
|
+ public static readonly int FingerMaxGapCounter = 4;
|
|
|
|
|
|
/// <summary>
|
|
|
/// the maximum slice length difference of two consecutive slices (used to drop outliers)
|
|
|
/// </summary>
|
|
|
- public static int FingerMaxSliceLengthDifferencePerStep { get { return InputSource == InputType.RS300 ? 10 : 5; } }
|
|
|
+ public static int FingerMaxSliceLengthDifferencePerStep { get { return InputSource == InputType.RS300 ? 20 : 5; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// maximum finger slice length (in pixels)
|
|
@@ -210,12 +210,12 @@ namespace BBIWARG
|
|
|
/// <summary>
|
|
|
/// maximum finger slice length (in mm)
|
|
|
/// </summary>
|
|
|
- public static float FingerMaxWidth3D { get { return InputSource == InputType.RS300 ? 50.0f : 35.0f; } }
|
|
|
+ public static float FingerMaxWidth3D { get { return InputSource == InputType.RS300 ? 70.0f : 35.0f; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// the minimum number of slices a finger must have
|
|
|
/// </summary>
|
|
|
- public static readonly int FingerMinNumSlices = 20;
|
|
|
+ public static readonly int FingerMinNumSlices = 15;
|
|
|
|
|
|
// TODO remove and replace with 3Dwidth
|
|
|
|
|
@@ -227,7 +227,7 @@ namespace BBIWARG
|
|
|
/// <summary>
|
|
|
/// the number of slices used to calculate the start and end directions
|
|
|
/// </summary>
|
|
|
- public static readonly int FingerNumSlicesForRelativeDirection = 5;
|
|
|
+ public static readonly int FingerNumSlicesForRelativeDirection = 10;
|
|
|
|
|
|
/// <summary>
|
|
|
/// the distance of a point to be considered beside the finger (in pixels)
|
|
@@ -237,7 +237,7 @@ namespace BBIWARG
|
|
|
/// <summary>
|
|
|
/// the number of slices that are removed when the finger expansion starts in opposite direction (because initial slices don't have the correct direction)
|
|
|
/// </summary>
|
|
|
- public static readonly int FingerRemoveNumSlicesForCorrection = 10;
|
|
|
+ public static readonly int FingerRemoveNumSlicesForCorrection = 5;
|
|
|
|
|
|
#endregion finger detection
|
|
|
|