SMIL 1.1.2
Loading...
Searching...
No Matches
Morphological Measures

Detailed Description

+ Collaboration diagram for Morphological Measures:

Functions

template<class T >
vector< double > measGranulometry (const Image< T > &imIn, const StrElt &se=DEFAULT_SE, const unsigned int stepSize=1, bool CDF=true, const unsigned int maxSeSize=0)
 Granulometry by openings.
 

Function Documentation

◆ measGranulometry()

template<class T >
vector< double > measGranulometry ( const Image< T > &  imIn,
const StrElt se = DEFAULT_SE,
const unsigned int  stepSize = 1,
bool  CDF = true,
const unsigned int  maxSeSize = 0 
)

Granulometry by openings.

Performs openings of increasing size (using steps of stepSize) and measure the corresponding volume difference.

Parameters
[in]imIn: Input Image
[in]se: structuring element
[in]stepSize: step size of increasing structuring element
[in]CDF: returns a Cumulative Distribution Function instead of raw values
[in]maxSeSize: max size of structuring element (stop criteria) - no limit when set to 0
Returns
a vector with the volume differences corresponding to each size of the structuring element or the CDF if the CDF parameter is set to true