MIRA
|
Const image iterator that allows to iterate over images or image regions pixel by pixel similar to iterators of containers. More...
#include <image/ImgIterator.h>
Public Types | |
typedef T | value_type |
typedef int | difference_type |
typedef const T * | pointer |
typedef const T & | reference |
typedef std::bidirectional_iterator_tag | iterator_category |
Public Member Functions | |
ImgConstIterator () | |
ImgConstIterator (const cv::Mat_< T > *m) | |
const T & | operator* () const |
Dereferences to the Pixel. More... | |
const T * | operator-> () const |
Dereferences to the Pixel. More... | |
ImgIteratorBase & | operator+= (ptrdiff_t ofs) |
shifts the iterator forward by the specified number of elements More... | |
ImgIteratorBase & | operator-= (ptrdiff_t ofs) |
shifts the iterator backward by the specified number of elements More... | |
ImgIteratorBase & | operator-- () |
move backward one element More... | |
ImgIteratorBase & | operator++ () |
move forward one element More... | |
Point2i | pos () const |
returns the current iterator position More... | |
ptrdiff_t | lpos () const |
void | seek (ptrdiff_t ofs, bool relative=false) |
Public Attributes | |
const cv::Mat * | m |
const uchar * | ptr |
const uchar * | sliceStart |
const uchar * | sliceEnd |
Static Protected Member Functions | |
static std::size_t | total (const cv::Mat *m) |
static std::size_t | step (const cv::Mat *m) |
Const image iterator that allows to iterate over images or image regions pixel by pixel similar to iterators of containers.
typedef T value_type |
typedef int difference_type |
typedef const T* pointer |
typedef const T& reference |
typedef std::bidirectional_iterator_tag iterator_category |
|
inline |
|
inline |
|
inline |
Dereferences to the Pixel.
|
inline |
Dereferences to the Pixel.
|
inlineinherited |
shifts the iterator forward by the specified number of elements
|
inlineinherited |
shifts the iterator backward by the specified number of elements
|
inlineinherited |
move backward one element
|
inlineinherited |
move forward one element
|
inlineinherited |
returns the current iterator position
|
inlineinherited |
|
inlineinherited |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |