Posted by
Herbie on
Jun 22, 2020; 8:40am
URL: http://imagej.273.s1.nabble.com/save-the-data-from-Oval-Profile-Plot-tp5023546p5023551.html
Dear Wayne,
thanks for testing and you are right!
I was applying "Radial_Profile_Angle_Ext.jar":
<
https://imagej.nih.gov/ij/plugins/radial-profile-ext.html>
Mea culpa!
The data of the resulting plot can't be accessed because the plugin uses
a special "multi_plot"-class.
//
run("Blobs (25K)");
makeOval(77, 61, 123, 122);
run("Radial Profile Angle", "x_center=128 y_center=127 radius=127.50
starting_angle=0 integration_angle=180");
Plot.getValues(xpoints, ypoints);
Array.show(xpoints,ypoints);
//
Sorry for the confusion!
Kind regards
Herbie
:::::::::::::::::::::::::::::::::::::::::::
Am 22.06.20 um 03:39 schrieb Wayne Rasband:
>> I can use the Oval Profile Plot and download the list interactively. But I
>> do not know how to do in a macro. getProfile() seems to require a
>> rectangular selection or a straight line.
>
> Plot.getValues works for me. Here is a runnable example:
>
> run("Blobs (25K)");
> makeOval(77, 61, 123, 122);
> run("Oval Profile", "number=30 analysis=[Maximum Intensity]");
> selectWindow("Maximum Intensity");
> Plot.getValues(xpoints, ypoints);
> Array.show(xpoints,ypoints);
>
> The Oval Profile Plot plugin is available at
>
>
https://imagej.nih.gov/ij/plugins/oval-profile.html>
> -wayne
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html