Quantifying coral morphology