|
@@ -25,7 +25,7 @@ namespace bbiwarg.VideoHandles
|
|
private ColorImage colorImage;
|
|
private ColorImage colorImage;
|
|
|
|
|
|
private DepthImage handImage;
|
|
private DepthImage handImage;
|
|
- private Int16 peakDepth;
|
|
|
|
|
|
+ private Int16[] segmentationDepth;
|
|
private int[] histogram;
|
|
private int[] histogram;
|
|
|
|
|
|
private float maxU;
|
|
private float maxU;
|
|
@@ -85,12 +85,12 @@ namespace bbiwarg.VideoHandles
|
|
handImage.thresholdDepth(minDepth, minDepth + 200);
|
|
handImage.thresholdDepth(minDepth, minDepth + 200);
|
|
|
|
|
|
histogram = handImage.getSmoothedHistogram();
|
|
histogram = handImage.getSmoothedHistogram();
|
|
- peakDepth = handImage.getPeakDepth();
|
|
|
|
|
|
+ segmentationDepth = handImage.getSegmentationDepth();
|
|
}
|
|
}
|
|
|
|
|
|
- public Int16 getPeakDepth()
|
|
|
|
|
|
+ public Int16[] getSegementationDepth()
|
|
{
|
|
{
|
|
- return peakDepth;
|
|
|
|
|
|
+ return segmentationDepth;
|
|
}
|
|
}
|
|
|
|
|
|
public int[] getSmoothedHistogram()
|
|
public int[] getSmoothedHistogram()
|