当前位置:网站首页>DCT变换
DCT变换
2022-08-08 20:17:00 【胡刚2016】
clc
clear all
mypicture=imread('head.jpg');
grayImage=rgb2gray(mypicture);
dctgrayImage=dct2(grayImage);
subplot(1, 3 ,1);
imshow(mypicture);
title('原图像');
subplot(1, 3, 2);
imshow(log(abs(dctgrayImage)), []);
title('DCT变换图像');
colormap(gray(4));
colorbar;
dctgrayImage(abs(dctgrayImage) < 0.1) = 0;
I=idct2(dctgrayImage) / 255;
subplot(1, 3, 3);
imshow(I);
title('IDCT图像');
边栏推荐
- 差点被ECCV错过的论文:视频理解新框架,仅用微调的「成本」,达到预训练的「全能」...
- PyTorch入门:(二)Tensorboard的使用
- 黑猫带你学Makefile第4篇:Makefile中变量的使用
- 工程 (六) ——PointNet点云分类
- sql server 数据库怎么对插入的日期自动取月份数据?
- 瑞吉外卖项目实战Day06--手机端
- 方舟基础物品指令代码大全
- LeetCode_2_两数相加
- 黑猫带你学Makefile第9篇:menuconfig/Kconfig/deconfig/.config及Makefile之间的关系
- fillder4 keeps prompting the system proxy was changed, watch me solve it
猜你喜欢
自定义MVC
梅科尔工作室OpenHarmony设备开发培训笔记-第一章学习笔记
【无标题】
From interview to autism, five rounds of interviews for byte software testing post, four hours of soul torture...
JMeter测试接口并发场景
如何用WebSocket打造Web端IM即时通讯聊天
工程 (六) ——PointNet点云分类
tar zcf是单线程瓶颈
What are the role of document management system for companies?
互联网技术从业者怎么解决系统高并发?
随机推荐
LeetCode #104.二叉树的最大深度
Salesforce开发之 如何实现DML操作时,当前用户跳过验证规则(Validation Rule)
Factorial of 1088 N
1088 N的阶乘
自定义MVC
兼容并蓄广纳百川,Go lang1.18入门精炼教程,由白丁入鸿儒,go lang复合容器类型的声明和使用EP04
openEuler 资源利用率提升之道02:典型应用下的效果
什么是仿射函数?
Categorized input and output, Go lang1.18 introductory refining tutorial, from Bai Ding to Hongru, go lang basic data types and input and output EP03
CAXA PLM云商店登榜,为制造企业数字化转型“保驾护航”
How can recommender systems be trusted?A review of the latest "Trusted Recommender System" from Rutgers University, a 43-page pdf explaining the composition and technology of trusted RS
LitJson使用中的一些问题
Experience Sharing | A low-cost and fast-paced approach to building an enterprise knowledge management system
正则表达式的限定符、或运算符、字符类、元字符、贪婪/懒惰匹配
测试计划
场外基金开户在手机办理安全吗?
学习与尝试 --> 事件风暴
信号与系统【x(t)*h(t)=y(t) 求h(t)】附matlab代码
PyTorch入门:(二)Tensorboard的使用
方舟单机/管理员生物指令代码大全