For each sequence of cell coordinates \((\textbf {X}_i^\text{d,bnd})_{i=1,...,N}\)  representing the boundary of an interstripe, we compute the length of the associated piecewise linear curve. We then use the length of a perfectly straight interstripe to compute curviness, similar to [1]}, as below:
\( \text{curviness of boundary} &= 100 \times \left(\frac{\sum _{i=1}^{N-1}||\textbf {X}^\text{d,bnd}_{i} - \textbf {X}^\text{d,bnd}_{i+1}||}{\max _i (x_i^\text{d,bnd}) - \min _i (x_i^\text{d,bnd})} -1 \right)\) 
