Text this: Cross-sectional area calculation for arbitrary shape in the image using star algorithm with Green's theorem