[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
#include <vigra/meshgrid.hxx>
Public Types | |
| typedef TinyVector< Diff2D::MoveX, 2 > | value_type |
Public Member Functions | |
| template<class ITERATOR> | |
| value_type | operator() (ITERATOR const &i) const |
| template<class ITERATOR, class DIFFERENCE> | |
| value_type | operator() (ITERATOR const &i, DIFFERENCE const &diff) const |
Accessor for turning iteration over Diff2D into a mesh grid.
The mesh grid concept is adapted from MATLAB. It is a two banded image (i.e. with 2D vector pixel type) whose first band contains the x-coordinates of the current pixel, and whose second band contains the y-coordinates. See meshGrid() for more detailed documentation.
| typedef TinyVector<Diff2D::MoveX, 2> value_type |
the value_type of a mesh grid is a 2D vector
| value_type operator() | ( | ITERATOR const & | i | ) | const |
read the current data item
| value_type operator() | ( | ITERATOR const & | i, |
| DIFFERENCE const & | diff ) const |
read the data item at an offset (can be 1D or 2D or higher order difference).
|
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |