Re: polygon plot profile
Posted by
Herbie on
Feb 21, 2017; 7:28pm
URL: http://imagej.273.s1.nabble.com/polygon-plot-profile-tp5018156p5018164.html
Well Nir,
a little macro will do...
It depends from where you start.
Let's assume you've made the selection on an 8bit image, then start the
following code:
// begin
requires("1.51j")
origImg = getImageID();
run("Make Inverse");
run("Duplicate...", "title=Temp");
tempImg = getImageID();
run("32-bit");
run("Set...", "value=NaN");
run("Select All");
run("Plot Profile");
selectImage(tempImg);
close();
selectImage(origImg);
run("Make Inverse");
// end
(Paste the code to an empty Macro.txt window (Plugins > New > Macro) and
start it with Command-R or Control-R.)
The Recorder-feature may help you with creating macros. Try it!
Regards
Herbie
::::::::::::::::::::::::::::::::::::
Am 21.02.17 um 19:58 schrieb Nirbio:
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html