to_16_bit#

omnipose.utils.to_16_bit(im)[source]#

Rescale image [0,2^16-1] and then cast to uint16.