You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.1 KiB

9 years ago
////////////////////////////////////////////////////////////////////////////////
/**
* \file layercomposer.h
* \version v1.0
* \author Ing. Dominik Malcik
*/
////////////////////////////////////////////////////////////////////////////////
#ifndef LAYERCOMPOSER_H
#define LAYERCOMPOSER_H
#include <QMainWindow>
#include <QPainter>
#include "opencvprocessor.h"
// singleton
#include "project.h"
class LayerComposer : public QMainWindow
{
Q_OBJECT
public:
explicit LayerComposer(QWidget *parent = 0);
QImage composeLayers (std::vector<QString> importedLayers,
std::vector<QString> analysingLayersLayers,
std::vector<int> importedIndexes,
std::vector<int> analysingIndexes,
QString &bgRootDir,
QString &overLayRootDir);
QImage maskSelectedLayer(QString &bgImageFileName, QString &bgRootDir, QRgb maskColor, int rThrsh, int gThrsh, int bThrsh);
QImage composeHistograms (QImage * bgImage);
signals:
public slots:
};
#endif // LAYERCOMPOSER_H