myimagelib.myImageLib.to8bit

myimagelib.myImageLib.to8bit(img16)

Enhance contrast and convert to 8-bit.

Parameters

img (2d array) – mono image of any dtype

Returns

8-bit image

Return type

uint8 2d array