Namespaces | |
namespace | dim2 |
Classes | |
struct | is_pixel |
struct | is_separator |
Functor returning whether a site is a separator in an inter-pixel image. More... | |
Typedefs | |
typedef neighb< win::multiple < window2d, dim2::is_row_odd > > | dbl_neighb2d |
Double neighborhood used for inter-pixel images. | |
Functions | |
template<typename I , typename F > | |
image_if< mln::trait::ch_value < typename I::unmorph, typename F::result >::ret, is_separator > | compute (const Image< I > &input, const Function_vv2v< F > &f) |
template<typename I > | |
I | display_edge (const I &ima, typename I::value bg, unsigned zoom) |
const dbl_neighb2d & | e2c () |
C4 neighborhood on pixels centered on an edge. | |
const dbl_neighb2d & | e2e () |
C8 neighborhood on edges centered on an edge. | |
template<typename I > | |
I | full2image (const Image< I > &input) |
Convert an inter-pixel image to a classical image. | |
template<typename I > | |
image_if< typename mln::trait::concrete< I >::ret, is_pixel > | immerse (const Image< I > &input) |
Convert an image to an inter-pixel image. | |
template<typename Ps , typename P > | |
void | separator_to_pixels (const Site_Proxy< Ps > &s, Gpoint< P > &p1, Gpoint< P > &p2) |
template<typename P > | |
void | separator_to_pixels (const Gpoint< P > &s, Gpoint< P > &p1, Gpoint< P > &p2) |
Double neighborhood used for inter-pixel images.
image_if< mln::trait::ch_value< typename I::unmorph, typename F::result >::ret, is_separator > mln::world::inter_pixel::compute | ( | const Image< I > & | input, | |
const Function_vv2v< F > & | f | |||
) | [inline] |
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::initialize(), and separator_to_pixels().
I mln::world::inter_pixel::display_edge | ( | const I & | ima, | |
typename I::value | bg, | |||
unsigned | zoom | |||
) | [inline] |
References mln::opt::at(), mln::make::box2d(), mln::data::fill(), mln::box< P >::pmax(), and mln::box< P >::pmin().
const dbl_neighb2d & mln::world::inter_pixel::e2c | ( | ) |
C4 neighborhood on pixels centered on an edge.
References mln::make::double_neighb2d.
Referenced by mln::world::inter_pixel::dim2::make_edge_image().
const dbl_neighb2d & mln::world::inter_pixel::e2e | ( | ) |
C8 neighborhood on edges centered on an edge.
References mln::make::double_neighb2d.
I mln::world::inter_pixel::full2image | ( | const Image< I > & | input | ) |
Convert an inter-pixel image to a classical image.
[in] | input | An inter-pixel image. |
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::geom::nsites(), and mln::data::paste_without_localization().
image_if< typename mln::trait::concrete< I >::ret, is_pixel > mln::world::inter_pixel::immerse | ( | const Image< I > & | input | ) | [inline] |
Convert an image to an inter-pixel image.
[in] | input | An image. |
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::geom::nsites(), and mln::data::paste_without_localization().
void mln::world::inter_pixel::separator_to_pixels | ( | const Site_Proxy< Ps > & | s, | |
Gpoint< P > & | p1, | |||
Gpoint< P > & | p2 | |||
) | [inline] |
References mln::exact(), and separator_to_pixels().
void mln::world::inter_pixel::separator_to_pixels | ( | const Gpoint< P > & | s, | |
Gpoint< P > & | p1, | |||
Gpoint< P > & | p2 | |||
) | [inline] |
References mln::exact().
Referenced by compute(), and separator_to_pixels().