Maxima
A module that marks the maxima in its input. It also produces a list of the maxima in a separate output called POINTS.
Example XML definition
Example
<module class = "Maxima" name = "Maxima" />
Parameters
Name | Description | Type | Default |
---|---|---|---|
class | The class name for the module; must be "Maxima". | string | |
name | The name of this instance of the module. | string | |
max_points | Max number of points | int | 10 |
threshold | Discard points below this value | float | 0 |
sort_points | Sort points in list according to magnitude of the maxima | bool | no |
Module Connections
Inputs
Name | Description |
---|---|
INPUT | The input |
Outputs
Name | Description |
---|---|
OUTPUT | Output with 1:a at the local maxima |
POINTS | List of maxima. Each line contains x, y, m, where m is the value at the corerspodning maximum |
POINT_COUNT | Number of maxima in the points list. |
Author
Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science
Files
Maxima.h
Maxima.cc
Maxima.ikc