IConvolutionKernel2d.h
Go to the documentation of this file.
1 #ifndef iipr_IConvolutionKernel2d_included
2 #define iipr_IConvolutionKernel2d_included
3 
4 
5 // ACF includes
6 #include "istd/CIndex2d.h"
7 #include "iser/ISerializable.h"
8 
9 
10 namespace iipr
11 {
12 
13 
18 {
19 public:
23  virtual istd::CIndex2d GetKernelSize() const = 0;
24 
28  virtual void SetKernelSize(const istd::CIndex2d& kernelSize) = 0;
29 
33  virtual double GetKernelElement(const istd::CIndex2d& index) const = 0;
34 
39  virtual bool SetKernelElement(const istd::CIndex2d& index, double value) = 0;
40 };
41 
42 
43 } // namespace iipr
44 
45 
46 #endif // !iipr_IConvolutionKernel2d_included
47 
48 
virtual bool SetKernelElement(const istd::CIndex2d &index, double value)=0
Set kernel element value at the given position index.
virtual void SetKernelSize(const istd::CIndex2d &kernelSize)=0
Set size of this kernel.
Interface for 2D-convolution filter kernel.
virtual double GetKernelElement(const istd::CIndex2d &index) const =0
Get kernel element value at the given position index.
virtual istd::CIndex2d GetKernelSize() const =0
Get size of this kernel.

© 2007-2011 Witold Gantzke and Kirill Lepskiy