how to compute edge from gradient in an image?
2 ビュー (過去 30 日間)
古いコメントを表示
gradient of and image is gradient(f)=[∂f/∂x, ∂f/∂y]=[fx,fy] θ=arctan (fy / fx) ,|| f||gives the magnitude. The angle for edges is θ=arctan (-fx/ fy) We know,edges are perpendicular to gradient ,but how to calculate edges with angle and magnitude in matlab.
please help........
0 件のコメント
回答 (1 件)
Image Analyst
2013 年 5 月 6 日
Did you look in the help? Do you have the Image Processing Toolbox? Did you see imgradient() and imgradientxy()?
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!