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

The FilterGuidedAB class. More...

#include <filter_guided_a_b.hpp>

Inheritance diagram for pic::FilterGuidedAB:
pic::pic::Filter

Public Member Functions

 FilterGuidedAB ()
 FilterGuidedAB. More...
 
 FilterGuidedAB (int radius, float e_regularization)
 FilterGuidedAB. More...
 
void OutputSize (ImageVec imgIn, int &width, int &height, int &channels, int &frames)
 OutputSize. More...
 
ImagegetI (ImageVec &imgIn)
 getI More...
 
Imagegetp (ImageVec &imgIn)
 getp More...
 
void update (int radius, float e_regularization)
 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...
 
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 Imageexecute (Image *imgIn, Image *guide, Image *imgOut, int radius, float e_regularization)
 execute More...
 

Protected Member Functions

void Process1Channel (Image *I, Image *p, Image *q, BBox *box)
 Process1Channel. More...
 
void Process3Channel (Image *I, Image *p, Image *q, BBox *box)
 Process3Channel. More...
 
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

int radius
 
float e_regularization
 
float nPixels
 
- 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 FilterGuidedAB class.

Constructor & Destructor Documentation

◆ FilterGuidedAB() [1/2]

pic::FilterGuidedAB::FilterGuidedAB ( )
inline

◆ FilterGuidedAB() [2/2]

pic::FilterGuidedAB::FilterGuidedAB ( int  radius,
float  e_regularization 
)
inline

FilterGuidedAB.

Parameters
radius
e_regularization

Member Function Documentation

◆ execute()

static Image* pic::FilterGuidedAB::execute ( Image imgIn,
Image guide,
Image imgOut,
int  radius,
float  e_regularization 
)
inlinestatic

execute

Parameters
imgIn
guide
imgOut
radius
e_regularization
Returns

◆ getI()

Image* pic::FilterGuidedAB::getI ( ImageVec imgIn)
inline

getI

Parameters
imgIn
Returns

◆ getp()

Image* pic::FilterGuidedAB::getp ( ImageVec imgIn)
inline

getp

Parameters
imgIn
Returns

◆ OutputSize()

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

OutputSize.

Parameters
imgIn
width
height
channels
frames

Reimplemented from pic::pic::Filter.

◆ Process1Channel()

PIC_INLINE void pic::FilterGuidedAB::Process1Channel ( Image I,
Image p,
Image q,
BBox box 
)
protected

Process1Channel.

Parameters
I
p
q
box

◆ Process3Channel()

PIC_INLINE void pic::FilterGuidedAB::Process3Channel ( Image I,
Image p,
Image q,
BBox box 
)
protected

Process3Channel.

Parameters
I
p
q
box

◆ ProcessBBox()

PIC_INLINE void pic::FilterGuidedAB::ProcessBBox ( Image dst,
ImageVec  src,
BBox box 
)
protected

ProcessBBox.

Parameters
dst
src
box

◆ update()

PIC_INLINE void pic::FilterGuidedAB::update ( int  radius,
float  e_regularization 
)

update

Parameters
radius
e_regularization

Member Data Documentation

◆ e_regularization

float pic::FilterGuidedAB::e_regularization
protected

◆ nPixels

float pic::FilterGuidedAB::nPixels
protected

◆ radius

int pic::FilterGuidedAB::radius
protected

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