Segmentation of Cardiac Silhouette and Measurement

Hi guys,

I have a unique problem I wanted to pose to you as a question. I want to measure hearts from chest x rays via vertical and horizontal measurements. The first step is easy enough - I will segment out the heart. However, how would I get those measurements? Is there a way to train an algorithm with those values? Interested to see your thoughts!!