imresize

Performs image resizing using the specified interpolation kernel

function y = imresize(x, sz, interpolation = "sinc", boundary_mode = "mirror", points = 4)

Parameters

xthe input image
szthe size of the output image (or magnification factor)
interpolationthe interpolation method being used: “nearest”, “linear”, “cubic” or “sinc”
boundary_modethe boundary extension mode: “zero”, “mirror”, “circular”
pointshalf the number of points used for sinc resampling.
Close