Viewing 3 channel image as RGB in neuroglancer
Open
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 389
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 3
Description
I have data in 3 channels stored in a zarr file, when I try to load it with neuroglancer, it shows me the result as z,y,x where scrolling makes me go through the the three dimensions of z 0,1, and 2. Rather than this I want ng to show me the data as normal RGB image. I tried using the RGB shader:
void main () {
emitRGB(vec3(toNormalized(getDataValue(0)),
toNormalized(getDataValue(1)),
toNormalized(getDataValue(2))));
}
But it didn't work, it still shows me 3 gray scale channels. Is there some other way to render the 3 channels as an RGB image in neuroglancer?
Contributor guide
Assessment
This issue has not been assessed yet.