ImageConvolution
This page describes a module in the upcoming version 1.2 of Ikaros and may not be correct for version 1.1
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"
size_x = "3"
size_y = "3"
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 |
| size_x | Size of the filter kernel | int | 0 |
| size_y | Size of the filter kernel | int | 0 |
| 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