Description:
clc
clear all
i=imread( Winter.jpg )
i=rgb2gray(i)
figure(1)
imshow(i)
imwrite(i, Copy.jpg )
j=imread( Sunset.jpg )
j=rgb2gray(j)
jRect=j(100:200,100:200,:)
figure(2)
imshow(jRect)
for x= 100:200
for y= 100:200
i(x,y,:)=j(x,y,:)
end
end
figure(3)
imshow(i)
To Search:
File list (Check if you may need any files):
IP_1\BlueHills.jpg
....\Sunset.jpg
....\test1_1.m
....\test1_2.m
....\test1_3.m
....\test1_4.m
....\test1_5.m
....\WaterLilies.jpg
....\Winter.jpg