Documentation
|
|
The C++ interface for areas. More...
| array | areas (const array ®ions) |
The C++ interface for areas.
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.
| array af::areas | ( | const array & | regions | ) |
| [in] | regions | numbered connected components (see regions) |