[]

matlab image boyutuyla oynama
bir tane imread'le image aldık ve boyutlarına baktık ki 100*100*3 diyelim. bu image'ın satır ve sütun sayılarını değiştirip mesela 50*200*3 haline getirebilmenin bir yolu var mı?

help imagesc
- makineci
(28.11.08 21:56:47)

bu resmin boyutlarını değiştrmeye yaramıyor, renklerin tonlarını değiştiriyor gördüğüm kadarıyla. söylediğim gibi bi işlem yapan bi fonksiyon vardır herhalde. yani kullanılabiliecek bir şey sonuçta bunun için bi fonksiyon yazmışlardır.
- psyche
(29.11.08 00:25:09)

hmm yanlışlık olmuş. şöyle olacaktı:
help imresize
bunu kullanmak için image processing toolbox'un yüklü olması gerekiyor.
% B = imresize(A, [mrows ncols]) returns image B that has the number of rows and columns
% specified by [mrows ncols]. Either NUMROWS or NUMCOLS may be NaN, in which case imresize
% computes the number of rows or columns automatically to preserve the image aspect ratio.
help imresize
bunu kullanmak için image processing toolbox'un yüklü olması gerekiyor.
% B = imresize(A, [mrows ncols]) returns image B that has the number of rows and columns
% specified by [mrows ncols]. Either NUMROWS or NUMCOLS may be NaN, in which case imresize
% computes the number of rows or columns automatically to preserve the image aspect ratio.
- makineci
(29.11.08 10:22:45)
1