1.2.1
CCC
 
Initial manipulations

Functions

GSTLEARN_EXPORT int morpho_count (const BImage &imagin)
 
GSTLEARN_EXPORT void morpho_duplicate (const BImage &imagin, BImage &imagout)
 

Detailed Description

Parameters
imaginPointer to the BImage containing the input image
imagoutPointer to the BImage which will receive the output image (It must have been allocated beforehand: same dimension as 'imagin')

Function Documentation

GSTLEARN_EXPORT int morpho_count ( const BImage imagin)

Returns the volume (number of pixels) assigned to the grain (Binary Image == 1)

GSTLEARN_EXPORT void morpho_duplicate ( const BImage imagin,
BImage imagout 
)

Duplicates the contenst of the input BImage into the output BImage

Parameters
imagin
imagout