Namespaces | |
namespace | impl |
namespace | internal |
Functions | |
template<typename I> | |
mln::trait::concrete< I >::ret | enlarge (const Image< I > &input, unsigned n) |
Enlarge a binary image 2^n times. | |
template<typename I> | |
util::couple< image1d< float > , image1d< float > > | projected_histo (const Image< I > &input_, bool value=true) |
image2d< value::int_u8 > | subsample (image2d< bool > &input, unsigned n) |
Subsample a Boolean image. |
mln::trait::concrete< I >::ret mln::world::binary_2d::enlarge | ( | const Image< I > & | input, | |
unsigned | n | |||
) | [inline] |
Enlarge a binary image 2^n times.
[in] | input | A binary image. |
[in] | n | The power of 2 setting up the enlargement. |
n
times larger. Definition at line 352 of file enlarge.hh.
References mln::duplicate(), mln::world::binary_2d::internal::enlarge_dispatch(), mln::trace::entering(), mln::exact(), and mln::trace::exiting().
util::couple<image1d<float>, image1d<float> > mln::world::binary_2d::projected_histo | ( | const Image< I > & | input_, | |
bool | value = true | |||
) | [inline] |
Definition at line 53 of file projected_histo.hh.
References mln::opt::at(), mln::image1d< T >::at_(), mln::geom::bbox(), mln::exact(), mln::data::fill(), mln::geom::ncols(), mln::image1d< T >::ninds(), and mln::geom::nrows().
image2d< value::int_u8 > mln::world::binary_2d::subsample | ( | image2d< bool > & | input, | |
unsigned | n | |||
) |
Subsample a Boolean image.
[in] | input | A binary image. |
[in] | n | Linear subsampling coefficient. |
Definition at line 64 of file subsample.hh.
References mln::data::convert(), mln::image2d< T >::delta_index(), mln::trace::entering(), mln::trace::exiting(), mln::internal::image_base< T, S, E >::is_valid(), mln::image2d< T >::ncols(), and mln::image2d< T >::nrows().