|
@@ -26,31 +26,12 @@ namespace bbiwarg.Images
|
|
|
|
|
|
private void findContours()
|
|
|
{
|
|
|
- Image<Gray, Byte> storage = image.Clone();
|
|
|
-
|
|
|
- MCvContour countour = new MCvContour();
|
|
|
-
|
|
|
- CvInvoke.cvFindContours(image.Ptr, storage.Ptr,
|
|
|
+
|
|
|
}
|
|
|
|
|
|
public bool belongsToPalm(int x, int y)
|
|
|
{
|
|
|
return false;
|
|
|
}
|
|
|
-
|
|
|
- private Point getPointWithDepth(Int16 depth)
|
|
|
- {
|
|
|
- for (int x = 0; x < width; ++x)
|
|
|
- {
|
|
|
- for (int y = 0; y < height; ++y)
|
|
|
- {
|
|
|
- if (image.Data[y, x, 0] == depth)
|
|
|
- return new Point(x, y);
|
|
|
- }
|
|
|
- }
|
|
|
- return new Point(0, 0);
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
}
|