I have divided one image into subimages--how can I show the subimages lined up near each other?
이전 댓글 표시
I have divided one image into four smaller images (subimages). How can I show the subimages like the original image, close to each other and with a line or a few pixels between them. I have tried subplot but it didn´t work.
채택된 답변
추가 답변 (1개)
Image Analyst
2013년 2월 14일
0 개 추천
You can either
- show the original image (no lines/gaps), or
- save the images to files and use montage() (again, no lines or gaps), or
- you can use a GUI (like use GUIDE) and place 4 axes really close to each other and use imshow() to display the images in the axes, or
- make a larger image and use regular, normal indexing to assign the sub images into the proper location in the larger image.
댓글 수: 2
Image Analyst
2013년 2월 14일
편집: Image Analyst
2013년 2월 14일
P.S. I decided to give you the benefit of the doubt and assume you've learned not to delete your questions anymore.
Randy Souza
2013년 2월 14일
@Image Analyst: Teemu was not actually deleting questions, but was simply including the entire question in the title and entering ";" as the body.
카테고리
도움말 센터 및 File Exchange에서 Image Arithmetic에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!