SMIL  0.9.2
+ Collaboration diagram for Distance Function:

Functions

template<class T1 , class T2 >
RES_T distance (const Image< T1 > &imIn, Image< T2 > &imOut, const StrElt &se=DEFAULT_SE)
 Distance function. More...
 
template<class T1 , class T2 >
RES_T distanceEuclidean (const Image< T1 > &imIn, Image< T2 > &imOut)
 Euclidean distance function. More...
 
template<class T1 , class T2 >
RES_T distanceGeodesic (const Image< T1 > &imIn, const Image< T1 > &imMask, Image< T2 > &imOut, const StrElt &se=DEFAULT_SE)
 Geodesic distance function. More...
 

Detailed Description

Function Documentation

◆ distance()

RES_T smil::distance ( const Image< T1 > &  imIn,
Image< T2 > &  imOut,
const StrElt se = DEFAULT_SE 
)

Distance function.

Parameters
imInInput Image
imOutOutput Image
seStructuring Element

◆ distanceEuclidean()

RES_T smil::distanceEuclidean ( const Image< T1 > &  imIn,
Image< T2 > &  imOut 
)

Euclidean distance function.

Parameters
imInInput Image
imOutOutput Image

◆ distanceGeodesic()

RES_T smil::distanceGeodesic ( const Image< T1 > &  imIn,
const Image< T1 > &  imMask,
Image< T2 > &  imOut,
const StrElt se = DEFAULT_SE 
)

Geodesic distance function.

Parameters
imInInput Image
imMaskMask Image
imOutOutput Image
seStructuring Element