mln::tr_image< S, I, T > Struct Template Reference
[Identity morphers]

Transform an image by a given transformation. More...

#include <tr_image.hh>

Inherits image_identity< I, I::domain_t, tr_image< S, I, T > >.

List of all members.

Public Types

typedef I::value lvalue
 Return type of read-write access.
typedef I::psite psite
 Point_Site associated type.
typedef I::value rvalue
 Return type of read-only access.
typedef I::site site
 Site associated type.
typedef tr_image< S,
tag::image_< I >, T > 
skeleton
 Skeleton.
typedef I::value value
 Value associated type.

Public Member Functions

const S & domain () const
 Return the domain morpher.
bool has (const vec_t &v) const
 Test if a pixel value is accessible at v.
bool is_valid () const
 Test if this image has been initialized.
I::value operator() (const psite &p) const
 Read-only access of pixel value at point site p.
void set_tr (T &tr)
 Set the transformation.
const T & tr () const
 Return the underlying transformation.
 tr_image (const S &s, const I &ima, const T &tr)
 Constructors.


Detailed Description

template<typename S, typename I, typename T>
struct mln::tr_image< S, I, T >

Transform an image by a given transformation.

Member Typedef Documentation

template<typename S, typename I, typename T>
typedef I ::value mln::tr_image< S, I, T >::lvalue

Return type of read-write access.

template<typename S, typename I, typename T>
typedef I ::psite mln::tr_image< S, I, T >::psite

Point_Site associated type.

template<typename S, typename I, typename T>
typedef I ::value mln::tr_image< S, I, T >::rvalue

Return type of read-only access.

template<typename S, typename I, typename T>
typedef I ::site mln::tr_image< S, I, T >::site

Site associated type.

template<typename S, typename I, typename T>
typedef tr_image< S, tag::image_<I>, T> mln::tr_image< S, I, T >::skeleton

Skeleton.

template<typename S, typename I, typename T>
typedef I ::value mln::tr_image< S, I, T >::value

Value associated type.


Constructor & Destructor Documentation

template<typename S , typename I , typename T >
mln::tr_image< S, I, T >::tr_image ( const S &  s,
const I &  ima,
const T &  tr 
) [inline]

Constructors.


Member Function Documentation

template<typename S , typename I , typename T >
const S & mln::tr_image< S, I, T >::domain (  )  const [inline]

Return the domain morpher.

template<typename S , typename I , typename T >
bool mln::tr_image< S, I, T >::has ( const vec_t &  v  )  const [inline]

Test if a pixel value is accessible at v.

template<typename S , typename I , typename T >
bool mln::tr_image< S, I, T >::is_valid (  )  const [inline]

Test if this image has been initialized.

template<typename S , typename I , typename T >
I::value mln::tr_image< S, I, T >::operator() ( const psite p  )  const [inline]

Read-only access of pixel value at point site p.

Mutable access is only OK for reading (not writing).

template<typename S , typename I , typename T >
void mln::tr_image< S, I, T >::set_tr ( T &  tr  )  [inline]

Set the transformation.

template<typename S , typename I , typename T >
const T & mln::tr_image< S, I, T >::tr (  )  const [inline]

Return the underlying transformation.


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