ellipse_area#
- ellipse_area(image)[source]#
Compute the ellipse area based on the chord lengths in slices orthogonal to direction of flow Assumes img = 1 for pore space, 0 for grain space
- Return type:
Tuple[ndarray,ndarray,ndarray]- Parameters:
image – An np.ndarray containing the binary image with the phase of interest labeled as 1
- Returns:
length of chords in x, y, and ellipse areas
- Return type:
Tuple[numpy.ndarray, numpy.ndarray, numpy.ndarray]