How to calculate the average length and FA value of fiber bundles

How to calculate the average length and FA value of fiber bundles like this picture?For example, if I set a label or model and get the corresponding fiber bundle, how to calculate the average length and FA value of the fiber bundle contained in this label or model