Edge Detection I
Building the Cantata Workspace
- Get image $DIP/data/retina.viff and display it using operators
User defined and
Display Image.
- Perform edge detection in the width and height directions by using
two
Linear Operators
one with kernel $DIP/data/sobel_x.ascii and the other with kernel
$DIP/data/sobel_y.ascii. You can visualize these kernels using the
File Viewer operator. Display the both filter results. Verify that
both images contains positive and negative values.
- Take the magnitude of the gradient using the
Hypotenuse
operator applied to the width and height gradients.
Exercises
- Make a synthetic image with a white circle in a black background.
Take the magnitude Sobel detector operator using estimates with
absolute and euclidean values (using the Hypotenuse operator).
- Create a workspace to determine the Sobel gradient direction of
the circle image and of the retina image.
DIP Feedback Form