MATLAB Answers

combining number of images using matlab

2 views (last 30 days)
Safaa
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

Answers (3)

Ashish Uthama
Ashish Uthama on 27 Aug 2012
You could look at imfuse and see if it helps combine two images at a time.
  1 Comment
Safaa
Safaa on 28 Aug 2012
I will check this function, thanks.

Sign in to comment.



Image Analyst
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
Safaa
Safaa on 28 Aug 2012
Actually I did that but it did not work.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by