MATLAB Answers

Safaa
1

combining number of images using matlab

Asked by Safaa
on 26 Aug 2012
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

  0 Comments

Sign in to comment.

3 Answers

Answer by Ashish Uthama on 27 Aug 2012

You could look at imfuse and see if it helps combine two images at a time.

  1 Comment

I will check this function, thanks.

Sign in to comment.


Answer by Ryan
on 26 Aug 2012

See the Matlab FAQ.

  1 Comment

I will check it, thanks.

Sign in to comment.


Answer by Image Analyst
on 26 Aug 2012

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);

  1 Comment

Actually I did that but it did not work.

Sign in to comment.