Functions | |
GSTLEARN_EXPORT int | morpho_count (const BImage &imagin) |
GSTLEARN_EXPORT void | morpho_duplicate (const BImage &imagin, BImage &imagout) |
imagin | Pointer to the BImage containing the input image |
imagout | Pointer to the BImage which will receive the output image (It must have been allocated beforehand: same dimension as 'imagin') |
GSTLEARN_EXPORT int morpho_count | ( | const BImage & | imagin | ) |
Returns the volume (number of pixels) assigned to the grain (Binary Image == 1)