|
MIRA
|
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 * | pointer |
| typedef T & | reference |
| typedef T | value_type |
| typedef int | difference_type |
| typedef std::bidirectional_iterator_tag | iterator_category |
Public Member Functions | |
| ImgIterator () | |
| ImgIterator (cv::Mat_< T > *m) | |
| T & | operator* () |
| Dereferences to the Pixel. More... | |
| T * | operator-> () |
| Dereferences to the Pixel. More... | |
| 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) |
Image iterator that allows to iterate over images or image regions pixel by pixel similar to iterators of containers.
| typedef T* pointer |
| typedef T& reference |
|
inherited |
|
inherited |
|
inherited |
|
inline |
|
inline |
|
inline |
Dereferences to the Pixel.
|
inline |
Dereferences to the Pixel.
|
inlineinherited |
Dereferences to the Pixel.
|
inlineinherited |
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 |
1.8.14