[TASK] Cap percentile param at 50%.
This commit is contained in:
parent
6da80868dc
commit
ef298dc322
@ -200,6 +200,10 @@ void ImageViewer::acidTrippin() {
|
||||
/**
|
||||
* Analyze the image, get average luminance
|
||||
* Also fill grayscale_absolute_histogramm
|
||||
*
|
||||
* TODO: Decouple this from the drawing of the histogramm
|
||||
* (READ: Fuck, reanalyzing my image fucks up tools that work on histogramm data!)
|
||||
*
|
||||
* @brief ImageViewer::analyzeImage
|
||||
*/
|
||||
void ImageViewer::analyzeImage() {
|
||||
@ -485,7 +489,7 @@ void ImageViewer::generateControlPanels() {
|
||||
|
||||
contrast_percentile_slider = new QSlider(Qt::Horizontal);
|
||||
contrast_percentile_slider->setMinimum(0);
|
||||
contrast_percentile_slider->setMaximum(100);
|
||||
contrast_percentile_slider->setMaximum(50);
|
||||
contrast_percentile_slider->setValue(5);
|
||||
|
||||
automatic_robust_contrast = new QPushButton("Automatic robust contrast adaption");
|
||||
|
Loading…
Reference in New Issue
Block a user