Computational methods of modeling vascular geometry and tracking pulmonary motion from medical images