public class HessianDetectorFactory<T extends RealType<T> & NativeType<T>> extends LogDetectorFactory<T>
| Modifier and Type | Field and Description |
|---|---|
static String |
DETECTOR_KEY |
static String |
INFO_TEXT |
static String |
NAME |
errorMessage, img, settings| Constructor and Description |
|---|
HessianDetectorFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkSettings(Map<String,Object> lSettings)
Check that the given settings map is suitable for target detector.
|
HessianDetectorFactory<T> |
copy()
Returns a copy the current instance.
|
boolean |
forbidMultithreading()
Returns a flag that tells TrackMate whether it should strictly forbid
running this module concurrently.
|
Map<String,Object> |
getDefaultSettings()
Returns a new default settings map suitable for the target detector.
|
SpotDetector<T> |
getDetector(Interval interval,
int frame)
Returns a new
SpotDetector configured to operate on the given
target frame. |
ConfigurationPanel |
getDetectorConfigurationPanel(Settings lSettings,
Model model)
Returns a new GUI panel able to configure the settings suitable for this
specific detector factory.
|
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.
|
boolean |
marshall(Map<String,Object> lSettings,
org.jdom2.Element element)
Marshalls a settings map to a JDom element, ready for saving to XML.
|
boolean |
unmarshall(org.jdom2.Element element,
Map<String,Object> lSettings)
Un-marshalls a JDom element to update a settings map.
|
getErrorMessage, getIcon, prepareFrameImg, setTargetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithas2Dsegmentationpublic static final String DETECTOR_KEY
public static final String NAME
public static final String INFO_TEXT
public SpotDetector<T> getDetector(Interval interval, int frame)
SpotDetectorFactorySpotDetector configured to operate on the given
target frame. This factory must be first given the ImgPlus
and the settings map, through the #setTarget(ImgPlus, Map)
method.getDetector in interface SpotDetectorFactory<T extends RealType<T> & NativeType<T>>getDetector in class LogDetectorFactory<T extends RealType<T> & NativeType<T>>interval - the interval that determines the region in the source image to
operate on. This must not have a dimension for time
(e.g. if the source image is 2D+T (3D), then the
interval must be 2D; if the source image is 3D without time,
then the interval must be 3D).frame - the frame index in the source image to operate onpublic boolean forbidMultithreading()
TrackMateModule
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.
public String getKey()
TrackMateModulegetKey in interface TrackMateModulegetKey in class LogDetectorFactory<T extends RealType<T> & NativeType<T>>public boolean checkSettings(Map<String,Object> lSettings)
SpotDetectorFactoryBasecheckSettings in interface SpotDetectorFactoryBase<T extends RealType<T> & NativeType<T>>checkSettings in class LogDetectorFactory<T extends RealType<T> & NativeType<T>>lSettings - the map to test.true if the settings map is valid.public boolean marshall(Map<String,Object> lSettings, org.jdom2.Element element)
SpotDetectorFactoryBase
Only parameters specific to the specific detector factory are marshalled.
The element also always receive an attribute named
that saves the target
SpotDetectorFactory key.
marshall in interface SpotDetectorFactoryBase<T extends RealType<T> & NativeType<T>>marshall in class LogDetectorFactory<T extends RealType<T> & NativeType<T>>true if marshalling was successful. If not, check
SpotDetectorFactoryBase.getErrorMessage()public boolean unmarshall(org.jdom2.Element element, Map<String,Object> lSettings)
SpotDetectorFactoryBaseunmarshall in interface SpotDetectorFactoryBase<T extends RealType<T> & NativeType<T>>unmarshall in class LogDetectorFactory<T extends RealType<T> & NativeType<T>>element - the JDom element to read from.lSettings - the map to update. Is cleared prior to updating, so that it
contains only the parameters specific to the target detector
factory.true if un-marshalling was successful. If not, check
SpotDetectorFactoryBase.getErrorMessage()public ConfigurationPanel getDetectorConfigurationPanel(Settings lSettings, Model model)
SpotDetectorFactoryBasegetDetectorConfigurationPanel in interface SpotDetectorFactoryBase<T extends RealType<T> & NativeType<T>>getDetectorConfigurationPanel in class LogDetectorFactory<T extends RealType<T> & NativeType<T>>lSettings - the current settings, used to get info to display on the GUI
panel.model - the current model, used to get info to display on the GUI
panel.public String getInfoText()
TrackMateModulegetInfoText in interface TrackMateModulegetInfoText in class LogDetectorFactory<T extends RealType<T> & NativeType<T>>public String getName()
TrackMateModulegetName in interface TrackMateModulegetName in class LogDetectorFactory<T extends RealType<T> & NativeType<T>>public Map<String,Object> getDefaultSettings()
SpotDetectorFactoryBasegetDefaultSettings in interface SpotDetectorFactoryBase<T extends RealType<T> & NativeType<T>>getDefaultSettings in class LogDetectorFactory<T extends RealType<T> & NativeType<T>>public HessianDetectorFactory<T> copy()
SpotDetectorFactoryBasecopy in interface SpotDetectorFactoryBase<T extends RealType<T> & NativeType<T>>copy in class LogDetectorFactory<T extends RealType<T> & NativeType<T>>Copyright © 2010–2024 TrackMate. All rights reserved.