Exemplo n.º 1
0
 /// <summary>
 /// Initializes the closing filter.
 /// </summary>
 /// <param name="width">Filter width</param>
 /// <param name="height">Filter height</param>
 public Closing(int width, int height)
 {
     erosion    = new Erosion(width, height);
     dilatation = new Dilatation(width, height);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes the closing filter.
 /// </summary>
 /// <param name="size">Filter size</param>
 public Closing(SizeInt size)
 {
     erosion    = new Erosion(size);
     dilatation = new Dilatation(size);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes the closing filter.
 /// </summary>
 /// <param name="radius">Radius</param>
 public Closing(int radius = 3)
 {
     erosion    = new Erosion(radius);
     dilatation = new Dilatation(radius);
 }