17#include "kritaimage_export.h"
114 void updateHistogram();
120 void computeHistogram();
123 Calculations calculations();
125 Calculations selectionCalculations();
128 return m_producer->getBinAt(m_channel, i);
139 m_producer = producer;
142 Q_ASSERT(m_channel < m_completeCalculations.size());
166 m_selection =
true; m_selFrom = from; m_selTo = to;
174 Calculations calculateSingleRange(
int channel,
double from,
double to);
181 qint32 m_channel {0};
182 double m_selFrom {0.0};
183 double m_selTo {0.0};
184 bool m_selection {
false};
double getMean()
This function return the mean of value of the histogram.
quint32 getCount()
This function return the number of pixels used by the histogram.
quint32 getHighest()
This function return the highest value of the histogram.
quint32 getLowest()
This function return the lowest value of the histogram.
void setChannel(qint32 channel)
quint32 getValue(quint8 i)
void setHistogramType(enumHistogramType type)
KoHistogramProducer * producer()
QVector< Calculations > m_completeCalculations
const KisPaintDeviceSP m_paintDevice
void setSelection(double from, double to)
enumHistogramType getHistogramType()
void setProducer(KoHistogramProducer *producer)