open an image in another image

1 次查看(过去 30 天)
hi. I want to open an image in another image. How should I do this? .like this pic

采纳的回答

Anton Semechko
Anton Semechko 2018-6-2
Here is an example:
im1=imread('peppers.png');
im2=imread('football.jpg');
im3=im1;
im3(1:size(im2,1),1:size(im2,2),:)=im2;
figure('color','w')
imshow(im3)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by