Width and height of an array. More...
Functions | |
Resolution (size_t w_=0, size_t h_=0) | |
size_t | area () const |
Returns the area of the image. More... | |
bool | operator== (const Resolution &that) const |
Tests if the given Resolution has the same properties. More... | |
bool | operator!= (const Resolution &that) const |
Tests if the given Resolution has different properties. More... | |
Attributes | |
size_t | width |
size_t | height |
Width and height of an array.
|
inline |
|
inline |
Returns the area of the image.
|
inline |
Tests if the given Resolution has the same properties.
|
inline |
Tests if the given Resolution has different properties.
size_t width |
array width in pixels
Referenced by Resolution::area(), Mat::getWidth(), Mat::getWidthBytes(), Rect::isContained(), Resolution::operator!=(), and Resolution::operator==().
size_t height |
array height in pixels
Referenced by Resolution::area(), Mat::getHeight(), Rect::isContained(), Resolution::operator!=(), and Resolution::operator==().