Ejemplo n.º 1
0
 /// <summary>
 /// Initializes the top-hat filter.
 /// </summary>
 /// <param name="width">Filter width</param>
 /// <param name="height">Filter height</param>
 public TopHat(int width, int height)
 {
     opening = new Opening(width, height);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes the top-hat filter.
 /// </summary>
 /// <param name="size">Filter size</param>
 public TopHat(SizeInt size)
 {
     opening = new Opening(size);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes the top-hat filter.
 /// </summary>
 /// <param name="radius">Radius</param>
 public TopHat(int radius = 3)
 {
     opening = new Opening(radius);
 }