Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace circularity with sphericity #6

Open
AoifeHughes opened this issue Jun 2, 2020 · 1 comment
Open

Replace circularity with sphericity #6

AoifeHughes opened this issue Jun 2, 2020 · 1 comment

Comments

@AoifeHughes
Copy link
Contributor

stats.circularity = 4 * pi * (st.Area / st.Perimeter ^ 2);

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
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant