Why my subplot imshow not equally.

조회 수: 1 (최근 30일)
Suttipong Pramuansin
Suttipong Pramuansin 2018년 12월 15일
댓글: Image Analyst 2018년 12월 15일
Hi, I have a problem. My subplot imshow not equally even though image size is equally.
k = 1;
for i=1:2:col_size
m = 1;
for r=1:rml
n = 1;
for c=col(i):col(i+1)
letter(m,n) = ime(r,c);
n = n + 1;
end
m = m + 1;
end
if size(letter,2) >= 6 && size(letter,1) <= 90
subplot(1,(col_size/2),k);
imshow(letter);
k = k + 1;
end
clear letter;
end
1.PNG
2.PNG

답변 (1개)

Image Analyst
Image Analyst 2018년 12월 15일
Because your two images are not the same size.
  댓글 수: 2
Suttipong Pramuansin
Suttipong Pramuansin 2018년 12월 15일
its same horizon size
Image Analyst
Image Analyst 2018년 12월 15일
Post your image(s) and code so I can reproduce it.

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

카테고리

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