摘要 |
Disclosed are an image encoding method, an image decoding method, an image encoder and an image decoder, which belong to the field of computers. The encoding method comprising: dividing a one-frame image into a one-frame high-bit image and a one-frame low-bit image, wherein the one-frame image comprises a first bit width, the one-frame high-bit image comprises a second bit width, the one-frame low-bit image comprises a second bit width, and the first bit width is more than the second bit width and is less than two times of the second bit width; encoding the one-frame high-bit image to obtain a first network data packet, wherein the first network data packet comprises frame identifier information of the one-frame image, and the significant bit information and the image type of the one-frame high-bit image; encoding the one-frame low-bit image to obtain a second network data packet, wherein the second network data packet comprises frame identifier information of the one-frame image, and the significant bit information and the image type of the one-frame low-bit image. The encoding cost can be reduced by the invention. |