| Table of Contents / Tools / Function | Operators |
local_min_max_funct_1d — Calculate the local minimum and maximum points of a function.
local_min_max_funct_1d( : : Function, Mode, Interpolation : Min, Max)
local_min_max_funct_1d searches for the local minima Min and maxima Max of the function Function.
Since the function values are only known at discrete sampling points, the function can interpolated by parabolas between these points. Setting the parameter Interpolation to 'true', enables this feature. If Interpolation is 'false', extrema are always sampling points.
If Mode is set to 'strict_min_max', extrema are only calculated close to points with a function value that is strictly smaller or strictly greater than the values of its direct neighbors.
If Mode is set to 'plateaus_center', areas with a function value that is constant throughout several sampling points are also considered. If such an area is identified as being a flat extremum, its center coordinate is returned.
Input function
Handling of plateaus
Default value: 'strict_min_max'
List of values: 'strict_min_max', 'plateaus_center'
Interpolation of the input function
Default value: 'true'
List of values: 'true', 'false'
Minimum points of the input function
Maximum points of the input function
create_funct_1d_pairs, create_funct_1d_array, smooth_funct_1d_gauss, smooth_funct_1d_mean
Foundation
| Table of Contents / Tools / Function | Operators |
| HALCON Reference Manual 10.0.2 | Copyright © 1996-2011 MVTec Software GmbH |