Extends the domain of an image with an image. More...
#include <extension_ima.hh>
Inherits image_identity< I, I::domain_t, extension_ima< I, J > >.
Public Types | |
typedef I::value | rvalue |
Return type of read-only access. | |
typedef extension_ima < tag::image_< I >, tag::ext_ < J > > | skeleton |
Skeleton. | |
typedef I::value | value |
Image value type. | |
Public Member Functions | |
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. | |
internal::morpher_lvalue_< I >::ret | operator() (const typename I::psite &p) |
Read-write access to the image value located at site p . | |
I::value | operator() (const typename I::psite &p) const |
Read-only access to the image value located at site p ;. |
Extends the domain of an image with an image.
Definition at line 97 of file extension_ima.hh.
typedef I ::value mln::extension_ima< I, J >::rvalue |
Return type of read-only access.
Definition at line 111 of file extension_ima.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 I ::value mln::extension_ima< I, J >::value |
Image value type.
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.
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.
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.
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.
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.