Image Processing Toolbox
  Go to function:
    Search    Help Desk 
double    Examples   See Also

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, uint8



[ Previous | Help Desk | Next ]