Sobel Filter
The Sobel Filter function block is utilized to apply edge detection to grayscale images through the Sobel operator, which enhances edges and outlines within the image.
π₯ Inputs
Image Gray
The grayscale image on which the Sobel filter will be applied.
π€ Outputs
Image Gray
The output image after the Sobel filter has been applied, highlighting edges.
πΉοΈ Controls
dx Order
A slider that determines the order of the derivative in the x-direction. The higher the value, the more sensitive the edge detection will be.
dy Order
A slider that sets the order of the derivative in the y-direction, which is similar to the dx Order
.
Aperture Size
A slider to select the size of the extended Sobel kernel, which influences the amount of smoothing applied before the edge detection process.
π¨ Features
Customizable Parameters
The block allows you to fine-tune the edge detection by adjusting the dx
and dy
orders as well as the aperture size.
Output Normalization
The output image is normalized to ensure that detected edges are clearly represented.
π Usage Instructions
Connect Input: Link a grayscale image to the
Image Gray
input.Adjust Controls: Use the sliders to set the desired values for
dx Order
,dy Order
, andAperture Size
.Evaluate: Run the block to apply the Sobel filter. The output will show the processed image with edges highlighted.
π Evaluation
This function block evaluates the input image by applying the Sobel operator and outputs an image highlighting the edges based on the selected parameters.
π‘ Tips and Tricks
π οΈ Troubleshooting
Last updated