/** * Wound Healing Macro * Collaborators: * Nathalie Cahuzac, CNRS, IGMM, SPLICOS THERAPEUTICS; * Virginie Georget, MRI-CRBM * * Measure the area of a wound in a cellular tissue on a stack * of images representing a time-series * * (c) 2010-2011, INSERM * written by Volker Baecker at Montpellier RIO Imaging (www.mri.cnrs.fr) * */ roiManager("reset") roiManager("Associate", "true"); run("Find Edges", "stack"); run("Invert", "stack"); setAutoThreshold("Percentile dark"); run("Convert to Mask", " black"); resetThreshold(); run("Invert", "stack"); run("Dilate", "stack"); run("Dilate", "stack"); run("Dilate", "stack"); run("Dilate", "stack"); run("Erode", "stack"); run("Erode", "stack"); run("Erode", "stack"); run("Erode", "stack"); run("Select All"); run("Enlarge...", "enlarge=-4"); run("Invert", "stack"); run("Analyze Particles...", "size=1000-Infinity circularity=0.00-1.00 show=Nothing add stack"); run("Clear Results"); roiManager("Measure"); run("Revert");