Home > freetb4matlab > image > im2uint16.m

im2uint16

PURPOSE ^

% Converts the input image to an image of class uint16.

SYNOPSIS ^

function im2 = im2uint16(im1)

DESCRIPTION ^

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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003