/// <summary> /// Initializes the closing filter. /// </summary> /// <param name="size">Filter size</param> public Closing(SizeInt size) { erosion = new Erosion(size); dilatation = new Dilatation(size); }
/// <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); }
/// <summary> /// Initializes the closing filter. /// </summary> /// <param name="radius">Radius</param> public Closing(int radius = 3) { erosion = new Erosion(radius); dilatation = new Dilatation(radius); }
/// <summary> /// Initializes the edge glow filter. /// </summary> /// <param name="size">Filter size</param> public EdgeGlow(SizeInt size) { erosion = new Erosion(size); }
/// <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); }
/// <summary> /// Initializes the edge glow filter. /// </summary> /// <param name="radius">Radius</param> public EdgeGlow(int radius = 3) { erosion = new Erosion(radius); }