% -*- texinfo -*- % @deftypefn {Function File} @var{B}= imresize (@var{A}, @var{m}) % Scales the image @var{A} by a factor @var{m} using nearest neighbour % interpolation. If @var{m} is less than 1 the image size will be reduced, % and if @var{m} is greater than 1 the image will be enlarged. If the image % is being enlarged the it will be convolved with a 11x11 Gaussian FIR filter % to reduce aliasing. See below on how to alter this behavior. % % @deftypefnx {Function File} @var{B}= imresize (@var{A}, @var{m}, @var{interp}) % Same as above except @var{interp} interpolation is performed instead of % using nearest neighbour. @var{interp} can be any interpolation method supported by interp2. % % @deftypefnx {Function File} @var{B}= imresize (@var{A}, [@var{mrow} @var{mcol}]) % Scales the image @var{A} to be of size @var{mrow}x@var{mcol} using nearest % neighbour interpolation. If the image is being enlarged it will be convolved % with a lowpass FIR filter as described above. % % @deftypefnx {Function File} @var{B}= imresize (@var{A}, [@var{mrow} @var{mcol}], @var{interp}) % Same as above except @var{interp} interpolation is performed instead of using % nearest neighbour. @var{interp} can be any interpolation method supported by interp2. % % @deftypefnx {Function File} @var{B}= imresize (..., @var{interp}, @var{fsize}) % If the image the image is being reduced it will usually be convolved with % a 11x11 Gaussian FIR filter. By setting @var{fsize} to 0 this will be turned % off, and if @var{fsize} > 0 the image will be convolved with a @var{fsize} % by @var{fsize} Gaussian FIR filter. % % @deftypefnx {Function File} @var{B}= imresize (..., @var{interp}, @var{filter}) % If the image size is being reduced and the @var{filter} argument is passed to % imresize the image will be convolved with @var{filter} before the resizing % takes place. % % @seealso{imremap, imrotate, interp2} % @end deftypefn