Violently cast image values to a given type. More...
#include <violent_cast_image.hh>
Inherits image_value_morpher< I, T, violent_cast_image< T, I > >.
Public Types | |
| typedef T | lvalue | 
| Return type of read-write access.   | |
| typedef T | rvalue | 
| Return type of read-only access.   | |
| typedef violent_cast_image < tag::value_< T > , tag::image_< I > >  | skeleton | 
| Skeleton.   | |
| typedef T | value | 
| Value associated type.   | |
Public Member Functions | |
| T | operator() (const typename I::psite &p) const | 
Read-only access of pixel value at point site p.   | |
| T | operator() (const typename I::psite &p) | 
| Mutable access is only OK for reading (not writing).   | |
| violent_cast_image (const Image< I > &ima) | |
| Constructor.   | |
Violently cast image values to a given type.
Definition at line 112 of file violent_cast_image.hh.
| typedef T mln::violent_cast_image< T, I >::lvalue | 
Return type of read-write access.
Definition at line 122 of file violent_cast_image.hh.
| typedef T mln::violent_cast_image< T, I >::rvalue | 
Return type of read-only access.
Definition at line 119 of file violent_cast_image.hh.
| typedef violent_cast_image< tag::value_<T>, tag::image_<I> > mln::violent_cast_image< T, I >::skeleton | 
Skeleton.
Definition at line 125 of file violent_cast_image.hh.
| typedef T mln::violent_cast_image< T, I >::value | 
Value associated type.
Definition at line 116 of file violent_cast_image.hh.
| mln::violent_cast_image< T, I >::violent_cast_image | ( | const Image< I > & | ima | ) |  [inline] | 
        
Constructor.
Definition at line 172 of file violent_cast_image.hh.
| T mln::violent_cast_image< T, I >::operator() | ( | const typename I::psite & | p | ) |  const [inline] | 
        
Read-only access of pixel value at point site p. 
Definition at line 191 of file violent_cast_image.hh.
| T mln::violent_cast_image< T, I >::operator() | ( | const typename I::psite & | p | ) |  [inline] | 
        
Mutable access is only OK for reading (not writing).
Definition at line 200 of file violent_cast_image.hh.
 1.7.1