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

NameDescriptionTypeDefault
classThe class name for the module; must be "ImageConvolution".string
nameThe name of this instance of the module.string
scaleFactor to multiply each element of the output matrixfloat1.0
biasValue to add to each element in the output matrix. Added after the multiplication with the scale factor abovfloat0.0
rectifyShould the result be rectifiedboolno
kernelFilter coefficientsmatrix

Module Connections

Inputs

NameDescription
INPUTThe input

Outputs

NameDescription
OUTPUTThe output

Author

Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science

Files

ImageConvolution.h
ImageConvolution.cc
ImageConvolution.ikc

blog comments powered by Disqus