public class SpotIntensityMultiCAnalyzerFactory<T extends RealType<T> & NativeType<T>> extends Object implements SpotAnalyzerFactory<T>
Constructor and Description |
---|
SpotIntensityMultiCAnalyzerFactory() |
Modifier and Type | Method and Description |
---|---|
SpotAnalyzer<T> |
getAnalyzer(ImgPlus<T> img,
int frame,
int channel)
Returns a configured
SpotAnalyzer ready to operate on the given
frame (0-based) and given channel (0-based). |
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.
|
boolean |
isManualFeature()
Returns whether all the features declared in this
FeatureAnalyzer are manual features. |
void |
setNChannels(int nChannels)
Sets the number if channels in the source image that will be analyzed by
the analyzers created by this factory.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forbidMultithreading
public void setNChannels(int nChannels)
SpotAnalyzerFactoryBase
This method is only used by some factories that create feature keys depending on the source image. For instance if an analyzer must declare one feature value per channel, it needs to know how many channels there is in the source image. This method is here to pass this information.
setNChannels
in interface SpotAnalyzerFactoryBase<T extends RealType<T> & NativeType<T>>
nChannels
- the number of channels in the source.public SpotAnalyzer<T> getAnalyzer(ImgPlus<T> img, int frame, int channel)
SpotAnalyzerFactoryBase
SpotAnalyzer
ready to operate on the given
frame (0-based) and given channel (0-based).
This method will be called once per time-point and per channel of the source image. If a feature is defined independently of channels, implementation must care to skip generating several identical features when called on several channels.
getAnalyzer
in interface SpotAnalyzerFactoryBase<T extends RealType<T> & NativeType<T>>
img
- the 5D (X, Y, Z, C, T) source image. It is the responsibility
of the implementation of this method to reslice it for the
specified time-point and channel.frame
- the target frame to operate on.channel
- the target channel to operate on.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 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.public String getInfoText()
TrackMateModule
getInfoText
in interface TrackMateModule
public ImageIcon getIcon()
TrackMateModule
null
.getIcon
in interface TrackMateModule
null
to be safely ignored.public String getKey()
TrackMateModule
getKey
in interface TrackMateModule
public String getName()
TrackMateModule
getName
in interface TrackMateModule
Copyright © 2015–2021 Fiji. All rights reserved.