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

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_window2ddbl_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 >
display_edge (const I &ima, typename I::value bg, unsigned zoom)
const dbl_neighb2de2e ()
const dbl_neighb2de2v ()
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 neighb2dv2e ()
const neighb2dv2v ()

Typedef Documentation

Double neighborhood, used for inter-pixel images.

Definition at line 50 of file world/inter_pixel/neighb2d.hh.

Function Documentation

template<typename I , typename F >
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 
)
template<typename I >
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.

Parameters
[in]imaThe input image providing edge values.
[in]bgThe background color.
[in]zoomThe zoom ratio.
Returns
A copy of the input image with highlighted edges.
Precondition
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).

template<typename I >
mln::trait::concrete< I >::ret mln::world::inter_pixel::full2image ( const Image< I > &  input)

Convert an inter-pixel image to a classical image.

Parameters
[in]inputAn inter-pixel image.
Returns
A classical image without inter-pixel data.
template<typename I >
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.

Parameters
[in]inputAn image.
Returns
An inter-pixel image.
template<typename P >
void mln::world::inter_pixel::separator_to_pixels ( const Gpoint< P > &  s,
Gpoint< P > &  p1,
Gpoint< P > &  p2 
)
template<typename Ps , typename P >
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).

const neighb2d& mln::world::inter_pixel::v2v ( )

Vertex (pixel) to neighboring vertices (pixels).