|
stats.circularity = 4 * pi * (st.Area / st.Perimeter ^ 2); |
I don't have matlab currently or data to test, but something like
would give a value where grains are approximated to ellipsoids based on their length, width depth. (l,w,d would need to be halved to be their abc lengths).
microCT_grain_analyser/MATLAB/countGrain.m
Line 100 in d1bf5a0
I don't have matlab currently or data to test, but something like
would give a value where grains are approximated to ellipsoids based on their length, width depth. (l,w,d would need to be halved to be their abc lengths).