public class FeatureUtils extends Object
Modifier and Type | Field and Description |
---|---|
static Model |
DUMMY_MODEL |
static String |
USE_UNIFORM_COLOR_KEY |
Constructor and Description |
---|
FeatureUtils() |
Modifier and Type | Method and Description |
---|---|
static double[] |
autoMinMax(Model model,
DisplaySettings.TrackMateObject type,
String feature) |
static Map<String,String> |
collectFeatureKeys(DisplaySettings.TrackMateObject target,
Model model,
Settings settings) |
static double[] |
collectFeatureValues(String featureKey,
DisplaySettings.TrackMateObject target,
Model model,
boolean visibleOnly)
Missing or undefined values are not included.
|
static FeatureColorGenerator<Spot> |
createSpotColorGenerator(Model model,
DisplaySettings displaySettings) |
static FeatureColorGenerator<org.jgrapht.graph.DefaultWeightedEdge> |
createTrackColorGenerator(Model model,
DisplaySettings displaySettings) |
static FeatureColorGenerator<Integer> |
createWholeTrackColorGenerator(Model model,
DisplaySettings displaySettings) |
static int |
nObjects(Model model,
DisplaySettings.TrackMateObject target,
boolean visibleOnly) |
public static final String USE_UNIFORM_COLOR_KEY
public static final Model DUMMY_MODEL
public static final Map<String,String> collectFeatureKeys(DisplaySettings.TrackMateObject target, Model model, Settings settings)
public static double[] collectFeatureValues(String featureKey, DisplaySettings.TrackMateObject target, Model model, boolean visibleOnly)
featureKey
- target
- model
- visibleOnly
- double[]
array containing the numerical
feature values.public static final FeatureColorGenerator<Spot> createSpotColorGenerator(Model model, DisplaySettings displaySettings)
public static final FeatureColorGenerator<org.jgrapht.graph.DefaultWeightedEdge> createTrackColorGenerator(Model model, DisplaySettings displaySettings)
public static final FeatureColorGenerator<Integer> createWholeTrackColorGenerator(Model model, DisplaySettings displaySettings)
public static final double[] autoMinMax(Model model, DisplaySettings.TrackMateObject type, String feature)
public static final int nObjects(Model model, DisplaySettings.TrackMateObject target, boolean visibleOnly)
Copyright © 2015–2021 Fiji. All rights reserved.