Is there any command for resize an image other than imresize() command in matlab?
Ältere Kommentare anzeigen
imresize(img,[numrows numcols])
7 Kommentare
Guillaume
am 21 Aug. 2019
Why don't you want to use imresize? What would be the point of writing another function that does exactly the same thing?
Sajina Rose
am 21 Aug. 2019
Adam
am 21 Aug. 2019
imresize includes numerous different algorithms for resizing an image and is likely to give you as good an answer as you can get in most cases, if you use an appropriate method with it.
What exactly are you doing with it? Making images bigger? smaller? How much bigger or smaller? image resizing can only interpolate data when making an image bigger. Some methods of interpolation are a lot better than others, but all of them essentially 'invent' data that is not really part of the original image.
Guillaume
am 21 Aug. 2019
Yes, any resizing has to involve some sort of interpolation ('nearest' is the most basic interpolation). What properties are you losing?
Note that you can display any image at any scale, without affecting the actual image pixels. Display is independent from storage.
Sajina Rose
am 21 Aug. 2019
Adam
am 21 Aug. 2019
The same size as what? If you mean the same size as each other, then that involves deciding which size amongst the images is the one to resize to, and in that case you have a manual width and height anyway.
Sajina Rose
am 21 Aug. 2019
Antworten (0)
Kategorien
Mehr zu Read, Write, and Modify Image finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!