GB2208059A - Video compression method - Google Patents

Video compression method Download PDF

Info

Publication number
GB2208059A
GB2208059A GB08814862A GB8814862A GB2208059A GB 2208059 A GB2208059 A GB 2208059A GB 08814862 A GB08814862 A GB 08814862A GB 8814862 A GB8814862 A GB 8814862A GB 2208059 A GB2208059 A GB 2208059A
Authority
GB
United Kingdom
Prior art keywords
row
data
bit
recited
binary state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB08814862A
Other versions
GB8814862D0 (en
GB2208059B (en
Inventor
William Atkinson
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apple Inc
Original Assignee
Apple Computer Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Apple Computer Inc filed Critical Apple Computer Inc
Publication of GB8814862D0 publication Critical patent/GB8814862D0/en
Publication of GB2208059A publication Critical patent/GB2208059A/en
Application granted granted Critical
Publication of GB2208059B publication Critical patent/GB2208059B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction
    • H04N1/411Bandwidth or redundancy reduction for the transmission or storage or reproduction of two-tone pictures, e.g. black and white pictures
    • H04N1/413Systems or arrangements allowing the picture to be reproduced without loss or modification of picture-information
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Image Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

2 1r120 8 0 5 9
- 1 VIDEO COMPRESSION ALGORITHM BACKGROUND OF THE T M NTION
1. Field of the Invention.
This invention relates to the field of video compression algorithms and, more specifically, to the field of compression algorithms for bit-mapped graphic displays.
2. Prior Art.
Numerous methods are known for compression of data in computer systems and for compression of data for video displays or bit-mapped graphic displays. However, each of these methods suffers from one or more of several disadvantages. A method is desired which allows data to be stored in a compacted form after it is received from a bitmapped graphics display or other similar device. The data 1 should be stored In a manner which enables it to be decoded with a minimum of resources being used in the decoding process. In addition, the data should be stored in as compact of form as possible.
SUMMARY OF THE TWENTION
A method of compressing video information from a bitmapped graphics display or similar device is disclosed. The method reduces the number of bits which must be physically_ stored in order to store a video image. The main steps of the algorithm are enriching a bit-map of the video image in zeros and encoding the enriched image into runs of zeros and data bytes.
The enriching of the video image in zeros is done by performing an auto correlation (shifting and Exclusive ORing) for horizontal and vertical lines. The number of zeros resulting from each correlation is counted until it is determined which combination produces the richest zeros.
The bit-map of zero enriched lines Is then encoded into runs of zeros and data bytes. Special cases, such as a row being all zeros or a row being all ones, are recognized and assigned a special code. In addition, special codes are assigned In the case of zero matching the row immediately prior to it or the row two rows prior to it. Special codes are also assigned to indicate that a code is repeated a number of times. Other uses of special codes will be seen in the detailed description of the present invention.
A method of reconstructing the compressed data is also disclosed. This method reads the encoded data and recreates the uncompressed data. Various methods are Included for A optimizing the speed of this process including the use of a table for decoding certain encoded data.
1 i RRTRF DESCRTPTTOhl OF THF, pnAWINGS Figure 1 is a flow chart describing steps involved in encoding video data as may be utilized by the present invention.
Figure 2(a) illustrates a display device with a blackened square in the center as may be compressed by the present invention.
Figure 2(b) illustrates the blackened square display after a first step of the compression as may be accomplished by the present invention.
Figure 2(c) illustrates the blackened square display after a second step of compression as.may be accomplished by the present invention.
Figure 3 illustrates an address space of operation codes as may be utilized by the present invention.
Figure 4(a) illustrates rows of data as may be compressed by the present invention.
1 Figure 4 (b) illustrates a step of Exclusive ORing to rows of data as may be accomplished by the present invention during compression of the data.
Figure 4(c) illustrates rows of data and associated compression codes as may be utilzed by the present invention.
Figure 5 is a flow chart illustrating preliminary tests to be performed on rows of data during encoding as may be accomplished by the present invention.
Figure 6 is a flow chart illustrating a method of determining 1 an optimum zero enriched method as may be utilized by the present invention.
Figure 7 is a flow chart illustrating a method of reconstructing video data from compressed data as may be utilized by the present invention.
Figu.re 8 is a flow chart illustrating a method of processing a beginning of row operation code as may be utilized by the present invention.
Figure 9 is a flow chart illustrating a process of decoding rows encoded by shifting and Exclusive ORing as may be utilized by the present invention.
DETAILM MSCRIPTTON OF THE PRESENT MVENTTON A method of compressing and reconstructing video data is described. In the following description, numerous specific details are set forth such as operation codes, specific steps, etc., in order to provide a thorough understanding of the present invention. It will be obvious, however, to one skilled in the art that the present invention may be practiced without these specific details. In other instances, well known structures and techniques have not been shown in detail in order not to unnecessarily obscure the present invention.
The present invention comprises a method of compressing video information, typically from a bit-mapped display or similar device and a method of reconstructing the compressed video information to allow redisplay of the data. The invention is based on the observation that a typical bitmapped video image comprises a majority of either "white" areas or patterns of data. A purely random pattern of white and dark areas on a bit-mapped video display is rare.
Therefore, the present invention takes advantage of these observations by further enriching a bit-map of a video image in zeros by performing an auto correlation of vertical and horizontal lines. The enrichment in zeros is due to the large amount of "white space" on the screen before the enrichment process and to the patterns which existed in the video image. The present invention attempts several different correlations, counting the number of zeros produced k 7 7 by each correlation, and utilizes the correlation which produces the richest mixture of zeros. The zero enriched display is then encoded and repetitive encoded combinations are recognized and assigned special codes to further compress the data.
The present invention was disclosed under the Patent and Trademark Office's document disclosure program on August 7, 1986 through submission of computer program code and a statement describing the invention. The disclosure is incorporated here by reference.
Referring now to Figure 1, a method for compressing data utilized by the preferred of the present invention Is disclosed. The method first performs several preliminary tests, block 1, on each row input. These tests will be described In more detail in conjunction with Figure 5. The tests include testing if a ro,is all zeros or if the row is all ones, etc. If any of the preliminary conditions are satisfied, branch 2, a code is stored and the next row is accepted as input. If none of the preliminary conditions are satisfied, branch 3, several methods are tried to zero enrich the data, block 4. This will be discussed in more detail in connection with Figure 6. Next, the zero enriched row is encoded, block 5. A test is then done to determine if the packed data uses less space than the unpacked information. If it doesn't, branch 7, the unpacked information is stored, block 9. If it does, branch 8, the packed information is stored, block 10. The next row of data from the bit-mapped graphic s display is then subjected to the same process.
Figure 2(a) illustrates an example of data which may be stored using the present invention. It will be obvious to one skilled in the art that the present invention is capable of handling any data displayed on a bitmapped graphics display with varying degrees of effectiveness. Figure 2(a) illustrates a black rectangle 21 being displayed on a video display. One method of compressing the data on Figure 2(a) is to Exclusively OR each row with the row above it.
The result is shown by Figure 2(b). Using an Exclusive OR process on each row of data on the display yields two lines; line 23 and line 24. Line 23 is in the same row as the top of the rectangle 21 of Figure 2(a). Line 24 is one row below the bottom of the rectangle 21.
Figure 2(c) illustrates the result of using a similar Exclusive OR process on the two lines 23 and 24 from Figure 2(b). Here the Exclusive OR process has occurred on vertical lines across the display, Exclusive ORing each vertical line with the vertical line to its left. The result is four pixels left black 26, 27, 28 and 29. Two of the pixels 26 and 29 are the left most Pixels of the rows 23 and 24. The other two pixels 27 and 28, are In the vertical line adjacent to the right most pixels of lines 23 and 24. These Figures, 2(a), 2(b) and 2(c) are Illustrative of the method used by the present invention for zero enriching bit-mapped data. However, it will be seen that the preferred embodiment utilizes several variations on this method to optimize both storage and retrieval of the data.
- 9 The preferred embodiment of the present invention utilizes a set of 1byte (8-bit) codes for compressing the data. These codes are further illustrated in connection with Figure 3. The codes can be broken down into five major types, normal runs 31, miscellaneous codes 32, repeat codes 33, big data 34, and big zero 35. The normal run codes 31 utilize hexadecimal values 00-7F. The format of a normal run code in the preferred embodiment of the present invention is Odddzzzz, where ddd is a count of data bytes which follow this code byte and zzzz is a count of zeros between 0 and 15. For example, a string of data consisting of eight zeros followed by 2 bytes of data, one being represented by hexadecimal FF or all black and the second byte being represented by AA or being gray may be encoded as hexadecimal 28 FF AA. Thus, four bytes of data have been compressed to three bytes of data.
A number of miscellaneous codes are utilized by the present invention for storing information about rows which have met the preliminary conditions discussed in conjunction with Figure 1 and Figure 5 and for storing information regarding which method yielded the optimum zero enriched row of data. The preferred embodiment of the present invention utilizes hexadecimal values 80-9F as indicated below for miscellaneous codes.
1 1 MIRCELLANEOUS CODER Mr1R $80 $81 $82 $83 $84 $85 $86 $87 $88 $89 $8A $8B $BC $8D $8E $8F $90-9F DESCRTPTION COULD NOT PACK ROW ALL ZEROS ROW ALL ONES FILL DATA FILL SAME DATA DUPLICATE 1 LINE ABOVE DUPLICATE 2 LINES ABOVE UNUSED dh, dv - 16, 0 dh, dv = 0, 0 dh, dv = 0, 1 dh, dv = 0, 2 dh, dv = 1, 0 dh, dv = 1,-1 dh, dv = 2, 2 dh, dv = 8, 0 UNUSED Hexadecimal code 60 indicates that data could not be p4cked without using more space than the original data. The unpacked data follows the code. Hexadecimal code 81 indicates the row consisted of all zeros. Hexadecimal code 82 indicates the row consisted of all ones. Hexadecimal code 83 indicates the row consisted of bytes of data which repeated. In this case, the code is followed with a single byte of data indicating the byte of data which repeats. Hexadecimal 84Andicates this row repeats the same byte of data that was repeated in the previous row. Hexadecimal code 85 indicates this row is a duplicate of the row immediately above It. Hexadecimal 86 indicates this row is a duplicate of the row two rows above it. Hexadecimal 87 is currently not used In the preferred embodiment. Hexadecimal 88 through 8F indicate which of various horizontal deltas (dh) and vertical deltas (dv) were utilized to yield the optimum zero enriched row. In the preferred embodiment, hexadecimal codes 90 through 9F are currently not used.
Each of these miscellaneous codes 80 through 9F are utilized only when analyzing a row at the beginning of the row.- Therefore, these codes are unused when storing data within a row and may be utilized for future expansion within a row, Codes AO through BF indicate the previous one byte operation code repeats zero to thirty-one times. The format for these codes is 10innnnn2 where nnnnn Is a value between 010 and 3110. For example, if the previous op code was 81 and a repeat code of A6 is detected, six white lines will be dlsplayed as a result.
Codes CO through DF indicate a string of data bytes follows. The format of these codes, in binary, is lllddddd, where ddddd is a count of data bytes which follow divided by 8. For example, if a string of sixteen data bytes is to be represented, a code of hexadecimal C2 (16 - 8---2) is stored followed by the sixteen data bytes.
Codes EO through FF indicate a string of zeros exist in the data. The format of this code is 111zzzzz, where zzzzz is a count of zeros divided by 16. For example, if a string of 160 zeros was found in a row of data a code of hexadecimal CA (160 - 16 - 1010 or A16) is stored.
Figures 4(a) through 4(c) are illustrative of this method of encoding data. In Figure 4(a) a set of rows of data as may be compressed by the present Invention Is shown. The data consists of a row of all zeros 41 followed by four rows 42 which would display as a blackened rectangle and another row of all zeros 43. The first row 41 may be represented with the code 81 for a row consisting of all zeros. Row 2 may be shifted 1-bit to the right and exclusive 0Rld with itself. This is shown in Figure 4(b). Row 2 44 is Exclusive ORld with a-copy of itself shifted 1-bit to the right, row 45. yielding a result 46. This row is optimized in zeros. An operation code-8C isstored by the preferred embodiment of the present invention to indicate a delta of shifting horizontally right 1-bit and vertically 0-bits when performing the Exclusive OR process. Rows 3, 4, and 5 may be represented by code 85 indicating they are duplicates of the lines immediately above them. Row 6 may be represented by code 81 indicating it is all zeros. Figure 4(c) illustrates rows 1-6 and the resulting codes 50.
Referring to Figure 5, a flow chart illustrating the preliminary tests performed by the preferred embodiment of the present invention when compressing data is shown. A row Is first tested to determine if it is all white or zeros and, If it is, branch 55 is taken and the code indicating it is all white is recorded.
Next, a test is performed to determine if the row is all black or ones and, if it is, branch 56 is taken and a code indicating it is all black is recorded.
Next, a test is done to determine if the row repeats the same byte of data across the entire row. If it does, branch 57 is taken. If branch 57 is taken, a test is done to see if the row repeats the same byte repeated by the previous row and, if so, branch 54 is taken and a code Is stored indicating it repeats the same code. Otherwise a code is stored indicating it repeats a byte and that byte Is stored.
1 Next, a cheek is done to determine if the row matches the row previous to it and, if so, branch 58 is taken and a code is stored indicating the row is a duplicate of the row above it.
Next, a test is done to determine if the row matches the row two rows previous to it and, if it does, branch 59 is taken and a code is stored indicating the row matches the row two lines previous to It.
As previously discussed in connection with Figure 1, none of these preliminary conditions are satisfied a determination is made which of several methods of shifting and Exclusive ORing rows of data will produce a row which is optimized in zeros. Referring now to Figure 6, a flow chart for a process for determining an optimum zero enriched method as utilized by the preferred embodiment of the present invention Is shown. This method consists of first initializing several variables including setting a variable, called bestcount, to the number of non-zero words in the current row, block 60. A determination is then made of i - 14 nonequal words between the current row and the immediately previous row, block 61. If this count of nonequal words is less than bestcount branch 62 is taken and zero is stored as the best horizontal delta, one is stored as the best vertical delta and the count is stored as bestcount. In other words, should this be the optimum method, the Exclusive OR process will be done using the row immediately preceding the current row and the current row as inputs without shifting the current row to the right. A check is then done to see if bestcount is less than a threshold value, the threshold value being computed as 2 plus the word count of the row buffer divided by 8. If bestcount is less than the threshold value, it Is assumed that this is the optimum method for zero enriching this row of data. otherwise, branch 75 is taken.
If either 63 or branch 75 is taken, the next step is to determine the count of nonequal words between the current row and the row two rows previous, block 64. If this count is less than bestcount, branch 65 is taken and 0 is stored as bestdh and 2 is stored as bestdv. The count is then stored as bestcount, block 76. If bestcount is less than the threshold value, branch 77 is taken and it is assumed that the optimum zero enriched method is using the row two rows above the current row and the current row as inputs to an Exclusive OR. Otherwise, branch 78 is taken.
If branch 66 or branch 78 is taken, a loop is performed to determine which of several vertical and horizontal delta combinations will yield the optimum zero enriched method. In the preferred embodiment of the present invention these - 15 combinations include a horizontal delta of 1 with a vertical delta of 0, in other words shifting the current row to the right one bit and using the shifted row and the current row as inputs to an Exclusive OR, a ho rizontal delta of 1 and a vertical delta of 1, a horizontal delta of 2 and a vertical delta of 2, a horizontal delta of 8 and a vertical delta of 0 and a horizontal delta of 16 and a vertical of 0. For each of these combinations a count of non-zero words is determined, block 67. If this count is less than besteount, branch 69, that combination is stored as the bestdh and bestdv. If the count is not less than besteount, branch 70 the next dh, dv combination is attempted, branch 71. If there are no more dh, dv combinations it Is assumed that the currently stored bestdh and bestdv are the optimum for zero epriching this row.
Figure 7 is a flow chart showing a process used for decoding the compressed video information as may be utilized by the present invention. First, several variables are initialized, block 81. This includes initializing a variable named repeatcount to 0. Next a loop is entered which is executed for each code stored for the video image. The first step is to determine if count repeat is greater than 0 and if it is, branch 82 the operation code is set to the previous operation code, I.e. ' the operation code is repeated and repeatcount Is decremented, block 84. If repeatcount is equal to 0, branch 83, the next operation code is read, block 85. A cheek is then made to determine if this operation code indicates the beginning of a row of data. If it does not, branch 86, the row information is unpacked, block 88.
If the code indicates this is the beginning of a row, branch 87 is taken. A test is done to determine if the operation code is a repeat operation code. If it is, branch 89, the repeatcount is set to the repeatcount of the repeat operation code and the next operation code is stored as the operation code to be repeated, block 91.
If the operation code does not equal the repeat operation code, branch 90 is taken and the processing of a beginning of row operation code is done, block 92. The processing of a beginning of row operation code will be more fully explained in conjunction with Figures 8 and 9. The data is then put into a buffer, block 93. A test is done to determine whether there are more operation codes to process. If there are, branch 94 is taken. Otherwise, branch 95 is taken.
The processing of a beginning of row operation code as performed by the preferred embodiment of the present invention, is shown in Figure 8. The first step in pro cessing a beginning of row operation code is to test for a code that indicates the data is not compressed. If the data Is not compressed, branch 101, the uncompressed data is copied into a buffer, block 110.
If the data is compressed, a test is done to determine if the operation code indicates the row should be filled with zeros (i.e., the row is white). If the row is to be filled with zeros, branch 102, an operation is done to fill the row - 17 with zeros, block 111. Otherwise, a test is done to determine if the row should be filled with ones (i.e., the row is black). If so, branch 103 is taken and the row is filled with ones, block 112.
-Otherwise, a check is done tp, determine if the code indicates a byte of data is repeated across the row. If so, branch 104 is taken and the given byte of data is read and duplicated across the row, block 113. Next, a test is done to determine if the operation code indicates the byte of data repeated across the previous row should be repeated across this row. If so, branch 105 is taken and the byte of data is replicated across the row, block 114.
Otherwise, a test is done to determine if the current row is a duplicate of the row immediately above it and if so, branch 106 is taken. A copy of the immediately previous row is then made, block 115. Finally, a test is done to determine if the code indicates the row is an exact duplicate of the second row above it and, if so, branch 107 is taken. In this case the second row above the currentcrow is copied, block 116.
If all of the above tests fail, a series of tests are performed to determine what horizontal delta and vertical delta should be used in the shifting and Exclusive ORing process for this row, block 117.
After the current horizontal delta and the current vertical delta are set, the shifting and Exclusive ORing 1 - is - process is executed. The first step is to determine the appropriate horizontal delta for the row of data and shift a copy of the row the delta number of bytes to the left. An Exclusive OR process is then performed using the shifted copy of the row and the original current row of data as inputs. Next, tests are done to determine whether the resulting row should be Exclusive ORld with either the immediately previous row or the row two rows previous.
Referring now to Figure 9, the preferred embodiment of the present invention first checks to see if the horizontal delta for the current row is-a 1. If so branch 121 is taken. A table is used by the preferred embodiment of the present Invention, to tr4nslate the stored row of data into the row of data to be displayed. Use of the table increases the speed of processing the data. The table consists of the translated values for each possible encoded value. For example, in the table at a relative offset of 1410a value 1110 appears. This is because the value 1110 (10112) shifted right one position (01012) used as input to an Exclusive OR function with the other input being 1110 yields as a result 1410 (10112 XOR 10102 - 11102). Therefore, the encoded row will have a 1410 translated back to an 1110 using this table. The table contains similar translation values at the appropriate offset addresses for other input values.
If the horizontal delta is a 2 branch 124 is taken and a similar table is used to obtain the translated codes, block 123. If the horizontal delta is equal to 8, branch 125 Is taken and the row is shifted 8 bytes and subjected to an - 19 Exclusive OR process to obtain the original data. Finally, if the horizontal delta is equal to 16, branch 127 is taken and the row is shifted 16 bytes and subjected to an Exclusive OR process, block 128.
After processing the horizontal deltas a check is done to determine whether the vertical delta is equal to a one. If so, branch 130 is used. The current row and the row immediately previous are used ao inputs to an Exclusive OR process to obtain the original value for the current row, block 131. Otherwise, a check is done to determine if the vertical delta is equal to a 2. If so, branch 132 is taken and the current row is Exclusive 0Rld with two rows previous, the result being the original value for this row, block 133.
Thus, a method for compressing and decoding video data from a bit-mapped graphics display is disclosed.
. 9 CLATMS A method of compressing information comprising the steps of:
enriching a bit-map of said information in a first binary state; encoding said enriched bit-map; whereby, said information is compressed.

Claims (1)

  1. 2. The method, as recited by Claim 1, wherein said encoding of said
    enriched bit-map comprises the steps of:
    determining whether a first row of said bit-map meets on.e of a predetermined set of conditions; If one of said predetermined set of conditions is met, storing one of a first set of predetermined codes.
    3. The method, as recited by Claim 2, wherein said predetermined set of conditions comprises:
    determining if said first row is all in said first binary state; determining if said first row is all in a second binary state; determining If a first group of bits repeats in said first row; and determining if said first row is identical to a second row of said bit- map.
    4 4 4. The method, as recited by Claim 1, wherein said enriching of said bit- map comprises the steps of:
    (a) copying a first row of said bit-map; (b) shifting said copy of said first row a predetermined number of bits in a first direction; (c) performing an Exclusive OR operation using as input said first row of data and said copy of said first row of data yielding a second row of data; (d) determining the number of words of data in said second row of data which are in said first binary state; (e) if said number of words in said binary state are greater than a first value, storing said number of words as said first value and storing said predetermined number as a second value; (f) repeating steps (b) through (e) for each of a first set of predetermined numbers.
    5. The method, as recited by Claim 4, wherein said enriching of said bitmap further comprises the steps of:
    (a) performing an Exclusive OR function using as input said first row of data and a third row of data, said third' row of data offset a predetermined number of rows from said first row of data, yielding a fourth row of data; (b) determining the number of words of data in said fourth row of data which are in the said first binary state; (c) if said number of words in said first binary state are greater than a third value, storing said number of words as said third value and storing said predetermined number as a fourth value; (d) repeating steps (a) through (c) for each of a second set of predetermined numbers.
    6. The method, as recited by Claim 5, wherein said 1 first set of predetermined numbers comprises one, two, eight and sixteen.
    7. The method, as recited by Claim 6, wherein said second set of predetermined numbers comprises zero, one and two.
    8. The method, as recited by Claim 1, further comprising the step of decoding said encoded information.
    9. The method, as recited by Claim 8, wherein said decoding of said encoded information comprises the steps of..
    (a) reading an operation code; (b) determining from said operation code whether the operation code indicates the beginning of a first row of data; (c) if said operation code indicates the beginning of said first row of data, processing said operation code; (d) otherwise, unpacking said first row of data..
    10. The method, as recited in Claim 9, wherein said processing a beginning of row operation code comprises the steps of:
    (a) if said operation code indicates the data is not compressed, copying the uncompressed data; l:
    (b) if said operation code Indicates said first row is comprised of bits all of a first binary state, filling said first row with bits of said first binary state; (c) if said operation code indicates said first row is comprised of bits all of a second binary state, filling said first row with bits of said second binary state; (d) if said operation code indicates the data repeats a block of data, filling said first row with duplicates of said block of data; (e) if said operation code indicates said first row is the same as a second row offset a predetermined number of rows from said first row, copying said second row.
    11. The method, as recited in Claim 10, wherein said unpacking of said data comprises the step of using a table having predetermined values to unpack said data.
    12. The method, as recited by Claim 1, wherein said encoding said enriched bit-map comprises the step of representing said enriched bit-map with codes representing runs of bits in said first binary state and runs of bits in a second binary state.
    13. The method, as recited by Claim 1, wherein said first binary stite is a low state.
    14. A method of compressing and redisplaying video information from a bitmapped display device comprising the steps of:
    determining whether one of a first set of predetermined conditions is satisfied by a first row of data; if one of said first set of predetermined conditions Is satisfied storing one of a first set of codes; enriching said bit-map of said information in a first binary state by shifting and performing Exclusive OR functions; encoding said enriched bit-map by representing said bitmap as runs of said first binary state and runs of a second binary state; decoding said information by reading a plurality of operations codes and reconstucting said bit-map from said operation codes; whereby, said information is compressed and redisplayed.
    15. The method, as recited by Claim 14, wherein said first set of predetermined conditions comprises: determining if all bits in said first row of said information are in said first binary state; determining if all bits of said first row of said information are in said second binary state; determining if a first group of bits repeats in said first row; and determining if said first row is identical to a second row of said bit-map.
    i6. The method, as recited by Claim 14, wherein said unpacking of said data comprises the step of using a translation table having predetermined values to unpack said data.
    i A - 25 17. The method, as recited by Claim 15, wherein said first binary state is a low state.
    18. The method, as recited by Claim 17, wherein said second binary state is a high state.
    19. A circuit for compressing bit-miapped video information in a computer system, comprising:
    first'storage means for storing a bit-mapped video image; first comparison means for determining whether one of a set of predetermined conditions is satisfied by a first row of said bit-mapped video image; shifting means for shifting said first row of said bit-mapped video ijpage; second comparison means for comparing said first row of said bitmapped video image with a second row of said bit-mapped video image; said first comparison means',,shifting means and second comparison means for providing information for encoding said bit-mapped video image; and second storing means for storing encoded video information.
    20. The circuit, as recited by claim 19, wherein said set of predetermined conditions comprises; determining if all bits in said first row of said video image are in a first binary state; determining if all bits of said first row of said video information are in a second binary state; determining if a first group of bits.repeats in said first row of said video information; and t i 1 - 26 determining if said first row is identical to said second row of said bit-mapped video image.
    21. The circuit, as recited by claim 20, wherein said first binary state is a low state.
    22. The circuit, as recited by claim 21, wherein said second binary state is a high state.
    23. The circuit, as recited by claim 19, wherein said second comparison means comprises an Exclusive OR function.
    24. A method of compressing information substantially as hereinbefore described.
    25. A circuit for compressing bit-mapped video information in a computer system, substantially as hereinbefore described and illustrated.
    Published 1988 at The Patent Office. State House. P-6!71 Iligh Holborn, London WC1R 4TP. Further copies may be obtained from The Patent Office. Sales Branch, St Mai7 Crky. Ozpigt,,.i. Rent BR5 3R.D. Printed by Multiplex teeb--'.:lues ltd, St Mary Gray, Kent. Con. l.87.
    1
GB8814862A 1987-08-11 1988-06-22 Video compression algorithm Expired - Fee Related GB2208059B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US8430987A 1987-08-11 1987-08-11

Publications (3)

Publication Number Publication Date
GB8814862D0 GB8814862D0 (en) 1988-07-27
GB2208059A true GB2208059A (en) 1989-02-15
GB2208059B GB2208059B (en) 1991-09-25

Family

ID=22184140

Family Applications (1)

Application Number Title Priority Date Filing Date
GB8814862A Expired - Fee Related GB2208059B (en) 1987-08-11 1988-06-22 Video compression algorithm

Country Status (8)

Country Link
JP (1) JPS6467086A (en)
AU (1) AU613938B2 (en)
CA (1) CA1336015C (en)
DE (1) DE3827131C2 (en)
FR (1) FR2619461B1 (en)
GB (1) GB2208059B (en)
HK (1) HK26392A (en)
SG (1) SG592G (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0367226A2 (en) * 1988-11-01 1990-05-09 Seiko Epson Corporation Character pattern data storing apparatus and character pattern generating apparatus
EP0435532A2 (en) * 1989-12-26 1991-07-03 International Business Machines Corporation Method and apparatus for detecting certain runs of data in a data stream
WO1997006602A1 (en) * 1995-08-03 1997-02-20 Eulmi, Sam, H. Recursive data compression
US6088513A (en) * 1991-12-27 2000-07-11 Canon Kk Method of processing data by performing a predetermined operation between a current and preceding raster and compressing the resultant data
CN111034054A (en) * 2017-07-31 2020-04-17 惠普发展公司,有限责任合伙企业 XOR processing of voxels of three-dimensional models

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117118456B (en) * 2023-10-25 2024-01-26 山东德源电力科技股份有限公司 Magnetic control switch control data processing method based on depth fusion

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1481226A (en) * 1973-08-31 1977-07-27 Kokusai Denshin Denwa Co Ltd System for coding two-dimensional information
GB1539858A (en) * 1976-04-09 1979-02-07 Philips Nv Facsimile picture signal transmission
GB1572121A (en) * 1976-03-03 1980-07-23 Xerox Corp Encoder and decoder for bandwidth compression
EP0130415A2 (en) * 1983-06-30 1985-01-09 International Business Machines Corporation Data compression for graphics images
EP0149124A2 (en) * 1984-01-16 1985-07-24 International Business Machines Corporation Method for encoding and decoding a digital image

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4058674A (en) * 1973-03-27 1977-11-15 Kabushiki Kaisha Ricoh Graphic information compression method and system
CA1128646A (en) * 1978-11-22 1982-07-27 Yasuhiro Yamazaki Coding method for facsimile signal
JPS57124970A (en) * 1981-01-26 1982-08-04 Fujitsu Ltd Video information coding system
EP0132455A1 (en) * 1983-07-29 1985-02-13 DR.-ING. RUDOLF HELL GmbH Method and apparatus for the high definition display of line graphics
US4631521A (en) * 1984-12-31 1986-12-23 Wang Laboratories, Inc. Method and apparatus for differential run-length coding
JPS6276364A (en) * 1985-09-27 1987-04-08 Matsushita Graphic Commun Syst Inc Picture information communication equipment
JP2645379B2 (en) * 1987-03-17 1997-08-25 ディジタル イクイプメント コーポレーション System for creating dithered images from continuous tone image data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1481226A (en) * 1973-08-31 1977-07-27 Kokusai Denshin Denwa Co Ltd System for coding two-dimensional information
GB1572121A (en) * 1976-03-03 1980-07-23 Xerox Corp Encoder and decoder for bandwidth compression
GB1539858A (en) * 1976-04-09 1979-02-07 Philips Nv Facsimile picture signal transmission
EP0130415A2 (en) * 1983-06-30 1985-01-09 International Business Machines Corporation Data compression for graphics images
EP0149124A2 (en) * 1984-01-16 1985-07-24 International Business Machines Corporation Method for encoding and decoding a digital image

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0367226A2 (en) * 1988-11-01 1990-05-09 Seiko Epson Corporation Character pattern data storing apparatus and character pattern generating apparatus
EP0367226A3 (en) * 1988-11-01 1992-05-20 Seiko Epson Corporation Character pattern data storing apparatus and character pattern generating apparatus
EP0435532A2 (en) * 1989-12-26 1991-07-03 International Business Machines Corporation Method and apparatus for detecting certain runs of data in a data stream
EP0435532A3 (en) * 1989-12-26 1993-01-07 International Business Machines Corporation Method and apparatus for detecting certain runs of data in a data stream
US6088513A (en) * 1991-12-27 2000-07-11 Canon Kk Method of processing data by performing a predetermined operation between a current and preceding raster and compressing the resultant data
WO1997006602A1 (en) * 1995-08-03 1997-02-20 Eulmi, Sam, H. Recursive data compression
CN111034054A (en) * 2017-07-31 2020-04-17 惠普发展公司,有限责任合伙企业 XOR processing of voxels of three-dimensional models

Also Published As

Publication number Publication date
HK26392A (en) 1992-04-16
JPS6467086A (en) 1989-03-13
AU613938B2 (en) 1991-08-15
SG592G (en) 1992-05-15
DE3827131A1 (en) 1989-02-23
DE3827131C2 (en) 1997-05-15
CA1336015C (en) 1995-06-20
GB8814862D0 (en) 1988-07-27
FR2619461A1 (en) 1989-02-17
GB2208059B (en) 1991-09-25
AU2049288A (en) 1989-02-16
FR2619461B1 (en) 1994-04-01

Similar Documents

Publication Publication Date Title
US5335299A (en) Video compression algorithm
US5463701A (en) System and method for pattern-matching with error control for image and video compression
CA1217868A (en) Apparatus for detecting and correcting errors in product codes for error correction in digital information data transmission or recording systems
EP0030437B1 (en) Method and apparatus for compression and decompression of digital image data
US5838964A (en) Dynamic numeric compression methods
US4979039A (en) Method and apparatus for vector quantization by hashing
US4441208A (en) Picture information processing and storing device
US20050265614A1 (en) Graphics display systems with data compression and methods of performing data compression of graphics data
JPH05276052A (en) Method for decoding huffman code word and device therefor
US3599178A (en) Method of storing information on and retrieving information from a magnetic drum
US3686631A (en) Compressed coding of digitized quantities
JPH0576171U (en) Data compression and data compression dissociation device
KR100573527B1 (en) How to compress and restore graphic images
JPS61245768A (en) Encoding of image data
GB2208059A (en) Video compression method
US4382286A (en) Method and apparatus for compressing and decompressing strings of electrical digital data bits
US4724483A (en) Information compressing method and apparatus
CN112118449A (en) Method and device for compressing and decompressing image
US20030020722A1 (en) Image display apparatus
KR20050083553A (en) Image encoding device and method, and encoded image decoding device and method
US5055919A (en) Apparatus for image data transposition and compression/decompression
US6456742B1 (en) Method for image processing
JPS59161183A (en) Encoding system of picture having gradation of multilevel
US5671296A (en) Method of electronically processing a quantized image
JPH0311883A (en) Decoding system for variable length code, and facsimile equipment and still picture transmission system

Legal Events

Date Code Title Description
PCNP Patent ceased through non-payment of renewal fee

Effective date: 19970622