Erode

The Erode block erodes an image using a specific structuring element.

    Erode

Library

ComputerVision/Images/Filters

Description

As the kernel passes over the image, bright regions within the image get thinner (erode).

Parameters

Erode_0

NameLabelDescriptionData TypeValid Values

erosionType

Erosion 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.

String

'Rectangle'
'Cross'
'Ellipse'

kernel_x

Kernel x

Specifies the Gaussian kernel size by width.

Scalar

kernel_y

Kernel y

Specifies the Gaussian kernel size by height.

Scalar

externalActivation

External activation

This parameter defines if the block receives or inherits an external activation. When External Activation is used, an additional activation port is added to the block. Default is OFF.

Number

0
1

Ports

NameTypeDescriptionIO TypeNumber

src

explicit

input

1

image

explicit

output

1

Port 3

activation

input

externalActivation