Functions | |
GSTLEARN_EXPORT VectorDouble | morpho_labelling (int option, int flag_size, const BImage &imagin, double ccvoid, bool verbose=false) |
GSTLEARN_EXPORT VectorInt | morpho_labelsize (int option, const BImage &imagin) |
imagin | Pointer to the BImage containing the one input image |
option | Description of the structuring element: 1 for BLOCK and 0 for CROSS (see remarks for more information) |
flag_size | 1 if output information is labeled in volume of the connected component 0 if output information contains the rank of the connected component |
ccvoid | Value assigned to pixels which do not belong to any connected component |
verbose | Verbose flag |
GSTLEARN_EXPORT VectorDouble morpho_labelling | ( | int | option, |
int | flag_size, | ||
const BImage & | imagin, | ||
double | ccvoid, | ||
bool | verbose | ||
) |
Labels the connected components for a BImage