Is there any command for resize an image other than imresize() command in matlab?
Mostra commenti meno recenti
imresize(img,[numrows numcols])
7 Commenti
Guillaume
il 21 Ago 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
il 21 Ago 2019
Adam
il 21 Ago 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
il 21 Ago 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
il 21 Ago 2019
Adam
il 21 Ago 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
il 21 Ago 2019
Risposte (0)
Categorie
Scopri di più su Read, Write, and Modify Image in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!