Ask Your Question

Revision history [back]

You can use pointPolygonTest() to determine which image pixels are inside a contour. Then you can count how many inner pixels are white.

You can use pointPolygonTest() to determine which image pixels are inside a contour. Then you can count how many inner pixels are white.

To speed up the process you dont need to test all image pixels, only those inside inside the contour bounding box.

You can use pointPolygonTest() to determine which image pixels are inside a contour. Then you can count how many inner pixels are white.

To speed up the process you dont need to test all image pixels, only those inside inside the contour bounding box.

You can use pointPolygonTest() to determine which image pixels are inside a contour. Then you can count how many inner pixels are white.

To speed up the process you dont need to test all image pixels, only those inside the contour contour's bounding box.

You can use pointPolygonTest() (android version) to determine which image pixels are inside a contour. Then you can count how many inner pixels are white.

To speed up the process you dont need to test all image pixels, only those inside the contour's bounding box.

You can use pointPolygonTest() (android Java version) to determine which image pixels are inside a contour. Then you can count how many inner pixels are white.

To speed up the process you dont need to test all image pixels, only those inside the contour's bounding box.

You can use pointPolygonTest() (Java java version) to determine which image pixels are inside a contour. Then you can count how many inner pixels are white.

To speed up the process you dont need to test all image pixels, only those inside the contour's bounding box.