1.3.2
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

◆ morpho_count()

GSTLEARN_EXPORT int morpho_count ( const BImage imagin)

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

◆ morpho_duplicate()

GSTLEARN_EXPORT void morpho_duplicate ( const BImage imagin,
BImage imagout 
)

Duplicates the contenst of the input BImage into the output BImage

Parameters
imagin
imagout