The invention discloses a method and a
system for coding, decoding and reconstructing
video image blocks, wherein the coding method comprises the following steps: selecting a prediction mode, and generating predicted blocks according to the reconstructed pixels around image blocks; calculating the difference between the pixels corresponding to the image blocks and the predicted blocks to obtain residual values, wherein all the residual values constitute a residual block; selecting the arrangement sequence of at least one
residual value from a group of rearrangement sequences of the residual values to be selected, and rearranging the residual values in the residual block; transforming the rearranged residual block by selecting a transformation function to obtain the indication of the transformation coefficient of the residual block; and further scanning, quantifying and carrying out entropy-coding on the transformation coefficient. By rearranging the residual sampling values in the residual block in a
null field, the characteristics of residual statistics in different
modes can be similar or identical, thus achieving the performance similar to the transformation related to the
modes by using fewer transformation functions and reducing the storage complexity of a coder and a decoder at the same time.