$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::data::approx Namespace Reference

Namespaces

namespace  impl

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::disk2d &win)
template<typename I >
mln::trait::concrete< I >::ret median (const Image< I > &input, const win::octagon2d &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 
)

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

Parameters
[in]inputThe image to be filtered.
[in]winThe rectangle.

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

Precondition
input and output have to be initialized.
template<typename I >
mln::trait::concrete< I >::ret mln::data::approx::median ( const Image< I > &  input,
const win::disk2d &  win 
)

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

Parameters
[in]inputThe image to be filtered.
[in]winThe 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.
template<typename I >
mln::trait::concrete< I >::ret mln::data::approx::median ( const Image< I > &  input,
const win::octagon2d &  win 
)

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

Parameters
[in]inputThe image to be filtered.
[in]winThe 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.