matlab 硬阈值,小波变换 软硬阈值半软阈值图像去噪matlab程序
%软阈值硬阈值半软阈值巴特沃斯滤波
clc
close all
clear all
map=gray(256);
x=imread('hzw.jpg');
x=rgb2gray(x);
subplot(2,3,1);
image(x);
colormap(map);
title('原始图片');
axis square;
init=2055615866;
randn('seed',init);
x1=50.*randn(size(x)); %均值为0 方差50^2
x=double(x)
nx=x+x1;
subplot(2,3,2);
image(nx);
colormap(map);
title('加噪后的图片');
axis square;
c=num2str(c);
text(100,100,'PSNR:');
text(300,100,c);
%硬阈值
[thr,sorh,keepapp]=ddencmp('den','wv',nx);
nx1=wdencmp('gbl',nx,'sym5',2,thr,'h',keepapp); subplot(2,3,3);
image(nx1);
title('ó2?D?μè¥??oóí???');
axis square;
a1=psnr(nx1,x);
a1=num2str(a1);
text(100,100,'PSNR:');
text(300,100,a1);
%软阈值
nx2=wdencmp('gbl',nx,'sym5',2,thr,'s',keepapp); subplot(2,3,4);
image(nx2);
title('èí?D?μè¥??oóí???');
axis square;
c=psnr(nx2,x);
c=num2str(c);
text(100,100,'PSNR:');
text(300,100,c);
%半软阈值
nx3=hsoft(nx,'sym5',2,0.5,thr);
subplot(2,3,5);
image(nx3);
matlab 硬阈值,小波变换 软硬阈值半软阈值图像去噪matlab程序相关推荐
- 【信号去噪】基于硬阈值、软阈值、半软阈值、Maxmin阈值、Garrote阈值小波变换实现心音去噪附matlab代码
1 内容介绍 小波变换在信号的滤波降噪处理中应用非常广泛,针对传统小波阈值去噪算法中软,硬阈值函数以及Garrote阈值函数的不足,构造出一个新的阈值函数,并采用新的阈值确定方法,对信号的去噪处理更加 ...
- matlab 矢量化编程(三) —— 软阈值函数
dj,k^=⎧⎩⎨⎪⎪dj,k−λ,dj,k≥λ0,otherwisedj,k+λ,dj,k≤−λ \hat{d_{j,k}}=\left\{\begin{array}{l}d_{j,k}-\lamb ...
- 软阈值函数作用图matlab,软阈值(Soft Thresholding)函数解读
题目:软阈值(Soft Thresholding) 函数解读 1.软阈值(Soft Thresholding)函数的符号 软阈值(Soft Thresholding)目前非常常见,文献[1][2]最早 ...
- 软阈值 (Soft Thresholding)函数解读
版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明. 题目:软阈值(Soft Thresholding) 函数解读 1.软阈值(Soft Thres ...
- 软阈值(Soft Thresholding) 函数解读
题目:软阈值(Soft Thresholding) 函数解读 1.软阈值(Soft Thresholding)函数的符号 软阈值(Soft Thresholding)目前非常常见,文献[1][2]最早 ...
- 软阈值(Soft Thresholding)函数
1. 软阈值(Soft Thresholding)函数的作用 软阈值(Soft Thresholding)可以求解如下优化问题: arg min x ∥ X − B ∥ 2 2 ...
- 软阈值(soft-thresholding)函数
版权声明:本文为博主原创文章,转载请注明出处,谢谢! https://blog.csdn.net/jbb0523/article/details/52103257 </div><li ...
- 软阈值(Soft Thresholding)函数解读
原文:https://www.cnblogs.com/wlzy/p/7966525.html 软阈值(Soft Thresholding)函数解读 函数的符号 软阈值(Soft Thresholdin ...
- 【心电信号】基于matlab小波阙值心电信号去噪【含Matlab源码 2188期】
⛄一.小波阈值法去噪概述 电能质量扰动信号的噪声大多以高斯白噪声的形式存在,利用小波变换对信号进行多分辨率分解,由于小波变换具有去除数据相关性的特点,故可以将有用信号与噪声的能量分离开来.信号中有效的 ...
最新文章
- body curl 设置post_深入说说postman发送post请求
- 实战渗透 | 向吃鸡外挂站开炮
- Wireshark和 TcpDump抓包分析心得
- C# 用Attribute实现AOP事务
- Comprehensive Python Cheatsheet
- Mysql-centos下的安装
- 报表类似选项卡的功能
- [20170515]数据库启动的一个疑问.txt
- foreach进不去报错java_为什么阿里巴巴Java开发手册中强制要求不要在foreach循环里进行元素的remove和add操作...
- Mybatis-学习笔记(5)动态SQL
- java语言的编译器命令_Java编译器命令行功能
- 数列极限:数列极限的性质
- web打印插件hiprint
- 翻译:PyTorch基础知识学习 - transforms(变换)
- 【Cadence】 ADS Dynamic Link使用教程
- 6 怎么选公司?面试3大招,离职都有哪些事宜要注意--绝密,程序员大厂面试求职大揭秘!
- php flash 图片上传,php+jquery+ajax无刷新图片上传裁切,模拟flash头像上传实例
- linux shell sed 单引号, 双引号,反引号, 斜杆, 反斜杆(‘ “ ` / \)
- 收集oracle统计信息
- java中setMnemonic方法的使用