


% -*- texinfo -*-
% @deftypefn {Function File} @var{im2} = im2uint8(@var{im1})
% Converts the input image to an image of class uint8.
%
% If the input image is of class uint8 the output is unchanged.
% If the input is of class double the result will be multiplied
% by 255 and converted to uint8, and if the input is of class uint16 the
% image will be divided by 257 and converted to uint8.
% @seealso{im2bw, im2uint16, im2double}
% @end deftypefn