Produce edge detected images

How can I produce edge detected images with a function that is called with filters and detects edges in images.
The function should be called using the Laplacian of the Gaussian or Sobel filters of user-specified size and parameters. I need to apply filters of varying sizes.

Answers (1)

Image Analyst
Image Analyst on 30 Mar 2013
Have you take a look at imgradient() in the Image Processing Toolbox? Or you can do it yourself with conv2() or imfilter() if you have linear filters. If you have nonlinear filters you can use nlfilter() where you can use any weird function your heart desires.

This question is closed.

Asked:

on 30 Mar 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!