Hugintrunk
0.1
|
merge a vector and a scalar image into a vector image. More...
#include <FunctorAccessor.h>
Public Types | |
typedef Acc1::value_type | image1_type |
the vector's value_type More... | |
typedef Acc2::value_type | image2_type |
typedef image1_type::value_type | component_type |
typedef vigra::TinyVector < component_type, SIZE > | value_type |
Public Member Functions | |
MergeVectorScalar2VectorAccessor (Iter1 i1, Acc1 a1, Iter2 i2, Acc2 a2) | |
Construct from two image iterators and associated accessors. More... | |
template<class DIFFERENCE_ > | |
value_type | operator() (DIFFERENCE_ const &d) const |
read the current data item More... | |
template<class ITERATOR > | |
component_type | getComponent (ITERATOR const &i, int idx) const |
read one component More... | |
template<class ITERATOR , class DIFFERENCE_ > | |
component_type const | getComponent (ITERATOR i, DIFFERENCE_ const &d, int idx) const |
read one component, with offset 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_ |
merge a vector and a scalar image into a vector image.
This virtually "appends" the scalar image plane to the vector image.
the inverse to SplitVectorNAccessor.
Definition at line 322 of file FunctorAccessor.h.
typedef image1_type::value_type vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::component_type |
Definition at line 330 of file FunctorAccessor.h.
typedef Acc1::value_type vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::image1_type |
the vector's value_type
Definition at line 327 of file FunctorAccessor.h.
typedef Acc2::value_type vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::image2_type |
Definition at line 328 of file FunctorAccessor.h.
typedef vigra::TinyVector<component_type, SIZE> vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::value_type |
Definition at line 332 of file FunctorAccessor.h.
|
inline |
Construct from two image iterators and associated accessors.
Definition at line 336 of file FunctorAccessor.h.
|
inline |
read one component
Definition at line 360 of file FunctorAccessor.h.
References vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::a1_, vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::a2_, vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::i1_, and vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::i2_.
|
inline |
read one component, with offset
Definition at line 377 of file FunctorAccessor.h.
References vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::a1_, vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::a2_, vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::i1_, and vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::i2_.
|
inline |
read the current data item
Definition at line 343 of file FunctorAccessor.h.
References vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::a1_, vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::a2_, vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::i1_, and vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::i2_.
|
inline |
return the size (Number of Bands)
Definition at line 396 of file FunctorAccessor.h.
Acc1 vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::a1_ |
Definition at line 402 of file FunctorAccessor.h.
Referenced by vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::getComponent(), and vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::operator()().
Acc2 vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::a2_ |
Definition at line 404 of file FunctorAccessor.h.
Referenced by vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::getComponent(), and vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::operator()().
Iter1 vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::i1_ |
Definition at line 401 of file FunctorAccessor.h.
Referenced by vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::getComponent(), and vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::operator()().
Iter2 vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::i2_ |
Definition at line 403 of file FunctorAccessor.h.
Referenced by vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::getComponent(), and vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::operator()().