Class SearchThread

java.lang.Object
sc.fiji.snt.tracing.AbstractSearch
sc.fiji.snt.tracing.SearchThread
All Implemented Interfaces:
Runnable, SearchInterface
Direct Known Subclasses:
FillerThread, TracerThread

public abstract class SearchThread extends AbstractSearch
Implements a common thread that explores the image using a variety of strategies, e.g., to trace tubular structures or surfaces.
Author:
Mark Longair, Tiago Ferreira, Cameron Arshadi
  • Field Details

    • OPEN_FROM_START

      public static final byte OPEN_FROM_START
      See Also:
    • CLOSED_FROM_START

      public static final byte CLOSED_FROM_START
      See Also:
    • OPEN_FROM_GOAL

      public static final byte OPEN_FROM_GOAL
      See Also:
    • CLOSED_FROM_GOAL

      public static final byte CLOSED_FROM_GOAL
      See Also:
    • FREE

      public static final byte FREE
      See Also:
    • SUCCESS

      public static final int SUCCESS
      See Also:
    • CANCELLED

      public static final int CANCELLED
      See Also:
    • TIMED_OUT

      public static final int TIMED_OUT
      See Also:
    • POINTS_EXHAUSTED

      public static final int POINTS_EXHAUSTED
      See Also:
    • OUT_OF_MEMORY

      public static final int OUT_OF_MEMORY
      See Also:
    • EXIT_REASONS_STRINGS

      public static final String[] EXIT_REASONS_STRINGS
    • costFunction

      protected final Cost costFunction
    • open_from_start

      protected org.jheaps.AddressableHeap<DefaultSearchNode,Void> open_from_start
    • closed_from_start_count

      protected long closed_from_start_count
    • closed_from_goal_count

      protected long closed_from_goal_count
    • nodes_as_image_from_start

      protected SearchImageStack<DefaultSearchNode> nodes_as_image_from_start
    • nodes_as_image_from_goal

      protected SearchImageStack<DefaultSearchNode> nodes_as_image_from_goal
    • exitReason

      protected int exitReason
    • verbose

      protected final boolean verbose
    • started_at

      protected long started_at
    • loops

      protected long loops
    • loops_at_last_report

      protected long loops_at_last_report
    • lastReportMilliseconds

      protected long lastReportMilliseconds
  • Constructor Details

    • SearchThread

      protected SearchThread(net.imglib2.RandomAccessibleInterval<? extends net.imglib2.type.numeric.RealType<?>> image, ij.measure.Calibration calibration, boolean bidirectional, boolean definedGoal, int timeoutSeconds, long reportEveryMilliseconds, SNT.SearchImageType searchImageType, Cost costFunction)
    • SearchThread

      protected SearchThread(net.imagej.Dataset dataset, boolean bidirectional, boolean definedGoal, int timeoutSeconds, long reportEveryMilliseconds, SNT.SearchImageType searchImageType, Cost costFunction)
    • SearchThread

      protected SearchThread(SNT snt, net.imglib2.RandomAccessibleInterval<? extends net.imglib2.type.numeric.RealType<?>> image, Cost costFunction)
  • Method Details