Stack image class. More...
#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. | |
Stack image class.
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)]
Definition at line 145 of file stack.hh.
| typedef I ::domain_t mln::value::stack_image< n, I >::domain_t |
| typedef internal::helper_stack_image_lvalue_<n,I>::ret mln::value::stack_image< n, I >::lvalue |
| 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 |
| typedef algebra::vec<n, typename I ::value> mln::value::stack_image< n, I >::value |
| mln::value::stack_image< n, I >::stack_image | ( | const algebra::vec< n, I > & | imas | ) | [inline] |
| bool mln::value::stack_image< n, I >::is_valid | ( | ) | const [inline] |
| 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] |
1.7.1