#include #include #include #include #include #include #include "CompareImageDialog.h" using namespace cv; CompareImageDialog::CompareImageDialog(const QString &title, int V, int H, int S, int defValue1, int defValue2, const QString &thresh1Text, const QString &thresh2Text, QWidget *parent) : QDialog(parent), m_histoType(2), m_metrics(CV_COMP_CORREL) { setWindowTitle(title); QGroupBox *histoSrcBox = new QGroupBox("Histogram source:"); QRadioButton *lRB = new QRadioButton("Luminance"); QRadioButton *hsRB = new QRadioButton("Hue/Saturation");