JP2006340163A - Image compression apparatus - Google Patents

Image compression apparatus Download PDF

Info

Publication number
JP2006340163A
JP2006340163A JP2005163971A JP2005163971A JP2006340163A JP 2006340163 A JP2006340163 A JP 2006340163A JP 2005163971 A JP2005163971 A JP 2005163971A JP 2005163971 A JP2005163971 A JP 2005163971A JP 2006340163 A JP2006340163 A JP 2006340163A
Authority
JP
Japan
Prior art keywords
image
thumbnail image
coefficient
thumbnail
jpeg
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.)
Withdrawn
Application number
JP2005163971A
Other languages
Japanese (ja)
Inventor
Takeshi Ko
全 顧
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.)
Kawasaki Microelectronics Inc
Original Assignee
Kawasaki Microelectronics Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kawasaki Microelectronics Inc filed Critical Kawasaki Microelectronics Inc
Priority to JP2005163971A priority Critical patent/JP2006340163A/en
Publication of JP2006340163A publication Critical patent/JP2006340163A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4084Scaling of whole images or parts thereof, e.g. expanding or contracting in the transform domain, e.g. fast Fourier transform [FFT] domain scaling

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image compression apparatus capable of easily generating a large-sized thumbnail picture while suppressing short a thumbnail image generation time. <P>SOLUTION: An original image A is divided into pixel blocks of 8×8 pixels by a blocking circuit 11, two-dimensional DCT processing is performed by a DCT processing circuit 12, and a quantized DCT coefficient is generated by a quantizer circuit 13. Quantized DCT coefficients are sequentially encoded in accordance with a Huffman coding scheme by a Huffman encoder 14 to produce a JPEG image D and based on a set of a plurality of coefficients, comprised of a DC coefficient and a predetermined low spatial frequency coefficient for each pixel block, over a plurality of pixel blocks for each pixel block, thumbnail image data representing a thumbnail image are edited and attached to a header of the JPEG image to produce a JPEG image B with thumbnail image. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、画像データを所定の画素ブロックごとに区切ったときの各画素ブロックについて、2次元DCT処理を含む画像圧縮処理を行なう画像圧縮装置に関する。   The present invention relates to an image compression apparatus that performs image compression processing including two-dimensional DCT processing on each pixel block when image data is divided into predetermined pixel blocks.

上述のような画像圧縮装置として、カラー静止画像を圧縮するJPEG(Joint Photographic Experts Group)アルゴリズムを採用した画像圧縮装置が知られている。一般に、このような画像圧縮装置では、カラー静止画像を圧縮してJPEG画像を生成するとともに、そのJPEG画像の検索等のために使用される、そのJPEG画像よりも縮小されたサイズのサムネイル画像を生成するということが行なわれている。   As an image compression apparatus as described above, an image compression apparatus employing a JPEG (Joint Photographic Experts Group) algorithm for compressing a color still image is known. In general, in such an image compression apparatus, a color still image is compressed to generate a JPEG image, and a thumbnail image having a size smaller than that of the JPEG image used for searching the JPEG image is generated. The generation is done.

図4は、従来の、JPEGアルゴリズムによる圧縮技術を採用した画像圧縮装置の構成を示す図である。   FIG. 4 is a diagram showing a configuration of a conventional image compression apparatus that employs a compression technique based on the JPEG algorithm.

図4に示す画像圧縮装置100は、カラー静止画像である元画像Aからサムネイル画像CおよびJPEG画像Dを生成して、それらサムネイル画像CおよびJPEG画像Dからなるサムネイル画像付JPEG画像Eを生成する装置である。この画像圧縮装置100で元画像Aからサムネイル画像Cを生成するには、サンプリング回路101で元画像Aをサンプリングして縮小画像Bを得、その縮小画像Bを表わす画像データを圧縮回路102で圧縮してサムネイル画像Cを生成する。   An image compression apparatus 100 shown in FIG. 4 generates a thumbnail image C and a JPEG image D from an original image A that is a color still image, and generates a JPEG image E with a thumbnail image composed of the thumbnail image C and the JPEG image D. Device. In order to generate the thumbnail image C from the original image A by the image compression device 100, the sampling circuit 101 samples the original image A to obtain a reduced image B, and the compression circuit 102 compresses the image data representing the reduced image B Thus, a thumbnail image C is generated.

また、この画像圧縮装置100で元画像AからJPEG画像Dを生成するには、ブロック化回路103で元画像Aを8×8画素の画素ブロックに分割し、DCT(離散コサイン変換)処理部104で2次元DCT処理を行なう。詳細には、この2次元DCT処理では、8×8画素の画素ブロックのうちの各行分の画素についての1次元DCT処理を行なって、水平方向空間周波数の1次元DCT係数を求めてメモリに書き込む。さらに、メモリに書き込まれた各列分の1次元DCT係数を読み出して各列分の1次元DCT係数についての1次元DCT処理を行なって最終的に2次元DCT係数を求めてメモリに書き込む。ここで、メモリに書き込まれた2次元DCT係数のマトリックスを構成する左上の要素(係数)は、入力された8×8画素ブロックのDC成分のレベルを表わし、右側ないし下側に進むほど、入力された8×8画素ブロックの、それぞれ横方向ないし縦方向の高空間周波数成分のレベルを表わす。   In order to generate the JPEG image D from the original image A by the image compression apparatus 100, the blocking circuit 103 divides the original image A into 8 × 8 pixel pixel blocks, and a DCT (discrete cosine transform) processing unit 104. 2D DCT processing is performed. More specifically, in this two-dimensional DCT process, a one-dimensional DCT process is performed on each row of pixels in an 8 × 8 pixel block, and a one-dimensional DCT coefficient of the horizontal spatial frequency is obtained and written to the memory. . Further, the one-dimensional DCT coefficient for each column written in the memory is read out, one-dimensional DCT processing is performed on the one-dimensional DCT coefficient for each column, and finally a two-dimensional DCT coefficient is obtained and written in the memory. Here, the upper left element (coefficient) constituting the matrix of the two-dimensional DCT coefficient written in the memory represents the level of the DC component of the input 8 × 8 pixel block, and the input proceeds as it goes to the right side or the lower side. The level of the high spatial frequency component in the horizontal direction or the vertical direction of each of the 8 × 8 pixel blocks is expressed.

次いで、量子化回路105は、2次元DCT係数のマトリックスを構成する要素を、予め用意された量子化テーブルの、対応する係数で割り算し、その割り算結果の整数部分のみを配列した量子化DCT係数を生成する。   Next, the quantization circuit 105 divides the elements constituting the matrix of the two-dimensional DCT coefficients by the corresponding coefficient of the quantization table prepared in advance, and the quantized DCT coefficient in which only the integer part of the division result is arranged. Is generated.

ハフマンエンコーダ106は、この量子化DCT係数を構成する各要素(各量子化DCT係数)を所定の順序でスキャンニングし、各量子化DCT係数を、ハフマン符号化方式に従って順次符号化することにより、JPEG画像Dを生成する。さらに、サムネイル画像CをJPEG画像Dのヘッダとして添付することにより、サムネイル画像付JPEG画像Eを生成する。尚、サムネイル画像Cの生成において、縮小画像Bを表わす画像データを圧縮するにあたり、ブロック化回路103,DCT処理部104,量子化回路105,ハフマンエンコーダ106を用いることにより、圧縮回路102を省くことができる。   The Huffman encoder 106 scans each element (each quantized DCT coefficient) constituting the quantized DCT coefficient in a predetermined order, and sequentially encodes each quantized DCT coefficient in accordance with the Huffman coding scheme. A JPEG image D is generated. Further, by attaching the thumbnail image C as a header of the JPEG image D, a JPEG image E with a thumbnail image is generated. In the generation of the thumbnail image C, the compression circuit 102 is omitted by using the blocking circuit 103, the DCT processing unit 104, the quantization circuit 105, and the Huffman encoder 106 when compressing the image data representing the reduced image B. Can do.

画像圧縮装置100で生成されたサムネイル画像付JPEG画像Eの伸張処理は、図5に示す画像伸張装置200で行なわれる。   The expansion process of the JPEG image E with thumbnail image generated by the image compression apparatus 100 is performed by the image expansion apparatus 200 shown in FIG.

図5は、従来の画像伸張装置の構成を示す図である。   FIG. 5 is a diagram showing a configuration of a conventional image expansion apparatus.

図5に示す画像伸張装置200では、サムネイル画像付JPEG画像EのうちのJPEG画像Dを、ハフマンデコーダ201でハフマン復号化方式に従って復号化処理を行なって量子化DCT係数を得、その量子化DCT係数を、逆量子化回路202で圧縮時と同じ量子化テーブルを用いて逆量子化して2次元DCT係数を得る。次いで、逆DCT処理部203で、2次元DCT係数を、前述したDCT処理部102で行なった2次元DCT処理とは逆の2次元DCT処理(2次元逆DCT処理)を行なって、8×8画素の画素ブロックを生成する。さらに、逆ブロック化回路204で8×8画素の画素ブロックのブロック化を解くことで伸張画像Fを生成する。また、サムネイル画像付JPEG画像Eのうちのサムネイル画像Cを、伸張回路205で伸張して伸張サムネイル画像Gを生成する。   In the image expansion apparatus 200 shown in FIG. 5, the JPEG image D of the JPEG image E with thumbnail image is decoded by the Huffman decoder 201 according to the Huffman decoding method to obtain a quantized DCT coefficient, and the quantized DCT The coefficient is inversely quantized by the inverse quantization circuit 202 using the same quantization table as that used for compression to obtain a two-dimensional DCT coefficient. Next, the inverse DCT processing unit 203 performs two-dimensional DCT processing (two-dimensional inverse DCT processing) opposite to the two-dimensional DCT processing performed by the DCT processing unit 102 described above to obtain 8 × 8. A pixel block of pixels is generated. Further, the deblocking circuit 204 generates a decompressed image F by unblocking the pixel block of 8 × 8 pixels. Also, the thumbnail image C of the JPEG image with thumbnail image E is expanded by the expansion circuit 205 to generate an expanded thumbnail image G.

尚、伸張サムネイル画像Gの生成にあたり、ハフマンデコーダ201,逆量子化回路202,逆DCT処理部203,逆ブロック化回路204を用いることにより、伸張回路205を省くことができる。   In generating the decompressed thumbnail image G, the decompression circuit 205 can be omitted by using the Huffman decoder 201, the inverse quantization circuit 202, the inverse DCT processing unit 203, and the inverse block circuit 204.

しかし、上述した図4に示す画像圧縮装置100では、サムネイル画像の生成にあたり、縮小画像を生成するためのサンプリング処理時間と、その縮小画像を表わす画像データを圧縮するための圧縮処理時間とが必要であり、従ってサムネイル画像Cの生成に長い時間が必要であるという問題がある。そこで、元画像を圧縮して生成したJPEG画像を表わすJPEG画像データのうちのDC成分を、サムネイル画像を表わすサムネイル画像データとすることで、サムネイル画像を迅速に生成する技術が提案されている(特許文献1参照)。
特開2004−180060号公報
However, in the image compression apparatus 100 shown in FIG. 4 described above, in order to generate a thumbnail image, sampling processing time for generating a reduced image and compression processing time for compressing image data representing the reduced image are required. Therefore, there is a problem that it takes a long time to generate the thumbnail image C. In view of this, there has been proposed a technique for quickly generating thumbnail images by using DC components in JPEG image data representing JPEG images generated by compressing original images as thumbnail image data representing thumbnail images ( Patent Document 1).
JP 2004-180060 A

ここで、特許文献1に提案された技術では、8×8画素の画素ブロックごとに区切ったときの各画素ブロックについて、8×8画素のDC成分をサムネイル画像を表わすサムネイル画像データとすることで、1/8のサイズのサムネイル画像を簡単に生成することができる。このように、特許文献1に提案された技術では、1/8のサイズのサムネイル画像を簡単に生成することができる。しかし、1/8のサイズのサムネイル画像よりも大きなサイズ(例えば1/4のサイズ)のサムネイル画像を生成しようとすると、この特許文献1に提案された技術では生成できない。   Here, in the technique proposed in Patent Document 1, for each pixel block when divided into pixel blocks of 8 × 8 pixels, an 8 × 8 pixel DC component is used as thumbnail image data representing a thumbnail image. , Thumbnail images having a size of 1/8 can be easily generated. Thus, with the technique proposed in Patent Document 1, it is possible to easily generate a thumbnail image having a size of 1/8. However, if an attempt is made to generate a thumbnail image having a size larger than a thumbnail image having a size of 1/8 (for example, a size of 1/4), the technology proposed in Patent Document 1 cannot generate the thumbnail image.

本発明は、上記事情に鑑み、サムネイル画像の生成時間を短く抑えたまま、サイズの大きなサムネイル画像を簡単に生成することができる画像圧縮装置を提供することを目的とする。   In view of the above circumstances, an object of the present invention is to provide an image compression apparatus that can easily generate a thumbnail image having a large size while keeping the generation time of the thumbnail image short.

上記目的を達成する本発明の画像圧縮装置は、画像データを所定の画素ブロックごとに区切ったときの各画素ブロックについて、2次元DCT処理を含む画像圧縮処理を行なう画像圧縮装置において、
上記画像圧縮処理により得られた各画素ブロックごとのDC係数および所定の低空間周波数係数の、複数の画素ブロックに亘る集合に基づいて、サムネイル画像を表わすサムネイル画像データを編集するサムネイル画像生成部を備えたことを特徴とする。
An image compression apparatus of the present invention that achieves the above object is an image compression apparatus that performs image compression processing including two-dimensional DCT processing on each pixel block when image data is divided into predetermined pixel blocks.
A thumbnail image generation unit that edits thumbnail image data representing a thumbnail image based on a set of a DC coefficient and a predetermined low spatial frequency coefficient for each pixel block obtained by the image compression process over a plurality of pixel blocks. It is characterized by having.

従来の画像圧縮装置は、元画像を圧縮して生成したJPEG画像を表わすJPEG画像データのうちのDC成分を、サムネイル画像を表わすサムネイル画像データとすることで、サムネイル画像を迅速に生成することができるものの、1/8よりも大きなサイズのサムネイル画像を生成することは困難である。   A conventional image compression apparatus can quickly generate a thumbnail image by using the DC component of JPEG image data representing a JPEG image generated by compressing an original image as thumbnail image data representing a thumbnail image. Although it is possible, it is difficult to generate a thumbnail image having a size larger than 1/8.

本発明の画像圧縮装置は、2次元DCT処理を含む画像圧縮処理により得られた各画素ブロックごとのDC係数および所定の低空間周波数係数の、複数の画像領域に亘る集合に基づいて、サムネイル画像を表わすサムネイル画像データを編集するものであるため、例えば、元画像を圧縮して生成したJPEG画像データのうちのDC成分およびそのDC成分以外の所定のAC成分を用いて簡単にサムネイル画像データを生成することができる。従って、サムネイル画像の生成時間を短く抑えたまま、サイズの大きなサムネイル画像を簡単に生成することができる。   The image compression apparatus according to the present invention is a thumbnail image based on a set of a DC coefficient and a predetermined low spatial frequency coefficient for each pixel block obtained by an image compression process including a two-dimensional DCT process over a plurality of image areas. Therefore, for example, the thumbnail image data can be easily converted using the DC component of the JPEG image data generated by compressing the original image and a predetermined AC component other than the DC component. Can be generated. Accordingly, it is possible to easily generate a large thumbnail image while keeping the generation time of the thumbnail image short.

ここで、上記サムネイル画像生成部が、上記画像圧縮処理により得られた、各画素ブロックごとのDC係数およびそのDC係数に隣接する3つの低空間周波数係数からなる4つの係数の、複数の画素ブロックに亘る集合に基づいて、サムネイル画像を表わすサムネイル画像データを編集するものであることが好ましい。   Here, the thumbnail image generation unit obtains a plurality of pixel blocks of four coefficients including a DC coefficient for each pixel block obtained by the image compression process and three low spatial frequency coefficients adjacent to the DC coefficient. Preferably, the thumbnail image data representing the thumbnail image is edited based on the set over the range.

このようにすると、サムネイル画像の生成時間を短く抑えたまま、サイズの大きなサムネイル画像を精度よく且つ簡単に生成することができる。   In this way, it is possible to accurately and easily generate a large thumbnail image while keeping the thumbnail image generation time short.

本発明の画像圧縮装置によれば、サムネイル画像の生成時間を短く抑えたまま、サイズの大きなサムネイル画像を簡単に生成することができる。   According to the image compression apparatus of the present invention, it is possible to easily generate a large thumbnail image while keeping the generation time of the thumbnail image short.

以下、図面を参照して本発明の実施の形態を説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は、本発明の一実施形態の画像圧縮装置の構成を示す図である。   FIG. 1 is a diagram showing a configuration of an image compression apparatus according to an embodiment of the present invention.

図1に示す画像圧縮装置10は、画像データを所定の画素ブロックごとに区切ったときの各画素ブロックについて、2次元DCT処理を含む画像圧縮処理を行なう画像圧縮装置である。   An image compression apparatus 10 illustrated in FIG. 1 is an image compression apparatus that performs image compression processing including two-dimensional DCT processing on each pixel block when image data is divided into predetermined pixel blocks.

この画像圧縮装置10で元画像Aからサムネイル画像付JPEG画像Bを生成するには、ブロック化回路11で元画像Aを8×8画素の画素ブロックに分割し、DCT(離散コサイン変換)処理部12で2次元DCT処理を行ない、2次元DCT係数を求めてメモリに書き込む。   In order to generate a JPEG image B with a thumbnail image from the original image A by the image compression apparatus 10, the blocking circuit 11 divides the original image A into 8 × 8 pixel pixel blocks, and a DCT (discrete cosine transform) processing unit The two-dimensional DCT processing is performed at 12, and a two-dimensional DCT coefficient is obtained and written in the memory.

量子化回路13は、2次元DCT係数のマトリックスを構成する要素を、予め用意された量子化テーブルTの対応する係数で割り算し、その割り算結果の整数部分のみを配列した量子化DCT係数を生成する。   The quantization circuit 13 divides the elements constituting the matrix of the two-dimensional DCT coefficient by the corresponding coefficient of the quantization table T prepared in advance, and generates a quantized DCT coefficient in which only the integer part of the division result is arranged. To do.

ハフマンエンコーダ14は、この量子化DCT係数を構成する各要素(各量子化DCT係数)を所定の順序でスキャンニングし、各量子化DCT係数を、ハフマン符号化方式に従って順次符号化することにより、JPEG画像Dを生成する。また、このハフマンエンコーダ14は、本発明にいうサムネイル画像生成部の役割を担うものであり、各画素ブロックごとのDC係数および所定の低空間周波数係数の、複数の画素ブロックに亘る集合に基づいて、サムネイル画像を表わすサムネイル画像データを編集する。例えば、各画素ブロックごとのDC係数およびそのDC係数に隣接する3つの低空間周波数係数からなる4つの係数の、複数の画像領域に亘る集合に基づいて、サムネイル画像を表わすサムネイル画像データを編集する。以下、図2を参照して説明する。   The Huffman encoder 14 scans each element (each quantized DCT coefficient) constituting the quantized DCT coefficient in a predetermined order, and sequentially encodes each quantized DCT coefficient according to the Huffman coding scheme. A JPEG image D is generated. The Huffman encoder 14 plays a role of a thumbnail image generation unit according to the present invention, and is based on a set of a DC coefficient for each pixel block and a predetermined low spatial frequency coefficient over a plurality of pixel blocks. The thumbnail image data representing the thumbnail image is edited. For example, the thumbnail image data representing a thumbnail image is edited based on a set of four coefficients including a DC coefficient for each pixel block and three low spatial frequency coefficients adjacent to the DC coefficient over a plurality of image areas. . Hereinafter, a description will be given with reference to FIG.

図2は、1/4の縮小サイズのサムネイル画像データを編集する様子を示す図である。   FIG. 2 is a diagram showing a state in which thumbnail image data having a reduced size of 1/4 is edited.

図2の左側には、ある1つの画素ブロックのDC係数(DC成分)およびそのDC係数に隣接する複数の低空間周波数係数(AC1成分,AC2成分,AC3成分,AC4成分,AC5成分等)からなるDCT係数が示されている。ハフマンエンコーダ14は、図2に示す矢印方向にジグザグスキャンして上記DC成分,AC1成分,AC2成分,AC4成分を取得し、以下に示す演算を行なってイメージ(0,0),(0,1),(1,0),(1,1)を算出する。   The left side of FIG. 2 shows a DC coefficient (DC component) of a certain pixel block and a plurality of low spatial frequency coefficients (AC1, AC2, AC3, AC4, AC5, etc.) adjacent to the DC coefficient. The DCT coefficient is shown. The Huffman encoder 14 performs zigzag scanning in the direction of the arrow shown in FIG. 2 to obtain the DC component, AC1 component, AC2 component, and AC4 component, and performs the following calculation to obtain images (0, 0), (0, 1 ), (1, 0), (1, 1).

イメージ(0,0)=1/2(DC+AC1+AC2+AC4)
イメージ(0,1)=1/2(DC−AC1+AC2−AC4)
イメージ(1,0)=1/2(DC+AC1−AC2−AC4)
イメージ(1,1)=1/2(DC−AC1−AC2+AC4)
このようにして、図2に示す、ある1つの画素ブロックのDC係数(DC成分)およびそのDC係数に隣接する3つの低空間周波数係数(AC1成分,AC2成分,AC4成分)からなる4つの係数に基づいて、サムネイル画像データであるイメージ(0,0),(0,1),(1,0),(1,1)を得る。以下、同様にして、各画素ブロックごとのDC係数およびそのDC係数に隣接する3つの低空間周波数係数からなる4つの係数の、複数の画素ブロックに亘る集合に基づいて、サムネイル画像を表わすサムネイル画像データを編集する。さらに、このサムネイル画像をJPEG画像のヘッダに添付してサムネイル画像付JPEG画像Bを生成する。
Image (0,0) = 1/2 (DC + AC1 + AC2 + AC4)
Image (0,1) = 1/2 (DC-AC1 + AC2-AC4)
Image (1,0) = 1/2 (DC + AC1-AC2-AC4)
Image (1,1) = 1/2 (DC-AC1-AC2 + AC4)
In this way, four coefficients including the DC coefficient (DC component) of one pixel block and three low spatial frequency coefficients (AC1, AC2, and AC4 components) adjacent to the DC coefficient shown in FIG. Based on the above, images (0, 0), (0, 1), (1, 0), (1, 1) which are thumbnail image data are obtained. Hereinafter, similarly, a thumbnail image representing a thumbnail image based on a set of four coefficients including a DC coefficient for each pixel block and three low spatial frequency coefficients adjacent to the DC coefficient over a plurality of pixel blocks. Edit the data. Further, the thumbnail image-attached JPEG image B is generated by attaching the thumbnail image to the header of the JPEG image.

本実施形態の画像圧縮装置10は、2次元DCT処理を含む画像圧縮処理により得られた各画素ブロックごとのDC係数およびそのDC係数に隣接する3つの低空間周波数係数からなる、各画素ブロックごとに4つの係数の複数の画素ブロックに亘る集合に基づいて、サムネイル画像を表わすサムネイル画像データを編集するものである。このため、従来の、サムネイル画像を生成する技術と比較し、サムネイル画像の生成時間を短く抑えたまま、サイズの大きなサムネイル画像を精度よく且つ簡単に生成することができる。   The image compression apparatus 10 according to the present embodiment includes a DC coefficient for each pixel block obtained by an image compression process including a two-dimensional DCT process and three low spatial frequency coefficients adjacent to the DC coefficient for each pixel block. The thumbnail image data representing the thumbnail image is edited based on a set of four coefficients over a plurality of pixel blocks. Therefore, it is possible to accurately and easily generate a thumbnail image having a large size while keeping the generation time of the thumbnail image short as compared with the conventional technology for generating a thumbnail image.

図3は、図1に示す画像圧縮装置で得られたサムネイル画像付JPEG画像を伸長する画像伸張装置の構成を示す図である。   FIG. 3 is a diagram illustrating a configuration of an image expansion apparatus that expands the JPEG image with thumbnail image obtained by the image compression apparatus illustrated in FIG.

図3に示す画像伸張装置20では、サムネイル画像付JPEG画像Bを構成するJPEG画像B1およびサムネイル画像B2の双方がハフマンデコーダ21に入力される。ハフマンデコーダ21は、入力されたJPEG画像B1をハフマン復号化方式に従って復号化処理を行なって量子化DCT係数を得、その量子化DCT係数を、逆量子化回路22で圧縮時と同じ量子化テーブルを用いて逆量子化して2次元DCT係数を求める。次いで、逆DCT処理部23で、2次元DCT係数を、前述したDCT処理部12で行なった2次元DCT処理とは逆の2次元DCT処理(2次元逆DCT処理)を行なって、8×8画素の画素ブロックを生成する。さらに、逆ブロック化回路24で8×8画素の画素ブロックのブロック化を解くことで伸張画像Cを生成する。   In the image expansion device 20 shown in FIG. 3, both the JPEG image B1 and the thumbnail image B2 constituting the JPEG image B with thumbnail image are input to the Huffman decoder 21. The Huffman decoder 21 performs a decoding process on the input JPEG image B1 according to the Huffman decoding method to obtain a quantized DCT coefficient, and the quantized DCT coefficient is quantized by the inverse quantization circuit 22 in the same quantization table as when compressed. The two-dimensional DCT coefficient is obtained by inverse quantization using. Next, the inverse DCT processing unit 23 performs two-dimensional DCT processing (two-dimensional inverse DCT processing) opposite to the two-dimensional DCT processing performed by the DCT processing unit 12 described above to obtain 8 × 8. A pixel block of pixels is generated. Further, the deblocking circuit 24 generates a decompressed image C by unblocking the 8 × 8 pixel block.

また、ハフマンデコーダ21は、入力されたサムネイル画像B2をハフマン復号化方式に従って復号化処理を行なって量子化DCT係数を得、その量子化DCT係数に基づいて、逆量子化機能および逆DCT処理機能を有する乗算器25で伸張して伸張サムネイル画像Dを生成する。このようにして、サムネイル画像付JPEG画像Bを構成するJPEG画像B1を伸張して伸張画像Cを生成するとともに、そのJPEG画像Bのヘッダに添付されたサムネイル画像B2を伸張して伸張サムネイル画像Dを生成する。   Further, the Huffman decoder 21 performs a decoding process on the input thumbnail image B2 according to the Huffman decoding method to obtain a quantized DCT coefficient, and an inverse quantization function and an inverse DCT processing function based on the quantized DCT coefficient. Is decompressed by a multiplier 25 having a decompressed thumbnail image D. In this way, the JPEG image B1 constituting the JPEG image B with thumbnail image is expanded to generate the expanded image C, and the thumbnail image B2 attached to the header of the JPEG image B is expanded to expand the thumbnail image D. Is generated.

本発明の一実施形態の画像圧縮装置の構成を示す図である。It is a figure which shows the structure of the image compression apparatus of one Embodiment of this invention. サムネイル画像を表わすサムネイル画像データを編集する様子を示す図である。It is a figure which shows a mode that the thumbnail image data showing a thumbnail image is edited. 図1に示す画像圧縮装置で得られたサムネイル画像付JPEG画像を伸長する画像伸張装置の構成を示す図である。It is a figure which shows the structure of the image expansion | extension apparatus which expand | extends the JPEG image with a thumbnail image obtained with the image compression apparatus shown in FIG. 従来の、JPEGアルゴリズムによる圧縮技術を採用した画像圧縮装置の構成を示す図である。It is a figure which shows the structure of the conventional image compression apparatus which employ | adopted the compression technique by a JPEG algorithm. 従来の画像伸張装置の構成を示す図である。It is a figure which shows the structure of the conventional image expansion apparatus.

符号の説明Explanation of symbols

10 画像圧縮装置
11 ブロック化回路
12 DCT処理部
13 量子化回路
14 ハフマンエンコーダ
20 画像伸長装置
21 ハフマンデコーダ
22 逆量子化回路
23 逆DCT処理部
24 逆ブロック化回路
25 乗算器
DESCRIPTION OF SYMBOLS 10 Image compression apparatus 11 Blocking circuit 12 DCT process part 13 Quantization circuit 14 Huffman encoder 20 Image decompression apparatus 21 Huffman decoder 22 Inverse quantization circuit 23 Inverse DCT process part 24 Inverse block formation circuit 25 Multiplier

Claims (2)

画像データを所定の画素ブロックごとに区切ったときの各画素ブロックについて、2次元DCT処理を含む画像圧縮処理を行なう画像圧縮装置において、
前記画像圧縮処理により得られた各画素ブロックごとのDC係数および所定の低空間周波数係数の、複数の画素ブロックに亘る集合に基づいて、サムネイル画像を表わすサムネイル画像データを編集するサムネイル画像生成部を備えたことを特徴とする画像圧縮装置。
In an image compression apparatus that performs image compression processing including two-dimensional DCT processing on each pixel block when image data is divided into predetermined pixel blocks,
A thumbnail image generator for editing thumbnail image data representing a thumbnail image based on a set of a plurality of pixel blocks of a DC coefficient and a predetermined low spatial frequency coefficient for each pixel block obtained by the image compression processing; An image compression apparatus comprising the image compression apparatus.
前記サムネイル画像生成部が、前記画像圧縮処理により得られた、各画素ブロックごとのDC係数および該DC係数に隣接する3つの低空間周波数係数からなる4つの係数の、複数の画素ブロックに亘る集合に基づいて、サムネイル画像を表わすサムネイル画像データを編集するものであることを特徴とする請求項1記載の画像圧縮装置。   The thumbnail image generation unit is a set over a plurality of pixel blocks, which is obtained by the image compression processing and includes four coefficients including a DC coefficient for each pixel block and three low spatial frequency coefficients adjacent to the DC coefficient. 2. The image compression apparatus according to claim 1, wherein thumbnail image data representing a thumbnail image is edited based on the image data.
JP2005163971A 2005-06-03 2005-06-03 Image compression apparatus Withdrawn JP2006340163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005163971A JP2006340163A (en) 2005-06-03 2005-06-03 Image compression apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005163971A JP2006340163A (en) 2005-06-03 2005-06-03 Image compression apparatus

Publications (1)

Publication Number Publication Date
JP2006340163A true JP2006340163A (en) 2006-12-14

Family

ID=37560289

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005163971A Withdrawn JP2006340163A (en) 2005-06-03 2005-06-03 Image compression apparatus

Country Status (1)

Country Link
JP (1) JP2006340163A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101024282B1 (en) 2009-10-30 2011-03-29 중앙대학교 산학협력단 Apparatus and method for image reproduction in compressed domain

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101024282B1 (en) 2009-10-30 2011-03-29 중앙대학교 산학협력단 Apparatus and method for image reproduction in compressed domain

Similar Documents

Publication Publication Date Title
US7215707B2 (en) Optimal scanning method for transform coefficients in coding/decoding of image and video
JP5620641B2 (en) Video encoding / decoding apparatus and method using adaptive scanning
CN107071419B (en) Image encoding apparatus and method, and image decoding apparatus and method
JP2935934B2 (en) Compressed moving image data generation method and decoding method
US8194989B2 (en) Method and apparatus for encoding and decoding image using modification of residual block
JP5456907B2 (en) Texture pattern adaptive division block transform
US20080025623A1 (en) Coding and Decoding Method and Apparatus Using Plural Scanning Patterns
JP4656912B2 (en) Image encoding device
JP2010251946A (en) Image encoding apparatus, method, and program, and image decoding apparatus, method, and program
JP2015019152A (en) Device, method and program for image coding, and device, method and program for image decoding
JP5015088B2 (en) Image processing apparatus, image processing method, computer program, and information recording medium
WO2020184229A1 (en) Image encoding device, image encoding method, and program
WO2007091588A1 (en) Dynamic image decoding device, decoded image recording device, their method, and program
WO2006046550A1 (en) Image encoding method and device, image decoding method, and device
JP2010136454A (en) Decoding method, decoding apparatus, program therefor and recording medium
JP2006340163A (en) Image compression apparatus
WO2020184227A1 (en) Image decoder, image decoding method, and program
JP2006101440A (en) Information processing apparatus and method
JP2006340300A (en) Signal processing method, signal processing apparatus, signal processing program and information recording medium
JPH06113291A (en) Picture coder and decoder
JP3590648B2 (en) Method of compressing original image data and method of expanding original image data
WO2017104010A1 (en) Moving-image coding apparatus and moving-image coding method
WO2020184223A1 (en) Image decoder, image decoding method, and program
JP2003219421A (en) Device and method for encoding/decoding image information, and program thereof
JP2007300657A (en) Image-decoding method and apparatus

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080805