ThresholdOperatorsHistogram Method |
![]() |
Namespace: MediaCy.IQL.Operators
<ExtensionAttribute> Public Shared Function Histogram ( thres As McThreshold ) As McHistogram
'Detect bright regions using the maximum intensity resolution With ThisApplication.ActiveImage.RegionFeatures.Threshold .Monochrome = True 'do an intensity threshold, not a color one .AutoFindPhase = mcfpBrightest 'will find brightest regions .Histogram.BinCount = .Histogram.MaxBinCount 'set to max bin count .Execute 'find thresholds and set the region features End With