NPPC-UK / microCT_grain_analyser

Software for processing output of Scanco uCT machines/ any ISQ or TIF producing machine, and producing data. See instructions.pdf for full explaination.
Other
7 stars 1 forks source link

Replace circularity with sphericity #6

Open AoifeHughes opened 4 years ago

AoifeHughes commented 4 years ago

https://github.com/NPPC-UK/microCT_grain_analyser/blob/d1bf5a01b24c46533716df993160d0f8147ba81b/MATLAB/countGrain.m#L100

I don't have matlab currently or data to test, but something like math 2 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).

AoifeHughes commented 4 years ago

Above is just eq for sphericity, top line is surface area of sphere of similar volume (V=v of ellpsoid of l,w,d) over surface area of ellipsoid l,w,d. This would also be nice as it ignores rotation of grain.