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

The FilterWarp2D class. More...

#include <filter_warp_2d.hpp>

Inheritance diagram for pic::FilterWarp2D:
pic::pic::Filter

Public Member Functions

 FilterWarp2D ()
 FilterWarp2D. More...
 
 FilterWarp2D (Matrix3x3 h, bool bSameSize=false, bool bCentroid=false)
 FilterWarp2D. More...
 
bool getBCentroid ()
 getBCentroid More...
 
void setBoundingBox (int *bmin, int *bmax)
 setBoundingBox More...
 
void update (Matrix3x3 h, bool bSameSize, bool bCentroid=false)
 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 void computeBoundingBox (Matrix3x3 &h, bool bCentroid, float width, float height, int *bmin, int *bmax)
 computeBoundingBox More...
 
static Imageexecute (Image *img, Image *imgOut, Matrix3x3 h, bool bSameSize=false, bool bCentroid=false)
 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

ImageSamplerBilinear isb
 
Matrix3x3 h
 
Matrix3x3 h_inv
 
int bmin [2]
 
int bmax [2]
 
float mid [2]
 
bool bComputeBoundingBox
 
bool bSameSize
 
bool bCentroid
 
- 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 FilterWarp2D class.

Constructor & Destructor Documentation

◆ FilterWarp2D() [1/2]

pic::FilterWarp2D::FilterWarp2D ( )
inline

◆ FilterWarp2D() [2/2]

pic::FilterWarp2D::FilterWarp2D ( Matrix3x3  h,
bool  bSameSize = false,
bool  bCentroid = false 
)
inline

FilterWarp2D.

Parameters
h
bSameSize
bCentroid

Member Function Documentation

◆ computeBoundingBox()

static void pic::FilterWarp2D::computeBoundingBox ( Matrix3x3 h,
bool  bCentroid,
float  width,
float  height,
int *  bmin,
int *  bmax 
)
inlinestatic

computeBoundingBox

Parameters
h
bCentroid
width
height
bmin
bmax

◆ execute()

static Image* pic::FilterWarp2D::execute ( Image img,
Image imgOut,
Matrix3x3  h,
bool  bSameSize = false,
bool  bCentroid = false 
)
inlinestatic

execute

Parameters
img
imgOut
h
bSameSize
bCentroid
Returns

◆ getBCentroid()

bool pic::FilterWarp2D::getBCentroid ( )
inline

getBCentroid

Returns

◆ OutputSize()

void pic::FilterWarp2D::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::FilterWarp2D::ProcessBBox ( Image dst,
ImageVec  src,
BBox box 
)
inlineprotected

ProcessBBox.

Parameters
dst
src
box

◆ setBoundingBox()

void pic::FilterWarp2D::setBoundingBox ( int *  bmin,
int *  bmax 
)
inline

setBoundingBox

Parameters
bmin
bmax

◆ update()

void pic::FilterWarp2D::update ( Matrix3x3  h,
bool  bSameSize,
bool  bCentroid = false 
)
inline

update

Parameters
h
bSameSize
bCentroid

Member Data Documentation

◆ bCentroid

bool pic::FilterWarp2D::bCentroid
protected

◆ bComputeBoundingBox

bool pic::FilterWarp2D::bComputeBoundingBox
protected

◆ bmax

int pic::FilterWarp2D::bmax[2]
protected

◆ bmin

int pic::FilterWarp2D::bmin[2]
protected

◆ bSameSize

bool pic::FilterWarp2D::bSameSize
protected

◆ h

Matrix3x3 pic::FilterWarp2D::h
protected

◆ h_inv

Matrix3x3 pic::FilterWarp2D::h_inv
protected

◆ isb

ImageSamplerBilinear pic::FilterWarp2D::isb
protected

◆ mid

float pic::FilterWarp2D::mid[2]
protected

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