Class describing different kernels for convolution filtering. More...
#include "ConvolutionKernel.hpp"
Public Types | |
enum | KernelType { average = 0, gaussian, fromFile, userDefined } |
typedef Array< unsigned, 2 > | ArrayU2 |
size array | |
typedef Vector< float > | KMatrix |
kernel matrix as vector of floats | |
Public Member Functions | |
void | setType (const unsigned &type) |
unsigned | getType () const |
void | setSize (const ArrayU2 &size) |
ArrayU2 | getSize () const |
void | setKernelMatrix (const KMatrix &kmat) |
KMatrix | getKernelMatrix () const |
void | setImageFilename (const Path &imgfile) |
opals::Path | getImageFilename () const |
void | setParam (const Vector< float > &pars) |
Vector< float > | getParam () const |
Protected Attributes | |
KernelType | _type |
ArrayU2 | _size |
KMatrix | _kmatrix |
Path | _imgfile |
Vector< float > | _pars |
Class describing different kernels for convolution filtering.