fourier_1dim_inv ( : : RealCoef, ImaginaryCoef, MaxCoef : Rows, Columns )
One dimensional Fourier synthesis (inverse Fourier transform).
Backtransformation of Fourier coefficients respectively of Fourier
descriptors. The number of values to be backtransformed should not
exceed the length of the transformed contour.
Parameters
RealCoef (input_control)
|
real-array -> real
|
Real parts. |
ImaginaryCoef (input_control)
|
real-array -> real
|
Imaginary parts. |
MaxCoef (input_control)
|
integer -> integer
|
Input of the steps for the backtransformation. |
Default value: 100 |
Suggested values: 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 90, 100, 150, 200, 400 |
Restriction: MaxCoef >= 1 |
Rows (output_control)
|
contour.y-array -> real
|
Row coordinates. |
Columns (output_control)
|
contour.x-array -> real
|
Column coordinates. |
Example
fetch_contur(single,&row,&col);
length_of_contour = row.Num();
move_contour_orig(row,col,&trow,&tcol);
create_param_cont(trow,tcol,"unsigned_area",¶m_scale);
fourier_1dim(trow,tcol,param_scale,50,&frow,&fcol);
invariances(frow,fcol,1,"affine_invar",&invrow,&invcol);
absolute_invariant(invrow,invcol,1,2,"az_invar1",&absrow,&abscol);
fourier_1dim_inv(absrow,abscol,length_of_contour,&fsynrow,&fsyncol);
Possible Predecessors
invariances,
invariances,
fourier_1dim
Possible Successors
disp_polygon
Copyright © 1996-1997 MVTec Software GmbH