Documentation
|
|
Calculate the area of each numbered component in a label matrix. More...
Modules | |
| areas | |
| The C++ interface for areas. | |
Calculate the area of each numbered component in a label matrix.
Count the number of pixels (or area) of each connected component in a label matrix. This matrix should be 2D, single precision floating point data where zero represents background pixels and the components are numbered sequentially from 1 to N, where N is the overall number of components.