public HImage Process(HImage image) { HObject enhancedImage = null; HObject region = null; HDevelopExport.Singletone.EnhanceEdgeAreaH1403( image, out enhancedImage, out region, AreaLightDark.ToHalconString(), WidthMin, WidthMax, HeightMin, HeightMax, SortMode.ToHalconString(), Order.ToHalconString(), RowOrCol.ToHalconString(), SelectIndex, MeanMaskWidth, MeanMaskHeight ); region.Dispose(); return(new HImage(enhancedImage)); }
public HRegion Extract(HImage image) { HObject regionHObject; HDevelopExport.Singletone.GetRegionOfAntennaAroundOfS1423C(image, out regionHObject, LightDark.ToHalconString(), WidthMin, WidthMax, HeightMin, HeightMax, SortMode.ToHalconString(), Order.ToHalconString(), RowOrCol.ToHalconString(), SelectIndex, DilationWidth, DilationHeight); return(new HRegion(regionHObject)); }