iVS3D v2.0.0
Loading...
Searching...
No Matches
resizecommand.h
1#ifndef RESIZECOMMAND_H
2#define RESIZECOMMAND_H
3
4#include <opencv2/core.hpp>
5#include <opencv2/imgcodecs.hpp>
6#include <opencv2/imgproc.hpp>
7
8#include <QString>
9#include <QDir>
10#include <QRect>
11
12#include <vector>
13#include <memory>
14#include <optional>
15
16#include "modelinputpictures.h"
17#include "imageprocessor.h"
18
20 cv::Size resolution;
21
22public:
23 ResizeCommand(QPoint resolution);
24 std::optional<QString> execute(ImageContext &ctx) override;
25};
26
27#endif //RESIZECOMMAND_H
The ImageCommand class is an abstract interface for commands regarding image operations such as resiz...
Definition imageprocessor.h:33
The ImageContext class provides contetx information for executing ImageCommands. This data can be mod...
Definition imageprocessor.h:22
Definition resizecommand.h:19