How to mosaic two images with out overlapping

1 view (last 30 days)
I have a two images like this.as a example a=[1 1 1 1;1 1 1 1;1 1 1 1;1 1 1 1]; b=[0 0 0 0;0 0 0 0;0 0 0 0;0 0 0 0]; (actual images are 256*256) I want to obtain image c=[1 1 1 1 0 0 0 0;1 1 1 1 0 0 0 0;1 1 1 1 0 0 0 0;1 1 1 1 0 0 0 0]; how can i do this?( i want to do this with out damaging the original pixel values)

Accepted Answer

Image Analyst
Image Analyst on 5 Nov 2013
To stitch images together:
c = [a,b]; % horizontally
or
c = [a;b]; % vertically.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!