Skip to content

v0.3.0

Compare
Choose a tag to compare
@ksugar ksugar released this 05 Jul 07:51
· 40 commits to main since this release

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)

  • 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
  • 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)