img-as-uint

img_as_uint

skimage.util.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.

doc_scikit_image
2017-01-12 17:21:30
Comments
Leave a Comment

Please login to continue.