dtype.py
x is an image.
to_float(x)
to_uint(x)