Skip to content

Releases: BIOP/qupath-extension-cellpose

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

QuPath Compatibility with 0.3.2 and logging display

21 Jan 08:28
8c195c4
Compare
Choose a tag to compare

This small update fixes a slowdown in saving images caused by the new way the Bioformats reader is setup.

Furthermore this update includes an easier way to see and display the training of your cellpose model.
After building your cellpose object and after running the training with train(), you can now do the following

  1. cellpose.getOutputLog() which will return a String array with all the logged steps from cellpose. You could save these as a file if you want.
  2. Call cellpose.getTrainingResults() which parses the raw output log and returns a ResultsTable with the losses per epoch
  3. Call cellpose.showTrainingGraph(), which displays a simple JavaFX plot of the Training and Validation Losses per Epoch.

The cellpose.getOutputLog() also would work when doing prediction instead of training. The others would simply be empty.

Happy training

Overhaul, Javadocs and new training options

14 Dec 09:44
fb51e46
Compare
Choose a tag to compare

Adds much documentation and a rework of the builder class.

Please check the documentation to spot the differenced in this version and do not hesitate to file Issues here or on https://forum.image.sc

Omnipose implementation

03 Dec 15:26
Compare
Choose a tag to compare

This new version uses cellpose/omnipose instead, which has an updated CLI.

This means that your previous cellpose environment will no longer work

If you have not done it before, please update cellpose from their instructions or create a new virtual environment for omnipose as per
https://github.com/MouseLand/cellpose