HALCON Reference Manual 10.0.2
Name
sample_funct_1dT_sample_funct_1dsample_funct_1dSampleFunct1dSampleFunct1d — Sample a function equidistantly in an interval.
static void HOperatorSet.SampleFunct1d(HTuple function, HTuple XMin, HTuple XMax, HTuple XDist, HTuple border, out HTuple sampledFunction)
HFunction1D HFunction1D.SampleFunct1d(HTuple XMin, HTuple XMax, HTuple XDist, string border)
HFunction1D HFunction1D.SampleFunct1d(double XMin, double XMax, double XDist, string border)
sample_funct_1dsample_funct_1dsample_funct_1dSampleFunct1dSampleFunct1d samples the input function FunctionFunctionFunctionFunctionfunction
in the interval [XMinXMinXMinXMinXMin,XMaxXMaxXMaxXMaxXMax] at equidistant points
with the distance XDistXDistXDistXDistXDist. The last point lies in the
interval if XMaxXMaxXMaxXMaxXMax-XMinXMinXMinXMinXMin is not an integer multiple
of XDistXDistXDistXDistXDist. To obtain the samples, the input function is
interpolated linearly. The parameter BorderBorderBorderBorderborder determines the
values of the function FunctionFunctionFunctionFunctionfunction outside of its domain.
For BorderBorderBorderBorderborder='zero'"zero""zero""zero""zero" these values are set to 0, for
BorderBorderBorderBorderborder='constant'"constant""constant""constant""constant" they are set to the
corresponding value at the border, for
BorderBorderBorderBorderborder='mirror'"mirror""mirror""mirror""mirror" they are mirrored at the border,
and for BorderBorderBorderBorderborder='cyclic'"cyclic""cyclic""cyclic""cyclic" they are continued
cyclically.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
XMinXMinXMinXMinXMin (input_control) number → HTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong)
Minimum x value of the output function.
XMaxXMaxXMaxXMaxXMax (input_control) number → HTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong)
Maximum x value of the output function.
Restriction: XMax > XMin
XDistXDistXDistXDistXDist (input_control) number → HTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong)
Distance of the samples.
Restriction: XDist > 0
Border treatment for the input function.
Default value:
'constant'
"constant"
"constant"
"constant"
"constant"
List of values: 'zero'"zero""zero""zero""zero", 'constant'"constant""constant""constant""constant", 'mirror'"mirror""mirror""mirror""mirror", 'cyclic'"cyclic""cyclic""cyclic""cyclic"
transform_funct_1dtransform_funct_1dtransform_funct_1dTransformFunct1dTransformFunct1d,
create_funct_1d_arraycreate_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArray,
create_funct_1d_pairscreate_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairs
Foundation
| HALCON Reference Manual 10.0.2 |
Copyright © 1996-2011 MVTec Software GmbH |