Hi Stephane,
Thanks for getting back to me. In advance, very sorry this turned into a monster email. I tried to keep things neat, but please let me know if you have questions. Feel free to answer things in small blocks. We can sort out the rest later.
The original TIFF file is 2.03 GB
I tried performing some of the same Fiji operations outside and inside the protocol editor and found a few problems, but I have a couple other things to point out.
1) The Protocols Editor does not contain the "z projection" plugin.
2) Ideally, I would make the ratiometric image on the whole stack and later select different slices to project, but the protocol could not get past the "operation binary" step for the first channel (step 3) if I do not start with a z projection.
3) I therefore usually need to extract all channels and z project (max or mean) outside of protocol editor. Is it possible to add these functions to the protocol so I can just call the file and run the steps? That's basically what I'm trying to do, but I don't know how to get the first steps into the protocol.
4) If I z project first (outside of protocol editor) and then use protocol editor to call the projected images, the protocol will run to the end. But there is a problem with the duplication>threshold>multiply functions in steps 9-15. After applying the "manual threshold" to the ratio image, the mask is inverted, meaning the background has a 1 value (white pixel) and the cell's signal has a value of 0 (black pixel) which is opposite of what I want. I tried running "simple operations" to invert the mask, but it is requiring input from two channels and it throws an error if I select "no sequence" for value 2.
5) I have also tried using HK-Means to apply a threshold (for steps 2 and 5) instead of using the "thresholder" function, but it seems to work with variable accuracy when moving through the other time points in the image. Meaning a mask for time=1 may look good, but time=4 may look bad. Perhaps you can comment on why the threshold is so different from one time point to another?
I've attached the protocol and screenshot that I have been working on. I also attached a screen shot of the comparable steps of the protocol performed separately outside of the protocol editor which allows me to invert the ratio mask and create a ratiometric color coded image.
Regarding the final ratiometric image, I'm having trouble with two things, the LUT and measuring the ratio within an ROI.
For the LUT: I would like to adjust the LUT to exaggerate the different ratios. It looks like the ratio mostly ranges from ~1-3 so it would be best to have the greatest color change over this pixel range. I've tried adjusting the contrast but I can't seem to reproduce a color change as dramatic as I have seen in ImageJ/Fiji.
For the ratio measurement: I drew a few ROIs and tried using "ROI intensity evolution", "intensity profile, and "roi statistics" to measure the average ratio in the ROI, but for some reason none of the plugins are calculating the mean pixel value. Strange...
Thank so much for helping out with this!
-Vince