Core Optical, Inc.
MorphologicalProcessor GetFourierDescriptors Method ( Contour , Int32)Industrial Strength, Scientific Grade
Gets an array of fourier shape descriptors based on the contours in the input array.

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

public FourierDescriptor[] GetFourierDescriptors(
	Contour[] contours,
	int NumberOfSamples


Type:  PrecisionImage.BinarizationAndMorphology Contour 
An OnlineArray of Contour objects from which the fourier shape descriptors are 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

An OnlineArray of FourierDescriptor objects encapsulating the computed fourier shape descriptors of the input contours.


Use this method to retrieve an array of FourierDescriptor objects computed based on the contours in the input array. All contours in the input array are resampled uniformly according to the NumberOfSamples specifier. This value must be a power of two integer or an exception will result. As a result, all returned FourierDescriptor objects have the same number of coefficients.
See Also