convergence analysis and application for image compression -- Learning from inconsistent