Code covered by the BSD License
Yan Maraden Sinaga
Yan Maraden Sinaga (view profile)
17 Mar 2011
Another function to resize an image.
Watch this File
IMAGERESIZE able to resize an image. You can downsize and also upsize an image using scaling factor.
This is a simple implementation of matlab IMRESIZE code.
Nothing new about this code.
for loop is not a good idea in matlab, please try vectorizing it.
Please pre-allocate the img_out variable to speed up your code.