Methods for image recovery in computational imaging