Filter2D
The Filter2D block convolves an image with the specified kernel.
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
Name | Label | Description | Data Type | Valid 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 |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
src | explicit | input | 1 | |
image | explicit | output | 1 | |
Port 3 | activation | input | externalActivation |