Tag

ICA

Browsing

Image separation of mixed and overlapped images is a frequent problem in computer vision (image processing). The following Matlab source code is a demonstration of image separation using FastICA algorithm based on kurtosis. clc;clear all;close all; original_image1=imread (‘input1.jpg’); original_image2=imread (‘input2.jpg’); figure() subplot(3,3,1),imshow(original_image1),title(‘Original Source 1’), subplot(3,3,2),imshow(original_image2),title(‘Original Source 2’), [x1,y1,z1]=size(original_image1); [x2,y2,z2]=size(original_image2); s1=[reshape(original_image1,[1,x1*y1*z1])]; s2=[reshape(original_image2,[1,x2*y2*z2])]; mixtures=((0.99-0.4).*rand(2,2) + 0.4 )*double([s1;s2]);…