Skip to content

Commit

Permalink
Fix export label method call with the 2D + Z detector.
Browse files Browse the repository at this point in the history
  • Loading branch information
tinevez committed May 7, 2024
1 parent e099aed commit 26b3ffe
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import fiji.plugin.trackmate.TrackMate;
import fiji.plugin.trackmate.TrackModel;
import fiji.plugin.trackmate.action.LabelImgExporter;
import fiji.plugin.trackmate.action.LabelImgExporter.LabelIdPainting;
import fiji.plugin.trackmate.util.TMUtils;
import ij.ImagePlus;
import net.imagej.ImgPlus;
Expand Down Expand Up @@ -191,7 +192,7 @@ public boolean process()
}

// Get 2D+T masks
final ImagePlus lblImp = LabelImgExporter.createLabelImagePlus( trackmate, false, true, false );
final ImagePlus lblImp = LabelImgExporter.createLabelImagePlus( trackmate, false, true, LabelIdPainting.LABEL_IS_TRACK_ID );

/*
* Exposes tracked labels as a 3D image and segment them again with
Expand Down

0 comments on commit 26b3ffe

Please sign in to comment.