Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements of the GUI #623

Open
AlexHego opened this issue Dec 8, 2022 · 2 comments
Open

Improvements of the GUI #623

AlexHego opened this issue Dec 8, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@AlexHego
Copy link

AlexHego commented Dec 8, 2022

Dear all,
First of all I wanted to thank you for your work that has revolutionized image analysis in biology.

I would like to suggest new features to improve the Cellpose GUI:

  1. a correction tool that removes some of the pixels that are not necessary in the mask (like ALT + Click in QuPath)

  2. A possibility to load a folder for training, and a second folder with validation data

  3. A batch prediction though the GUI (like the serial cellpose napari) (users sometime are scared by jupyter notebook)

  4. Possibility to see during the training the training and validation curves

  5. Possibility to check the QCmetrics like in ZeroCostDl4Mic
    """Calculate detection/instance segmentation metrics between ground truth and predicted label images.
    Currently, the following metrics are implemented:
    'fp', 'tp', 'fn', 'precision', 'recall', 'accuracy', 'f1', 'criterion', 'thresh', 'n_true', 'n_pred', 'mean_true_score', 'mean_matched_score', 'panoptic_quality'
    Corresponding objects of y_true and y_pred are counted as true positives (tp), false positives (fp), and false negatives (fn)
    whether their intersection over union (IoU) >= thresh (for criterion='iou', which can be changed)

    • mean_matched_score is the mean IoUs of matched true positives
    • mean_true_score is the mean IoUs of matched true positives but normalized by the total number of GT objects
    • panoptic_quality defined as in Eq. 1 of Kirillov et al. "Panoptic Segmentation", CVPR 2019
      Parameters
  6. An annotation tool in 3D with the possibility to load a Z-stack and copy paste annotations
    best,

@carsen-stringer carsen-stringer added the enhancement New feature or request label Jan 10, 2023
@carsen-stringer
Copy link
Member

Thanks Alex! The easiest of these is definitely number 2, and 3 is not too bad either. I like the idea of 4, but at least the user can inspect the command line for this info (so a workaround for now)

For 5 are you referring to the statistics on the validation set? we have all of these implemented in cellpose so we could return them.

For 6, we do in fact allow annotation in 3D, by turning off single stroke. If you press enter a 3D mask is drawn which can interpolate across planes which were not annotated. Was there something missing with this or was the documentation not very clear?

@AlexHego
Copy link
Author

Dear Carsen,
regarding point 5, using the human-in-the-loop method can make it difficult for researchers to accurately measure detection accuracy. Utilizing QC metrics can present it in an objective manner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants