JP2007235678A - Image code decoding apparatus - Google Patents

Image code decoding apparatus Download PDF

Info

Publication number
JP2007235678A
JP2007235678A JP2006056006A JP2006056006A JP2007235678A JP 2007235678 A JP2007235678 A JP 2007235678A JP 2006056006 A JP2006056006 A JP 2006056006A JP 2006056006 A JP2006056006 A JP 2006056006A JP 2007235678 A JP2007235678 A JP 2007235678A
Authority
JP
Japan
Prior art keywords
circuit
code
data
decoding
image
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.)
Pending
Application number
JP2006056006A
Other languages
Japanese (ja)
Inventor
Masahiro Kuwabara
昌広 桑原
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2006056006A priority Critical patent/JP2007235678A/en
Publication of JP2007235678A publication Critical patent/JP2007235678A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Color Television Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image code decoding apparatus capable of achieving acceleration without adding any large circuit or considerable correction to a conventional device and also without requiring a large memory size even if processing a large-sized image. <P>SOLUTION: This code decoding apparatus includes: a header decode circuit for inputting code data compressing image data and for decoding required data from a header included in a code; a color space data distribution circuit for distributing image data into data at each color space; an image decoding circuit for inputting data at each single color space and decoding the code; a color space data composing circuit for composing the data decoded at each single color space into all the color spaces; and a memory circuit for storing data, wherein a plurality of the image decoding circuits are provided in a plurality of kinds of color spaces and one memory circuit is provided at least at each image decoding circuit. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、連続画像処理を行う従来の符号復号装置に関する。   The present invention relates to a conventional code decoding apparatus that performs continuous image processing.

図4は、連続画像処理を行う従来の符号復号回路のブロック図である。以下では、連続画像処理の例としてJPEG2000を挙げて説明する。   FIG. 4 is a block diagram of a conventional code decoding circuit that performs continuous image processing. Hereinafter, JPEG2000 will be described as an example of continuous image processing.

JPEG2000の符号ストリームの構成は図5のように示される。先頭マーカーとして必須のSOC(Start Of Codstream)から始まるメインヘッダー、各タイルパートヘッダーの最初に必須であるSOT(Start Of Tile−part)から始まるタイルパートヘッダー、タイルパートビットストリーム、及び、終了マーカーとして必須であるEOC(End Of Codestream)から成っている。   The configuration of the JPEG 2000 code stream is shown in FIG. Main header starting from SOC (Start Of Codestream) required as the first marker, tile part header starting from SOT (Start Of Tile-part) required at the beginning of each tile part header, tile part bitstream, and end marker It consists of EOC (End Of Codestream) which is essential.

タイルパートビットストリームは、パケットヘッダーとパケットデータよりなる複数のパケットが、メインヘッダーで規定された順番(progression order)で並べられた構造である。JPEG2000では、以下の表1に示す5つの異なるプログレスオーダー(progression order)がサポートされている。   The tile part bitstream has a structure in which a plurality of packets each composed of a packet header and packet data are arranged in the order specified by the main header (progression order). JPEG2000 supports the five different progress orders shown in Table 1 below.

Figure 2007235678
Figure 2007235678

例えば、CPRL(Component−Position−Resolution level−Layer)のプログレスオーダーでは、ビットストリームが、図6に示すように構成される。   For example, in the progress order of CPRL (Component-Position-Resolution level-Layer), the bit stream is configured as shown in FIG.

以上のような符号ストリームを持つJPEG2000の復号化の流れを、次に説明する。図7は、従来のJPEG2000符号復号回路104’の概略のブロック図である。JPEG2000符号120’は、ヘッダーデコード回路106’に入力され、メインヘッダー、タイルパートヘッダー、パケットヘッダー部及びMQ符号に切り分けられる。ヘッダーからMQ符号を復号するための情報(サブバンド及びコードブロック内情報)がデコードされ、その情報を元に切り分けられたMQ符号がコードブロック順にメモリ112’内に格納される。MQ復号回路130’ではコードブロック単位で処理が行われるため、すべてのMQ符号はメモリ112’にコードブロック順で格納される(図8参照)。   The JPEG2000 decoding flow having the above code stream will be described next. FIG. 7 is a schematic block diagram of a conventional JPEG2000 code decoding circuit 104 '. The JPEG2000 code 120 'is input to the header decoding circuit 106', and is divided into a main header, a tile part header, a packet header part, and an MQ code. Information for decoding the MQ code from the header (subband and in-code block information) is decoded, and the MQ codes separated based on the information are stored in the memory 112 'in the order of the code blocks. Since processing is performed in units of code blocks in the MQ decoding circuit 130 ', all MQ codes are stored in the memory 112' in code block order (see FIG. 8).

メモリ112’に格納されたMQ符号は、コードブロック順でMQ復号回路130’に入力され、その結果ウェーブレット係数がメモリ112’に出力される(図9参照)。その際、出力されるウェーブレット係数は、コードブロック単位でメモリ112’に格納され、WT復号回路132’へはライン単位で出力される(図9参照)。   The MQ codes stored in the memory 112 'are input to the MQ decoding circuit 130' in code block order, and as a result, wavelet coefficients are output to the memory 112 '(see FIG. 9). At this time, the output wavelet coefficients are stored in the memory 112 'in units of code blocks, and are output in units of lines to the WT decoding circuit 132' (see FIG. 9).

ライン単位で入力されるウェーブレット係数は、WT復号回路132’で画像データ(YcbCr)に復号され、ライン単位でメモリ112’に格納される(図10参照)。逆色変換回路110’では入力された画像データを、以下の表2に示すような式を用いて逆可逆コンポーネント変換(Inverse−RCT)又は逆不可逆コンポーネント変換(Inverse−ICT)が行われる(図10参照)。逆色変換を行った後、逆色変換回路110’から画像データ(RGB)が出力される。   The wavelet coefficients input in line units are decoded into image data (YcbCr) by the WT decoding circuit 132 'and stored in the memory 112' in line units (see FIG. 10). In the reverse color conversion circuit 110 ′, the input image data is subjected to reverse reversible component conversion (Inverse-RCT) or reverse irreversible component conversion (Inverse-ICT) using an expression as shown in Table 2 below (FIG. 2). 10). After reverse color conversion, image data (RGB) is output from the reverse color conversion circuit 110 '.

Figure 2007235678
Figure 2007235678

従来の符号復号回路104’では、回路規模を小さくするために、コンポーネント毎に回路を持たず1つの回路ですべてのコンポーネントを順次復号する、という方式を採用している。従って、最終的に画像に復号する際に行う逆色変換をできるだけ時間の無駄無く行うには、全てのコンポーネントの情報が必要となる。即ち、図8、9、10に示す全コンポーネントの画像データをメモリ空間に格納しなければならない。   In order to reduce the circuit scale, the conventional code decoding circuit 104 'employs a system in which all components are sequentially decoded by one circuit without having a circuit for each component. Therefore, in order to perform reverse color conversion that is finally performed when decoding into an image without wasting time as much as possible, information on all components is required. That is, the image data of all components shown in FIGS. 8, 9, and 10 must be stored in the memory space.

今後、ハイビジョン画像等のサイズの大きな画像の復号処理を行う必要性が高くなる。しかし、従来の符号復号回路を用いてサイズの大きな画像の符号復号を行うと、データサイズの増加のため処理速度が遅くなり、期待されたような連続画像処理を実現できない可能性が生じ得る。   In the future, the necessity for decoding large images such as high-definition images will increase. However, when a large-size image is code-decoded using a conventional code-decoding circuit, the processing speed becomes slow due to an increase in data size, and there is a possibility that continuous image processing as expected cannot be realized.

図11に示すように、従来の符号復号回路4’を複数セット(図11では3セット)並列に並べて、連続画像処理速度を上げることが考えられる。確かに図11のようにすれば、複数フレームが並列に復号され符号復号装置全体として連続画像処理速度を上げることができる。しかし、符号復号装置に必要なメモリ量が符号復号回路4’を並列に並べた分増加し、メモリコストが大きく増加することになる。即ち、図11のように3セット並列に並べるならばメモリコストは3倍に増加する。つまり、従来の符号復号回路4’を用いてサイズの大きな画像の連続画像復号を行う場合、連続画像処理速度とメモリコストとは、トレードオフの関係になっていることがわかる。   As shown in FIG. 11, it is conceivable to increase the continuous image processing speed by arranging a plurality of sets (three sets in FIG. 11) of the conventional code decoding circuit 4 'in parallel. Indeed, if it is made like FIG. 11, a several frame is decoded in parallel and the continuous image processing speed can be raised as the whole code decoding apparatus. However, the amount of memory required for the code decoding apparatus increases as the code decoding circuits 4 'are arranged in parallel, and the memory cost greatly increases. That is, if three sets are arranged in parallel as shown in FIG. 11, the memory cost increases three times. That is, it can be seen that when continuous image decoding of a large image is performed using the conventional code decoding circuit 4 ', the continuous image processing speed and the memory cost are in a trade-off relationship.

なお、特許文献1は、符号化画像データを復号する復号ユニットと、規定時間内にその符号化画像データの復号が完了しない状勢になったとき以降の復号を簡略化処理に切り替える簡略化ユニットとを含むことを特徴とする画像復号装置を開示する。特許文献2は、画像データを周波数変換する周波数変換手段と、この周波数変換された係数をビットプレーン符号化するビットプレーン符号化手段と、このビットプレーン符号化後の符号を所定の符号量になるまで符号を破棄する符号破棄手段とを備える、画像データを圧縮符号化する画像符号化装置であって、前記符号破棄手段が、所定の第1の符号単位で前記破棄を行う第1の手段と、この第1の符号単位による破棄後に前記第1の符号単位より小さい第2の符号単位で前記破棄を必要に応じて行う第2の手段とを備えていることを特徴とする画像符号化装置を開示する。
特開2004−229314公報 特開2005−39793公報
Note that Patent Document 1 includes a decoding unit that decodes encoded image data, a simplified unit that switches the subsequent decoding to a simplified process when decoding of the encoded image data is not completed within a specified time, and An image decoding apparatus including the above is disclosed. Patent Document 2 discloses a frequency conversion unit that frequency-converts image data, a bit-plane encoding unit that performs bit-plane encoding on the frequency-converted coefficient, and a code amount after the bit-plane encoding has a predetermined code amount. An image coding apparatus that compresses and encodes image data, wherein the code discarding unit performs the discarding in a predetermined first code unit. And an image encoding apparatus comprising: second means for performing the discarding as necessary in a second code unit smaller than the first code unit after the discarding by the first code unit. Is disclosed.
JP 2004-229314 A JP 2005-39793 A

本発明は、ハイビジョン画像のようなサイズの大きな画像を処理する際にも、従来の符号復号装置に対して大きな回路及び大幅な修正を加えることなく、且つ、大きなメモリサイズを必要とせずに、処理高速化を実現できる装置を提供することを目的とする。   Even when processing a large image such as a high-definition image, the present invention does not require a large circuit and significant modification to a conventional code decoding device, and does not require a large memory size. An object of the present invention is to provide an apparatus capable of realizing high-speed processing.

本発明は、上記の目的を達成するために為されたものである。本発明に係る請求項1に記載の符号復号装置は、
画像データを圧縮した符号データを入力として、符号に含まれるヘッダーから必要なデータをデコードするヘッダーデコード回路と、
画像データを色空間毎のデータに振り分ける色空間データ振分回路と、
単一の色空間ごとのデータを入力として符号復号する画像復号回路と、
単一の色空間ごとに復号されたデータを全色空間に合成する色空間データ合成回路と、
データを格納するメモリ回路を含み、
上記画像復号回路は、複数種類の色空間のために複数設けられ、上記メモリ回路は各画像復号回路に対して少なくとも一つ設けられていることを特徴とする。
The present invention has been made to achieve the above object. According to the first aspect of the present invention, an encoding / decoding device includes:
A header decoding circuit that decodes necessary data from the header included in the code, using the code data obtained by compressing the image data, and
A color space data distribution circuit that distributes image data into data for each color space;
An image decoding circuit for encoding / decoding data for each single color space as an input;
A color space data synthesis circuit that synthesizes the decoded data for each single color space into the entire color space;
Including a memory circuit for storing data;
A plurality of image decoding circuits are provided for a plurality of types of color spaces, and at least one memory circuit is provided for each image decoding circuit.

本発明に係る請求項2に記載の符号復号装置は、
JPEG2000符号を入力として、符号に含まれるヘッダーよりサブバンド及びコードブロック内情報をデコードするヘッダーデコード回路と、
ビットストリーム内のMQ符号をコンポーネント単位に振り分けかつ各コンポーネントのMQ符号をコードブロック単位に振り分けるコンポーネントデータ振分回路と、
コンポーネント毎にコードブロック単位でMQ符号をウェーブレット係数に復号するMQ復号回路と、
ウェーブレット係数をウェーブレット逆変換するWT復号回路と、
全コンポーネントのウェーブレット係数を合成するコンポーネントデータ合成回路と、
全コンポーネントのウェーブレット係数を用いて逆色変換を行う逆色変換回路と、
データを格納するメモリ回路を含み、
上記MQ復号回路と上記WT復号回路を備える画像復号回路が、複数種類のコンポーネントのために複数設けられ、上記メモリ回路は各画像復号回路に対して少なくとも一つ設けられていることを特徴とする。
The encoding / decoding device according to claim 2 according to the present invention includes:
A header decoding circuit that receives JPEG2000 code as input and decodes information in the subband and code block from the header included in the code;
A component data distribution circuit that distributes the MQ codes in the bitstream into component units and distributes the MQ codes of each component into code block units;
An MQ decoding circuit for decoding MQ codes into wavelet coefficients in units of code blocks for each component;
A WT decoding circuit that inversely transforms wavelet coefficients,
Component data synthesis circuit that synthesizes the wavelet coefficients of all components,
A reverse color conversion circuit that performs reverse color conversion using wavelet coefficients of all components;
Including a memory circuit for storing data;
A plurality of image decoding circuits including the MQ decoding circuit and the WT decoding circuit are provided for a plurality of types of components, and at least one memory circuit is provided for each image decoding circuit. .

本発明を利用することにより、ハイビジョン画像のようなサイズの大きな画像を処理する際にも、従来装置に対して大きな回路及び大幅な修正を加えることなく、また大きなメモリサイズを必要とせずに、高速化を実現できる符号復号装置を提供することができる。   By using the present invention, even when processing a large image such as a high-definition image, a large circuit and a large correction are not added to a conventional apparatus, and a large memory size is not required. It is possible to provide a code decoding apparatus capable of realizing high speed.

以下、図面を参照して本発明に係る好適な実施形態を説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments according to the invention will be described with reference to the drawings.

[第1の実施形態]
図1は、本発明の第1の実施形態に係る連続画像処理を行う符号復号装置2のブロック図である。図2は、図4に示す従来の符号復号回路4’にセレクタ7を加えた符号復号回路4のセットのブロック図である。図2に示すセットが3つ設置され、更に、色空間データ振分回路14、色空間データ合成回路16、及び逆色変換回路18が設置されて、図1に示す符号復号装置2が構成されている。
[First Embodiment]
FIG. 1 is a block diagram of a code decoding apparatus 2 that performs continuous image processing according to the first embodiment of the present invention. FIG. 2 is a block diagram of a set of a code decoding circuit 4 in which a selector 7 is added to the conventional code decoding circuit 4 ′ shown in FIG. Two sets shown in FIG. 2 are installed, and further, a color space data distribution circuit 14, a color space data synthesis circuit 16, and an inverse color conversion circuit 18 are installed, and the code decoding device 2 shown in FIG. 1 is configured. ing.

図1に示す符号復号装置2にて、図2に示すセットが3つ設けられるのは、3つの色空間を想定しているからである。従って、セットの数は3つでなくてもよい。また、メモリ(12a,12b,12c)は、色空間のセット毎に設けられている。   The reason why the three sets shown in FIG. 2 are provided in the code decoding apparatus 2 shown in FIG. 1 is that three color spaces are assumed. Therefore, the number of sets need not be three. The memories (12a, 12b, 12c) are provided for each set of color spaces.

図2に示す回路において、セレクタ7は、ヘッダーデコード回路6と画像復号回路8との間に挿入されている。セレクタ7では、「IN_A」から入力された画像符号をヘッダーデコード回路6で切り分けた画像データか、「IN_B」から入力される画像データかを、外部から選択する構成になっている。そのため「IN_A」を選択するのであれば、従来の符号復号回路4’(図4参照)と同じように使用できる。   In the circuit shown in FIG. 2, the selector 7 is inserted between the header decoding circuit 6 and the image decoding circuit 8. The selector 7 is configured to select from the outside whether the image data input from “IN_A” is the image data cut by the header decoding circuit 6 or the image data input from “IN_B”. Therefore, if “IN_A” is selected, it can be used in the same manner as the conventional code decoding circuit 4 ′ (see FIG. 4).

図1に示す符号復号装置2に入力された画像符号は、先ずヘッダーデコード回路11に入力され、そこでヘッダー部から符号情報がデコードされる。その情報から画像データが切り分けられ、色空間データ振分回路14に入力される。   The image code input to the code decoding device 2 shown in FIG. 1 is first input to the header decoding circuit 11 where code information is decoded from the header portion. Image data is separated from the information and input to the color space data distribution circuit 14.

色空間データ振分回路14に入力される画像データは、色空間毎の画像符号に振り分けられる。振り分けられた符号はセレクタ(7a、7b、7c)を介して、各色空間のための画像復号回路(8a、8b、8c)のセットへと入力される。   The image data input to the color space data distribution circuit 14 is distributed to image codes for each color space. The assigned codes are input to a set of image decoding circuits (8a, 8b, 8c) for each color space via selectors (7a, 7b, 7c).

例えば、図1の画像符号のデータ(画像符号0、画像符号1、及び画像符号2)の夫々が、3つの色空間データ(ここでは、R、G、Bとする)で構成されているとすると、色空間Rのデータは図1の一番上のセットに、色空間Gのデータは図1の真ん中のセットに、色空間Bのデータは図1の一番下のセットに、振り分けられて入力される、というようになる。このとき夫々のセットで必要となるメモリ量は、画像符号データを振り分けずに一つのセットに格納する場合と比べて、3分の1になる。   For example, each of the image code data (image code 0, image code 1, and image code 2) in FIG. 1 is composed of three color space data (here, R, G, and B). Then, the color space R data is sorted into the top set in FIG. 1, the color space G data is sorted into the middle set in FIG. 1, and the color space B data is sorted into the bottom set in FIG. Will be entered. At this time, the amount of memory required for each set is one-third compared to the case where the image code data is stored in one set without being distributed.

それぞれの画像復号回路(8a、8b、8c)のセットで復号された符号は、色空間データ合成回路16で合成され、逆色変換回路18に入力され、その結果復号された画像が出力される。   The codes decoded by the sets of the respective image decoding circuits (8a, 8b, 8c) are synthesized by the color space data synthesis circuit 16 and input to the inverse color conversion circuit 18, and as a result, the decoded image is output. .

第1の実施形態に係る符号復号装置2においては、色空間毎に符号復号回路のセット及びメモリ回路が設けられることにより、1画像分のデータが分散される。このことによって、それぞれの符号復号回路のセットが一度に格納しなければならないデータが削減される(約3分の1となる)。このようにすることで、従来の符号復号回路4’を1セット用いて符号復号する際(図4参照)に必要なメモリ量(メモリコスト)と略同等のメモリ量で、符号復号を実現できる。   In the code decoding apparatus 2 according to the first embodiment, a set of code decoding circuits and a memory circuit are provided for each color space, whereby data for one image is distributed. This reduces the data that each set of code decoding circuits must store at one time (approximately one third). By doing in this way, it is possible to realize code decoding with a memory amount substantially equivalent to the memory amount (memory cost) required for code decoding using one set of the conventional code decoding circuit 4 ′ (see FIG. 4). .

更に、第1の実施形態に係る符号復号装置2と、従来の符号復号回路4’を3セット用いて符号復号するもの(図11参照)とを、まずメモリ量に重点を置いて比較してみる。従来の符号復号回路4’を3セット用いて符号復号するものでは、各画像復号回路8’ですべての色空間データを復号し、逆色変換回路10’にデータを入力していかなければならない。そのため、1画像分の色空間データを格納するメモリ12’が符号復号回路毎に必要になる。   Furthermore, the coding / decoding device 2 according to the first embodiment and the one that performs coding / decoding using three sets of the conventional coding / decoding circuit 4 ′ (see FIG. 11) are first compared with emphasis on the amount of memory. View. In the case where the conventional code decoding circuit 4 ′ performs code decoding using three sets, each image decoding circuit 8 ′ must decode all color space data and input the data to the inverse color conversion circuit 10 ′. . For this reason, a memory 12 'for storing color space data for one image is required for each code decoding circuit.

一方、第1の実施形態に係る符号復号装置2では、1つの符号復号回路(4a、4b、4c)のセットでは1つの色空間データのみの処理を行うので、メモリ(12a、12b、12c)には単一色空間データが格納されるメモリ量を備えればよい。その結果、従来の符号復号回路を3セット用いる場合と比較して、約1/3のメモリ量(メモリコスト)で符号復号を実現できる。   On the other hand, in the encoding / decoding device 2 according to the first embodiment, since only one color space data is processed in a set of one encoding / decoding circuit (4a, 4b, 4c), the memory (12a, 12b, 12c) May have a memory capacity for storing single color space data. As a result, it is possible to realize code decoding with a memory amount (memory cost) of about 1/3 as compared with the case of using three sets of conventional code decoding circuits.

次に、第1の実施形態に係る符号復号装置2と、従来の符号復号回路4’を3セット用いて符号復号するもの(図11参照)とを、連続画像処理速度に重点を置いて比較してみる。入力する画像を3画像連続で処理する場合を考えると、従来の符号復号回路4’を3セット用いて符号復号するものと、第1の実施形態に係る符号復号装置2とでは、連続3画像分を処理する時間は等しい。このことにより、連続画像処理速度は略同等であるといえる。   Next, the coding / decoding apparatus 2 according to the first embodiment is compared with the coding / decoding apparatus using three sets of the conventional coding / decoding circuit 4 ′ (see FIG. 11) with an emphasis on the continuous image processing speed. Try it. Considering the case where the input image is processed in succession of three images, the device that performs coding decoding using three sets of the conventional code decoding circuit 4 ′ and the coding / decoding device 2 according to the first embodiment have three consecutive images. The time to process the minutes is equal. Accordingly, it can be said that the continuous image processing speed is substantially the same.

従って、第1の実施形態に係る符号復号装置2を用いた連続画像処理では、従来の符号復号回路4’を3セット用いて符号復号するものに必要なメモリコストの1/3で、従来の符号復号回路4’を3セット用いて符号復号するものと同等の連続画像速度を実現できる。   Therefore, in the continuous image processing using the coding / decoding device 2 according to the first embodiment, the memory cost required for coding / decoding using three sets of the conventional coding / decoding circuit 4 ′ is reduced to 1/3. A continuous image speed equivalent to that obtained by code decoding using three sets of the code decoding circuit 4 ′ can be realized.

以上のことより、ハイビジョン画像のようなサイズの大きな画像を処理する際にも、従来の符号復号回路4’に対して大幅な修正を加えることなく、またメモリサイズを大きくすることなく、高速化を実現する装置を提供できる。   As described above, even when processing a large image such as a high-definition image, the conventional coding / decoding circuit 4 ′ is not significantly modified and the memory size is not increased. The apparatus which implement | achieves can be provided.

[第2の実施形態]
図3は、本発明の第2の実施形態に係る連続画像処理を行う符号復号装置102のブロック図である。図3に示す装置は、第1の実施形態に係る符号復号装置2においてJPEG2000の符号復号を為すように設定したものである。
[Second Embodiment]
FIG. 3 is a block diagram of the code decoding apparatus 102 that performs continuous image processing according to the second embodiment of the present invention. The apparatus shown in FIG. 3 is set to perform JPEG2000 code decoding in the code decoding apparatus 2 according to the first embodiment.

入力されたJ2K符号120は、先ずヘッダーデコード回路111に入力され、そこでヘッダー部から符号情報がデコードされる。その情報から画像データが切り分けられ、コンポーネントデータ振分回路114に入力される。   The input J2K code 120 is first input to the header decoding circuit 111, where code information is decoded from the header portion. Image data is separated from the information and input to the component data distribution circuit 114.

コンポーネントデータ振分回路114に入力される画像データは、コンポーネント毎の画像符号に振り分けられる。JPEG2000のビットストリームは、図6のような構成になっているので、ヘッダーデコード回路111で切り分けられたMQ符号はヘッダー情報から容易に振り分けられ得る。   The image data input to the component data distribution circuit 114 is distributed to image codes for each component. Since the JPEG2000 bit stream has a configuration as shown in FIG. 6, the MQ code cut out by the header decoding circuit 111 can be easily assigned from the header information.

振り分けられた符号はセレクタ(107a、107b、107c)を介して、各コンポーネントのための画像復号回路(108a、108b、108c)へ入力される。それぞれの画像復号回路で復号された符号は、コンポーネントデータ合成回路116で合成され、逆色変換回路118に入力され復号された画像が出力される。   The distributed codes are input to the image decoding circuits (108a, 108b, 108c) for the respective components via the selectors (107a, 107b, 107c). The codes decoded by the respective image decoding circuits are combined by the component data combining circuit 116, input to the inverse color conversion circuit 118, and the decoded image is output.

第2の実施形態に係る符号復号装置においても、ハイビジョン画像のようなサイズの大きな画像を処理する際に、従来の符号復号回路に対して大幅な修正を加えることなく、またメモリサイズを大きくすることなく、高速化を実現できる装置とすることができる。   Also in the coding / decoding device according to the second embodiment, when processing a large image such as a high-definition image, the memory size is increased without significant modification to the conventional coding / decoding circuit. Therefore, it is possible to provide a device capable of realizing high speed.

本発明の第1の実施形態に係る連続画像処理を行う符号復号装置のブロック図である。1 is a block diagram of a code decoding apparatus that performs continuous image processing according to a first embodiment of the present invention. FIG. 図4に示す従来の符号復号回路にセレクタを加えた符号復号回路のセットのブロック図である。FIG. 5 is a block diagram of a set of a code decoding circuit obtained by adding a selector to the conventional code decoding circuit shown in FIG. 本発明の第2の実施形態に係る連続画像処理を行う符号復号装置のブロック図である。It is a block diagram of the encoding / decoding apparatus which performs the continuous image process which concerns on the 2nd Embodiment of this invention. 連続画像処理を行う従来の符号復号回路のブロック図である。It is a block diagram of the conventional code decoding circuit which performs a continuous image process. JPEG2000の符号ストリームの構成である。This is a configuration of a JPEG2000 code stream. CPRL(Component−Position−Resolution level−Layer)のプログレスオーダーでの、ビットストリームの構である。This is a bit stream structure in the progress order of CPRL (Component-Position-Resolution level-Layer). 従来のJPEG2000符号復号回路の概略のブロック図である。It is a schematic block diagram of a conventional JPEG2000 code decoding circuit. 従来のJPEG2000符号復号回路における、ヘッダーデコード回路、MQ復号回路、及びメモリの関係を示すブロック図である。It is a block diagram which shows the relationship between the header decoding circuit, MQ decoding circuit, and memory in the conventional JPEG2000 code decoding circuit. 従来のJPEG2000符号復号回路における、MQ復号回路、WT復号回路、及びメモリの関係を示すブロック図である。It is a block diagram which shows the relationship between MQ decoding circuit, WT decoding circuit, and memory in the conventional JPEG2000 code decoding circuit. 従来のJPEG2000符号復号回路における、WT復号回路、逆色変換回路、及びメモリの関係を示すブロック図である。It is a block diagram which shows the relationship between the WT decoding circuit, reverse color conversion circuit, and memory in the conventional JPEG2000 code decoding circuit. 従来の符号復号回路を3セット並列して形成される符号復号装置のブロック図である。It is a block diagram of the code decoding apparatus formed in parallel with 3 sets of conventional code decoding circuits.

符号の説明Explanation of symbols

2・・・符号復号装置、4・・・符号復号回路、6・・・ヘッダーデコード回路、7セレクタ、8・・・画像復号回路、10・・・逆色変換回路、12・・・メモリ、14・・・色空間データ振分回路、16・・・色空間データ合成回路、18・・・逆色変換回路、20・・・画像符号、22・・・画像。

DESCRIPTION OF SYMBOLS 2 ... Code decoding apparatus, 4 ... Code decoding circuit, 6 ... Header decoding circuit, 7 selector, 8 ... Image decoding circuit, 10 ... Reverse color conversion circuit, 12 ... Memory, 14 ... color space data distribution circuit, 16 ... color space data synthesis circuit, 18 ... reverse color conversion circuit, 20 ... image code, 22 ... image.

Claims (2)

画像データを圧縮した符号データを入力として、符号に含まれるヘッダーから必要なデータをデコードするヘッダーデコード回路と、
画像データを色空間毎のデータに振り分ける色空間データ振分回路と、
単一の色空間ごとのデータを入力として符号復号する画像復号回路と、
単一の色空間ごとに復号されたデータを全色空間に合成する色空間データ合成回路と、
データを格納するメモリ回路を含み、
上記画像復号回路は、複数種類の色空間のために複数設けられ、上記メモリ回路は各画像復号回路に対して少なくとも一つ設けられていることを特徴とする符号復号装置。
A header decoding circuit that decodes necessary data from the header included in the code, using the code data obtained by compressing the image data, and
A color space data distribution circuit that distributes image data into data for each color space;
An image decoding circuit for encoding / decoding data for each single color space as an input;
A color space data synthesis circuit that synthesizes the decoded data for each single color space into the entire color space;
Including a memory circuit for storing data;
A code decoding apparatus, wherein a plurality of image decoding circuits are provided for a plurality of types of color spaces, and at least one memory circuit is provided for each image decoding circuit.
JPEG2000符号を入力として、符号に含まれるヘッダーよりサブバンド及びコードブロック内情報をデコードするヘッダーデコード回路と、
ビットストリーム内のMQ符号をコンポーネント単位に振り分けかつ各コンポーネントのMQ符号をコードブロック単位に振り分けるコンポーネントデータ振分回路と、
コンポーネント毎にコードブロック単位でMQ符号をウェーブレット係数に復号するMQ復号回路と、
ウェーブレット係数をウェーブレット逆変換するWT復号回路と、
全コンポーネントのウェーブレット係数を合成するコンポーネントデータ合成回路と、
全コンポーネントのウェーブレット係数を用いて逆色変換を行う逆色変換回路と、
データを格納するメモリ回路を含み、
上記MQ復号回路と上記WT復号回路を備える画像復号回路が、複数種類のコンポーネントのために複数設けられ、上記メモリ回路は各画像復号回路に対して少なくとも一つ設けられていることを特徴とする符号復号装置。

A header decoding circuit that receives JPEG2000 code as input and decodes information in the subband and code block from the header included in the code;
A component data distribution circuit that distributes the MQ codes in the bitstream into component units and distributes the MQ codes of the respective components into code block units;
An MQ decoding circuit for decoding MQ codes into wavelet coefficients in units of code blocks for each component;
A WT decoding circuit that inversely transforms wavelet coefficients,
Component data synthesis circuit that synthesizes the wavelet coefficients of all components,
A reverse color conversion circuit that performs reverse color conversion using wavelet coefficients of all components;
Including a memory circuit for storing data;
A plurality of image decoding circuits including the MQ decoding circuit and the WT decoding circuit are provided for a plurality of types of components, and at least one memory circuit is provided for each image decoding circuit. Code decoding apparatus.

JP2006056006A 2006-03-02 2006-03-02 Image code decoding apparatus Pending JP2007235678A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006056006A JP2007235678A (en) 2006-03-02 2006-03-02 Image code decoding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006056006A JP2007235678A (en) 2006-03-02 2006-03-02 Image code decoding apparatus

Publications (1)

Publication Number Publication Date
JP2007235678A true JP2007235678A (en) 2007-09-13

Family

ID=38555787

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006056006A Pending JP2007235678A (en) 2006-03-02 2006-03-02 Image code decoding apparatus

Country Status (1)

Country Link
JP (1) JP2007235678A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101226544B1 (en) 2011-04-25 2013-01-25 국방과학연구소 Co-design method and apparatus using DSP and FPGA for JPEG2000 Video Compression

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003179759A (en) * 2001-12-11 2003-06-27 Ricoh Co Ltd Still image decompression device
JP2003339047A (en) * 2001-07-26 2003-11-28 Ricoh Co Ltd Image compression device, image decompression device, image compression/decompression device, image compression method, image decompression method, program, and recording medium recording the program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003339047A (en) * 2001-07-26 2003-11-28 Ricoh Co Ltd Image compression device, image decompression device, image compression/decompression device, image compression method, image decompression method, program, and recording medium recording the program
JP2003179759A (en) * 2001-12-11 2003-06-27 Ricoh Co Ltd Still image decompression device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101226544B1 (en) 2011-04-25 2013-01-25 국방과학연구소 Co-design method and apparatus using DSP and FPGA for JPEG2000 Video Compression

Similar Documents

Publication Publication Date Title
US11917178B2 (en) Video-encoding method, video-decoding method, and apparatus implementing same
EP1478186B1 (en) Decoding of arbitrarily ordered and interleaved macroblocks
US7397963B2 (en) Method and apparatus for storing bitplanes of coefficients in a reduced size memory
JPH1146372A (en) Image coding and image decoding device
US8451908B2 (en) System, method, and apparatus for decoding flexibly ordered pixel arrays
US6895120B2 (en) 5,3 wavelet filter having three high pair and low pair filter elements with two pairs of cascaded delays
JP2007235678A (en) Image code decoding apparatus
US6859563B2 (en) Method and apparatus for decoding information using late contexts
JP6469277B2 (en) Image encoding device, image encoding method and program, image decoding device, image decoding method and program
US6950558B2 (en) Method and apparatus for block sequential processing
JP2020184702A (en) Decoding device and method for controlling decoding device
JP6982253B2 (en) Decoding device, coding device, decoding method, coding method, and program
JP2006340300A (en) Signal processing method, signal processing apparatus, signal processing program and information recording medium
EP3907994A2 (en) Method for processing transform coefficients
JP7090490B2 (en) Image coding device, image decoding device, image coding method, image decoding method
US8805108B2 (en) JPEG decoder capable of scaling and scaling method using the same
JP2005217872A (en) Tilesize changing apparatus
JP4530421B2 (en) Image encoding method, image decoding method, image encoding device, image decoding device, program thereof, and program recording medium thereof
JP2009278371A (en) Decoder and coder
JP2004056575A (en) Moving image encoding device, moving image decoding device and their methods

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090126

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110201

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110719