Skip to content

Commit 00ed698

Browse files
committed
Fix interactive test.
1 parent 44ff81f commit 00ed698

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/test/java/fiji/plugin/trackmate/morpholibj/MorpholibJTestDrive.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
import fiji.plugin.trackmate.TrackMate;
3232
import fiji.plugin.trackmate.detection.LabelImageDetector;
3333
import fiji.plugin.trackmate.features.FeatureUtils;
34-
import fiji.plugin.trackmate.features.spot.SpotShapeAnalyzerFactory;
34+
import fiji.plugin.trackmate.features.spot.Spot2DShapeAnalyzerFactory;
3535
import fiji.plugin.trackmate.gui.displaysettings.DisplaySettings;
3636
import fiji.plugin.trackmate.gui.displaysettings.DisplaySettings.TrackMateObject;
3737
import fiji.plugin.trackmate.gui.displaysettings.DisplaySettingsIO;
@@ -124,14 +124,14 @@ public static < T extends RealType< T > & NativeType< T > > void main( final Str
124124
model.setSpots( spots, false );
125125

126126
final Settings settings = new Settings( imp );
127-
settings.addSpotAnalyzerFactory( new SpotShapeAnalyzerFactory<>() );
127+
settings.addSpotAnalyzerFactory( new Spot2DShapeAnalyzerFactory<>() );
128128

129129
final TrackMate trackmate = new TrackMate( model, settings );
130130
trackmate.computeSpotFeatures( false );
131131

132132
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 );
135135
ds.setSpotMinMax( autoMinMax[ 0 ], autoMinMax[ 1 ] );
136136
final HyperStackDisplayer displayer = new HyperStackDisplayer( model, new SelectionModel( model ), imp, ds );
137137
displayer.render();

0 commit comments

Comments
 (0)