MATLAB: Resizing Image using imread

image processingImage Processing Toolboximreadresizescaling

Is there a way to resize an image without using imresize? For example I = imread('rice.png') returns a 256 x 256 logical array. Is there some way I can specify (in the argument of the imread function) the size of the array? Say if I wanted it to be 128 x 128, instead of 256 x 256? Thanks

Best Answer

You could use interp2. Or indexing
out = inputImage(1:2:end, 1:2:end);
Related Question