52 enum Mode {BEST, GPU, CPU};
64 BilateralFilterOp(
int radius,
float sigma_s,
float sigma_r,
bool _use_lab =
true, Mode mode = BEST, Method method = GAUSS);
83 void setRadius(
int radius) { this->radius = radius; }
85 void setSigmaS(
float sigmaS) { this->sigma_s = sigmaS; }
87 void setSigmaR(
float sigmaR) { this->sigma_r = sigmaR; }
89 void setUseLAB(
bool _use_lab) { this->use_lab = _use_lab; }
undocument this line if you encounter any issues!
Definition: Any.h:37
Class interface for un-copyable classes.
Definition: Uncopyable.h:64
Method _method
Bilateral filter method used.
Definition: BilateralFilterOp.h:107
Mode
Definition: BilateralFilterOp.h:52
Method
Definition: BilateralFilterOp.h:53
void setSigmaR(float sigmaR)
Sets the sigma_r component.
Definition: BilateralFilterOp.h:87
void setRadius(int radius)
Sets the kernel radius.
Definition: BilateralFilterOp.h:83
Abstract Base class for Unary Operators.
Definition: UnaryOp.h:51
float getSigmaR()
Definition: BilateralFilterOp.h:93
ICLQt_API core::Img< T > filter(const core::Img< T > &image, const std::string &filter)
applies a filter operation on the source image (affinity for float)
float getSigmaS()
Definition: BilateralFilterOp.h:92
bool use_lab
Definition: BilateralFilterOp.h:99
void setUseLAB(bool _use_lab)
Sets whether to use lab-color space or rgb.
Definition: BilateralFilterOp.h:89
int radius
Kernel radius.
Definition: BilateralFilterOp.h:101
float sigma_r
“Minimum” amplitude of an edge
Definition: BilateralFilterOp.h:105
#define ICLFilter_API
Definition: CompatMacros.h:175
Impl * impl
internal data type derived from Impl
Definition: BilateralFilterOp.h:113
void setSigmaS(float sigmaS)
Sets the sigma_s component.
Definition: BilateralFilterOp.h:85
virtual void apply(const core::ImgBase *operand1, core::ImgBase **dst)=0
pure virtual apply function, that must be implemented in all derived classes
BilateralFilterICL class Gaussian bilateral filtering Implements the gaussian bilateral filtering lik...
Definition: BilateralFilterOp.h:48
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131
float sigma_s
Spatial extent of the kernel, size of the considered neighborhood.
Definition: BilateralFilterOp.h:103
int getRadius()
Definition: BilateralFilterOp.h:91