How to mosaic two images with out overlapping

1 次查看(过去 30 天)
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)

采纳的回答

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

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by