Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
BIAS::clfFilter< InputStorageType, OutputStorageType > Class Template Reference

#include <OpenCLFramework/Filter/clfFilter.hh>

+ Inheritance diagram for BIAS::clfFilter< InputStorageType, OutputStorageType >:
+ Collaboration diagram for BIAS::clfFilter< InputStorageType, OutputStorageType >:

Public Member Functions

virtual int Build (unsigned int size)
 
int Clear (float color, clfImage2D *image)
 
 clfFilter (clfContext *ctx)
 
int Filter (clfImage2D *src, clfImage2D *dst)
 
virtual ~clfFilter ()
 

Protected Member Functions

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)
 

Protected Attributes

clfContextcontext_
 
clfBufferfilterMask_
 
clfProgramprogram_
 
std::string programName_
 
clfImage2DtmpImage_
 
unsigned int winSize_
 

Detailed Description

template<class InputStorageType, class OutputStorageType>
class BIAS::clfFilter< InputStorageType, OutputStorageType >

Definition at line 36 of file clfFilter.hh.

Constructor & Destructor Documentation

template<class InputStorageType , class OutputStorageType >
BIAS::clfFilter< InputStorageType, OutputStorageType >::clfFilter ( clfContext ctx)

Definition at line 35 of file clfFilter.cpp.

References BIAS::clfContext::CreateImage2D().

template<class InputStorageType , class OutputStorageType >
BIAS::clfFilter< InputStorageType, OutputStorageType >::~clfFilter ( )
virtual

Definition at line 51 of file clfFilter.cpp.

Member Function Documentation

template<class InputStorageType , class OutputStorageType >
int BIAS::clfFilter< InputStorageType, OutputStorageType >::Build ( unsigned int  size)
virtual
template<class InputStorageType , class OutputStorageType >
int BIAS::clfFilter< InputStorageType, OutputStorageType >::Clear ( float  color,
clfImage2D image 
)
template<class InputStorageType , class OutputStorageType >
int BIAS::clfFilter< InputStorageType, OutputStorageType >::Filter ( clfImage2D src,
clfImage2D dst 
)

Definition at line 100 of file clfFilter.cpp.

References BIAS::clfException::GetDetailedString().

template<class InputStorageType , class OutputStorageType >
int BIAS::clfFilter< InputStorageType, OutputStorageType >::Filter_ ( std::string  name,
clfImage2D src,
clfImage2D dst,
int  blockX = 16,
int  blockY = 16 
)
protected
template<class InputStorageType , class OutputStorageType >
int BIAS::clfFilter< InputStorageType, OutputStorageType >::FilterSep_ ( std::string  nameX,
std::string  nameY,
clfImage2D src,
clfImage2D dst 
)
protected
template<class InputStorageType , class OutputStorageType >
int BIAS::clfFilter< InputStorageType, OutputStorageType >::SetFilter1D_ ( unsigned int  size,
const float *  mask 
)
protected
template<class InputStorageType , class OutputStorageType >
int BIAS::clfFilter< InputStorageType, OutputStorageType >::SetFilter_ ( unsigned int  size,
const float *  mask 
)
protected

Member Data Documentation

template<class InputStorageType, class OutputStorageType>
clfContext* BIAS::clfFilter< InputStorageType, OutputStorageType >::context_
protected

Definition at line 56 of file clfFilter.hh.

template<class InputStorageType, class OutputStorageType>
clfBuffer* BIAS::clfFilter< InputStorageType, OutputStorageType >::filterMask_
protected

Definition at line 58 of file clfFilter.hh.

template<class InputStorageType, class OutputStorageType>
clfProgram* BIAS::clfFilter< InputStorageType, OutputStorageType >::program_
protected
template<class InputStorageType, class OutputStorageType>
std::string BIAS::clfFilter< InputStorageType, OutputStorageType >::programName_
protected

Definition at line 60 of file clfFilter.hh.

template<class InputStorageType, class OutputStorageType>
clfImage2D* BIAS::clfFilter< InputStorageType, OutputStorageType >::tmpImage_
protected

Definition at line 57 of file clfFilter.hh.

template<class InputStorageType, class OutputStorageType>
unsigned int BIAS::clfFilter< InputStorageType, OutputStorageType >::winSize_
protected

Definition at line 61 of file clfFilter.hh.


The documentation for this class was generated from the following files: