Skip to content
Snippets Groups Projects
Commit e9a9b808 authored by Kai Schleicher's avatar Kai Schleicher
Browse files

Update function for newest version of TrackMate

parent 312bc8e7
No related branches found
No related tags found
No related merge requests found
......@@ -198,8 +198,8 @@ def run_trackmate_dog_spot_detector(imp, spot_diameter, quality_threshold):
exportSpotsAsDots = True
exportTracksOnly = False
# labelIdPainting = LabelImgExporter.LabelIdPainting.LABEL_IS_INDEX_MOVIE_UNIQUE
label_imp = LabelImgExporter.createLabelImagePlus(trackmate, exportSpotsAsDots, exportTracksOnly, False) # labelIdPainting (needed in a future verion of TM)
labelIdPainting = LabelImgExporter.LabelIdPainting.LABEL_IS_INDEX_MOVIE_UNIQUE
label_imp = LabelImgExporter.createLabelImagePlus(trackmate, exportSpotsAsDots, exportTracksOnly, labelIdPainting)
label_imp.setCalibration(cal)
imp.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment