IMcExtendedFocusVarianceThreshold Property
|
|
Defines the threshold for extracting in-focus pixels.
Namespace:
MediaCy.IQL.Align
Assembly:
MediaCy.IQL.Align (in MediaCy.IQL.Align.dll) Version: 10.0.6912.0
SyntaxProperty VarianceThreshold As Double
Get
Set
Property Value
Type:
Double
RemarksThe parameter is used only when FocusType is set to mceftLocalContrast.
The pixels (after edge filter) above the threshold are considered in-focus pixels. The pixels
with intensities below the threshold are considered out of focus pixels.
If for a given pixel position none of the frames contain edge intensities above the threshold,
the height of the pixel (in 3D) is assigned to the frame with closest in-focus pixel.
Examples
ThisApplication.ActiveImage.ExtendedFocus.VarianceThreshold = 80
ThisApplication.ActiveImage.ExtendedFocus.CreateBestFocusImage
See Also