PICCANTE  0.4
The hottest HDR imaging library!
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
pic::FilterWhiteBalance Class Reference

The FilterWhiteBalance class. More...

#include <filter_white_balance.hpp>

Inheritance diagram for pic::FilterWhiteBalance:
pic::pic::Filter

Public Member Functions

 FilterWhiteBalance ()
 FilterWhiteBalance. More...
 
 FilterWhiteBalance (float *white, unsigned int nWhite, bool bComputeScalingFactors)
 FilterWhiteBalance. More...
 
 ~FilterWhiteBalance ()
 
void update (float *white, unsigned int nWhite, bool bComputeScalingFactors)
 update More...
 
- Public Member Functions inherited from pic::pic::Filter
 Filter ()
 Filter. More...
 
 ~Filter ()
 
virtual void release ()
 release More...
 
virtual void changePass (int pass, int tPass)
 changePass changes the pass direction. More...
 
virtual std::string signature ()
 signature returns the signature for the filter. More...
 
int checkHalfSize (int size)
 checkHalfSize More...
 
std::string getOutPutName (std::string nameIn)
 getOutPutName More...
 
ImagecachedProcess (ImageVec imgIn, Image *imgOut, std::string nameIn)
 CachedProcess. More...
 
virtual void OutputSize (ImageVec imgIn, int &width, int &height, int &channels, int &frames)
 OutputSize. More...
 
ImageallocateOutputMemory (ImageVec imgIn, Image *imgOut, bool bDelete)
 allocateOutputMemory More...
 
void insertFilter (Filter *flt, bool asSingle=false)
 insertFilter More...
 
void setFloatParameters (std::vector< float > param_f)
 setFloatParameters sets float parameters. More...
 
virtual void ProcessAux (ImageVec imgIn, Image *imgOut, TileList *tiles)
 ProcessAux. More...
 
virtual ImageProcess (ImageVec imgIn, Image *imgOut)
 Process. More...
 

Static Public Member Functions

static float * getScalingFactors (float *white, int nWhite)
 getScalingFactors More...
 
static Imageexecute (Image *imgIn, float *white_color, Image *out)
 execute More...
 
static Imageexecute (Image *imgIn, int x, int y, bool bRobust=true, Image *out=NULL)
 execute More...
 

Protected Member Functions

void ProcessBBox (Image *dst, ImageVec src, BBox *box)
 ProcessBBox. More...
 
- Protected Member Functions inherited from pic::pic::Filter
bool checkInput (ImageVec &imgIn)
 checkInput More...
 
virtual void f (FilterFData *data)
 f More...
 
virtual void ProcessBBox (Image *dst, ImageVec src, BBox *box)
 ProcessBBox. More...
 
ImageProcessP (ImageVec imgIn, Image *imgOut)
 ProcessP. More...
 
virtual ImagesetupAux (ImageVec imgIn, Image *imgOut)
 setupAux More...
 

Protected Attributes

float * white
 
int nWhite
 
- Protected Attributes inherited from pic::pic::Filter
float scale
 
std::vector< float > param_f
 
int minInputImages
 

Additional Inherited Members

- Public Attributes inherited from pic::pic::Filter
bool cachedOnly
 
bool bDelete
 
std::vector< Filter * > filters
 

Detailed Description

The FilterWhiteBalance class.

Constructor & Destructor Documentation

◆ FilterWhiteBalance() [1/2]

pic::FilterWhiteBalance::FilterWhiteBalance ( )
inline

FilterWhiteBalance.

Parameters
type

◆ FilterWhiteBalance() [2/2]

pic::FilterWhiteBalance::FilterWhiteBalance ( float *  white,
unsigned int  nWhite,
bool  bComputeScalingFactors 
)
inline

FilterWhiteBalance.

Parameters
white
nWhite
bComputeScalingFactors

◆ ~FilterWhiteBalance()

pic::FilterWhiteBalance::~FilterWhiteBalance ( )
inline

Member Function Documentation

◆ execute() [1/2]

static Image* pic::FilterWhiteBalance::execute ( Image imgIn,
float *  white_color,
Image out 
)
inlinestatic

execute

Parameters
imgIn
white_color
out
Returns

◆ execute() [2/2]

static Image* pic::FilterWhiteBalance::execute ( Image imgIn,
int  x,
int  y,
bool  bRobust = true,
Image out = NULL 
)
inlinestatic

execute

Parameters
imgIn
x
y
bRobust
out
Returns

◆ getScalingFactors()

static float* pic::FilterWhiteBalance::getScalingFactors ( float *  white,
int  nWhite 
)
inlinestatic

getScalingFactors

Parameters
white
nWhite
Returns

◆ ProcessBBox()

void pic::FilterWhiteBalance::ProcessBBox ( Image dst,
ImageVec  src,
BBox box 
)
inlineprotected

ProcessBBox.

Parameters
dst
src
box

◆ update()

void pic::FilterWhiteBalance::update ( float *  white,
unsigned int  nWhite,
bool  bComputeScalingFactors 
)
inline

update

Parameters
white
nWhite
bComputeScalingFactors

Member Data Documentation

◆ nWhite

int pic::FilterWhiteBalance::nWhite
protected

◆ white

float* pic::FilterWhiteBalance::white
protected

The documentation for this class was generated from the following file: