Graphics    

Mathematical Operations Support for uint8 and uint16

The following MATLAB mathematical operations support uint8 and uint16 data: conv2,convn,fft2,fftn,sum. In these cases, the output is always double.

If you attempt to perform an unsupported operation on one of these arrays, you will receive an error. For example,

Most of the functions in the Image Processing Toolbox accept uint8 and uint16 input. If you plan to do sophisticated image processing on uint8 or uint16 data, you should consider adding the Image Processing Toolbox to your MATLAB computing environment.


  8-Bit and 16-Bit RGB Images Other 8-Bit and 16-Bit Array Support