Closed thewtex closed 4 years ago
@thewtex Yes I'll take a look, thanks.
Just to make sure I'm trying to fix the right issue: I'm reproducing this by sliding that blue window level bar to, e.g., reduce the max mapped color value. Like in this video?
@scottwittenburg yes, where the cyan is turning black, we want to keep it cyan.
Wondering if this is related to https://github.com/Kitware/vtk-js/issues/1499
Yep, I wondered too since the symptom looks identical, but it seems we're not using discretize
from here, and it seems that's not the default. I'm still looking into it though. Thanks @jourdain.
git bisect
points to
54b7bf89b6c7b3b536dad9bd65c2d89dbb8bcc93
+++ b/package.json
@@ -26,7 +26,7 @@
"open": "^6.4.0",
"promise-file-reader": "^1.0.2",
"regenerator-runtime": "^0.13.5",
- "vtk.js": "^14.1.2"
+ "vtk.js": "^14.3.2"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.9.6",
When values exceed the min / max mapped color, they are present as black in the slices:
Can they be clamped to the min / max value of the colormap? @scottwittenburg could you please help with this?