tomviz
tomviz copied to clipboard
"Linear Green" color map is not saving to state file properly
If you load up the tilt series example, and change the color map preset to "Linear Green", it appears like this:
If you then save it to a state file and load it into tomviz, it appears like this:
It appears there are some blue and brown colors in between 40 and 50. I'm not sure where they come from.
This might be a problem for other color maps also, but I only tested this one.
I think we have seem something like this before? @cryos?
We have, I think green uses a different colorspace, but I thought we had fixed that ages ago. Maybe something crept back in, or was lost.
Issue #1367 discusses the issue, and it looks pretty similar. Are we missing the colorspace in the state file, or not passing it?
Looks like the "colorSpace" in the state file is CIELAB
.