Login  Register

Re: Saving Distribution List to file

Posted by Ben.BigHair on Jul 12, 2006; 7:02pm
URL: http://imagej.273.s1.nabble.com/Saving-Distribution-List-to-file-tp3702188p3702189.html

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