Class Spotiflow

java.lang.Object
qupath.ext.biop.spotiflow.Spotiflow

public class Spotiflow extends Object
Spot detection based on the following method:
   Albert Dominguez Mantes et al.
     "Spotiflow: accurate and efficient spot detection for fluorescence microscopy with deep stereographic flow regression"
   Cold Spring Harbor Laboratory - bioRxiv, 2024. doi: 10.1101/2024.02.01.578426
 
See the main repo at https://github.com/weigertlab/spotiflow

Very much inspired by qupath-extension-cellpose at https://github.com/BIOP/qupath-extension-cellpose

  • Field Details

    • modelDir

      protected File modelDir
    • pretrainedModelName

      protected String pretrainedModelName
    • tempDirectory

      protected File tempDirectory
    • trainingInputDir

      protected File trainingInputDir
    • trainingOutputDir

      protected File trainingOutputDir
    • spotiflowSetup

      protected SpotiflowSetup spotiflowSetup
    • parameters

      protected LinkedHashMap<String,String> parameters
    • savePredictionImages

      protected boolean savePredictionImages
    • useGPU

      protected boolean useGPU
    • process3d

      protected boolean process3d
    • probabilityThreshold

      protected double probabilityThreshold
    • minDistance

      protected double minDistance
    • channels

      protected Map<String,Integer> channels
    • doSubpixel

      protected String doSubpixel
    • pathClass

      protected String pathClass
    • classChannelName

      protected boolean classChannelName
  • Constructor Details

    • Spotiflow

      public Spotiflow()
  • Method Details

    • builder

      public static SpotiflowBuilder builder()
      Create a builder to customize detection parameters.
      Returns:
      this builder
    • helpTrain

      public void helpTrain()
      Prints the help and the available CLI arguments for the training command
    • helpPredict

      public void helpPredict()
      Prints the help and the available CLI arguments for the prediction command
    • detectObjects

      public void detectObjects(qupath.lib.images.ImageData<BufferedImage> imageData, String imageName, Collection<? extends qupath.lib.objects.PathObject> parents)
      Detect cells within one or more parent objects, firing update events upon completion.
      Parameters:
      imageData - the image data containing the object
      parents - the parent objects; existing child objects will be removed, and replaced by the detected cells