public GradientGrow(BitMap2d bmp, Int16Double seed, byte r) { this.bmp = bmp; this.seed = seed; this.r = r; container = new Container_Queue <Int16Double>(); flagsMap = new FlagMap2d(bmp.width, bmp.height); }
public Threshold(BitMap2d bmp, Int16Double seed, byte min, byte max) { this.bmp = bmp; this.seed = seed; this.min = min; this.max = max; container = new Container_Queue <Int16Double>(); flagsMap = new FlagMap2d(bmp.width, bmp.height); }
public Confidence(BitMap2d bmp, Int16Double seed, int iterTime, double factor, int radius) { this.bmp = bmp; this.seed = seed; this.factor = factor; this.radius = radius; this.iterTime = iterTime; container = new Container_Queue <Int16Double>(); container2 = new Container_Queue <Int16Double>(); flagsMap = new FlagMap2d(bmp.width, bmp.height); }
public void ExcuteSpanFill_Queue(BitMap3d data, Int16Triple seed) { watch.Start(); container = new Container_Queue <Span>(); base.ExcuteSpanFill(data, seed); watch.Stop(); report.time = watch.ElapsedMilliseconds; report.result_point_count = count; report.bmp_get_count = data.action_get_count; report.bmp_set_count = data.action_set_count; report.container_pop_count = container.action_pop_count; report.container_push_count = container.action_push_count; report.container_max_size = container.max_contain_count; report.flag_get_count = flagsMap.action_get_count; report.flag_set_count = flagsMap.action_set_count; return; }
public L_FloodFillBase() { queue = new Container_Queue <Int16Triple>(); }
public B_FloodFillBase() { queue = new Container_Queue <Int16TripleWithDirection>(); }