IMcAlignmentGetAlignTransforms Method |
![]() |
Namespace: MediaCy.IQL.Align
'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 = mcCorrelationFFTFull .AlignMethod = mcAlignMethodFFT 'use all frames of the active image .SetSourceForAlignment 'set reference frame .ReferenceFrame = 2 .CalculateAlignment Dim vTr 'get transforms vTr = .GetAlignTransforms Debug.Print GlobalTools.McToText(vTr).Value .CreateAlignedImage End With