Extends the domain of an image with an image. More...
#include <extension_ima.hh>

Public Types | |
| typedef I::domain_t::bkd_piter | bkd_piter | 
| Backward Site_Iterator associated type.   | |
| typedef Image< void > | category | 
| typedef I | delegatee | 
| Delegatee associated type.   | |
| typedef I::domain_t | domain_t | 
| Site_Set associated type.   | |
| typedef extension_ima< I, J > | exact_t | 
| typedef I::domain_t::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 I::domain_t::psite | psite | 
| Point_Site associated type.   | |
| typedef I::value | rvalue | 
| Return type of read-only access.   | |
| typedef I::domain_t::site | site | 
| Site associated type.   | |
| typedef extension_ima < tag::image_< I >, tag::ext_ < J > >  | 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 | 
| Image value 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 I::domain_t & | domain () const | 
| const J & | extension () const | 
| Read-only access to the extension domain (image).   | |
| extension_ima (I &ima, const J &ext) | |
Constructor from an image ima and a function ext.   | |
| extension_ima () | |
| Constructor without argument.   | |
| template<typename P > | |
| bool | has (const P &p) const | 
Test if p is valid.   | |
| bool | has (const typename I::psite &p) const | 
| bool | has (const psite &p) const | 
Test if p belongs to the image domain.   | |
| const util::tracked_ptr < internal::data < extension_ima< I, J > > > &  | 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, const J &ext) | 
Deferred initialization from an image ima and a function ext.   | |
| 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.   | |
| I::value | operator() (const typename I::psite &p) const | 
Read-only access to the image value located at site p;.   | |
| lvalue | operator() (const typename I::domain_t::psite &p) | 
Read-write access of pixel value at point site p.   | |
| internal::morpher_lvalue_< I >::ret | operator() (const typename I::psite &p) | 
Read-write access to the image value located at site p.   | |
| rvalue | operator() (const typename I::domain_t::psite &p) const | 
Read-only access of pixel value at point site p.   | |
| extension_ima< I, J > & | rw () | 
| State that the morpher is writable.   | |
| I & | unmorph_ () | 
| Give the morphed image (mutable version).   | |
| mln::metal::const_< I >::ret & | unmorph_ () const | 
| Give the morphed image (const 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 < extension_ima< I, J > > >  | data_ | 
Extends the domain of an image with an image.
Definition at line 97 of file extension_ima.hh.
typedef I::domain_t  ::bkd_piter mln::internal::image_base< I::value , I::domain_t , extension_ima< I, J >  >::bkd_piter [inherited] | 
        
Backward Site_Iterator associated type.
Definition at line 118 of file core/internal/image_base.hh.
typedef Image<void> mln::Image< extension_ima< I, J >  >::category [inherited] | 
        
Reimplemented from mln::Object< extension_ima< I, J > >.
Definition at line 75 of file core/concept/image.hh.
typedef I mln::internal::image_morpher< I, I::value , I::domain_t , extension_ima< I, J >  >::delegatee [inherited] | 
        
Delegatee associated type.
Definition at line 57 of file image_morpher.hh.
typedef I::domain_t  mln::internal::image_base< I::value , I::domain_t , extension_ima< I, J >  >::domain_t [inherited] | 
        
Site_Set associated type.
Definition at line 105 of file core/internal/image_base.hh.
typedef extension_ima< I, J >  mln::Object< extension_ima< I, J >  >::exact_t [inherited] | 
        
typedef I::domain_t  ::fwd_piter mln::internal::image_base< I::value , I::domain_t , extension_ima< I, J >  >::fwd_piter [inherited] | 
        
Forward Site_Iterator associated type.
Definition at line 115 of file core/internal/image_base.hh.
typedef internal::morpher_lvalue_< I >::ret mln::internal::image_identity< I, I::domain_t , extension_ima< I, J >  >::lvalue [inherited] | 
        
Return type of read-write access.
Definition at line 140 of file image_identity.hh.
typedef fwd_piter mln::internal::image_base< I::value , I::domain_t , extension_ima< I, J >  >::piter [inherited] | 
        
Site_Iterator associated type; default definition is fwd_piter.
Definition at line 123 of file core/internal/image_base.hh.
typedef I::domain_t  ::psite mln::internal::image_base< I::value , I::domain_t , extension_ima< I, J >  >::psite [inherited] | 
        
Point_Site associated type.
Definition at line 108 of file core/internal/image_base.hh.
| typedef I ::value mln::extension_ima< I, J >::rvalue | 
Return type of read-only access.
Reimplemented from mln::internal::image_identity< I, I::domain_t, extension_ima< I, J > >.
Definition at line 111 of file extension_ima.hh.
typedef I::domain_t  ::site mln::internal::image_base< I::value , I::domain_t , extension_ima< I, J >  >::site [inherited] | 
        
Site associated type.
Definition at line 111 of file core/internal/image_base.hh.
| typedef extension_ima< tag::image_<I>, tag::ext_<J> > mln::extension_ima< I, J >::skeleton | 
Skeleton.
Definition at line 105 of file extension_ima.hh.
typedef mln::value::set<I::value > mln::internal::image_base< I::value , I::domain_t , extension_ima< I, J >  >::t_eligible_values_set [inherited] | 
        
Eligible-value-set associated type.
Definition at line 91 of file core/internal/image_base.hh.
typedef mln::value::set< typename mln::value::super_value<I::value >::ret > mln::internal::image_base< I::value , I::domain_t , extension_ima< I, J >  >::t_values_space [inherited] | 
        
Value space associated type.
Definition at line 98 of file core/internal/image_base.hh.
typedef I mln::internal::image_morpher< I, I::value , I::domain_t , extension_ima< I, J >  >::unmorph [inherited] | 
        
Unmorph image associated type.
Definition at line 68 of file image_morpher.hh.
| typedef I ::value mln::extension_ima< I, J >::value | 
Image value type.
Reimplemented from mln::internal::image_identity< I, I::domain_t, extension_ima< I, J > >.
Definition at line 108 of file extension_ima.hh.
| mln::extension_ima< I, J >::extension_ima | ( | ) |  [inline] | 
        
Constructor without argument.
Definition at line 173 of file extension_ima.hh.
| mln::extension_ima< I, J >::extension_ima | ( | I & | ima, | |
| const J & | ext | |||
| ) |  [inline] | 
        
Constructor from an image ima and a function ext. 
Definition at line 179 of file extension_ima.hh.
References mln::extension_ima< I, J >::init_().
| mln::metal::const_< I >::ret* mln::internal::image_morpher< I, I::value , I::domain_t , extension_ima< I, J > >::delegatee_ | ( | ) |  const [inherited] | 
        
Return the delegatee_ pointer; default code.
| I* mln::internal::image_morpher< I, I::value , I::domain_t , extension_ima< I, J > >::delegatee_ | ( | ) |  [inherited] | 
        
Return the delegatee_ pointer (non-const version); default code.
| void mln::internal::image_base< I::value , I::domain_t , extension_ima< I, J > >::destroy | ( | ) |  [inherited] | 
        
Detach data from an image (free it if nobody else hold it).
| const I ::domain_t& mln::internal::image_identity< I, I::domain_t , extension_ima< I, J > >::domain | ( | ) |  const [inherited] | 
        
| const J & mln::extension_ima< I, J >::extension | ( | ) |  const [inline] | 
        
Read-only access to the extension domain (image).
Definition at line 244 of file extension_ima.hh.
References mln::internal::image_base< I::value, I::domain_t, extension_ima< I, J > >::data_, and mln::internal::image_morpher< I, I::value, I::domain_t, extension_ima< I, J > >::is_valid().
Referenced by mln::init_().
| bool mln::extension_ima< I, J >::has | ( | const P & | p | ) |  const [inline] | 
        
Test if p is valid. 
Definition at line 196 of file extension_ima.hh.
References mln::internal::image_base< I::value, I::domain_t, extension_ima< I, J > >::data_, and mln::internal::image_morpher< I, I::value, I::domain_t, extension_ima< I, J > >::is_valid().
| bool mln::internal::image_identity< I, I::domain_t , extension_ima< I, J > >::has | ( | const typename I::psite & | p | ) |  const [inherited] | 
        
| bool mln::internal::image_base< I::value , I::domain_t , extension_ima< I, J > >::has | ( | const psite & | p | ) |  const [inherited] | 
        
Test if p belongs to the image domain. 
| const util::tracked_ptr< internal::data<extension_ima< I, J > > >& mln::internal::image_base< I::value , I::domain_t , extension_ima< I, J > >::hook_data_ | ( | ) |  const [inherited] | 
        
Hook to the image data.
| const void* mln::internal::image_base< I::value , I::domain_t , extension_ima< I, J > >::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_< extension_ima< I, J > , mln::metal::equal< mln_trait_image_speed(extension_ima< I, J >), 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::extension_ima< I, J >::init_ | ( | I & | ima, | |
| const J & | ext | |||
| ) |  [inline] | 
        
Deferred initialization from an image ima and a function ext. 
Definition at line 187 of file extension_ima.hh.
References mln::internal::image_base< I::value, I::domain_t, extension_ima< I, J > >::data_.
Referenced by mln::extension_ima< I, J >::extension_ima(), and mln::init_().
| bool mln::internal::image_morpher< I, I::value , I::domain_t , extension_ima< I, J > >::is_valid | ( | ) |  const [inherited] | 
        
Test if this image has been initialized; default impl.
Reimplemented from mln::internal::image_base< I::value, I::domain_t, extension_ima< I, J > >.
Referenced by mln::extension_ima< I, J >::extension(), and mln::extension_ima< I, J >::has().
| std::size_t mln::internal::image_base< I::value , I::domain_t , extension_ima< I, J > >::nsites | ( | ) |  const [inherited] | 
        
Give the number of sites of the image domain.
| internal::morpher_lvalue_< I >::ret mln::extension_ima< I, J >::operator() | ( | const typename I::psite & | p | ) |  [inline] | 
        
Read-write access to the image value located at site p. 
Definition at line 223 of file extension_ima.hh.
| lvalue mln::internal::image_identity< I, I::domain_t , extension_ima< I, J > >::operator() | ( | const typename I::domain_t ::psite & | p | ) |  [inherited] | 
        
Read-write access of pixel value at point site p. 
| rvalue mln::internal::image_identity< I, I::domain_t , extension_ima< I, J > >::operator() | ( | const typename I::domain_t ::psite & | p | ) |  const [inherited] | 
        
Read-only access of pixel value at point site p. 
| I::value mln::extension_ima< I, J >::operator() | ( | const typename I::psite & | p | ) |  const [inline] | 
        
Read-only access to the image value located at site p;. 
Definition at line 208 of file extension_ima.hh.
| extension_ima< I, J > & mln::internal::image_morpher< I, I::value , I::domain_t , extension_ima< I, J > >::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.
| I& mln::internal::image_morpher< I, I::value , I::domain_t , extension_ima< I, J > >::unmorph_ | ( | ) |  [inherited] | 
        
Give the morphed image (mutable version).
| mln::metal::const_< I >::ret& mln::internal::image_morpher< I, I::value , I::domain_t , extension_ima< I, J > >::unmorph_ | ( | ) |  const [inherited] | 
        
Give the morphed image (const version).
| const t_eligible_values_set& mln::internal::image_base< I::value , I::domain_t , extension_ima< I, J > >::values_eligible | ( | ) |  const [inherited] | 
        
| const t_values_space& mln::internal::image_base< I::value , I::domain_t , extension_ima< I, J > >::values_space | ( | ) |  const [inherited] | 
        
Return the value space of the image.
util::tracked_ptr< internal::data<extension_ima< I, J > > > mln::internal::image_base< I::value , I::domain_t , extension_ima< I, J >  >::data_ [protected, inherited] | 
        
Definition at line 163 of file core/internal/image_base.hh.
Referenced by mln::extension_ima< I, J >::extension(), mln::extension_ima< I, J >::has(), and mln::extension_ima< I, J >::init_().
 1.7.1