6#ifndef iipr_IConvolutionKernel2d_included
7#define iipr_IConvolutionKernel2d_included
Interface for 2D-convolution filter kernel.
virtual bool SetOffsetValue(double offset)=0
Set offset value will be added to convolution result.
virtual bool SetKernelElement(const istd::CIndex2d &index, double value)=0
Set kernel element value at the given position index.
virtual double GetOffsetValue() const =0
Get offset value will be added to convolution result.
@ ST_HOR_VERT
Separation to horizontal and vertical kernels.
virtual bool TrySeparateKernels(IConvolutionKernel2d &result1, IConvolutionKernel2d &result2, int separationType=ST_AUTO, double tolerance=I_BIG_EPSILON) const =0
Try separate this kernel into two separated kernels.
virtual istd::CIndex2d GetKernelSize() const =0
Get size of this kernel.
virtual double GetKernelElement(const istd::CIndex2d &index) const =0
Get kernel element value at the given position index.
virtual bool GetCombinedKernel(const IConvolutionKernel2d &kernel, IConvolutionKernel2d &result) const =0
Get some kernel beeing combination of this and some other kernel.
virtual void SetKernelSize(const istd::CIndex2d &kernelSize, double value=0.0)=0
Set size of this kernel.
Common class for all classes which objects can be archived or restored from archive.
Index implementation for addressing elements in 2D-space.
Contains the image processing classes.