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

#include <filter_wls.hpp>

Inheritance diagram for pic::FilterWLS:
pic::pic::Filter

Public Member Functions

 FilterWLS ()
 FilterWLS. More...
 
 FilterWLS (float alpha, float lambda)
 FilterWLS. More...
 
void update (float alpha, float lambda)
 update More...
 
ImageProcess (ImageVec imgIn, Image *imgOut)
 Process. 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 int main (int argc, char *argv[])
 main More...
 

Protected Member Functions

ImagesingleChannel (ImageVec imgIn, Image *imgOut)
 singleChannel applies WLS smoothing filter for gray-scale images. More...
 
ImagemultiChannel (ImageVec imgIn, Image *imgOut)
 multiChannel applies WLS filter for color images. 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 alpha
 
float lambda
 
float epsilon
 
- 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
 

Constructor & Destructor Documentation

◆ FilterWLS() [1/2]

pic::FilterWLS::FilterWLS ( )
inline

◆ FilterWLS() [2/2]

pic::FilterWLS::FilterWLS ( float  alpha,
float  lambda 
)
inline

FilterWLS.

Parameters
alpha
lambda

Member Function Documentation

◆ main()

static int pic::FilterWLS::main ( int  argc,
char *  argv[] 
)
inlinestatic

main

Parameters
argc
argv
Returns

◆ multiChannel()

Image* pic::FilterWLS::multiChannel ( ImageVec  imgIn,
Image imgOut 
)
inlineprotected

multiChannel applies WLS filter for color images.

Parameters
imgIn
imgOut
Returns

◆ Process()

Image* pic::FilterWLS::Process ( ImageVec  imgIn,
Image imgOut 
)
inline

Process.

Parameters
imgIn
imgOut
Returns

◆ singleChannel()

Image* pic::FilterWLS::singleChannel ( ImageVec  imgIn,
Image imgOut 
)
inlineprotected

singleChannel applies WLS smoothing filter for gray-scale images.

Parameters
imgIn
imgOut
Returns

◆ update()

void pic::FilterWLS::update ( float  alpha,
float  lambda 
)
inline

update

Parameters
alpha
lambda

Member Data Documentation

◆ alpha

float pic::FilterWLS::alpha
protected

◆ epsilon

float pic::FilterWLS::epsilon
protected

◆ lambda

float pic::FilterWLS::lambda
protected

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