what is the best way to show these 12 bit TIFF (saved in 16 bit format) in greyscale?
Could you please help me to use skimage and matplotlib correctly to visualise such images: https://app.box.com/s/lzpvj29omv5e7eny0hcyxakj032tu8vd I try it in IPython notebook using tifffile or PIL, all fail to show the image. A part of the problem is the size which causes MemoryError - I'd be happy to see the reduced resolution as well. Thanks Alex
On 2015-07-30 17:35:00, Alex <alex.liberzon@gmail.com> wrote:
Could you please help me to use skimage and matplotlib correctly to visualise such images: https://app.box.com/s/lzpvj29omv5e7eny0hcyxakj032tu8vd
Try something like this: from skimage import io, exposure import matplotlib.pyplot as plt image = io.imread('my_image.tif', plugin='tifffile') image_eq = exposure.equalize_hist(image) plt.imshow(image_eq, cmap='gist_heat') plt.show() Nice image :) Stéfan
participants (2)
-
Alex
-
Stefan van der Walt