From 2f5f581890f137cfc100705808720d09a8d0bb2f Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Fri, 20 Nov 2015 13:42:13 +0100 Subject: [PATCH] [TASK] Whoops. This was succeeding histogramm adaption. --- imageviewer-qt4.cpp | 14 +++++++------- imageviewer-qt4.h | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/imageviewer-qt4.cpp b/imageviewer-qt4.cpp index f0587e1..b3c3f36 100644 --- a/imageviewer-qt4.cpp +++ b/imageviewer-qt4.cpp @@ -364,12 +364,12 @@ void ImageViewer::linearHistogrammAdaption(void) { } /** - * Do a piece based linear histogramm adaption using a reference image. + * Do a succeeding histogramm adaption based on a reference image. * - * @brief Imageviewer::pieceLinearHistogrammAdaption + * @brief Imageviewer::succeedingHistogrammAdaption */ -void ImageViewer::pieceLinearHistogrammAdaption() { - logFile << "Doing linear histogramm adaption ..." << std::endl; +void ImageViewer::succeedingHistogrammAdaption() { + logFile << "Doing succeeding histogramm adaption ..." << std::endl; renewLogging(); if(histogramm_reference == NULL) { logFile << "No reference image loaded! Aborting." << std::endl; @@ -565,8 +565,8 @@ void ImageViewer::generateControlPanels() { linear_histogramm_adaption = new QPushButton("Do linear histogramm adaption (basic)"); QObject::connect(linear_histogramm_adaption, SIGNAL(clicked()), this, SLOT(linearHistogrammAdaption())); - piece_linear_histogramm_adaption = new QPushButton("Do linear histogramm adaption (pieces)"); - QObject::connect(piece_linear_histogramm_adaption, SIGNAL(clicked()), this, SLOT(pieceLinearHistogrammAdaption())); + succeeding_histogramm_adaption = new QPushButton("Do succeeding histogramm adaption"); + QObject::connect(succeeding_histogramm_adaption, SIGNAL(clicked()), this, SLOT(succeedingHistogrammAdaption())); task_tab3->addWidget(new QLabel("Reference image")); task_tab3->addWidget(reference_histogramm_cumulative_label); @@ -575,7 +575,7 @@ void ImageViewer::generateControlPanels() { task_tab3->addWidget(new QLabel("Working copy")); task_tab3->addWidget(histogramm_cumulative_label); task_tab3->addWidget(linear_histogramm_adaption); - task_tab3->addWidget(piece_linear_histogramm_adaption); + task_tab3->addWidget(succeeding_histogramm_adaption); tabWidget->addTab(task_tab_widget3, "Task #3"); diff --git a/imageviewer-qt4.h b/imageviewer-qt4.h index c658703..f4ad3b0 100644 --- a/imageviewer-qt4.h +++ b/imageviewer-qt4.h @@ -110,7 +110,7 @@ class ImageViewer : public QMainWindow { QLabel* histogramm_cumulative_label; QPushButton* linear_histogramm_adaption; - QPushButton* piece_linear_histogramm_adaption; + QPushButton* succeeding_histogramm_adaption; // "My" space for storing data/results LazyImage* original; @@ -130,7 +130,7 @@ class ImageViewer : public QMainWindow { void saveToOriginal(); void robustAutomaticContrastAdaption(int c_param); void linearHistogrammAdaption(); - void pieceLinearHistogrammAdaption(); + void succeedingHistogrammAdaption(); void open(); void openReference();