Name
im2double — Convert image to double precision
Calling Sequence
im2 = im2double(im)
Parameters
- im
-
An matrix/image, which can be ANY image supported by SIVP.
- im2
-
Output image, a double precision matrix.
Description
im2double convert intensity or RGB images to double precision.
If the input is of class double, the output image is identical to it.
Otherwise, im2double rescales or offsets the data, and returns the equivalent image of class double.
Authors
| Shiqi Yu <shiqi.yu[at]gmail.com> |
Availability
The latest version of SIVP can be found at
http://sivp.sf.net