📄 hunhe.m
字号:
%混和图像
a=imread('rice.tif');
b=imread('ic.tif');
figure;
subplot(1,2,1);imshow('rice.tif');
subplot(1,2,2);imshow('ic.tif');
grid on;
[n,m]=size(a);
A=reshape(a,1,m*n);
B=reshape(b,1,m*n);
C=cat(1,A,B);
d=rand(2,2);
C1=double(C);
M=d*C1;
M1=uint8(M);
M11=M1(1,:);
I1=M11(1,:);
I2=M1(2,:)
K=reshape(I1,n,m);
L=reshape(I2,n,m);
figure
subplot(121),imshow(K);
subplot(122),imshow(L);
[icasig] = FASTICA (M);
S1=icasig(1,:);
S2=icasig(2,:);
K1=reshape(S1,n,m);
icasig1=mat2gray(K1);
L1=reshape(S2,n,m);
icasig2=mat2gray(L1);
figure
subplot(121),imshow(icasig1);
subplot(122),imshow(icasig2);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -