The invention discloses a
video image coding / decoding method based on geometric partitioning. The coding method comprises the following steps: firstly, a
video image is partitioned into a plurality of rectangular coding blocks, and the rectangular coding blocks are geometrically partitioned; secondly,
motion estimation is carried out for each geometrically partitioned irregular block, each irregular block obtains an own residual block, and the
residual blocks corresponding to the irregular blocks are combined to a rectangular residual block; thirdly, the coordinates of pixels in the rectangular residual block are rearranged by utilizing geometrically partitioned boundary
direction information; and lastly, two-dimensional
orthogonal transformation is carried out for the rearranged rectangular residual block, a transformation coefficient is quantized and entropy coding is processed, in addition, geometrically partitioned information and rearranged information are incorporated into a code flow. The decoding process and the coding process are inverse. Since the geometrically partitioned boundary
direction information is utilized and the pixels of the rectangular residual block are rearranged when the coding is processed, so that after
orthogonal transformation, a high-frequency nonzero coefficient is reduced, and compression efficiency is improved.