[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
Standard 2D random access iterator for images that store the data in a linear array. More...
#include <vigra/imageiterator.hxx>
Public Types | |
typedef Base::difference_type | difference_type |
typedef Base::pointer | pointer |
Public Member Functions | |
ImageIterator (pointer base, int ystride) | |
ImageIterator () |
Standard 2D random access iterator for images that store the data in a linear array.
Most functions and local types are inherited from ImageIteratorBase.
See the paper: U. Koethe: Reusable Algorithms in Image Processing for a discussion of the concepts behind ImageIterators.
#include <vigra/imageiterator.hxx>
Namespace: vigra
typedef Base::pointer pointer |
the iterator's pointer type (return type of iter.operator->()
)
Reimplemented from ImageIteratorBase< ImageIterator< PIXELTYPE >, PIXELTYPE, PIXELTYPE &, PIXELTYPE * >.
typedef Base::difference_type difference_type |
the iterator's difference type (argument type of iter[diff]
)
Reimplemented from ImageIteratorBase< ImageIterator< PIXELTYPE >, PIXELTYPE, PIXELTYPE &, PIXELTYPE * >.
ImageIterator | ( | pointer | base, |
int | ystride | ||
) |
Construct from raw memory with a vertical stride of ystride
. ystride
must equal the physical image width (row length), even if the iterator will only be used for a sub image. If the raw memory is encapsulated in an image object this object should have a factory function that constructs the iterator.
ImageIterator | ( | ) |
Default constructor
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|