Core Optical, Inc.
MorphologicalProcessor GetFourierDescriptor Method Industrial Strength, Scientific Grade
Gets the fourier shape descriptor for the specified contour.

Namespace: PrecisionImage.BinarizationAndMorphology
Assembly: PrecisionImage (in PrecisionImage.dll) Version: (

public FourierDescriptor GetFourierDescriptor(
	Contour contour,
	int NumberOfSamples


Type: PrecisionImage.BinarizationAndMorphology Contour
A Contour object encapsulating the contour data from which the fourier shape descriptor is to be computed.
Type: OnlineSystem Int32
An OnlineInt32 type indicating the number of of samples to apply to the input Contour prior to computing the fourier descriptor. Must be a power of two integer.

Return Value

A FourierDescriptor type encapsualting the fourier shape coefficients.


Use this method to retrieve the fourier shape descriptor for the input Contour object, resampled according to the specified NumberOfSamples. This value must be a power of two integer or an exception will result. The results are encapsulated in a FourierDescriptor object. The fourier coefficients are stored in wrapped order with the DC term at index 0 and positive coefficients starting at index 1 and continuing up until index (N/2 - 1), where N is the number of fourier coefficients in the shape descriptor.
See Also