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

The Filter class. More...

#include <filter_radial_basis_function.hpp>

Inheritance diagram for pic::pic::Filter:
pic::FilerCLAHE pic::FilterAbsoluteDifference pic::FilterAnsiotropicDiffusion pic::FilterAssembleHDR pic::FilterBackwardDifference pic::FilterBilateral1D pic::FilterBilateral2DAS pic::FilterBilateral2DF pic::FilterBilateral2DG pic::FilterBilateral2DS pic::FilterChannel pic::FilterColorConv pic::FilterColorDistance pic::FilterCombine pic::FilterConv1D pic::FilterConv2D pic::FilterConvSparse pic::FilterCrop pic::FilterDCT1D pic::FilterDeconvolution pic::FilterDeformGrid pic::FilterDemosaic pic::FilterDiffGauss pic::FilterDisparity pic::FilterDivergence pic::FilterDownPP pic::FilterDragoTMO pic::FilterExposureFusionWeights pic::FilterGradient pic::FilterGradientHarrisOPT pic::FilterGrowCut pic::FilterGuided pic::FilterGuidedAB pic::FilterIntegralImage pic::FilterKuwahara pic::FilterLaplacian pic::FilterLinearColorSpace pic::FilterLocalExtrema pic::FilterLuminance pic::FilterLuminanceAdaptation pic::FilterMax pic::FilterMed pic::FilterMedVec pic::FilterMin pic::FilterMosaic pic::FilterNearestNeighbors pic::FilterNoiseEstimation pic::FilterNormal pic::FilterNPasses pic::FilterNSWE pic::FilterRadialBasisFunction pic::FilterReconstruct pic::FilterRemoveInfNaN pic::FilterRemoveNuked pic::FilterRotation pic::FilterSampler1D pic::FilterSampler2D pic::FilterSampler2DAdd pic::FilterSampler2DSub pic::FilterSampler3D pic::FilterSigmoidTMO pic::FilterSimpleTMO pic::FilterSSIM pic::FilterThreshold pic::FilterTMQI pic::FilterUpPP pic::FilterWarp2D pic::FilterWhiteBalance pic::FilterWLS pic::FilterZeroCrossing pic::pic::FilterDeformGrid pic::pic::FilterLuminance pic::pic::FilterSimpleTMO pic::pic::FilterWarp2D

Public Member Functions

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

Public Attributes

bool cachedOnly
 
bool bDelete
 
std::vector< Filter * > filters
 

Protected Member Functions

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 scale
 
std::vector< float > param_f
 
int minInputImages
 

Detailed Description

The Filter class.

Constructor & Destructor Documentation

◆ Filter()

pic::pic::Filter::Filter ( )
inline

◆ ~Filter()

pic::pic::Filter::~Filter ( )
inline

Member Function Documentation

◆ allocateOutputMemory()

Image* pic::pic::Filter::allocateOutputMemory ( ImageVec  imgIn,
Image imgOut,
bool  bDelete 
)
inline

allocateOutputMemory

Parameters
imgIn
imgOut
bDelete
Returns

◆ cachedProcess()

PIC_INLINE Image * pic::pic::Filter::cachedProcess ( ImageVec  imgIn,
Image imgOut,
std::string  nameIn 
)

CachedProcess.

Parameters
imgIn
imgOut
nameIn
Returns

◆ changePass()

virtual void pic::pic::Filter::changePass ( int  pass,
int  tPass 
)
inlinevirtual

changePass changes the pass direction.

Parameters
pass
tPass

Reimplemented in pic::FilterDCT1D, pic::FilterBilateral1D, and pic::FilterConv1D.

◆ checkHalfSize()

int pic::pic::Filter::checkHalfSize ( int  size)
inline

checkHalfSize

Parameters
size
Returns

◆ checkInput()

PIC_INLINE bool pic::pic::Filter::checkInput ( ImageVec imgIn)
protected

checkInput

Parameters
imgIn
Returns

◆ f()

virtual void pic::pic::Filter::f ( FilterFData data)
inlineprotectedvirtual

f

Parameters
data

Reimplemented in pic::pic::FilterSimpleTMO.

◆ getOutPutName()

PIC_INLINE std::string pic::pic::Filter::getOutPutName ( std::string  nameIn)

getOutPutName

Parameters
nameIn
Returns

◆ insertFilter()

void pic::pic::Filter::insertFilter ( Filter flt,
bool  asSingle = false 
)
inline

insertFilter

Parameters
flt

◆ OutputSize()

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

◆ Process()

PIC_INLINE Image * pic::pic::Filter::Process ( ImageVec  imgIn,
Image imgOut 
)
virtual

Process.

Parameters
imgIn
imgOut
Returns

◆ ProcessAux()

PIC_INLINE void pic::pic::Filter::ProcessAux ( ImageVec  imgIn,
Image imgOut,
TileList tiles 
)
virtual

ProcessAux.

Parameters
imgIn
imgOut
tiles

◆ ProcessBBox()

virtual void pic::pic::Filter::ProcessBBox ( Image dst,
ImageVec  src,
BBox box 
)
inlineprotectedvirtual

ProcessBBox.

Parameters
dst
src
box

Reimplemented in pic::pic::FilterDeformGrid, pic::pic::FilterLuminance, and pic::pic::FilterWarp2D.

◆ ProcessP()

PIC_INLINE Image * pic::pic::Filter::ProcessP ( ImageVec  imgIn,
Image imgOut 
)
protected

ProcessP.

Parameters
imgIn
imgOut
Returns

◆ release()

virtual void pic::pic::Filter::release ( )
inlinevirtual

release

Reimplemented in pic::FilterDownSampler2D, and pic::FilterNPasses.

◆ setFloatParameters()

void pic::pic::Filter::setFloatParameters ( std::vector< float >  param_f)
inline

setFloatParameters sets float parameters.

Parameters
param_f

◆ setupAux()

PIC_INLINE Image * pic::pic::Filter::setupAux ( ImageVec  imgIn,
Image imgOut 
)
protectedvirtual

setupAux

Parameters
imgIn
imgOut
Returns

◆ signature()

virtual std::string pic::pic::Filter::signature ( )
inlinevirtual

Member Data Documentation

◆ bDelete

bool pic::pic::Filter::bDelete

◆ cachedOnly

bool pic::pic::Filter::cachedOnly

◆ filters

std::vector<Filter *> pic::pic::Filter::filters

◆ minInputImages

int pic::pic::Filter::minInputImages
protected

◆ param_f

std::vector< float > pic::pic::Filter::param_f
protected

◆ scale

float pic::pic::Filter::scale
protected

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