Write a MATLAB program for Displaying multi Image in a Single Window


Code:


clear;
clc;
[X1,map1]=imread('d:/matimage/baby.jpg');
[X2,map2]=imread('d:/matimage/his.jpg');
subplot(1,2,1), imshow(X1,map1);
subplot(1,2,2), imshow(X2,map2);

 


Output:



No comments

Powered by Blogger.