HumanSignal / HumanSignal/label-studio

Masks for imported images w/ annotations ignores the image smoothing UI setting

Open
#4,619 0 comments 0 reactions 1 assignee Claimed by @makseq View on GitHub
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

When working with images with (drawn) masks that are or have been annotated and imported into a label studio instance, the image smoothing selection is only respected for the image, not the mask.

When deselecting the image smoothing option, the images, when zoomed, show individual pixels. However, the masks _are_ still smoothed. This makes editing boundaries of masks very tedious and difficult as you don't know exactly where the mask begins/ends when zoomed in.

**To Reproduce**
Steps to reproduce the behavior:
1. import a task with an existing mask annotation in rle
2. in the UI, uncheck the image smoothing when zoomed option

**Expected behavior**
The displayed image AND mask both respect the image smoothing setting.

**Screenshots**
The mask color is red.

Screenshot 2023-08-09 at 5 09 49 PM

**Environment (please complete the following information):**
- OS: Debian 11 (bullseye)
- Label Studio Version: 1.7.1

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.