volumentations icon indicating copy to clipboard operation
volumentations copied to clipboard

untimeWarning: invalid value encountered in power img = np.power(img, gamma)

Open oslo71 opened this issue 2 years ago • 0 comments

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?

oslo71 avatar Dec 12 '22 08:12 oslo71