$extrastylesheet
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< dbl_window2d > | dbl_neighb2d |
typedef win::multiple < window2d, dim2::is_row_odd > | dbl_window2d |
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) |
const dbl_neighb2d & | e2e () |
const dbl_neighb2d & | e2v () |
template<typename I > | |
mln::trait::concrete< I >::ret | full2image (const Image< I > &input) |
template<typename I > | |
image_if< typename mln::trait::concrete< I >::ret, is_pixel > | immerse (const Image< I > &input) |
template<typename P > | |
void | separator_to_pixels (const Gpoint< P > &s, Gpoint< P > &p1, Gpoint< P > &p2) |
template<typename Ps , typename P > | |
void | separator_to_pixels (const Site_Proxy< Ps > &s, Gpoint< P > &p1, Gpoint< P > &p2) |
const neighb2d & | v2e () |
const neighb2d & | v2v () |
Double neighborhood, used for inter-pixel images.
Definition at line 50 of file world/inter_pixel/neighb2d.hh.
Double window.
Definition at line 47 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 |
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. const dbl_neighb2d& mln::world::inter_pixel::e2e | ( | ) |
Edge (inter-pixel) to neighboring edges (inter-pixels).
const dbl_neighb2d& mln::world::inter_pixel::e2v | ( | ) |
Edge (inter-pixel) to neighborhood vertices (pixels).
mln::trait::concrete< I >::ret mln::world::inter_pixel::full2image | ( | const Image< I > & | input | ) |
Convert an inter-pixel image to a classical image.
[in] | input | An inter-pixel image. |
image_if<typename mln::trait::concrete< I >::ret, is_pixel> mln::world::inter_pixel::immerse | ( | const Image< I > & | input | ) |
Convert an image to an inter-pixel image.
[in] | input | An image. |
void mln::world::inter_pixel::separator_to_pixels | ( | const Gpoint< P > & | s, |
Gpoint< P > & | p1, | ||
Gpoint< P > & | p2 | ||
) |
void mln::world::inter_pixel::separator_to_pixels | ( | const Site_Proxy< Ps > & | s, |
Gpoint< P > & | p1, | ||
Gpoint< P > & | p2 | ||
) |
const neighb2d& mln::world::inter_pixel::v2e | ( | ) |
Vertex (pixel) to neighboring edges (inter-pixels).