| Table of Contents / Tools / Function | Operators |
transform_funct_1d — Transform a function using given transformation parameters.
transform_funct_1d( : : Function, Params : TransformedFunction)
transform_funct_1d transforms the input function Function using the transformation parameters given in Params. The function Function is passed as a tuple (see create_funct_1d_array and create_funct_1d_pairs). The following model is used for the transformation between the two functions (see match_funct_1d_trans):
yt(x) = a1*y(a3*x+a4)+a2 .
The output function TransformedFunction is obtained by transforming the x and y values of the input function separately with the above formula, i.e., the output function is not sampled again. Therefore, the parameter 3 is restricted to a3!=0.0. To resample a function, the operator sample_funct_1d can be used.
Input function.
Transformation parameters between the functions.
Number of elements: 4
Transformed function.
create_funct_1d_pairs, create_funct_1d_array, match_funct_1d_trans
Foundation
| Table of Contents / Tools / Function | Operators |
| HALCON Reference Manual 10.0.2 | Copyright © 1996-2011 MVTec Software GmbH |