so i have two images (image1 and image2) in the format.tiff and i want to combine them by creating a new one (leftside of image1 and rightsideof image2)i have to

3 Comments

ken  masters
ken masters on 9 Jun 2011
these are thex size for both images 280x272
Sean de Wolski
Sean de Wolski on 9 Jun 2011
okay, what's your question?
ken  masters
ken masters on 9 Jun 2011
how do i plot just half of an image?? then combine it with the half of another image?

Sign in to comment.

 Accepted Answer

Sean de Wolski
Sean de Wolski on 9 Jun 2011

0 votes

imshow([image1(:,1:ceil(1:size(image1,2)/2)) image2(:,floor(1:size(image2,2)/2):end)])

2 Comments

ken  masters
ken masters on 9 Jun 2011
thanks
Varun
Varun on 8 May 2026
Moved: Torsten on 8 May 2026
thanks

Sign in to comment.

More Answers (1)

Walter Roberson
Walter Roberson on 8 May 2026

0 votes

If you have the Image Processing toolbox, then you can use montage

Categories

Find more on Images in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!