combining number of images using matlab

Hi all:
I am trying to combine number of images in matlab. The number of combined images is up to four .I want them to be combined based on the concept of layers (as in photoshop) not to be concatenated together. This means that the size of the resulted image will be the same as the size of each combined image. Is there a matlab function that does that task properly?
Regards
Safaa

回答(3 个)

You could look at imfuse and see if it helps combine two images at a time.
You can read in each image and stick it into one plane (layer) of a 3 dimensional image.
layersImage = cat(3, image1, image2, image3, image4);

类别

帮助中心File Exchange 中查找有关 Image Processing Toolbox 的更多信息

提问:

2012-8-26

Community Treasure Hunt

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

Start Hunting!

Translated by