Disable intensity scaling in scipy.impave

When I save an image in scipy with scipy.misc.imsave

, it always "normalizes" the intensities of the image, scaling the lowest value to 0 and the highest to 1 (for grayscale), comparable to what MATLAB does with []

argument in imshow(image, [])

. Is there a way to turn this off?

+3


source to share


1 answer


I found this: http://stefaanlippens.net/scipy_unscaledimsave



+4


source







All Articles