Model-based atrial and ventricular myocardium extraction