Image Processing Toolbox    
double

Convert data to double precision

Syntax

Description

B = double(A) creates a double-precision array B from the array A. If A is a double array, B is identical to A.

double is useful if you have a uint8 image array that you want to perform arithmetic operations on, because MATLAB does not support these operations on uint8 data.

Remarks

double is a MATLAB built-in function.

Example

See Also

im2double, im2uint8, im2uint16, uint8


 dither edge