OpenCV
3.4.18
Open Source Computer Vision
|
#include <opencv2/core/mat.hpp>
Public Types | |
typedef ptrdiff_t | difference_type |
typedef std::random_access_iterator_tag | iterator_category |
typedef const uchar ** | pointer |
typedef uchar * | reference |
typedef uchar * | value_type |
Public Member Functions | |
MatConstIterator () | |
default constructor More... | |
MatConstIterator (const Mat *_m) | |
constructor that sets the iterator to the beginning of the matrix More... | |
MatConstIterator (const Mat *_m, int _row, int _col=0) | |
constructor that sets the iterator to the specified element of the matrix More... | |
MatConstIterator (const Mat *_m, Point _pt) | |
constructor that sets the iterator to the specified element of the matrix More... | |
MatConstIterator (const Mat *_m, const int *_idx) | |
constructor that sets the iterator to the specified element of the matrix More... | |
MatConstIterator (const MatConstIterator &it) | |
copy constructor More... | |
ptrdiff_t | lpos () const |
const uchar * | operator* () const |
returns the current matrix element More... | |
MatConstIterator & | operator++ () |
increments the iterator More... | |
MatConstIterator | operator++ (int) |
increments the iterator More... | |
MatConstIterator & | operator+= (ptrdiff_t ofs) |
shifts the iterator forward by the specified number of elements More... | |
MatConstIterator & | operator-- () |
decrements the iterator More... | |
MatConstIterator | operator-- (int) |
decrements the iterator More... | |
MatConstIterator & | operator-= (ptrdiff_t ofs) |
shifts the iterator backward by the specified number of elements More... | |
MatConstIterator & | operator= (const MatConstIterator &it) |
copy operator More... | |
const uchar * | operator[] (ptrdiff_t i) const |
returns the i-th matrix element, relative to the current More... | |
Point | pos () const |
returns the current iterator position More... | |
void | pos (int *_idx) const |
returns the current iterator position More... | |
void | seek (ptrdiff_t ofs, bool relative=false) |
void | seek (const int *_idx, bool relative=false) |
Public Attributes | |
size_t | elemSize |
const Mat * | m |
const uchar * | ptr |
const uchar * | sliceEnd |
const uchar * | sliceStart |
typedef ptrdiff_t cv::MatConstIterator::difference_type |
typedef std::random_access_iterator_tag cv::MatConstIterator::iterator_category |
typedef const uchar** cv::MatConstIterator::pointer |
typedef uchar* cv::MatConstIterator::reference |
typedef uchar* cv::MatConstIterator::value_type |
cv::MatConstIterator::MatConstIterator | ( | ) |
default constructor
cv::MatConstIterator::MatConstIterator | ( | const Mat * | _m | ) |
constructor that sets the iterator to the beginning of the matrix
cv::MatConstIterator::MatConstIterator | ( | const Mat * | _m, |
int | _row, | ||
int | _col = 0 |
||
) |
constructor that sets the iterator to the specified element of the matrix
constructor that sets the iterator to the specified element of the matrix
cv::MatConstIterator::MatConstIterator | ( | const Mat * | _m, |
const int * | _idx | ||
) |
constructor that sets the iterator to the specified element of the matrix
cv::MatConstIterator::MatConstIterator | ( | const MatConstIterator & | it | ) |
copy constructor
ptrdiff_t cv::MatConstIterator::lpos | ( | ) | const |
const uchar* cv::MatConstIterator::operator* | ( | ) | const |
returns the current matrix element
MatConstIterator& cv::MatConstIterator::operator++ | ( | ) |
increments the iterator
MatConstIterator cv::MatConstIterator::operator++ | ( | int | ) |
increments the iterator
MatConstIterator& cv::MatConstIterator::operator+= | ( | ptrdiff_t | ofs | ) |
shifts the iterator forward by the specified number of elements
MatConstIterator& cv::MatConstIterator::operator-- | ( | ) |
decrements the iterator
MatConstIterator cv::MatConstIterator::operator-- | ( | int | ) |
decrements the iterator
MatConstIterator& cv::MatConstIterator::operator-= | ( | ptrdiff_t | ofs | ) |
shifts the iterator backward by the specified number of elements
MatConstIterator& cv::MatConstIterator::operator= | ( | const MatConstIterator & | it | ) |
copy operator
const uchar* cv::MatConstIterator::operator[] | ( | ptrdiff_t | i | ) | const |
returns the i-th matrix element, relative to the current
Point cv::MatConstIterator::pos | ( | ) | const |
returns the current iterator position
void cv::MatConstIterator::pos | ( | int * | _idx | ) | const |
returns the current iterator position
void cv::MatConstIterator::seek | ( | ptrdiff_t | ofs, |
bool | relative = false |
||
) |
void cv::MatConstIterator::seek | ( | const int * | _idx, |
bool | relative = false |
||
) |
size_t cv::MatConstIterator::elemSize |
const Mat* cv::MatConstIterator::m |
const uchar* cv::MatConstIterator::ptr |
const uchar* cv::MatConstIterator::sliceEnd |
const uchar* cv::MatConstIterator::sliceStart |