mln::tr_image< S, I, T > Struct Template Reference
[Identity morphers]
Transform an image by a given transformation.
More...
#include <tr_image.hh>
Inherits mln::internal::image_identity< I, S, mln::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.
Definition at line 83 of file tr_image.hh.
Member Typedef Documentation
template<typename S, typename I, typename T>
Return type of read-write access.
Definition at line 101 of file tr_image.hh.
template<typename S, typename I, typename T>
template<typename S, typename I, typename T>
Return type of read-only access.
Definition at line 104 of file tr_image.hh.
template<typename S, typename I, typename T>
template<typename S, typename I, typename T>
template<typename S, typename I, typename T>
Constructor & Destructor Documentation
template<typename S, typename I, typename T>
Member Function Documentation
template<typename S, typename I, typename T>
Return the domain morpher.
Definition at line 247 of file tr_image.hh.
template<typename S, typename I, typename T>
bool mln::tr_image< S, I, T >::has |
( |
const vec_t & |
v |
) |
const [inline] |
template<typename S, typename I, typename T>
Test if this image has been initialized.
Definition at line 191 of file tr_image.hh.
template<typename S, typename I, typename T>
Read-only access of pixel value at point site p
.
Mutable access is only OK for reading (not writing).
Definition at line 213 of file tr_image.hh.
template<typename S, typename I, typename T>
template<typename S, typename I, typename T>
Return the underlying transformation.
Definition at line 239 of file tr_image.hh.