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.
Rotating Mask of Sobel Opreator
16 次查看(过去 30 天)
显示 更早的评论
hello,I need to get Sobel Mask in any angle I need>>How can I perfom This??
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!