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: 2.0.0.0 (2.0.0.0)
Syntax

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

Parameters

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

Remarks

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