#include <violent_cast_image.hh>
Inherits mln::internal::image_value_morpher< I, T, mln::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) |
Mutable access is only OK for reading (not writing). | |
T | operator() (const typename I::psite &p) const |
Read-only access of pixel value at point site p . | |
violent_cast_image (const Image< I > &ima) | |
Constructor. |
typedef T mln::violent_cast_image< T, I >::lvalue |
Return type of read-write access.
typedef T mln::violent_cast_image< T, I >::rvalue |
Return type of read-only access.
typedef violent_cast_image< tag::value_<T>, tag::image_<I> > mln::violent_cast_image< T, I >::skeleton |
Skeleton.
typedef T mln::violent_cast_image< T, I >::value |
Value associated type.
mln::violent_cast_image< T, I >::violent_cast_image | ( | const Image< I > & | ima | ) | [inline] |
Constructor.
T mln::violent_cast_image< T, I >::operator() | ( | const typename I::psite & | p | ) | [inline] |
Mutable access is only OK for reading (not writing).
T mln::violent_cast_image< T, I >::operator() | ( | const typename I::psite & | p | ) | const [inline] |