MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]图像融合方面的知识 (https://www.labfans.com/bbs/showthread.php?t=2486)

peipei 2008-04-21 20:34

[求助]图像融合方面的知识
 
大家好,我在做关于图像融合方面的内容,我的PCA算法不知道为什么出现严重的光谱畸变?还有我想问一下 IHS变换中的 球体变换的公式,我编出的程序也是光谱畸变很严重 ,全是红色,不知道怎么回事?怀疑是公式的问题,希望哪位高手帮帮我。非常感谢!:cry:

shenglwan 2008-04-22 21:52

看看这个对你有没有启发。
m = gray(256);
[M1,ma] = imread([pathname, filename]);
if isind(M1) & ~isempty(ma)
M1 = 256*double(ind2gray(M1,ma));
else
if isgray(M1)
M1 = double(M1);
else
M1 = double(rgb2gray(M1));
end;
end;
% Bild anzeigen
image(M1);
axis image;
% Colormap gray
colormap(m);

shenglwan 2008-04-22 21:55

我正在研读一个图像融合工具箱程序,里面有pca方法实现融合的源文件,不过还没读,有兴趣你也可以下一个读读


所有时间均为北京时间。现在的时间是 11:06

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.