Euler number of binary image

- example
`eul = bweuler(BW,n)`

returns
the Euler number for the binary image `eul`

= bweuler(`BW`

,`n`

)`BW`

. The Euler
number is the total number of objects in the image minus the total
number of holes in those objects. `n`

specifies
the connectivity. Objects are connected sets of `on`

pixels,
that is, pixels having a value of 1.

Code Generation support: Yes.

MATLAB Function Block support: Yes.

[1] Horn, Berthold P. K., *Robot
Vision,* New York, McGraw-Hill, 1986, pp. 73-77.

[2] Pratt, William K., *Digital
Image Processing*, New York, John Wiley & Sons, Inc.,
1991, p. 633.

Was this topic helpful?