I have a uint8 image and a mask of it (float32).
The mask has ones where the object I want to keep is, and zeros for the background.
I want to make a new image tha