Class AutotraceFromSeedsCmd

java.lang.Object
org.scijava.module.AbstractModule
org.scijava.module.DefaultMutableModule
org.scijava.command.DynamicCommand
All Implemented Interfaces:
Runnable, org.scijava.Cancelable, org.scijava.command.Command, org.scijava.Contextual, org.scijava.module.Module, org.scijava.module.MutableModule, org.scijava.plugin.SciJavaPlugin

public class AutotraceFromSeedsCmd extends GWDTTracerCommonCmd
Batch autotracing wrapper that iterates over the seeds currently held by SNT's SeedOverlay and runs the GWDT tracer once per seed (each seed acts as the root of a new Tree). Trees are accumulated and loaded into the active PathAndFillManager at the end.

Inherits all GWDT tracing knobs from GWDTTracerCommonCmd; adds three seed-source filter parameters (source, type, channel override). Failures on individual seeds are logged and reported but do not abort the whole run.

Author:
Tiago Ferreira
See Also:
  • Field Details

  • Constructor Details

    • AutotraceFromSeedsCmd

      public AutotraceFromSeedsCmd()
  • Method Details

    • init

      protected void init()
      Initializer. Inherits image-related setup from GWDTTracerCommonCmd.initForImage(), hides ROI-strategy parameters that don't apply (seeds drive root placement), and populates the type-filter choices from the distinct types currently on the overlay.
    • run

      public void run()
      Specified by:
      run in interface org.scijava.module.MutableModule
      Specified by:
      run in interface Runnable
      Overrides:
      run in class CommonDynamicCmd
    • runCommand

      protected void runCommand()
      Overrides:
      runCommand in class GWDTTracerCommonCmd
    • isFileMode

      protected boolean isFileMode()
      Specified by:
      isFileMode in class GWDTTracerCommonCmd