Deep Learning Framework For Inverse Problems In Computational Imaging: A Lensless Imaging And Super-Resolution Magnetic Resonance Imaging Case