public interface TrackMateModule extends SciJavaPlugin
Modules are the way users can extend TrackMate. We rely on SciJava automatic plugin discovery to facilitate extension. To have a module discovered annotate its class with for instance
@Plugin( type = SpotAnalyzerFactory.class, priority = Priority.LOW, visible = false )This will have a
SpotAnalyzerFactory
module
registered in TrackMate. It will be given a priority of 1 (0 is the default),
which means that it will be run after the analyzers of a lower
priority. This is used when some modules depends on the results generated by
other modules. The visible
tag determines whether the module is
visible or not in the GUI.
Currently there are 7 types of modules:
SpotDetectorFactory
: generates
detectors for the detection step of TrackMate.
SpotAnalyzerFactory
:
generates analyzers that grant spots with scalar numerical features.
ViewFactory
: generates views
that can display the detection and tracking results.
SpotTrackerFactory
: generates
particle linkers for the tracking step of TrackMate.
TrackAnalyzer
: compute
scalar numerical features for tracks.
EdgeAnalyzer
: compute scalar
numerical features for edges (individual links between spots).
TrackMateActionFactory
: generates
actions that provide general use actions for TrackMate from the GUI.
Modifier and Type | Method and Description |
---|---|
default boolean |
forbidMultithreading()
Returns a flag that tells TrackMate whether it should strictly forbid
running this module concurrently.
|
ImageIcon |
getIcon()
Returns the icon for this action.
|
String |
getInfoText()
Returns a html string containing a descriptive information about this
module.
|
String |
getKey()
Returns a unique identifier of this module.
|
String |
getName()
Returns the human-compliant name of this module.
|
String getInfoText()
ImageIcon getIcon()
null
.null
to be safely ignored.String getKey()
String getName()
default boolean forbidMultithreading()
This might be the case for instance if you have a spot detector that you
want to run strictly one frame after another, to save resources or
because the multi-threading of the detector cannot be controlled. In that
case this flag should be set to true
.
If false
(the default), the multi-threading will be decided
by TrackMate.
Copyright © 2015–2021 Fiji. All rights reserved.