Adaptation of lung mechanics during constrained breathing using 3D MRI spirometry