Automated extraction of the aorta and the pulmonary artery in the mediastinum from 3D chest X-ray CT images using the medial line model