Generic implementation namespace of data namespace. More...
Classes | |
| struct | value_offset_greater_ |
| struct | value_offset_less_ |
Functions | |
| template<typename I , typename F > | |
| void | apply_ (I &input, const F &f) |
| template<typename V , typename I > | |
| mln::trait::ch_value< I, V >::ret | convert (const V &v, const Image< I > &input) |
| template<typename I , typename J > | |
| void | fill_with_image (Image< I > &ima_, const Image< J > &data_) |
| Generic implementation. | |
| template<typename I , typename V > | |
| void | fill_with_value (Image< I > &ima_, const V &val) |
Fill the whole image ima with the single value v. | |
| template<typename I , typename W > | |
| mln::trait::concrete< I >::ret | median (const Image< I > &input, const Window< W > &win) |
| template<typename I , typename J > | |
| void | paste (const Image< I > &input_, Image< J > &output_) |
| Generic implementation of data::paste. | |
| template<typename I > | |
| void | replace_ (Image< I > &input_, const typename I::value &old_value, const typename I::value &new_value) |
| template<typename I > | |
| util::array< unsigned > | sort_offsets_decreasing (const Image< I > &input_) |
| template<typename I > | |
| util::array< unsigned > | sort_offsets_increasing (const Image< I > &input_) |
| template<typename I1 , typename I2 , typename F > | |
| mln::trait::ch_value< I1, typename F::result >::ret | transform (const Image< I1 > &input1_, const Image< I2 > &input2_, const Function_vv2v< F > &f_) |
| Generic implementation of data::transform. | |
| template<typename I , typename F > | |
| mln::trait::ch_value< I, typename F::result >::ret | transform (const Image< I > &input_, const Function_v2v< F > &f_) |
| Generic implementation of data::transform. | |
| template<typename I , typename F > | |
| void | transform_inplace (Image< I > &ima_, const Function_v2v< F > &f_) |
| Generic implementation of transform_inplace. | |
| template<typename I1 , typename I2 , typename F > | |
| void | transform_inplace (Image< I1 > &ima_, const Image< I2 > &aux_, const Function_vv2v< F > &f_) |
| Generic implementation of transform_inplace. | |
| template<typename A , typename I > | |
| A::result | update (Accumulator< A > &a_, const Image< I > &input_) |
| Generic implementation of data::update. | |
Generic implementation namespace of data namespace.
| void mln::data::impl::generic::apply_ | ( | I & | input, | |
| const F & | f | |||
| ) | [inline] |
References mln::trace::entering(), mln::trace::exiting(), and mln::data::input.
| mln::trait::ch_value< I , V >::ret mln::data::impl::generic::convert | ( | const V & | v, | |
| const Image< I > & | input | |||
| ) | [inline] |
| void mln::data::impl::generic::fill_with_image | ( | Image< I > & | ima_, | |
| const Image< J > & | data_ | |||
| ) |
Generic implementation.
| [in,out] | ima_ | The image to be filled. |
| [in] | data_ | The image. |
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::data::internal::fill_with_image_tests().
| void mln::data::impl::generic::fill_with_value | ( | Image< I > & | ima_, | |
| const V & | val | |||
| ) |
Fill the whole image ima with the single value v.
| [in,out] | ima_ | The image to be filled. |
| [in] | val | The value to assign to all sites. |
ima has to be initialized. References mln::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::data::internal::fill_with_value_tests().
| mln::trait::concrete< I >::ret mln::data::impl::generic::median | ( | const Image< I > & | input, | |
| const Window< W > & | win | |||
| ) | [inline] |
| void mln::data::impl::generic::paste | ( | const Image< I > & | input_, | |
| Image< J > & | output_ | |||
| ) | [inline] |
Generic implementation of data::paste.
| [in] | input_ | The input image providing pixels values. |
| [in,out] | output_ | The image in which values are assigned. |
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::data::input, and mln::data::internal::paste_tests().
| void mln::data::impl::generic::replace_ | ( | Image< I > & | input_, | |
| const typename I::value & | old_value, | |||
| const typename I::value & | new_value | |||
| ) | [inline] |
References mln::pw::cst(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::data::fill(), and mln::pw::value().
| util::array<unsigned> mln::data::impl::generic::sort_offsets_decreasing | ( | const Image< I > & | input_ | ) | [inline] |
| util::array<unsigned> mln::data::impl::generic::sort_offsets_increasing | ( | const Image< I > & | input_ | ) | [inline] |
| mln::trait::ch_value< I1 , typename F ::result >::ret mln::data::impl::generic::transform | ( | const Image< I1 > & | input1_, | |
| const Image< I2 > & | input2_, | |||
| const Function_vv2v< F > & | f_ | |||
| ) |
Generic implementation of data::transform.
| [in] | input1_ | The 1st input image. |
| [in] | input2_ | The 2nd input image. |
| [in] | f_ | The function. |
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::initialize(), and mln::data::internal::transform_tests().
| mln::trait::ch_value< I , typename F ::result >::ret mln::data::impl::generic::transform | ( | const Image< I > & | input_, | |
| const Function_v2v< F > & | f_ | |||
| ) |
Generic implementation of data::transform.
| [in] | input_ | The input image. |
| [in] | f_ | The function. |
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::initialize(), mln::data::input, and mln::data::internal::transform_tests().
Referenced by convert().
| void mln::data::impl::generic::transform_inplace | ( | Image< I > & | ima_, | |
| const Function_v2v< F > & | f_ | |||
| ) |
Generic implementation of transform_inplace.
| [in,out] | ima_ | The image to be transformed. |
| [in] | f_ | The function. |
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::data::internal::transform_inplace_tests().
| void mln::data::impl::generic::transform_inplace | ( | Image< I1 > & | ima_, | |
| const Image< I2 > & | aux_, | |||
| const Function_vv2v< F > & | f_ | |||
| ) |
Generic implementation of transform_inplace.
| [in] | ima_ | The image to be transformed. |
| [in] | aux_ | The auxiliary image. |
| [in] | f_ | The function. |
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::data::internal::transform_inplace_tests().
| A ::result mln::data::impl::generic::update | ( | Accumulator< A > & | a_, | |
| const Image< I > & | input_ | |||
| ) | [inline] |
Generic implementation of data::update.
| [in] | a_ | The accumulator. |
| [in] | input_ | The input image. |
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::data::input, and mln::data::internal::update_tests().
1.7.1