CConvolutionKernel2d.h
Go to the documentation of this file.
1 #ifndef iipr_CConvolutionKernel2d_included
2 #define iipr_CConvolutionKernel2d_included
3 
4 
5 // ACF includes
7 
8 // IACF includes
10 
11 
12 namespace iipr
13 {
14 
15 
22  virtual public imath::CSampledFunction2d,
23  virtual public IConvolutionKernel2d
24 {
25 public:
27 
30 
31  // reimplemented (iipr::IConvolutionKernel2d)
32  virtual istd::CIndex2d GetKernelSize() const;
33  virtual void SetKernelSize(const istd::CIndex2d& kernelSize);
34  virtual double GetKernelElement(const istd::CIndex2d& index) const;
35  virtual bool SetKernelElement(const istd::CIndex2d& index, double value);
36 
37  // reimplemented (iser::ISerializable)
38  virtual bool Serialize(iser::IArchive& archive);
39  virtual quint32 GetMinimalVersion(int versionId) const;
40 };
41 
42 
43 } // namespace iipr
44 
45 
46 #endif // !iipr_CConvolutionKernel2d_included
47 
virtual void SetKernelSize(const istd::CIndex2d &kernelSize)
Set size of this kernel.
virtual istd::CIndex2d GetKernelSize() const
Get size of this kernel.
imath::CSampledFunction2d BaseClass
virtual bool SetKernelElement(const istd::CIndex2d &index, double value)
Set kernel element value at the given position index.
Interface for 2D-convolution filter kernel.
virtual bool Serialize(iser::IArchive &archive)
Implementation of a general 2D convolution kernel.
virtual quint32 GetMinimalVersion(int versionId) const
virtual double GetKernelElement(const istd::CIndex2d &index) const
Get kernel element value at the given position index.

© 2007-2011 Witold Gantzke and Kirill Lepskiy