#include <HistogramKnob.h>
|
| Histogram_Data (double *CC=nullptr) |
|
void | addUser () |
| Increment the reference count.
|
|
void | removeUser () |
|
void | clear () |
| Blank out the entire histogram.
|
|
void | addLumIn (float y) |
|
int | getLumIn (int ix) |
| Get the input value at the given index.
|
|
void | addLumOut (float y) |
| Set an output luminance.
|
|
int | getLumOut (int ix) |
| Get the output luminance at the given index.
|
|
int | getMaxIn () |
| Get the maximum input value.
|
|
int | getMaxOut () |
| Get the maximum output value.
|
|
int | getMaxLum () |
| Get the maximum output luminance.
|
|
int | getNIn () |
| Get the number of in things.
|
|
double * | corrector () |
| Return the list of correction values.
|
|
double | corrector (int i) |
|
The definition of the data as used by the Histogram_Knob. This class is reference counted internally, so you should call removeUser() not delete.
◆ removeUser()
void DD::Image::Histogram_Data::removeUser |
( |
| ) |
|
|
inline |
Decrement the reference count. If this reached zero the object is destroyed.
◆ corrector()
double DD::Image::Histogram_Data::corrector |
( |
int |
i | ) |
|
|
inline |
Return a specific correction factor at the given index. If no correction array was specified, it will return 0.0.