Erode

Block Category: Filter

Input Image Format

Input Image Requirements: None

Description: The Erode block erodes an image using a specific structuring element. As the kernel passes over the image, bright regions within the image get thinner (erode).

Kernel Size: Specifies the Gaussian kernel size by width and height. The values must be odd, positive integers. For example, 9 x 9 or 5 x 3.

Type

Cross: Indicates that a cross-shaped structuring element is specified.

Ellipse: Indicates that an ellipse-shaped structuring element is specified.

Rectangle: Indicates that a rectangular-shaped structuring element is specified.

Example

In the following example, the letter j is eroded with a 19 x 19 structuring element. To improve viewing, the image is inverted and displayed on a black background.

ErodeExample