/** * Create Path Tool * * Creates a polyline or spline path from the point selections in the roi-manager, * adds everything to the overlay and deletes it from the roi-manager. * * (c) 2012, INSERM * written by Volker Baecker at Montpellier RIO Imaging (www.mri.cnrs.fr) * */ var FIT_SPLINE = true; var helpURL = "http://dev.mri.cnrs.fr/projects/imagej-macros/wiki/Create_Path_Tool_%28manual_tracking%29"; macro "Create Path Action Tool - C037T4d14p" { run("Set Measurements...", " stack display redirect=None decimal=3"); count = roiManager("count"); x = newArray(count); y = newArray(count); for (i=0; i