Why my subplot imshow not equally.

2 vues (au cours des 30 derniers jours)
Suttipong Pramuansin
Suttipong Pramuansin le 15 Déc 2018
Commenté : Image Analyst le 15 Déc 2018
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

Réponses (1)

Image Analyst
Image Analyst le 15 Déc 2018
Because your two images are not the same size.
  2 commentaires
Suttipong Pramuansin
Suttipong Pramuansin le 15 Déc 2018
its same horizon size
Image Analyst
Image Analyst le 15 Déc 2018
Post your image(s) and code so I can reproduce it.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Display Image dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by