HumanSignal / HumanSignal/label-studio

BitmaskLabels : disable darkening of the area outside the bitmask when selected

Open
#8,727 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**Is your feature request related to a problem? Please describe.**
When a Bitmask is selected (e.g., right after painting an area), the area outside the mask is darkened. This makes it extremely difficult to refine existing bitmasks on already dark images, such as ultrasound images, as the dark overlay hides important details.
Since segmentation usually requires multiple refinement steps rather than a single pass, this behavior is very impractical.

**Describe the solution you'd like**
Add an option to disable the dark overlay outside the active bitmask. Alternatively, remove or adjust this behavior if it’s not essential to most users.

**Describe alternatives you've considered**
Adjusting contrast and brightness each time I edit a bitmask, but this is inefficient.
Using BrushLabels, but I need precise pixel-wise segmentation, so they aren’t suitable. Additionally, BrushLabels have their own issues (e.g., the brush cursor size not updating when zooming).

**Additional context**
![Image](https://github.com/user-attachments/assets/c1e1931b-2adf-48d0-bbda-e5fa58fab78e)

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.