Click or drag to resize

IMcFourierDescriptorNormalizeFlags Property

Normalization flags of Fourier Descriptor.

Namespace:  MediaCy.IQL.Features
Assembly:  MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
Syntax
VB
Property NormalizeFlags As mcfdNormalizeFlags
	Get
	Set

Property Value

Type: mcfdNormalizeFlags
Remarks
The primary use for this transform is to normalize boundary shapes for translation, scale and/or rotation. This is accomplished by setting the values of NormalizeFlags to one or combination of mcfdNormalizeFlags values. Note that mcfdNormalizeRotation is ignored when OutputType is set to mcfdMagnitudeOnly, because Magnitude spectrum is already normalized by rotation as a result of FFT transform.
Examples
VB
Dim vFourierDescr
with ThisApplication.ActiveImage.RegionFeatures
'do not normalize by translation
.maRgnFourierDescriptor.NormalizeFlags = mcfdNormalizeRotation Or mcfdNormalizeScale
.maRgnFourierDescriptor.OutputType = mcfdRealImaginary
'use 64 points
.maRgnFourierDescriptor.NumElements = 64
'get array of Region Descriptor values
vFourierDescr = .maRgnFourierDescriptor.Value
end with
See Also