Operators |
abs_invar_fourier_coeff — Normalizing of the Fourier coefficients with respect to the displacment of the starting point.
abs_invar_fourier_coeff is obsolete and is only provided for reasons of backward compatibility.
abs_invar_fourier_coeff( : : RealInvar, ImaginaryInvar, CoefP, CoefQ, AZInvar : RealAbsInvar, ImaginaryAbsInvar)
The operator abs_invar_fourier_coeff normalizes the Fourier coefficients with regard to the displacements of the starting point. These occur when an object is rotated. The contour tracer get_region_contour starts with recording the contour in the upper lefthand corner of the region and follows the contour clockwise. If the object is rotated, the starting value for the contour point chain is different which leads to a phase shift in the frequency space. The following two kinds of normalizing are available:
The phase information will be eliminated; the normalizing does not retain the structure, i.e. if the AZ-invariants are backtransformed, no similarity with the pattern can be recognized anymore.
AZ-invariants of the 1st order execute the normalizing with respect to displacing the starting point so that the structure is retained; they are however more prone to local and global disturbances, in particular to projective distortions.
For the input Fourier coefficients (RealInvar, ImaginaryInvar) only odd numbers of parameter values are allowed.
Real parts of the normalized Fourier coefficients.
Imaginary parts of the normalized Fourier coefficients.
Normalizing coefficients p.
Default value: 1
Suggested values: 1, 2
Restriction: CoefP >= 1
Normalizing coefficients q.
Default value: 1
Suggested values: 1, 2
Restriction: CoefQ >= 1 && CoefQ != CoefP
Order of the AZ-invariants.
Default value: 'abs_amount'
List of values: 'abs_amount' , 'az_invar1'
Real parts of the normalized Fourier coefficients.
Imaginary parts of the normalized Fourier coefficients.
get_region_contour(single,&row,&col); length_of_contour = length_tuple(row); move_contour_orig(row,col,&trow,&tcol); prep_contour_fourier(trow,tcol,"unsigned_area",¶m_scale); fourier_1dim(trow,tcol,param_scale,50,&frow,&fcol); invar_fourier_coeff(frow,fcol,1,"affine_invar",&invrow,&invcol); abs_invar_fourier_coeff(invrow,invcol,1,2,"az_invar1",&absrow,&abscol); fourier_1dim_inv(absrow,abscol,length_of_contour,&fsynrow,&fsyncol);
Foundation
Operators |