open an image in another image

1 Ansicht (letzte 30 Tage)
tomy gn
tomy gn am 2 Jun. 2018
Kommentiert: tomy gn am 2 Jun. 2018
hi. I want to open an image in another image. How should I do this? .like this pic

Akzeptierte Antwort

Anton Semechko
Anton Semechko am 2 Jun. 2018
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)

Weitere Antworten (0)

Kategorien

Mehr zu Read, Write, and Modify Image finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by