Package sc.fiji.snt.plugin
Class AutotraceFromSeedsCmd
java.lang.Object
org.scijava.module.AbstractModule
org.scijava.module.DefaultMutableModule
org.scijava.command.DynamicCommand
sc.fiji.snt.gui.cmds.CommonDynamicCmd
sc.fiji.snt.plugin.GWDTTracerCommonCmd
sc.fiji.snt.plugin.AutotraceFromSeedsCmd
- 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
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 Summary
FieldsFields inherited from class sc.fiji.snt.plugin.GWDTTracerCommonCmd
abortRun, backgroundThreshold, branchTuneMaxAngle, chosenImp, debugMode, imgChoice, imgFileChoice, lengthThreshold, scoreMapFilterFields inherited from class sc.fiji.snt.gui.cmds.CommonDynamicCmd
EMPTY_LABEL, HEADER_HTML, snt, sntService, statusService, ui, uiServiceFields inherited from class org.scijava.command.DynamicCommand
moduleService, pluginService -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class sc.fiji.snt.plugin.GWDTTracerCommonCmd
cancel, configureSecondaryScoreMap, createAndConfigureTracer, error, getImgFromImgChoice, handleTracedTrees, initForFile, initForImage, noValidImgError, scoreMapFilterCallbackMethods inherited from class sc.fiji.snt.gui.cmds.CommonDynamicCmd
cancel, getPromptWithCloseHandler, getPromptWithCloseHandler, init, isCanceled, msg, notifyExternalDataLoaded, notifyLoadingEnd, notifyLoadingStart, resetUI, resetUI, resetUI, statusMethods inherited from class org.scijava.command.DynamicCommand
context, getCancelReason, getContext, getInfo, getInput, getOutput, saveInputs, setContext, setInput, setOutput, uncancelMethods inherited from class org.scijava.module.AbstractModule
getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, preview, resolveInput, resolveOutput, setInputs, setOutputs, unresolveInput, unresolveOutputMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.scijava.module.Module
getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, isResolved, preview, resolveInput, resolveOutput, setInputs, setOutputs, setResolved, unresolveInput, unresolveOutputMethods inherited from interface org.scijava.module.MutableModule
addInput, addInput, addOutput, addOutput, removeInput, removeOutput
-
Field Details
-
SOURCE_SELECTION
- See Also:
-
-
Constructor Details
-
AutotraceFromSeedsCmd
public AutotraceFromSeedsCmd()
-
-
Method Details
-
init
protected void init()Initializer. Inherits image-related setup fromGWDTTracerCommonCmd.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:
runin interfaceorg.scijava.module.MutableModule- Specified by:
runin interfaceRunnable- Overrides:
runin classCommonDynamicCmd
-
runCommand
protected void runCommand()- Overrides:
runCommandin classGWDTTracerCommonCmd
-
isFileMode
protected boolean isFileMode()- Specified by:
isFileModein classGWDTTracerCommonCmd
-