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::FilterLuminance Class Reference

The FilterLuminance class. More...

#include <filter_luminance.hpp>

Inheritance diagram for pic::FilterLuminance:
pic::pic::Filter

Public Member Functions

 FilterLuminance (LUMINANCE_TYPE type=LT_CIE_LUMINANCE)
 FilterLuminance. More...
 
 ~FilterLuminance ()
 
void update (LUMINANCE_TYPE type=LT_CIE_LUMINANCE)
 update More...
 
void OutputSize (ImageVec imgIn, int &width, int &height, int &channels, int &frames)
 OutputSize. 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...
 
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 * computeWeights (LUMINANCE_TYPE type, int channels, float *weights)
 computeWeights More...
 
static Imageexecute (Image *imgIn, Image *imgOut, LUMINANCE_TYPE type=LT_CIE_LUMINANCE)
 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

LUMINANCE_TYPE type
 
float * weights
 
- 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 FilterLuminance class.

Constructor & Destructor Documentation

◆ FilterLuminance()

pic::FilterLuminance::FilterLuminance ( LUMINANCE_TYPE  type = LT_CIE_LUMINANCE)
inline

FilterLuminance.

Parameters
type

◆ ~FilterLuminance()

pic::FilterLuminance::~FilterLuminance ( )
inline

Member Function Documentation

◆ computeWeights()

static float* pic::FilterLuminance::computeWeights ( LUMINANCE_TYPE  type,
int  channels,
float *  weights 
)
inlinestatic

computeWeights

Parameters
type
weights
Returns

◆ execute()

static Image* pic::FilterLuminance::execute ( Image imgIn,
Image imgOut,
LUMINANCE_TYPE  type = LT_CIE_LUMINANCE 
)
inlinestatic

execute

Parameters
imgIn
imgOut
type
Returns

◆ OutputSize()

void pic::FilterLuminance::OutputSize ( ImageVec  imgIn,
int &  width,
int &  height,
int &  channels,
int &  frames 
)
inlinevirtual

OutputSize.

Parameters
imgIn
width
height
channels
frames

Reimplemented from pic::pic::Filter.

◆ ProcessBBox()

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

ProcessBBox.

Parameters
dst
src
box

◆ update()

void pic::FilterLuminance::update ( LUMINANCE_TYPE  type = LT_CIE_LUMINANCE)
inline

update

Parameters
type

Member Data Documentation

◆ type

LUMINANCE_TYPE pic::FilterLuminance::type
protected

◆ weights

float* pic::FilterLuminance::weights
protected

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