Click or drag to resize

IMcAlignmentCalculateAlignment Method

Calculates alignment parameters according to the selected method.

Namespace:  MediaCy.IQL.Align
Assembly:  MediaCy.IQL.Align (in MediaCy.IQL.Align.dll) Version: 10.0.6912.0
Syntax
VB
Sub CalculateAlignment
Remarks
The alignment is calculated on the set of frames set by SetSourceForAlignment method. The number of frames in the set has to be more than 1. The result image can be created calling CreateAlignedImage after CalculateAlignment.
Examples
VB
With ThisApplication.ActiveImage.Alignment
'use phase correlation
.AlignMethodFFT.CorrelationMethod = mcCorrelationFFTFull
.AlignMethod = mcAlignMethodFFT
'use all frames of the active image
.SetSourceForAlignment
.CalculateAlignment
.CreateAlignedImage
End With
See Also