$extrastylesheet
#include <mln/core/image/dmorph/image2d_h.hh>
Public Member Functions | |
image2d_h (int nrows, int ncols, unsigned bdr=border::thickness) | |
mln::metal::const_< image2d< V > >::ret * | delegatee_ () const |
image2d< V > * | delegatee_ () |
void | destroy () |
const box2d_h & | domain () const |
bool | has (const psite &p) const |
bool | has (const psite &p) const |
void | init_ (image2d< V > &ima) |
bool | is_valid () const |
std::size_t | nsites () const |
rvalue | operator() (const typename box2d_h::psite &p) const |
lvalue | operator() (const typename box2d_h::psite &p) |
rvalue | operator() (const point2d_h &p) const |
lvalue | operator() (const point2d_h &p) |
hexa< image2d< V > > & | rw () |
image2d< V > & | unmorph_ () |
mln::metal::const_< image2d< V > >::ret & | unmorph_ () const |
const t_eligible_values_set & | values_eligible () const |
const t_values_space & | values_space () const |
Protected Attributes | |
mln::util::tracked_ptr < internal::data< hexa < image2d< V > > > > | data_ |
Public Types | |
typedef hexa_bkd_piter_< box2d > | bkd_piter |
typedef Image< void > | category |
typedef image2d< V > | delegatee |
typedef box2d_h | domain_t |
typedef hexa< image2d< V > > | exact_t |
typedef hexa_fwd_piter_< box2d > | fwd_piter |
typedef image2d< V >::lvalue | lvalue |
typedef fwd_piter | piter |
typedef point2d_h | psite |
typedef image2d< V >::rvalue | rvalue |
typedef box2d_h::site | site |
typedef hexa< tag::image_ < image2d< V > > > | skeleton |
typedef mln::value::set < image2d< V >::value > | t_eligible_values_set |
typedef mln::value::set < typename mln::value::super_value < image2d< V >::value >::ret > | t_values_space |
typedef image2d< V > | unmorph |
typedef image2d< V >::value | value |
2d image based on an hexagonal mesh.
Definition at line 51 of file image2d_h.hh.
mln::image2d_h< V >::image2d_h | ( | int | nrows, |
int | ncols, | ||
unsigned | bdr = border::thickness |
||
) |
Constructor with the numbers of rows and columns border thickness.
image2d_h(3,6) will build this hexa image :
1 3 5 0 2 4
|
inherited |
INTERNAL_API Return the delegatee_ pointer; default code.
|
inherited |
Return the delegatee_ pointer (non-const version); default code.
|
inherited |
Detach data from an image (free it if nobody else hold it).
|
inherited |
Test if p
belongs to the image domain.
Test if p
belongs to the image domain.
|
inherited |
Test if this image has been initialized; default impl.
Reimplemented from mln::internal::image_base< image2d< V >::value, box2d_h, hexa< image2d< V > > >.
|
inherited |
Give the number of sites of the image domain.
|
inherited |
Read-only access of pixel value at point site p
.
|
inherited |
Read and "write if possible" access of pixel value at point site p
.
Read-only access of pixel value at hexa point site p
.
Read-write access of pixel value at hexa point site p
.
|
inherited |
State that the morpher is writable.
This allows for C++ to use it as a mutable object even if it is a temporary object.
|
inherited |
INTERNAL_API Give the morphed image (mutable version).
|
inherited |
Give the morphed image (const version).
|
inherited |
|
inherited |
Return the value space of the image.
|
protectedinherited |
INTERNAL_API Internal data, sharable by several images.
Definition at line 176 of file core/internal/image_base.hh.
|
inherited |
|
inherited |
Definition at line 78 of file core/concept/image.hh.
|
inherited |
Delegatee associated type.
Definition at line 60 of file image_morpher.hh.
|
inherited |
Site_Set associated type.
Definition at line 109 of file core/internal/image_base.hh.
|
inherited |
|
inherited |
Site_Iterator associated type; default definition is fwd_piter.
Definition at line 127 of file core/internal/image_base.hh.
typedef point2d_h mln::image2d_h< V >::psite |
Point site type.
Definition at line 57 of file image2d_h.hh.
|
inherited |
Site associated type.
Definition at line 115 of file core/internal/image_base.hh.
|
inherited |
Eligible-value-set associated type.
Definition at line 95 of file core/internal/image_base.hh.
|
inherited |
Value space associated type.
Definition at line 102 of file core/internal/image_base.hh.
|
inherited |
Unmorph image associated type.
Definition at line 72 of file image_morpher.hh.