Differentiator

This page describes a module in the upcoming version 1.2 of Ikaros and may not be correct for version 1.1

Module used to differentiate its input over time. The output is calculated as, output(t) = input(t) - input(t-1) The module retains the size of the input even if it is a matrix. The module can thus be used to differentiate images.

Example XML definition

Example

  <module
      class = "Differentiator"
      name = "Differentiator"
  />

Parameters

NameDescriptionTypeDefault
classThe class name for the module; must be "Differentiator".string
nameThe name of this instance of the module.string
rectifyShould the output be rectified after subtraction?boolno
gainThe output is multiplied with this factorfloat1.0
reset_period?int1

Module Connections

Inputs

NameDescription
INPUTThe input

Outputs

NameDescription
OUTPUTThe differentiated output

Author

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

Files

Differentiator.h
Differentiator.cc
Differentiator.ikc