US6005982A - Image compression and expansion device - Google Patents

Image compression and expansion device Download PDF

Info

Publication number
US6005982A
US6005982A US08/919,340 US91934097A US6005982A US 6005982 A US6005982 A US 6005982A US 91934097 A US91934097 A US 91934097A US 6005982 A US6005982 A US 6005982A
Authority
US
United States
Prior art keywords
quantization
coefficients
quantization table
image
processor
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.)
Expired - Lifetime
Application number
US08/919,340
Inventor
Nobuaki Abe
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.)
Hoya Corp
Original Assignee
Asahi Kogaku Kogyo Co Ltd
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 Asahi Kogaku Kogyo Co Ltd filed Critical Asahi Kogaku Kogyo Co Ltd
Assigned to ASAHI KOGAKU KOGYO KABUSHIKI KAISHA reassignment ASAHI KOGAKU KOGYO KABUSHIKI KAISHA ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ABE, NOBUAKI
Application granted granted Critical
Publication of US6005982A publication Critical patent/US6005982A/en
Assigned to HOYA CORPORATION reassignment HOYA CORPORATION MERGER (SEE DOCUMENT FOR DETAILS). Assignors: ASAHI KOGAKU KOGYO KABUSHIKI KAISHA
Assigned to Pentax Ricoh Imaging Company, Ltd. reassignment Pentax Ricoh Imaging Company, Ltd. CORPORATE SPLIT Assignors: HOYA CORPORATION
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N11/00Colour television systems
    • H04N11/04Colour television systems using pulse code modulation
    • H04N11/042Codec means
    • H04N11/044Codec means involving transform coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • H04N19/126Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding

Definitions

  • the present invention is related to a device which compresses still image data in accordance with a JPEG (Joint Photographic Expert Group) algorithm and records the compressed image data in a recording medium and, also, to a device which reads the compressed image data from the recording medium and expands the compressed image data to reproduce the still image.
  • JPEG Joint Photographic Expert Group
  • Image data contains a large amount of information. Accordingly, if the image data is directly processed, a large capacity memory and protracted data transfer time is required. Thus, conventionally, the image data is, first, decoded, so that the image data can be compressed, and is then processed.
  • the baseline process of the JPEG algorithm breaks down the original image data into components on a spatial frequency axis using a two-dimensional discrete cosine transformation (two-dimensional DCT) process. Thereafter, the data expressed on the spatial frequency axis is quantized by using a quantization table. The quantized data is then encoded using a Huffman table.
  • two-dimensional DCT two-dimensional discrete cosine transformation
  • the image quality of the reproduced image may be deteriorated in comparison with the original image. If the value of each of the quantization coefficients included in the quantization table is set to have a smaller value, the values of the quantized DCT coefficients become large. This improves the quality of the reproduced image, but the amount of the compressed data is increased. Conversely, it is possible that, by estimating the quality of the reproduced image, the values of the quantization coefficients can be altered so as to obtain a sufficiently high quality image. The data compression is then performed again, but such an operation needs a lengthy time to process the image data, and thus, the operation efficiency is low.
  • Japanese Unexamined Patent Publication No. 7-135568 discloses an image compression device, in which second quantization coefficients are obtained in such a manner that a quantization error, i.e., a difference between a DCT coefficient and a corresponding dequantized DCT coefficient, becomes a minimum.
  • a quantization error i.e., a difference between a DCT coefficient and a corresponding dequantized DCT coefficient
  • an optimum quantization table composed entirely of second quantization coefficients is generated, which is then recorded in a recording medium together with the compressed image data.
  • the optimum quantization table by using minimum value quantization errors which relate to one image as a whole, is not necessarily the optimum regarding each block of pixels which, together, form the one image, even though the quantization error has a minimum value with respect to the one image as a whole. Therefore, in the expansion process using the optimum quantization table, the improvement of the quality of the reproduced image is limited to some extent. Therefore, it is desired that the image quality is further improved.
  • an object of the present invention is to provide an image compression device in which the optimum quantization table is efficiently utilized, so that an image of a higher quality than that obtained from a conventional device can be reproduced.
  • an image compression device comprising a quantization processor, a quantization table generating processor, a compression processor and a quantization table storing processor.
  • the quantization processor quantizes image-processed data regarding one image, using a first quantization table composed of a plurality of first quantization coefficients, to obtain quantized image-processed coefficients.
  • the quantization table generating processor generates a second quantization table composed of a plurality of second quantization coefficients in such a manner that dequantized image-processed coefficients, which are obtained by dequantizing the quantized imaqe-proosed coefficients by using the second quantization table, have values close to the image-processed data for the one image as a whole
  • the compression processor compresses the quantized image-processed coefficients to obtain compressed image data, and stores the compressed image data in a recording medium.
  • the quantization table storing processor stores the first and second quantization tables in the recording medium.
  • an image compression device in which input corresponding to one image, is divided into a plurality of blocks, which are then compressed.
  • the device comprises a transformation processor, a quantization processor, a quantization table operating processor, a compression processor and a quantization table storing processor.
  • the transformation processor performs a two-dimensional discrete cosine transformation (two-dimensional DCT) on the input data to obtain DCT coefficients.
  • the quantization processor quantizes the DCT coefficients, using a first quantization table composed of a plurality of first quantization coefficients, to obtain quantized DCT coefficients.
  • the quantization table generating processor generates a second quantization table composed of a plurality of second quantization coefficients, in such a manner that dequantized DCT coefficients, which are obtained by dequantizing the quantized DCT coefficients using the second quantization table, have values close to the DCT coefficients for the one image as a whole.
  • the compression processor compresses the quantized DCT coefficients to obtain compressed image data, and stores the compressed image data in a recording medium.
  • the quantization table storing processor also stores the first and second quantization tables in the recording medium.
  • Another object of the present invention is to provide an image expansion device by which compressed image data, obtained by the image compression device, can be expanded.
  • an image expansion device by which compressed image data recorded in a recording medium, in which a first quantization table composed of a plurality of first quantization coefficients and a second quantization table composed of a plurality of second quantization coefficients are stored, is expanded.
  • the device comprises an expansion processor and a dequantization processor.
  • the expansion processor expands the compressed image data, read from the recording medium, to reproduce quantized image-processed coefficients.
  • the dequantization processor selects one of the first or second quantization tables, in accordance with values of the quantized image-processed coefficients, and dequantizes the quantized image-processed coefficients, using the selected quantization table, to obtain dequantized image-processed coefficients.
  • an image expansion device by which compressed image data recorded in a recording medium, in which also a first quantization table composed of a plurality of first quantization coefficients and a second quantization table composed of a plurality of second quantization coefficients are stored, is expanded.
  • the device comprises an expansion processor and a dequantization processor.
  • the expansion processor expands the compressed image data, read from the recording medium, to reproduce quantized DCT coefficients.
  • the dequantization processor selects one of the first and second quantization tables in accordance with values of the quantized DCT coefficients, and dequantizes the quantized DCT coefficients, using the selected quantization table, to obtain dequantized DCT coefficients.
  • FIG. 1 is a block diagram showing an image compression device of a first embodiment of the present invention
  • FIG. 2 is a view showing an example of an image compression process using a default quantization table
  • FIG. 3 is a block diagram showing an image expansion device of the first embodiment of the present invention.
  • FIG. 4 is a view showing an example of an image expansion process using the default quantization table
  • FIG. 5 is a view showing an example of an image compression process using an optimum quantization table
  • FIG. 6 is a view showing a construction of a first table recording area, a second table recording area and a parameter recording area provided in a recording medium;
  • FIG. 7 is a flow chart showing an image expansion process
  • FIG. 8 is a view showing a relationship between the quantized DCT coefficients r uv and the DCT coefficients S uv when the quantization coefficients Q uv included in the quantization table are 12 and 11, respectively;
  • FIG. 10 is a flow chart of a program, which is executed in the expansion process of the second embodiment, to dequantize the quantized DCT coefficient r iuv;
  • FIG. 11 is a view showing an example of the dequantization carried out by the program shown in FIG. 10.
  • FIGS. 12A and 12B show a flow chart of a program which is executed in a compression process of an image compression device of a third embodiment, so that an optimum quantization table is generated.
  • FIG. 1 is a block diagram of an image compression device of a first embodiment of the present invention, by which luminance data and color difference data, which correspond to an original still image, are compressed according to the JPEG algorithm.
  • CCD charge coupled device
  • Multiple photoelectric conversion elements are provided on the light receiving surface of the CCD 12.
  • a color filter element (not shown) of red, green or blue is placed on each photoelectric conversion element, which corresponds to one pixel.
  • the CCD 12 produces charges, which are representative of the quantity of light incident thereon, and outputs an analog pixel signal to an A/D converter 13.
  • the A/D converter 13 converts the analog pixel signal to a digital pixel signal which is inputted to a signal processing unit (not shown).
  • the signal processing unit converts the pixel signals into luminance data Y and color difference data Cb and Cr, which are stored in an image memory 14.
  • the image memory 14 is divided into a plurality of memory areas, which are independent from each other, each of which has a capacity of one frame's worth of image data.
  • the luminance data Y and the color difference data Cb and Cr, stored in the image memory 14 are inputted to a DCT processing unit 21 included in an image compression device 20, so that a data compression process is performed on the signals Y, Cb and Cr. Note that, although a single DCT processing unit 21 is shown in FIG. 1, actually, a DCT processing unit is independently provided for the luminance data Y and the color difference data Cb and Cr.
  • each pixel block R1 is composed of 8 ⁇ 8 pixel data P xy , which indicate the luminance data Y, for example.
  • every block R1 of pixel data of the original image is subjected to a two-dimensional DCT, and thus, DCT coefficients S uv (i.e., image-processed data) in an 8 ⁇ 8 matrix are obtained for one block.
  • DCT coefficients matrix R2 a DCT coefficient (e.g.-121, show as FIG. 2), at the uppermost left corner, is a DC (Direct Current) component, while the remaining 63 DCT coefficients are AC (Alternating Current) components.
  • a horizontal spatial frequency component, "u” increases as it's position tends towards the right
  • a vertical spatial frequency component, "v” increases as it's position descends.
  • the DCT coefficients matrix R2 outputted from the DCT processing unit 21 is quantized by a default quantization table (either Qy or Qc) R3 in a quantization processing unit 22.
  • a quantization table R3, arranged as an 8 ⁇ 8 matrix, is provided for both the luminance data Y and the color difference data Cb and Cr.
  • Each component of the DCT coefficients matrix R2 is quantized by being divided by the corresponding quantization coefficient. Namely, the number of the components in the DCT coefficients matrix R2 is equal to the number of the quantization coefficients.
  • Each of the quantized DCT coefficients r uv is rounded to the nearest integer, and therefore, a part of the image information is lost from each of the quantized DCT coefficients r uv .
  • the quantized DCT coefficients matrix R4 outputted by the quantization processing unit 22 is inputted into a compression processing unit 23, and is Huffman-encoded according to a predetermined algorithm.
  • the compressed image data, obtained by the Huffman-encoding is stored in a compressed image data recording area Ml of a recording medium M.
  • the default quantization tables Qy and Qc are stored in a first table recording area M2 of the recording medium M. Note that the Huffman-encoding is well known, and therefore a detailed explanation thereof is omitted in this specification.
  • the quantized DCT coefficients matrix R4 is inputted into both the compression processing unit 23 and an optimum quantization coefficient calculation unit 26.
  • the DCT coefficients matrix R2 is also inputted to the optimum quantization coefficent calculation unit 26.
  • an optimum quantization table, by which a quantization error becomes a minimum, is obtained as described below.
  • the components of the quantization table R3 are Q uv
  • the components of tine DCT coefficients matrix R2 are S iuv
  • the components of the quantized DCT coefficients matrix R4 are r iuv
  • the components of the dequantized DCT coefficients, obtained by multiplying the quantized DCT coefficients bad the quantization table are S' iuv .
  • the square of a quantization error E uv summed for one frame of image data is: ##EQU1## wherein ⁇ impliets the sum total of blocks forming the one frame of image data.
  • Equation (1) is differentiated by the corresponding values of Q uv to obtain:
  • Each component of the optimum quantization table matrix is calculated according to equation (3).
  • an optimum quantization table Qsy for thes luminance data Y and an optimum quantization table Qsc for the color difference data Cr and Cb are generated, based on the results of equation (3).
  • These optimum quantization tables Qsy and Qsc are converted to data, according to a predetermined format in a quantization table recording unit 28, and are recorded in a second table recording area M3 of a recording medium M.
  • Mode information MI indicating that the default quantization tables Qy and Qc and the optimum quantization tables Qsy and Qsc are istored in the recording medium M, is transformed to data according to a predetermined format in an information recording unit 29, and is stored in an information recording area M4 of the recording medium M.
  • FIG. 3 is a block diagram of an image expansion device of the first embodiment of the present invention.
  • the compressed image data, corresponding to the luminance data Y and the color difference data Cb and Cr, read from the compressed image data recording area M1 of the recording medium M is decoded, in an expansion processing unit 31, and is converted to the quantized DCT coefficients.
  • the decoding is the inverse of the Huffman encoding, which is well known.
  • the quantized DCT coefficients, obtained by the decoding are dequantized, in a dequantization processing unit 32 for the luminance data or a dequantization processing unit 33 for the color difference data, using the default quantization tables Qy and Qc (or the optimum quantization tables Qsy and Qsc), respectively, so that the dequantized DCT coefficients are obtained.
  • These dequantized DCT coefficients are then subjected to a two-dimensional inverse discrete cosine transformation (two-dimensional IDCT), in an IDCT processing unit 34, so that the luminance data Y and the color difference data Cb and Cr are reproduced.
  • two-dimensional IDCT two-dimensional inverse discret
  • the default quantization tables Qy and Qc and the optimum quantization tables Qsy and Qsc are stored, respectively, in the first table recording area M2 and in the second table recording area M3, of the recording medium M.
  • the default quantization tables Qy and Qc or the optimum quantization tables Qsy and Qsc are used in the dequantization processing units 32 and 33 in accordance with the operation of switches 35 and 36.
  • the quantization tables Qy and Qsy, for the luminance signal, are inputted into the dequantization processing unit 32 through the use of switch 35.
  • the quantization tables Qc and Qsc, for the color difference data are inputted into the dequantization processing unit 33 through use of the switch 36.
  • the switches 35 and 36 are operated in accordance with a switch command signal outputted by a mode switching device 37.
  • a display device 38 and a selection button 39 are connected to the mode switching device 37.
  • an indication implying that the default quantization tables Qy and Qc and the optimum quantization tables Qsy and Qsc can be selected, is registered on the display device 38.
  • the button 39 By operating the button 39 in accordance with the indication, the switches 35 and .36 are operated.
  • FIG. 4 shows an example of quantized DCT coefficients matrix R5 obtained by the expansion processing unit 31, dequantized DCT coefficients matrix R6 obtained by the dequantization processing unit 32 and IDCT coefficients matrix R7 obtained by the IDCT processing unit 34.
  • This example shows the quantized DCT coefficients matrix R5 being dequantized using the default quantization table R3.
  • the quantized DCT coefficients r uv are dequantized by being multiplied by the corresponding quantization coefficients Quv, included in the default quantization table R3, so that the quantized DCT coefficients r uv are converted to dequantized DCI coefficients S' uv .
  • the dequantized DCT coefficients matrix R6 corresponds to the DCT coefficients matrix R2 shown in FIG. 2.
  • the dequantized DCT coefficients S' uv are subjected to the two dimensional IDCT process, in the IDCT processing unit 34, and are converted to IDCT coefficients P' xy .
  • the IDCT coefficients matrix R7 corresponds to the pixel block R1 shown in FIG. 2.
  • FIG. 5 shows an example in which the quantized DCT coefficients matrix R5, obtained by the expansion processing unit 31, is dequantized using an optimum quantization table R13.
  • a dequantized DCT coefficients matrix R16 which is obtained using the optimum quantization table R13, has closer values to the DCT coefficients matrix R2, which has not been quantized, in comparison with the dequantized DCT coefficients matrix R6, which is obtained using the default quantization table R3.
  • a dequantized DCT coefficients matrix R17 which is obtained using the optimum quantization table R13, has closer values to the pixel data Pxy of the pixel block R1 of the original image, in comparison with the dequantized DCT coefficients matrix R7, which is obtained using the default quantization table R3.
  • FIG. 6 shows a construction of the first table recording area M2, the second table recording area M3 and a parameter recording area M5, provided in the recording medium M.
  • the parameter recording area M5 is composed of a first group G1, a second group G2 and a third group G3.
  • Component recognition information C 1 means that a parameter regarding the luminance data Y is stored in the first group G1.
  • H 1 represents a horizontal sampling factor and V 1 represents a vertical sampling factor.
  • These sampling factors H 1 and V 1 are determined according to a recommendation by the JPEG.
  • Tq 1 indicates quantization table selection information, the selection information being a value of a quantization table number which corresponds to the first table recording area M2 or the second table recording area M3, in which the quantization table regarding the luminance data Y is stored.
  • component recognition information C 2 means that a parameter regarding the color difference data Cb is stored in the second group G2.
  • H 2 represents a horizontal sampling factor and V 2 represents a vertical sampling factor. These sampling factors H 2 and V 2 are determined according to a recommendation by the JPEG.
  • Tq 2 is quantization table selection information regarding the color difference data Cb.
  • Component recognition information C 3 means that a parameter regarding the color difference data Cr is stored in the third group G3.
  • H 3 represents a horizontal sampling factor and V 3 indicates a vertical sampling factor. These sampling factors H 3 and V 3 are determined according to a recommendation by the JPEG.
  • Tq 3 is quantization table selection information regarding the color difference data Cr.
  • the first recording area M2 is provided for recording the default quantization tables Qy and Qc and the second recording area M3 is provided for recording the optimum quantization tables Qsy and Qsc.
  • a first quantization table number of "0" (reference is A0 in FIG. 6) is stored in an address of Tq 1 as first quantization table selection information, and 64 quantization coefficients Q 0 , Q 1 , . . . Q 63 forming the quantization table Qy, used for quantizing the luminance data Y, are stored in the addresses following the first quantization table number.
  • Second quantization table numbers of "1" (reference A1 in FIG. 6) are stored in addresses of Tq 2 and Tq 3 as second quantization table selection information, where Tq2 and Tq 3 have identical addresses, and 64 quantization coefficients Q 0 , Q 1 , . . . Q 63 forming the quantization table Qc, used for quantizing the color difference data Cb and Cr, are stored in the addresses following the second quantization table numbers.
  • a third quantization table number of "2" (reference A2 in FIG. 6) is stored in an address of Tq 1 as third quantization table selection information, and 64 quantization coefficients Q 0 , Q 1 , . . . Q 63 forming thus quantization table Qsy, used for quantizing the luminance data Y, are stored in the addresses following the third quantization tabLe number.
  • Fourth quantization table numbers of "3" (reference A3 in FIG. 6) are stored in addresses of Tq 2 and Tq 3 as fourth quantization table selection information, where the addresses of Tq 2 and Tq 3 are identical, and 64 quantization coefficients Q 0 , Q 1 , . . . Q 63 forming the quantization table Qsc used for quantizing the color difference data Cb and Cr, are stored in the addresses following the fourth quantization table numbers.
  • each selection information (Tq 1 , Tq 2 and Tq 3 ) to an integer value of one of 0 through 3, corresponding to the required quantization table and, thereby, to the operations of the switches 35 and 36 shown in FIG. 3, the predetermined quantization tables Qy, Qc, Qsy and Qsc are selected.
  • FIG. 7 is a flow chart showing an image expansion process.
  • Step 101 data stored in the information recording area M4 of the recording medium M is read out.
  • Step 102 it is determined, based on the data, whether mode information MI is stored in the information recording area M4.
  • Step 103 is executed so that a message, implying that the default quantization table can be used or the optimum quantization table can be used, is indicated by the display device 38.
  • Step 104 button 39 is operated, so that a mode of the image expansion process is selected.
  • a mode of the image expansion process is selected by button 39
  • the process goes from Step 105 to Step 107, so that the expansion process is performed using the optimum quantization tables Qsy and Qsc, and then, this image expansion process program ends.
  • Step 106 is executed so that the expansion process is performed using the default quantization tables Qy and Qc.
  • the original image having a usual reproducible quality can be obtained. Therefore, a usual expansion process can be performed, on image data stored in the recording medium M, using a conventional expansion device. Further, when the expansion process is carried out by an image expansion device having the selection button 39 and the switches 35 and 36, the optimum quantization tables Qsy and Qsc can be used, and therefore, an image which is as close as possible to the original image can be reproduced.
  • FIG. 8 shows a relationship between the quantized DCT coefficients r uv and the DCT coefficients S uv when the quantization coefficients Q uv included in the quantization table are 12 and 11, respectively.
  • the quantized DCT coefficient r uv is 3 if the DCT coefficient S uv is 30 through 41.
  • the quantized DCT coefficient r uv is 3 if the DCT coefficient S uv is 28 through 38.
  • the phenomenon also easily occurs when the quantized DCT coefficients r uv have relatively high values.
  • the boundary for the quantized DCT coefficients r uv which indicates whether or not the quantized DCT coefficients are out of the range of the original DCT coefficients S uv , is (Q uv /2+1) when the quantization coefficients Q uv are even numbers, and is ((Q uv -1)/2+1) when the quantization coefficients Q uv are odd numbers.
  • first quantization coefficients contained in the default quantization tables Qy and Qc or second quantization coefficients contained in the optimum quantization table Qsy and Qsc are selected, so that the quantization error can be controlled to achieve a minimum value.
  • FIG. 10 shows a flow chart of a program, which is executed in the expansion process in the image expansion device of the second embodiment, to dequantize the quantized DCT coefficients r iuv .
  • Step 201 a parameter "i”, indicating a serial number of the blocks forming one frame of image data, is set to 0.
  • Step 202 a parameter "v”, indicating a vertical position of a spatial frequency within the 8 ⁇ 8 matrix, is set to 0, and in Step 203, a parauneter "u”, indicating a horizontal position of a spatial frequency within the 8 ⁇ 8 matrix, is set to 0.
  • step 204 it is determined whether the quantization coefficient Q uv for dequantizing the quantized DCT coefficient r iuv , is an even number.
  • Step 205 is executed, so that it is determined whether the absolute value of the quantization DCT coefficient r iuv is greater than or equal to the first boundary vialue (Q uv /2+1).
  • Step 207 is executed, so that the dequantized DCT coefficient S' iuv is obtained according to the following equation:
  • the dequantization is carried out using the quantization coefficient Q uv of the default quantization table.
  • Step 208 is executed, so that the dequantized DCT coefficient S' iuv is obtained, using the quantization coefficient Q' uv of the optimum quantization table, according to the following equation:
  • Step 204 when it is determined in Step 204 that the quantization coefficient Q uv is an odd number, Step 206 is executed, so that it is determined whether the absolute value of the quantized DCT coefficient r iuv is greater than or equal to the second boundary value ((Q uv -1)/2+1).
  • Step 207 is executed in which the dequantization is performed using the quantization coefficient Q uv of the default quantization table.
  • Step 208 is executed in which the dequantization is performed using the quantization coefficient Q' uv of the optimum quantization table.
  • step 211 the parameter "u" is incremented by 1.
  • Step 212 it is determined whether the parameter "u" is greater than or equal to 8. When the parameter "u” has not reached 8, the process goes back to Step 204, so that Steps 204 through 211 are executed regarding the next parameter "u".
  • Step 212 When it is determined in Step 212 that the parameter "u" is greater than or equal to 8, Step 213 is executed in which the parameter "v” is incremented by 1. Then, it is determined in Step 214 whether or not the parameter "v” is greater than or equal to 8. When the parameter "v” has not reached 8, the process goes back to Step 203, so that Steps 203 through 213 are executed regarding the next parameter "v".
  • Step 214 When it is determined in Step 214 that the parameter "v" is greater than or equal to 8, Step 215 is executed in which the parameter "i" is incremented by 1.
  • step 216 it is determined whether the parameter "i" is greater than or equal to the total number of blocks. When it is determined that the parameter "i" has not reach.ed the total number of blocks, the process goes back to Step 202, so that Steps 202 through 215 are executed regarding the next block.
  • Step 216 When it is determined in Step 216 that the parameter "i" is greater than or equal to the total number of blocks, this program ends, since the dequantization has been completed for all of the blocks.
  • FIG. 11 shows an example of the dequantization carried out by the program shown in FIG. 10.
  • a selected quantization table R23 is composed of the quantization coefficients Q uv and Q' uv , which are selected based on the result of the determinations in Steps 205 and 206 of the program shown in FIG. 10. Namely, in the program shown in FIG. 10, the selected quantization table R23 is obtained by completing the loop formed by steps 202 through 214 for one block.
  • the quantization coefficients matrix R5 is dequantized by the selected quantization table R23, so that the dequantized DCT coefficients matrix R26 is obtained.
  • the dequantized DCT coefficients matrix R26 is subjected to the IDCT, and thus, is converted to the IDCT coefficients matrix R27.
  • the dequantized DCT coefficients matrix R26 which is obtained using the selected quantization table R23, has values which are closer to those of the DCT coefficients matrix R2, which has not been quantized in comparison with the dequantized DCT coefficients matrix R16, which is obtained using the optimum quantization table R13.
  • the IDCT coefficients matrix R27 which is obtained using the selected quantization table R23, has closer values to those of the pixel data Pxy of the pixel block R1 of th(e original image, in comparison with the IDCT coefficients matrix R17, which is obtained using the optimum quantization table R13.
  • the quantization coefficient Q' uv of the optimum quantization table is selected when the quantized DCT coefficient r iuv is less than the boundary value
  • the quantization coefficient Q uv of the default quantization table is selected when the quantized DCT coefficient r iuv is greater than or equal to the boundary value. Accordingly, a phenomenon, in which the quantization error tends to increase when the quantized DCT coefficient r iuv is relatively large, is prevented. Therefore, when using the expansion process, a reproduced image having an improved quality and, thereby, being as close to the original image as possible is obtained.
  • one quantization coefficient Q' uv of the optimum quantization table or one quantization coefficient Q uv of the default quantization table is selected in accordance with the amount of the corresponding quantized DCT coefficient r iuv , in the expansion process.
  • the quantized DCT coefficient riuv is greater than or equal to the boundary value, the calculation of (3), by which each component of the matrix of the optimum quantization table is obtained, does not need to be considered since the default quantization table is applied.
  • FIGS. 12A and 12B show a flow chart of a program which is executed in a compression process of an image compression device of the third embodiment so that an optimum quantization table is generated.
  • step 301 parameter "i”, indicating a serial number of a block forming a part of one image, and values of E 1uv and E 2uv , which correspond to a numerator and a denominator of equation (3), respectively, are initially all set to 0.
  • parameter "v”, indicating the vertical position of the spatial frequency within the 8 ⁇ 8 matrix, is set to 0, and in Step 303, paramneter "u”, indicating the horizontal position of the spatial frequency within the matrix, is set to 0.
  • Step 304 the quantized DCT coefficient r iuv is obtained according to the following equation:
  • Step 305 it is determined whether the quantization coefficient Q uv is an even number.
  • Step 306 is executed in which it is determined whether the absolute value of the quantized DCT coefficient r iuv is greater than or equal to a first boundary value (Q uv /2+1).
  • Step 308 is executed so that the numerator and the denominator of equation (3)are calculated according to the following equations:
  • Step 306 when it is determined in Step 306 that the absolute value of the quantized DCT coefficient r iuv is greater than or equal to the first boundary value, Step 308 is skipped.
  • Step 307 is executed in which it is determined whether the absolute value of the quantized DCT coefficient r iuv is greater than or equal to the second boundary value ((Q uv -1)/2+1).
  • Step 308 is executed, and when the absolute value of the quantized DCT coefficient r iuv is greater than or equal to the second boundary value, Step 308 is skipped.
  • Step 311 the parameter "u” is incremented by 1.
  • step 312 it is determined whether the parameter "u” is greater than or equal to 8. When the parameter "u” has not reached 8, the process goes back to Step 304, so that Steps 304 through 311 are executed for the next parameter "u".
  • Step 312 When it is determined in Step 312 that the parameter "u" is greater than or equal to 8, Step 313 is executed in which the parameter "v” is incremented by 1. Then, it is determined in Step 314 whether the parameter "v” is greater than or equal to 8. When the parameter "v” has not reached 8, the process goes back to Step 303, so that Steps 303 through 313 are executed regarding the next parameter "v".
  • Step 315 is executed in which the parameter "i" is incremented by 1.
  • Step 316 it is determined whether the parameter "i" is greater than or equal to the total number of blocks. When it is determined that the parameter "i" has not reached the total number of blocks, i.e., when the dequantization has not been completed for all of the blocks, the process goes back to Step 302, so that Steps 302 through 315 are executed regarding the next block.
  • Step 316 When it is determined in Step 316 that the parameter "i" is greater than or equal to the total number of blocks, E 1uv and E 2uv have been obtained for all of the parameters "uv” and "v". Thus, an optimum quantization table is generated in Steps 317 through 323.
  • step 317 the parameter "v” is set to 0, and in Step 318, the parameter "u” is set to 0.
  • Step 319 a quantization coefficient Q' uv is obtained according to the following equation:
  • Step 320 the parameter "u” is incremented by 1.
  • step 321 it is determined whether the parameter "u” is greater than or equal to 8.
  • Step 321 it is determined whether the parameter "uv” is greater than or equal to 8.
  • Step 322 is executed in which the parameter "v” is incremented by 1.
  • Step 323 it is determined whether the parameter "v” is greater than or equal to 8.
  • the process goes back to Step 318 so that the quantization coefficient Q' uv is obtained for the next parameter "v”.
  • Step 323 When it is determined in Step 323 that the parameter "v" is greater than or equal to 8, the quantization coefficients Q' uv have been obtained for all of the parameters "u” and "v”, therefore the optimum quantization table has been obtained, and thus, this program ends.
  • the optimum quantization table is generated by taking into consideration only a case in which the quantized DCT coefficient r iuv is less than the boundary value, i.e., only a case in which the optimum quantization table is used in an expansion process. Therefore, an optimum quantization table, by which an image can be reproduced which is closer to the original image than when using the second embodiment, is obtained.
  • the present invention is applied to a device which compresses image signals in accordance with the JPEG algorithm
  • the present invention can be applied to a device which compresses image signals in accordance with any other algorithm.

Abstract

The image compression device comprises: a DCT processing unit in which original image data is subjected to a two-dimensional discrete cosine transformation to obtain DCT coefficients; and a quantization processing unit in which the DCT coefficients are quantized by a default quantization table to obtain quantized DCT coefficients. In an optimum quantization table generation unit, an optimum quantization table is generated in such a manner that a quantization error between each of the DCT coefficients and each of the corresponding dequantized DCT coefficients, which are obtained by dequantizing each of the quantized DCT coefficients using the optimum quantization table, becomes a minimum value. The quantized DCT coefficients are compressed to obtain compressed image data, which is stored in a recording medium, together with the default quantization table and the optimum quantization table.

Description

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention is related to a device which compresses still image data in accordance with a JPEG (Joint Photographic Expert Group) algorithm and records the compressed image data in a recording medium and, also, to a device which reads the compressed image data from the recording medium and expands the compressed image data to reproduce the still image.
2. Description of the Related Art
Image data contains a large amount of information. Accordingly, if the image data is directly processed, a large capacity memory and protracted data transfer time is required. Thus, conventionally, the image data is, first, decoded, so that the image data can be compressed, and is then processed.
A standard algorithm, for the encoding of high resolution images and the transfer of that information through telecommunication transmission channels, has been recommended by the JPEG. In order to enable a large-scale data compression, the baseline process of the JPEG algorithm breaks down the original image data into components on a spatial frequency axis using a two-dimensional discrete cosine transformation (two-dimensional DCT) process. Thereafter, the data expressed on the spatial frequency axis is quantized by using a quantization table. The quantized data is then encoded using a Huffman table.
By performing such a data compression, part of the information of the original image is lost. Namely, the image quality of the reproduced image may be deteriorated in comparison with the original image. If the value of each of the quantization coefficients included in the quantization table is set to have a smaller value, the values of the quantized DCT coefficients become large. This improves the quality of the reproduced image, but the amount of the compressed data is increased. Conversely, it is possible that, by estimating the quality of the reproduced image, the values of the quantization coefficients can be altered so as to obtain a sufficiently high quality image. The data compression is then performed again, but such an operation needs a lengthy time to process the image data, and thus, the operation efficiency is low.
Japanese Unexamined Patent Publication No. 7-135568 (corresponding to U.S. Ser. No. 08/337,409) discloses an image compression device, in which second quantization coefficients are obtained in such a manner that a quantization error, i.e., a difference between a DCT coefficient and a corresponding dequantized DCT coefficient, becomes a minimum. Thus, an optimum quantization table composed entirely of second quantization coefficients is generated, which is then recorded in a recording medium together with the compressed image data.
However, the optimum quantization table, by using minimum value quantization errors which relate to one image as a whole, is not necessarily the optimum regarding each block of pixels which, together, form the one image, even though the quantization error has a minimum value with respect to the one image as a whole. Therefore, in the expansion process using the optimum quantization table, the improvement of the quality of the reproduced image is limited to some extent. Therefore, it is desired that the image quality is further improved.
SUMMARY OF THE INVENTION
Accordingly, an object of the present invention is to provide an image compression device in which the optimum quantization table is efficiently utilized, so that an image of a higher quality than that obtained from a conventional device can be reproduced.
According to the present invention, there is provided an image compression device comprising a quantization processor, a quantization table generating processor, a compression processor and a quantization table storing processor.
The quantization processor quantizes image-processed data regarding one image, using a first quantization table composed of a plurality of first quantization coefficients, to obtain quantized image-processed coefficients. The quantization table generating processor generates a second quantization table composed of a plurality of second quantization coefficients in such a manner that dequantized image-processed coefficients, which are obtained by dequantizing the quantized imaqe-proosed coefficients by using the second quantization table, have values close to the image-processed data for the one image as a whole The compression processor compresses the quantized image-processed coefficients to obtain compressed image data, and stores the compressed image data in a recording medium. The quantization table storing processor stores the first and second quantization tables in the recording medium.
Further, according to the present invention, there is provided an image compression device in which input corresponding to one image, is divided into a plurality of blocks, which are then compressed. The device comprises a transformation processor, a quantization processor, a quantization table operating processor, a compression processor and a quantization table storing processor.
The transformation processor performs a two-dimensional discrete cosine transformation (two-dimensional DCT) on the input data to obtain DCT coefficients. The quantization processor quantizes the DCT coefficients, using a first quantization table composed of a plurality of first quantization coefficients, to obtain quantized DCT coefficients. The quantization table generating processor generates a second quantization table composed of a plurality of second quantization coefficients, in such a manner that dequantized DCT coefficients, which are obtained by dequantizing the quantized DCT coefficients using the second quantization table, have values close to the DCT coefficients for the one image as a whole. The compression processor compresses the quantized DCT coefficients to obtain compressed image data, and stores the compressed image data in a recording medium. The quantization table storing processor also stores the first and second quantization tables in the recording medium.
Another object of the present invention is to provide an image expansion device by which compressed image data, obtained by the image compression device, can be expanded.
According to the present invention, there is provided an image expansion device by which compressed image data recorded in a recording medium, in which a first quantization table composed of a plurality of first quantization coefficients and a second quantization table composed of a plurality of second quantization coefficients are stored, is expanded. The device comprises an expansion processor and a dequantization processor.
The expansion processor expands the compressed image data, read from the recording medium, to reproduce quantized image-processed coefficients. The dequantization processor selects one of the first or second quantization tables, in accordance with values of the quantized image-processed coefficients, and dequantizes the quantized image-processed coefficients, using the selected quantization table, to obtain dequantized image-processed coefficients.
Further, according to the present invention, there is provided an image expansion device by which compressed image data recorded in a recording medium, in which also a first quantization table composed of a plurality of first quantization coefficients and a second quantization table composed of a plurality of second quantization coefficients are stored, is expanded. The device comprises an expansion processor and a dequantization processor.
The expansion processor expands the compressed image data, read from the recording medium, to reproduce quantized DCT coefficients. The dequantization processor selects one of the first and second quantization tables in accordance with values of the quantized DCT coefficients, and dequantizes the quantized DCT coefficients, using the selected quantization table, to obtain dequantized DCT coefficients.
BRIEF DESCRIPTION OF THE DRAWINGS
The present invention will be better understood from the description of the preferred embodiments of the invention set forth below, together with the accompanying drawings, in which:
FIG. 1 is a block diagram showing an image compression device of a first embodiment of the present invention;
FIG. 2 is a view showing an example of an image compression process using a default quantization table;
FIG. 3 is a block diagram showing an image expansion device of the first embodiment of the present invention;
FIG. 4 is a view showing an example of an image expansion process using the default quantization table;
FIG. 5 is a view showing an example of an image compression process using an optimum quantization table;
FIG. 6 is a view showing a construction of a first table recording area, a second table recording area and a parameter recording area provided in a recording medium;
FIG. 7 is a flow chart showing an image expansion process;
FIG. 8 is a view showing a relationship between the quantized DCT coefficients ruv and the DCT coefficients Suv when the quantization coefficients Quv included in the quantization table are 12 and 11, respectively;
FIG. 9 is a view showing a relationship between the quantized DCT coefficient ruv and the dequantized DCT coefficient S'uv obtained by dequantizing the quantized DCT coefficient ruv by the quantization coefficient Quv =11;
FIG. 10 is a flow chart of a program, which is executed in the expansion process of the second embodiment, to dequantize the quantized DCT coefficient riuv;
FIG. 11 is a view showing an example of the dequantization carried out by the program shown in FIG. 10; and
FIGS. 12A and 12B show a flow chart of a program which is executed in a compression process of an image compression device of a third embodiment, so that an optimum quantization table is generated.
DESCRIPTION OF THE PREFERRED EMBODIMENTS
The present invention will be described below with reference to embodiments shown in the drawings.
FIG. 1 is a block diagram of an image compression device of a first embodiment of the present invention, by which luminance data and color difference data, which correspond to an original still image, are compressed according to the JPEG algorithm.
Light reflected from a subject S passes through an imaging optical system 11 such that the reflected light is focused on a CCD (charge coupled device) 12. Multiple photoelectric conversion elements are provided on the light receiving surface of the CCD 12. A color filter element (not shown) of red, green or blue is placed on each photoelectric conversion element, which corresponds to one pixel. Thus, the CCD 12 produces charges, which are representative of the quantity of light incident thereon, and outputs an analog pixel signal to an A/D converter 13.
The A/D converter 13 converts the analog pixel signal to a digital pixel signal which is inputted to a signal processing unit (not shown). The signal processing unit converts the pixel signals into luminance data Y and color difference data Cb and Cr, which are stored in an image memory 14. The image memory 14 is divided into a plurality of memory areas, which are independent from each other, each of which has a capacity of one frame's worth of image data. The luminance data Y and the color difference data Cb and Cr, stored in the image memory 14, are inputted to a DCT processing unit 21 included in an image compression device 20, so that a data compression process is performed on the signals Y, Cb and Cr. Note that, although a single DCT processing unit 21 is shown in FIG. 1, actually, a DCT processing unit is independently provided for the luminance data Y and the color difference data Cb and Cr.
In the image compression device 20, the image data such as the luminance data Y is divided into a predetermined number of pixel blocks collectively commensurate to one frame. Each block is then individually processed. As shown in FIG. 2, each pixel block R1 is composed of 8×8 pixel data Pxy, which indicate the luminance data Y, for example.
In the DCT processing unit 21, every block R1 of pixel data of the original image is subjected to a two-dimensional DCT, and thus, DCT coefficients Suv (i.e., image-processed data) in an 8×8 matrix are obtained for one block. In the DCT coefficients matrix R2, a DCT coefficient (e.g.-121, show as FIG. 2), at the uppermost left corner, is a DC (Direct Current) component, while the remaining 63 DCT coefficients are AC (Alternating Current) components. Also, in the matrix, a horizontal spatial frequency component, "u", increases as it's position tends towards the right, and a vertical spatial frequency component, "v", increases as it's position descends.
The DCT coefficients matrix R2 outputted from the DCT processing unit 21 is quantized by a default quantization table (either Qy or Qc) R3 in a quantization processing unit 22. A quantization table R3, arranged as an 8×8 matrix, is provided for both the luminance data Y and the color difference data Cb and Cr. Each component of the DCT coefficients matrix R2 is quantized by being divided by the corresponding quantization coefficient. Namely, the number of the components in the DCT coefficients matrix R2 is equal to the number of the quantization coefficients. Each of the quantized DCT coefficients ruv is rounded to the nearest integer, and therefore, a part of the image information is lost from each of the quantized DCT coefficients ruv.
The quantized DCT coefficients matrix R4 outputted by the quantization processing unit 22 is inputted into a compression processing unit 23, and is Huffman-encoded according to a predetermined algorithm. The compressed image data, obtained by the Huffman-encoding, is stored in a compressed image data recording area Ml of a recording medium M. The default quantization tables Qy and Qc are stored in a first table recording area M2 of the recording medium M. Note that the Huffman-encoding is well known, and therefore a detailed explanation thereof is omitted in this specification.
The quantized DCT coefficients matrix R4 is inputted into both the compression processing unit 23 and an optimum quantization coefficient calculation unit 26. The DCT coefficients matrix R2 is also inputted to the optimum quantization coefficent calculation unit 26. In the optimum quantization coefficient calculation unit 26, an optimum quantization table, by which a quantization error becomes a minimum, is obtained as described below.
At this point, it is supposed that the components of the quantization table R3 are Quv, and in the "i"th number block, the components of tine DCT coefficients matrix R2 are Siuv and the components of the quantized DCT coefficients matrix R4 are riuv. Further, it is supposed that the components of the dequantized DCT coefficients, obtained by multiplying the quantized DCT coefficients bad the quantization table, are S'iuv. For corresponding components the square of a quantization error Euv summed for one frame of image data is: ##EQU1## wherein Σ impliets the sum total of blocks forming the one frame of image data.
Equation (1) is differentiated by the corresponding values of Quv to obtain:
dE.sub.uv /dQ.sub.uv =2Σr.sub.iuv (r.sub.iuv ×Q.sub.uv -S.sub.iuv)                                               (2)
It is supposed that, when the sum of the square of the quantization error Euv is a relative minimum value, Quv is set to Q'uv. Thus, the corresponding value Q'uv is obtained by setting equation (2) to 0, and transforming the equation. Namely,
Q'.sub.uv =round(Σ(r.sub.iuv ×S.sub.iuv)/Σr.sub.iuv.sup.2)(3)
wherein the term "round", in this equation, is an approximation function which approximates, to the nearest integer, the value of the argument.
Each component of the optimum quantization table matrix is calculated according to equation (3). In an optimum quantization tabLe generation unit 27, an optimum quantization table Qsy for thes luminance data Y and an optimum quantization table Qsc for the color difference data Cr and Cb are generated, based on the results of equation (3). These optimum quantization tables Qsy and Qsc are converted to data, according to a predetermined format in a quantization table recording unit 28, and are recorded in a second table recording area M3 of a recording medium M.
Mode information MI, indicating that the default quantization tables Qy and Qc and the optimum quantization tables Qsy and Qsc are istored in the recording medium M, is transformed to data according to a predetermined format in an information recording unit 29, and is stored in an information recording area M4 of the recording medium M.
FIG. 3 is a block diagram of an image expansion device of the first embodiment of the present invention.
The compressed image data, corresponding to the luminance data Y and the color difference data Cb and Cr, read from the compressed image data recording area M1 of the recording medium M is decoded, in an expansion processing unit 31, and is converted to the quantized DCT coefficients. The decoding is the inverse of the Huffman encoding, which is well known. The quantized DCT coefficients, obtained by the decoding, are dequantized, in a dequantization processing unit 32 for the luminance data or a dequantization processing unit 33 for the color difference data, using the default quantization tables Qy and Qc (or the optimum quantization tables Qsy and Qsc), respectively, so that the dequantized DCT coefficients are obtained. These dequantized DCT coefficients are then subjected to a two-dimensional inverse discrete cosine transformation (two-dimensional IDCT), in an IDCT processing unit 34, so that the luminance data Y and the color difference data Cb and Cr are reproduced.
The default quantization tables Qy and Qc and the optimum quantization tables Qsy and Qsc are stored, respectively, in the first table recording area M2 and in the second table recording area M3, of the recording medium M. The default quantization tables Qy and Qc or the optimum quantization tables Qsy and Qsc are used in the dequantization processing units 32 and 33 in accordance with the operation of switches 35 and 36.
The quantization tables Qy and Qsy, for the luminance signal, are inputted into the dequantization processing unit 32 through the use of switch 35. The quantization tables Qc and Qsc, for the color difference data, are inputted into the dequantization processing unit 33 through use of the switch 36. The switches 35 and 36 are operated in accordance with a switch command signal outputted by a mode switching device 37. A display device 38 and a selection button 39 are connected to the mode switching device 37. Based on the mode information MI, read from the information recording area M4 of the recording medium M, an indication, implying that the default quantization tables Qy and Qc and the optimum quantization tables Qsy and Qsc can be selected, is registered on the display device 38. By operating the button 39 in accordance with the indication, the switches 35 and .36 are operated.
When the switches 35 and 36 are set to the positions shown by the broken lines in FIG. 3, such that the default quantization tables Qy and Qc are selected, dequantization is carried out in the dequantization processing units 32 and 33, using the quantization tables Qy and Qc. Conversely, when the switches 35 and 36 are set to the positions shown by the solid lines in FIG. 3, such that the optimum quantization tables Qsy and Qsc are selected, dequantization is carried out in the dequantization processing units 32 and 33, using the quantization tables Qsy and Qsc.
FIG. 4 shows an example of quantized DCT coefficients matrix R5 obtained by the expansion processing unit 31, dequantized DCT coefficients matrix R6 obtained by the dequantization processing unit 32 and IDCT coefficients matrix R7 obtained by the IDCT processing unit 34. This example shows the quantized DCT coefficients matrix R5 being dequantized using the default quantization table R3.
Namely, the quantized DCT coefficients ruv are dequantized by being multiplied by the corresponding quantization coefficients Quv, included in the default quantization table R3, so that the quantized DCT coefficients ruv are converted to dequantized DCI coefficients S'uv. The dequantized DCT coefficients matrix R6 corresponds to the DCT coefficients matrix R2 shown in FIG. 2. The dequantized DCT coefficients S'uv are subjected to the two dimensional IDCT process, in the IDCT processing unit 34, and are converted to IDCT coefficients P'xy. The IDCT coefficients matrix R7 corresponds to the pixel block R1 shown in FIG. 2.
FIG. 5 shows an example in which the quantized DCT coefficients matrix R5, obtained by the expansion processing unit 31, is dequantized using an optimum quantization table R13. As understood when comparing the cases shown in FIGS. 2, 4 and 5, a dequantized DCT coefficients matrix R16, which is obtained using the optimum quantization table R13, has closer values to the DCT coefficients matrix R2, which has not been quantized, in comparison with the dequantized DCT coefficients matrix R6, which is obtained using the default quantization table R3. Similarly, a dequantized DCT coefficients matrix R17, which is obtained using the optimum quantization table R13, has closer values to the pixel data Pxy of the pixel block R1 of the original image, in comparison with the dequantized DCT coefficients matrix R7, which is obtained using the default quantization table R3.
FIG. 6 shows a construction of the first table recording area M2, the second table recording area M3 and a parameter recording area M5, provided in the recording medium M.
The parameter recording area M5 is composed of a first group G1, a second group G2 and a third group G3. Component recognition information C1 means that a parameter regarding the luminance data Y is stored in the first group G1. H1 represents a horizontal sampling factor and V1 represents a vertical sampling factor. These sampling factors H1 and V1 are determined according to a recommendation by the JPEG. Tq1 indicates quantization table selection information, the selection information being a value of a quantization table number which corresponds to the first table recording area M2 or the second table recording area M3, in which the quantization table regarding the luminance data Y is stored.
Similarlyr, component recognition information C2 means that a parameter regarding the color difference data Cb is stored in the second group G2. H2 represents a horizontal sampling factor and V2 represents a vertical sampling factor. These sampling factors H2 and V2 are determined according to a recommendation by the JPEG. Tq2 is quantization table selection information regarding the color difference data Cb. Component recognition information C3 means that a parameter regarding the color difference data Cr is stored in the third group G3. H3 represents a horizontal sampling factor and V3 indicates a vertical sampling factor. These sampling factors H3 and V3 are determined according to a recommendation by the JPEG. Tq3 is quantization table selection information regarding the color difference data Cr.
As described above, the first recording area M2 is provided for recording the default quantization tables Qy and Qc and the second recording area M3 is provided for recording the optimum quantization tables Qsy and Qsc.
Regarding the default quantization tables Qy and Qc, a first quantization table number of "0" (reference is A0 in FIG. 6) is stored in an address of Tq1 as first quantization table selection information, and 64 quantization coefficients Q0, Q1, . . . Q63 forming the quantization table Qy, used for quantizing the luminance data Y, are stored in the addresses following the first quantization table number. Second quantization table numbers of "1" (reference A1 in FIG. 6) are stored in addresses of Tq2 and Tq3 as second quantization table selection information, where Tq2 and Tq3 have identical addresses, and 64 quantization coefficients Q0, Q1, . . . Q63 forming the quantization table Qc, used for quantizing the color difference data Cb and Cr, are stored in the addresses following the second quantization table numbers.
Regarding the optimum quantization tables Qsy and Qsc, a third quantization table number of "2" (reference A2 in FIG. 6) is stored in an address of Tq1 as third quantization table selection information, and 64 quantization coefficients Q0, Q1, . . . Q63 forming thus quantization table Qsy, used for quantizing the luminance data Y, are stored in the addresses following the third quantization tabLe number. Fourth quantization table numbers of "3" (reference A3 in FIG. 6) are stored in addresses of Tq2 and Tq3 as fourth quantization table selection information, where the addresses of Tq2 and Tq3 are identical, and 64 quantization coefficients Q0, Q1, . . . Q63 forming the quantization table Qsc used for quantizing the color difference data Cb and Cr, are stored in the addresses following the fourth quantization table numbers.
Thereforea, by setting each selection information (Tq1, Tq2 and Tq3) to an integer value of one of 0 through 3, corresponding to the required quantization table and, thereby, to the operations of the switches 35 and 36 shown in FIG. 3, the predetermined quantization tables Qy, Qc, Qsy and Qsc are selected.
FIG. 7 is a flow chart showing an image expansion process.
In Step 101, data stored in the information recording area M4 of the recording medium M is read out. In Step 102, it is determined, based on the data, whether mode information MI is stored in the information recording area M4. When the mode information MI is stored, Step 103 is executed so that a message, implying that the default quantization table can be used or the optimum quantization table can be used, is indicated by the display device 38.
In Step 104, button 39 is operated, so that a mode of the image expansion process is selected. When a high quality mode (i.e. use of the optimum quantization table) is selected by button 39, the process goes from Step 105 to Step 107, so that the expansion process is performed using the optimum quantization tables Qsy and Qsc, and then, this image expansion process program ends. Conversely, when the high quality mode is not selected by the button 39 and, also, when it is determined in Step 102 that the mode information MI is not stored, Step 106 is executed so that the expansion process is performed using the default quantization tables Qy and Qc.
As described above, according to the embodiment, when the default quantization tables Qy and Qc are used in the image expansion process, the original image having a usual reproducible quality can be obtained. Therefore, a usual expansion process can be performed, on image data stored in the recording medium M, using a conventional expansion device. Further, when the expansion process is carried out by an image expansion device having the selection button 39 and the switches 35 and 36, the optimum quantization tables Qsy and Qsc can be used, and therefore, an image which is as close as possible to the original image can be reproduced.
In the first embodiment, only the default quantization tables Qy and Qc or the optimum quantization tables Qsy and Qsc are used. According to such a device, however, the quality of the reproduced image is not fully improved as described below.
FIG. 8 shows a relationship between the quantized DCT coefficients ruv and the DCT coefficients Suv when the quantization coefficients Quv included in the quantization table are 12 and 11, respectively. For example, when the quantization coefficient Quv is 12, the quantized DCT coefficient ruv is 3 if the DCT coefficient Suv is 30 through 41. When the quantization coefficient Quv is 11, the quantized DCT coefficient ruv is 3 if the DCT coefficient Suv is 28 through 38.
Now, suppose that, in an 8×8 matrix pixel block, the quantization coefficient Quv =12, contained in the default quantization tables Qy and Qc, is changed to the quantization coefficient Q'uv =1.1 in the optimum quantization tables Qsy and Qsc obtained accordirng to the equation (3). When the DCT coefficient Suv, outputted byr the DCT processing unit 21 (see FIG. 1) of the image compression device 20, is 78 through 89, this DCT coefficient is quantized by the quantization coefficient Quv =12 in the quantization processing unit 22, so that the quantized DCT coefficient ruv =7 is obtained. If this quantized DCT coefficient ruv =7 is dequantized by the quantization coefficient Q'uv =11 of the optimum quantization table, in the dequantization processing units 32 or 33 Isee FIG. 3) of the image expansion device, the calculation result is S'uv =7×11=77, which is out of the range of the original DCT coefficient Suv which is between 78 and 89.
Thus, if the dequantized DCT coefficient S'uv is out of the range in which the original DCT coefficient Suv should be included, a quantization error is generated, which causes the quality of the image, reproduced by the expansion process, to be lowered. Namely, in such a case, the quantization errors of the default tables Qy and Qc are smaller than those of the optimum quantization tables Qsy and Qsc. Therefore, by using the default quantization tables Qy and Qc, a greater loss of image quality is prevented.
FIG. 9 shows a relationship between the quantized DCT coefficient ruv and the dequantized DCT coefficient S'uv obtained by dequantizing the quantized DCT coefficient ruv by the quantization coefficient Quv =11. As understood from comparison between FIGS. 8 and 9, when the quantization coefficient Q'uv =11, a phenomenon in which the dequantized DCT coefficient S'uv is out of the range of the original DCT coefficient Suv occurs only when the quantized DCT coefficient ruv ≧7. Similarly, with the other quantization coefficients Q'uv, the phenomenon also easily occurs when the quantized DCT coefficients ruv have relatively high values. The boundary for the quantized DCT coefficients ruv, which indicates whether or not the quantized DCT coefficients are out of the range of the original DCT coefficients Suv, is (Quv /2+1) when the quantization coefficients Quv are even numbers, and is ((Quv -1)/2+1) when the quantization coefficients Quv are odd numbers.
In a second embodiment described below, either first quantization coefficients contained in the default quantization tables Qy and Qc or second quantization coefficients contained in the optimum quantization table Qsy and Qsc are selected, so that the quantization error can be controlled to achieve a minimum value.
FIG. 10 shows a flow chart of a program, which is executed in the expansion process in the image expansion device of the second embodiment, to dequantize the quantized DCT coefficients riuv.
In Step 201, a parameter "i", indicating a serial number of the blocks forming one frame of image data, is set to 0. In Step 202, a parameter "v", indicating a vertical position of a spatial frequency within the 8×8 matrix, is set to 0, and in Step 203, a parauneter "u", indicating a horizontal position of a spatial frequency within the 8×8 matrix, is set to 0.
In step 204, it is determined whether the quantization coefficient Quv for dequantizing the quantized DCT coefficient riuv, is an even number. When the quantization coefficient Quv is an even number, Step 205 is executed, so that it is determined whether the absolute value of the quantization DCT coefficient riuv is greater than or equal to the first boundary vialue (Quv /2+1). When the absolute value of the quantized DCT coefficient riuv is greater than or equal to the first boundary value, Step 207 is executed, so that the dequantized DCT coefficient S'iuv is obtained according to the following equation:
S'.sub.iuv =r.sub.iuv ×Q.sub.uv
Namely, the dequantization is carried out using the quantization coefficient Quv of the default quantization table.
When the absolute value of the quantized DCT coefficient riuv is less than the first boundary value, Step 208 is executed, so that the dequantized DCT coefficient S'iuv is obtained, using the quantization coefficient Q'uv of the optimum quantization table, according to the following equation:
S'.sub.iuv =r.sub.iuv ×Q'.sub.uv
Conversely, when it is determined in Step 204 that the quantization coefficient Quv is an odd number, Step 206 is executed, so that it is determined whether the absolute value of the quantized DCT coefficient riuv is greater than or equal to the second boundary value ((Quv -1)/2+1). When the absolute value of the quantized DCT coefficient riuv is greater than or equal to the second boundary value, Step 207 is executed in which the dequantization is performed using the quantization coefficient Quv of the default quantization table. When it is determined in Step 206 that the absolute value of the quantized DCT coefficient riuv is less than the second boundary value, Step 208 is executed in which the dequantization is performed using the quantization coefficient Q'uv of the optimum quantization table.
In step 211, the parameter "u" is incremented by 1. In Step 212, it is determined whether the parameter "u" is greater than or equal to 8. When the parameter "u" has not reached 8, the process goes back to Step 204, so that Steps 204 through 211 are executed regarding the next parameter "u".
When it is determined in Step 212 that the parameter "u" is greater than or equal to 8, Step 213 is executed in which the parameter "v" is incremented by 1. Then, it is determined in Step 214 whether or not the parameter "v" is greater than or equal to 8. When the parameter "v" has not reached 8, the process goes back to Step 203, so that Steps 203 through 213 are executed regarding the next parameter "v".
When it is determined in Step 214 that the parameter "v" is greater than or equal to 8, Step 215 is executed in which the parameter "i" is incremented by 1. In step 216, it is determined whether the parameter "i" is greater than or equal to the total number of blocks. When it is determined that the parameter "i" has not reach.ed the total number of blocks, the process goes back to Step 202, so that Steps 202 through 215 are executed regarding the next block.
When it is determined in Step 216 that the parameter "i" is greater than or equal to the total number of blocks, this program ends, since the dequantization has been completed for all of the blocks.
FIG. 11 shows an example of the dequantization carried out by the program shown in FIG. 10. In this drawing, a selected quantization table R23 is composed of the quantization coefficients Quv and Q'uv, which are selected based on the result of the determinations in Steps 205 and 206 of the program shown in FIG. 10. Namely, in the program shown in FIG. 10, the selected quantization table R23 is obtained by completing the loop formed by steps 202 through 214 for one block. Note that the numerals bounded by parentheses in the selected quantization table R23 (Q"30 =(8), for example) is a quantization coefficient contained in the default quantization table R3 (see FIG. 4), and the numerals not bounded by parentheses (Q"20 =5, for example) is a quantization coefficient contained in the optimum quantization table R13 (see FIG. 5).
In FIG. 11, the quantization coefficients matrix R5 is dequantized by the selected quantization table R23, so that the dequantized DCT coefficients matrix R26 is obtained. The dequantized DCT coefficients matrix R26 is subjected to the IDCT, and thus, is converted to the IDCT coefficients matrix R27. As understood from comparing the cases shown in FIGS. 2, 5 and 11, the dequantized DCT coefficients matrix R26, which is obtained using the selected quantization table R23, has values which are closer to those of the DCT coefficients matrix R2, which has not been quantized in comparison with the dequantized DCT coefficients matrix R16, which is obtained using the optimum quantization table R13. Similarly, the IDCT coefficients matrix R27, which is obtained using the selected quantization table R23, has closer values to those of the pixel data Pxy of the pixel block R1 of th(e original image, in comparison with the IDCT coefficients matrix R17, which is obtained using the optimum quantization table R13.
As described above, according to the second embodiment, the quantization coefficient Q'uv of the optimum quantization table is selected when the quantized DCT coefficient riuv is less than the boundary value, and the quantization coefficient Quv of the default quantization table is selected when the quantized DCT coefficient riuv is greater than or equal to the boundary value. Accordingly, a phenomenon, in which the quantization error tends to increase when the quantized DCT coefficient riuv is relatively large, is prevented. Therefore, when using the expansion process, a reproduced image having an improved quality and, thereby, being as close to the original image as possible is obtained.
In the second embodiment, one quantization coefficient Q'uv of the optimum quantization table or one quantization coefficient Quv of the default quantization table is selected in accordance with the amount of the corresponding quantized DCT coefficient riuv, in the expansion process. In this case, when the quantized DCT coefficient riuv is greater than or equal to the boundary value, the calculation of (3), by which each component of the matrix of the optimum quantization table is obtained, does not need to be considered since the default quantization table is applied. Thus, in a third embodiment described below, when the optimum quantization table is generated in the compression process, only a case in which the quantized DCT coefficients riu are less than the boundary values are taken into consideration, so that a further improved optimum quantization table can be generated.
FIGS. 12A and 12B show a flow chart of a program which is executed in a compression process of an image compression device of the third embodiment so that an optimum quantization table is generated.
In step 301, parameter "i", indicating a serial number of a block forming a part of one image, and values of E1uv and E2uv, which correspond to a numerator and a denominator of equation (3), respectively, are initially all set to 0. In Step 302, parameter "v", indicating the vertical position of the spatial frequency within the 8×8 matrix, is set to 0, and in Step 303, paramneter "u", indicating the horizontal position of the spatial frequency within the matrix, is set to 0.
In Step 304, the quantized DCT coefficient riuv is obtained according to the following equation:
r.sub.iuv =round(S.sub.iuv /Q.sub.uv)
wherein the terri "round", in this equation, is an approximation function which approximates, to the nearest integer, the value of the argument.
In Step 305, it is determined whether the quantization coefficient Quv is an even number. When the quantization coefficient Quv is an even number, Step 306 is executed in which it is determined whether the absolute value of the quantized DCT coefficient riuv is greater than or equal to a first boundary value (Quv /2+1). When the absolute value of the quantized DCT coefficient riuv is less than the first boundary value, Step 308 is executed so that the numerator and the denominator of equation (3)are calculated according to the following equations:
E.sub.1uv =E.sub.iuv +r.sub.iuv ×S.sub.iuv
E.sub.2uv =E.sub.2uv +r.sub.iuv ×r.sub.iuv
Conversely, when it is determined in Step 306 that the absolute value of the quantized DCT coefficient riuv is greater than or equal to the first boundary value, Step 308 is skipped.
When it is determined in Step 305 that the quantization coefficient Quv is an odd number, Step 307 is executed in which it is determined whether the absolute value of the quantized DCT coefficient riuv is greater than or equal to the second boundary value ((Quv -1)/2+1). When the absolute value of the quantized DCT coefficient riuv is less than the second boundary value, Step 308 is executed, and when the absolute value of the quantized DCT coefficient riuv is greater than or equal to the second boundary value, Step 308 is skipped.
In Step 311, the parameter "u" is incremented by 1. In step 312, it is determined whether the parameter "u" is greater than or equal to 8. When the parameter "u" has not reached 8, the process goes back to Step 304, so that Steps 304 through 311 are executed for the next parameter "u".
When it is determined in Step 312 that the parameter "u" is greater than or equal to 8, Step 313 is executed in which the parameter "v" is incremented by 1. Then, it is determined in Step 314 whether the parameter "v" is greater than or equal to 8. When the parameter "v" has not reached 8, the process goes back to Step 303, so that Steps 303 through 313 are executed regarding the next parameter "v".
When it is determined in Step 314 that the parameter "v" is greater than or equal to 8, Step 315 is executed in which the parameter "i" is incremented by 1. In Step 316, it is determined whether the parameter "i" is greater than or equal to the total number of blocks. When it is determined that the parameter "i" has not reached the total number of blocks, i.e., when the dequantization has not been completed for all of the blocks, the process goes back to Step 302, so that Steps 302 through 315 are executed regarding the next block.
When it is determined in Step 316 that the parameter "i" is greater than or equal to the total number of blocks, E1uv and E2uv have been obtained for all of the parameters "uv" and "v". Thus, an optimum quantization table is generated in Steps 317 through 323.
In step 317, the parameter "v" is set to 0, and in Step 318, the parameter "u" is set to 0. In Step 319, a quantization coefficient Q'uv is obtained according to the following equation:
Q'.sub.uv =round (E.sub.1uv /E.sub.2uv)
In Step 320, the parameter "u" is incremented by 1. In step 321, it is determined whether the parameter "u" is greater than or equal to 8. When the parameter "u" has not reached 8, the process goes back to Step 319, so that the quantization coefficient Q'uv is obtained for the next parameter "vu". When it is determined in Step 321 that the parameter "uv" is greater than or equal to 8, Step 322 is executed in which the parameter "v" is incremented by 1. In Step 323, it is determined whether the parameter "v" is greater than or equal to 8. When the parameter "v" has not reached 8, the process goes back to Step 318 so that the quantization coefficient Q'uv is obtained for the next parameter "v". When it is determined in Step 323 that the parameter "v" is greater than or equal to 8, the quantization coefficients Q'uv have been obtained for all of the parameters "u" and "v", therefore the optimum quantization table has been obtained, and thus, this program ends.
As described above, according to the third embodiment, the optimum quantization table is generated by taking into consideration only a case in which the quantized DCT coefficient riuv is less than the boundary value, i.e., only a case in which the optimum quantization table is used in an expansion process. Therefore, an optimum quantization table, by which an image can be reproduced which is closer to the original image than when using the second embodiment, is obtained.
Note that, although, in each of the embodiments, the present invention is applied to a device which compresses image signals in accordance with the JPEG algorithm, the present invention can be applied to a device which compresses image signals in accordance with any other algorithm.
Although the embodiments of the present invention have been described herein with reference to the accompanying drawings, obviously many modifications and changes may be made by those skilled in this art without departing from the scope of the invention.
The present disclosure relates to subject matter contained in Japanese Patent Application No. 8-247256 (filed on Aug. 29, 1996) which is expressly incorporated herein by reference, in its entirety.

Claims (12)

I claim:
1. An image compression devices comprising:
a quantization processor that quantizes image-processed data regarding one image, using a first quantization table composed of a plurality of first quantization coefficients, to obtain quantized image-processed coefficients;
a quantization table generating processor that generates a second quantization table composed of a plurality of second quantization coefficients in such a manner that a difference between dequantized image-processed coefficients, obtained by dequantizing said quantized image-processed coefficients by using said second quantization table and said image-processed data for said one image is minimized;
a compression processor that compresses said quantized image-processed coefficients to obtain compressed image data, said compression processor storing said compressed image data in a recording medium; and
a quantization table storing processor that stores said first and second quantization tables in said recording medium.
2. A device according to claim 1, wherein said image-processed data compresing DCT coefficients obtained by performing a two-dimensional discrete cosine transformation on pixel data of an original image.
3. A device according to claim 1, further comprising an information storing processor that stores mode information indicating that said first and second quantization tables are stored in said recording medium.
4. A device according to claim 1, wherein said quantization table generating processor obtains said second quantization table in such a manner that a sum of a square of an error between said dequantized image-processed coefficients and said image-processed data becomes a minimum value.
5. An image expansion device by which compressed image data recorded in a recording medium, in which a first quantization table composed of a plurality of first quantization coefficients and a second quantization table composed of a plurality of second quantization coefficients are stored, is expanded, said device comprising:
an expansion processor that expands said compressed image data read from said recording medium to reproduce quantized image-processed coefficients; and
a dequantization processor that selects one of said first quantization table and said second quantization table in accordance with values of said quantized image-processed coefficients, said dequantization processor dequantizing said quantized image-processed coefficients, using a selected quantization table, to obtain dequantized image-processed coefficients, said second quantization table being generated such that a difference between said dequantized image-processed coefficients and the quantized image-processed coefficients is minimized.
6. A device according to claim 5, wherein said dequantization processor selects said second quantization table when each of said quantized image-processed coefficients is less than a boundary value, said dequantization processor selecting said first quantization table when each of said quantized image-processed coefficients is not less than said boundary value.
7. An image compression device in which input data corresponding to one image is divided into a plurality of blocks to compress said input data, said device comprising:
a transformation processor that performs a two-dimensional discrete cosine transformation (two-dimensional DCT) to said input data to obtain DCT coefficients;
a quantization processor that quantizes said DCT coefficients, using a first quantization table composed of a plurality of first quantization coefficients, to obtain quantized DCT coefficients;
a quantization table generating processor that generates a second quantization table composed of a plurality of second quantization coefficients, such that a difference between dequantized DCT coefficients obtained by dequantizing said quantized DCT coefficients by using said second quantization table and said DCT coefficients for said one image is minimized;
a compression processor that compresses said quantized DCT coefficients to obtain compressed image data, said compressing processor storing said compressed image data in a recording medium; and
a quantization table storing processor that stores said first quantization table and said second quantization table in said recording medium.
8. A device according to claim 7, further comprising an information storing processor that stores mode information indicating that said first quantization table and said second quantization table are stored in said recording medium.
9. A device according to claim 7, wherein said quantization table generating processor obtains said second quantization table in such a manner that a sum of a square of an error between each of said dequantized DCT coefficients and each of said DCT coefficients in all of said blocks becomes a minimum value.
10. A device according to claim 7, wherein said quantization table generating processor obtains said second quantization coefficients, with respect to each of said blocks forming said one image, by taking account of only a case in which each of said quantized DCT coefficients is less than said boundary value.
11. An image expansion device by which compressed image data recorded in a recording medium, in which a first quantization table composed of a plurality of first quantization coefficients and a second quantization table composed of a plurality of second quantization coefficients are stored, is expanded, said device comprising:
an expansion processor that expands said compressed image data read from said recording medium to reproduce quantized DCT coefficients; and
a dequantization processor that selects one of said first quantization table and said second quantization table in accordance with values of said quantized DCT coefficients, said dequantization processor dequantizing said quantized DCT coefficients, using said selected quantization table, to obtain dequantized DCT coefficients, said second quantization table being generated such that a difference between said dequantized DCT coefficients and said quantized DCT coefficients is minimized.
12. A device according to claim 11, wherein said dequantization processor selects said second quantization table when each of said quantized image-processed coefficients is less than a boundary value, and selects said first quantization table when each of said quantized image-processed coefficients is not less than said boundary value.
US08/919,340 1996-08-29 1997-08-28 Image compression and expansion device Expired - Lifetime US6005982A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JPP08-247256 1996-08-29
JP24725696A JP3579544B2 (en) 1996-08-29 1996-08-29 Image compression / decompression device

Publications (1)

Publication Number Publication Date
US6005982A true US6005982A (en) 1999-12-21

Family

ID=17160787

Family Applications (1)

Application Number Title Priority Date Filing Date
US08/919,340 Expired - Lifetime US6005982A (en) 1996-08-29 1997-08-28 Image compression and expansion device

Country Status (2)

Country Link
US (1) US6005982A (en)
JP (1) JP3579544B2 (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6445870B1 (en) 1996-08-29 2002-09-03 Asahi Kogaku Kogyo Kabushiki Kaisha Image compression and expansion device
US6597815B1 (en) * 1998-10-19 2003-07-22 International Business Machines Corporation Image data compression apparatus and method thereof
US20040001637A1 (en) * 2002-06-28 2004-01-01 Mitchell Joan L. Adaptive generation of Q-table2 for improved image quality
US6718064B1 (en) 1999-03-09 2004-04-06 Pentax Corporation Image compression and expansion apparatus
GB2396503A (en) * 2002-12-20 2004-06-23 Tandberg Television Asa A method of optimising a quantisation level for compressing a video signal.
US20040160353A1 (en) * 2002-06-28 2004-08-19 Science Applications International Corporation Measurement and signature intelligence analysis and reduction technique
US6850650B1 (en) * 2001-05-30 2005-02-01 Packeteer, Inc. System and method for recompressing a jpeg image using requantization
US20080089410A1 (en) * 2004-01-30 2008-04-17 Jiuhuai Lu Moving Picture Coding Method And Moving Picture Decoding Method
RU2322770C2 (en) * 2002-04-23 2008-04-20 Нокиа Корпорейшн Method and device for indication of quantizer parameters in video encoding system
US20090080533A1 (en) * 2007-09-20 2009-03-26 Microsoft Corporation Video decoding using created reference pictures
US20090252233A1 (en) * 2008-04-02 2009-10-08 Microsoft Corporation Adaptive error detection for mpeg-2 error concealment
US20090323820A1 (en) * 2008-06-30 2009-12-31 Microsoft Corporation Error detection, protection and recovery for video decoding
US20090323826A1 (en) * 2008-06-30 2009-12-31 Microsoft Corporation Error concealment techniques in video decoding
US20100128778A1 (en) * 2008-11-25 2010-05-27 Microsoft Corporation Adjusting hardware acceleration for video playback based on error detection
US20100208805A1 (en) * 2009-02-13 2010-08-19 Xiang Yu Adaptive quantization with balanced pixel-domain distortion distribution in image processing
US20100208804A1 (en) * 2009-02-13 2010-08-19 Xiang Yu Modified entropy encoding for images and videos
US20110013889A1 (en) * 2009-07-17 2011-01-20 Microsoft Corporation Implementing channel start and file seek for decoder
US8824789B2 (en) 2012-03-14 2014-09-02 Kabushiki Kaisha Toshiba Image encode controller, image encoder and computer implemented method for encoding image data
US10310075B2 (en) * 2016-04-18 2019-06-04 The Boeing Company Synthetic aperture radar data compression and transmission

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6543548B2 (en) * 2015-09-29 2019-07-10 富士通株式会社 Moving picture coding apparatus, moving picture coding method, and program

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5384849A (en) * 1992-05-18 1995-01-24 Samsung Electronics Co., Ltd. Apparatus and method for encoding/decoding data including the suppression of blocking artifacts
US5396567A (en) * 1990-11-16 1995-03-07 Siemens Aktiengesellschaft Process for adaptive quantization for the purpose of data reduction in the transmission of digital images
US5410351A (en) * 1991-07-31 1995-04-25 Sony Corporation Video signal transmission system and method
US5412484A (en) * 1992-07-23 1995-05-02 Kabushiki Kaisha Toshiba Variable rate coder/decoder system
JPH07135568A (en) * 1993-11-09 1995-05-23 Asahi Optical Co Ltd Digital data processor
US5497246A (en) * 1993-07-15 1996-03-05 Asahi Kogaku Kogyo Kabushiki Kaisha Image signal processing device
US5666209A (en) * 1993-07-15 1997-09-09 Asahi Kogaku Kogyo Kabushiki Kaisha Image signal processing device
US5708509A (en) * 1993-11-09 1998-01-13 Asahi Kogaku Kogyo Kabushiki Kaisha Digital data processing device
US5850484A (en) * 1995-03-27 1998-12-15 Hewlett-Packard Co. Text and image sharpening of JPEG compressed images in the frequency domain

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5396567A (en) * 1990-11-16 1995-03-07 Siemens Aktiengesellschaft Process for adaptive quantization for the purpose of data reduction in the transmission of digital images
US5410351A (en) * 1991-07-31 1995-04-25 Sony Corporation Video signal transmission system and method
US5384849A (en) * 1992-05-18 1995-01-24 Samsung Electronics Co., Ltd. Apparatus and method for encoding/decoding data including the suppression of blocking artifacts
US5412484A (en) * 1992-07-23 1995-05-02 Kabushiki Kaisha Toshiba Variable rate coder/decoder system
US5497246A (en) * 1993-07-15 1996-03-05 Asahi Kogaku Kogyo Kabushiki Kaisha Image signal processing device
US5666209A (en) * 1993-07-15 1997-09-09 Asahi Kogaku Kogyo Kabushiki Kaisha Image signal processing device
JPH07135568A (en) * 1993-11-09 1995-05-23 Asahi Optical Co Ltd Digital data processor
US5708509A (en) * 1993-11-09 1998-01-13 Asahi Kogaku Kogyo Kabushiki Kaisha Digital data processing device
US5850484A (en) * 1995-03-27 1998-12-15 Hewlett-Packard Co. Text and image sharpening of JPEG compressed images in the frequency domain

Cited By (47)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6445870B1 (en) 1996-08-29 2002-09-03 Asahi Kogaku Kogyo Kabushiki Kaisha Image compression and expansion device
US6597815B1 (en) * 1998-10-19 2003-07-22 International Business Machines Corporation Image data compression apparatus and method thereof
US6718064B1 (en) 1999-03-09 2004-04-06 Pentax Corporation Image compression and expansion apparatus
US6850650B1 (en) * 2001-05-30 2005-02-01 Packeteer, Inc. System and method for recompressing a jpeg image using requantization
US20050111747A1 (en) * 2001-05-30 2005-05-26 Heinz Bauschke System and method for recompressing a digital image using requantization
US7035474B2 (en) 2001-05-30 2006-04-25 Packeteer, Inc. System and method for recompressing a digital image using requantization
RU2322770C2 (en) * 2002-04-23 2008-04-20 Нокиа Корпорейшн Method and device for indication of quantizer parameters in video encoding system
US20040160353A1 (en) * 2002-06-28 2004-08-19 Science Applications International Corporation Measurement and signature intelligence analysis and reduction technique
US7307584B2 (en) 2002-06-28 2007-12-11 Science Applications International Corporation Measurement and signature intelligence analysis and reduction technique
US7362908B2 (en) 2002-06-28 2008-04-22 International Business Machines Corporation Adaptive generation of Q-table2 for improved image quality
US7120303B2 (en) 2002-06-28 2006-10-10 International Business Machines Corporation Adaptive generation of Q-table2 for improved image quality
US20060239567A1 (en) * 2002-06-28 2006-10-26 Mitchell Joan L Adaptive generation of Q-table2 for improved image quality
US7136010B2 (en) 2002-06-28 2006-11-14 Science Applications International Corporation Measurement and signature intelligence analysis and reduction technique
US20040001637A1 (en) * 2002-06-28 2004-01-01 Mitchell Joan L. Adaptive generation of Q-table2 for improved image quality
GB2396503A (en) * 2002-12-20 2004-06-23 Tandberg Television Asa A method of optimising a quantisation level for compressing a video signal.
GB2396503B (en) * 2002-12-20 2006-03-15 Tandberg Television Asa Optimisation of quantisation in cascaded video signal motion-compensation compression systems
US8396116B2 (en) 2004-01-30 2013-03-12 Panasonic Corporation Moving picture coding method and moving picture decoding method
US20110150082A1 (en) * 2004-01-30 2011-06-23 Jiuhuai Lu Moving picture coding method and moving picture decoding method
USRE46500E1 (en) 2004-01-30 2017-08-01 Dolby International Ab Moving picture coding method and moving picture decoding method
US8477838B2 (en) 2004-01-30 2013-07-02 Panasonic Corporation Moving picture coding method and moving picture decoding method
CN1910922B (en) * 2004-01-30 2013-04-17 松下电器产业株式会社 Moving picture coding method and moving picture decoding method
US8218623B2 (en) 2004-01-30 2012-07-10 Panasonic Corporation Moving picture coding method and moving picture decoding method
USRE49787E1 (en) 2004-01-30 2024-01-02 Dolby International Ab Moving picture coding method and moving picture decoding method
USRE48401E1 (en) 2004-01-30 2021-01-19 Dolby International Ab Moving picture coding method and moving picture decoding method
US8194734B2 (en) 2004-01-30 2012-06-05 Panasonic Corporation Moving picture coding method and moving picture decoding method
US20110150083A1 (en) * 2004-01-30 2011-06-23 Jiuhuai Lu Moving picture coding method and moving picture decoding method
US7933327B2 (en) 2004-01-30 2011-04-26 Panasonic Corporation Moving picture coding method and moving picture decoding method
US20080089410A1 (en) * 2004-01-30 2008-04-17 Jiuhuai Lu Moving Picture Coding Method And Moving Picture Decoding Method
GB2411087B (en) * 2004-02-11 2006-11-15 Science Applic Int Corp Measurement and signature intelligence analysis and reduction technique
US8121189B2 (en) 2007-09-20 2012-02-21 Microsoft Corporation Video decoding using created reference pictures
US20090080533A1 (en) * 2007-09-20 2009-03-26 Microsoft Corporation Video decoding using created reference pictures
US9848209B2 (en) * 2008-04-02 2017-12-19 Microsoft Technology Licensing, Llc Adaptive error detection for MPEG-2 error concealment
US20090252233A1 (en) * 2008-04-02 2009-10-08 Microsoft Corporation Adaptive error detection for mpeg-2 error concealment
US9924184B2 (en) 2008-06-30 2018-03-20 Microsoft Technology Licensing, Llc Error detection, protection and recovery for video decoding
US20090323826A1 (en) * 2008-06-30 2009-12-31 Microsoft Corporation Error concealment techniques in video decoding
US9788018B2 (en) 2008-06-30 2017-10-10 Microsoft Technology Licensing, Llc Error concealment techniques in video decoding
US20090323820A1 (en) * 2008-06-30 2009-12-31 Microsoft Corporation Error detection, protection and recovery for video decoding
US9131241B2 (en) 2008-11-25 2015-09-08 Microsoft Technology Licensing, Llc Adjusting hardware acceleration for video playback based on error detection
US20100128778A1 (en) * 2008-11-25 2010-05-27 Microsoft Corporation Adjusting hardware acceleration for video playback based on error detection
US8934543B2 (en) 2009-02-13 2015-01-13 Blackberry Limited Adaptive quantization with balanced pixel-domain distortion distribution in image processing
US20100208804A1 (en) * 2009-02-13 2010-08-19 Xiang Yu Modified entropy encoding for images and videos
US20100208805A1 (en) * 2009-02-13 2010-08-19 Xiang Yu Adaptive quantization with balanced pixel-domain distortion distribution in image processing
US9264658B2 (en) 2009-07-17 2016-02-16 Microsoft Technology Licensing, Llc Implementing channel start and file seek for decoder
US8340510B2 (en) 2009-07-17 2012-12-25 Microsoft Corporation Implementing channel start and file seek for decoder
US20110013889A1 (en) * 2009-07-17 2011-01-20 Microsoft Corporation Implementing channel start and file seek for decoder
US8824789B2 (en) 2012-03-14 2014-09-02 Kabushiki Kaisha Toshiba Image encode controller, image encoder and computer implemented method for encoding image data
US10310075B2 (en) * 2016-04-18 2019-06-04 The Boeing Company Synthetic aperture radar data compression and transmission

Also Published As

Publication number Publication date
JPH1075449A (en) 1998-03-17
JP3579544B2 (en) 2004-10-20

Similar Documents

Publication Publication Date Title
US6005982A (en) Image compression and expansion device
US5416604A (en) Image compression method for bit-fixation and the apparatus therefor
US9143800B2 (en) Method and apparatus for encoding and decoding image
EP2285117A1 (en) Video coder providing implicit coefficient prediction and scan adaption for image coding and intra coding of video
AU667165B2 (en) Method for coding or decoding time-varying image, and apparatuses for coding/decoding
JPH10229562A (en) Reduction of memory required for decompression by storing compression information using technology based on dct
JPH0595536A (en) High efficiency coded signal processor
JPH06189285A (en) Quantization/inverse quantization circuit for picture data compression/expansion device
JPH10336647A (en) Image compression device and computer readable recording medium recording image compression processing program
JP4190576B2 (en) Imaging signal processing apparatus, imaging signal processing method, and imaging apparatus
US6047089A (en) Image compression and expansion device
JP2000244935A (en) Method for compressing picture data
US6049634A (en) Image compression device
JPH09247675A (en) Image compression method and image compression system
JPH05183441A (en) Picture processor and its method
US6226445B1 (en) Image compression and expansion device
US6445870B1 (en) Image compression and expansion device
US20060146183A1 (en) Image processing apparatus, encoding device, and methods of same
JPH07312751A (en) Method and device for compressing and coding image data
JP3655734B2 (en) Image compression apparatus and image display apparatus
JPH0767032A (en) Image processor
JP3645689B2 (en) Image compression apparatus and quantization table creation apparatus
JPH0730763A (en) Image encoder and decoder for storage media
JP3392949B2 (en) Image compression device and image decompression device
JP3645690B2 (en) Image compression apparatus and camera

Legal Events

Date Code Title Description
AS Assignment

Owner name: ASAHI KOGAKU KOGYO KABUSHIKI KAISHA, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:ABE, NOBUAKI;REEL/FRAME:008776/0509

Effective date: 19970812

STCF Information on status: patent grant

Free format text: PATENTED CASE

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

FPAY Fee payment

Year of fee payment: 12

AS Assignment

Owner name: HOYA CORPORATION, JAPAN

Free format text: MERGER;ASSIGNOR:ASAHI KOGAKU KOGYO KABUSHIKI KAISHA;REEL/FRAME:026970/0621

Effective date: 20080331

AS Assignment

Owner name: PENTAX RICOH IMAGING COMPANY, LTD., JAPAN

Free format text: CORPORATE SPLIT;ASSIGNOR:HOYA CORPORATION;REEL/FRAME:027315/0115

Effective date: 20111003