|
@@ -178,9 +178,9 @@ namespace bbiwarg.Detectors.Fingers
|
|
|
|
|
|
private bool fingerSliceDepthTest(FingerSlice fingerSlice)
|
|
|
{
|
|
|
- Int16 depthStart = depthImage.getDepthAt(fingerSlice.Start.IntX, fingerSlice.Start.IntY);
|
|
|
- Int16 depthMid = depthImage.getDepthAt(fingerSlice.Mid.IntX, fingerSlice.Mid.IntY);
|
|
|
- Int16 depthEnd = depthImage.getDepthAt(fingerSlice.End.IntX, fingerSlice.End.IntY);
|
|
|
+ Int16 depthStart = depthImage.getDepthAt(fingerSlice.Start);
|
|
|
+ Int16 depthMid = depthImage.getDepthAt(fingerSlice.Mid);
|
|
|
+ Int16 depthEnd = depthImage.getDepthAt(fingerSlice.End);
|
|
|
return (depthStart > depthMid && depthMid < depthEnd);
|
|
|
}
|
|
|
|