Login  Register

Add ROIs from a list of coordinates in a .CSV file

Posted by joshuamarcus on Aug 22, 2014; 3:49am
URL: http://imagej.273.s1.nabble.com/Add-ROIs-from-a-list-of-coordinates-in-a-CSV-file-tp5009300.html

Hello!

I am new to writing imageJ macros and could use a little help:

I was able to track nuclei of a field of cells from a time-laps experiment using the ImageJ plugin TrackMate. I then converted the .xml file generated by the plugin to a .csv file of coordinates. The file lists frame, x coordinates, and y coordinates. I would like to write a macro that first imports the list of coordinates, then defines ROIs of a specified shape and size, with the pixel coordinate representing the center of each ROI, and add all of these to the ROI manager. I could then save and manipulate these ROIs as I choose.

If someone could at least point me in the right direction I would be forever grateful!

Best regards,
Joshua