The FilterDownSampler2D class.
More...
#include <filter_downsampler_2d.hpp>
|
| FilterDownSampler2D (float scaleX, float scaleY) |
| FilterDownSampler2D. More...
|
|
| FilterDownSampler2D (int width, int height) |
| FilterDownSampler2D. More...
|
|
| ~FilterDownSampler2D () |
|
void | release () |
| release More...
|
|
void | PreProcess (ImageVec imgIn, Image *imgOut) |
| PreProcess. More...
|
|
| FilterNPasses () |
| FilterNPasses. More...
|
|
| ~FilterNPasses () |
|
void | OutputSize (ImageVec imgIn, int &width, int &height, int &channels, int &frames) |
| OutputSize. More...
|
|
Image * | Process (ImageVec imgIn, Image *imgOut) |
| Process. More...
|
|
| Filter () |
| Filter. More...
|
|
| ~Filter () |
|
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...
|
|
Image * | cachedProcess (ImageVec imgIn, Image *imgOut, std::string nameIn) |
| CachedProcess. More...
|
|
Image * | allocateOutputMemory (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 Image * | Process (ImageVec imgIn, Image *imgOut) |
| Process. More...
|
|
|
void | allocate () |
| allocate More...
|
|
Image * | setupAuxNGen (ImageVec imgIn, Image *imgOut) |
| setupAuxNGen More...
|
|
Image * | setupAuxNSame (ImageVec imgIn, Image *imgOut) |
| setupAuxNSame More...
|
|
virtual Filter * | getFilter (int i) |
| getFilter More...
|
|
virtual int | getIterations () |
| getIterations More...
|
|
void | release () |
| release More...
|
|
Image * | ProcessGen (ImageVec imgIn, Image *imgOut, bool parallel) |
| ProcessGen. More...
|
|
Image * | ProcessSame (ImageVec imgIn, Image *imgOut, bool parallel) |
| ProcessSame. More...
|
|
bool | checkInput (ImageVec &imgIn) |
| checkInput More...
|
|
virtual void | f (FilterFData *data) |
| f More...
|
|
virtual void | ProcessBBox (Image *dst, ImageVec src, BBox *box) |
| ProcessBBox. More...
|
|
Image * | ProcessP (ImageVec imgIn, Image *imgOut) |
| ProcessP. More...
|
|
virtual Image * | setupAux (ImageVec imgIn, Image *imgOut) |
| setupAux More...
|
|
◆ FilterDownSampler2D() [1/2]
PIC_INLINE pic::FilterDownSampler2D::FilterDownSampler2D |
( |
float |
scaleX, |
|
|
float |
scaleY = -1.0f |
|
) |
| |
◆ FilterDownSampler2D() [2/2]
PIC_INLINE pic::FilterDownSampler2D::FilterDownSampler2D |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
◆ ~FilterDownSampler2D()
PIC_INLINE pic::FilterDownSampler2D::~FilterDownSampler2D |
( |
| ) |
|
◆ allocate()
void pic::FilterDownSampler2D::allocate |
( |
| ) |
|
|
inlineprotected |
◆ execute() [1/3]
static Image* pic::FilterDownSampler2D::execute |
( |
Image * |
imgIn, |
|
|
Image * |
imgOut, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
inlinestatic |
execute
- Parameters
-
imgIn | |
imgOut | |
width | |
height | |
- Returns
◆ execute() [2/3]
static Image* pic::FilterDownSampler2D::execute |
( |
Image * |
imgIn, |
|
|
Image * |
imgOut, |
|
|
float |
scaleX, |
|
|
float |
scaleY |
|
) |
| |
|
inlinestatic |
execute
- Parameters
-
imgIn | |
imgOut | |
scaleX | |
scaleY | |
- Returns
◆ execute() [3/3]
static Image* pic::FilterDownSampler2D::execute |
( |
Image * |
imgIn, |
|
|
Image * |
imgOut, |
|
|
float |
scaleXY |
|
) |
| |
|
inlinestatic |
execute
- Parameters
-
- Returns
◆ PreProcess()
◆ release()
PIC_INLINE void pic::FilterDownSampler2D::release |
( |
| ) |
|
|
virtual |
◆ flt
◆ height
int pic::FilterDownSampler2D::height |
|
protected |
◆ isg
◆ scale
float pic::FilterDownSampler2D::scale[2] |
|
protected |
◆ swh
bool pic::FilterDownSampler2D::swh |
|
protected |
◆ width
int pic::FilterDownSampler2D::width |
|
protected |
The documentation for this class was generated from the following file: