calc_dominant_metric function

Calculates dominant height or dominant diameter