ukoethe/vigra — Issue #89: Generalize StridedScanOrderIterator
Author: ukoethe
Created: 2011-10-13 12:33:57+00:00
State: open

We need three additional functionalities:

* Iterate over several arrays synchronously. This is cheaper than using several individual iterators because computing the next coordinate and scan order index is done only once. This is also a good starting point for the GridGraph node iterator, because we can encapsulate several property maps (e.g. node weights, edge weights, node labels) in a uniform interface.
* Iterate over the image coordinates, similar to Matlab's mesh grid. This is a special case of the previous functionality with no array at all -- the current coordinate is still updated in the iterator.
* Add a predicate such that all points are skipped where the predicate is false. The predicate can both refer to a data array in the iterator (e.g. thrsholding) or to a dedicated mask array.