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