Rotating Mask of Sobel Opreator

18 views (last 30 days)
ibtisam kanaan
ibtisam kanaan on 21 Feb 2020
Answered: Image Analyst on 22 Feb 2020
hello,I need to get Sobel Mask in any angle I need>>How can I perfom This??

Answers (1)

Image Analyst
Image Analyst on 22 Feb 2020
Use imgradient(). It's the gradient so it's essentially the slope at all angles. Well not exactly but anyway, the edges it finds don't really depend on the angle of the edges like they do with the Sobel filter. Or you can use a DoG filter if your edges are smooth and rather large. It's better than Sobel which depends on the edges being on the scale of two pixels or so.

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!