91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

自己實現的canny邊緣檢測算子,包括高斯濾波,非極大值抑制,雙閾值處理,邊緣細化等步驟。

資源截圖

代碼片段和文件信息

?function?e?=?canny(ImsigmafsizelowThreshhighThresh)
%
%?This?function?is?used?to?get?the?edge?of?the?gray?image?Im?
%?with?canny?detection.And?the?parameters?are?as?follows:
%?
%???Im?????????-?the?input?gray?image.
%???sigam??????-?the?gaussian?filter‘s?standard?deviation.???????
%???fsize??????-?the?gaussian?filter‘s?sizei.e[fsizefsize].
%???lowThresh??-?input?lower?thresh?value.
%???highThresh?-?input?high?thresh?value.
%???e??????????-?output?edge?image?which?is?a?binary?image.

??[widthheight]?=?size(Im);
??e?=?zeros(widthheight);
??fgau?=?fspecial(‘Gaussian‘[fsizefsize]sigma);
??ImSmooth?=?imfilter(Imfgau‘replicate‘);
??fx?=?[00;-11];
??fy?=?[0-1;01];
??
??ax?=?imfilter(ImSmoothfx‘replicate‘);
??ay?=?imfilter(ImSmoothfy‘replicate‘);
??
??m

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????4226??2011-03-19?20:33??canny.m

?????文件????????456??2011-03-20?20:48??cannytest.m

?????文件????????541??2011-03-26?21:05??readme.txt

-----------?---------??----------?-----??----

?????????????????5223????????????????????3


評論

共有 條評論