Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can read about Green formula in wikipedia: http://en.wikipedia.org/wiki/Green's_theorem The area of the contour is computed in continuous 2D space, so this area does not mean "number of pixels". If you need calculate number of pixels, you can set an ROI around the contour and compute the area with CountNonZero applied on this area.