Skip to content

Instantly share code, notes, and snippets.

@TemponeMH
TemponeMH / Open_Cell_Counter_XML_as_ROI.groovy
Created April 18, 2024 20:41 — forked from imagejan/Open_Cell_Counter_XML_as_ROI.groovy
Open an XML file saved by Cell Counter as an ImageJ PointRoi (ignoring stack position)
/*
* Open an XML file saved by Cell Counter as an ImageJ PointRoi (ignoring stack position)
*
* (see https://forum.image.sc/t/convert-cell-counter-markers-to-multi-point/23844?u=imagejan)
*/
#@ ImagePlus imp
#@ File input
import groovy.util.XmlParser