Hugintrunk
0.1
|
split a vector image into a vector and a scalar image More...
#include <FunctorAccessor.h>
Public Types | |
typedef vigra::TinyVector < typename Acc1::value_type, SIZE > | value_type |
the vector's value_type More... | |
typedef value_type::value_type | component_type |
Public Member Functions | |
SplitVectorNAccessor (Iter1 i1, Acc1 a1, Iter2 i2, Acc2 a2) | |
Construct from two image iterators and associated accessors. More... | |
template<class V , class ITERATOR > | |
void | setComponent (V const &value, ITERATOR const &i, int idx) const |
vector & scalar image More... | |
template<class ITERATOR > | |
unsigned int | size (ITERATOR const &i) const |
return the size (Number of Bands) More... | |
Public Attributes | |
Iter1 | i1_ |
Acc1 | a1_ |
Iter2 | i2_ |
Acc2 | a2_ |
split a vector image into a vector and a scalar image
like SplitVector2Accessor, but for the vector -> vector, scalar case.
the template parameter SIZE gives the length of each vector in the input image. components 0..SIZE-2, are put into the image 1 (must be a vector image), and component SIZE-1 is stored in image 2 (should be a scalar image)
Definition at line 200 of file FunctorAccessor.h.
typedef value_type::value_type vigra_ext::SplitVectorNAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::component_type |
Definition at line 206 of file FunctorAccessor.h.
typedef vigra::TinyVector<typename Acc1::value_type, SIZE> vigra_ext::SplitVectorNAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::value_type |
the vector's value_type
Definition at line 205 of file FunctorAccessor.h.
|
inline |
Construct from two image iterators and associated accessors.
Definition at line 210 of file FunctorAccessor.h.
|
inline |
vector & scalar image
Definition at line 216 of file FunctorAccessor.h.
References vigra_ext::SplitVectorNAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::a1_, vigra_ext::SplitVectorNAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::a2_, vigra_ext::SplitVectorNAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::i1_, and vigra_ext::SplitVectorNAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::i2_.
|
inline |
return the size (Number of Bands)
Definition at line 229 of file FunctorAccessor.h.
Acc1 vigra_ext::SplitVectorNAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::a1_ |
Definition at line 235 of file FunctorAccessor.h.
Referenced by vigra_ext::SplitVectorNAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::setComponent().
Acc2 vigra_ext::SplitVectorNAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::a2_ |
Definition at line 237 of file FunctorAccessor.h.
Referenced by vigra_ext::SplitVectorNAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::setComponent().
Iter1 vigra_ext::SplitVectorNAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::i1_ |
Definition at line 234 of file FunctorAccessor.h.
Referenced by vigra_ext::SplitVectorNAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::setComponent().
Iter2 vigra_ext::SplitVectorNAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::i2_ |
Definition at line 236 of file FunctorAccessor.h.
Referenced by vigra_ext::SplitVectorNAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::setComponent().