Beispiel #1
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);
 }
Beispiel #2
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);
 }
Beispiel #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);
 }
Beispiel #4
0
 /// <summary>
 /// Initializes the edge glow filter.
 /// </summary>
 /// <param name="size">Filter size</param>
 public EdgeGlow(SizeInt size)
 {
     erosion = new Erosion(size);
 }
Beispiel #5
0
 /// <summary>
 /// Initializes the edge glow filter.
 /// </summary>
 /// <param name="width">Filter width</param>
 /// <param name="height">Filter height</param>
 public EdgeGlow(int width, int height)
 {
     erosion = new Erosion(width, height);
 }
Beispiel #6
0
 /// <summary>
 /// Initializes the edge glow filter.
 /// </summary>
 /// <param name="radius">Radius</param>
 public EdgeGlow(int radius = 3)
 {
     erosion = new Erosion(radius);
 }