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) |
Convert the image input by changing the value type. | |
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_) |
Sort pixel offsets of the image input wrt increasing pixel values. | |
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 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 I, typename F> | |
void | transform_inplace (Image< I > &ima_, const Function_v2v< 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. |
void mln::data::impl::generic::apply_ | ( | I & | input, | |
const F & | f | |||
) | [inline] |
Definition at line 75 of file apply.hh.
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] |
Convert the image input
by changing the value type.
[in] | v | A value of the destination type. |
[in] | input | The input image. |
Definition at line 82 of file mln/data/convert.hh.
References mln::data::internal::convert_dispatch(), mln::data::internal::convert_tests(), mln::trace::entering(), mln::trace::exiting(), and mln::data::transform().
Referenced by mln::data::internal::convert_dispatch(), mln::world::binary_2d::subsample(), mln::morpho::watershed::superpose(), and mln::debug::superpose().
void mln::data::impl::generic::fill_with_image | ( | Image< I > & | ima_, | |
const Image< J > & | data_ | |||
) | [inline] |
Generic implementation.
Fill the image ima
with the values of the image data
.
[in,out] | ima_ | The image to be filled. |
[in] | data_ | The image. |
Definition at line 100 of file fill_with_image.hh.
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::data::internal::fill_with_image_tests().
Referenced by mln::data::internal::fill_dispatch_overload().
void mln::data::impl::generic::fill_with_value | ( | Image< I > & | ima_, | |
const V & | val | |||
) | [inline] |
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. Definition at line 102 of file fill_with_value.hh.
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::data::internal::fill_with_value_tests().
Referenced by mln::p_image< I >::clear(), and mln::data::internal::fill_dispatch_overload().
mln::trait::concrete< I >::ret mln::data::impl::generic::median | ( | const Image< I > & | input, | |
const Window< W > & | win | |||
) | [inline] |
Compute in output
the median filter of image input
by the window win
.
input
have to be initialized. Definition at line 187 of file median.hh.
References mln::extension::adjust(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::initialize(), mln::data::internal::median_dispatch(), mln::data::internal::median_tests(), and mln::canvas::browsing::snake_fwd.
Referenced by mln::data::approx::median(), and mln::data::internal::median_dispatch_wrt_win().
void mln::data::impl::generic::paste | ( | const Image< I > & | input_, | |
Image< J > & | output_ | |||
) | [inline] |
Generic implementation of data::paste.
Paste the contents of image input
into the image output
.
[in] | input_ | The input image providing pixels values. |
[in,out] | output_ | The image in which values are assigned. |
Definition at line 111 of file paste.hh.
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::data::input, and mln::data::internal::paste_tests().
Referenced by mln::chck(), mln::linear::gaussian::impl::generic_filter_common_(), mln::linear::impl::generic_filter_common_(), mln::make::image3d(), mln::draw::line(), mln::draw::plot(), mln::geom::rotate(), mln::debug::slices_2d(), and mln::labeling::superpose().
void mln::data::impl::generic::replace_ | ( | Image< I > & | input_, | |
const typename I::value & | old_value, | |||
const typename I::value & | new_value | |||
) | [inline] |
Definition at line 68 of file replace.hh.
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] |
Definition at line 131 of file sort_offsets.hh.
References mln::util::array< T >::append(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::util::array< T >::hook_std_vector_(), mln::data::input, and mln::util::array< T >::reserve().
Referenced by mln::data::internal::sort_offsets_decreasing_dispatch().
util::array<unsigned> mln::data::impl::generic::sort_offsets_increasing | ( | const Image< I > & | input_ | ) | [inline] |
Sort pixel offsets of the image input
wrt increasing pixel values.
Definition at line 93 of file sort_offsets.hh.
References mln::util::array< T >::append(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::util::array< T >::hook_std_vector_(), mln::data::input, mln::util::array< T >::reserve(), and mln::data::internal::sort_offsets_increasing_dispatch().
Referenced by mln::canvas::morpho::internal::attribute_filter_dispatch(), mln::data::internal::sort_offsets_increasing_dispatch(), and mln::canvas::labeling::internal::sorted_dispatch().
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_ | |||
) | [inline] |
Generic implementation of data::transform.
[in] | input1_ | The 1st input image. |
[in] | input2_ | The 2nd input image. |
[in] | f_ | The function. |
Definition at line 166 of file data/transform.hh.
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_ | |||
) | [inline] |
Generic implementation of data::transform.
[in] | input_ | The input image. |
[in] | f_ | The function. |
Definition at line 137 of file data/transform.hh.
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::initialize(), mln::data::input, and mln::data::internal::transform_tests().
Referenced by mln::data::abs(), mln::logical::and_(), mln::logical::and_not(), mln::binarization::impl::binarization_(), mln::labeling::colorize(), convert(), mln::arith::diff_abs(), mln::world::binary_2d::impl::do_enlarge_bool(), mln::labeling::impl::generic::mean_values(), mln::labeling::impl::mean_values_rgb(), mln::linear::mln_ch_convolve_grad(), mln::logical::not_(), mln::logical::or_(), mln::labeling::pack(), mln::labeling::pack_inplace(), mln::labeling::relabel(), mln::data::saturate(), mln::data::impl::stretch(), mln::data::to_enc(), mln::labeling::wrap(), mln::data::wrap(), and mln::logical::xor_().
void mln::data::impl::generic::transform_inplace | ( | Image< I1 > & | ima_, | |
const Image< I2 > & | aux_, | |||
const Function_vv2v< F > & | f_ | |||
) | [inline] |
Generic implementation of transform_inplace.
[in] | ima_ | The image to be transformed. |
[in] | aux_ | The auxiliary image. |
[in] | f_ | The function. |
Definition at line 176 of file transform_inplace.hh.
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::data::internal::transform_inplace_dispatch(), and mln::data::internal::transform_inplace_tests().
void mln::data::impl::generic::transform_inplace | ( | Image< I > & | ima_, | |
const Function_v2v< F > & | f_ | |||
) | [inline] |
Generic implementation of transform_inplace.
[in,out] | ima_ | The image to be transformed. |
[in] | f_ | The function. |
Definition at line 149 of file transform_inplace.hh.
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::data::internal::transform_inplace_dispatch(), and mln::data::internal::transform_inplace_tests().
Referenced by mln::logical::and_inplace(), mln::logical::and_not_inplace(), mln::logical::not_inplace(), mln::logical::or_inplace(), mln::labeling::relabel_inplace(), mln::data::internal::transform_inplace_dispatch(), and mln::logical::xor_inplace().
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. |
Definition at line 100 of file update.hh.
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::data::input, mln::data::internal::update_dispatch(), and mln::data::internal::update_tests().
Referenced by mln::data::internal::update_dispatch().