Sobel filter with slider (GUI).

1 回表示 (過去 30 日間)
Maria Lopez
Maria Lopez 2013 年 6 月 11 日
回答済み: Jyoti Verma 2020 年 1 月 14 日
Hello, So, I am trying to use a slider to manipulate the sobel filter to modify an image. The problem is I have no clue how sobel works whatsoever. I am pretty much still new to matlab, but I would appreciate if someone can at least explain how sobel works. Thank you.

回答 (3 件)

Amith Kamath
Amith Kamath 2013 年 8 月 19 日
編集済み: Amith Kamath 2013 年 8 月 19 日
http://homepages.inf.ed.ac.uk/rbf/HIPR2/sobel.htm is a good introduction to the Sobel filter. It is essentially a Laplacian of Gaussian (LOG) filter which detects edges in your input image. http://www.mathworks.com/help/images/analyzing-images.html#f11-12512 may also help.

Image Analyst
Image Analyst 2013 年 8 月 19 日
The standard Sobel filter is done by the imgradient() function. That's a 3-by-3 filter. If you want to modify it, then you can choose a different size filter by using a LOG or DOG filter and conv2() or imfilter().

Jyoti Verma
Jyoti Verma 2020 年 1 月 14 日
Sobel Filter Edge Detection

Community Treasure Hunt

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

Start Hunting!

Translated by