public HRegion Extract(HImage image) { HObject foundRegionObject; HDevelopExport.Singletone.GetBlobsByDynThreshold(image, out foundRegionObject, MeanMaskWidth, MeanMaskHeight, DynOffset, DynLightDark.ToHalconString()); var hRegion = new HRegion(foundRegionObject); return(hRegion); }
public HRegion Extract(HImage image) { HObject foundRegionObject; HDevelopExport.Singletone.GetBlobsByDynThresholdWithMean(image, out foundRegionObject, ZoomFactor, MedianRadius, DynMeanMaskWidth, DynMeanMaskHeight, DynOffset, DynLightDark.ToHalconString(), ClosingRadius, AreaMin, AreaMax, Rect2Length1Min, Rect2Length1Max ); var hRegion = new HRegion(foundRegionObject); return(hRegion); }