AllenCell / AllenCell/allencell-segmenter-ml

Simplify thresholing UX and workflow

Open
#579 0 comments 0 reactions 0 assignees View on GitHub
🚨 high priority🚨 refactor
Dominant language
Python
Stars
5
Forks
3
PR merge metrics
No merged PRs in 30d

Description

**Please describe the problem that needs to be solved by this feature**
Currently, we allow thresholding on images that are the result of prediction, a folder of images, or any image dropped into the napari viewer. This makes things necessarily complex.

I propose that users should only be able to apply thresholds on images that are the result of prediction. We should not have to select a input directory or drag and drop any images into the viewer.

Following this UI/UX change- we can simplify code as follows

- update ThresholdingModel once prediction finishes with the results, storing paths of all segmentations
- use that list of images as inputs to thresholding, so no need to re-select images before starting
- No need to rely on `source_path` metadata or `layer.source.path` to get image paths

**How important is this feature to you? (Software team will re-prioritize all tickets based on current workload)**
medium

**Describe the solution you'd like**
First we need to run this UX change idea through the UI team. The above solution is my idea on how to simplify things, but we should agree on a good solution that makes this ux easy for users and more manageable for the debs.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.