Namespaces | Functions

mln::data::approx Namespace Reference

Namespace of image processing routines related to pixel levels with approximation. More...

Namespaces

namespace  impl
 

Implementation namespace of data::approx namespace.


Functions

template<typename I >
mln::trait::concrete< I >::ret median (const Image< I > &input, const win::rectangle2d &win)
template<typename I >
mln::trait::concrete< I >::ret median (const Image< I > &input, const win::octagon2d &win)
template<typename I >
mln::trait::concrete< I >::ret median (const Image< I > &input, const win::disk2d &win)

Detailed Description

Namespace of image processing routines related to pixel levels with approximation.


Function Documentation

template<typename I >
mln::trait::concrete< I >::ret mln::data::approx::median ( const Image< I > &  input,
const win::rectangle2d &  win 
) [inline]

Compute in output an approximate of the median filter of image input by the 2D rectangle win.

Parameters:
[in] input The image to be filtered.
[in] win The rectangle.

The approximation is based on a vertical median ran after an horizontal median.

Precondition:
input and output have to be initialized.

Definition at line 112 of file approx/median.hh.

Referenced by median().

template<typename I >
mln::trait::concrete< I >::ret mln::data::approx::median ( const Image< I > &  input,
const win::octagon2d &  win 
) [inline]

Compute in output an approximate of the median filter of image input by the 2D octagon win.

Parameters:
[in] input The image to be filtered.
[in] win The octagon.

The approximation is based on a vertical median and an horizontal median an two diagonal median.

Precondition:
input and output have to be initialized.

Definition at line 159 of file approx/median.hh.

References median().

template<typename I >
mln::trait::concrete< I >::ret mln::data::approx::median ( const Image< I > &  input,
const win::disk2d &  win 
) [inline]

Compute in output an approximate of the median filter of image input by the 2D disk win.

Parameters:
[in] input The image to be filtered.
[in] win The disk.

The approximation is based on a vertical median and an horizontal median an two diagonal median.

Precondition:
input and output have to be initialized.

Definition at line 132 of file approx/median.hh.

References median().