Image-processing apparatus and lossless image compression method using intra-frame prediction
AssigneeSilicon Motion, Inc.
InventorYang Xu
Life of this patent
Estimating the term…
Abstract
A lossless image compression method using intra-frame prediction is provided. The method includes the steps of: receiving an input image; performing intra-frame prediction on sub-pixels in each color channel of each pixel in the input image to generate first prediction residues; performing inter-color-channel prediction on the first prediction residues to generate second prediction residues; performing remapping on the second prediction residues to obtain third prediction residues in each color channel; and performing Golomb coding and run-length coding on the third prediction residues to generate an image bitstream of the input image.
Claims8
An image-processing apparatus, comprising:
- a memory unit, configured to store an input image of the image-processing apparatus;
- and
- a processing unit, configured to perform intra-frame prediction on a red sub-pixel, a green sub-pixel, and a blue sub-pixel of each pixel in the input image to generate a first red prediction residue, a first green prediction residue, and a first blue prediction residue, respectively,
- wherein the processing unit further performs inter-color-channel prediction on the first red prediction residue, the first green prediction residue, and the first blue prediction residue to generate a second red prediction residue, a second green prediction residue, and a second blue prediction residue, respectively,
- wherein the processing unit further performs remapping on the second red prediction residue, the second green prediction residue, and the second blue prediction residue having a Laplace distribution to obtain a third red prediction residue, a third green prediction residue, and a third blue prediction residue having a geometric distribution, respectively,
- wherein the processing unit further perform Golomb coding and run-length coding on the third red prediction residue, the third green prediction residue, and the third blue prediction residue to generate an image bitstream of the input image.
A lossless image compression method using intra-frame prediction, comprising:
- receiving an input image;
- performing intra-frame prediction on a red sub-pixel, a green sub-pixel, and a blue sub-pixel of each pixel in the input image to generate a first red prediction residue, a first green prediction residue, and a first blue prediction residue, respectively;
- performing inter-color-channel prediction on the first red prediction residue, the first green prediction residue, and the first blue prediction residue to generate a second red prediction residue, a second green prediction residue, and a second blue prediction residue, respectively;
- performing remapping on the second red prediction residue, the second green prediction residue, and the second blue prediction residue having a Laplace distribution to obtain a third red prediction residue, a third green prediction residue, and a third blue prediction residue having a geometric distribution, respectively;
- and
- performing Golomb coding and run-length coding on the third red prediction residue, the third green prediction residue, and the third blue prediction residue to generate an image bitstream of the input image.
Dependencies are inferred from the claim text.