$extrastylesheet
#include <mln/core/image/dmorph/slice_image.hh>
Public Member Functions | |
slice_image () | |
slice_image (I &ima, def::coord sli) | |
mln::metal::const_< I >::ret * | delegatee_ () const |
I * | delegatee_ () |
void | destroy () |
const box2d & | domain () const |
bool | has (const psite &p) const |
bool | is_valid () const |
std::size_t | nsites () const |
operator slice_image< const I > () const | |
rvalue | operator() (const typename box2d::psite &p) const |
lvalue | operator() (const typename box2d::psite &p) |
I::rvalue | operator() (const point2d &p) const |
internal::morpher_lvalue_< I >::ret | operator() (const point2d &p) |
template<typename V > | |
void | operator= (const image2d< V > &rhs) |
slice_image< I > & | rw () |
def::coord | sli () const |
I & | unmorph_ () |
mln::metal::const_< I >::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< slice_image < I > > > | data_ |
Public Types | |
typedef box2d::bkd_piter | bkd_piter |
typedef Image< void > | category |
typedef I | delegatee |
typedef box2d | domain_t |
typedef slice_image< I > | exact_t |
typedef box2d::fwd_piter | fwd_piter |
typedef internal::morpher_lvalue_< I > ::ret | lvalue |
typedef fwd_piter | piter |
typedef box2d::psite | psite |
typedef I::rvalue | rvalue |
typedef box2d::site | site |
typedef slice_image < tag::image_< I > > | skeleton |
typedef mln::value::set< I::value > | t_eligible_values_set |
typedef mln::value::set < typename mln::value::super_value < I::value >::ret > | t_values_space |
typedef I | unmorph |
typedef I::value | value |
2D image extracted from a slice of a 3D image.
Definition at line 99 of file slice_image.hh.
mln::slice_image< I >::slice_image | ( | ) |
Constructor without argument.
mln::slice_image< I >::slice_image | ( | I & | ima, |
def::coord | sli | ||
) |
Constructor from an image ima
and a predicate f
.
|
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).
const box2d& mln::slice_image< I >::domain | ( | ) | const |
Give the definition domain.
|
inherited |
Test if p
belongs to the image domain.
|
inherited |
Test if this image has been initialized; default impl.
Reimplemented from mln::internal::image_base< I::value, box2d, slice_image< I > >.
|
inherited |
Give the number of sites of the image domain.
mln::slice_image< I >::operator slice_image< const I > | ( | ) | const |
Const promotion via conversion.
|
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
.
I ::rvalue mln::slice_image< I >::operator() | ( | const point2d & | p | ) | const |
Read-only access to the image value located at point p
.
internal::morpher_lvalue_< I >::ret mln::slice_image< I >::operator() | ( | const point2d & | p | ) |
Read-write access to the image value located at point p
.
void mln::slice_image< I >::operator= | ( | const image2d< V > & | rhs | ) |
|
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.
def::coord mln::slice_image< I >::sli | ( | ) | const |
Give the slice number.
|
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 |
Backward Site_Iterator associated type.
Definition at line 122 of file core/internal/image_base.hh.
|
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 |
Forward Site_Iterator associated type.
Definition at line 119 of file core/internal/image_base.hh.
|
inherited |
Return type of read-write access.
Definition at line 62 of file image_domain_morpher.hh.
|
inherited |
Site_Iterator associated type; default definition is fwd_piter.
Definition at line 127 of file core/internal/image_base.hh.
|
inherited |
Point_Site associated type.
Definition at line 112 of file core/internal/image_base.hh.
|
inherited |
Return type of read-only access.
Definition at line 59 of file image_domain_morpher.hh.
|
inherited |
Site associated type.
Definition at line 115 of file core/internal/image_base.hh.
typedef slice_image< tag::image_<I> > mln::slice_image< I >::skeleton |
Skeleton.
Definition at line 104 of file slice_image.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.
|
inherited |
Value associated type.
Definition at line 92 of file core/internal/image_base.hh.