First prototype
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#ifndef CLAHE_H
|
||||
#define CLAHE_H
|
||||
|
||||
#include <QImage>
|
||||
#include <QPixmap>
|
||||
#include <QString>
|
||||
#include <opencv2/imgproc.hpp>
|
||||
#include <opencv2/imgcodecs.hpp>
|
||||
|
||||
class CLAHE
|
||||
{
|
||||
cv::Mat _lumImage;
|
||||
cv::Mat _image[3];
|
||||
cv::Ptr<cv::CLAHE> _clahe;
|
||||
public:
|
||||
CLAHE();
|
||||
void loadFile(const QString &path);
|
||||
void saveFile(const QString &path);
|
||||
void apply(float clipLimit, int kernelSize);
|
||||
QPixmap getImage() const;
|
||||
};
|
||||
|
||||
#endif // CLAHE_H
|
||||
Reference in New Issue
Block a user