volumentations
volumentations copied to clipboard
untimeWarning: invalid value encountered in power img = np.power(img, gamma)
when I use the RandomGamma after ElasticTransform, sometimes this warning will arise. It seems that some of the volumn data after ElasticTransform will be negative, so applying np.power to it will trigger this warning, please tell me how to deal with it?