6#ifndef iipr_CConvolutionKernel2d_included
7#define iipr_CConvolutionKernel2d_included
Implementation of a general 2D convolution kernel.
CConvolutionKernel2d(const imath::ISampledFunction2d &function2d)
virtual bool SetKernelElement(const istd::CIndex2d &index, double value)
Set kernel element value at the given position index.
CConvolutionKernel2d(const istd::CIndex2d &kernelSize, double value=0)
virtual bool GetCombinedKernel(const IConvolutionKernel2d &kernel, IConvolutionKernel2d &result) const
Get some kernel beeing combination of this and some other kernel.
virtual istd::CIndex2d GetKernelSize() const
Get size of this kernel.
virtual double GetOffsetValue() const
Get offset value will be added to convolution result.
double GetKernelDistance(const IConvolutionKernel2d &kernel) const
CConvolutionKernel2d(const CConvolutionKernel2d &kernel)
virtual bool Serialize(iser::IArchive &archive)
Load or store state of this object as a archive stream.
virtual void SetKernelSize(const istd::CIndex2d &kernelSize, double value=0.0)
Set size of this kernel.
virtual bool TrySeparateKernels(IConvolutionKernel2d &result1, IConvolutionKernel2d &result2, int separationType=ST_AUTO, double tolerance=I_BIG_EPSILON) const
Try separate this kernel into two separated kernels.
virtual double GetKernelElement(const istd::CIndex2d &index) const
Get kernel element value at the given position index.
imath::CSampledFunction2d BaseClass
virtual bool SetOffsetValue(double offset)
Set offset value will be added to convolution result.
Interface for 2D-convolution filter kernel.
Implementation of the resampled 2D-function.
Interface for a resampled function with a regular grid design.
Represent input/output persistence archive.
Index implementation for addressing elements in 2D-space.
Contains the image processing classes.