资源简介
通过shearlet变换去除图像噪声,非常实用。操作平台为matlab
代码片段和文件信息
clc;clear;close all;
%% Setting parameters
spara =[3 3 3 3];
shear = shearing_filters_Myer([32 32 32 32]spara512);
scale = length(spara);
direction = 2^spara(1) + 2;
filter = ‘maxflat‘;
folder = sprintf(‘.\\%s\\‘‘ReviseHist‘);
% total number of images.
Files = dir(strcat(folder‘*.*‘));
dataNum = length(Files) - 2;
Hist = [];
HistLog = [];
binnum = 100;
bins1 = -50:0.5:50;
bins2 = -10:0.1:10;
for num_file = 3:length(Files) % Traverse image folder
str = Files(num_file).name;
I = imread(strcat(folderstr));
I = imresize(I[512 512]);
I = rgb2gray(I);
I = double(I);
Csh = shear_trans(Ifiltershear);
for s = 2:length(Csh)
for w = 1:size(Csh{s}3)
if s == length(Csh) && w == 1
temp = Csh{s}(::w);
hs = real(temp(:));
hsabs = log2(abs(temp(:)));
Histreal = hist(hsbins1);
Histabs = hist(hsabsbins2);
len = length(hs);
Histreal = Histreal/len;
Histabs = Histabs/len;
Hist = [Hist Histreal‘];
HistLog = [HistLog Histabs‘];
figure;
imshow(real(temp)‘Border‘‘tight‘);
end
end
end
end
Plot_ReviseHist(bins1log(Hist+0.000001));
legend(‘ORI‘‘JPEG2K‘‘JPEG‘‘GWN‘‘GBLUR‘‘FF‘);
Plot_ReviseHist(bins2HistLog);
legend(‘ORI‘‘JPEG2K‘‘JPEG‘‘GWN‘‘GBLUR‘‘FF‘);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\
目录 0 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Data\
文件 368276 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Data\Nomax_ImgGoodFeatures_LIVE_ImgGoodQuality_s4_d6.mat
文件 374920 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Data\Nomax_TrainFeatures_LIVE_FF_s4_d6.mat
文件 375023 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Data\Nomax_TrainFeatures_LIVE_GB_s4_d6.mat
文件 372536 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Data\Nomax_TrainFeatures_LIVE_GWN_s4_d6.mat
文件 375808 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Data\Nomax_TrainFeatures_LIVE_JPG2K_s4_d6.mat
文件 374616 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Data\Nomax_TrainFeatures_LIVE_JPG_s4_d6.mat
文件 309 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Plot_ReviseHist.m
文件 179 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\README.md
目录 0 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\ReviseHist\
文件 1179702 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\ReviseHist\1buildingsOriginal.bmp
文件 1179702 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\ReviseHist\2JPG2K.bmp
文件 1179702 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\ReviseHist\3JPG.bmp
文件 1179702 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\ReviseHist\4GWN.bmp
文件 1179702 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\ReviseHist\5GB.bmp
文件 1179702 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\ReviseHist\6FF.bmp
目录 0 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Shearlet-Transform\
文件 263222 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Shearlet-Transform\Lena.bmp
文件 91814 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Shearlet-Transform\Lena_color.jpg
文件 2782 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Shearlet-Transform\atrousc.c
文件 7680 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Shearlet-Transform\atrousc.mexw64
文件 1325 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Shearlet-Transform\atrousdec.m
文件 19405 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Shearlet-Transform\atrousfilters.m
文件 1002 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Shearlet-Transform\atrousrec.m
文件 863 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Shearlet-Transform\com_norm.m
文件 2426 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Shearlet-Transform\demo_Lena_shearlets.m
文件 2414 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Shearlet-Transform\gen_x_y_cordinates.m
文件 199 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Shearlet-Transform\ggd.m
文件 187 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Shearlet-Transform\ggd_error.m
文件 126 2016-05-04 02:47 Shearlet-Transform-and-DNN-master\Shearlet-Transform\ggd_fit.m
............此处省略12个文件信息
- 上一篇:LMI先行矩阵不等式的程序
- 下一篇:SIMUli
nk汽车案例
相关资源
- LMI先行矩阵不等式的程序
- MATLAB智能算法129611
- DIRECT 全局优化算法 matlab程序 附带
- MATLAB实现基于Daugman的虹膜提取算法源
- matconvnet-1.0-beta25
- 基于MATLAB的无线信道仿真及研究
- MATLAB图像处理
- Matlab coding for PAM4 basic transmission
- ITTI视觉显著性MATLAB代码
- 模式识别4个实验(matlab)
- BP神经网络用于蚊子分类
- 直流电机模糊控制系统的MATLAB/Simu
- 电磁场数值计算与MATLAB仿真1.pdf
- matlab水果识别.rar
- matlab车牌识别程序神经网络
- 基于MATLAB的信号与系统实验指导课后
- 车牌识别与人脸定位matlab
- 基于Matlab的载波同步建模与仿真科斯
- Matlab最佳经济性换挡规律代码
- SVM分类器.zip
- MATLABDeepLearning.rar
-
SIMUli
nk机械臂仿真 - 基于MATLAB的单相逆变器并网控制
- MassiveMIMO信号检测算法以及信道估计算
- 最优控制问题描述及matlab求解
- matlab开发-南极洲边界线和南极洲边界
- 计及电热耦合的配电网潮流计算MATL
- 精通GUI图形界面编程(MATLAB电子书)
- 数字图像处理及MATLAB实现代码和图片
- MATLAB神经网络30个案例分析—
评论
共有 条评论