|
ESP-IDF Firmware
Firmware architecture and call graph
|
Rectangular area. More...
#include <mat.h>
Public Member Functions | |
| Rect (int x=0, int y=0, int width=0, int height=0) | |
| Constructor with initialization to 0. | |
| void | resizeRect (int x, int y, int width, int height) |
| Resize rect area. | |
| int | areaRect (void) |
| Get amount of elements in the rect area. | |
Data Fields | |
| int | x |
| int | y |
| int | width |
| int | height |
Rectangular area.
The Rect is used for creating regions of interest ROI(s). The ROI is then used as a sub-matrix
| dspm::Mat::Rect::Rect | ( | int | x = 0, |
| int | y = 0, | ||
| int | width = 0, | ||
| int | height = 0 ) |
Constructor with initialization to 0.
| [in] | x | x starting position (start col) of the rectangular area |
| [in] | y | y starting position (start row) of the rectangular area |
| [in] | width | width (number of cols) of the rectangular area |
| [in] | height | height (number of rows) of the rectangular area |
Definition at line 36 of file mat.cpp.
| int dspm::Mat::Rect::areaRect | ( | void | ) |
| void dspm::Mat::Rect::resizeRect | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height ) |
Resize rect area.
| [in] | x | x starting position (start col) of the new rectangular area |
| [in] | y | y starting position (start row) of the new rectangular area |
| [in] | width | width (number of cols) of the new rectangular area |
| [in] | height | height (number of rows) of the new rectangular area |
| int dspm::Mat::Rect::height |
height (number of rows) of the rectangular area
Definition at line 52 of file mat.h.
Referenced by areaRect(), dspm::Mat::Get(), dspm::Mat::getROI(), dspm::operator<<(), Rect(), and resizeRect().
| int dspm::Mat::Rect::width |
width (number of cols) of the rectangular area
Definition at line 51 of file mat.h.
Referenced by areaRect(), dspm::Mat::Get(), dspm::Mat::getROI(), dspm::operator<<(), Rect(), and resizeRect().
| int dspm::Mat::Rect::x |
x starting position (start col) of the rectangular area
Definition at line 49 of file mat.h.
Referenced by dspm::Mat::Get(), dspm::Mat::getROI(), dspm::operator<<(), Rect(), and resizeRect().
| int dspm::Mat::Rect::y |
y starting position (start row) of the rectangular area
Definition at line 50 of file mat.h.
Referenced by dspm::Mat::Get(), dspm::Mat::getROI(), dspm::operator<<(), Rect(), and resizeRect().