Why my subplot imshow not equally.

2 ビュー (過去 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 Center および File ExchangeDisplay Image についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by