DATA COMPRESSION ENCODING SYSTEM

Abstract: The present invention is embodied in a data compression encoder (38) for use with the discrete cosine transform compression process (48). The invention enhances compression using the discrete cosine transform by utilizing a prediction engine (46) that breaks the data received into predicted and unpredicted portions. The predicted portions are excluded from the discrete cosine transform reducing the time required to compress a file. The prediction engine relies, in part, upon look-up tables that are used to determine the predicted blocks. A table build engine and database compiler are used to create the look-up tables.

Description: DATA COMPRESSION ENCODING SYSTEM BACKGROUND OF THE INVENTION A. Field of the Invention The invention is related generally to a system for building data compression devices and more particularly, to a system for building a data compression device for coding of images. B. Description of the Prior Art With the advent of high speed low cost microprocessors, there has been a rapid growth in the development of digital communication devices for the transmission of print, voice and video. The rapid growth and demand for such devices has quickly out paced the ability of the present communications hardware infrastructure to provide communications bandwidth to meet the digital communication demands. In the field of digital communications systems, the amount of data capable of being transmitted through a given media over time is referred to as bandwidth. One solution to expand available bandwidth is through the implementation of data compression techniques to reduce the amount of digital data needed to represent the information transmitted. Digital compression techniques currently represent the most common solution for increasing the throughput of digital communications hardware. Given the variations in hardware technology and digital computer platforms that exist in various industries and internationally, standards have been established to provide certain data compression techniques that may be implemented universally. In field of image information systems where images or pictures are represented in a digital form by data, numerous commercially accepted standards have been developed for compressing such digital images. One such standard was developed by the Joint Photographic Experts Group (JPEG), an international body formed to establish an international standard for the compression of grayscale and color images. This compression standard has come to be known as the JPEG standard in which digital images are compressed through an encoder and represented in a compressed form known as JPEG format. Images stored in the JPEG format have a file size which is significantly smaller than the file size of the same digital image stored in an uncompressed form. The JPEG standard was recommended by the International Telegraph and Telephone Consultative Committee (CCITT) as recommendation T.81 on September 18, 1992 and was published by the International Standards Organization and International Electrotechnical Commission (ISO/IEC) as standard ISO 10918:1 entitled, AINFORMATION TECHNOLOGY - DIGITAL COMPRESSION AND CODING OF CONTINUOUS-TONE STILL IMAGES - REQUIREMENTS AND GUIDELINES ITU-T Rec. T.81 | ISO 10918:1". The JPEG standard actually comprises two classes of compression processes, namely, lossy and lossless compression techniques. In lossy compression, substantial compression is achieved while some loss of the image data occurs when the image is subsequently decompressed. However, such losses in image quality may be so minimal that they are generally not considered discernable when viewed by the naked eye. Those processes that are based upon the discrete cosine transform (DCT) are considered lossy. An encoder 20(Figure 1) using lossy compression generally includes a DCT engine 21 , a quantizer 22 and an entropy coder 26. These functions are defined in the JPEG standard. In the second class, lossless compression is achieved using an alternative technique to DCT in which no loss in image quality occurs when the image is decompressed. However, lossless compression does not achieve compression ratios as large as lossy compression. Thus, digital images when compressed under a lossless compression will have a greater file size and will take more time to transfer through a communications line than the same image when compressed over the lossy standard. Except in fields where image accuracy is desired, such as, in medical imaging where any change in the representation of an image containing human tissue may affect the diagnosis of an illness by a medical professional, most image applications can utilize the lossy compression standard for digital transmission. In some real time applications, such as, transmitting digital images between facsimile machines, the JPEG standard for compressing digital images is more than capable of simultaneously compressing the data in conjunction with the transmission of the images. This is due to the fact that the narrow bandwidth of conventional analog phone lines for digital data transmission is inherently slower than other digital communications methods and provides more than adequate time for the simultaneous JPEG compression processes to occur in real time. However, in other hardware communications systems that have improved digital throughput or have been designed for digital transmission, such as computer buses and networks as well as digital television systems, the availability and need for even greater throughput and speed is in demand. In communications systems such as digital television transmission, it will be realized by those skilled in the art that the Moving Pictures Experts Group (MPEG) standard for compressing and transmitting moving picture images which is based upon the JPEG standard is also limited by this time constraint. Moreover, faster methods are needed for compressing and storing JPEG images prior to when image data is transferred, for example, to personal computers (PCs)from peripheral devices or for use with the storing of images in digital cameras and the like. When conventional JPEG compression processes are used in such environments in real time, the compression time needed to convert digital images into the JPEG standard using conventional JPEG compression methods can slow down the overall transmission rate of such high speed communications systems. Thus, it may be appreciated that the time saved in transferring such compressed files has been reduced in part by the time needed by conventional compression techniques to encode a digital image into the JPEG file format. Such time constraints limit the effectiveness of the JPEG file format in applications that require the compression and transmission to occur quickly, simultaneously and/ or in real time. Thus, the need exists for encoding and decoding devices and processes that can convert digital images between an uncompressed and compressed file standard, such as JPEG or MPEG, in real time and without delay while operating with high speed communications systems. OBJECTS AND SUMMARY OF THE INVENTION It is an object of the present invention to provide an image compression device and process that improves the conversion rates for encoding digital images between an uncompressed and compressed data standard. It is another object of the present invention to provide an image compression device and process that improves conversion rates for digital transmission of compressed images using a lossy compression process. It is yet another object of the present invention to provide an image compression device and process that reduces the time required for the discrete cosine transform (DCT) in the lossy compression process used to produce a compressed image under the JPEG standard. An advantage of the present invention is the ability to provide a good quality image from a lossy compression process having improved compression rates. Another advantage of the present invention is improved timing by eliminating DCT cycles not needed, but performed during conventional lossy compression. A further advantage of the present invention is that it can be manufactured on an economical basis and has portability between various communication platforms. A further advantage of the present invention is the capability to discriminate between types of uncompressed digital image data and to provide a lossy coding stage for a first set of image data and to perform conventional DCT on the second set of image data, thereby eliminating the need for use of the DCT on the first set of data. It is a feature of the present invention to provide a compression device and process that substantially improves the transmission of data across communications link and that significantly increases the ability to establish and maintain the realtime communication of images. The present invention is embodied in a data compression system for transforming a data set from an uncompressed standard to a compressed standard in which the data set when stored on a storage media under the compressed standard requires less space than the data set when stored under the uncompressed standard. The system comprises a discrete cosine transform engine including means for apportioning the data set when uncompressed into a plurality of uncompressed blocks; an inference engine adapted to divide the blocks into predicted blocks and unpredicted blocks by manipulating each of the blocks according to predetermined criteria and comparing each of the manipulated blocks to a predetermined set of compressed block standards; means for assigning a selected one of a plurality of compressed blocks to each of the predicted blocks based upon the comparisons made by the inference engine; and the discrete cosine transform engine further including means for transforming said unpredicted blocks into compressed blocks; such that the data set may be stored under the compressed standard in which assigning the selected compressed block to the predicted block generally appears as though the predicted block was compressed by the transforming means. The present invention includes a method of data compression for transforming a data set from an uncompressed standard to a compressed standard in which the data set when stored on a storage media under the compressed standard requires less space than the data set when stored under the uncompressed standard. The method comprises the steps of apportioning the data set when uncompressed into a plurality of uncompressed blocks; dividing the blocks into predicted blocks and unpredicted blocks by manipulating each of the blocks according to predetermined criteria; comparing each of the manipulated blocks to a predetermined set of compressed block standards; assigning a selected one of a plurality of compressed blocks to each of the predicted blocks based upon the comparisons; and transforming by a discrete cosine transform the unpredicted blocks into compressed blocks. The present invention includes a data compression apparatus for transforming a data set from an uncompressed standard to a compressed standard in which the data set when stored on a storage media under the compressed standard requires less space than the data set when stored under the uncompressed standard. The apparatus comprises a discrete cosine transform engine including means for apportioning the data set when uncompressed into a plurality of uncompressed blocks; an inference engine adapted to divide the blocks into predicted blocks and unpredicted blocks by manipulating each of the blocks according to predetermined criteria and comparing each of the manipulated blocks to a predetermined set of compressed block standards; means for assigning a selected one of a plurality of compressed blocks to each of the predicted blocks based upon the comparisons made by the inference engine; and the discrete cosine transform engine further including means for transforming the unpredicted blocks into compressed blocks; such that the data set may be stored under the compressed standard in which assigning the selected compressed block to the predicted block generally appears as though the predicted block was compressed by the transforming means. In another preferred embodiment, the present invention is embodied in a data compression system for transforming a digital image from an Y, Cb, Cr image data to a JPEG image data in which the digital image when stored on a storage media under the JPEG image data requires less space than the digital image when stored under the Y, Cb, Cr image data. The system comprises a discrete cosine transform engine including means for apportioning the digital image when uncompressed into a plurality of uncompressed 8 x 8 arrays; an inference engine adapted to divide the 8 x 8 arrays into predicted 8 x 8 arrays and unpredicted 8 x 8 arrays by manipulating each of the 8 x 8 arrays according to predetermined criteria and comparing each of the manipulated 8 x 8 arrays to a predetermined set of compressed 8 x 8 array standards; means for assigning a selected one of a plurality of compressed 8 x 8 arrays to each of the predicted 8 x 8 arrays based upon the comparisons made by the inference engine; and the discrete cosine transform engine further including means for transforming the unpredicted 8 x 8 arrays into compressed 8 x 8 arrays; such that the digital image may be stored under the JPEG image data in which assigning the selected compressed 8 x 8 array to the predicted 8 x 8 array generally appears as though the predicted 8 x 8 array was compressed by the transforming means. In an alternatively preferred embodiment, the present invention is embodied in a data compression system for transforming a data set between an compressed standard in which the data set when stored on a storage media under the compressed standard require less space than the data set when stored under the uncompressed standard. The system includes a discrete cosine transform engine including means for selectively apportioning the data set when uncompressed into a plurality of uncompressed blocks; an inference engine adapted to divide the blocks into predicted blocks and unpredicted blocks by manipulating each of the blocks according to predetermined criteria and comparing each of the manipulated blocks to a predetermined set of compressed block standards; means for assigning a selected one of a plurality of compressed blocks to each of the predicted blocks based upon the comparisons made by the inference engine; the discrete cosine transform engine further including means for transforming the unpredicted blocks into compressed blocks; such that the data set may be stored under the compressed standard in which assigning the selected compressed block to the predicted block generally appears as though the predicted block was compressed by the transforming means; means for operating the discrete cosine engine, inference engine and means of assigning to transform the data set from the compressed standard to the uncompressed standard. In yet another preferred embodiment, the present invention is embodied in a data compression system for transforming a data set from an uncompressed standard to a compressed standard in which the data set when stored on a storage media under the compressed standard requires less space than the data set when stored under the uncompressed standard. The system comprises a discrete cosine transform engine including means for apportioning the data set when uncompressed into a plurality of uncompressed blocks; an inference engine adapted to divide the blocks into predicted blocks and unpredicted blocks by manipulating each of the blocks according to predetermined criteria and comparing each of the manipulated blocks to a predetermined set of compressed block standards; means for assigning a selected one of a plurality of compressed blocks to each of the predicted blocks based upon the comparisons made by the inference engine; and the discrete cosine transform engine further including means for transforming the unpredicted blocks into compressed blocks; the inference engine including means for dividing the blocks into sub-blocks and means for predicting certain combinations that appear regularly in side a sub-block; such that the data set may be stored under the compressed standard in which assigning the selected compressed block to the predicted block generally appears as though the predicted block was compressed by the transforming means. These and other objects and advantages of the invention will become apparent from the following more detailed description when taken in conjunction with the accompanying drawings of illustrative embodiments. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of a JPEG encoder of the prior art. Figure 2 is a block diagram of the JPEG encoder of the present invention. Figure 3 is a block diagram of the encoder of the present invention. Figure 4 is a flow chart of a data compiler routine. Figure 5 is a flow chart of a table build routine. Figure 6 is a table of a first set of preliminary DCT calculations. Figure 7 is a table of a second set of preliminary DCT calculations. Figure 8 is a table of the first group of data block cells representative of DCT coefficients. Figure 9 is a table of a second group of data block cells representative of DCT coefficients. Figure 10 is a table of a third group of data block cells representative of DCT coefficients. Figure 11 is a table of a fourth group of data block cells representative of DCT coefficients. Figure 12 is a flow chart of a zero prediction routine. Figure 13 is a flow chart of a non-zero prediction routine. Figure 14 is a conventional zig-zag table. DETAILED DESCRIPTION OF THE INVENTION In the following description, like reference numerals will be used to refer to like or corresponding elements in the different figures of the drawings for the purpose of illustration. With reference to Figures 2 and 3, the present invention relates generally to an encoder 30 having an input interface 32 to receive images in the form of uncompressed digital data. Since the images may be represented in a variety of color formats, such as, RGB and CMYK formats, a color conversion driver 34 converts color images, if needed, into the YCbCr format for color images as used by the JPEG standard. A conventional command set 36 of data values which are user selectable and disclosed in the JPEG standard allow for the user to select certain criteria during the compression process which, for example, allows the user to adjust the degree of compression desired in relation to the quality of the image desired. A compression engine 38, connected to a memory 40, receives the YCbCr format image data and the command set data values and compresses the image data according to criteria determined by the command set data values. The memory 40 preferably includes the program software and data used by the compression engine 38 to perform the compression process. The compression engine 38 connects to an output interface 39 which transmits the image in the compressed JPEG format to other devices. The encoder 30 of the present invention can be implemented in either a software or hardware configuration. It will be appreciated that the input and output interface may cooperate with either software or hardware implemented devices independently from the hardware and/ or software implementation of the encoder 30. The present invention further relates to a compression engine 38 (Fig. 3) which includes a DCT engine 42 which operates to first divide the image data into 8 X 8 pixel blocks 44 and then initializes the data for DCT 45. In the case of color images, each 8 X 8 grouping of pixels contains three 8 X 8 blocks of pixels representing the each of the color channels YCbCr. These 8 X 8 data blocks are divided up from the image in a conventional manner in accordance with the JPEG standard. Advantageously, following the division of the image data in blocks, the conventional compression process using the DCT engine is interrupted. A prediction engine 46 receives each of the 8 X 8 data blocks and operates to divide up the blocks, or groups of three blocks in the case of color images, into predicted blocks and non-predicted blocks. The non-predicted blocks are returned to the DCT engine in which the non-predicted blocks are operated upon conventionally using the DCT transform 48 and a quantizer 50 according to the conventional JPEG standard. Advantageously, predicted blocks do not receive subsequent processing under the conventional DCT engine 42. Rather, the predicted blocks are coded by a prediction coding engine 46 which assigns a predetermined JPEG compressed block for the predicted block. For each of the predicted blocks a substantial time savings is achieved by eliminating the conventional processing of the block using the DCT engine 42 in which the repetitive process required for performing the discrete cosine transform is eliminated. The time required for the prediction engine to operate is significantly less than the DCT process. Thus, even if only a few of the data values for an image are predicted, a significant time savings is achieved. In the preferred embodiment, the prediction engine may be implemented in two alternatively preferred embodiments. Namely, a zero prediction engine and a non-zero prediction engine that each predicts known combinations of data values which are known to occur regularly. The zero prediction engine process subjects each of the 8 X 8 data blocks to a series of tests to predict whether the blocks conform with known compression results in which all or most of the compressed values equal zero. In the non-zero prediction engine process, the data values are processed and compared to a set of known data values in which the compression results are known. If the data set in the second stage matches a set of the known data values, the compression results of that data set are assigned to the data values. It will be appreciated then that the prediction engine 46 may comprise either the zero prediction engine or the non-zero prediction engine. The selection of whether to use the zero prediction engine or non-zero prediction engine depends upon the implementation environment in which the encoder is used. Specifically, the non-zero prediction engine relies upon data table to predict the 8 X 8 data blocks. This requires additional memory which may exceed the memory capacity for conventional Digital Signal Processing (DSP) integrated circuits and thus requires a separate external memory. Where an external memory is undesirable, the zero prediction engine may be preferred. Also the enhanced features of the DSP integrated circuit may influence selection. Some conventional devices are enhanced for vector addressing which is ideal for data tables. Other DSP circuits may have enhanced features which reduce the processing time of the zero-prediction engine. Thus, in determining whether to use a zero prediction engine or non-zero prediction engine, the designer must balance the hardware features of the processor and the memory capacity of the device. When space is a premium, a zero-prediction engine may be preferred. Where memory is available, the non-zero prediction engine may be preferred. The prediction engine 46 produces three categories of data output: (1) predicted blocks, (2) non-predicted blocks and (3) partially predicted blocks. The predicted blocks are those 8x8 data blocks which were successfully predicted and which were pre-assigned with compression results. The non-predicted blocks are those blocks in which none of the data values were predicted and the data contained therein is tagged for the DCT process 48. The compression of the non-predicted blocks is accomplished conventionally using the DCT engine 42 and quantizer 50. The partially predicted blocks have a predicted part of the 8 X 8 data block that is assigned predetermined compression results. The non-predicted part of the 8 X 8 data block is tagged for compression conventionally using the DCT engine 42 and quantizer 50. Processing of the data is completed by an entropy encoder 56, preferably based upon the Hoffman compression algorithm in which the Hoffman tables provided by the JPEG standard are used conventionally to speed up processing of the Hoffman process. In the preferred embodiment, predicted blocks are not processed by the entropy encoder, as the compression results assigned to these blocks already include the entropy encoder 56 results. For partially predicted blocks, the Hoffman tables may be modified to include results tailored to the partial compression results. However, the Hoffman process operates in the manner described in the JPEG standard. All the examples assume prediction in the B area: B1..B4 have a prediction value. The zig-zag ordering of the DCT coefficients is shown in Figure 14. The numbers represent the final ordering of the DCT coefficients before the Hoffman process begins. Notice the coefficients 0..9.11..13, 17, 18, 24 of Figure 14 are in the AA@ area. All other coefficients are in the AB@ area. The first example is: A1..A4 equals no prediction, B1..B4 equals prediction. There are several options depending on the size of the look up table created for the Hoffman combinations. The first option is to perform the regular Hoffman until coefficient 24. From there, continue with the run length of zeros and the 4 prediction codes into a look-up table with 5 layers that will give as a result the complete Hoffman code from coefficient 24 to 64. A second option is to take into account coefficients 1 , 18, 24. Perform the regular Hoffman coding process defined in the JPEG specification until coefficient 13. From there, continue with a run-length of zeros until coefficient 13, coefficients 17, 18, 24 and the 4 prediction codes into a look-up table. The result of the look-up table is a complete Hoffman code from coefficient 13 to 64. A second example is : A1 is predicted (coefficients 4, 11 , 13, 24), A2..A4 equals not-predicted, B1..B4 equals predicted. The first option is to perform the regular Hoffman until coefficient 19. From there, continue with a run-length of zeros until coefficient 19 and the 5 prediction codes (A1 , B1..B4) into a look-up table. A second option is to perform the regular Hoffman until coefficient 9. From there, continue with a run-length of zeros until coefficient 9 and the coefficients 12, 17, 18 and the 5 prediction codes (A1 , B1..B4) into a look-up table. A third example is: A1 , A2 equal predicted (coefficients 2,4, 7,9,11 ,13,18,24), A3..A4 are not predicted, B1..B4 equal predicted. The first option is to perform the regular Hoffman coding process until coefficient 9. From there, continue with a run-length of zeros until coefficient 9, the coefficient 12, 17 and the 6 prediction codes (A1, A2, B1..B4) into a look-up table. Following processing by the entropy encoder 56, the image data, in a compressed form, is transmitted to the output interface 39 for use by other devices. The compressed data provided by the encoder 30 conforms to the JPEG standard. As such, any hardware or software device designed for use with conventional JPEG files may use the data provided by the present invention. PREDICTION ENGINE - DCT ENGINE PREPARATION: With greater focus on the prediction engine of the preferred embodiment, the prediction engine operates by examining the data blocks after they have been prepared for processing by the DCT engine. Thus, it is first necessary to examine the initial steps provided conventionally by the DCT engine. As indicated above, the DCT engine divides the image file into 8 X 8 data blocks where each block contains 64 pixels of image information. In the case of color, there is a separate 8 X 8 data block for each component of the color image. The DCT engine further divides each of the 8 X 8 data blocks up into four groups of preliminary DCT computation values, each group being made up of 16 values. The selection of the groups and their make-up is determined according to the quantization table selected. The selection of the quantization table is related to the image quality and compression ratio of the compressed data file and may vary. In the preferred embodiment, a quantization table is selected, as shown in figure 4, where quantization constants A=4 and B=16 will provide an image quality in which image loss is generally below the threshold detectable by the human eye and on average provides a compression ratio of 1 :8. This particular quantization table is desired for the zero prediction stage. Processing of the data values into the 4 groups of data values coefficients occurs in the conventional manner by the DCT engine. The 8 X 8 block of data from where the 4 groups are derived is illustrated in Figure 5 where each pixel of information is represented by a value V(ij), where rows 0 to 7 are represented by Ai@ and columns 0 to 7 are represented by Aj@. Determining the DCT coefficients for the present quantization table is initiated by subtracting and adding the components of each column in the following way (where ?D@ values represent difference or subtraction steps and ?S@ values represent summation or addition steps): Forj = 0 to 7: D07j = V0J-V7J S07j = V0j+V7j D16j = V1j-V6j S16j = V1j+V6j D25j = V2j-V5j S25j = V2J+V5J D34j = V3j-V4j S34j = V3j+V4j With reference to Figure 6, the results of the computations are saved in the same 8 X 8 matrix format for each column: VOj = D07j V1j = D16j V2j = D25j V3j = D34j V4j = S07j V5j = S16j V6j = S25j V7j = S34j It will be appreciated by those skilled in the art that this process is highly parallel in nature whether conducted by hardware or software implementations in which computations on different columns can be performed simultaneously. The 8 X 8 matrix formed by this process includes a subtraction group and an addition group, each group comprises an 8 X 4 matrix of 32 values. In order to further subdivide these groups addition and subtraction steps are performed on the 8 X 8 matrix of Figure 6 between columns as shown in Figures 7A and 7B. The result is 64 values that are divisible into the following groups as illustrated by Figures 8-11. Group I includes 16 values that have undergone only subtraction and are identified as G(-)(-). As illustrated by Figure 8, Group I is defined as: For j = 0 to 3: D0,j,7-j, D1 ,j,7-j, D2,j,7-j, D3,j,7-j. These 16 values correspond uniquely as a group to the values of 16 DCT coefficients arranged as shown in Figure 8 in an 8 X 8 DCT coefficient matrix. The prediction engine does not require one to one correspondence between the Group I values and the 16 DCT coefficients. It is merely sufficient that these values collectively correspond to the 16 DCT coefficients located in the positions shown in the matrix. Group II includes 16 values that have undergone first subtraction and second addition and are identified as G(-)(+). As illustrated by Figure 9, Group II is defined as: For j = 0 to 3: S0,j,7-j, S1 ,j,7-j, S2,j,7-j, S3,j,7-j. These 16 values correspond uniquely as a group to the values of 16 DCT coefficients arranged as shown in Figure 9 in the 8 X 8 DCT coefficient matrix. It should be noted that as in group I, that there is no one-to-one correspondence required of the values. Group III includes 16 values that have undergone first addition and second subtraction and are identified as G(+)(-). As illustrated by Figure 10, Group III is defined as: For j = 0 to 3: D4,j,7-j, D5,j,7-j, D6,j,7-j, D7,j,7-j. These 16 values correspond uniquely as a group to the values of 16 DCT coefficients arranged as shown in Figure 10 in the 8 X 8 DCT coefficient matrix. Group IV includes 16 values that have undergone only addition and are identified as G(+)(+). Group IV is defined as: For j = 0 to 3: S4,j,7-j, S5,j,7-j, S6,j,7-j, S7,j,7-j. Unlike the Groups l-lll, Group IV is subjected to a third operation in which a subtraction step of the 16 values is performed as follows: For I = 4 to 7 Si,0,7 - Si,3,4 Si,0,7 - Si,2,5 Si,3,4 - Si,1 ,6 Si,2,5 - Si,1 ,6 As illustrated by Figure 10, these 16 values correspond uniquely as a group to the values of 16 DCT coefficients arranged as shown in Figure 10 in the 8 X 8 DCT coefficient matrix. ZERO PREDICTION ENGINE: The computation of the four groups corresponding to 4 sets of 16 DCT coefficients are all computed conventionally by the DCT engine as a preliminary step in performing the discrete cosine transform on the 8 X 8 data block. However, before such calculations by the DCT engine begins, the prediction engine performs prediction operations on the four groups. A zero prediction operation is outlined by Figure 12 in which a zero prediction test is performed on each of the four Groups. For each group, the process first determines the Largest Absolute Value (LAV) of the 16 results at step 80. This determination can be performed using any conventional sorting or comparing technique in which the absolute value is determined. For example, the process may include the following steps: Define the 16 values of Group X as GroupX(y), where y = 1 to 16 and X = 1 to 4. Define LAV as the largest absolute value. LAV = ABS ( GroupX(1) ) For y = 2 to 16 If LAV < GroupX(y) then LAV = ABS ( GroupX(y) ) Next y End As shown above, a quick comparison of the 16 values serially starting with the first value Groupl(x) results in LAV containing the largest absolute value of the group following the fifteen cycles. Those skilled in the art will appreciate that there are numerous other conventional methods for determining the largest absolute value from a data set. For some hardware digital signal processing integrated circuits, this absolute value is a hard wired command within the circuit. Upon determining the largest absolute value (LAV), the LAV is compared to determine whether the LAV is smaller or equal to 1.5 times the quantization constant A at step 82. In the preferred embodiment, A is equal to 4 and the LAV is compared to determine if LAV # 6. If LAV is less than or equal to 1.5 * A, then all the results for Group X are set to zero at step 84 and the next Group is processed at step 86. Otherwise, the program continues testing of the data. The next test at step 88 compares whether LAV is less than or equal to 1.5 times the quantization value B. In the preferred embodiment quantization value B = 16, so the LAV is compared at step 88 to determine if LAV # 18. If LAV is less than or equal to 1.5 * B, then the twelve values that correspond to B are set to zero at step 90 and the four remaining values of the 24 values are tagged for calculation by the conventional DCT. The DCT engine may be initiated by either an interrupt during operation of the prediction engine or upon completion. The decision as to when to implement the DCT engine is a matter of design and depends upon the operation environment of the prediction engine. The program then calls then next Group(X)at step 86. Otherwise, if the LAV is greater than 1.5 * B, no predicted result is reached and all of the 16 values are tagged for compression conventionally by the DCT process. The program then calls the next Group (X)at step 86. Upon completion of the prediction engine 46 for group 4, the portions of the data block that are tagged for conventional DCT processing are transmitted to the DCT engine at step 42 for further processing. Again, it will be appreciated that the values tagged for traditional DCT processing 48 may be transmitted at any time after to discovery to provide parallel processing of the DCT engine 42 while the prediction engine 46 finishes its sequence. NON-ZERO PREDICTION ENGINE: As indicated above the non-zero prediction engine can be implemented as an alternative to the zero prediction engine. With reference to the flow chart of Figure 13, the non-zero prediction engine process has a series of look-up tables where each table corresponds to one of the 16 values from the GroupX. A table pointer is used in a conventional manner to navigate through the tables. Upon entering the non-zero prediction routine, the table pointer is initialized at step 96 for reading the first of the 16 values. Next, the non-zero prediction process enters a loop for each of the GroupX values at step 98 starting with the GroupX(y), where y = 1 to 16. For each of the 16 values, the value is read at step 100. The magnitude of the GroupX(y) value is converted to a correspond to a range of -7 to +7. A check is made at step 102 to determine whether the value fell within the desired range. If the value is within the desired range, the program continues. Otherwise the program exits at step 104 and no prediction is made. Following the check for range step 102, the GroupX(y) value is added to the pointer value and used to look-up a record within the table at step 106. A check is made of the record value at step 108. If the record is ?zero@, then there is no prediction of the GroupX. The programs calls the next group of values at step 110. Otherwise, if the value is not equal to zero, the pointer is set to the table record value at step 112. The next value of GroupX is called at step 114 and steps 100 to 114 are repeated until all 16 values have been processed. Following the successful collection of 16 non-zero table records, the pointer during the processing of GroupX(16) is assigned a prediction code corresponding to a compressed data for GroupX. If the prediction engine has been successful, then all of the GroupX values are predicted values and no DCT processing of Group X is required. CRITERIA FOR STAGE TWO TABLE RECORDS: As apparent to one of ordinary skill in the art, the stage two 54 sequence performed by the prediction engine is a conventional look-up table sequence. The time saving performance achieved from stage two 54 is acquired from the simplicity of the stage two steps and the creation of the look-up tables which allows for the stage two process to predict non-zero blocks. It will further be appreciated that the look-up table may vary according to the application specific criteria such as whether the prediction engine is implemented in hardware and/ or software. Further, the tables are tailored to the quantization method used. In general the following basic assumptions are used to create the look-up tables: 1. The JPEG standard compresses information by assuming that certain combinations of DCT coefficients consist of more than 90% on average of the results in a given matrix of 8 X 8 DCT coefficients. 2. These common combinations are expressed by a small number of bits in the Hoffman table included in the entropy encoder. 3. Based on these facts, it is possible to select a small number of combinations for each group of 16 values as prepared, for example, by the DCT engine above. 4. For each Group certain zero-one combinations for the ?B@ area Figure 5 and higher combinations such as -7 to 7. 5. The general rule for selecting the common combinations is based upon the JPEG Hoffman table provided by the JPEG Standard. For the ?B@ area, some of the common combinations consist of one coefficient being equal to 1 or -1 and the other 11 values of the 12 comprising the B area are zero. This occurrence provides a total of 24 combinations that share this common feature. 6. Surprisingly, it was discovered that, upon examining the 16 values that make up one of the four Groups, there are a relatively small number of common combinations that correspond to the common DCT combinations. A system for building a prediction engine having look-up tables is disclosed in U.S. Patent Application Serial No. 09/165,535, filed October 2, 1998 and is incorporated herein by reference. Following processing of the DCT coefficients conventionally, it is possible to optimize the Hoffman tables. First assign prediction codes for the A and B area for each group. For example, Group I prediction codes are A1, B1, Group II prediction codes are A2, B2 and so on. Thus, there are prediction codes assigned to each group in which one prediction value may mean no prediction. It will be appreciated from the above examples that a look-up table may be created based on predicted and unpredicted results that will produce as a result a complete Hoffman code from a certain point until the end. This table would further expedite processing of the Hoffman coding system for partially predicted blocks of data. USES FOR THE ENCODES: The encoders incorporating the prediction engine of the present invention may be used in a variety of image processing devices such as optical scanners, digital cameras, digital video disk drives, and the like. The implementation can be accomplished in either a hardware form where the encoder is embodied in a conventional Digital Signal Processor (DSP). Alternatively, the encoder may be implemented in software for use with software applications on general purpose computers. In software, the encoder can be used in applications such as: Internet Browsers, Image Viewers and MPEG players. In one preferred application, the encoder is included with the communication chip-set for an optical scanner. The encoder with the time saving prediction allows for the scanner to provide compressed JPEG images to a storage media at a significantly faster rate than conventional Tiff file formats or when using conventional JPEG encoders. In a second preferred application the encoder is implemented in a digital camera when memory space is a premium. In one embodiment the video device is a Personal Video Recorders (PVR). The encoder speeds up the transfer and storage of JPEG images to the camera=s internal memory. This allows for the digital camera to be used in a manner that emulates conventional auto advancing camera=s rapid-shoot cameras. HARD DRIVE COMPRESSION: It will be appreciated that the prediction engine of the present invention may be used in conjunction with other compression applications. For example, in the storage of data on a hard drive in which a hard drive controller handles the storage and transfer of data between a storage media and a computer bus in real time. In such an application, it is desirable to identify and store various types of data before adding it to the hard drive. The types of data considered may include but are not limited to binary files, text files, graphics files, and compressed binary files which may include text, binary or graphic matter. The identification and compression must occur in real time and should cause a delay in data transfers between the computer bus and hard drive. In such an application, upon identifying the format of the data, an encoder equipped with a prediction engine may be used to compress the data. It will be appreciated that the prediction engine second embodiment using tables may be used to develop encoders for binary text and compressed files as well as image files. Such prediction engines would follow similar selection criteria but would require an additional selection of a compression method and a selection of data representative of that format or type of data. The criteria for the prediction engine would also need to consider the capacity and speed of the hard drive controller in selecting the type of prediction engine contemplated. LOW MEMORY PREDICTION ENGINES It will be appreciated by those skilled in the art that there are a number of instances where the prediction engine of the present invention may be utilized in a hardware environment having limited memory as in miniaturized devices such as digital cameras. In these environments the size of the device and various capabilities limit the amount of memory available to the prediction engine. As discussed above, limiting the table size to meet the memory constraints requires a balance between the image quality and/ or the processing time required to encode the image. Advantageously, the look-up tables for the zero-one combinations can be optimized for low memory environments. The following procedure reveals an implementation included as a separate sub-procedure within the compiler that optimizes the look-up table information for such low memory environments. The process operates independently on the four groups of 16 values each: G(-X-), G(-)(+), G(+)(-), G(+)(+). The optimization is best understood with reference to the following group of 16 values: |p11 | |p12| |p13| |p14| |p21 | |p22| |p23| |p24| |p31 | |p32| |p33| |p34| |p41 | |p42| |p43| |p44| where each p contains a value between -512 and 512 and i = 1 to 4 and j = 1 to 4. Identifying the common combinations of the 16 values that can occur optimizes the look-up tables. The common combinations are separately identified by separating out the common values according to a simple criteria. For each of the 16 values, a separate look-up table with 1024 ( 1 kilobyte) of data entries. Each entry is categorized into two options: 1. a "reject value"; and 2. a "code number" that represents the DCT contribution of this particular value. The threshold that distinguishes between the "reject value" and the "code number" is select according to the statistical information gathered from the test images used and may vary accordingly. For example: statistically for general use applications, 95% identification of zero-one combinations may be achieved when p11 has a value in the range of -80<=p11 <=80. Thus, the table entries for p11 will be: 1. where -80<=pj j <=80, the table entry will contain a DCT code number. 2. where -80>pj j >80, the table entry will contain a reject value. The threshold values provide for the following benefits: 1. Checking to see if p is within a specific value range and, if not, escaping out of the prediction engine. 2. Precalculating the DCT results for every value and representing them with a "DCT code number". This threshold process is conducted for each of the values. The results of the look-up table values may be defined as follows: |p'11 | |p'12| |p'13| |p'14| |p'21 l |p * 22| |p'23| |p'24j |p'31| |p'32| |p'33| |p'34| |p'41 | |p'42| |p'43I [p'44| in which the following additions occur: IP'i p'H I + lp'MI |P'1213| = |p'12| + |p'13| |P'2124| = |p'211 + |p'24| |P'2223| = |p'22| + |p'23| |P'3134| = |p'31 | + |p"34| |P'3134| = |p'32| + |p'33| |P'4144| = |p'411 + |p'44| |P'4144| =|p'42| + |p'43| For each 8 values, a separate look-up table with the same structure for each entry is created, where each entry is: 1 a reject value; or 2 a DCT code. Again, statistical data is used to determine the threshold value for each entry. The results of the look-up tables may be represented as follows: |P"1114| |P"1213| |P"2124| |P"2223| |P"3134| |P"3134| |P"4144| |P"4144| and these values are subjected to the following additions: |P"1114,1213| = |P"1114| + |P"1213| |P"2124,2223| = |P"2124| + |P"2223| |P"3134,3134| = |P"3134| + |P"3134| |P"4144,4144| = |P"4144| + |P"4144| Again the process is repeated. For each of the four values, a separate look-up table with the same structure for each entry is created, where each entry is: 1 a reject value; or 2 a DCT code. This entire process is repeated until only one DCT code exists. By using this process for developing the prediction engine look-up tables, the amount of memory used by the look-up tables can be significantly reduced. For most general applications, the look-up tables can be maintained in an memory that is generally 32 kilobytes or less. What has been disclosed is merely illustrative of the present invention. Other arrangements and methods can be implemented by those skilled in the art without departing from the spirit and scope of the present invention. It will be understood that certain features and subcombinations are of utility and may be employed without reference to other features and subcombinations as they are outlined within the claims. While the preferred embodiment and application of the invention has been described, it is apparent to those skilled in the art that the objects and features of the present invention are only limited as set forth in the claims attached hereto.

Claims: What is claimed is: 1. A data compression system for transforming a data set from an uncompressed standard to a compressed standard in which said data set when stored on a storage media under the compressed standard requires less space than said data set when stored under the uncompressed standard, said system comprising: a discrete cosine transform engine including means for apportioning said data set when uncompressed into a plurality of uncompressed blocks; an inference engine adapted to divide said blocks into predicted blocks and unpredicted blocks by manipulating each of said blocks according to predetermined criteria and comparing each of said manipulated blocks to a predetermined set of compressed block standards; means for assigning a selected one of a plurality of compressed blocks to each of said predicted blocks based upon said comparisons made by said inference engine; and said discrete cosine transform engine further including means for transforming said unpredicted blocks into compressed blocks; such that said data set may be stored under said compressed standard in which assigning said selected compressed block to said predicted block generally appears as though said predicted block was compressed by said transforming means. 2. The system of claim 1 , wherein the time required for said inference engine and assigning means to operate on each of said blocks is less than said transforming means to convert each of said blocks. 3. The system of claim 1 , wherein said compressed standard is JPEG. 4. The system of claim 1, including a Hoffman transform engine adapted to further compress said unpredicted blocks. 5. The system of claim 1 wherein each block of data includes a plurality of data cells, each cell defined by a row and a column, said inference engine includes: means for adding and subtracting from each of said columns of each of said blocks selected cell pairs to obtain a first set of results and storing said first set of results within said cells of each of said columns. 6. The system of claim 5 wherein said inference engine includes: means for adding and subtracting from said columns of each of said blocks selected cell pairs containing said first set of results to obtain a second set of results of said columns. 7. The system of claim 6 wherein said inference engine includes: means for categorizing a first group of said second set of results reached by subtraction of cells; means for categorizing a second group of said second set of results reached by subtraction of cells within a column and addition of cells between columns; means for categorizing a third group of said second set of results reached by addition of cells within a column and subtraction of cells between columns; and means for categorizing a fourth group of said second set of results reached by addition of cells. 8. The system of claim 7 wherein said inference engine includes: means for comparing each of said groups to known discrete cosine transform coefficient standards and determining whether each of said groups matches said standards and upon reaching a match for each of said groups categorizing said block corresponding to said groups as one of said predicted blocks. 9. The system of claim 1 wherein said discrete cosine transform engine includes: means for quantizing said compressed blocks by a predetermined constant value corresponding to each of said blocks to achieve quantized coefficients. 10. The system of claim 9 wherein said discrete cosine transform engine includes: means for arranging in a predefined order said quantized coefficients in a one dimensional array. 11. The system of claim 1 for use with an image data set, said system including: means for determining whether said image data is color or grayscale 12. The system of claim 11 including: means for converting color image data into a Y, Cb, Cr three dimensional array having a two dimensional array of Y values, a two dimensional array of Cb values and a two dimensional array of Cr values. 13. The system of claim 12 wherein said means for apportioning said data set is adapted to apportion each of said Y value, Cb value and Cr value two dimensional arrays into said plurality of uncompressed blocks. 14. The system of claim 12 wherein said color converting means for RGB data includes shifting each of said color data value from a 0 to 255 range to a -128 to 127 range. 15. The system of claim 1 for use with an image data set and wherein said data compression standard is JPEG, said system including: means for receiving color and grayscale image data sets; and means for converting said received color image data sets into a form suitable for compression to a JPEG standard. 16. The system of claim 1 for use as a transducer in a computer having a computer bus to convert said data set from said uncompressed standard to said compressed standard in real-time for transmittal of said data set across said computer bus. 17. The system of claim 1 for use as a transducer in a network between at least two computers to convert said data set from said uncompressed standard to said compressed standard in real-time for transmittal of said data set across said network between at least two computers. 18. The system of claim 1 for use as a transducer in a digital television transmission system to convert said data set from said uncompressed standard to said compressed standard in real-time for transmittal of said data set across said digital television transmission system. 19. The system of claim 1 for use as a transducer in a computer having a computer bus connected to a scanner to convert said data set from said uncompressed standard to said compressed standard in real-time for transmittal of said data set from said scanner to said computer. 20. The system of claim 1 for use as a transducer in a digital camera to convert said data set from said uncompressed standard to said compressed standard in real-time for storage of said data set within said digital camera. 21. The system of claim 1 for use as a transducer in a digital graphics card to convert said data set from said uncompressed standard to said compressed standard in real-time for transmittal of said data set across said digital graphics card. 22. The system of claim 1 wherein said system is adapted to transform said data set from said compressed standard to said uncompressed standard. 23. A method of data compression for transforming a data set from an uncompressed standard to a compressed standard in which said data set when stored on a storage media under the compressed standard requires less space than said data set when stored under the uncompressed standard, said method comprising the steps of: apportioning said data set when uncompressed into a plurality of uncompressed blocks; dividing said blocks into predicted blocks and unpredicted blocks by manipulating each of said blocks according to predetermined criteria; comparing each of said manipulated blocks to a predetermined set of compressed block standards; assigning a selected one of a plurality of compressed blocks to each of said predicted blocks based upon said comparisons; and transforming by a discrete cosine transform said unpredicted blocks into compressed blocks. 24. The method of claim 23, wherein the time required for said dividing, comparing and assigning steps is less than said transforming step. 25. The method of claim 23, wherein said compressed standard is JPEG. 26. The method of claim 23, furthering including the step of compressing said unpredicted blocks by a Hoffman transform. 27. The method of claim 23 wherein each block of data includes a plurality of data cells, each cell defined by a row and a column, said dividing step includes: adding and subtracting from each of said columns of each of said blocks selected cell pairs to obtain a first set of results and storing said first set of results within said cells of each of said columns. 28. The method of claim 27 wherein said dividing step includes: adding and subtracting from said columns of each of said blocks selected cell pairs containing said first set of results to obtain a second set of results of said columns. 29. The method of claim 28 wherein said dividing step includes: categorizing a first group of said second set of results reached by subtraction of cells; categorizing a second group of said second set of results reached by subtraction of cells within a column and addition of cells between columns; categorizing a third group of said second set of results reached by addition of cells within a column and subtraction of cells between columns; and categorizing a fourth group of said second set of results reached by addition of cells. 30. The method of claim 29 wherein comparing step: compares each of said groups to known discrete cosine transform coefficient standards and determines whether each of said groups matches said standards and upon reaching a match for each of said groups categorizes said block corresponding to said groups as one of said predicted blocks. 31. The method of claim 23 including the step of: quantizing said compressed blocks by a predetermined constant value corresponding to each of said blocks to achieve quantized coefficients. 32. The method of claim 31 including the step of: arranging in a predefined order said quantized coefficients in a one dimensional array. 33. The method of claim 23 for use with an image data set, said method including the preliminary step of: discriminating between color image data and grayscale image data. 34. The method of claim 33 including the step of: converting color image data into a Y, Cb, Cr three dimensional array having a two dimensional array of Y values, a two dimensional array of Cb values and a two dimensional array of Cr values. 35. The method of claim 34 wherein said apportioning step apportions each of said Y value, Cb value and Cr value two dimensional arrays into said plurality of uncompressed blocks. 36. The method of claim 34 wherein said color converting step for RGB data includes shifting each of said color data value from a 0 to 255 range to a -128 to 127 range. 37. The method of claim 23 for use with an image data set and wherein said data compression standard is JPEG, said method including the steps of: receiving color and grayscale image data sets; and converting said received color image data sets into a form suitable for compression to a JPEG standard. 38. A data compression apparatus for transforming a data set from an uncompressed standard to a compressed standard in which said data set when stored on a storage media under the compressed standard requires less space than said data set when stored under the uncompressed standard, said apparatus comprising: a discrete cosine transform engine including means for apportioning said data set when uncompressed into a plurality of uncompressed blocks; an inference engine adapted to divide said blocks into predicted blocks and unpredicted blocks by manipulating each of said blocks according to predetermined criteria and comparing each of said manipulated blocks to a predetermined set of compressed block standards; means for assigning a selected one of a plurality of compressed blocks to each of said predicted blocks based upon said comparisons made by said inference engine; and said discrete cosine transform engine further including means for transforming said unpredicted blocks into compressed blocks; such that said data set may be stored under said compressed standard in which assigning said selected compressed block to said predicted block generally appears as though said predicted block was compressed by said transforming means. 39. The apparatus of claim 38, wherein the time required for said inference engine and assigning means to operate on each of said blocks is less than said transforming means to convert each of said blocks. 40. The apparatus of claim 38, wherein said compressed standard is JPEG. 41. The apparatus of claim 38, including a Hoffman transform engine adapted to further compress said unpredicted blocks. 42. The apparatus of claim 38 wherein each block of data includes a plurality of data cells, each cell defined by a row and a column, said inference engine includes: means for adding and subtracting from each of said columns of each of said blocks selected cell pairs to obtain a first set of results and storing said first set of results within said cells of each of said columns. 43. The apparatus of claim 42 wherein said inference engine includes: means for adding and subtracting from said columns of each of said blocks selected cell pairs containing said first set of results to obtain a second set of results of said columns. 44. The apparatus of claim 43 wherein said inference engine includes: means for categorizing a first group of said second set of results reached by subtraction of cells; means for categorizing a second group of said second set of results reached by subtraction of cells within a column and addition of cells between columns; means for categorizing a third group of said second set of results reached by addition of cells within a column and subtraction of cells between columns; and means for categorizing a fourth group of said second set of results reached by addition of cells. 45. The apparatus of claim 44 wherein said inference engine includes: means for comparing each of said groups to known discrete cosine transform coefficient standards and determining whether each of said groups matches said standards and upon reaching a match for each of said groups categorizing said block corresponding to said groups as one of said predicted blocks. 46. The apparatus of claims 38 wherein said discrete cosine transform engine includes: means for quantizing said compressed blocks by a predetermined constant value corresponding to each of said blocks to achieve quantized coefficients. 47. The apparatus of claim 46 wherein said discrete cosine transform engine includes: means for arranging in a predefined order said quantized coefficients in a one dimensional array. 48. The apparatus of claim 38 for use with an image data set, said apparatus including: means for determining whether said image data is color or grayscale 49. The apparatus of claim 48 including: means for converting color image data into a Y, Cb, Cr three dimensional array having a two dimensional array of Y values, a two dimensional array of Cb values and a two dimensional array of Cr values. 50. The apparatus of claim 49 wherein said means for apportioning said data set is adapted to apportion each of said Y value, Cb value and Cr value two dimensional arrays into said plurality of uncompressed blocks. 51. The apparatus of claim 49 wherein said color converting means for RGB data includes shifting each of said color data value from a 0 to 255 range to a -128 to 127 range. 52. The apparatus of claim 38 for use with an image data set and wherein said data compression standard is JPEG, said apparatus including: means for receiving color and grayscale image data sets; and means for converting said received color image data sets into a form suitable for compression to a JPEG standard. 53. The apparatus of claim 38 for use as a transducer in a computer having a computer bus to convert said data set from said uncompressed standard to said compressed standard in real-time for transmittal of said data set across said computer bus. 54. The apparatus of claim 38 for use as a transducer in a network between at least two computers to convert said data set from said uncompressed standard to said compressed standard in real-time for transmittal of said data set across said network between at least two computers. 55. The apparatus of claim 38 for use as a transducer in a digital television transmission system to convert said data set from said uncompressed standard to said compressed standard in real-time for transmittal of said data set across said digital television transmission system. 56. The apparatus of claim 38 for use as a transducer in a computer having a computer bus connected to a scanner to convert said data set from said uncompressed standard to said compressed standard in real-time for transmittal of said data set from said scanner to said computer. 57. The apparatus of claim 38 for use as a transducer in a digital camera to convert said data set from said uncompressed standard to said compressed standard in real-time for storage of said data set within said digital camera. 58. The apparatus of claim 38 for use as a transducer in a digital graphics card to convert said data set from said uncompressed standard to said compressed standard in real-time for transmittal of said data set across said digital graphics card. 59. The apparatus of claim 38 wherein said apparatus is adapted to transform said data set from said compressed standard to said uncompressed standard. 60. A data compression system for transforming a digital image from an Y, Cb, Cr image data to a JPEG image data in which said digital image when stored on a storage media under the JPEG image data requires less space than said digital image when stored under the Y, Cb, Cr image data, said system comprising: a discrete cosine transform engine including means for apportioning said digital image when uncompressed into a plurality of uncompressed 8 x 8 arrays; an inference engine adapted to divide said 8 x 8 arrays into predicted 8 x 8 arrays and unpredicted 8 x 8 arrays by manipulating each of said 8 x 8 arrays according to predetermined criteria and comparing each of said manipulated 8 x 8 arrays to a predetermined set of compressed 8 x 8 array standards; means for assigning a selected one of a plurality of compressed 8 x 8 arrays to each of said predicted 8 x 8 arrays based upon said comparisons made by said inference engine; and said discrete cosine transform engine further including means for transforming said unpredicted 8 x 8 arrays into compressed 8 x 8 arrays; such that said digital image may be stored under said JPEG image data in which assigning said selected compressed 8 x 8 array to said predicted 8 x 8 array generally appears as though said predicted 8 x 8 array was compressed by said transforming means. 61. A data compression system for transforming a data set between an compressed standard in which said data set when stored on a storage media under the compressed standard require less space than the data set when stored under the uncompressed standard: a discrete cosine transform engine including means for selectively apportioning said data set when uncompressed into a plurality of uncompressed blocks; an inference engine adapted to divide said blocks into predicted blocks and unpredicted blocks by manipulating each of said blocks according to predetermined criteria and comparing each of said manipulated blocks to a predetermined set of compressed block standards; means for assigning a selected one of a plurality of compressed blocks to each of said predicted blocks based upon said comparisons made by said inference engine; said discrete cosine transform engine further including means for transforming said unpredicted blocks into compressed blocks; such that said data set may be stored under said compressed standard in which assigning said selected compressed block to said predicted block generally appears as though said predicted block was compressed by said transforming means; means for operating said discrete cosine engine, inference engine and means of assigning to transform said data set from said compressed standard to said uncompressed standard. 62. A data compression system for transforming a data set from an uncompressed standard to a compressed standard in which said data set when stored on a storage media under the compressed standard requires less space than said data set when stored under the uncompressed standard, said system comprising: a discrete cosine transform engine including means for apportioning said data set when uncompressed into a plurality of uncompressed blocks; an inference engine adapted to divide said blocks into predicted blocks and unpredicted blocks by manipulating each of said blocks according to predetermined criteria and comparing each of said manipulated blocks to a predetermined set of compressed block standards; means for assigning a selected one of a plurality of compressed blocks to each of said predicted blocks based upon said comparisons made by said inference engine; and said discrete cosine transform engine further including means for transforming said unpredicted blocks into compressed blocks; said inference engine including means for dividing said blocks into sub-blocks and means for predicting certain combinations that appear regularly in side a sub-block. such that said data set may be stored under said compressed standard in which assigning said selected compressed block to said predicted block generally appears as though said predicted block was compressed by said transforming means. 63. The system of claim 62 wherein said predicting means includes: means for discretely evaluating a plurality of portions of each of said sub-blocks in a sequential order; means for selecting evaluation criteria for subsequently evaluated portions based upon a portion currently evaluated. 64. A database compiler for reading a plurality of images comprising: a discrete cosine transform engine including means for apportioning said data when uncompressed into a plurality of uncompressed blocks and means for converting at least one of said blocks to a DCT coefficient block; means for apportioning said DCT coefficient block into a plurality of predetermined groups; means for comparing data values from a predetermined group to a predetermined characteristic; means for storing each successful comparison; and means for optimizing the database size. 65. The compiler of claim 64 wherein said optimizing means includes means for categorizing said data values by a DCT value. 66. The compiler of claim 65 wherein said optimizing means includes means for reducing the number of data values within the database. 67. A method for optimizing a database for use in a low memory environment, said method comprising the steps of: providing at least one group of data values, where each data value contains data from a selected range; creating a look-up table for each data value of said group within said range said look-up table contains codes determined by a threshold. reducing said data values within said group to produce a reduced set of data values; repeating said creating a look-up table step for each data value of said reduced set; repeating said reducing step and creating a look-up table step until only one data value remains.

Inventors: SADEH RONI, SADEH, RONI
Applicants: MEICOM LTD, SADEH RONI, MEICOM LTD., SADEH, RONI
Application year: 1999
Main classification: G06K
IPC codes: G06T9, H03M7, H04N1, H04N7