資源簡介
使用偏微分方程(PDE)進行圖像去噪的matlab代碼集合
代碼片段和文件信息
%---------------------------------------------%
% ??????%
%??????????工作室提供代做matlab仿真 ??????%
% ??????%
%??詳情請訪問:http://cn.mikecrm.com/DeOOXFc??%
% ??????%
%---------------------------------------------%
function?K=autoK(I)
%?自動估計梯度閾值K函數(shù)
%?用robust_statistic自動估計梯度閾值(參Sapiro?P231)
%?by?Qulei?@2005/12/12
%?I:input?gray?or?color?image
[rowcolnchannel]=size(I);
K=0;
if?nchannel==1%gray?image
????[gradxgrady]=gradient(I);
????gradI=(gradx.^2+grady.^2).^0.5;
????K=1.4826*mean(mean(abs(gradI-mean(mean(gradI)))));
else%color?image
????for?i=1:3
????????[gradxgrady]=gradient(I(::i));
????????gradI=(gradx.^2+grady.^2).^0.5;
????????K=K+1.4826*mean(mean(abs(gradI-mean(mean(gradI)))));
????end
????K=K/3;
end
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-08-14?11:38??使用偏微分方程(PDE)進行圖像去噪的matlab代碼集合\
?????文件?????????789??2019-08-14?11:47??使用偏微分方程(PDE)進行圖像去噪的matlab代碼集合\autoK.m
?????文件????????1152??2019-08-14?11:47??使用偏微分方程(PDE)進行圖像去噪的matlab代碼集合\calc_lam.m
?????文件??????244208??2005-11-22?18:02??使用偏微分方程(PDE)進行圖像去噪的matlab代碼集合\Canal.gif
?????文件????????3471??2019-08-14?11:47??使用偏微分方程(PDE)進行圖像去噪的matlab代碼集合\directional_diffusion.m
?????文件????????1504??2019-08-14?11:47??使用偏微分方程(PDE)進行圖像去噪的matlab代碼集合\main.m
?????文件????????3220??2019-08-14?11:47??使用偏微分方程(PDE)進行圖像去噪的matlab代碼集合\order4_diffusion.m
?????文件????????1547??2019-08-14?11:47??使用偏微分方程(PDE)進行圖像去噪的matlab代碼集合\plot_edgestop.m
?????文件????????4252??2019-08-14?11:47??使用偏微分方程(PDE)進行圖像去噪的matlab代碼集合\smooth_diffusion.m
?????文件?????????819??2019-08-14?11:47??使用偏微分方程(PDE)進行圖像去噪的matlab代碼集合\SNR.m
?????文件????????3548??2019-08-14?11:47??使用偏微分方程(PDE)進行圖像去噪的matlab代碼集合\TV_denoise.m
?????文件??????????65??2019-08-01?15:48??【源碼使用必讀】.url
評論
共有 條評論