$extrastylesheet
#include <mln/core/image/imorph/tr_image.hh>
Public Member Functions | |
tr_image (const S &s, const I &ima, const T &tr) | |
tr_image () | |
mln::metal::const_< I >::ret * | delegatee_ () const |
I * | delegatee_ () |
void | destroy () |
const S & | domain () const |
bool | has (const psite &p) const |
bool | has (const vec_t &v) const |
bool | has (const typename I::psite &p) const |
void | init_ (const S &s, const I &ima, const T &tr) |
bool | is_valid () const |
std::size_t | nsites () const |
I::value | operator() (const psite &p) const |
I::value | operator() (const psite &p) |
rvalue | operator() (const typename S::psite &p) const |
lvalue | operator() (const typename S::psite &p) |
tr_image< S, I, T > & | rw () |
void | set_tr (T &tr) |
const T & | tr () const |
I & | unmorph_ () |
mln::metal::const_< I >::ret & | unmorph_ () const |
const t_eligible_values_set & | values_eligible () const |
const t_values_space & | values_space () const |
Protected Attributes | |
mln::util::tracked_ptr < internal::data< tr_image< S, I, T > > > | data_ |
Public Types | |
enum | { dim_ = site::dim } |
typedef S::bkd_piter | bkd_piter |
typedef Image< void > | category |
typedef I | delegatee |
typedef S | domain_t |
typedef tr_image< S, I, T > | exact_t |
typedef S::fwd_piter | fwd_piter |
typedef I::value | lvalue |
typedef fwd_piter | piter |
typedef I::psite | psite |
typedef I::value | rvalue |
typedef I::site | site |
typedef tr_image< S, tag::image_< I >, T > | skeleton |
typedef mln::internal::image_identity < I, S, tr_image< S, I, T > > | super_ |
typedef mln::value::set< I::value > | t_eligible_values_set |
typedef mln::value::set < typename mln::value::super_value < I::value >::ret > | t_values_space |
typedef I | unmorph |
typedef I::value | value |
typedef mln::algebra::vec < dim_, float > | vec_t |
Transform an image by a given transformation.
Definition at line 86 of file tr_image.hh.
mln::tr_image< S, I, T >::tr_image | ( | const S & | s, |
const I & | ima, | ||
const T & | tr | ||
) |
Constructors.
mln::tr_image< S, I, T >::tr_image | ( | ) |
|
inherited |
INTERNAL_API Return the delegatee_ pointer; default code.
|
inherited |
Return the delegatee_ pointer (non-const version); default code.
|
inherited |
Detach data from an image (free it if nobody else hold it).
const S& mln::tr_image< S, I, T >::domain | ( | ) | const |
Return the domain morpher.
Reimplemented from mln::internal::image_identity< I, S, tr_image< S, I, T > >.
|
inherited |
Test if p
belongs to the image domain.
bool mln::tr_image< S, I, T >::has | ( | const vec_t & | v | ) | const |
Test if a pixel value is accessible at v
.
|
inherited |
void mln::tr_image< S, I, T >::init_ | ( | const S & | s, |
const I & | ima, | ||
const T & | tr | ||
) |
INTERNAL_API Initialize an empty image.
bool mln::tr_image< S, I, T >::is_valid | ( | ) | const |
Test if this image has been initialized.
Reimplemented from mln::internal::image_morpher< I, I::value, S, tr_image< S, I, T > >.
|
inherited |
Give the number of sites of the image domain.
I ::value mln::tr_image< S, I, T >::operator() | ( | const psite & | p | ) | const |
Read-only access of pixel value at point site p
.
Mutable access is only OK for reading (not writing).
I ::value mln::tr_image< S, I, T >::operator() | ( | const psite & | p | ) |
|
inherited |
Read-only access of pixel value at point site p
.
|
inherited |
Read-write access of pixel value at point site p
.
|
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.
void mln::tr_image< S, I, T >::set_tr | ( | T & | tr | ) |
Set the transformation.
const T& mln::tr_image< S, I, T >::tr | ( | ) | const |
Return the underlying transformation.
|
inherited |
INTERNAL_API Give the morphed image (mutable version).
|
inherited |
Give the morphed image (const version).
|
inherited |
|
inherited |
Return the value space of the image.
|
protectedinherited |
INTERNAL_API Internal data, sharable by several images.
Definition at line 176 of file core/internal/image_base.hh.
|
inherited |
Backward Site_Iterator associated type.
Definition at line 122 of file core/internal/image_base.hh.
|
inherited |
Definition at line 78 of file core/concept/image.hh.
|
inherited |
Delegatee associated type.
Definition at line 60 of file image_morpher.hh.
|
inherited |
Site_Set associated type.
Definition at line 109 of file core/internal/image_base.hh.
|
inherited |
Forward Site_Iterator associated type.
Definition at line 119 of file core/internal/image_base.hh.
typedef I ::value mln::tr_image< S, I, T >::lvalue |
Return type of read-write access.
Definition at line 104 of file tr_image.hh.
|
inherited |
Site_Iterator associated type; default definition is fwd_piter.
Definition at line 127 of file core/internal/image_base.hh.
typedef I ::psite mln::tr_image< S, I, T >::psite |
Point_Site associated type.
Definition at line 95 of file tr_image.hh.
typedef I ::value mln::tr_image< S, I, T >::rvalue |
Return type of read-only access.
Definition at line 107 of file tr_image.hh.
typedef I ::site mln::tr_image< S, I, T >::site |
Site associated type.
Definition at line 98 of file tr_image.hh.
typedef tr_image< S, tag::image_<I>, T> mln::tr_image< S, I, T >::skeleton |
Skeleton.
Definition at line 110 of file tr_image.hh.
typedef mln::internal::image_identity< I, S, tr_image<S,I,T> > mln::tr_image< S, I, T >::super_ |
Super type.
Definition at line 92 of file tr_image.hh.
|
inherited |
Eligible-value-set associated type.
Definition at line 95 of file core/internal/image_base.hh.
|
inherited |
Value space associated type.
Definition at line 102 of file core/internal/image_base.hh.
|
inherited |
Unmorph image associated type.
Definition at line 72 of file image_morpher.hh.
typedef I ::value mln::tr_image< S, I, T >::value |
Value associated type.
Definition at line 101 of file tr_image.hh.
typedef mln::algebra::vec<dim_, float> mln::tr_image< S, I, T >::vec_t |
Definition at line 135 of file tr_image.hh.
anonymous enum |
Definition at line 134 of file tr_image.hh.