| OpenCV 3.4.3 Open Source Computer Vision

Public Member Functions | Public Attributes | List of all members
cv::MatSize Struct Reference
Core functionality » Basic structures

`#include "mat.hpp"`

## Public Member Functions
| MatSize (int *_p)
int | dims () const
bool | operator!= (const MatSize &sz) const
Size | operator() () const
bool | operator== (const MatSize &sz) const
const int & | operator[] (int i) const
int & | operator[] (int i)

## Public Attributes
int * | p

## Constructor & Destructor Documentation

## § MatSize()

cv::MatSize::MatSize | ( | int * | _p | ) |
| explicit

## Member Function Documentation

## § dims()

int cv::MatSize::dims | ( |  | ) | const

## § operator!=()

bool cv::MatSize::operator!= | ( | const MatSize & | sz | ) | const

## § operator()()

Size cv::MatSize::operator() | ( |  | ) | const

## § operator==()

bool cv::MatSize::operator== | ( | const MatSize & | sz | ) | const

## § operator[]() [1/2]

const int& cv::MatSize::operator[] | ( | int | i | ) | const

## § operator[]() [2/2]

int& cv::MatSize::operator[] | ( | int | i | ) |

## Member Data Documentation

## § p

int* cv::MatSize::p

The documentation for this struct was generated from the following file:

- core/include/opencv2/core/mat.hpp