IMcAlignmentAlignMethodFFT Property |
![]() |
Namespace: MediaCy.IQL.Align
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