当前位置:网站首页>【图像融合】基于matlab方向离散余弦变换和主成分分析图像融合【含Matlab源码 1907期】
【图像融合】基于matlab方向离散余弦变换和主成分分析图像融合【含Matlab源码 1907期】
2022-06-25 04:01:00 【海神之光】
一、获取代码方式
获取代码方式1:
完整代码已上传我的资源:【图像融合】基于matlab方向离散余弦变换和主成分分析图像融合【含Matlab源码 1907期】
获取代码方式2:
通过订阅紫极神光博客付费专栏,凭支付凭证,私信博主,可获得此代码。
备注:
订阅紫极神光博客付费专栏,可免费获得1份代码(有效期为订阅日起,三天内有效);
二、部分源代码
%%
close all;
clear all;
home;
%%
dflg = 1; % 0: no display OR 1: display
aflag = 1; % 1: Average, 2: max rule OR 3: energy rule
bs = 4; %[4 8 16 32 64 128 256]; block size
%%
% insert images
imt = im2double(imread('saras9t.jpg'));
im1 = im2double(imread('saras91.jpg'));
im2 = im2double(imread('saras92.jpg'));
if dflg == 1
figure(1);
subplot(121);imshow(im1);title('image to be fused - im1');
subplot(122);imshow(im2);title('image to be fused - im2');
pause(1);
end
%%
mode = [0 1 3 4 5 6 7 8]; % directional mode
lmode = length(mode);
%%
if aflag == 1 % fusion by DDCT average rule
h1 = waitbar(0,'Please wait...');
for j=1:lmode
imf1{
j} = DDCTIFav(im1,im2,bs,mode(j));
waitbar(j/lmode,h1);
end
close(h1);
end
三、运行结果


四、matlab版本及参考文献
1 matlab版本
2014a
2 参考文献
[1] 蔡利梅.MATLAB图像处理——理论、算法与实例分析[M].清华大学出版社,2020.
[2]杨丹,赵海滨,龙哲.MATLAB图像处理实例详解[M].清华大学出版社,2013.
[3]周品.MATLAB图像处理与图形用户界面设计[M].清华大学出版社,2013.
[4]刘成龙.精通MATLAB图像处理[M].清华大学出版社,2015.
边栏推荐
- GBASE 8s 索引B+树
- cannot import name ‘escape’ from ‘jinja2’【成功解决】
- GBASE 8s 总体架构
- Immutable學習之路----告別傳統拷貝
- CTF_ Web: Advanced questions of attack and defense world expert zone WP (19-21)
- WPF 使用 MAUI 的自绘制逻辑
- Gbase 8s stored procedure execution and deletion
- Php7.2 add JPEG extension
- unity Quad剔除背面并剔除透明部分的shader
- 初识 Flutter 的绘图组件 — CustomPaint
猜你喜欢

记录小知识点

CTF_ Web: Advanced questions of attack and defense world expert zone WP (15-18)

多睡觉,能减肥,芝加哥大学最新研究:每天多睡1小时,等于少吃一根炸鸡腿...
![[untitled]](/img/68/5e711f7c473dcea54a56f7b7e48604.png)
[untitled]

绝了!自动点赞,我用 PyAutoGUI!

Mongodb cluster

LabVIEW development gas regulator

Kotlin Compose 完善toDo项目 Surface 渲染背景 与阴影

CTF_ Web: how to recognize and evaluate a regular expression

CTF_ Web: Advanced questions of attack and defense world expert zone WP (1-4)
随机推荐
php封装curl发送get、post请求方法,并使用
【Flink】RocksDB增量模式checkpoint大小持续增长的问题及解决
CTF_ Web: Advanced questions of attack and defense world expert zone WP (1-4)
我的IC之旅——资深芯片设计验证工程师成长——“胡”说IC工程师完美进阶
CTF_ Web: deserialization learning notes (I) classes and objects in PHP
GBASE 8s的隔离级别介绍
Office macro virus bounce shell experiment
Immutable學習之路----告別傳統拷貝
分布式websocket搭建方案
GBASE 8s存储过程流程控制
Gbase 8s stored procedure execution and deletion
Le chemin de l'apprentissage immutable - - Adieu à la copie traditionnelle
Use text analysis to identify the main gender in a text
Blob page in gbase 8s
Gbase 8s index b+ tree
js中的concat()
Immutable学习之路----告别传统拷贝
GBASE 8s中DELIMIDENT环境变量的使用
【无标题】
A detailed summary of TCP connection triple handshake