Skip to content, Skip to search

Changes

Scripting TrackMate

50 bytes added, 07:15, 10 September 2018
no edit summary
# Add the current peak to the Roi manager
roi = PointRoi(peak.getDoublePosition(0) / cal.pixelWidth, peak.getDoublePosition(1) / cal.pixelHeight)
# Set the Z position of the peakotherwise the peaks are all set on the same slice
roi.setPosition(int(round(peak.getDoublePosition(2) / cal.pixelDepth))+1)
rm.addRoi(roi)
2
edits