Constrained Magnetic Resonance and Computed Tomographic Imaging: Models and Applications