Skip to content

Releases: BIOP/qupath-extension-cellpose

QuPath v0.4.0 Flavored Release

15 Dec 12:43
dc1a727
Compare
Choose a tag to compare

This release implements the awesome new changes that came with the release of QuPath 0.4.0 and the updated StarDist extension for it.

And this has also led to a couple of small modifications

  1. Some Cellpose builder methods were removed in favor or a more flexible way of passing parameters
  2. The new version of the extension only supports Cellpose versions above 2.0
  3. You can now add any cellpose parameter using addParameter() in the builder
  4. There is now a possibility for global normalization!

Check out the updated readme for further information and do not hesitate to go to https://forum.image.sc to discuss usage issues.

Object overlap, quality of life updates and new training option

08 Nov 09:21
Compare
Choose a tag to compare

This update fixes an issue in the way objects were being detected and re-added to QuPath.

It now follows much more closely what is done in the StarDist Extension and should result in fewer issues.

Now the Z and T positions are also appended to the names of the exported images. Useful for 3D and T stacks

Adds the min_training_masks option to help avoid cellpose from excluding images with less than 5 annotations during training

Finally, it adds a bit more verbosity. The full command used to run or train is output in such a way that it can be run from the command line by copy-paste

You should unzip the contents of the file below into your extensions directory

Improved Integrated Quality Control

05 Sep 07:54
Compare
Choose a tag to compare

This release builds on v0.4.0 #7365020 following comments by @romainGuiet to integrate the whole QC directly rather than run it separately (Which no-one will ever do until it's too late 😅).

Improvements

Quality control is perfomed after training provided that:

  1. You added the scikit-image dependency to your cellpose installation
  2. You copy run-cellpose-qc.py into your QuPath extensions folder

Read the updated ReadMe to see how to do these installation steps.
Here is an example gif in real time (only 100 epochs though)

cellposeValidation

Possibility to save the training graph as a PNG in your QuPath project's QC folder

On top of showing you the training graph if you request it after training using showTrainingGraph(),
you can also choose to save it but not show it using showTrainingGraph(boolean show, boolean save)

Updated JavaDoc and ReadMe to account for the new features

As ususal, JavaDoc is here: https://biop.github.io/qupath-extension-cellpose/qupath/ext/biop/cellpose

Always happy to receive comments and suggestions!

Adds Quality Control Notebook and Training now also saves Validation Predictions

01 Sep 14:33
Compare
Choose a tag to compare

Please see the forum post for more information
https://forum.image.sc/t/qupath-extension-cellpose-update-validation/71320

Also adds a fix to how the QuPath Proejct is recovered when training from another thread (Like when creating a button dynamically)

Project path inference update

31 Aug 08:06
Compare
Choose a tag to compare

Following the discussions on the Image.sc forum
https://forum.image.sc/t/create-a-shortcut-button-to-run-a-script/71195

And the PR #14 by @zindy, a better way to figure out where the project directory has been implemented.

This release corrects an incorrect overlap being set to 0 instead of the default due to my messing up boxed and unboxed doubles and ints.

Improved documentation, the return of normalization

04 Aug 06:14
Compare
Choose a tag to compare

This release tackles the following aspects

  • Erroneous message informing that an unimplemented 'global normalization' was being performed on downsampled data
  • Update to documentation with Cellpose installation instructions and practical information
  • Adds an updated JavaDoc
  • Adds the option to normalize in QuPath by clipping values below 0.0 and above 1.0 after calling normalizePercentiles(double min, double max) in the builder.

Note
This implies that the order of normalizePercentiles(double min, double max) and preprocess() is important. Always finish with the normalization if using `preprocess()

Please read the updated documentation for some more small details

New Way to call cellpose

23 Jun 11:33
Compare
Choose a tag to compare

Inspired by the TrackMate-Cellpose and the following issue #12

This update adds the possibility to simply add the complete path to your python executable in order to run cellpose.
image

This also includes a fix that allows QuPath projects to have whitespaces in their path on Linux/MacOS .

Cellpose 2.0, with fewer bugs

13 Apr 14:06
Compare
Choose a tag to compare

Thanks to the community some bugs were spotted and fixed.

Improved training verbose support

10 Feb 15:25
d16b539
Compare
Choose a tag to compare

This fixes training when using cellpose 1.0 as there was no output

Support for Cellpose 1.0

31 Jan 14:51
5f1e6c3
Compare
Choose a tag to compare

Adds option to Cellpose preferences for cellpose 1.0
Adds --verbose flag when using cellpose 1.0
Removes --resample flag