Re: How to export imagej multi-point selection coordinates?
Posted by
Rasband, Wayne (NIH/NIMH) [E] on
Jul 08, 2010; 9:13pm
URL: http://imagej.273.s1.nabble.com/How-to-export-imagej-multi-point-selection-coordinates-tp3687663p3687665.html
On Jul 6, 2010, at 2:47 AM, GoJian wrote:
> Dear all,
>
> I am on a project where I am interested in the spacing & distribution of
> point objects in an microscope image.
>
> I looked through a couple different softwares and liked imagej, which has a
> multi-point select feature.
>
> But I couldn't figure out after selecting the points by hand, how to export
> the coordinates. All I need is the X's and Y's for each point (for about a
> hundred points for each image).
>
> Any pointers?
Use the Analyze>Measure command to write the coordinates of each point to the Results table, then save the Results table as either comma separated values (.csv) or tab-delimted test (.txt or .xls). Here is a macro that saves a multi-point selection in CSV format.
run("Clear Results");
run("Measure");
saveAs("Results", getDirectory("home")+"points.csv");
-wayne