public interface SpotAnalyzerFactoryBase<T extends RealType<T> & NativeType<T>> extends FeatureAnalyzer
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). |
default void |
setNChannels(int nChannels)
Sets the number if channels in the source image that will be analyzed by
the analyzers created by this factory.
|
getFeatureDimensions, getFeatureNames, getFeatures, getFeatureShortNames, getIsIntFeature, isManualFeature
forbidMultithreading, getIcon, getInfoText, getKey, getName
SpotAnalyzer<T> getAnalyzer(ImgPlus<T> img, int frame, int channel)
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.
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.default void setNChannels(int nChannels)
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.
nChannels
- the number of channels in the source.Copyright © 2015–2021 Fiji. All rights reserved.