JP5284771B2 - Image compression apparatus and image compression method - Google Patents

Image compression apparatus and image compression method Download PDF

Info

Publication number
JP5284771B2
JP5284771B2 JP2008328176A JP2008328176A JP5284771B2 JP 5284771 B2 JP5284771 B2 JP 5284771B2 JP 2008328176 A JP2008328176 A JP 2008328176A JP 2008328176 A JP2008328176 A JP 2008328176A JP 5284771 B2 JP5284771 B2 JP 5284771B2
Authority
JP
Japan
Prior art keywords
unit
orthogonal transform
orthogonal
orthogonal transformation
block
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 - Fee Related
Application number
JP2008328176A
Other languages
Japanese (ja)
Other versions
JP2010154074A (en
Inventor
薫 古藤田
佳月 道正
ゴロボロヂコ パブロ
Original Assignee
株式会社情報システム総合研究所
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 株式会社情報システム総合研究所 filed Critical 株式会社情報システム総合研究所
Priority to JP2008328176A priority Critical patent/JP5284771B2/en
Publication of JP2010154074A publication Critical patent/JP2010154074A/en
Application granted granted Critical
Publication of JP5284771B2 publication Critical patent/JP5284771B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、イメージセンサから入力された画像を非可逆圧縮する、画像圧縮装置、および画像圧縮方法に関する。   The present invention relates to an image compression apparatus and an image compression method for irreversibly compressing an image input from an image sensor.

画像の圧縮方式としてはJPEG(Joint Photographic Experts Group)方式が一般的に知られている。   A JPEG (Joint Photographic Experts Group) method is generally known as an image compression method.

図5は、JPEG方式の画像圧縮装置の概略構成を示すブロック図である。JPEGでは、まず、画像データメモリ11に保存されたフレーム画像を、ブロック化部20Aにより、8×8(横8画素×縦8ライン)等の所定のブロックサイズの画像入力データを画像データメモリ等から読み出しブロック化する。   FIG. 5 is a block diagram showing a schematic configuration of a JPEG image compression apparatus. In JPEG, first, a frame image stored in the image data memory 11 is converted into image input data such as 8 × 8 (8 horizontal pixels × 8 vertical lines) by a block forming unit 20A. To read block.

図6は、画像データのブロック化の例を示す図である。図に示すように、画像入力データの最初の8ライン(ライン0〜ライン7)の開始8画素(画素0〜画素7)をブロック0として処理し、次に画素8から画素15のブロックをブロック1として処理を行う。ここで、この例では1ラインがn×8画素(nは整数)から構成されているとする。このとき、次の8ライン(ライン8〜ライン15)の開始8画素をブロックnとして処理する。   FIG. 6 is a diagram illustrating an example of image data blocking. As shown in the figure, the first 8 lines (pixel 0 to pixel 7) of the first 8 lines (line 0 to line 7) of the image input data are processed as block 0, and then the block of pixels 8 to 15 is blocked. Processing is performed as 1. In this example, it is assumed that one line is composed of n × 8 pixels (n is an integer). At this time, the start 8 pixels of the next 8 lines (line 8 to line 15) are processed as a block n.

次にブロック化されたデータを、図5に示す二次元直交変換部30Aにより空間周波数データに変換する。直交変換としてはJPEGでは二次元DCT(Discrete Cosine Transfer)を使用する。さらにこの空間周波数データを量子化部40Aにより所望の量子化パラメータで除算を行い有効数字を削減する。そして、量子化部40Aにより削減された量子化結果に対し、エントロピー符号化部50Aでは発生頻度の高いデータを短い符号長に割り当てる変換を行っている。   Next, the blocked data is converted into spatial frequency data by the two-dimensional orthogonal transform unit 30A shown in FIG. As orthogonal transform, JPEG uses two-dimensional DCT (Discrete Cosine Transfer). Further, the spatial frequency data is divided by a desired quantization parameter by the quantization unit 40A to reduce the effective number. Then, the entropy encoding unit 50A performs conversion for assigning data having a high occurrence frequency to a short code length for the quantization result reduced by the quantization unit 40A.

以上の構成により、画像入力データの非可逆圧縮を行っている。この場合に、前述の量子化パラメータを変更し、除算量を多くすることにより、より有効数字を削減し、高い圧縮率を実現することができる。しかし、JPEGでは圧縮率を高くする場合、伸張時にブロック間の画像の差異が大きくなるブロック歪みが発生する。この様な課題に対し、従来技術の符号化データ処理装置に示されるように、二次元直交変換部30Aに重複直交変換(LOT)を用いる方法が提案されている(例えば、特許文献1を参照)。   With the above configuration, lossy compression of image input data is performed. In this case, by changing the above-described quantization parameter and increasing the amount of division, it is possible to further reduce the effective number and realize a high compression rate. However, in JPEG, when the compression rate is increased, block distortion occurs in which the difference in image between blocks increases during expansion. For such a problem, as shown in the prior art encoded data processing apparatus, a method using overlapping orthogonal transform (LOT) in the two-dimensional orthogonal transform unit 30A has been proposed (see, for example, Patent Document 1). ).

重複直交変換を用いた圧縮方式においても、装置の基本構成はJPEGの場合と同様に図5に示す構成となる。重複直交変換方式では、隣接するブロックがそれぞれ重複した領域を持つ様にブロック化し圧縮を行う。   Also in the compression method using overlapping orthogonal transform, the basic configuration of the apparatus is the configuration shown in FIG. 5 as in the case of JPEG. In the overlapped orthogonal transformation method, blocks are compressed so that adjacent blocks have overlapping regions.

図7は、重複直交変換におけるブロック化の例を示す図である。図7(A)が水平方向(ラスタスキャン方向に平行な方向)に重複する例である。この場合、ブロック0では最初の16ラインの16画素(画素0〜画素15)のデータがブロック化される。次に隣接するブロック1では8画素分ずらし画素8から画素23のデータがブロック化される。すなわち、8画素分(画素8〜画素15)が重複している。同様にブロック1と隣接するブロック2(図示せず)についても8画素ずつ重複する。   FIG. 7 is a diagram illustrating an example of blocking in the overlapping orthogonal transform. FIG. 7A shows an example in which they overlap in the horizontal direction (direction parallel to the raster scan direction). In this case, in block 0, the data of the first 16 lines of 16 pixels (pixel 0 to pixel 15) are blocked. Next, in the adjacent block 1, the data from the pixel 8 to the pixel 23 is shifted into blocks by 8 pixels. That is, 8 pixels (pixel 8 to pixel 15) overlap. Similarly, a block 2 (not shown) adjacent to the block 1 also overlaps by 8 pixels.

次に、図7(B)は、垂直方向に重複する例を示している。この場合、ブロック0に隣接するブロックnは、8ライン分ずらしたライン8からライン23のデータがブロック化される。水平方向と同様に、8ライン分(ライン8〜ライン15)が重複する。   Next, FIG. 7B shows an example of overlapping in the vertical direction. In this case, in the block n adjacent to the block 0, the data of the line 23 from the line 8 shifted by 8 lines is blocked. Similar to the horizontal direction, eight lines (line 8 to line 15) overlap.

次に、図8に、水平および垂直の重複直交変換処理の例を示す。図8(A)に水平方向の重複直交変換処理の例を示す。前述の様にブロック0とブロックnは重複して処理が行われる。これらのそれぞれのブロックに対し直交変換処理を行う。この時、16×16(16画素×16ライン)に対し水平方向直交変換を行った結果は16×8のブロックとなる。   Next, FIG. 8 shows an example of horizontal and vertical overlapping orthogonal transform processing. FIG. 8A shows an example of horizontal orthogonal orthogonal transform processing. As described above, block 0 and block n are processed in an overlapping manner. An orthogonal transformation process is performed on each of these blocks. At this time, the result of performing horizontal orthogonal transformation on 16 × 16 (16 pixels × 16 lines) is a 16 × 8 block.

図8(B)に垂直方向の重複直交変換の処理を示す。水平方向と同様にブロック0とブロック1は重複して処理が行われる。それぞれのブロックの16×8の画素データに対し直交変換処理を行い、8×8サイズの結果データが得られる。なお、伸張時にはそれぞれのブロックが16×16画素の画像となり、重複部分を重畳することによりブロックノイズの無い画像を出力することができる。   FIG. 8B shows a process of overlapping orthogonal transformation in the vertical direction. Similar to the horizontal direction, the block 0 and the block 1 are processed in an overlapping manner. Orthogonal transformation processing is performed on the 16 × 8 pixel data of each block to obtain 8 × 8 result data. When decompressing, each block becomes an image of 16 × 16 pixels, and an image without block noise can be output by superimposing overlapping portions.

図9に、前述の特許文献1において開示されている重複直交変換を用いる二次元直交変換部30Aのブロック図を示す。この二次元直交変換部30Aにおける処理動作を、図10に示すタイミングチャートを参照して説明する。   FIG. 9 shows a block diagram of a two-dimensional orthogonal transform unit 30A using overlapping orthogonal transform disclosed in Patent Document 1 described above. The processing operation in the two-dimensional orthogonal transform unit 30A will be described with reference to the timing chart shown in FIG.

この例では、重複直交変換のブロックサイズ(16ライン)のライン数を1ブロックラインとして、重複直交変換はブロックライン単位で処理する構成となっている。   In this example, the number of lines of the block size (16 lines) of the overlapping orthogonal transform is set as one block line, and the overlapping orthogonal transform is processed in units of block lines.

まず、前段のブロック化部20Aから二次元DCT部31Aに対し、ブロックライン0のデータが入力され、二次元DCT部31Aでは、ブロックライン0について、DCT処理を行い、処理結果を一次元重複直交変換部32Aに入力する(ステップS101)。一次元重複直交変換部32Aでは、水平方向の圧縮処理を行い(ステップS102)、その結果をバッファメモリAに書き込む(ステップS103)。   First, block line 0 data is input from the preceding block forming unit 20A to the two-dimensional DCT unit 31A, and the two-dimensional DCT unit 31A performs DCT processing on the block line 0 and converts the processing result into a one-dimensional overlapping orthogonal. The data is input to the conversion unit 32A (step S101). The one-dimensional overlapping orthogonal transform unit 32A performs a horizontal compression process (step S102), and writes the result in the buffer memory A (step S103).

次に、二次元DCT部31Aにブロックライン1のデータが入力され、二次元DCT部31Aでは、ブロックライン1について、DCT処理を行い、処理結果を一次元重複直交変換部32Aに入力する(ステップS111)。一次元重複直交変換部32Aでは、水平方向の圧縮処理を行い(ステップS112)、その結果をバッファメモリBに書き込む(ステップS113)。   Next, the data of the block line 1 is input to the two-dimensional DCT unit 31A, and the two-dimensional DCT unit 31A performs DCT processing on the block line 1, and inputs the processing result to the one-dimensional overlapping orthogonal transform unit 32A (step). S111). The one-dimensional overlapping orthogonal transform unit 32A performs horizontal compression processing (step S112) and writes the result in the buffer memory B (step S113).

次に、一次元重複直交変換部32Aは、バッファメモリAに保存されたブロックライン0の水平処理結果のデータを読み出し(ステップS121)、また、バッファメモリBに保存されたブロックライン1の水平処理結果のデータを読み出し(ステップS122)、これらのデータに対し垂直方向の直交変換処理を行い(ステップS123)、その処理結果を量子化部40Aに出力する。   Next, the one-dimensional overlapping orthogonal transform unit 32A reads the data of the horizontal processing result of the block line 0 stored in the buffer memory A (step S121), and the horizontal processing of the block line 1 stored in the buffer memory B The resulting data is read (step S122), orthogonal transformation processing in the vertical direction is performed on these data (step S123), and the processing result is output to the quantization unit 40A.

続いて、二次元DCT部31Aにブロックライン2のデータが入力され、二次元DCT部31Aでは、ブロックライン2について、DCT処理を行い、処理結果を一次元重複直交変換部32Aに入力する(ステップS131)。一次元重複直交変換部32Aでは、水平方向の圧縮処理を行い(ステップS132)、その結果をバッファメモリAに書き込む(ステップS133)。   Subsequently, the data of the block line 2 is input to the two-dimensional DCT unit 31A, and the two-dimensional DCT unit 31A performs DCT processing on the block line 2 and inputs the processing result to the one-dimensional overlapping orthogonal transform unit 32A (step) S131). The one-dimensional overlapping orthogonal transform unit 32A performs horizontal compression processing (step S132), and writes the result in the buffer memory A (step S133).

次に、一次元重複直交変換部32Aは、バッファメモリAに保存されたブロックライン2の水平処理結果のデータを読み出し(ステップS141)、また、バッファメモリBに保存されたブロックライン1の水平処理結果のデータを読み出し(ステップS142)、これらのデータに対し垂直方向の直交変換処理を行い(ステップS143)、その処理結果を量子化部40Aに出力する。   Next, the one-dimensional overlapping orthogonal transform unit 32A reads the horizontal processing result data of the block line 2 stored in the buffer memory A (step S141), and the horizontal processing of the block line 1 stored in the buffer memory B The resulting data is read (step S142), orthogonal transformation processing in the vertical direction is performed on these data (step S143), and the processing result is output to the quantization unit 40A.

以上の処理動作を繰り返すことにより、図8に示す従来の二次元直交変換部30Aでは、入力画像データに対して、二次元重複直交変換を実行している。
特開平04−227163号公報
By repeating the above processing operation, the conventional two-dimensional orthogonal transform unit 30A shown in FIG. 8 performs two-dimensional overlapping orthogonal transform on the input image data.
Japanese Patent Laid-Open No. 04-227163

ところで、前述した特許文献1の従来技術の装置では、水平と垂直の重複直交変換処理を行うにあたり、ライン長をnとするとブロックラインサイズ(16ライン)のバッファメモリ2面(16×n×2)を使用している。このため、バッファメモリサイズが大きくなるという問題があり、また、バッファメモリサイズが大きいため、画像圧縮装置における消費電力が増大するという問題があった。   By the way, in the above-described prior art apparatus of Patent Document 1, when performing the horizontal and vertical overlapped orthogonal transform processing, if the line length is n, the buffer memory 2 surface (16 × n × 2) having a block line size (16 lines). ) Is used. For this reason, there is a problem that the buffer memory size becomes large, and since the buffer memory size is large, there is a problem that power consumption in the image compression apparatus increases.

また、一次元重複直交変換部においては、水平処理(横方向の圧縮処理)と、垂直処理(縦方向の圧縮処理)とを交互に、1ラインごと、または1列ごとに行っており、その分演算速度が低下するという問題があった。   In the one-dimensional overlapping orthogonal transform unit, horizontal processing (horizontal compression processing) and vertical processing (vertical compression processing) are alternately performed for each line or for each column. There was a problem that the minute calculation speed decreased.

本発明は、上記問題点に鑑みなされたものであり、本発明の第1の目的は、直交変換演算において使用されるバッファメモリ(直交変換演算の中間結果を保持するメモリのサイズ)を低減することができる、画像圧縮装置および画像圧縮方法を提供することにある。   The present invention has been made in view of the above problems, and a first object of the present invention is to reduce a buffer memory (a size of a memory that holds an intermediate result of an orthogonal transformation operation) used in an orthogonal transformation operation. An object of the present invention is to provide an image compression apparatus and an image compression method.

また、本発明の第2の目的は、重複直交変換部における垂直処理(縦方向の圧縮処理)と、水平処理(横方向の圧縮処理)とを並行に行うことにより、直交変換演算の速度を向上させることができる画像圧縮装置を提供することにある。   The second object of the present invention is to perform the orthogonal transform operation speed by performing the vertical processing (vertical compression processing) and the horizontal processing (horizontal compression processing) in the overlapping orthogonal transform unit in parallel. An object of the present invention is to provide an image compression apparatus that can be improved.

本発明は、上記課題を解決するためになされたものであり、本発明の画像圧縮装置は、
ラスタスキャンされた画像入力データをラスタスキャンの方向に対して垂直方向と水平方向の2段階に分けて重複直交変換を行うために、前記画像入力データに対し重複直交変換を行う所定のブロックサイズを、前記水平方向の重複量である1/2のブロックサイズとなるブロック単位に分割するブロック化部と、前記ブロック単位の画像入力データに対し、前記直方向に重複直交変換演算を行い、演算結果を記憶部に保存する第1の直交変換部と、前記第1の直交変換部による演算結果を前記記憶部から読み出し、前記水平方向に重複直交変換演算を行う第2の直交変換部と、を有し、前記記憶部は、前記水平方向および前記垂直方向のサイズが、前記所定のブロックサイズに対し、それぞれ前記重複量である1/2のブロックサイズとなる3個の分割記憶部から構成され、前記第1の直交変換部は、前記垂直方向に重複直交変換演算を行った演算結果を前記3個の分割記憶部のいずれかに予め定めた順序で保存し、前記第2の直交変換部は、前記第1の直交変換部が前記垂直方向に重複直交変換演算を行うのと並行して、前記3個の分割記憶部のうち前記第1の直交変換部が演算結果を保存する分割記憶部とは別の2個の分割記憶部から前記第1の直交変換部による演算結果を読み出し、前記水平方向に重複直交変換演算を行うこと、を特徴とする。
The present invention has been made to solve the above-described problems, and an image compression apparatus according to the present invention includes:
In order to perform overlapping orthogonal transformation by dividing the raster-scanned image input data into two steps of the vertical direction and the horizontal direction with respect to the raster scanning direction, a predetermined block size for performing the overlapping orthogonal transformation on the image input data is set. a blocking unit for dividing the block unit to be 1/2 of the block size which is the amount of overlap of the horizontal direction, the image input data of the block unit, performs a lapped orthogonal transform operation to said vertical rectangular direction, a first orthogonal transformation unit for storing the operation result in the storage unit, the reading from the first said storage unit a calculation result of the orthogonal transform unit, the second orthogonal transformation unit for performing an overlapping orthogonal transform operation on the horizontal direction If has, the storage unit, the size of the horizontal direction and the vertical direction, the for a given block size, half of the block size respectively the overlap amount And the first orthogonal transform unit outputs a result of performing the orthogonal orthogonal transform operation in the vertical direction in a predetermined order in any of the three divided storage units. The second orthogonal transform unit stores the first orthogonal transform unit among the three divided storage units in parallel with the first orthogonal transform unit performing the overlapping orthogonal transform operation in the vertical direction. The conversion unit reads out the calculation result by the first orthogonal transformation unit from two division storage units different from the division storage unit in which the calculation result is stored, and performs the overlapping orthogonal transformation calculation in the horizontal direction. To do.

また、本発明の画像圧縮方法は、ラスタスキャンされた画像入力データをラスタスキャンの方向に対して垂直方向と水平方向の2段階で重複直交変換を行うために、前記画像入力データに対し重複直交変換を行う所定のブロックサイズを、前記水平方向の重複量である1/2のブロックサイズとなるブロック化手順と、前記ブロック単位の画像入力データに対し、前記直方向に重複直交変換演算を行い、演算結果を記憶部に保存する第1の直交変換手順と、前記第1の直交変換手順による演算結果を前記記憶部から読み出し、前記水平方向に重複直交変換演算を行う第2の直交変換手順と、が画像圧縮装置内の制御部により行われ、前記記憶部は、前記水平方向および前記垂直方向のサイズが、前記所定のブロックサイズに対し、それぞれ前記重複量である1/2のブロックサイズとなる3個の分割記憶部から構成され、前記第1の直交変換手順は、前記垂直方向に重複直交変換演算を行った演算結果を前記3個の分割記憶部のいずれかに予め定めた順序で保存し、前記第2の直交変換手順は、前記第1の直交変換手順で前記垂直方向に重複直交変換演算を行うのと並行して、前記3個の分割記憶部のうち前記第1の直交変換手順で演算結果を保存する分割記憶部とは別の2個の分割記憶部から前記第1の直交変換手順による演算結果を読み出し、前記水平方向に重複直交変換演算を行うこと、を特徴とする。 The image compression method of the present invention, in order to perform the lapped orthogonal transform in two stages in the vertical direction and the horizontal direction image input data that is raster scanned with respect to the direction of raster scan, lapped orthogonal to said image input data the predetermined block size for conversion, the horizontal direction of the overlap amount is a half of the block procedure as the block size, the the image input data in units of blocks, lapped orthogonal transform operation to said vertical rectangular direction It was carried out, the first orthogonal transformation to save the result to the storing unit, a calculation result by the first orthogonal transformation procedure read from said storage unit, a second performing overlapping orthogonal transform operation on the horizontal direction and orthogonal transformation procedures, but performed by the control unit in the image compression apparatus, wherein the storage unit, the size of the horizontal direction and the vertical direction, with respect to the predetermined block size, respectively It is composed of three divided storage units having a block size of ½, which is the amount of overlap, and the first orthogonal transform procedure is configured to calculate the result of performing the overlap orthogonal transform operation in the vertical direction. The second orthogonal transformation procedure is stored in one of the divided storage units in a predetermined order, and the 3rd orthogonal transformation procedure is performed in parallel with performing the orthogonal orthogonal transformation operation in the vertical direction in the first orthogonal transformation procedure. The calculation results of the first orthogonal transformation procedure are read out from two division storage units different from the division storage unit that stores the calculation results in the first orthogonal transformation procedure among the plurality of division storage units, and the horizontal direction And performing an orthogonal orthogonal transformation operation .

本発明の画像圧縮装置においては、ラスタスキャンされた画像入力データを、所定のブロック単位の画像データに分割する。そして、第1の直交変換部は、ラスタスキャンの方向と垂直な方向に、画像データに対しブロック単位で重複直交変換演算を行い、それぞれの演算結果を記憶部に保存する。第2の直交変換部は、第1の直交変換部における演算結果を記憶部から読み出し、ラスタスキャンの方向に対して水平方向に重複直交変換演算を行う。
これにより、直交変換演算において使用されるバッファメモリ(直交変換演算の中間結果を保持するメモリのサイズ)を低減することができる。このため、より小規模な構成の画像圧縮装置を実現することができる。
In the image compression apparatus of the present invention, raster-scanned image input data is divided into image data in predetermined block units. The first orthogonal transform unit performs overlapping orthogonal transform operations on the image data in units of blocks in a direction perpendicular to the raster scan direction, and stores the results of the respective operations in the storage unit. The second orthogonal transform unit reads the calculation result in the first orthogonal transform unit from the storage unit, and performs overlapped orthogonal transform computation in the horizontal direction with respect to the raster scan direction.
As a result, the buffer memory used in the orthogonal transform operation (the size of the memory holding the intermediate result of the orthogonal transform operation) can be reduced. For this reason, an image compression apparatus having a smaller configuration can be realized.

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

図1は、本発明の実施の形態に係る画像圧縮装置の構成を示すブロック図である。
図1に示す画像圧縮装置1においては、ラスタスキャンによる画像入力データを、以後のブロック単位の処理を行うために、一旦ブロックラインメモリ10に蓄えている。その他の基本構成は前述した図5に示す従来技術の画像圧縮装置1Aと同様である。
FIG. 1 is a block diagram showing a configuration of an image compression apparatus according to an embodiment of the present invention.
In the image compression apparatus 1 shown in FIG. 1, image input data by raster scanning is temporarily stored in the block line memory 10 in order to perform subsequent block unit processing. Other basic configurations are the same as those of the conventional image compression apparatus 1A shown in FIG.

すなわち、図1に示す本発明の画像圧縮装置1においては、ブロック化部20は、ラスタスキャンによる画像データを、所定の単位で水平および垂直方向に区切り、所定のブロック単位でブロック化する。   That is, in the image compression apparatus 1 of the present invention shown in FIG. 1, the blocking unit 20 divides the image data obtained by raster scanning into horizontal and vertical directions in a predetermined unit and blocks the data in predetermined blocks.

二次元直交変換部30は、ブロック単位の画像データを周波数領域のデータに変換するする。この二次元直交変換部30の詳細については後述する。量子化部40は、二次元直交変換部30における直交変換の結果を所定の量子化パラメータにより有効数字を削減する処理を行う。エントロピー符号化部50は、量子化部40により算出した量子化結果を発生頻度の高いデータを短い符号長に割り当てる変換を行っている。   The two-dimensional orthogonal transform unit 30 transforms block unit image data into frequency domain data. Details of the two-dimensional orthogonal transform unit 30 will be described later. The quantization unit 40 performs a process of reducing significant figures from the result of the orthogonal transformation in the two-dimensional orthogonal transformation unit 30 using a predetermined quantization parameter. The entropy encoding unit 50 performs conversion by assigning frequently generated data to a short code length for the quantization result calculated by the quantization unit 40.

また、制御部60は、CPU等を含み、画像圧縮装置1内の各部の処理動作を統括して所望の処理動作を行わせるための制御部である。   The control unit 60 includes a CPU and the like, and is a control unit that controls a processing operation of each unit in the image compression apparatus 1 to perform a desired processing operation.

図2は、二次元直交変換部30の構成例を示す図である。図2に示すように、二次元直交変換部30は、垂直重複直交変換処理部31と、中間メモリ部32と、水平重複直交変換処理部33とで構成される。   FIG. 2 is a diagram illustrating a configuration example of the two-dimensional orthogonal transform unit 30. As shown in FIG. 2, the two-dimensional orthogonal transform unit 30 includes a vertical overlap orthogonal transform processing unit 31, an intermediate memory unit 32, and a horizontal overlap orthogonal transform processing unit 33.

この二次元直交変換部30おいては、ブロック化部20から入力されるブロック化された画像データに対し、初段の垂直重複直交変換処理部31により垂直方向(ラスタースキャン方向と垂直の方向)に重複直交変換処理を行い、この結果を中間メモリ部32内の中間メモリ0,1,2に蓄える。そして、水平重複直交変換処理部33では、中間メモリ部32上に保存された垂直方向の重複直交変換結果のデータ(中間メモリ0,1,2に保存されたデータ)に対して水平方向の重複直交変換処理を行う。そして、重複直交変換演算結果を、次段の量子化部40に出力する。   In the two-dimensional orthogonal transform unit 30, the blocked image data input from the blocking unit 20 is vertically processed (in a direction perpendicular to the raster scan direction) by the vertical overlap orthogonal transform processing unit 31 in the first stage. The overlap orthogonal transform process is performed, and the result is stored in the intermediate memories 0, 1 and 2 in the intermediate memory unit 32. The horizontal overlap orthogonal transform processing unit 33 then overlaps in the horizontal direction with respect to the data of the vertical overlap orthogonal transform result stored in the intermediate memory unit 32 (data stored in the intermediate memories 0, 1, and 2). Perform orthogonal transform processing. Then, the overlapped orthogonal transformation calculation result is output to the quantization unit 40 at the next stage.

この画像圧縮装置1では、画像入力データとして1ブロック(16画素×16ライン)に対し、重複直交変換を行うことにより、8×8データの変換結果を得ている。   The image compression apparatus 1 obtains a conversion result of 8 × 8 data by performing overlapping orthogonal transformation on one block (16 pixels × 16 lines) as image input data.

このために、画像圧縮装置1内のブロック化部20では、重複直交変換を行うブロックサイズに対し、その水平方向の重複量である1/2のブロックサイズ(8画素×16ライン)の単位で処理を行うようにブロック化する。以下、1/2サイズのブロック(8画素×16ライン)をハーフブロックと呼ぶ。図2では、3つのハーフブロック0,1,2を例示している。   For this reason, the block forming unit 20 in the image compression apparatus 1 has a block size (8 pixels × 16 lines) of ½ that is the amount of overlap in the horizontal direction with respect to the block size to be subjected to overlapping orthogonal transformation. Block to process. Hereinafter, a half-size block (8 pixels × 16 lines) is referred to as a half block. In FIG. 2, three half blocks 0, 1, and 2 are illustrated.

図3は、二次元直交変換部30における処理動作を説明するためのタイミングチャートである。以下、図2のブロック図と、図3のタイミングチャートを参照して二次元直交変換部30における処理動作について説明する。   FIG. 3 is a timing chart for explaining the processing operation in the two-dimensional orthogonal transform unit 30. The processing operation in the two-dimensional orthogonal transform unit 30 will be described below with reference to the block diagram of FIG. 2 and the timing chart of FIG.

図3に示すタイミングチャートにおいて、二次元直交変換部30は、前段のブロック化部20からハーフブロック0(8画素×16ライン)の画像を入力する(ステップS11)。垂直重複直交変換処理部31はハーフブロック0の画像データに対し、直交変換処理を行い(ステップS12)、8×8データとして中間メモリ0に格納する(ステップS13)。   In the timing chart shown in FIG. 3, the two-dimensional orthogonal transform unit 30 inputs an image of half block 0 (8 pixels × 16 lines) from the preceding block forming unit 20 (step S <b> 11). The vertical overlap orthogonal transform processing unit 31 performs orthogonal transform processing on the image data of the half block 0 (step S12) and stores it in the intermediate memory 0 as 8 × 8 data (step S13).

次に、前段のブロック化部20はハーフブロック1(8画素×16ライン)の画像データを入力する(ステップS21)。垂直重複直交変換処理部31は、ハーフブロック0と同様に、ハーフブロック1の画像データに対して直交変換処理を行い(ステップS22)、8×8データとして中間メモリ1に格納する(ステップS23)。   Next, the preceding block forming unit 20 inputs the image data of the half block 1 (8 pixels × 16 lines) (step S21). Similarly to the half block 0, the vertical overlap orthogonal transform processing unit 31 performs an orthogonal transform process on the image data of the half block 1 (step S22), and stores it in the intermediate memory 1 as 8 × 8 data (step S23). .

更に前段のブロック化部20は、ハーフブロック2の画像を入力する(ステップS31)。垂直重複直交変換処理部は、ハーフブロック2(8画素×16ライン)の画像データに対して直交変換処理を行い(ステップS32)、8×8データとして中間メモリ2(ステップS35)に格納する。   Further, the preceding block forming unit 20 inputs the image of the half block 2 (step S31). The vertical overlap orthogonal transform processing unit performs orthogonal transform processing on the image data of the half block 2 (8 pixels × 16 lines) (step S32), and stores it in the intermediate memory 2 (step S35) as 8 × 8 data.

一方、垂直重複直交変換処理部31がハーフブロック2の処理(ステップS31,S32,S35)を行うのと並行して、水平重複直交変換処理部33は中間メモリ0からハーフブロック0の処理結果のデータを読み出し(ステップS33)、中間メモリ1からハーフブロック1の処理結果のデータを読み出し(ステップS34)、水平重複直交変換処理部33は1ブロック(ハーフブロック0+ハーフブロック1)のデータ(16画素×8ライン)として直交変換処理を行う(ステップS36)。これにより、16×8のデータが8×8のデータに圧縮される。   On the other hand, in parallel with the vertical overlap orthogonal transform processing unit 31 performing the processing of the half block 2 (steps S31, S32, S35), the horizontal overlap orthogonal transform processing unit 33 converts the processing result of the half block 0 from the intermediate memory 0. The data is read (step S33), the data of the processing result of half block 1 is read from the intermediate memory 1 (step S34), and the horizontal overlap orthogonal transform processing unit 33 is 1 block (half block 0 + half block 1) data (16 pixels). Orthogonal transformation processing is performed for (× 8 lines) (step S36). As a result, 16 × 8 data is compressed into 8 × 8 data.

次に、垂直重複直交変換処理部31は、ハーフブロック3の画像データを入力し(ステップS41)、ハーフブロック3の画像データに対して直交変換処理を行い(ステップS42)、8×8データとして中間メモリ0に格納する(ステップS43)。   Next, the vertical overlap orthogonal transform processing unit 31 inputs the image data of the half block 3 (step S41), performs orthogonal transform processing on the image data of the half block 3 (step S42), and obtains 8 × 8 data. Store in the intermediate memory 0 (step S43).

そして、垂直重複直交変換処理部31がハーフブロック3の直交変換処理(ステップS41,S42,S43)を行うのと並行して、水平重複直交変換処理部33は中間メモリ1から再びハーフブロック1を読み出し(ステップS44)、中間メモリ2からハーフブロック2のデータを読み出し(ステップS45)、1ブロック(ハーフブロック1+ハーフブロック2)のデータ(16画素×8ライン)として直交変換処理を行う(ステップS46)。これにより、16×8のデータが8×8のデータに圧縮される。   In parallel with the vertical overlap orthogonal transform processing unit 31 performing the orthogonal transform processing (steps S41, S42, and S43) of the half block 3, the horizontal overlap orthogonal transform processing unit 33 converts the half block 1 from the intermediate memory 1 again. Read (step S44), read data of half block 2 from the intermediate memory 2 (step S45), and perform orthogonal transform processing as data (16 pixels × 8 lines) of 1 block (half block 1 + half block 2) (step S46) ). As a result, 16 × 8 data is compressed into 8 × 8 data.

上記処理を繰り返すことにより、1画像分の画像データに対して、1ブロック(16画素×16ライン)に対し、重複直交変換を行うことにより、8×8データの変換結果を得ている。   By repeating the above-described processing, 8 × 8 data conversion results are obtained by performing overlapped orthogonal transformation on one block (16 pixels × 16 lines) of image data for one image.

また、図4は、二次元直交変換部30におけるデータ処理の流れを示す図である。
図4に示すように、垂直重複直交変換処理部31では、ラスタ方向と水平な方向(図上で横方向)にハーフブロック(8画素×16ライン)のサイズで分割されたデータに対し、垂直方向に直交変換演算処理を行い(ステップS51)、8×8のデータとして中間メモリに格納する(ステップS52)。
FIG. 4 is a diagram illustrating a flow of data processing in the two-dimensional orthogonal transform unit 30.
As shown in FIG. 4, the vertical overlap orthogonal transformation processing unit 31 performs vertical processing on data divided in a half block (8 pixels × 16 lines) size in the horizontal direction (horizontal direction in the figure) with the raster direction. An orthogonal transformation calculation process is performed in the direction (step S51), and the data is stored in the intermediate memory as 8 × 8 data (step S52).

次に、水平重複直交変換処理部33では、中間メモリ0,1,2上の隣接する2つのデータ(16×8のデータ)を読み出して、水平方向に直交変換演算処理を行う(ステップS53)。この場合に、図に示すように、8×8のデータが順次に重複されるように2つのデータが読み出され、水平方向に直交変換演算処理が行われる。そして、この水平重複直交変換演算処理においては、オーバラップ部の垂直重複直交変換結果を再利用することができる。このため、重複直交変換処理における演算量を低減することができる。   Next, the horizontal overlap orthogonal transform processing unit 33 reads two adjacent data (16 × 8 data) on the intermediate memories 0, 1, 2 and performs orthogonal transform operation processing in the horizontal direction (step S53). . In this case, as shown in the drawing, two pieces of data are read out so that 8 × 8 data are sequentially overlapped, and an orthogonal transformation calculation process is performed in the horizontal direction. In this horizontal overlap orthogonal transform calculation process, the vertical overlap orthogonal transform result of the overlap portion can be reused. For this reason, it is possible to reduce the amount of calculation in the overlapping orthogonal transform process.

この水平重複直交変換演算処理により、水平重複直交変換演算処理の結果(8×8のデータ)が得られ(ステップS54)、この演算結果が量子化部40に出力される。   As a result of the horizontal overlap orthogonal transform calculation process, a result of the horizontal overlap orthogonal transform calculation process (8 × 8 data) is obtained (step S54), and the calculation result is output to the quantization unit 40.

このように、本実施の形態の画像圧縮装置1では、中間メモリ部32に保存されるデータは、ブロックライン単位(16×8)ではなく、ハーフブロック単位(8×8)となる。このため、前述した図8に示す従来装置のメモリ容量(バッファメモリの容量、16×8×2面)に対して、本実施の形態の場合はメモリ容量(中間メモリの容量、8×8×3面)を低減することができる。   Thus, in the image compression apparatus 1 according to the present embodiment, the data stored in the intermediate memory unit 32 is not in block line units (16 × 8) but in half block units (8 × 8). For this reason, in the case of the present embodiment, the memory capacity (intermediate memory capacity, 8 × 8 × 2 ×) is compared to the memory capacity (buffer memory capacity, 16 × 8 × 2 plane) of the conventional device shown in FIG. 3 planes) can be reduced.

また、水平方向のブロック間の重複部については、一旦算出した垂直重複直交変換処理の結果を用いる。すなわち、水平方向の重複直交変換を行う際に、中間メモリ部32から同一データを複数回読み出して直交変換演算を行うため、この部分については新たに演算する必要がなく、演算量の削減が可能となる。また、さらに、垂直重複直交変換処理と水平重複直交変換処理とを並行して行うことができるため、演算速度を向上させることができる。   For the overlapping portion between the blocks in the horizontal direction, the result of the vertical overlapping orthogonal transformation process once calculated is used. That is, when performing horizontal orthogonal orthogonal transformation, the same data is read out from the intermediate memory unit 32 a plurality of times and orthogonal transformation computation is performed, so there is no need to newly compute this portion, and the amount of computation can be reduced. It becomes. Furthermore, since the vertical overlap orthogonal transform process and the horizontal overlap orthogonal transform process can be performed in parallel, the calculation speed can be improved.

なお、図2に示す中間メモリ部32では、3つの中間メモリを使用した例を示しているが、図9に示す従来技術の二次元直交変換部と同様に、2つの中間メモリ0,1のみとし、さらにメモリ容量を削減することもできる。   2 shows an example in which three intermediate memories are used. However, only the two intermediate memories 0 and 1 are used as in the conventional two-dimensional orthogonal transform unit shown in FIG. In addition, the memory capacity can be further reduced.

この場合は、まず、垂直重複直交変換処理部31により、ハーフブロック0,1のそれぞれに対して垂直方向に重複直交変換演算処理を行い、2つの中間メモリ0,1に処理結果を保存した後に、この垂直重複直交変換処理部31は一旦処理を中断する。そして、水平重複直交変換処理部33により、2つの中間メモリ0,1に保存された垂直方向の処理結果を利用して水平方向に重複直交変換演算処理を行う。   In this case, first, the vertical duplication orthogonal transformation processing unit 31 performs duplication orthogonal transformation calculation processing in the vertical direction for each of the half blocks 0 and 1, and after storing the processing results in the two intermediate memories 0 and 1 The vertical overlap orthogonal transform processing unit 31 temporarily stops processing. The horizontal overlapping orthogonal transform processing unit 33 performs overlapping orthogonal transform calculation processing in the horizontal direction using the processing results in the vertical direction stored in the two intermediate memories 0 and 1.

この後に、水平重複直交変換処理部33は一旦処理を中断し、垂直重複直交変換処理部31では、ハーフブロック2に対して垂直方向に重複直交変換演算処理を行い、中間メモリ0に処理結果を保存した後に、この垂直重複直交変換処理部31は一旦処理を中断する。そして、水平重複直交変換処理部33により、2つの中間メモリ0,1に保存された垂直方向の処理結果(ハーフブロック1とハーフブロック2の処理結果)を利用して水平方向(横方向)に水平重複直交変換演算処理を行う。   Thereafter, the horizontal overlap orthogonal transform processing unit 33 temporarily stops the process, and the vertical overlap orthogonal transform processing unit 31 performs overlap orthogonal transform calculation processing on the half block 2 in the vertical direction, and stores the processing result in the intermediate memory 0. After saving, the vertical overlap orthogonal transform processing unit 31 temporarily stops the processing. Then, the horizontal overlap orthogonal transform processing unit 33 uses the vertical processing results (processing results of the half block 1 and the half block 2) stored in the two intermediate memories 0 and 1 in the horizontal direction (lateral direction). Performs horizontal overlap orthogonal transformation calculation processing.

上記処理手順を繰り返し、1画像分の画像データの圧縮処理を行うことができる。この場合は、従来技術の場合と比較して中間メモリ部のメモリサイズを大幅に低減することができるが、中間メモリを2つとするため、垂直重複直交変換処理部31と水平重複直交変換処理部33とに休止期間が生じ、中間メモリを3つ使用する場合に比べて演算処理速度が低下する。   By repeating the above processing procedure, the image data for one image can be compressed. In this case, the memory size of the intermediate memory unit can be greatly reduced as compared with the case of the prior art, but since the number of intermediate memories is two, the vertical overlap orthogonal transform processing unit 31 and the horizontal overlap orthogonal transform processing unit 33, a pause period occurs, and the calculation processing speed is reduced as compared with the case where three intermediate memories are used.

以上、本発明の実施の形態について説明したが、上述した実施の形態の各構成は、当然、各種の変形、変更が可能である。例えば、ブロックサイズや重複サイズは16画素および8画素に限定されるものではない。   As mentioned above, although embodiment of this invention was described, various deformation | transformation and a change are naturally possible for each structure of embodiment mentioned above. For example, the block size and overlap size are not limited to 16 pixels and 8 pixels.

なお、上述した実施の形態において、前述の第1の直交変換部は、図2に示す垂直重複直交変換処理部31が相当する。また、前述の記憶部は中間メモリ部(中間メモリ0,1,2)32が相当する。また、前述の第2の直交変換部は水平重複直交変換処理部33が相当する。   In the above-described embodiment, the first orthogonal transform unit described above corresponds to the vertical overlap orthogonal transform processing unit 31 illustrated in FIG. The storage unit described above corresponds to the intermediate memory unit (intermediate memory 0, 1, 2) 32. The second orthogonal transform unit described above corresponds to the horizontal overlap orthogonal transform processing unit 33.

そして、本実施の形態の画像圧縮装置1は、ラスタスキャンされた画像データを、所定のブロック単位の画像データに分割するブロック化部20と、ラスタスキャンされた画像データを、ラスタスキャンの方向に対して垂直な方向に所定のブロック単位で重複直交変換演算を行い、演算結果を中間メモリ部32に保存する垂直重複直交変換処理部31と、垂直重複直交変換処理部31による演算結果を中間メモリ部32から読み出し、ラスタスキャンの方向に対して水平方向に重複直交変換演算を行う水平重複直交変換処理部33と、を有して構成される。   The image compression apparatus 1 according to the present embodiment includes a blocking unit 20 that divides raster-scanned image data into image data in predetermined block units, and raster-scanned image data in the raster scan direction. On the other hand, a vertical orthogonal orthogonal transform processing unit 31 that performs an overlapping orthogonal transform operation in a predetermined block unit in a vertical direction and stores the operation result in the intermediate memory unit 32, and an operation result by the vertical overlapping orthogonal transform processing unit 31 in the intermediate memory A horizontal overlapping orthogonal transformation processing unit 33 that reads out from the unit 32 and performs overlapping orthogonal transformation calculation in the horizontal direction with respect to the raster scan direction.

これにより、図9に示す従来の装置と比較して、より小規模のバッファメモリにより直交変換処理を行うことができる。このため、画像圧縮装置の回路の規模を低減できると共に、画像圧縮装置における消費電力を低減することができる。また、垂直重複直交変換処理部31と水平重複直交変換処理部33とは同時に並行して処理を行うことができるため、演算速度を向上させることができる。   Thereby, compared with the conventional apparatus shown in FIG. 9, orthogonal transformation processing can be performed with a smaller buffer memory. For this reason, the scale of the circuit of the image compression apparatus can be reduced, and power consumption in the image compression apparatus can be reduced. In addition, since the vertical overlap orthogonal transform processing unit 31 and the horizontal overlap orthogonal transform processing unit 33 can perform processing in parallel at the same time, the calculation speed can be improved.

以上、本発明の実施の形態について説明したが、上述の画像圧縮装置1は内部にコンピュータシステムを有している。そして、画像圧縮装置1を構成する各処理部は専用のハードウェアにより実現されるものであってもよく、また、各処理部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによりその機能を実現させるものであってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。   Although the embodiments of the present invention have been described above, the above-described image compression apparatus 1 has a computer system therein. Each processing unit constituting the image compression apparatus 1 may be realized by dedicated hardware, and a program for realizing the function of each processing unit is recorded on a computer-readable recording medium. Then, the program recorded on the recording medium may be read into a computer system and executed to realize the function. Here, the “computer system” includes an OS and hardware such as peripheral devices.

また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。   The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system.

以上、本発明の実施の形態について説明したが、本発明の画像圧縮装置は、上述の図示例にのみ限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。   Although the embodiment of the present invention has been described above, the image compression apparatus of the present invention is not limited to the above illustrated example, and various modifications can be made without departing from the scope of the present invention. Of course.

本発明の実施の形態に係わる画像圧縮装置の構成を示す図である。It is a figure which shows the structure of the image compression apparatus concerning embodiment of this invention. 二次元直交変換部の構成例を示す図である。It is a figure which shows the structural example of a two-dimensional orthogonal transformation part. 二次元直交変換部における処理動作を説明するためのタイミングチャートである。It is a timing chart for demonstrating the processing operation in a two-dimensional orthogonal transformation part. 二次元直交変換部におけるデータ処理の流れを示す図である。It is a figure which shows the flow of the data processing in a two-dimensional orthogonal transformation part. JPEG方式の画像圧縮装置の概略構成を示す図である。It is a figure which shows schematic structure of the image compression apparatus of a JPEG system. 画像データのブロック化の例を示す図である。It is a figure which shows the example of blocking of image data. 重複直交変換におけるブロック化の例を示す図である。It is a figure which shows the example of blocking in overlap orthogonal transformation. 水平および垂直の重複直交変換処理について説明するための図である。It is a figure for demonstrating the horizontal and orthogonal overlap orthogonal transformation process. 従来技術の重複直交変換を用いる二次元直交変換部の構成を示す図である。It is a figure which shows the structure of the two-dimensional orthogonal transformation part using the overlapping orthogonal transformation of a prior art. 図9に示す二次元直交変換部における処理動作を示すタイミングチャートである。10 is a timing chart showing processing operations in the two-dimensional orthogonal transform unit shown in FIG. 9.

符号の説明Explanation of symbols

1,1A・・・画像圧縮装置、10・・・ブロックラインメモリ、11・・・画像データメモリ、20、20A・・・ブロック化部、30,30A・・・二次元直交変換部、31・・・垂直重複直交変換処理部、31A・・・二次元DCT部、32・・・中間メモリ部、32A・・・一次元重複直交変換部、33・・・水平重複直交変換処理部、40,40A・・・量子化部、50,50A・・・エントロピー符号化部 DESCRIPTION OF SYMBOLS 1,1A ... Image compression apparatus, 10 ... Block line memory, 11 ... Image data memory, 20, 20A ... Blocking part, 30, 30A ... Two-dimensional orthogonal transformation part, 31. .. Vertical overlapping orthogonal transformation processing unit, 31A ... Two-dimensional DCT unit, 32 ... Intermediate memory unit, 32A ... One-dimensional overlapping orthogonal transformation unit, 33 ... Horizontal overlapping orthogonal transformation processing unit, 40, 40A: quantization unit, 50, 50A: entropy coding unit

Claims (2)

ラスタスキャンされた画像入力データをラスタスキャンの方向に対して垂直方向と水平方向の2段階に分けて重複直交変換を行うために、前記画像入力データに対し重複直交変換を行う所定のブロックサイズを、前記水平方向の重複量である1/2のブロックサイズとなるブロック単位に分割するブロック化部と、
前記ブロック単位の画像入力データに対し、前記直方向に重複直交変換演算を行い、演算結果を記憶部に保存する第1の直交変換部と、
前記第1の直交変換部による演算結果を前記記憶部から読み出し、前記水平方向に重複直交変換演算を行う第2の直交変換部と、
を有し、
前記記憶部は、前記水平方向および前記垂直方向のサイズが、前記所定のブロックサイズに対し、それぞれ前記重複量である1/2のブロックサイズとなる3個の分割記憶部から構成され、
前記第1の直交変換部は、前記垂直方向に重複直交変換演算を行った演算結果を前記3個の分割記憶部のいずれかに予め定めた順序で保存し、
前記第2の直交変換部は、前記第1の直交変換部が前記垂直方向に重複直交変換演算を行うのと並行して、前記3個の分割記憶部のうち前記第1の直交変換部が演算結果を保存する分割記憶部とは別の2個の分割記憶部から前記第1の直交変換部による演算結果を読み出し、前記水平方向に重複直交変換演算を行うこと、
を特徴とする画像圧縮装置。
In order to perform overlapping orthogonal transformation by dividing the raster-scanned image input data into two steps of the vertical direction and the horizontal direction with respect to the raster scanning direction, a predetermined block size for performing the overlapping orthogonal transformation on the image input data is set. a blocking unit for dividing the block unit to be 1/2 of the block size the a redundant amount of horizontal,
The image input data of the block unit, performs a lapped orthogonal transform operation to said vertical rectangular direction, a first orthogonal transformation unit for storing the operation result in the storage unit,
Read the operation result by the first orthogonal transformation unit from the storage unit, a second orthogonal transformation unit for performing an overlapping orthogonal transform operation on the horizontal Direction,
Have
The storage unit is composed of three divided storage units in which the horizontal and vertical sizes are each ½ the block size that is the overlap amount with respect to the predetermined block size,
The first orthogonal transform unit stores a computation result obtained by performing an overlapped orthogonal transform computation in the vertical direction in one of the three divided storage units in a predetermined order;
The second orthogonal transform unit includes the first orthogonal transform unit that includes the three orthogonal storage units in parallel with the first orthogonal transform unit performing the overlapping orthogonal transform operation in the vertical direction. Reading out the calculation result by the first orthogonal transform unit from two divided storage units different from the divided storage unit for storing the calculation result, and performing an overlapping orthogonal transform operation in the horizontal direction;
An image compression apparatus characterized by the above.
ラスタスキャンされた画像入力データをラスタスキャンの方向に対して垂直方向と水平方向の2段階で重複直交変換を行うために、前記画像入力データに対し重複直交変換を行う所定のブロックサイズを、前記水平方向の重複量である1/2のブロックサイズとなるブロック化手順と、
前記ブロック単位の画像入力データに対し、前記直方向に重複直交変換演算を行い、演算結果を記憶部に保存する第1の直交変換手順と、
前記第1の直交変換手順による演算結果を前記記憶部から読み出し、前記水平方向に重複直交変換演算を行う第2の直交変換手順と、
が画像圧縮装置内の制御部により行われ
前記記憶部は、前記水平方向および前記垂直方向のサイズが、前記所定のブロックサイズに対し、それぞれ前記重複量である1/2のブロックサイズとなる3個の分割記憶部から構成され、
前記第1の直交変換手順は、前記垂直方向に重複直交変換演算を行った演算結果を前記3個の分割記憶部のいずれかに予め定めた順序で保存し、
前記第2の直交変換手順は、前記第1の直交変換手順で前記垂直方向に重複直交変換演算を行うのと並行して、前記3個の分割記憶部のうち前記第1の直交変換手順で演算結果を保存する分割記憶部とは別の2個の分割記憶部から前記第1の直交変換手順による演算結果を読み出し、前記水平方向に重複直交変換演算を行うこと、
を特徴とする画像圧縮方法。
In order to perform overlapped orthogonal transformation on raster scanned image input data in two stages in a vertical direction and a horizontal direction with respect to the direction of raster scanning, a predetermined block size for performing overlapped orthogonal transformation on the image input data , and block procedure which is 1/2 of the block size which is the amount of overlap in the horizontal direction,
The image input data of the block unit, performs a lapped orthogonal transform operation to said vertical rectangular direction, a first orthogonal transformation To save the result to the storage unit,
Read the operation result by the first orthogonal transformation procedure from the storage unit, and the second orthogonal transformation procedure for lapped orthogonal transform operation to said horizontal Direction,
Is performed by the control unit in the image compression apparatus ,
The storage unit is composed of three divided storage units in which the horizontal and vertical sizes are each ½ the block size that is the overlap amount with respect to the predetermined block size,
In the first orthogonal transform procedure, the operation result obtained by performing the overlapping orthogonal transform operation in the vertical direction is stored in a predetermined order in any of the three divided storage units,
The second orthogonal transformation procedure is the first orthogonal transformation procedure of the three divided storage units in parallel with performing the orthogonal orthogonal transformation operation in the vertical direction in the first orthogonal transformation procedure. Reading out the calculation result by the first orthogonal transformation procedure from two division storage units different from the division storage unit for storing the calculation result, and performing the overlapping orthogonal transformation calculation in the horizontal direction,
An image compression method characterized by the above.
JP2008328176A 2008-12-24 2008-12-24 Image compression apparatus and image compression method Expired - Fee Related JP5284771B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008328176A JP5284771B2 (en) 2008-12-24 2008-12-24 Image compression apparatus and image compression method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008328176A JP5284771B2 (en) 2008-12-24 2008-12-24 Image compression apparatus and image compression method

Publications (2)

Publication Number Publication Date
JP2010154074A JP2010154074A (en) 2010-07-08
JP5284771B2 true JP5284771B2 (en) 2013-09-11

Family

ID=42572672

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008328176A Expired - Fee Related JP5284771B2 (en) 2008-12-24 2008-12-24 Image compression apparatus and image compression method

Country Status (1)

Country Link
JP (1) JP5284771B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101633239B1 (en) 2011-06-08 2016-06-23 코닌클리즈케 케이피엔 엔.브이. Spatially-segmented content delivery

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3102113B2 (en) * 1990-12-21 2000-10-23 カシオ計算機株式会社 Electronic camera
US20090034623A1 (en) * 2005-07-15 2009-02-05 Matsushita Electric Industrial Co., Ltd. Image encoding device and image encoding method

Also Published As

Publication number Publication date
JP2010154074A (en) 2010-07-08

Similar Documents

Publication Publication Date Title
JPH11154228A (en) Image processor and its method
JP4831547B2 (en) Method for image compression and decompression acceleration
WO2009087783A1 (en) Data generator for coding, method of generating data for coding, decoder and decoding method
JP4772607B2 (en) Two-dimensional orthogonal transformation device, two-dimensional orthogonal transformation method, and imaging system
JP2000341689A (en) Wavelet inverse converting device and its method and wavelet decoding device and its method
JP5284771B2 (en) Image compression apparatus and image compression method
JP2007267123A (en) Moving image encoding apparatus
JP6384484B2 (en) PROCESS CONTROL DEVICE, PROCESS CONTROL METHOD, AND PROCESS CONTROL PROGRAM
JP5845202B2 (en) Image compression apparatus and image processing system
JP4109151B2 (en) Image processing device
JP6188344B2 (en) Scanning order generation apparatus, moving picture encoding apparatus, moving picture decoding apparatus, scanning order generation method, and program
JP4988623B2 (en) Image encoding apparatus and image decoding apparatus
JP2002101310A (en) Filter processing unit and method
JP4660698B2 (en) Image processing system and image processing program
JP2020088694A (en) Image processing apparatus and image processing method
JP2019110405A (en) Image coding device, control method of the same, and program
JP7451131B2 (en) Image encoding device, image encoding method, and program
JP2713930B2 (en) Image processing method
JP2006165699A (en) Image encoder and image encoding method
JP2010021892A (en) Motion vector search device and control method thereof, and moving image imaging apparatus
JP5194762B2 (en) Data compression device and data decompression device
JP4434974B2 (en) Data compression apparatus, data compression method, data compression program, and data expansion apparatus
JP5732765B2 (en) Image data decoding device
JP6223012B2 (en) Image coding apparatus and image coding method
JP4444480B2 (en) Filter processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111202

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20111202

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20111205

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20111202

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120918

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130416

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20130417

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20130425

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130514

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130530

R150 Certificate of patent or registration of utility model

Ref document number: 5284771

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D04