Nuke binary plugins 15.0.5
 
Loading...
Searching...
No Matches
DD::Image::Histogram_Data Class Reference

#include <HistogramKnob.h>

Public Member Functions

 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)
 

Detailed Description

The definition of the data as used by the Histogram_Knob. This class is reference counted internally, so you should call removeUser() not delete.

Member Function Documentation

◆ 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.



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com