Functions

mln::extension Namespace Reference

Namespace of extension tools. More...

Functions

template<typename I , typename W >
void adjust (const Image< I > &ima, const Window< W > &win)
 Adjust the domain extension of image ima with the size of the window win.
template<typename I , typename W >
void adjust (const Image< I > &ima, const Weighted_Window< W > &wwin)
 Adjust the domain extension of image ima with the size of the weighted window wwin.
template<typename I >
void adjust (const Image< I > &ima, unsigned delta)
 Adjust the domain extension of image ima with the size delta.
template<typename I , typename N >
void adjust (const Image< I > &ima, const Neighborhood< N > &nbh)
 Adjust the domain extension of image ima with the size of the neighborhood nbh.
template<typename I , typename W >
void adjust_duplicate (const Image< I > &ima, const Window< W > &win)
 Adjust then duplicate.
template<typename I , typename W >
void adjust_fill (const Image< I > &ima, const Window< W > &win, const typename I::value &val)
 Adjust then fill.
template<typename I >
void duplicate (const Image< I > &ima)
 Assign the contents of the domain extension by duplicating the values of the inner boundary of image ima.
template<typename I >
void fill (const Image< I > &ima, const typename I::value &val)

Detailed Description

Namespace of extension tools.


Function Documentation

template<typename I , typename W >
void mln::extension::adjust ( const Image< I > &  ima,
const Window< W > &  win 
)

Adjust the domain extension of image ima with the size of the window win.

Definition at line 89 of file extension/adjust.hh.

References mln::geom::delta().

Referenced by adjust(), adjust_duplicate(), and adjust_fill().

template<typename I , typename W >
void mln::extension::adjust ( const Image< I > &  ima,
const Weighted_Window< W > &  wwin 
)

Adjust the domain extension of image ima with the size of the weighted window wwin.

Definition at line 97 of file extension/adjust.hh.

References adjust(), and mln::geom::delta().

template<typename I >
void mln::extension::adjust ( const Image< I > &  ima,
unsigned  delta 
)

Adjust the domain extension of image ima with the size delta.

Definition at line 113 of file extension/adjust.hh.

References adjust().

template<typename I , typename N >
void mln::extension::adjust ( const Image< I > &  ima,
const Neighborhood< N > &  nbh 
)

Adjust the domain extension of image ima with the size of the neighborhood nbh.

Definition at line 105 of file extension/adjust.hh.

References adjust(), and mln::geom::delta().

template<typename I , typename W >
void mln::extension::adjust_duplicate ( const Image< I > &  ima,
const Window< W > &  win 
)

Adjust then duplicate.

Definition at line 70 of file adjust_duplicate.hh.

References adjust(), and duplicate().

template<typename I , typename W >
void mln::extension::adjust_fill ( const Image< I > &  ima,
const Window< W > &  win,
const typename I::value &  val 
)

Adjust then fill.

Definition at line 72 of file adjust_fill.hh.

References adjust(), and fill().

template<typename I >
void mln::extension::duplicate ( const Image< I > &  ima  ) 

Assign the contents of the domain extension by duplicating the values of the inner boundary of image ima.

Definition at line 58 of file extension/duplicate.hh.

Referenced by adjust_duplicate().

template<typename I >
void mln::extension::fill ( const Image< I > &  ima,
const typename I::value &  val 
)

Fill the domain extension of image ima with the single value v.

Parameters:
[in,out] ima The image whose domain extension is to be filled.
[in] val The value to assign.
Precondition:
ima has to be initialized.

Definition at line 173 of file extension/fill.hh.

Referenced by adjust_fill().