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.