fiji

How to specify colormap when saving tiff stack

此生再无相见时 提交于 2019-12-22 13:50:03
问题 I'm using tifffile in python to save out 3-channel tiff stacks, which I then want to read into ImageJ or FIJI. These tiff stacks open as composites in ImageJ with each channel assigned a (presumably default) colormap/LUT. However, the colors that are assigned aren't the colors that make sense for my images. My problem is that I can't figure out how to specify the colormap for each channel when saving the image using tifffile . For example, I'd like to have the following colormap assignments:

Is there a way to update the display window when the user loads a new image?

喜夏-厌秋 提交于 2019-12-11 18:19:21
问题 I am writing a program that loads an image(stack of images in one file) and do some operations on the image with the controls (buttons) and being able to load another image on the frame without having to change previous controls. The frame has a default window image at the start of the program. There is a button that loads a new image from the wanted directory. However the image never gets updated when the loadImage button is pressed. How do I get my frame to update the image window when a

How to specify colormap when saving tiff stack

南楼画角 提交于 2019-12-06 04:49:28
I'm using tifffile in python to save out 3-channel tiff stacks, which I then want to read into ImageJ or FIJI. These tiff stacks open as composites in ImageJ with each channel assigned a (presumably default) colormap/LUT. However, the colors that are assigned aren't the colors that make sense for my images. My problem is that I can't figure out how to specify the colormap for each channel when saving the image using tifffile . For example, I'd like to have the following colormap assignments: ch 0: grays ch 1: green ch 2: red Here's the code that I'm using to save the files: # save hyperstack