ImageConvolution
Module used for basic image filtering with user-defined filter kernels.
Example XML definition
A simple example
<module class = "ImageConvolution" name = "SobelV" bias = "1.0" gain = "0.1" kernel = "1 0 -1; 2 0 -2; 1 0 -1" />
Parameters
Name | Description | Type | Default |
---|---|---|---|
class | The class name for the module; must be "ImageConvolution". | string | |
name | The name of this instance of the module. | string | |
scale | Factor to multiply each element of the output matrix | float | 1.0 |
bias | Value to add to each element in the output matrix. Added after the multiplication with the scale factor abov | float | 0.0 |
rectify | Should the result be rectified | bool | no |
kernel | Filter coefficients | matrix |
Module Connections
Inputs
Name | Description |
---|---|
INPUT | The input |
Outputs
Name | Description |
---|---|
OUTPUT | The output |
Author
Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science
Files
ImageConvolution.h
ImageConvolution.cc
ImageConvolution.ikc