ICF 3.1.1.10
Technical documentation of ICF Libraries
CConvolutionKernel2dComp.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#ifndef iipr_CConvolutionKernel2dComp_included
7#define iipr_CConvolutionKernel2dComp_included
8
9
10// ICF includes
13
14
15namespace iipr
16{
17
18
20{
21public:
24
25 I_BEGIN_COMPONENT(CConvolutionKernel2dComp);
26 I_REGISTER_INTERFACE(IConvolutionKernel2d);
27 I_REGISTER_INTERFACE(iser::ISerializable);
28 I_REGISTER_INTERFACE(imath::ISampledFunction2d);
29 I_ASSIGN_MULTI_0(m_kernelCoeffAttrPtr, "Kernel", "List of kernel coefficients", false);
30 I_ASSIGN(m_kernelWidthAttrPtr, "KernelWidth", "Width of the filter kernel", false, 0);
31 I_ASSIGN(m_kernelHeightAttrPtr, "KernelHeight", "Height of the filter kernel", false, 0);
32 I_END_COMPONENT;
33
34protected:
35 // reimplemented (icomp::CComponentBase)
36 void OnComponentCreated() override;
37
38private:
39 I_ATTR(int, m_kernelWidthAttrPtr);
40 I_ATTR(int, m_kernelHeightAttrPtr);
41 I_MULTIATTR(double, m_kernelCoeffAttrPtr);
42};
43
44
45} // namespace iipr
46
47
48#endif // !iipr_CConvolutionKernel2dComp_included
49
Base class for component implementation.
void OnComponentCreated() override
Implementation of a general 2D convolution kernel.
Interface for 2D-convolution filter kernel.
Interface for a resampled function with a regular grid design.
Common class for all classes which objects can be archived or restored from archive.
Contains the image processing classes.

© Witold Gantzke and Kirill Lepskiy