diplib/library/sample_iterator.h file

The dip::SampleIterator class. This file is always included through diplib.h. See Iterators.

Contents

Classes

template<typename T>
class dip::SampleIterator
An iterator to iterate over samples in a tensor, or pixels on an image line.

Aliases

template<typename T>
using dip::ConstSampleIterator = dip::SampleIterator
A const iterator to iterate over samples in a tensor, or pixels on an image line.

Operators

template<typename T, typename I, typename <SFINAE>>
auto dip::operator+(dip::SampleIterator it, I n) -> dip::SampleIterator
Add integer to a sample iterator
template<typename T, typename I, typename <SFINAE>>
auto dip::operator-(dip::SampleIterator it, I n) -> dip::SampleIterator
Subtract integer from a sample iterator