Releases: ksugar/qupath-extension-sam
v0.7.0
v0.6.0
v0.5.0
v0.4.1
v0.4.0
Overview
- Support for registering SAM weights from URL. ksugar/qupath-extension-sam#8 ksugar/samapi#11
(suggested and tested by @constantinpape) - Combine the
Prompt
andAuto mask
dialogs into a singleSegment Anything Model
dialog.
Register SAM weights from URL
- Select
Extensions
>SAM
from the menu bar. - Press the
Register
button in theSegment Anyghing Model
dialog.
The weights file is downloaded from the URL and registered on the server. After the registration, you can select the weights from the SAM weights
dropdown menu.
Parameters
key | value |
---|---|
SAM type | One of vit_h (huge) , vit_l (large) , vit_b (base) , or vit_t (mobile) . |
Name | The SAM weights name to register. It needs to be unique in the same SAM type. |
URL | The URL to the SAM weights file. |
v0.4.0-SNAPSHOT
This is a pre-release of v0.4.0
for testing.
v0.3.0
Overview
- Support for both point and rectangle foreground prompts (@petebankhead)
- Ensure each new point is a distinct object while SAM is running (i.e. turn of 'Multipoint' mode)
- Support line ROIs as a way of adding multiple points in a single object
- Support point background prompts (@petebankhead)
- Points with 'ignored*' classifications are passed to the model as background prompts
(Sidenote: it seems a large number of background points harm the prediction... or I've done something wrong)
- Points with 'ignored*' classifications are passed to the model as background prompts
- Implement 'Live mode' and 'Run for selected' (@petebankhead)
- 'Live mode' toggle button to turn live detection on or off
- Alternative 'Run for selected' button to use only the selected foreground and background objects
- This makes it possible to annotate first, then run SAM across multiple objects - as required on the forum
- Support SamAutomaticMaskGenerator
-
Menu items simplified to a single command to launch a dialog to control annotation with SAM (@petebankhead)
- Provide persistent preferences for key choices (e.g. server, model)
- Run prediction in a background thread with (indeterminate) progress indicator
- Help the user with tooltips (and prompts shown at the bottom of the dialog)
-
Handle changing the current image while the command is running (@petebankhead)
- Send entire field of view for point prediction
This is useful for one-click annotation of visible structures
- Send entire field of view for point prediction
-
Include the 'quality' metric as a measurement for objects that are created (@petebankhead)
-
Support z-stacks/time series (by using the image plane; there's no support for 3D objects) (@petebankhead, @rharkes)
-
Optionally assign names & random colors to identify the generated objects (@petebankhead)
-
Optionally return multiple (3) detections instead of 1 (@petebankhead)
- Select which detection to retain based upon size or quality, or keep all of them
-
Optionally keep the prompt objects, instead of immediately deleting them (@petebankhead)
v0.2.0
Updates
- Support any number of channels
Acknowledgements
Thank you for your contributions:
- issue report: ksugar/samapi#2 (comment) @romainGuiet
- issue report: #1 (comment) @adyprat
- issue report: https://forum.image.sc/t/qupath-extension-segment-anything-model-sam/82420/2 @lacan
- suggestions and discussion: ksugar/samapi#2 (comment) @petebankhead