Calculate percentage of a line in relation to another
Posted by Jennifer Marshall on Feb 07, 2011; 4:51pm
URL: http://imagej.273.s1.nabble.com/Calculate-percentage-of-a-line-in-relation-to-another-tp3685756.html
Hello there
I apologise if this has been asked before, as I'm new to ImageJ, but I did
have a quick look through the archive and couldn't see anything
immediately.
What I want to do is this -
(1) measure the length of two lines: a long one and a shorter one
(2) calculate the percentage of the shorter line in relation to the longer
one.
I want to do this hundreds of times, and each time, the lines will be of
different lengths.
I was thinking of just exporting the pairs of figures to Excel and writing
a function to calculate the percentages.
But maybe you know of a way of getting ImageJ to do this for me
automatically? (Save me a step or two!)
I don't know anything about plug-ins, macros, strings, etc., so if you do
have any suggestions, please give me very simple step-by-step
instructions! Maybe I should just stick with Excel...?
Thanks very much,
Jenny