Posted by
hemangi on
URL: http://imagej.273.s1.nabble.com/read-values-from-txt-file-tp3689457p3689459.html
How can I get coordinates of particles that I get from using '
Hi All,
How can I get coordinates of particles that I get from using 'Analyze particles' to get stored as a file?
I tried to use "more->save" from "ROI Manager" option of "Analyze partcles", and the file gets saved, but when I try to open it, I get errors and cannot see the file.
Any pointers, please?
Thanks,
Hemangi.
________________________________
From: Damon Poburko <
[hidden email]>
To:
[hidden email]
Sent: Tue, February 9, 2010 6:01:07 AM
Subject: Re: read values from txt file
You can also open the text file as an image (File>Import>Text Image...), where each of your values will be represented by pixel intensity. In some cases this is handy because you can then use the image calculator to perform array calculations, rather than having to write For loops.
Cheers,
Damon
--
Damon Poburko, PhD
Postdoctoral Research Fellow
Stanford University School of Medicine
Dept. of Molecular & Cellular Physiology
279 Campus Dr., Beckman B103, Stanford, CA 94305
Ph: 650 725 7564, fax: 650 725 8021
R. C. wrote:
> How can I read a list of txt values from a txt file using a script or a
> macro?
>
> thanks, Alberto Perez
>
>
> (a file like this:
>
> 0 4
> 1 2
> 12 2
> 12 3
> ...
>