Click or drag to resize

IMcAlignmentAlignMethodUser Property

Gives access to user algorithm properties.

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

Property Value

Type: McAlignAlgUser
Remarks
The propery Alignment.AlignMethod should be set to mcAlignMethodUser for using user alignment algorithm.
Examples
VB
Sub UserAlign()
'align active image using User algorithm
'the test image Dandelion_512.seq
With ThisApplication.ActiveImage.Alignment
'correct regular horizontal image shift
.AlignMethodUser.PlaneShiftX = 7.5
.AlignMethodUser.PlaneShiftY = 0
.AlignMethod = mcAlignMethodUser
'use all frames of the active image
.SetSourceForAlignment
.CalculateAlignment
.CreateAlignedImage
End With
End Sub
See Also