Image values are computed on the fly. More...
#include <lazy_image.hh>
Inherits image_identity< mln::trait::ch_value< I, F::result >::ret, I::domain_t, lazy_image< I, F, B > >.
Public Types | |
| typedef F::result | lvalue | 
| Return type of read-write access.   | |
| typedef F::result | rvalue | 
| Return type of read access.   | |
| typedef lazy_image < tag::image_< I >, F, B >  | skeleton | 
| Skeleton.   | |
Public Member Functions | |
| const box< typename I::psite > & | domain () const | 
| Return domain of lazyd_image.   | |
| bool | has (const typename I::psite &) const | 
Test if a pixel value is accessible at p.   | |
| lazy_image (const F &fun, const B &box) | |
| Constructors.   | |
| lazy_image () | |
| Constructors.   | |
| F::result | operator() (const typename F::input &x) const | 
Read-only access of pixel value at F::input x.   | |
| lvalue | operator() (const typename I::psite &p) | 
Read and "write if possible" access of pixel value at point site p.   | |
| F::result | operator() (const typename F::input &x) | 
Read and "write if possible" access of pixel value at F::input x.   | |
| rvalue | operator() (const typename I::psite &p) const | 
Read-only access of pixel value at point site p.   | |
Image values are computed on the fly.
The parameter I is the type of image. The parameter F is the type of function. The parameter B is the type of box.
This image class tage a functor fun and a box box. Access to ima(p) where p include box return fun(b) lazily. 
Definition at line 92 of file lazy_image.hh.
| typedef F ::result mln::lazy_image< I, F, B >::lvalue | 
Return type of read-write access.
Definition at line 104 of file lazy_image.hh.
| typedef F ::result mln::lazy_image< I, F, B >::rvalue | 
Return type of read access.
Definition at line 101 of file lazy_image.hh.
| typedef lazy_image< tag::image_<I>, F, B > mln::lazy_image< I, F, B >::skeleton | 
Skeleton.
Definition at line 107 of file lazy_image.hh.
| mln::lazy_image< I, F, B >::lazy_image | ( | ) | 
Constructors.
| mln::lazy_image< I, F, B >::lazy_image | ( | const F & | fun, | |
| const B & | box | |||
| ) |  [inline] | 
        
Constructors.
Definition at line 161 of file lazy_image.hh.
| const box< typename I::psite > & mln::lazy_image< I, F, B >::domain | ( | ) |  const [inline] | 
        
Return domain of lazyd_image.
Definition at line 226 of file lazy_image.hh.
| bool mln::lazy_image< I, F, B >::has | ( | const typename I::psite & | p | ) |  const [inline] | 
        
Test if a pixel value is accessible at p. 
Definition at line 175 of file lazy_image.hh.
| lazy_image< I, F, B >::rvalue mln::lazy_image< I, F, B >::operator() | ( | const typename I::psite & | p | ) |  const [inline] | 
        
Read-only access of pixel value at point site p. 
Definition at line 210 of file lazy_image.hh.
| F::result mln::lazy_image< I, F, B >::operator() | ( | const typename F::input & | x | ) |  [inline] | 
        
Read and "write if possible" access of pixel value at F::input x. 
Definition at line 197 of file lazy_image.hh.
| F::result mln::lazy_image< I, F, B >::operator() | ( | const typename F::input & | x | ) |  const [inline] | 
        
Read-only access of pixel value at F::input x. 
Definition at line 183 of file lazy_image.hh.
| lazy_image< I, F, B >::lvalue mln::lazy_image< I, F, B >::operator() | ( | const typename I::psite & | p | ) |  [inline] | 
        
Read and "write if possible" access of pixel value at point site p. 
Definition at line 218 of file lazy_image.hh.
 1.7.1