|
Krita Source Code Documentation
|
#include <kis_histogram.h>
Public Member Functions | |
| Calculations () | |
| 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. | |
| double | getMax () |
| double | getMean () |
| This function return the mean of value of the histogram. | |
| double | getMin () |
| double | getTotal () |
Private Attributes | |
| quint32 | m_count {0} |
| quint32 | m_high {0} |
| quint32 | m_low {0} |
| double | m_max {0.0} |
| double | m_mean {0.0} |
| double | m_min {0.0} |
| double | m_total {0.0} |
Friends | |
| class | KisHistogram |
Class that stores the result of histogram calculations. Doubles are in the 0-1 range, use the producer's positionToString function to display it.
Definition at line 44 of file kis_histogram.h.
|
inline |
Definition at line 60 of file kis_histogram.h.
|
inline |
This function return the number of pixels used by the histogram.
Definition at line 92 of file kis_histogram.h.
|
inline |
This function return the highest value of the histogram.
Definition at line 78 of file kis_histogram.h.
|
inline |
This function return the lowest value of the histogram.
Definition at line 82 of file kis_histogram.h.
|
inline |
This function return the maximum bound of the histogram (values at greater position than the maximum are null)
Definition at line 67 of file kis_histogram.h.
|
inline |
This function return the mean of value of the histogram.
Definition at line 86 of file kis_histogram.h.
|
inline |
This function return the minimum bound of the histogram (values at smaller position than the minimum are null)
Definition at line 74 of file kis_histogram.h.
|
inline |
The sum of (the contents of every bin * the double value of that bin)
Definition at line 96 of file kis_histogram.h.
|
friend |
Definition at line 56 of file kis_histogram.h.
|
private |
Definition at line 54 of file kis_histogram.h.
|
private |
Definition at line 52 of file kis_histogram.h.
|
private |
Definition at line 53 of file kis_histogram.h.
|
private |
Definition at line 47 of file kis_histogram.h.
|
private |
Definition at line 49 of file kis_histogram.h.
|
private |
Definition at line 48 of file kis_histogram.h.
|
private |
Definition at line 50 of file kis_histogram.h.