Patent ID: 9686560
Date: 2017-06-20
CPC Classifications: G06T,H04N

Claim:
1. An apparatus for compressing a video image file, the image file comprising a plurality of line segments, each line segment having a length of M pixels and a header of H bits, and each pixel is represented by t bits, the apparatus comprising a circuit configured to: read, from an unencoded image file, a first number of unencoded pixel values in a first line segment having a first segment length M pixels; read, from the unencoded image file, a second number of unencoded pixel values of a second line segment having a second segment length of M pixels; determine the differences between each of the first and second unencoded pixel values; write a header of H bits containing T bits representing value t and E bits for extra information; and encode only the differences between each of the first and second unencoded pixel values using a smallest number of bits t required to represent each of the differences, wherein t is defined as an integer between 1 and N.