OpenCV 4.11.0-pre
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 | |
MatConstIterator (const Mat *_m) | |
constructor that sets the iterator to the beginning of the matrix | |
MatConstIterator (const Mat *_m, const int *_idx) | |
constructor that sets the iterator to the specified element of the matrix | |
MatConstIterator (const Mat *_m, int _row, int _col=0) | |
constructor that sets the iterator to the specified element of the matrix | |
MatConstIterator (const Mat *_m, Point _pt) | |
constructor that sets the iterator to the specified element of the matrix | |
MatConstIterator (const MatConstIterator &it) | |
copy constructor | |
ptrdiff_t | lpos () const |
const uchar * | operator* () const |
returns the current matrix element | |
MatConstIterator & | operator++ () |
increments the iterator | |
MatConstIterator | operator++ (int) |
increments the iterator | |
MatConstIterator & | operator+= (ptrdiff_t ofs) |
shifts the iterator forward by the specified number of elements | |
MatConstIterator & | operator-- () |
decrements the iterator | |
MatConstIterator | operator-- (int) |
decrements the iterator | |
MatConstIterator & | operator-= (ptrdiff_t ofs) |
shifts the iterator backward by the specified number of elements | |
MatConstIterator & | operator= (const MatConstIterator &it) |
copy operator | |
const uchar * | operator[] (ptrdiff_t i) const |
returns the i-th matrix element, relative to the current | |
Point | pos () const |
returns the current iterator position | |
void | pos (int *_idx) const |
returns the current iterator position | |
void | seek (const int *_idx, bool relative=false) |
void | seek (ptrdiff_t ofs, bool relative=false) |
Public Attributes | |
size_t | elemSize |
const Mat * | m |
const uchar * | ptr |
const uchar * | sliceEnd |
const uchar * | sliceStart |
ptrdiff_t cv::MatConstIterator::difference_type |
std::random_access_iterator_tag cv::MatConstIterator::iterator_category |
const uchar** cv::MatConstIterator::pointer |
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 | ( | const int * | _idx, |
bool | relative = false ) |
void cv::MatConstIterator::seek | ( | ptrdiff_t | ofs, |
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 |