The invention relates to the technical field of lossless video coding, and provides a
lossless compression method for eliminating inter-frame redundancy based on partitioning and
probability matching, which comprises the following steps of: dividing a current frame into a plurality of sub-blocks, and classifying each sub-block by calculating the similarity between a current block and a matching block; the classified sub-blocks are subjected to matched coding operation through a differentiation
processing strategy, and compressed data are generated; and carrying out entropy coding on the compressed data, and outputting a lossless compressed code
stream. The video frame is divided into a plurality of sub-blocks through the technical means of combining block
processing,
probability matching, multi-level classification and reversible integer predictive coding, the sub-blocks are classified according to the inter-frame similarity, differentiated
processing strategies are adopted for different types, and finally residual and motion information is compressed through entropy coding. The inter-frame redundancy is effectively eliminated, the compression efficiency is remarkably improved, and meanwhile, the robustness of
fast motion and scene switching is kept.