Saving Distribution List to file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Saving Distribution List to file

Lucas, Falk /BDF HAM
Hi All,

I'm just startet to dive into ImageJ and macro writing.

I have an image thresholded, then running the particle analyzer when
clicking on Analyze>>Distribution... I get a nice histogram.
I need to save the list data into a txt file inside of a macro. I tried
using the macro recorder, but nothing happens if I click onto the list
button inside the distribution window


Falk


_____________________  Confidentiality  ______________________

This electronic transmission is strictly confidential and intended
solely for the addressee.  It may contain information which is covered
by legal, professional or other privilege.  If you are not the intended
addressee, you must not disclose, copy or take any action in reliance
of this transmission.  If you have received this transmission in error,
please notify us and delete the received data as soon as possible.

This footnote also confirms that this email message has been swept
for the presence of computer viruses.
_______________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: Saving Distribution List to file

Ben.BigHair
Lucas, Falk /BDF HAM wrote:
> Hi All,
>
> I'm just startet to dive into ImageJ and macro writing.
>
> I have an image thresholded, then running the particle analyzer when
> clicking on Analyze>>Distribution... I get a nice histogram.
> I need to save the list data into a txt file inside of a macro. I tried
> using the macro recorder, but nothing happens if I click onto the list
> button inside the distribution window


Hello,

You can manually add these lines to your macro (your window name and
filename might be different).

selectWindow("Area Distribution");
save("myFilename.txt");

Cheers,
Ben