{ } Raw JSON

bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / util / dtype / img_as_float64

function

skimage.util.dtype:img_as_float64

source: /dev/scikit-image/src/skimage/util/dtype.py :453

Signature

def   img_as_float64 ( image force_copy = False )

Summary

Convert an image to double-precision (64-bit) floating point format.

Parameters

image : ndarray

Input image.

force_copy : bool, optional

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. If the input image has a float type, intensity values are not modified and can be outside the ranges [0.0, 1.0] or [-1.0, 1.0].

Aliases

  • skimage.util.img_as_float64