mln::fun_image< F, I > Struct Template Reference
[Values morphers]
Image read through a function.
More...
#include <fun_image.hh>
Inherits mln::internal::image_value_morpher< I, F::result, mln::fun_image< F, I > >.
List of all members.
|
Public Types |
typedef F::result | lvalue |
| Return type of read-write access.
|
typedef F::result | rvalue |
| Return type of read-only access.
|
typedef fun_image< tag::value_
< typename F::result >
, tag::image_< I > > | skeleton |
| Skeleton.
|
typedef F::result | value |
| Value associated type.
|
Public Member Functions |
| fun_image (const Image< I > &ima) |
| Constructor.
|
| fun_image (const Function_v2v< F > &f, const Image< I > &ima) |
| Constructor.
|
| fun_image () |
| Constructor.
|
F::result | operator() (const typename I::psite &p) |
| Mutable access is for reading only.
|
F::result | operator() (const typename I::psite &p) const |
| Read-only access of pixel value at point site p .
|
Detailed Description
template<typename F, typename I>
struct mln::fun_image< F, I >
Image read through a function.
Definition at line 101 of file fun_image.hh.
Member Typedef Documentation
template<typename F, typename I>
Return type of read-write access.
Definition at line 111 of file fun_image.hh.
template<typename F, typename I>
Return type of read-only access.
Definition at line 108 of file fun_image.hh.
template<typename F, typename I>
template<typename F, typename I>
Constructor & Destructor Documentation
template<typename F, typename I>
template<typename F, typename I>
template<typename F, typename I>
Member Function Documentation
template<typename F, typename I>
F::result mln::fun_image< F, I >::operator() |
( |
const typename I::psite & |
p |
) |
[inline] |
Mutable access is for reading only.
Definition at line 220 of file fun_image.hh.
template<typename F, typename I>
F::result mln::fun_image< F, I >::operator() |
( |
const typename I::psite & |
p |
) |
const [inline] |