InsightSoftwareConsortium / itkwidgets

An elegant Python interface for visualization on the web platform to interactively generate insights into multidimensional images, point sets, and geometry.
https://itkwidgets.readthedocs.io/
Apache License 2.0
576 stars 83 forks source link

Label_image pixels of value 0 (i.e., label 0) should default to 0 opacity #683

Closed aylward closed 8 months ago

aylward commented 11 months ago

As reported in https://github.com/InsightSoftwareConsortium/itkwidgets/issues/682.

The underlying cause of the shadow observed in those label_image renderings is that label 0's color is black and has a non-zero opacity. By default, Label 0 should have a 0 opacity.