![]() |
iVS3D v2.0.0
|
The CropExport class is which will open a QDialog on which an roi can be selected. More...
#include <cropexport.h>
Public Member Functions | |
| CropExport (QWidget *parent, const cv::Mat *img, QRect roi) | |
| CropExport Constructor which will show the given image and draw the given QRect on it, if it isn't a 0 QRect. | |
| void | triggerResize () |
| triggerResize triggers the Resize slot | |
| QRect | getROI () |
| Cuts the drawn QRect to the image borders and returns the modified QRect. | |
The CropExport class is which will open a QDialog on which an roi can be selected.
| CropExport::CropExport | ( | QWidget * | parent, |
| const cv::Mat * | img, | ||
| QRect | roi | ||
| ) |
CropExport Constructor which will show the given image and draw the given QRect on it, if it isn't a 0 QRect.
| img | Image to be shown |
| roi | QRect to be drawn |
| QRect CropExport::getROI | ( | ) |
Cuts the drawn QRect to the image borders and returns the modified QRect.