2D image extracted from a slice of a 3D image. More...
#include <slice_image.hh>

Public Types | |
| typedef box2d::bkd_piter | bkd_piter |
| Backward Site_Iterator associated type. | |
| typedef Image< void > | category |
| typedef I | delegatee |
| Delegatee associated type. | |
| typedef box2d | domain_t |
| Site_Set associated type. | |
| typedef slice_image< I > | exact_t |
| typedef box2d::fwd_piter | fwd_piter |
| Forward Site_Iterator associated type. | |
| typedef internal::morpher_lvalue_< I > ::ret | lvalue |
| Return type of read-write access. | |
| typedef fwd_piter | piter |
| Site_Iterator associated type; default definition is fwd_piter. | |
| typedef box2d::psite | psite |
| Point_Site associated type. | |
| typedef I::rvalue | rvalue |
| Return type of read-only access. | |
| typedef box2d::site | site |
| Site associated type. | |
| typedef slice_image < tag::image_< I > > | skeleton |
| Skeleton. | |
| typedef mln::value::set< I::value > | t_eligible_values_set |
| Eligible-value-set associated type. | |
| typedef mln::value::set < typename mln::value::super_value < I::value >::ret > | t_values_space |
| Value space associated type. | |
| typedef I | unmorph |
| Unmorph image associated type. | |
| typedef I::value | value |
| Value associated type. | |
Public Member Functions | |
| mln::metal::const_< I >::ret * | delegatee_ () const |
| Return the delegatee_ pointer; default code. | |
| I * | delegatee_ () |
| Return the delegatee_ pointer (non-const version); default code. | |
| void | destroy () |
| Detach data from an image (free it if nobody else hold it). | |
| const box2d & | domain () const |
| Give the definition domain. | |
| bool | has (const psite &p) const |
Test if p belongs to the image domain. | |
| const util::tracked_ptr < internal::data< slice_image < I > > > & | hook_data_ () const |
| Hook to the image data. | |
| const void * | id_ () const |
| Give an identifier of this image. | |
| unsigned | index_of_point (const P &p) const |
Give the offset of the site p. | |
| void | init_ (I &ima, def::coord sli) |
| bool | is_valid () const |
| Test if this image has been initialized; default impl. | |
| std::size_t | nsites () const |
| Give the number of sites of the image domain. | |
| operator slice_image< const I > () const | |
| Const promotion via conversion. | |
| lvalue | operator() (const typename box2d::psite &p) |
Read and "write if possible" access of pixel value at point site p. | |
| rvalue | operator() (const typename box2d::psite &p) const |
Read-only access of pixel value at point site p. | |
| I::rvalue | operator() (const point2d &p) const |
Read-only access to the image value located at point p. | |
| internal::morpher_lvalue_< I >::ret | operator() (const point2d &p) |
Read-write access to the image value located at point p. | |
| slice_image< I > & | rw () |
| State that the morpher is writable. | |
| def::coord | sli () const |
| Give the slice number. | |
| slice_image () | |
| Constructor without argument. | |
| slice_image (I &ima, def::coord sli) | |
Constructor from an image ima and a predicate f. | |
| mln::metal::const_< I >::ret & | unmorph_ () const |
| Give the morphed image (const version). | |
| I & | unmorph_ () |
| Give the morphed image (mutable version). | |
| const t_eligible_values_set & | values_eligible () const |
| const t_values_space & | values_space () const |
| Return the value space of the image. | |
Protected Attributes | |
| util::tracked_ptr < internal::data< slice_image < I > > > | data_ |
2D image extracted from a slice of a 3D image.
typedef box2d ::bkd_piter mln::internal::image_base< I::value , box2d , slice_image< I > >::bkd_piter [inherited] |
Backward Site_Iterator associated type.
typedef Image<void> mln::Image< slice_image< I > >::category [inherited] |
Reimplemented from mln::Object< slice_image< I > >.
typedef I mln::internal::image_morpher< I, I::value , box2d , slice_image< I > >::delegatee [inherited] |
Delegatee associated type.
typedef box2d mln::internal::image_base< I::value , box2d , slice_image< I > >::domain_t [inherited] |
Site_Set associated type.
typedef slice_image< I > mln::Object< slice_image< I > >::exact_t [inherited] |
typedef box2d ::fwd_piter mln::internal::image_base< I::value , box2d , slice_image< I > >::fwd_piter [inherited] |
Forward Site_Iterator associated type.
typedef internal::morpher_lvalue_< I >::ret mln::internal::image_domain_morpher< I, box2d , slice_image< I > >::lvalue [inherited] |
Return type of read-write access.
typedef fwd_piter mln::internal::image_base< I::value , box2d , slice_image< I > >::piter [inherited] |
Site_Iterator associated type; default definition is fwd_piter.
typedef box2d ::psite mln::internal::image_base< I::value , box2d , slice_image< I > >::psite [inherited] |
Point_Site associated type.
typedef I ::rvalue mln::internal::image_domain_morpher< I, box2d , slice_image< I > >::rvalue [inherited] |
Return type of read-only access.
typedef box2d ::site mln::internal::image_base< I::value , box2d , slice_image< I > >::site [inherited] |
Site associated type.
| typedef slice_image< tag::image_<I> > mln::slice_image< I >::skeleton |
Skeleton.
typedef mln::value::set<I::value > mln::internal::image_base< I::value , box2d , slice_image< I > >::t_eligible_values_set [inherited] |
Eligible-value-set associated type.
typedef mln::value::set< typename mln::value::super_value<I::value >::ret > mln::internal::image_base< I::value , box2d , slice_image< I > >::t_values_space [inherited] |
Value space associated type.
typedef I mln::internal::image_morpher< I, I::value , box2d , slice_image< I > >::unmorph [inherited] |
Unmorph image associated type.
typedef I::value mln::internal::image_base< I::value , box2d , slice_image< I > >::value [inherited] |
Value associated type.
| mln::slice_image< I >::slice_image | ( | ) | [inline] |
Constructor without argument.
| mln::slice_image< I >::slice_image | ( | I & | ima, | |
| def::coord | sli | |||
| ) | [inline] |
Constructor from an image ima and a predicate f.
References mln::slice_image< I >::init_().
| mln::metal::const_< I >::ret* mln::internal::image_morpher< I, I::value , box2d , slice_image< I > >::delegatee_ | ( | ) | const [inherited] |
Return the delegatee_ pointer; default code.
| I* mln::internal::image_morpher< I, I::value , box2d , slice_image< I > >::delegatee_ | ( | ) | [inherited] |
Return the delegatee_ pointer (non-const version); default code.
| void mln::internal::image_base< I::value , box2d , slice_image< I > >::destroy | ( | ) | [inherited] |
Detach data from an image (free it if nobody else hold it).
| const box2d & mln::slice_image< I >::domain | ( | ) | const [inline] |
Give the definition domain.
References mln::internal::image_base< I::value, box2d, slice_image< I > >::data_, and mln::internal::image_morpher< I, I::value, box2d, slice_image< I > >::is_valid().
| bool mln::internal::image_base< I::value , box2d , slice_image< I > >::has | ( | const psite & | p | ) | const [inherited] |
Test if p belongs to the image domain.
| const util::tracked_ptr< internal::data<slice_image< I > > >& mln::internal::image_base< I::value , box2d , slice_image< I > >::hook_data_ | ( | ) | const [inherited] |
Hook to the image data.
| const void* mln::internal::image_base< I::value , box2d , slice_image< I > >::id_ | ( | ) | const [inherited] |
Give an identifier of this image.
When several image variables designate the same image, they share the same identifier.
| unsigned mln::internal::check::image_fastest_< slice_image< I > , mln::metal::equal< mln_trait_image_speed(slice_image< I >), trait::image::speed::fastest >::eval >::index_of_point | ( | const P & | p | ) | const [inherited] |
Give the offset of the site p.
| [in] | p | A site. |
p. | void mln::slice_image< I >::init_ | ( | I & | ima, | |
| def::coord | sli | |||
| ) | [inline] |
| bool mln::internal::image_morpher< I, I::value , box2d , slice_image< I > >::is_valid | ( | ) | const [inherited] |
Test if this image has been initialized; default impl.
Reimplemented from mln::internal::image_base< I::value, box2d, slice_image< I > >.
Referenced by mln::slice_image< I >::domain(), mln::slice_image< I >::init_(), mln::slice_image< I >::operator slice_image< const I >(), and mln::slice_image< I >::sli().
| std::size_t mln::internal::image_base< I::value , box2d , slice_image< I > >::nsites | ( | ) | const [inherited] |
Give the number of sites of the image domain.
| mln::slice_image< I >::operator slice_image< const I > | ( | ) | const [inline] |
Const promotion via conversion.
References mln::internal::image_base< I::value, box2d, slice_image< I > >::data_, and mln::internal::image_morpher< I, I::value, box2d, slice_image< I > >::is_valid().
| I::rvalue mln::slice_image< I >::operator() | ( | const point2d & | p | ) | const [inline] |
Read-only access to the image value located at point p.
| lvalue mln::internal::image_domain_morpher< I, box2d , slice_image< I > >::operator() | ( | const typename box2d ::psite & | p | ) | [inherited] |
Read and "write if possible" access of pixel value at point site p.
| internal::morpher_lvalue_< I >::ret mln::slice_image< I >::operator() | ( | const point2d & | p | ) | [inline] |
Read-write access to the image value located at point p.
| rvalue mln::internal::image_domain_morpher< I, box2d , slice_image< I > >::operator() | ( | const typename box2d ::psite & | p | ) | const [inherited] |
Read-only access of pixel value at point site p.
| slice_image< I > & mln::internal::image_morpher< I, I::value , box2d , slice_image< I > >::rw | ( | ) | [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 [inline] |
Give the slice number.
References mln::internal::image_base< I::value, box2d, slice_image< I > >::data_, and mln::internal::image_morpher< I, I::value, box2d, slice_image< I > >::is_valid().
| I& mln::internal::image_morpher< I, I::value , box2d , slice_image< I > >::unmorph_ | ( | ) | [inherited] |
Give the morphed image (mutable version).
| mln::metal::const_< I >::ret& mln::internal::image_morpher< I, I::value , box2d , slice_image< I > >::unmorph_ | ( | ) | const [inherited] |
Give the morphed image (const version).
| const t_eligible_values_set& mln::internal::image_base< I::value , box2d , slice_image< I > >::values_eligible | ( | ) | const [inherited] |
| const t_values_space& mln::internal::image_base< I::value , box2d , slice_image< I > >::values_space | ( | ) | const [inherited] |
Return the value space of the image.
util::tracked_ptr< internal::data<slice_image< I > > > mln::internal::image_base< I::value , box2d , slice_image< I > >::data_ [protected, inherited] |
1.7.1