def img_as_uint(image, force_copy=False):
 return convert(image, np.uint16, force_copy)

def img_as_uint ( image , force_copy = False ) : return convert ( image , np . uint16 , force_copy )
convert an image to 16-bit unsigned integer format .