iVS3D v2.0.0
Loading...
Searching...
No Matches
transformcommand.h
1#ifndef TRANSFORMCOMMAND_H
2#define TRANSFORMCOMMAND_H
3
4#include <QDir>
5#include <QRect>
6#include <QString>
7#include <memory>
8#include <opencv2/core.hpp>
9#include <opencv2/imgcodecs.hpp>
10#include <opencv2/imgproc.hpp>
11#include <optional>
12#include <vector>
13
14#include "imageprocessor.h"
15#include "itransform.h"
16#include "modelinputpictures.h"
17
19 ITransform *transformplugin;
20 QString folder;
21 Resolution working_resolution;
22 ROI roi;
23 cv::Size export_size;
24 bool initialized;
25
26 public:
27 TransformCommand(ITransform *transformplugin, Resolution working_resolution,
28 Resolution export_resolution, ROI roi, QString folder);
29 std::optional<QString> execute(ImageContext &ctx) override;
30};
31
32#endif // TRANSFORMCOMMAND_H
The ITransform interface is used for algorithms to create additional image files from the source imag...
Definition itransform.h:88
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
The ROI class manages a region of interest represented as a rectangle in the [0,1]x[0,...
Definition roi.h:21
The Resolution class encapsulates an image resolution (width and height). It provides functionality f...
Definition resolution.h:17
Definition transformcommand.h:18