mln::extension_ima< I, J > Class Template Reference
[Domain morphers]

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 > >.

List of all members.

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;.


Detailed Description

template<typename I, typename J>
class mln::extension_ima< I, J >

Extends the domain of an image with an image.

Member Typedef Documentation

template<typename I, typename J>
typedef I ::value mln::extension_ima< I, J >::rvalue

Return type of read-only access.

template<typename I, typename J>
typedef extension_ima< tag::image_<I>, tag::ext_<J> > mln::extension_ima< I, J >::skeleton

Skeleton.

template<typename I, typename J>
typedef I ::value mln::extension_ima< I, J >::value

Image value type.


Constructor & Destructor Documentation

template<typename I , typename J >
mln::extension_ima< I, J >::extension_ima (  )  [inline]

Constructor without argument.

template<typename I , typename J >
mln::extension_ima< I, J >::extension_ima ( I &  ima,
const J &  ext 
) [inline]

Constructor from an image ima and a function ext.


Member Function Documentation

template<typename I , typename J >
const J & mln::extension_ima< I, J >::extension (  )  const [inline]

Read-only access to the extension domain (image).

template<typename I , typename J >
template<typename P >
bool mln::extension_ima< I, J >::has ( const P &  p  )  const [inline]

Test if p is valid.

template<typename I , typename J >
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.

template<typename I , typename J >
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;.


Generated on Tue Jul 14 16:32:18 2009 for Milena (Olena) by  doxygen 1.5.9