Click or drag to resize

IMcAlignmentGetAlignTransforms Method

Returns affine transforms of aligned frames.

Namespace:  MediaCy.IQL.Align
Assembly:  MediaCy.IQL.Align (in MediaCy.IQL.Align.dll) Version: 10.0.6912.0
Syntax
VB
Function GetAlignTransforms As Object

Return Value

Type: Object
Remarks
The transforms are relative to the previous frame.
Examples
VB
'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
See Also