フィルターのクリア

custom mask size for canny edge detection

2 ビュー (過去 30 日間)
John Snow
John Snow 2014 年 1 月 6 日
コメント済み: John Snow 2014 年 1 月 7 日
Task: To perform on an image canny edge detection with sigma = 2 , threshold = 0.05~0.15 , mask size is 13*13
My code
f = edge(img ,'canny',[0.05 0.15],2);
Question: How to change the code in order to make the mask size for the canny edge detection = 13*13?

採用された回答

Image Analyst
Image Analyst 2014 年 1 月 7 日
That's not a parameter you can change with the edge function. Why do you think you need to? What's wrong with the edges it gave you?
  2 件のコメント
John Snow
John Snow 2014 年 1 月 7 日
Nothing is wrong with the edges it gave me but the result doesn't match the book 100% and the mask size is the only reason left.
John Snow
John Snow 2014 年 1 月 7 日
Edit:I don't need this anymore thanks for your constant help within the site

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by