Classes | |
struct | is_pixel |
struct | is_separator |
Functor returning whether a site is a separator in an inter-pixel image. More... | |
Namespaces | |
namespace | dim2 |
Typedefs | |
typedef neighb< dbl_window2d > | dbl_neighb2d |
Double neighborhood, used for inter-pixel images. | |
typedef win::multiple < window2d, dim2::is_row_odd > | dbl_window2d |
Double window. | |
Functions | |
template<typename I, typename F> | |
image_if< mln::trait::ch_value < mln_unmorph(I), 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) |
Create an image which is a copy of the input image with a solid background color and highlighted edges. | |
const dbl_neighb2d & | e2e () |
Edge (inter-pixel) to neighboring edges (inter-pixels). | |
const dbl_neighb2d & | e2v () |
Edge (inter-pixel) to neighborhood vertices (pixels). | |
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) |
const neighb2d & | v2e () |
Vertex (pixel) to neighboring edges (inter-pixels). | |
const neighb2d & | v2v () |
Vertex (pixel) to neighboring vertices (pixels). |
Double neighborhood, used for inter-pixel images.
Definition at line 50 of file world/inter_pixel/neighb2d.hh.
image_if< mln::trait::ch_value< mln_unmorph(I), typename F::result >::ret, is_separator > mln::world::inter_pixel::compute | ( | const Image< I > & | input, | |
const Function_vv2v< F > & | f | |||
) | [inline] |
Definition at line 64 of file world/inter_pixel/compute.hh.
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] |
Create an image which is a copy of the input image with a solid background color and highlighted edges.
The image is stretched according to the zoom ratio.
[in] | ima | The input image providing edge values. |
[in] | bg | The background color. |
[in] | zoom | The zoom ratio. |
ima
has to be an unmorphed image. Definition at line 69 of file display_edge.hh.
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::e2e | ( | ) |
Edge (inter-pixel) to neighboring edges (inter-pixels).
Definition at line 106 of file world/inter_pixel/neighb2d.hh.
References mln::make::double_neighb2d().
const dbl_neighb2d & mln::world::inter_pixel::e2v | ( | ) |
Edge (inter-pixel) to neighborhood vertices (pixels).
Definition at line 89 of file world/inter_pixel/neighb2d.hh.
References mln::make::double_neighb2d().
Referenced by trait::graph< mln::image2d< T > >::e2v(), and mln::world::inter_pixel::dim2::make_edge_image().
I mln::world::inter_pixel::full2image | ( | const Image< I > & | input | ) | [inline] |
Convert an inter-pixel image to a classical image.
[in] | input | An inter-pixel image. |
Definition at line 64 of file full2image.hh.
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. |
Definition at line 64 of file immerse.hh.
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] |
Definition at line 112 of file separator_to_pixels.hh.
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] |
Definition at line 68 of file separator_to_pixels.hh.
References mln::exact().
Referenced by compute(), and separator_to_pixels().
const neighb2d & mln::world::inter_pixel::v2e | ( | ) |
Vertex (pixel) to neighboring edges (inter-pixels).
Definition at line 84 of file world/inter_pixel/neighb2d.hh.
References mln::c4().
Referenced by trait::graph< mln::image2d< T > >::v2e().
const neighb2d & mln::world::inter_pixel::v2v | ( | ) |
Vertex (pixel) to neighboring vertices (pixels).
Definition at line 69 of file world/inter_pixel/neighb2d.hh.
References mln::convert::from_to(), and mln::internal::neighborhood_impl< W, E >::size().