1.3.1
CCC
 
Logical operations on images

Functions

GSTLEARN_EXPORT void morpho_intersection (const BImage &image1, const BImage &image2, BImage &imagout, bool verbose=false)
 
GSTLEARN_EXPORT void morpho_union (const BImage &image1, const BImage &image2, BImage &imagout, bool verbose=false)
 
GSTLEARN_EXPORT void morpho_negation (const BImage &imagin, BImage &imagout, bool verbose=false)
 

Detailed Description

Parameters
image1Pointer to the BImage containing the first input image (for diadic operation)
image2Pointer to the BImage containing the second input image (for diadic opertion)
imaginPointer to the BImage containing the one input image (for monadic operation)
imagoutPointer to the BImage which will receive the output image (It must have been allocated beforehand: same dimension as 'imagin')
verboseVerbose flag

Function Documentation

◆ morpho_intersection()

GSTLEARN_EXPORT void morpho_intersection ( const BImage image1,
const BImage image2,
BImage imagout,
bool  verbose 
)

Perform the "intersection" of two input images

◆ morpho_negation()

GSTLEARN_EXPORT void morpho_negation ( const BImage imagin,
BImage imagout,
bool  verbose 
)

Perform the "negation" of the input image

◆ morpho_union()

GSTLEARN_EXPORT void morpho_union ( const BImage image1,
const BImage image2,
BImage imagout,
bool  verbose 
)

Perform the "union" of two input images