Re: Radial profile through marco
Posted by
Gregory Book on
Jul 29, 2011; 3:44pm
URL: http://imagej.273.s1.nabble.com/Radial-profile-through-marco-tp3683670p3683672.html
Thanks. What would the syntax look like for that macro?
Currently I have this:
open("file.png");
run("Select All");
run("Radial Profile", "x=128 y=128 radius=128");
selectWindow("Radial Profile Plot");
saveAs("PNG", "profileplot.png");
run("Quit");
How would I use the Plot.getValues?
-Greg
>>> Michael Schmid <
[hidden email]> 7/29/2011 11:11 AM >>>
Hi Greg,
you can use the Plot.getValues(x, y) macro command with the Radial
Profile plugin.
Michael
________________________________________________________________
On 29 Jul 2011, at 16:38, Gregory Book wrote:
> Hi All,
> I'm trying to automate analysis of images using the radial profile
> plugin. I'm able to create a macro which opens a file, creates the
> radial profile plot, and saves the plot as an image. However, I
> can't seem to find a way to save the plot values as a text file.
> There are the "List" "Save..." and "Copy..." buttons on the plot
> window, but I can't seem to get those to work through a macro.
>
> Any ideas how to automate this?
>
> Thanks,
> Greg