Click or drag to resize

IMcLensApplyProperties Method

Apply the lens information properties.

Namespace:  MediaCy.IQL.Microscopy.Info
Assembly:  MediaCy.IQL.Microscopy.Info (in MediaCy.IQL.Microscopy.Info.dll) Version: 10.0.6912.0
Syntax
VB
Sub ApplyProperties ( 
	ImageOrFrame As Object
)

Parameters

ImageOrFrame
Type: SystemObject
Remarks
Applies the lens information properties to the image(s) or frame(s) specified. These properties are persisted with the image when the image is saved in the TIFF file format, and can be used by advanced algorithms that require detailed knowledge of the optical properties of the system, for instance deconvolution. Note that while the spatial calibration is related to the current objective or lens, it is also dependent on the active capture device and properties of capture such as resolution and binning. Consequently, the spatial calibration cannot be directly associated with the active lens.
Examples
VB
' load the lenses collection
Lenses.Path = "C:\IPWin51\Documents and Settings"
' if there's an active image, apply the 10X lens properties
If Not ThisApplication.ActiveImage Is Nothing Then
Lenses("10X").ApplyProperties ActiveImage
End If
See Also