public class TrackIndexAnalyzer extends Object implements TrackAnalyzer
Modifier and Type | Field and Description |
---|---|
static Map<String,Dimension> |
FEATURE_DIMENSIONS |
static Map<String,String> |
FEATURE_NAMES |
static Map<String,String> |
FEATURE_SHORT_NAMES |
static List<String> |
FEATURES |
static Map<String,Boolean> |
IS_INT |
static String |
KEY
The key for this analyzer.
|
static String |
TRACK_ID |
static String |
TRACK_INDEX
The key for the feature TRACK_INDEX
|
Constructor and Description |
---|
TrackIndexAnalyzer() |
Modifier and Type | Method and Description |
---|---|
Map<String,Dimension> |
getFeatureDimensions()
Returns the map of feature dimension this analyzer can compute.
|
Map<String,String> |
getFeatureNames()
Returns the map of names for any feature this analyzer can compute.
|
List<String> |
getFeatures()
Returns the list of features this analyzer can compute.
|
Map<String,String> |
getFeatureShortNames()
Returns the map of short names for any feature the analyzer
can compute.
|
ImageIcon |
getIcon()
Returns the icon for this action.
|
String |
getInfoText()
Returns a html string containing a descriptive information about this
module.
|
Map<String,Boolean> |
getIsIntFeature()
Returns the map that states whether the key feature is a feature that
returns integers.
|
String |
getKey()
Returns a unique identifier of this module.
|
String |
getName()
Returns the human-compliant name of this module.
|
int |
getNumThreads()
Ignore.
|
long |
getProcessingTime() |
boolean |
isLocal()
TrackIndexAnalyzer is not local, since the indices are
re-arranged according to names. |
boolean |
isManualFeature()
Returns whether all the features declared in this
FeatureAnalyzer are manual features. |
void |
process(Collection<Integer> trackIDs,
Model model)
Compute the features of the track whose ID is given.
|
void |
setNumThreads()
Ignored.
|
void |
setNumThreads(int numThreads)
Ignored.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forbidMultithreading
public static final String KEY
public static final String TRACK_INDEX
public static final String TRACK_ID
public boolean isLocal()
TrackIndexAnalyzer
is not local, since the indices are
re-arranged according to names.isLocal
in interface TrackAnalyzer
public void process(Collection<Integer> trackIDs, Model model)
TrackAnalyzer
process
in interface TrackAnalyzer
trackIDs
- the IDs of the track whose features are to be calculated.model
- the Model
from which actual tracks are to be
retrieved.public long getProcessingTime()
getProcessingTime
in interface Benchmark
public String getKey()
TrackMateModule
getKey
in interface TrackMateModule
public List<String> getFeatures()
FeatureAnalyzer
getFeatures
in interface FeatureAnalyzer
public Map<String,String> getFeatureShortNames()
FeatureAnalyzer
getFeatureShortNames
in interface FeatureAnalyzer
public Map<String,String> getFeatureNames()
FeatureAnalyzer
getFeatureNames
in interface FeatureAnalyzer
public Map<String,Dimension> getFeatureDimensions()
FeatureAnalyzer
getFeatureDimensions
in interface FeatureAnalyzer
public void setNumThreads()
setNumThreads
in interface MultiThreaded
public void setNumThreads(int numThreads)
setNumThreads
in interface MultiThreaded
public int getNumThreads()
getNumThreads
in interface MultiThreaded
public String getInfoText()
TrackMateModule
getInfoText
in interface TrackMateModule
public ImageIcon getIcon()
TrackMateModule
null
.getIcon
in interface TrackMateModule
null
to be safely ignored.public String getName()
TrackMateModule
getName
in interface TrackMateModule
public Map<String,Boolean> getIsIntFeature()
FeatureAnalyzer
true
, then special treatment is applied
when saving/loading, etc. for clarity and precision.getIsIntFeature
in interface FeatureAnalyzer
public boolean isManualFeature()
FeatureAnalyzer
FeatureAnalyzer
are manual features.
Manual features are not calculated normally using an analyzer, nor
cleared at each recalculation. Another classes are responsible to set
their value. The concrete FeatureAnalyzer
calculation method is
not called by TrackMate when a change happens to the model.
Therefore the calculation routine of the FeatureAnalyzer
can be
used to discard the manually stored value of these features.
isManualFeature
in interface FeatureAnalyzer
true
if the features declared in this analyzer are
manual feature.Copyright © 2015–2021 Fiji. All rights reserved.