Click or drag to resize

IMcAlignmentAlignMethodFFT Property

Gives access to FFT alignment algorithm properties.

Namespace:  MediaCy.IQL.Align
Assembly:  MediaCy.IQL.Align (in MediaCy.IQL.Align.dll) Version: 10.0.6912.0
Syntax
VB
ReadOnly Property AlignMethodFFT As McAlignAlgFFT
	Get

Property Value

Type: McAlignAlgFFT
Remarks
The propery Alignment.AlignMethod should be set to mcAlignMethodUser for using user alignment algorithm.
Examples
VB
Sub FFTAlign()
'align active image using FFT algorithm
'the test image Dandelion_512.seq
With ThisApplication.ActiveImage.Alignment
'correct only translation
.AlignMethodFFT.DoRotation = False
.AlignMethodFFT.DoScaling = False
.AlignMethodFFT.DoTranslation = True
'use phase correlation
.AlignMethodFFT.CorrelationMethod = mcCorrelationFFTPhase
.AlignMethod = mcAlignMethodFFT
'use all frames of the active image
.SetSourceForAlignment
.CalculateAlignment
.CreateAlignedImage
End With
End Sub
See Also