img_as_float
skimage.img_as_float(image, force_copy=False) [source]
Convert an image to double-precision floating point format. Parameters:
image : ndarray Input image. force_copy : bool Force a copy of the data, irrespective of its current dtype. Returns:
out : ndarray of float64 Output image. Notes The range of a floating point image is [0.0, 1.0] or [-1.0, 1.0] when converting from unsigned or signed datatypes, respectively.