$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Border and Extension

Functions

template<typename I , typename W >
void mln::extension::adjust (const Image< I > &ima, const Window< W > &win)
template<typename I >
void mln::border::adjust (const Image< I > &ima, unsigned min_thickness)
template<typename I , typename W >
void mln::extension::adjust (const Image< I > &ima, const Weighted_Window< W > &wwin)
template<typename I , typename N >
void mln::extension::adjust (const Image< I > &ima, const Neighborhood< N > &nbh)
template<typename I >
void mln::extension::adjust (const Image< I > &ima, unsigned delta)
template<typename I , typename W >
void mln::extension::adjust_duplicate (const Image< I > &ima, const Window< W > &win)
template<typename I , typename W >
void mln::extension::adjust_duplicate (const Image< I > &ima, const Weighted_Window< W > &wwin)
template<typename I , typename N >
void mln::extension::adjust_duplicate (const Image< I > &ima, const Neighborhood< N > &nbh)
template<typename I >
void mln::extension::adjust_duplicate (const Image< I > &ima, unsigned delta)
template<typename I , typename W >
void mln::extension::adjust_fill (const Image< I > &ima, const Window< W > &win, const typename I::value &val)
template<typename I , typename W >
void mln::extension::adjust_fill (const Image< I > &ima, const Weighted_Window< W > &wwin, const typename I::value &val)
template<typename I , typename N >
void mln::extension::adjust_fill (const Image< I > &ima, const Neighborhood< N > &nbh, const typename I::value &val)
template<typename I >
void mln::extension::adjust_fill (const Image< I > &ima, unsigned delta, const typename I::value &val)
template<typename I >
void mln::extension::duplicate (const Image< I > &ima)
template<typename I >
void mln::border::duplicate (const Image< I > &ima)
template<typename I , typename J >
void mln::border::equalize (const Image< I > &ima1, const Image< J > &ima2, unsigned min_thickness)
template<typename I >
void mln::border::fill (const Image< I > &ima, const typename I::value &v)
template<typename I >
void mln::extension::fill (const Image< I > &ima, const typename I::value &val)
template<typename I >
unsigned mln::border::find (const Image< I > &ima)
template<typename I >
unsigned mln::border::get (const Image< I > &ima)
template<typename I >
void mln::border::mirror (const Image< I > &ima)
template<typename I >
void mln::border::resize (const Image< I > &ima, unsigned thickness)
template<typename I , typename J >
void mln::border::resize_equal (const Image< I > &ima1, const Image< J > &ima2)

Variables

unsigned mln::border::thickness

Detailed Description

All routines related to Image Border and Extension.

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.

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

Adjust the virtual (outer) border of image ima so that its size is at least min_thickness.

Parameters
[in,out]imaThe image whose border is to be adjusted.
[in]min_thicknessThe expected border minimum thickness.
Precondition
ima has to be initialized.
Warning
If the image border is already larger than min_thickness, this routine is a no-op.
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.

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.

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

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

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

Adjust then duplicate.

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

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

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

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

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

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

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.

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

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

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

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

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

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

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.

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

Assign the virtual (outer) border of image ima with the duplicate of the inner border of this image.

Parameters
[in,out]imaThe image whose border is to be duplicated.
Precondition
ima has to be initialized.
template<typename I , typename J >
void mln::border::equalize ( const Image< I > &  ima1,
const Image< J > &  ima2,
unsigned  min_thickness 
)

Equalize the virtual (outer) border of images ima1 and ima2 so that their size is equal and is at least min_thickness.

Parameters
[in,out]ima1The first image whose border is to be equalizeed.
[in,out]ima2The second image whose border is to be equalizeed.
[in]min_thicknessThe expected border minimum thickness of both images.
Precondition
ima1 has to be initialized.
ima2 has to be initialized.
Warning
If both image borders already have the same thickness and if this thickness is larger than min_thickness, this routine is a no-op.
template<typename I >
void mln::border::fill ( const Image< I > &  ima,
const typename I::value &  v 
)

Fill the virtual (outer) border of image ima with the single value v.

Parameters
[in,out]imaThe image whose border is to be filled.
[in]vThe value to assign to all border pixels.
Precondition
ima has to be initialized.
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 val.

Parameters
[in,out]imaThe image whose domain extension is to be filled.
[in]valThe value to assign.
Precondition
ima has to be initialized.
template<typename I >
unsigned mln::border::find ( const Image< I > &  ima)

Find the virtual (outer) border thickness of image ima.

Parameters
[in]imaThe image.
Returns
The border thickness (0 if there is no border).
Precondition
ima has to be initialized.
template<typename I >
unsigned mln::border::get ( const Image< I > &  ima)

Get the virtual (outer) border thickness of image ima.

  \param[in] ima The image.
  \result    The border thickness (0 if there is no border).

  \pre \a ima has to be initialized.
template<typename I >
void mln::border::mirror ( const Image< I > &  ima)

Mirror the virtual (outer) border of image ima with the (inner) level contents of this image.

Parameters
[in,out]imaThe image whose border is to be mirrored.
Precondition
ima has to be initialized.
template<typename I >
void mln::border::resize ( const Image< I > &  ima,
unsigned  thickness 
)

Resize the virtual (outer) border of image ima to exactly thickness.

Parameters
[in,out]imaThe image whose border is to be resized.
[in]thicknessThe expected border thickness.
Precondition
ima has to be initialized.
Warning
If the image border already has the expected thickness, this routine is a no-op.
template<typename I , typename J >
void mln::border::resize_equal ( const Image< I > &  ima1,
const Image< J > &  ima2 
)

Define a function that resizes the virtual border of a couple of images so that they eventually have the same border thickness.

Variable Documentation

unsigned mln::border::thickness

Define the variable which specifies border thickness for image creation.