Login  Register

Re: save the data from Oval Profile Plot

Posted by Wayne Rasband-2 on Jun 22, 2020; 1:39am
URL: http://imagej.273.s1.nabble.com/save-the-data-from-Oval-Profile-Plot-tp5023546p5023550.html

>
> 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