The FilterBilateral2DS class.
More...
#include <filter_bilateral_2ds.hpp>
|
| FilterBilateral2DS () |
| FilterBilateral2DS. More...
|
|
| ~FilterBilateral2DS () |
|
| FilterBilateral2DS (std::string nameFile, float sigma_r) |
| FilterBilateral2DS. More...
|
|
| FilterBilateral2DS (float sigma_s, float sigma_r, int mult, SAMPLER_TYPE type) |
| FilterBilateral2DS. More...
|
|
void | update (float sigma_s, float sigma_r, int mult, SAMPLER_TYPE type) |
| update More...
|
|
std::string | signature () |
| signature More...
|
|
bool | Write (std::string filename) |
| Write. More...
|
|
bool | Read (std::string filename) |
| Read. More...
|
|
| Filter () |
| Filter. More...
|
|
| ~Filter () |
|
virtual void | release () |
| release More...
|
|
virtual void | changePass (int pass, int tPass) |
| changePass changes the pass direction. 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...
|
|
virtual void | OutputSize (ImageVec imgIn, int &width, int &height, int &channels, int &frames) |
| OutputSize. 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...
|
|
◆ FilterBilateral2DS() [1/3]
pic::FilterBilateral2DS::FilterBilateral2DS |
( |
| ) |
|
|
inline |
◆ ~FilterBilateral2DS()
pic::FilterBilateral2DS::~FilterBilateral2DS |
( |
| ) |
|
|
inline |
◆ FilterBilateral2DS() [2/3]
PIC_INLINE pic::FilterBilateral2DS::FilterBilateral2DS |
( |
std::string |
nameFile, |
|
|
float |
sigma_r |
|
) |
| |
◆ FilterBilateral2DS() [3/3]
◆ execute() [1/2]
static Image* pic::FilterBilateral2DS::execute |
( |
Image * |
imgIn, |
|
|
float |
sigma_s, |
|
|
float |
sigma_r |
|
) |
| |
|
inlinestatic |
execute
- Parameters
-
- Returns
◆ execute() [2/2]
static Image* pic::FilterBilateral2DS::execute |
( |
Image * |
imgIn, |
|
|
Image * |
imgEdge, |
|
|
float |
sigma_s, |
|
|
float |
sigma_r |
|
) |
| |
|
inlinestatic |
execute
- Parameters
-
imgIn | |
imgEdge | |
sigma_s | |
sigma_r | |
- Returns
◆ getK()
static float pic::FilterBilateral2DS::getK |
( |
int |
kernelSize | ) |
|
|
inlinestatic |
◆ getK2()
static float pic::FilterBilateral2DS::getK2 |
( |
int |
kernelSize | ) |
|
|
inlinestatic |
◆ precomputeKernels()
static void pic::FilterBilateral2DS::precomputeKernels |
( |
| ) |
|
|
inlinestatic |
PrecomputedKernels.
precomputeKernels
◆ ProcessBBox()
◆ Read()
PIC_INLINE bool pic::FilterBilateral2DS::Read |
( |
std::string |
filename | ) |
|
◆ signature()
std::string pic::FilterBilateral2DS::signature |
( |
| ) |
|
|
inlinevirtual |
◆ update()
update
- Parameters
-
sigma_s | |
sigma_r | |
mult | |
type | |
◆ Write()
PIC_INLINE bool pic::FilterBilateral2DS::Write |
( |
std::string |
filename | ) |
|
Write.
- Parameters
-
- Returns
◆ ms
◆ nSamples
int pic::FilterBilateral2DS::nSamples |
|
protected |
◆ pg
◆ seed
int pic::FilterBilateral2DS::seed |
|
protected |
◆ sigma_r
float pic::FilterBilateral2DS::sigma_r |
|
protected |
◆ sigma_r_sq_2
float pic::FilterBilateral2DS::sigma_r_sq_2 |
|
protected |
◆ sigma_s
float pic::FilterBilateral2DS::sigma_s |
|
protected |
The documentation for this class was generated from the following file: