1
0

Rename CLAHE to ApplyCLAHE

This commit is contained in:
2020-04-26 08:24:50 +02:00
parent dc2f0e3490
commit 508d8f44f0
5 changed files with 24 additions and 24 deletions
+25
View File
@@ -0,0 +1,25 @@
#ifndef APPLYCLAHE_H
#define APPLYCLAHE_H
#include <QImage>
#include <QPixmap>
#include <QString>
#include <opencv2/imgproc.hpp>
#include <opencv2/imgcodecs.hpp>
class ApplyCLAHE
{
cv::Mat _lumImage;
cv::Mat _image[3];
double _scale;
public:
ApplyCLAHE();
void loadFile(const QString &path);
void saveFile(const QString &path);
void apply(float clipLimit, int kernelSize);
QPixmap getImage() const;
QPixmap getLumImage() const;
bool imageLoaded() const;
};
#endif // APPLYCLAHE_H