摘要:
A method for expanding a binary image includes the steps of: storing the image in bit sequence; inserting for each string of 5 bits along a first axis one or more expansion bits, to convert each said string of 5 bits to a string of 6 bits; assigning a value to each expansion bit generated by the above step; inserting one or more rows of expansion bits for each 5 rows of bits along a second axls of the image to convert each 5 rows of bits to 6 rows of bits along the second axis of the image; assigning a value to each expansion bit generated by the above steps; storing the enlarged image generated by the above steps.
摘要:
Method for rotating an image by 90 degrees includes the steps of: storing the image in a raster format arranged in r rows by c columns, image information in each row being stored in a number of bytes, each byte having b bits, there being c/b bytes in each row of the raster format; moving a block of the image into a temporary storage, there being n rows by m columns in the block; separating each image block into groups of bytes of rotatable size; determining for each group if all bits are the same value; rotating each group that does not have all bits the same value; storing each rotated group in an output area of the raster storage; repeating the above steps for all remaining blocks of the image.
摘要:
A method for converting an image from a run represen-; tation to a bit map, includes the steps of: storing a plurality of run representations of an image in a buffer; initializing a line of data; converting, by table lookup, each run representation, in said line, to a picture element representation, storing said picture element representation of said line; repeating the steps of initializing, converting and storing for remaining run representations until said image has been converted to a bit map representation.
摘要:
Data compression, resolution and coding efficiency of graphic text or line image data is achieved by eliminating transitions between gray levels at edges in an image, converting all gray levels to a common value to achieve a 3 level representation of the image, and reversibly converting the 3 level representation to a bilevel double resolution representation by increasing the data sampling rate and therefore allowing the use of two level data compression techniques. A high resoluton display or printed output may be obtained from the bilevel multiresolution representation.
摘要:
A method for converting an image from a bit map to a run end or run length representation includes the steps of : storing the image as a bit map representation; accessing for each byte in an image by a look-up table a selected routine, corresponding to such byte, from a number of routines for converting bit strings to run representations, wherein the look-up table accessed is selected in accordance with a color value of a preceding pixel binary bit; and executing the selected routine on the current byte to convert the bit string to a run representation; storing in a run representation buffer, as a count value, each run representation; repeating the above steps of accessing and executing for each byte and storing for each run of continuous color to the end of the image.
摘要:
Data compression, resolution and coding efficiency of graphic text or line image data is achieved by eliminating transitions between gray levels at edges in an image, converting all gray levels to a common value to achieve a 3 level representation of the image, and reversibly converting the 3 level representation to a bilevel double resolution representation by increasing the data sampling rate and therefore allowing the use of two level data compression techniques. A high resoluton display or printed output may be obtained from the bilevel multiresolution representation.
摘要:
A method for encoding and decoding digital image data, includes the steps of testing the data for a vertical relationship between adjacent lines of the image, generating directly a reference code word representative of the vertical relationship for each successful test, generating by table lookup a run code word for a stream of data bits of common value for each unsuccessful test, wherein a data element representing a number of bits in a code word is stored at a predetermined offset from a table entry for the code word, merging the vertical reference code words and the run code words generated by the above steps to form an encoded data stream, testmg an encoded data stream for a reference code, decoding directly the vertical relationship from the reference code for each successful test: decoding by table lookup a run of bits of common value by serial examination of said encoded data stream for each unsuccessful test and storing data decoded by the above steps in a predetermined relationship
摘要:
57 A method for converting an image from a bit map to a run end or run length representation includes the steps of: storing said image as a bit map representation; initializing all variables to be used in the conversion process; converting by table lookup, each run of continuous color to a run end; storing, in a run end buffer, as a count value, each run end; repeating the steps of converting and storing for each run of continuous color to the end of the image.