computes the morphological Euler number of regions in a binary image.
treats values above t as foreground.
Details and Options
- MorphologicalEulerNumber[image] by default gives the total number of connected white regions in image, minus the number of black holes that occur inside those regions.
- MorphologicalEulerNumber[image] is equivalent to MorphologicalEulerNumber[image,0].
- MorphologicalEulerNumber works with 3D as well as 2D binary, grayscale, and other images.
- The following options can be specified:
CornerNeighbors True whether to include corner neighbors Padding 0 padding method to use
Introduced in 2008Updated in 2014