1 #ifndef OPALS_CONVOLUTION_KERNEL_HPP_INCLUDED
2 #define OPALS_CONVOLUTION_KERNEL_HPP_INCLUDED
8 #include "opals/config.hpp"
9 #include "opals/Array.hpp"
10 #include "opals/Path.hpp"
11 #include "opals/Vector.hpp"
37 void setType(
const unsigned& type ) { _type = (KernelType) type; };
38 unsigned getType()
const {
return _type; };
40 void setSize(
const ArrayU2& size ) { _size = size; };
41 ArrayU2 getSize()
const {
return _size; };
43 void setKernelMatrix(
const KMatrix& kmat ) { _kmatrix = kmat; };
44 KMatrix getKernelMatrix()
const;
46 void setImageFilename(
const Path& imgfile );
47 opals::Path getImageFilename()
const {
return _imgfile;};
49 void setParam(
const Vector<float>& pars ) { _pars = pars; };
50 Vector<float> getParam()
const {
return _pars; };
61 #endif //OPALS_CONVOLUTION_KERNEL_HPP_INCLUDED