|
31 | 31 | import fiji.plugin.trackmate.TrackMate; |
32 | 32 | import fiji.plugin.trackmate.detection.LabelImageDetector; |
33 | 33 | import fiji.plugin.trackmate.features.FeatureUtils; |
34 | | -import fiji.plugin.trackmate.features.spot.SpotShapeAnalyzerFactory; |
| 34 | +import fiji.plugin.trackmate.features.spot.Spot2DShapeAnalyzerFactory; |
35 | 35 | import fiji.plugin.trackmate.gui.displaysettings.DisplaySettings; |
36 | 36 | import fiji.plugin.trackmate.gui.displaysettings.DisplaySettings.TrackMateObject; |
37 | 37 | import fiji.plugin.trackmate.gui.displaysettings.DisplaySettingsIO; |
@@ -124,14 +124,14 @@ public static < T extends RealType< T > & NativeType< T > > void main( final Str |
124 | 124 | model.setSpots( spots, false ); |
125 | 125 |
|
126 | 126 | final Settings settings = new Settings( imp ); |
127 | | - settings.addSpotAnalyzerFactory( new SpotShapeAnalyzerFactory<>() ); |
| 127 | + settings.addSpotAnalyzerFactory( new Spot2DShapeAnalyzerFactory<>() ); |
128 | 128 |
|
129 | 129 | final TrackMate trackmate = new TrackMate( model, settings ); |
130 | 130 | trackmate.computeSpotFeatures( false ); |
131 | 131 |
|
132 | 132 | final DisplaySettings ds = DisplaySettingsIO.readUserDefault(); |
133 | | - final double[] autoMinMax = FeatureUtils.autoMinMax( model, TrackMateObject.SPOTS, SpotShapeAnalyzerFactory.AREA ); |
134 | | - ds.setSpotColorBy( TrackMateObject.SPOTS, SpotShapeAnalyzerFactory.AREA ); |
| 133 | + final double[] autoMinMax = FeatureUtils.autoMinMax( model, TrackMateObject.SPOTS, Spot2DShapeAnalyzerFactory.AREA ); |
| 134 | + ds.setSpotColorBy( TrackMateObject.SPOTS, Spot2DShapeAnalyzerFactory.AREA ); |
135 | 135 | ds.setSpotMinMax( autoMinMax[ 0 ], autoMinMax[ 1 ] ); |
136 | 136 | final HyperStackDisplayer displayer = new HyperStackDisplayer( model, new SelectionModel( model ), imp, ds ); |
137 | 137 | displayer.render(); |
|
0 commit comments