Open keller-mark opened 3 years ago
@keller-mark Is this a part of the OMEXML data model? Could you provide the whole OMEXML?
I am not sure if Color mode
is part of the OME-XML data model. Alternatively, is there a way to explicitly prevent the RGB assumption for 3-channel 8-bit images (and available in Vitessce)? I tried specifying the channels and selection
s separately in spatialRasterLayers
but it still renders as RGB.
Maybe alternatively, if the 3 channels have Name
s, it should not be assumed to be RGB?
(I can also prevent the behavior by converting my image to 16-bit, but this makes the file much larger)
No I think it's time to create some sort of option for showing or hiding the controls if the data is not interleaved but 3 channels/8bit. You're not the first person to bring this up.
My concern about looking at the names is if people name things something like "red" or "g"
User story
I created a 3-channel 8-bit Tiff using ImageJ and selected "Grayscale" as the color mode when I created the hyperstack. However Viv (via Vitessce) thinks it is an RGB image due to the 3 channels.
Preferred solution
Use the "Color mode" OME-XML field in the guessRgb function if it is available.