You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature needs to be implemented on the 2D projection of a morphology and it will describe the circularity in the projected plane i.e. x-y. We will therefore need to compute this in all three projections at the morphology level.
Circularity is defined as 4 * pi * area / (perimeter)^2
defcircularity(pts):
"""Computes circularity as 4 pi A / P^2"""hull=nm.geom.ConvexHull(pts)
area=hull.volumeperimeter=hull.areareturn (4*np.pi*area) / (perimeter*perimeter)
The text was updated successfully, but these errors were encountered:
This feature needs to be implemented on the 2D projection of a morphology and it will describe the circularity in the projected plane i.e. x-y. We will therefore need to compute this in all three projections at the morphology level.
Circularity is defined as
4 * pi * area / (perimeter)^2
The text was updated successfully, but these errors were encountered: