Filter2D

The Filter2D block convolves an image with the specified kernel.

    Filter2D

Library

ComputerVision/Images/Filters

Description

The Filter2D applies a non-separable 2D linear filter to an image.

For 1D signals, you can use the Filter 2D block to filter images with various low-pass filters (LPF) and high-pass filters (HPF).

Parameters

Filter2D_0

NameLabelDescriptionData TypeValid Values

kernel_x

Kernel X

Specifies the values used to define the convolution matrix on the output image.

Scalar

kernel_y

Kernel Y

Specifies the values used to define the convolution matrix on the output image.

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