prep_contour_fourier ( : : Rows, Columns, TransMode : ParContour )

Parameterize the passed contour.

The operator prep_contour_fourier 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 TransMode: arc: Parameterization by the radian. signed_area: Parameterization by the signed area. unsigned_area: Parameterization by the absolute area. Please note that in contrast to the signed or unsigned area the affine mapping of the radian will not be transformed linearly.


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.

TransMode (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 (Syntax: C++)
get_region_contour(single,&row,&col);
move_contour_orig(row,col,&trow,&tcol);
prep_contour_fourier(trow,tcol,"unsigned_area",&param_scale);
fourier_1dim(trow,tcol,param_scale,&frow,&fcol);

Parallelization Information

prep_contour_fourier is reentrant and processed without parallelization.


Possible Predecessors

move_contour_orig


Possible Successors

fourier_1dim


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH