필터 지우기
필터 지우기

How can I show multiple images in one axis in matlab GUI?

조회 수: 1 (최근 30일)
Wind Cloud
Wind Cloud 2013년 9월 23일
Hello, I am studying gui,and I want to show multiple images in only one axis,and the location of the images should like this(see the image upload). I have seen your answer here, http://www.mathworks.com/matlabcentral/answers/41928-display-multiple-images-on-single-axes,but the codes have some problems when operating. Hope you can help me!
when using your code, the error message is in the following.
??? Error using ==> horzcat CAT arguments dimensions are not consistent.
Error in ==> Untitled at 31 outputImage = [rgbImage, verticalStrip, redChannel; horizontalStrip; greenChannel, verticalStrip, blueChannel];
  댓글 수: 2
Walter Roberson
Walter Roberson 2013년 9월 23일
Put a breakpoint at that line. Run the program. When it stops at the breakpoint, please show us size() of each of the variables on the right hand side.
Wind Cloud
Wind Cloud 2013년 9월 24일
I have found the errors, thank you for your kindness!!

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2013년 9월 23일
Then try using the montage() function to create a tiled image, then display that with imshow().

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Display Image에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by