Search code examples
imagematlabresizescaleoctave

How to resize/scale an image in Octave?


Is there a built-in command to resize/scale a monochrome image (represented by an array of floats for instance) in Octave ?

If not, what would be a fast implementation for a basic algorithm with some amount of interpolation (bilinear let's say) ? I actually only need to downsample my image (scale it down), which may simplify the problem.


Solution

  • You can use imresize.

    You can see the documentation there: http://www.mathworks.fr/help/toolbox/images/ref/imresize.html