How to mosaic two images with out overlapping
1 view (last 30 days)
Show older comments
mahesh chathuranga
on 5 Nov 2013
Edited: mahesh chathuranga
on 5 Nov 2013
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)
0 Comments
Accepted Answer
Image Analyst
on 5 Nov 2013
To stitch images together:
c = [a,b]; % horizontally
or
c = [a;b]; % vertically.
1 Comment
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!