From 1b371e568e3bc6b15368d37592e6357e60443e1a Mon Sep 17 00:00:00 2001 From: Jean-Yves Tinevez Date: Tue, 2 Jul 2024 14:27:54 +0200 Subject: [PATCH] Update TrackMate dep version and fix label image export method call. --- pom.xml | 2 +- .../plugin/trackmate/batcher/exporter/LabelImageExporter.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index f57dcda..30df2a9 100644 --- a/pom.xml +++ b/pom.xml @@ -85,7 +85,7 @@ sign,deploy-to-scijava 1.0.3 - 7.12.1 + 7.13.2 diff --git a/src/main/java/fiji/plugin/trackmate/batcher/exporter/LabelImageExporter.java b/src/main/java/fiji/plugin/trackmate/batcher/exporter/LabelImageExporter.java index a83730d..6feeed7 100644 --- a/src/main/java/fiji/plugin/trackmate/batcher/exporter/LabelImageExporter.java +++ b/src/main/java/fiji/plugin/trackmate/batcher/exporter/LabelImageExporter.java @@ -37,6 +37,7 @@ import fiji.plugin.trackmate.Model; import fiji.plugin.trackmate.TrackMate; import fiji.plugin.trackmate.action.LabelImgExporter; +import fiji.plugin.trackmate.action.LabelImgExporter.LabelIdPainting; import fiji.plugin.trackmate.gui.displaysettings.DisplaySettings; import fiji.plugin.trackmate.visualization.ViewUtils; import ij.IJ; @@ -78,7 +79,7 @@ public void export( final boolean exportSpotsAsDots = false; final boolean exportTracksOnly = false; - final boolean useSpotIDsAsLabels = false; + final LabelIdPainting useSpotIDsAsLabels = LabelIdPainting.LABEL_IS_SPOT_ID; final ImagePlus labels = LabelImgExporter.createLabelImagePlus( model, imp,