14#ifndef GUI_EDITING_HISTOGRAMEDITOR_H
15#define GUI_EDITING_HISTOGRAMEDITOR_H
41 QWidget *parent=0,
const char* name=0);
50 int &redLeft,
int &redRight,
51 int &greenLeft,
int &greenRight,
52 int &blueLeft,
int &blueRight);
86 double scaleColor(
double color,
int left,
int right );
A more dynamic slider that provides moving tooltips that show the slider value.
Interface for adjusting image historgram using upper and lower bounds and bright and contrast control...
void resetContrast()
reset contrast
HistogramEditor(QString filename, QWidget *parent=0, const char *name=0)
Constructs layout.
void applyAction()
check for changes to settings, if so
QComboBox * previewSelection
void keyPressEvent(QKeyEvent *e)
void resetAction()
resets all adjustments
void selectHistogramType(int selection)
updates historgram interface
DynamicSlider * contrast
Contrast slider.
ClickableLabel * brightnessIcon
void selectPreviewImageType(int selection)
updates preview image
QImage * getModifiedImage()
get modified image that resulted from adjustments
void keyReleaseEvent(QKeyEvent *e)
HistogramInterface * histogramInterface
Histogram view.
double meanR
Mean color values.
void getHistBoundaries(int &lumLeft, int &lumRight, int &redLeft, int &redRight, int &greenLeft, int &greenRight, int &blueLeft, int &blueRight)
returns histogram boundaries
void adjustImage(QImage &image)
DynamicSlider * brightness
Brightness slider.
ClickableLabel * contrastIcon
QComboBox * histogramType
void generateAdjustedPreviewImage()
updates adjusted preview image
ScaledPreviewInterface * previewInterface
Preview image.
double scaleColor(double color, int left, int right)
void resetBrightness()
reset brightness