Image Component Library (ICL)
|
Convolution using the ROI of an ICL image as its kernel \. More...
#include <DynamicConvolutionOp.h>
Public Member Functions | |
DynamicConvolutionOp (const core::ImgBase *poKernel=0) | |
Constructor. | |
~DynamicConvolutionOp () | |
Destructor. | |
void | setKernel (const core::ImgBase *poKernel) |
sets the Kernel for the Convolution | |
Private Attributes | |
core::Img< icl32f > * | poKernelBuf |
Convolution using the ROI of an ICL image as its kernel \.
Sometimes it is useful to use the ROI of an ICL image directly as the convolution kernel, e.g. for template matching. Because the ROI may be smaller than the image itself, the DynamicConvolution class maintains an internal buffer poKernelBuf of this ROI only. Its first channel is directly set as the (unbuffered) kernel data of the underlying Convolution class.
icl::filter::DynamicConvolutionOp::DynamicConvolutionOp | ( | const core::ImgBase * | poKernel = 0 | ) |
Constructor.
@ param poKernel Kernel for the Convolution
Destructor.
void icl::filter::DynamicConvolutionOp::setKernel | ( | const core::ImgBase * | poKernel | ) |
sets the Kernel for the Convolution