Abstract. The detection of the contour of a binary object is a common problem; however, the area of a region, and its moments, can be a significant parameter. In several metrology applications, the area of planar objects must be measured. The area is obtained by counting the pixels inside the contour or using a discrete version of Green’s formula. Unfortunately, we obtain the area enclosed by the polygonal line passing through the centers of the pixels along the contour. We present a modified version of Green’s theorem in the discrete plane, which allows for the computation of the exact area of a two-dimensional region in the class of polyominoes. Penalties are introduced and associated with each successive pair of Freeman displacements along the contour in an eight-connectivity system. The proposed equation is shown to be true and properties of the equation related to the topology of the regions are presented. The proposed approach is adapted for faster computation than the combinatorial approach proposed in the literature.
[1]
Gilbert Labelle,et al.
Algorithms for polyominoes based on the discrete Green theorem
,
2005,
Discret. Appl. Math..
[2]
D. Hugh Redelmeier,et al.
Counting polyominoes: Yet another attack
,
1981,
Discret. Math..
[3]
Azriel Rosenfeld,et al.
Adjacency in Digital Pictures
,
1974,
Inf. Control..
[4]
Gilbert Labelle,et al.
The discrete Green Theorem and some applications in discrete geometry
,
2005,
Theor. Comput. Sci..
[5]
Azriel Rosenfeld,et al.
Connectivity in Digital Pictures
,
1970,
JACM.