google / google/neuroglancer

Segmentation "notSelectedAlpha" issue

Open
#691 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.5k
Forks
389
Avg merge
3d 21h
Merged PRs (30d)
3

Description

I have a segmentation precomputed where I want to highlight particular segments based on user query. To do this I am tying to lower the alpha of non-selected regions. When I load the link, all regions are the same alpha despite the slider showing the non selected regions should have a lower value

![Image](https://github.com/user-attachments/assets/38bc71be-68e4-4648-9218-ca8ef991fce3)

The JSON shows the the "notSelectedAlpha" value to be lower than 1.0 and if I modify it there everything in the UI begins to work correctly.

![Image](https://github.com/user-attachments/assets/53d94465-79f0-4541-8869-32c4335fb055)
![Image](https://github.com/user-attachments/assets/ba69c9a6-c36c-4641-ae99-48fd27e16e63)

Any ideas on why it does not work correctly on the original load?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.