Threshold
Module used to apply a threshold to each element of its input. When the input is below the threshold, the output is 0. When the input is above the threshold, the output is 1 in binary mode, and input - threshold in linear mode.
Example XML definition
Example
<module class = "Threshold" name = "Threshold" type = "binary" threshold = "0.5" />
Parameters
Name | Description | Type | Default |
---|---|---|---|
class | The class name for the module; must be "Threshold". | string | |
name | The name of this instance of the module. | string | |
threshold | The threshold value | float | 0.0 |
type | The threshold value | choices: binary linear | binary |
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
Threshold.h
Threshold.cc
Threshold.ikc