Edge Detection I

Building the Cantata Workspace


  1. Get image $DIP/data/retina.viff and display it using operators User defined and Display Image.
  2. 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.
  3. Take the magnitude of the gradient using the Hypotenuse operator applied to the width and height gradients.

Exercises


DIP Feedback Form

Copyright © 1995 KRI, ISTEC, Ramiro Jordán, Roberto Lotufo. All Rights Reserved.