SobelEdge
The SobelEdge block detects the edges of an image in both the horizontal and vertical directions with the detected edges bright on a dark background.
Library
ComputerVision/Images/Detection
Description
The Sobel operator is a discrete differentiation operator. It combines Gaussian smoothing and differentiation, and computes an approximation of the gradient of the image intensity function.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
dx | dX | Indicates an integer variable representing the x-derivative. | Scalar | |
dy | dY | Indicates an integer variable representing the y-derivative. | Scalar | |
ksize | Kernel Size | Specifies a value used to extend the Sobel kernel. The value must be odd and positive and less than 32. | Scalar | |
scale | Scale | Indicates the scale value for the computed derivative values. The scale value helps to visualize a derivative in an image. | Scalar | |
delta | Delta | Specifies a value used to vary the pixel intensity. The delta value is added to the results prior to storing them in the output. | 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 |