#include <stack.hh>
Inherits image_value_morpher< I, algebra::vec< n, I::value >, stack_image< n, I > >.
Public Types | |
typedef I::domain_t | domain_t |
Site_Set associated type. | |
typedef internal::helper_stack_image_lvalue_ < n, I >::ret | lvalue |
Return type of read-write access. | |
typedef I::psite | psite |
Point_Site associated type. | |
typedef value | rvalue |
Return type of read-only access. | |
typedef stack_image< n, tag::image_< I > > | skeleton |
Skeleton. | |
typedef algebra::vec< n, typename I::value > | value |
Value associated type. | |
Public Member Functions | |
bool | is_valid () const |
Test if this image has been initialized. | |
lvalue | operator() (const psite &) |
Read-write access of pixel value at point site p . | |
rvalue | operator() (const psite &p) const |
Read-only access of pixel value at point site p . | |
stack_image (const algebra::vec< n, I > &imas) | |
Constructors. |
mln::value::stack_image stores a vector of n images of the same domain.
The parameter n
is the number of images, I
is the type of a stack element. Acces a value will compute a vector which contains n coordinates : [stack[0](p), stack[1](p), ... , stack[n](p)]
typedef I ::domain_t mln::value::stack_image< n, I >::domain_t |
Site_Set associated type.
typedef internal::helper_stack_image_lvalue_<n,I>::ret mln::value::stack_image< n, I >::lvalue |
Return type of read-write access.
typedef I ::psite mln::value::stack_image< n, I >::psite |
Point_Site associated type.
typedef value mln::value::stack_image< n, I >::rvalue |
typedef stack_image< n, tag::image_<I> > mln::value::stack_image< n, I >::skeleton |
Skeleton.
typedef algebra::vec<n, typename I ::value> mln::value::stack_image< n, I >::value |
Value associated type.
mln::value::stack_image< n, I >::stack_image | ( | const algebra::vec< n, I > & | imas | ) | [inline] |
Constructors.
bool mln::value::stack_image< n, I >::is_valid | ( | ) | const [inline] |
Test if this image has been initialized.
stack_image< n, I >::lvalue mln::value::stack_image< n, I >::operator() | ( | const psite & | p | ) | [inline] |
stack_image< n, I >::rvalue mln::value::stack_image< n, I >::operator() | ( | const psite & | p | ) | const [inline] |