|
|
||
|
|
MorphologicalComponents |
| MorphologicalComponents[image] gives an array in which each pixel of image is replaced by an integer index representing the connected foreground image component in which the pixel lies. |
| MorphologicalComponents[image, t] treats values above t as foreground. |