SMIL 1.1.2
Loading...
Searching...
No Matches
MaxTree based algorithms

MaxTree based Attribute Opening and Closing as proposed by Salembier [12]. More...

Detailed Description

MaxTree based Attribute Opening and Closing as proposed by Salembier [12].

+ Collaboration diagram for MaxTree based algorithms:

Functions

template<class T1 , class T2 >
RES_T ultimateOpen (const Image< T1 > &imIn, Image< T1 > &imTrans, Image< T2 > &imIndic, const StrElt &se=DEFAULT_SE, T2 stopSize=0, UINT delta=0)
 Ultimate Opening using the max-trees.
 
template<class T , class CriterionT , class Offset_T , class Label_T , class Attr_T >
void ComputeDeltaUOMSERSC (MaxTree2< T, CriterionT, Offset_T, Label_T > &tree, T *transformee_node, Attr_T *indicatrice_node, int node, int nParent, int first_ancestor, Attr_T stop, UINT delta, int isPrevMaxT)
 
template<class T >
RES_T heightOpen (const Image< T > &imIn, size_t stopSize, Image< T > &imOut, const StrElt &se=DEFAULT_SE)
 Image opening based on height attribute.
 
template<class T >
RES_T heightClose (const Image< T > &imIn, size_t stopSize, Image< T > &imOut, const StrElt &se=DEFAULT_SE)
 Image closing based on height attribute.
 
template<class T >
RES_T widthOpen (const Image< T > &imIn, size_t stopSize, Image< T > &imOut, const StrElt &se=DEFAULT_SE)
 Image opening based on width attribute.
 
template<class T >
RES_T widthClose (const Image< T > &imIn, size_t stopSize, Image< T > &imOut, const StrElt &se=DEFAULT_SE)
 Image opening based on width attribute.
 
template<class T >
RES_T areaOpen (const Image< T > &imIn, size_t stopSize, Image< T > &imOut, const StrElt &se=DEFAULT_SE)
 Image opening based on area attribute.
 
template<class T >
RES_T areaClose (const Image< T > &imIn, size_t stopSize, Image< T > &imOut, const StrElt &se=DEFAULT_SE)
 Image closing based on area attribute.
 

Function Documentation

◆ ultimateOpen()

template<class T1 , class T2 >
RES_T ultimateOpen ( const Image< T1 > &  imIn,
Image< T1 > &  imTrans,
Image< T2 > &  imIndic,
const StrElt se = DEFAULT_SE,
T2  stopSize = 0,
UINT  delta = 0 
)

Ultimate Opening using the max-trees.

Max-tree based algorithm as described by Fabrizio and Marcotegui (2009) [7]

Parameters
[in]imInInput image
[out]imTransThe transformation image
[out]imIndicThe indicator image
[in]stopSize(optional)
[in]delta(optional)
[in]sestructuring element

◆ ComputeDeltaUOMSERSC()

template<class T , class CriterionT , class Offset_T , class Label_T , class Attr_T >
void ComputeDeltaUOMSERSC ( MaxTree2< T, CriterionT, Offset_T, Label_T > &  tree,
T *  transformee_node,
Attr_T *  indicatrice_node,
int  node,
int  nParent,
int  first_ancestor,
Attr_T  stop,
UINT  delta,
int  isPrevMaxT 
)

wParent set but not used*‍/

◆ heightOpen()

template<class T >
RES_T heightOpen ( const Image< T > &  imIn,
size_t  stopSize,
Image< T > &  imOut,
const StrElt se = DEFAULT_SE 
)

Image opening based on height attribute.

Max-tree based algorithm

Warning
4-connex only (6-connex in 3D)
Parameters
[in]imInInput image
[in]stopSizeThe size of the opening
[out]imOutOutput image
[in]seStructuring element

◆ heightClose()

template<class T >
RES_T heightClose ( const Image< T > &  imIn,
size_t  stopSize,
Image< T > &  imOut,
const StrElt se = DEFAULT_SE 
)

Image closing based on height attribute.

Max-tree based algorithm

Warning
4-connex only (6-connex in 3D)
Parameters
[in]imInInput image
[in]stopSizeThe size of the opening
[out]imOutOutput image
[in]seStructuring element

◆ widthOpen()

template<class T >
RES_T widthOpen ( const Image< T > &  imIn,
size_t  stopSize,
Image< T > &  imOut,
const StrElt se = DEFAULT_SE 
)

Image opening based on width attribute.

Max-tree based algorithm

Warning
4-connex only (6-connex in 3D)
Parameters
[in]imInInput image
[in]stopSizeThe size of the opening
[out]imOutOutput image
[in]seStructuring element

◆ widthClose()

template<class T >
RES_T widthClose ( const Image< T > &  imIn,
size_t  stopSize,
Image< T > &  imOut,
const StrElt se = DEFAULT_SE 
)

Image opening based on width attribute.

Max-tree based algorithm

Warning
4-connex only (6-connex in 3D)
Parameters
[in]imInInput image
[in]stopSizeThe size of the opening
[out]imOutOutput image
[in]seStructuring element

◆ areaOpen()

template<class T >
RES_T areaOpen ( const Image< T > &  imIn,
size_t  stopSize,
Image< T > &  imOut,
const StrElt se = DEFAULT_SE 
)

Image opening based on area attribute.

Max-tree based algorithm

Parameters
[in]imInInput image
[in]stopSizeThe size of the opening
[out]imOutOutput image
[in]seStructuring element

◆ areaClose()

template<class T >
RES_T areaClose ( const Image< T > &  imIn,
size_t  stopSize,
Image< T > &  imOut,
const StrElt se = DEFAULT_SE 
)

Image closing based on area attribute.

Max-tree based algorithm

Parameters
[in]imInInput image
[in]stopSizeThe size of the closing
[out]imOutOutput image
[in]seStructuring element