One way to analyze slope angles is Analyze==> Directionality (http://imagej.net/Directionality ) It provides Amount and Goodness as an output that could be very helpful in outlier elimination. Additionally the results in the Directionality result table seem difficult to access from the scripting language. I would want to put those results into an array.
roiManager("Select", 1); run("Directionality", "method=[Fourier components] nbins=90 histogram=-90");
After Analyze>Measure I can pick out the result with
angleA = getResult("Angle", 0); angArray = Array.concat(angArray, angleA);
Is there a similar way to
The only way to get to the results given on the webpage is:
- Save the Directionality Results window contents to a spreadsheet by copy pasting.
The macro recorder does not record this cut and paste action and it would be very difficult to get that CSV file concatenated with an array.
I see it should be possible to run form a script.
For slopes where the goodness is very close to 1 it may be desirable to obtain more than two decimals, so if I get access to the raw data I would want more precision.