当前位置:网站首页>[image fusion] image fusion based on MATLAB directional discrete cosine transform and principal component analysis [including Matlab source code 1907]
[image fusion] image fusion based on MATLAB directional discrete cosine transform and principal component analysis [including Matlab source code 1907]
2022-06-25 04:45:00 【Poseidon light】
One 、 How to get the code
How to get the code 1:
The complete code has been uploaded to my resources :【 Image fusion 】 be based on matlab Directional discrete cosine transform and principal component analysis image fusion 【 contain Matlab Source code 1907 period 】
How to get the code 2:
By subscribing to Ziji Shenguang blog Paid column , With proof of payment , Private Blogger , This code is available .
remarks :
Subscribe to Ziji Shenguang blog Paid column , Free access to 1 Copy code ( The period of validity From the Subscription Date , Valid for three days );
Two 、 Partial source code
%%
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
3、 ... and 、 Running results


Four 、matlab Edition and references
1 matlab edition
2014a
2 reference
[1] Cai Limei .MATLAB The image processing —— theory 、 Algorithm and example analysis [M]. tsinghua university press ,2020.
[2] Yang Dan , Zhao Haibin , Long Zhe .MATLAB Detailed explanation of image processing examples [M]. tsinghua university press ,2013.
[3] Zhou pin .MATLAB Image processing and graphical user interface design [M]. tsinghua university press ,2013.
[4] Liu Chenglong . Master MATLAB The image processing [M]. tsinghua university press ,2015.
边栏推荐
- Méthode de récupération des données d'ouverture du disque dur à l'état solide
- Use of deferred environment variable in gbase 8s
- Vscade setting clang format
- 执行SQL响应比较慢,你有哪些排查思路?
- Immutable學習之路----告別傳統拷貝
- GBASE 8s存储过程执行和删除
- JS call() and apply()
- Calculate student grade (virtual function and polymorphism)
- 我的IC之旅——资深芯片设计验证工程师成长——“胡”说IC工程师完美进阶
- Trigger for gbase 8s
猜你喜欢

Part I Verilog quick start

第九章 APP项目测试(2) 测试工具

Upgrade PHP to php7 The impact of X (2), the obsolescence of mcrypt decryption

Record small knowledge points

CTF_ Web: deserialization of learning notes (II) CTF classic test questions from shallow to deep

多睡觉,能减肥,芝加哥大学最新研究:每天多睡1小时,等于少吃一根炸鸡腿...

Vscade setting clang format

Cnpm: unable to load file c:\users\administrator\appdata\roaming\npm\cnpm PS1 because running scripts is prohibited on this system.

【FLink】access closed classloader classloader.check-leaked-classloader

jsz中的join()
随机推荐
坐标系左乘右乘
Leader: who can use redis expired monitoring to close orders and get out of here!
GBASE 8s 索引R树
Immutable learning road -- farewell to traditional copy
大话云原生数据库中的存算分离
GBASE 8s的并行操作问题场景描述
[untitled]
Coordinate system left multiply right multiply
绝了!自动点赞,我用 PyAutoGUI!
PHP encapsulates curl to send get and post request methods, and uses
CTF_ Web: how to recognize and evaluate a regular expression
Calculate student grade (virtual function and polymorphism)
leetcode1221. 分割平衡字符串
My IC journey - the growth of senior chip design verification engineers - "Hu" said that IC engineers are perfect and advanced
Gbase 8s index R tree
STM32的DMA双缓冲模式详解
Gbase 8s memory management
重磅直播 | 相移法+多频外差之数学原理推导+实现
SOC验证环境的启动方式
【无标题】