create_param_cont ( : : Rows, Columns, ParType : ParContour )
Parameterizes the passed contour.
The operator create_param_cont parameterizes the
transmitted contour in order to prepare it for the one dimensional
Fourier transformation. Hereby the contour must be available
in closed form. Three parameter functions are available for
the control parameter ParType:
arc: Parameterization by the radian.
signed_area: Parameterization by the signed area.
unsigned_area: Parameterization by the absolute area.
Please note that of the affine mapping of the radian will not
be transformed linearly in contrast to the signed respectively
unsigned area.
Parameters
Rows (input_control)
|
contour.y-array -> integer
|
Row indices of the contour. |
Columns (input_control)
|
contour.x-array -> integer
|
Column indices of the contour. |
ParType (input_control)
|
string -> string
|
Kind of parameterization. |
Default value: 'signed_area' |
Suggested values: 'arc', 'unsigned_area', 'signed_area' |
ParContour (output_control)
|
real-array -> real
|
Parameterized contour. |
Example
fetch_contur(single,&row,&col);
move_contour_orig(row,col,&trow,&tcol);
create_param_cont(trow,tcol,"unsigned_area",¶m_scale);
fourier_1dim(trow,tcol,param_scale,&frow,&fcol);
Possible Predecessors
move_contour_orig
Possible Successors
fourier_1dim
Copyright © 1996-1997 MVTec Software GmbH