Basic Image AlgorithmS Library
2.8.0
|
#include <OpenCLFramework/Filter/clfSimpleFilter.hh>
Public Member Functions | |
clfSimpleFilter (clfContext *ctx, std::string programName) | |
virtual int | Filter (clfImage2D *src, clfImage2D *dst) |
virtual int | FilterScale (clfImage2D *src, clfImage2D *dst, float scale) |
clfProgram * | GetProgram () |
void | SetProgram (std::string programName) |
virtual | ~clfSimpleFilter () |
Protected Attributes | |
clfContext * | context_ |
clfProgram * | program_ |
std::string | programName_ |
Definition at line 34 of file clfSimpleFilter.hh.
BIAS::clfSimpleFilter::clfSimpleFilter | ( | clfContext * | ctx, |
std::string | programName | ||
) |
Definition at line 30 of file clfSimpleFilter.cpp.
References BIAS::clfProgram::AddKernel(), BIAS::clfProgram::AddSource(), BIAS::clfProgram::Build(), context_, BIAS::clfContext::CreateProgram(), program_, and programName_.
|
virtual |
Definition at line 45 of file clfSimpleFilter.cpp.
References program_.
|
virtual |
Reimplemented in BIAS::clfResampleImage, BIAS::clfScaleImage, BIAS::clfExtractLocalMaxima, and BIAS::clfStructureTensor.
Definition at line 49 of file clfSimpleFilter.cpp.
References context_, BIAS::clfImage2D::GetImageDim(), BIAS::clfProgram::KernelSetArgument(), program_, programName_, and BIAS::clfContext::RunOn2DRange().
|
virtual |
Definition at line 58 of file clfSimpleFilter.cpp.
References context_, BIAS::clfImage2D::GetImageDim(), BIAS::clfProgram::KernelSetArgument(), program_, programName_, and BIAS::clfContext::RunOn2DRange().
|
inline |
Definition at line 43 of file clfSimpleFilter.hh.
void BIAS::clfSimpleFilter::SetProgram | ( | std::string | programName | ) |
Definition at line 39 of file clfSimpleFilter.cpp.
References BIAS::clfProgram::AddKernel(), program_, and programName_.
|
protected |
Definition at line 45 of file clfSimpleFilter.hh.
Referenced by clfSimpleFilter(), Filter(), BIAS::clfStructureTensor::Filter(), BIAS::clfExtractLocalMaxima::Filter(), BIAS::clfScaleImage::Filter(), BIAS::clfResampleImage::Filter(), and FilterScale().
|
protected |
Definition at line 46 of file clfSimpleFilter.hh.
Referenced by clfSimpleFilter(), Filter(), BIAS::clfStructureTensor::Filter(), BIAS::clfExtractLocalMaxima::Filter(), BIAS::clfScaleImage::Filter(), BIAS::clfResampleImage::Filter(), FilterScale(), SetProgram(), and ~clfSimpleFilter().
|
protected |
Definition at line 47 of file clfSimpleFilter.hh.
Referenced by clfSimpleFilter(), Filter(), BIAS::clfStructureTensor::Filter(), BIAS::clfExtractLocalMaxima::Filter(), BIAS::clfScaleImage::Filter(), BIAS::clfResampleImage::Filter(), FilterScale(), and SetProgram().