Multiple images in one image/figure

3 次查看(过去 30 天)
Hello everyone,
Allow me to concisely set the scene for my question. I am currently running a bunch of simulations that result in ternary composition diagrams using MATLAB. For the sake of comprehensiveness of the dataset I am making composites of images overlayed over a background. To be exact, I am using one background for every figure and am than inserting 66 smaller figures on certain locations in the figure.
The figures are all generated in MATLAB and then saved as .png using the export_fig function.
Currently I am doing this operation in Powerpoint but it takes a very long time to complete one figure and it is also very repetitive. I would thus like to know if it is possible do automate this process using matlab, i.e. overlaying multiple figures at specified locations over a background figure...
Regards
Dries

采纳的回答

KSSV
KSSV 2017-4-12
编辑:KSSV 2017-4-12
I1 = imread('cameraman.tif') ;
I2 = imread('peppers.png') ;
figure
hold on
imagesc(I2) ;
set(gca,'ydir','reverse')
imagesc([50 200], [50 200],I1)
imagesc([200 350], [200 350],I1)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by