-
output_of_DCT_in_image_fusion
u can calculate DCT
clc
inp = imread( Im1.jpg )
inp1 = imread( Im2.jpg )
A = double(inp(:,:,1))
B = double(inp1(:,:,1))
A1=double(blkproc(A,[8 8], dct2 ))
B1=double(blkproc(B,[8 8], dct2 ))
[r,c] = size(A1)
r1 = []
for i=1:r
for j=1:c
if A1(i,j) > B1(i,j)
r1(i,j)=A1(i,j)
else
r1(i,j)=B1(i,j)
end
end
end
r1= double(r1(:,:,1))
C=blkproc(r1,[8 8], idct2 )
round(C)
C1=idct2(r1)
figure
imshow(uint8(C))
figure
imshow(uint8(C1))
imwrite(uint8(C), dct8x8min.jpg )
- 2011-01-09 23:26:05下载
- 积分:1
-
md_qrg
说明: 若非奇异矩阵A能够分解为一个正交矩阵Q与非奇异上三角矩阵R的乘积,即:
A=QR。则称其为A的QR分解。
实现QR分解的方法有很多种,包括Givens变换法,Householder变换法,Schemit正交化法。具体原理可以参考《矩阵论》(程云鹏,西工大出版)教材,这里仅给出三种实现QR分解的程序。(If nonsingular matrix A can be decomposed into a product of orthogonal matrix Q and nonsingular upper triangular matrix R, that is:
A=QR. It is called QR decomposition of A.
There are many methods to realize QR decomposition, including givens transformation, householder transformation, and scheme orthogonalization. The specific principle can refer to the teaching materials of matrix theory (Cheng Yunpeng, published by Xigong University). Here, only three kinds of QR decomposition procedures are given.)
- 2020-02-20 23:13:59下载
- 积分:1
-
GAs_100average
无线通信系统的调度算法仿真程序,可以参考说明文件进行学习(Wireless communication system simulation program scheduling algorithm, can refer to the documentation to learn)
- 2010-06-29 16:10:03下载
- 积分:1
-
sline
given a line function, compute the intersection of the line with the perimeter of a 2D box so that the line can be plotted. called by perceptron.m.
- 2013-05-17 13:57:51下载
- 积分:1
-
Simulink_Model_and_Simulation
Simulink建模与仿真。包含一本关于Simulink建模仿真的书,以及一个很好的课件。(Simulink modeling and simulation. Contains a book on the Simulink modeling and simulation, as well as a good courseware.)
- 2010-06-05 18:53:52下载
- 积分:1
-
BPSK_Done
PSK调制与解调都有的程序,解调过程详细,并有误码率分析(PSK modulation and demodulation are the procedures, demodulation process in detail, and a bit error rate analysis)
- 2010-07-21 11:06:08下载
- 积分:1
-
dcdc
蓄电池的充放电控制策略,希望有点帮助哦。。。。。。。。(Charge and discharge control strategy of storage battery.Oh, I hope it helps)
- 2017-08-24 11:30:19下载
- 积分:1
-
De-impulsenoise
在一段音频信号中加入了随机噪声,用matlab编程实现去噪!(This File shows an example for denoising via hard thresholding of Fourier coefficients.)
- 2010-07-13 16:12:40下载
- 积分:1
-
3
说明: 例题全部代码. 薛定宇, 陈阳泉. 高等应用数学问题的Matlab求解.(All the code examples. Xue Dingyu, Chen Yangquan. MATLAB to solve higher applied mathematical problems.)
- 2011-04-29 10:13:28下载
- 积分:1
-
qinhuaci
弹奏青花瓷的matlab代码 (Blue and white porcelain matlab program play)
- 2013-11-18 15:07:38下载
- 积分:1