-
Hi All. I'd like to be able to load intensity cell/tissue images and a corresponding segmentation. Is it possible to load multiple files and stack them in this way? Or would you have to stack the channels (probably as a tif) and eventually load the single file. Thanks in advance for any thoughts or ideas. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
Our vitessce framework is what you would use for that since the rendering for segmentation results is non-trivial - see vitessce.io for more information. You could do what you are describing in theory, I suppose. For example: https://portal.hubmapconsortium.org/browse/dataset/79ec9402362b276b9e12c0f596dbac4f If it is taking a bit to load, you can just x-out the heatmap. |
Beta Was this translation helpful? Give feedback.
-
I think I resolved this issue. It doesn't appear to be a matter of dimension order. Rather you must explicitly tell bioformats which dimension you want to stack the files on. So far, the best option for this is using a pattern file -- https://docs.openmicroscopy.org/bio-formats/6.8.1/formats/pattern-file.html. I've had success using a pattern file as input to bfconvert but was told that it can also with with bioformats2raw and raw2ometiff For example, with two tiff single image channels (each HxW), c0.tiff and c1.tiff, you could populate a a file called stack.pattern with a single line that reads "c<0-1>.tiff" and then replace the input file in your bfconvert call with stack.pattern. |
Beta Was this translation helpful? Give feedback.
I think I resolved this issue. It doesn't appear to be a matter of dimension order. Rather you must explicitly tell bioformats which dimension you want to stack the files on. So far, the best option for this is using a pattern file -- https://docs.openmicroscopy.org/bio-formats/6.8.1/formats/pattern-file.html.
I've had success using a pattern file as input to bfconvert but was told that it can also with with bioformats2raw and raw2ometiff
For example, with two tiff single image channels (each HxW), c0.tiff and c1.tiff, you could populate a a file called stack.pattern with a single line that reads "c<0-1>.tiff" and then replace the input file in your bfconvert call with stack.pattern.