1 #ifndef RGB_HISTOGRAM_H
2 #define RGB_HISTOGRAM_H
15 class RGBHistogram : public QWidget
20 RGBHistogram(QWidget *parent);
21 void set_histograms(std::vector<double> red, std::vector<double> green, std::vector<double> blue);
24 void paintEvent(QPaintEvent *event) override;
25 void draw(const std::vector<double> &v, double max, Qt::GlobalColor color, QPainter *painter);
27 std::vector<double> red, green, blue;