The invention relates to an image coding method based on total variation, comprising the following steps of: (1) decomposing an input image (I) into a structure component (u) and a texture component (v); (2) analyzing the (u) at a coding end, selecting an analyzed area, mapping the (u) to the (v), and coding non-synthetic areas in the (u) and the (v) by using
JPEG (Joint Photographic Experts Group) traditional coding mode; analyzing areas which need to be analyzed in the (v) by using a block connection method at a decoding end, v'' represents an analyzed result of a texture area, and u' and v' respectively represent compressed results of the non-synthetic areas in the (u) and the (v); (3) superimposing the u', the v' and the v'' at the coding end to obtain an image I', and I'' represents a result of the input image I which is compressed by the traditional FPEG; and under the same
bit rate, judging whether the I' or the I''is nearer to the I by a JND (
Just Noticeable Difference) model, then, if I'' is nearer to the I, reducing a decomposable
model parameter lambda, returning to the step (1) to continue a whole process until the I' is nearer to the I as compared with the I'', finishing circulation, and selecting the I'. The invention can increase the
coding quality of the image at the coding end.