×

System and method for lossless image compression having improved sequential determination of golomb parameter

  • US 5,764,374 A
  • Filed: 08/30/1996
  • Issued: 06/09/1998
  • Est. Priority Date: 02/05/1996
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for compressing a digitized image composed of an array of pixels each having a value, the method including a method of determining a Golomb-power-of-two code, comprising:

  • initializing an array of counters, N, each counter for counting the number of pixels in each of at least one context;

    initializing an array of accumulators, A, each accumulator for accumulating a sum of magnitudes of prediction residuals encountered in each of at least one context;

    for each pixel in the image;

    determining in which context the pixel occurs;

    incrementing the counter N for the context;

    predicting the value of the pixel;

    determining a prediction residual, ε

    , for the pixel by subtracting the predicted value from the pixel value;

    mapping the prediction residual ε

    to a non-negative value M(ε

    )determining a parameter k as a function of the values A and N;

    adding the magnitude of the prediction residual to the accumulator A for the context;

    encoding the mapped value M(ε

    ) in a first portion and in a second portion, the first portion being a binary representation of M(ε

    ) mod m and the second portion being a unary representation of .left brkt-bot.M(ε

    )/m.right brkt-bot., where m=2k.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×