Why my subplot imshow not equally.

1 visualizzazione (ultimi 30 giorni)
Suttipong Pramuansin
Suttipong Pramuansin il 15 Dic 2018
Commentato: Image Analyst il 15 Dic 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

Risposte (1)

Image Analyst
Image Analyst il 15 Dic 2018
Because your two images are not the same size.
  2 Commenti
Suttipong Pramuansin
Suttipong Pramuansin il 15 Dic 2018
its same horizon size
Image Analyst
Image Analyst il 15 Dic 2018
Post your image(s) and code so I can reproduce it.

Accedi per commentare.

Categorie

Scopri di più su Display Image in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by