freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于matlab的圖像邊緣檢測和處理-閱讀頁

2025-07-10 00:35本頁面
  

【正文】 ),imshow(f), title(39。) 用edge 函數(shù)處理的Matlab 程序代碼: a = imread(39。,39。)。salt amp。,)。prewitt39。 c = edge(a,39。,)。prewitt39。 %該處可得閾值的默認(rèn)值e subplot(2,2,1),imshow(a),axis on。原圖39。 title(39。) subplot(2,2,3),imshow(c) ,axis on。prewitt 閾值=39。 title(39。) Sobel算子 用卷積函數(shù)conv2 處理的Matlab 程序代碼: a=imread(39。,39。)。0 0 0。c=[1 0 1。 1 0 1]/256。same39。d=abs(d)。same39。e=abs(e)。 %取水平及垂直方向上的大值 subplot(1,3,1),imshow(d), title(39。) subplot(1,3,2),imshow(e), title(39。) subplot(1,3,3),imshow(f), title(39。) 用edge 函數(shù)處理的Matlab 程序代碼: a = imread(39。,39。)。salt amp。,)。sobel39。 c = edge(a,39。,)。sobel39。 %該處可得閾值的默認(rèn)值e subplot(2,2,1),imshow(a),axis on。原圖39。 title(39。) subplot(2,2,3),imshow(c) ,axis on。sobel 閾值=39。 title(39。) Log算子 a = imread(39。,39。)。salt amp。,)。log39。 % 根據(jù)所指定的敏感度閾值thresh和標(biāo)準(zhǔn)偏差sigma(σ),用LOG算子進(jìn)行邊緣檢測,默認(rèn)時σ=2 c = edge(a,39。,)。log39。 subplot(2,2,1),imshow(a)。title(39。) subplot(2,2,3),imshow(c)。LOG 閾值= σ=39。title(39。) 4 心得體會: 利用MATLAB我們可以很方便的對圖像邊緣檢測算法,進(jìn)行仿真研究,比較各自優(yōu)缺點,得到最優(yōu),效果最好的算法來進(jìn)行圖像處理。Canny方法則以一階導(dǎo)數(shù)為基礎(chǔ)來判斷邊緣點。梯度算子計算簡單,只能檢測出圖像大致的輪廓,而對于比較較細(xì)的邊緣可能會忽略。Canny算子提取邊緣比較完整,其邊緣連續(xù)性較好,效果有預(yù)期其他算子。在設(shè)計過程中碰到了很多的問題,通過這些問題,使自己分析問題,解決問題的能力得到了較大的提高
點擊復(fù)制文檔內(nèi)容
教學(xué)課件相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1