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) |
Namespace of image processing routines related to pixel levels with approximation.
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
.
[in] | input | The image to be filtered. |
[in] | win | The rectangle. |
The approximation is based on a vertical median ran after an horizontal median.
input
and output
have to be initialized. References mln::trace::entering(), mln::trace::exiting(), and mln::win2.
Referenced by median().
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
.
[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.
input
and output
have to be initialized. References median().
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
.
[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.
input
and output
have to be initialized. References mln::trace::entering(), mln::trace::exiting(), median(), and mln::win2.