Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 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);
 }
Ejemplo n.º 3
0
 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);
 }
Ejemplo n.º 4
0
 public Threshold_Ero(BitMap2d bmp, Int16Double seed, byte min, byte max, int radius)
     : base(bmp, seed, min, max)
 {
     this.radius = radius;
     InitRadiusRange();
 }