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

Functions

template<typename I >
mln::trait::concrete< I >::ret enlarge (const Image< I > &input, unsigned n)
template<typename I >
util::couple< image1d< float >
, image1d< float > > 
projected_histo (const Image< I > &input_, bool value=true)
image2d< value::int_u8subsample (const image2d< bool > &input, unsigned n)

Function Documentation

template<typename I >
mln::trait::concrete< I >::ret mln::world::binary_2d::enlarge ( const Image< I > &  input,
unsigned  n 
)

Enlarge a binary image 2^n times.

Parameters
[in]inputA binary image.
[in]nThe power of 2 setting up the enlargement.
Returns
A binary image with a domain 2^n times larger.
template<typename I >
util::couple<image1d<float>, image1d<float> > mln::world::binary_2d::projected_histo ( const Image< I > &  input_,
bool  value = true 
)

Definition at line 53 of file projected_histo.hh.

image2d<value::int_u8> mln::world::binary_2d::subsample ( const image2d< bool > &  input,
unsigned  n 
)

Subsample a Boolean image.

Parameters
[in]inputA binary image.
[in]nLinear subsampling coefficient.
Returns
A gray level image.