Methods and systems for obtaining a reconstruction of an object, the reconstruction of the object comprising an inverse problems. Expressing the reconstruction of the object as a optimization problem with total variation regularization, and obtaining the reconstruction of the object from convergence of the iterations, an object being an input/representation of input to a system, the system providing output data resulting from the input, the object being reconstructed from the output data obtained from interaction of the object with the system.