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

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

public FourierDescriptor[] GetFourierDescriptors(
	BinaryObject[] binaryObjects,
	int NumberOfSamples
)

Parameters

binaryObjects
Type:  PrecisionImage.BinarizationAndMorphology BinaryObject 
An OnlineArray of type BinaryObject containing the objects whose fourier shape descriptors are to be determined.
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 binary object's outer contours.
Exceptions

Remarks

Use this method to retrieve an array of FourierDescriptor objects computed based on the outer contours of the input binary objects. All contours associated with the input binary objects 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