img_as_uint
-
skimage.img_as_uint(image, force_copy=False)
[source] -
Convert an image to 16-bit unsigned integer format.
Parameters: image : ndarray
Input image.
force_copy : bool
Force a copy of the data, irrespective of its current dtype.
Returns: out : ndarray of uint16
Output image.
Notes
Negative input values will be clipped. Positive values are scaled between 0 and 65535.
Please login to continue.