Basic Image AlgorithmS Library
2.8.0
|
#include <OpenCLFramework/Filter/clfGradientGauss.hh>
Public Member Functions | |
virtual int | Build (unsigned int size) |
int | Clear (float color, clfImage2D *image) |
clfGradientGauss (clfContext *ctx) | |
int | Filter (clfImage2D *src, clfImage2D *dst) |
double | GetRatio () const |
double | GetRatio () |
double | GetSigma () const |
double | GetSigma () |
void | SetRatio (const double ratio) |
void | SetSigma (const double si) |
void | SetWinSize (const int ws, bool AdjustSigma=true) |
define the half win size of the kernel, if AdjustSigma is true sigma is computed according to the cut-off ratio, otherwise the ratio is adapted to the sigma More... | |
virtual | ~clfGradientGauss () |
Protected Member Functions | |
virtual void | CalculateKernels_ (double Sigma, double Ratio) |
calculates the kernel More... | |
int | Filter_ (std::string name, clfImage2D *src, clfImage2D *dst, int blockX=16, int blockY=16) |
int | FilterSep_ (std::string nameX, std::string nameY, clfImage2D *src, clfImage2D *dst) |
int | SetFilter1D_ (unsigned int size, const float *mask) |
int | SetFilter_ (unsigned int size, const float *mask) |
int | SetFilterHoriz_ (unsigned int size, const float *mask) |
int | SetFilterVert_ (unsigned int size, const float *mask) |
Protected Attributes | |
clfContext * | context_ |
clfBuffer * | filterMask_ |
double | GaussRatio_ |
double | GaussSigma_ |
double | LastRatio_ |
double | LastSigma_ |
clfProgram * | program_ |
std::string | programName_ |
clfImage2D * | tmpImage_ |
unsigned int | winSize_ |
Definition at line 36 of file clfGradientGauss.hh.
BIAS::clfGradientGauss< InputStorageType, OutputStorageType >::clfGradientGauss | ( | clfContext * | ctx | ) |
Definition at line 36 of file clfGradientGauss.cpp.
References BIAS::clfProgram::AddKernel(), BIAS::clfContext::CreateBuffer(), BIAS::clfGauss< InputStorageType, OutputStorageType >::GaussRatio_, BIAS::clfGauss< InputStorageType, OutputStorageType >::GaussSigma_, and BIAS::clfFilter< InputStorageType, OutputStorageType >::program_.
|
virtual |
Definition at line 49 of file clfGradientGauss.cpp.
|
virtualinherited |
Reimplemented from BIAS::clfFilter< InputStorageType, OutputStorageType >.
Definition at line 69 of file clfGauss.cpp.
Referenced by BIAS::clfUnifiedMultilateralFilter::InitCredibilityFilter().
|
protectedvirtual |
calculates the kernel
Reimplemented from BIAS::clfGauss< InputStorageType, OutputStorageType >.
Definition at line 107 of file clfGradientGauss.cpp.
References BIAS::Vector< T >::GetData().
|
inherited |
Definition at line 113 of file clfFilter.cpp.
References BIAS::clfException::GetDetailedString(), and BIAS::clfImage2D::GetImageDim().
|
virtual |
Reimplemented from BIAS::clfGauss< InputStorageType, OutputStorageType >.
Definition at line 55 of file clfGradientGauss.cpp.
References BIAS::clfImage2D::GetImageDim().
Referenced by BIAS::clfUnifiedMultilateralFilter::Compute().
|
protectedinherited |
Definition at line 149 of file clfFilter.cpp.
References BIAS::clfException::GetDetailedString(), and BIAS::clfImage2D::GetImageDim().
|
protectedinherited |
Definition at line 134 of file clfFilter.cpp.
References BIAS::clfException::GetDetailedString().
Referenced by BIAS::clfGauss< InputStorageType, OutputStorageType >::Filter().
|
inlineinherited |
Definition at line 59 of file clfGauss.hh.
|
inlineinherited |
Definition at line 81 of file clfGauss.hh.
|
inlineinherited |
Definition at line 52 of file clfGauss.hh.
|
inlineinherited |
Definition at line 80 of file clfGauss.hh.
|
protectedinherited |
Definition at line 73 of file clfFilter.cpp.
References BIAS::clfException::GetDetailedString().
Referenced by BIAS::clfGradientGauss< InputStorageType, OutputStorageType >::SetFilterHoriz_().
|
protectedinherited |
Definition at line 59 of file clfFilter.cpp.
References BIAS::clfException::GetDetailedString().
Referenced by BIAS::clfGauss< InputStorageType, OutputStorageType >::CalculateKernels_().
|
protected |
Definition at line 101 of file clfGradientGauss.cpp.
References BIAS::clfFilter< InputStorageType, OutputStorageType >::SetFilter1D_().
|
protected |
Definition at line 86 of file clfGradientGauss.cpp.
References BIAS::clfException::GetDetailedString().
|
inlineinherited |
Definition at line 54 of file clfGauss.hh.
|
inlineinherited |
Definition at line 47 of file clfGauss.hh.
|
inlineinherited |
define the half win size of the kernel, if AdjustSigma is true sigma is computed according to the cut-off ratio, otherwise the ratio is adapted to the sigma
Definition at line 64 of file clfGauss.hh.
|
protectedinherited |
Definition at line 56 of file clfFilter.hh.
|
protectedinherited |
Definition at line 58 of file clfFilter.hh.
|
protectedinherited |
Definition at line 89 of file clfGauss.hh.
Referenced by BIAS::clfGauss< InputStorageType, OutputStorageType >::clfGauss(), and BIAS::clfGradientGauss< InputStorageType, OutputStorageType >::clfGradientGauss().
|
protectedinherited |
Definition at line 88 of file clfGauss.hh.
Referenced by BIAS::clfGauss< InputStorageType, OutputStorageType >::clfGauss(), and BIAS::clfGradientGauss< InputStorageType, OutputStorageType >::clfGradientGauss().
|
protectedinherited |
Definition at line 92 of file clfGauss.hh.
Referenced by BIAS::clfGauss< InputStorageType, OutputStorageType >::clfGauss().
|
protectedinherited |
Definition at line 91 of file clfGauss.hh.
Referenced by BIAS::clfGauss< InputStorageType, OutputStorageType >::clfGauss().
|
protectedinherited |
Definition at line 59 of file clfFilter.hh.
Referenced by BIAS::clfGauss< InputStorageType, OutputStorageType >::clfGauss(), and BIAS::clfGradientGauss< InputStorageType, OutputStorageType >::clfGradientGauss().
|
protectedinherited |
Definition at line 60 of file clfFilter.hh.
|
protectedinherited |
Definition at line 57 of file clfFilter.hh.
|
protectedinherited |
Definition at line 61 of file clfFilter.hh.