JP3923307B2 - Image coding / decoding device - Google Patents

Image coding / decoding device Download PDF

Info

Publication number
JP3923307B2
JP3923307B2 JP2001384249A JP2001384249A JP3923307B2 JP 3923307 B2 JP3923307 B2 JP 3923307B2 JP 2001384249 A JP2001384249 A JP 2001384249A JP 2001384249 A JP2001384249 A JP 2001384249A JP 3923307 B2 JP3923307 B2 JP 3923307B2
Authority
JP
Japan
Prior art keywords
data
image
image data
code data
output
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
JP2001384249A
Other languages
Japanese (ja)
Other versions
JP2003189110A (en
Inventor
雅岳 大森
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 JP2001384249A priority Critical patent/JP3923307B2/en
Publication of JP2003189110A publication Critical patent/JP2003189110A/en
Application granted granted Critical
Publication of JP3923307B2 publication Critical patent/JP3923307B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、高速な符号化復号化処理が可能な画像符号化復号化装置に関する。
【0002】
【従来の技術】
例えば、ファクシミリ装置やデジタル複写機などの画像処理装置においては、画像データを符号化圧縮し、より少ないデータ量で画像データを扱えるようにしており、通信効率や蓄積効率を向上できるようにしている。
【0003】
また、近年、画像処理装置における、原稿の高速読み取りあるいは高速書き出しの要求に伴い、読み取り画像をメモリ蓄積する際の圧縮符号化方式の高速化が必要とされてきている。
【0004】
また、LSI製造プロセス技術の進歩に伴い、回路はより高速なクロックで動作するようになってきているが、画像の高解像度化あるいはカラー化に伴い、高速処理、大量データ処理が求められるため、回路技術の進歩を考慮しても処理速度が十分とはいえない局面がある。
【0005】
【発明が解決しようとする課題】
このようなことを考慮してたとえば、特開2000−217003号「符号化装置および復号化装置」のように複数の符号器を並列動作させ高速処理を行う方法がある。しかし、この従来技術では、出力符号を1つのデータ列(ストリーム)にするために、ある符号器が出力しなければならないタイミングで出力する符号がない場合、ダミー出力を行うようにしており、結果的に冗長な操作を行っていることになり、それぞれの並列動作符号器の動作状態によって符号量が意味無く増加してしまうという問題がある。
【0006】
本発明は、かかる実情に鑑みてなされたものであり、高速処理が可能で、かつ、効率のよい符号データを処理することのできる画像符号化復号化装置を提供することを目的としている。
【0007】
【課題を解決するための手段】
本発明は、数の画像符号化復号化手段を備え、高速処理が必要な画像データについては、符号化対象の画像データをビット順序に上記画像符号化復号化手段と同数にインタリーブして複数のデータ系列を形成し、そのデータ系列ごとに上記画像符号化復号化手段をそれぞれ独立して適用しておのおの符号データを作成し、それによって得た複数の符号データをまとめて1つの符号データファイルを構成して上記画像データを符号化する一方、上記符号データファイルを復号化する際、上記データファイルに含まれる上記複数の符号データについて上記複数の画像符号化復号化手段をそれぞれ独立して適用しておのおの復号データを作成し、それによって得た複数の復号データを、ビット単位に上記インタリーブに対応したデインターリーブして元の画像データを形成し、高速処理が不要な画像データについては、上記複数の画像符号化復号化手段をそれぞれ1つの画像データ処理に割り当てて並列動作させるようにしたものである。
【0008】
また、複数の画像符号化復号化手段を備え、高速処理が必要な画像データについては、符号化対象の画像データをライン順序に上記画像符号化復号化手段と同数にインタリーブして複数のデータ系列を形成し、そのデータ系列ごとに上記画像符号化復号化手段をそれぞれ独立して適用しておのおの符号データを作成し、それによって得た複数の符号データをまとめて1つの符号データファイルを構成して上記画像データを符号化する一方、上記符号データファイルを復号化する際、上記データファイルに含まれる上記複数の符号データについて上記複数の画像符号化復号化手段をそれぞれ独立して適用しておのおの復号データを作成し、それによって得た複数の復号データを、ライン単位に上記インタリーブに対応したデインターリーブして元の画像データを形成し、高速処理が不要な画像データについては、上記複数の画像符号化復号化手段をそれぞれ1つの画像データ処理に割り当てて並列動作させるようにしたものである。
【0015】
【発明の実施の形態】
以下、添付図面を参照しながら、本発明の実施の形態を詳細に説明する。
【0016】
図1は、本発明の一実施例にかかる符号化装置の一例を示している。
【0017】
同図において、符号化対象となる画像データCDは、入力回路1を介し、FIFOバッファ2に順次保存される。そして、FIFOバッファ2から読み出された画像データCDは、画像分離部3に加えられる。
【0018】
画像分離部3は、入力される画像データCDを、ビット順序に2系統にインタリーブするものである。例えば、図2(a)〜(c)に示すように、奇数番目のビットA1,A2,A3,・・・と、偶数番目のビットB1,B2,B3,・・・の2系統にインタリーブされる。
【0019】
そして、このインタリーブされたそれぞれの系統の画像データCDa,CDbは、データバッファ4a,4bへそれぞれ入力され、このデータバッファ4a,4bから出力される画像データCDa,CDbは、それぞれ符号器5a,5bに入力され、この符号器5a,5bにより、それぞれ独立した符号化処理が適用される。
【0020】
符号器5a,5bから出力される2系統の符号データIDa,IDbは、それぞれ出力回路6a,6bを介し、次段装置(図示略)へ出力される。
【0021】
このとき、次段装置においては、図2(d)に示すように、符号データIDa,IDbは、それぞれ独立したA信号系列符号データファイルFDaおよびB信号系列符号データファイルFDbとして取り扱われるとともに、これらのA信号系列符号データファイルFDaおよびB信号系列符号データファイルFDbをまとめて、元の1枚分の画像データCDに対応した1つの符号データファイルFDとして取り扱う。
【0022】
図3は、符号データファイルFDを復号化して元の画像データCDを形成する復号化装置の一例を示している。
【0023】
同図において、符号データファイルFDに含まれるA信号系列符号データファイルFDaの符号データIDaは、入力回路11aを介して入力され、データバッファ12aにいったん蓄積される。
【0024】
データバッファ12aから出力される符号データIDaは、復号器13aに加えられ、対応する復号化処理を適用されて、部分画像データCPaへと変換される。この部分画像データCPaは、FIFOバッファ14aを介し、画素合成部15に加えられる。
【0025】
また、符号データファイルFDに含まれるB信号系列符号データファイルFDbの符号データIDbは、入力回路11bを介して入力され、データバッファ12bにいったん蓄積される。
【0026】
データバッファ12bから出力される符号データIDbは、復号器13bに加えられ、対応する復号化処理を適用されて、部分画像データCPbへと変換される。この部分画像データCPbは、FIFOバッファ14bを介し、画素合成部15に加えられる。
【0027】
画素合成部15は、部分画像データCPaと、部分画像データCPbを、ビット順序に合成(デインタリーブ)する。すなわち、図4(a)に示すようなA信号系列の部分画像データCPaと、同図(b)に示すようなB信号系列の部分画像データCPbをデインタリーブし、同図(c)に示すような統合した画像データCCを形成する。この画像データCCは、出力回路16を介し、次段装置(図示略)へ出力される。
【0028】
このようにして、本実施例では、画像データCDをビット順序に2系統にインタリーブして、それぞれの系統を独立した符号器5a,5bで並列的に符号化処理するとともに、それによって得た符号データを、それぞれ単独のデータストリームとして処理(この場合は、ファイル化)するので、符号化速度を2倍に高速化することができ、非常に便利である。
【0029】
また、このような符号データを復号化処理する場合、2つの復号器で並列的に処理することができるので、復号化処理に要する時間も1/2に短縮し、高速な復号化処理を実現することができる。
【0030】
なお、上述した実施例では、符号データを2系統にインタリーブしているが、3以上の任意の数の系統にインタリーブするようにしてもよい。その場合、分割する系統数に応じた符号処理系統および復号処理系統が必要となる。
【0031】
図5は、本発明の他の実施例にかかる符号化装置の一例を示している。
【0032】
同図において、例えば、ファクシミリ処理系等のスループット速度が低速な低速画像源より出力される画像データCAは、入力回路21aを介してFIFOバッファ22aに加えられ、FIFOバッファ22aを介して、セレクタ23aの一方の入力端に加えられる。
【0033】
また、低速画像源、または、デジタル複写処理系等のスループット速度が高速な高速画像源より出力される画像データCBは、入力回路21bを介してFIFOバッファ22bに加えられ、FIFOバッファ22bを介して、画素分離部24およびセレクタ23bの一方の入力端に加えられる。
【0034】
画素分離部24は、画像データCBをビット順序に2系統のデータ系列にインタリーブするものであり、その一方のデータ系列は、セレクタ23aの他方の入力端に加えられ、その他方のデータ系列は、セレクタ23bの他方の入力端に加えられる。
【0035】
セレクタ23aは、低速画像処理モードの場合には、FIFOバッファ22aの出力を選択するとともに、高速画像処理モードの場合には、画素分離部24の出力を選択するものであり、その出力は、データバッファ25aを介し、符号器26aに加えられる。
【0036】
符号器26aは、入力される画像データについて、所定の符号化処理を適用し、その出力は、符号データとして、出力回路27aを介し、次段装置(図示略)へ出力される。
【0037】
また、セレクタ23bは、低速画像処理モードの場合には、FIFOバッファ22bの出力を選択するとともに、高速画像処理モードの場合には、画素分離部24の出力を選択するものであり、その出力は、データバッファ25bを介し、符号器26bに加えられる。
【0038】
符号器26bは、入力される画像データについて、所定の符号化処理を適用し、その出力は、符号データとして、出力回路27bを介し、次段装置(図示略)へ出力される。
【0039】
以上の構成で、低速画像処理モードに設定されている場合、セレクタ23aはFIFOバッファ22aを選択し、それにより、FIFOバッファ22aから出力される画像データCAは、セレクタ23aを介し、データバッファ25aへ出力される。
【0040】
そして、データバッファ25aから出力される画像データCAは、符号器26aで符号化圧縮され、符号データとして、出力回路27aを介し、次段装置へ出力される。
【0041】
また、低速画像処理モードに設定されている場合、セレクタ23bはFIFOバッファ22bを選択し、それにより、FIFOバッファ22bから出力される画像データCBは、セレクタ23bを介し、データバッファ25bへ出力される。
【0042】
そして、データバッファ25bから出力される画像データCBは、符号器26bで符号化圧縮され、符号データとして、出力回路27bを介し、次段装置へ出力される。
【0043】
このようにして、この符号化装置は、低速画像処理モードの場合、2系統の画像データを並列的に処理する機能を実現することができる。
【0044】
一方、高速画像処理モードに設定されている場合、セレクタ22aおよびセレクタ22bは、それぞれ画素分離部24から出力される部分画像データを選択する。
【0045】
それにより、入力回路21bを介して入力される画像データCBは、画素分離部24で2系統の信号系列に分離され、一方の信号系列の部分画像データは、セレクタ23aを介してデータバッファ25aに入力され、他方の信号系列の部分画像データは、セレクタ23bを介してデータバッファ25bに入力される。
【0046】
したがって、この場合、一方の信号系列の部分画像データは、符号器26aにより符号化処理され、出力回路27aを介し、例えば、上述したようなA信号系列符号データとして次段装置へ出力される。
【0047】
また、他方の信号系列の部分画像データは、符号器26bにより符号化処理され、出力回路27bを介し、例えば、上述したようなB信号系列符号データとして次段装置へ出力される。
【0048】
そして、次段装置においては、A信号系列符号データからなるA信号系列符号データファイルと、B信号系列符号データからなるB信号系列符号データファイルが独立した符号データファイルとして取り扱われるとともに、これらのA信号系列符号データファイルおよびB信号系列符号データファイルがまとめられ、元の1枚分の画像データに対応した1つの符号データファイルとして取り扱われる。
【0049】
このようにして、本実施例の符号化装置では、低速画像処理モードでは、2系統の符号化処理を実行できるとともに、高速画像処理モードでは、高速処理が必要な画像データに対して、低速画像処理モード時の2倍の処理速度で符号化処理することができるので、低速画像源についても高速画像源についても適用でき、この符号化装置の可用性が非常に大きい。
【0050】
図6は、本発明の他の実施例にかかる復号化装置の一例を示している。
【0051】
同図において、符号データPAは、入力回路31aを介してデータバッファ32aに加えられ、データバッファ32aを介して、復号器33aに加えられる。復号器33aは、入力される符号データPAに対して、対応する復号化処理を適用して画像データへと変換する。この画像データは、FIFOバッファ34aを介し、出力回路35aと、画素合成部36の一方の入力端に加えられる。
【0052】
また、符号データPBは、入力回路31bを介してデータバッファ32bに加えられ、データバッファ32bを介して、復号器33bに加えられる。復号器33bは、入力される符号データPBに対して、対応する復号化処理を適用して画像データへと変換する。この画像データは、FIFOバッファ34bを介し、画素合成部36の他方の入力端と、セレクタ37の一方の入力端に加えれる。
【0053】
画素合成部36は、FIFOバッファ34aから出力される画像データと、FIFOバッファ34bから出力される画像データを、ビット順序に合成するものであり、その出力は、セレクタ37の他方の入力端に加えられる。
【0054】
セレクタ37は、低速処理モードにおいては、FIFOバッファ34bの出力を選択するとともに、高速処理モードにおいては、画素合成部36の出力を選択するものであり、その出力は、出力回路35bを介して、次段装置へ出力される。また、高速処理モードにおいては、出力回路35aは出力禁止状態となる。
【0055】
以上の構成で、低速処理モードにおいては、セレクタ37は、FIFOバッファ34bの出力を選択するとともに、それぞれ独立した符号データが、符号データPA,PBとして入力回路に加えられる。
【0056】
したがって、この場合、この復号化装置は、独立した2系統(2チャネル)の処理系統を備えた復号化装置として機能する。
【0057】
一方、高速処理モードにおいては、図2(d)に示したような符号データファイルが処理対象となり、そのA信号系列符号データファイルFDaの符号データが符号データPAとして加えられるとともに、そのB信号系列符号データファイルFDbの符号データが符号データPBとして加えられる。また、この場合、セレクタ37は画素合成部36の出力を選択し、また、出力回路35aは出力禁止状態となる。
【0058】
これにより、A信号系列符号データは、入力回路31aおよびデータバッファ32aを介して復号器33aに加えられ、対応する復号化処理を適用されて、一方の部分画像データへと変換される。この部分画像データは、FIFOバッファ34aを介し、画素合成部36に加えられる。
【0059】
また、B信号系列符号データは、入力回路31bおよびデータバッファ32bを介して復号器33bに加えられ、対応する復号化処理を適用されて、他方の部分画像データへと変換される。この部分画像データは、FIFOバッファ34bを介し、画素合成部36に加えられる。
【0060】
画素合成部36は、FIFOバッファ34aから出力される一方の部分画像データと、FIFOバッファ34bから出力される他方の部分画像データを、ビット順序に合成(デインタリーブ)する。すなわち、図4(a)に示すようなA信号系列の(一方の)部分画像データと、同図(b)に示すようなB信号系列の(他方の)部分画像データをデインタリーブし、同図(c)に示すような統合した画像データを形成する。この画像データは、セレクタ37および出力回路35bを介し、次段装置(図示略)へ出力される。
【0061】
ところで、以上の実施例では、符号化対象となる画像データをビット順序にインタリーブして複数の信号系列符号データを作成しているが、このインタリーブの態様を、ライン単位に設定することもできる。
【0062】
ここで、画像には二次元の一方の方向を主走査方向とし、直行する他方の方向を副走査方向として取り扱う概念がある。上述したライン単位といった場合、主走査方向のラインあるいは副走査方向のラインを指すが、例えば、原稿画像をスキャナ等で読み取って画像データを作成する場合、主走査方向のラインを指す場合が多い。
【0063】
この場合の符号化時には、図7(a)に示すような元の画像データを、奇数番目のラインA1,A2,A3,・・・と、偶数番目のラインB1,B2,B3,・・・にそれぞれインタリーブすることで、同図(b)に示すようなA信号系列と、同図(c)に示すようなB信号系列を形成し、それぞれを1枚の画像としてみなして、符号化処理を適用する。
【0064】
また、復号化時には、図8(a)に示すようなA信号系列と、同図(b)に示すようなB信号系列をそれぞれ独立して復号化して画像データを作成し、それをライン順序に交互に合成(デインタリーブ)することにより、元の画像データを形成する。
【0065】
【発明の効果】
以上説明したように、本発明によれば、画像データをビット順序またはライン順序に複数系統にインタリーブして、それぞれの系統を独立した符号器で並列的に符号化処理するとともに、それによって得た符号データを、それぞれ単独のデータストリームとして処理(この場合は、ファイル化)するので、符号化速度を大幅に高速化することができ、非常に便利であるという効果を得る。
【0066】
また、このような符号データを復号化処理する場合、複数の復号器で並列的に処理することができるので、復号化処理に要する時間も1/2に短縮し、高速な復号化処理を実現することができるという効果も得る。
【図面の簡単な説明】
【図1】本発明の一実施例にかかる符号化装置の一例を示したブロック図。
【図2】符号化時のビット順序のインタリーブの態様を説明するための概略図。
【図3】本発明の一実施例にかかる復号化装置の一例を示したブロック図。
【図4】復号化時のビット順序のデインタリーブの態様を説明するための概略図。
【図5】本発明の他の実施例にかかる符号化装置の一例を示したブロック図。
【図6】本発明の他の実施例にかかる復号化装置の一例を示したブロック図。
【図7】符号化時のライン順序のインタリーブの態様を説明するための概略図。
【図8】復号化時のライン順序のデインタリーブの態様を説明するための概略図。
【符号の説明】
1,11a,11b,21a,21b,31a,31b 入力回路
2,14a,14b,22a,22b,34a,34b FIFOバッファ
3,24 画素分離部
4a,4b,12a,12b,25a,25b,32a,32b データバッファ
5a,5b,26a,26b 符号器
6a,6b,16,27a,27b,35a,35b 出力回路
13a,13b,33a,33b 復号器
15,36 画素合成部
23a,23b,37 セレクタ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image encoding / decoding device capable of high-speed encoding / decoding processing.
[0002]
[Prior art]
For example, in image processing apparatuses such as facsimile machines and digital copying machines, image data is encoded and compressed so that the image data can be handled with a smaller amount of data, so that communication efficiency and storage efficiency can be improved. .
[0003]
In recent years, in response to a request for high-speed reading or writing of an original in an image processing apparatus, it is necessary to increase the speed of a compression encoding method when storing a read image in a memory.
[0004]
In addition, with advances in LSI manufacturing process technology, circuits have been operating with faster clocks, but with higher resolution or colorization of images, high-speed processing and mass data processing are required. There is a situation where the processing speed is not sufficient even if the progress of circuit technology is taken into consideration.
[0005]
[Problems to be solved by the invention]
In consideration of this, there is a method for performing high-speed processing by operating a plurality of encoders in parallel, as disclosed in Japanese Patent Application Laid-Open No. 2000-21703, for example. However, in this prior art, in order to make the output code into one data string (stream), when there is no code to be output at a timing at which a certain encoder has to output, dummy output is performed. Therefore, there is a problem that the amount of code increases meaninglessly depending on the operation state of each parallel operation encoder.
[0006]
The present invention has been made in view of such circumstances, and an object of the present invention is to provide an image encoding / decoding device capable of high-speed processing and capable of processing efficient code data.
[0007]
[Means for Solving the Problems]
The present invention comprises a number of image encoding / decoding means, and for image data that requires high-speed processing, the image data to be encoded is interleaved in the bit order in the same number as the above-mentioned image encoding / decoding means. A data sequence is formed, and each of the image encoding / decoding means is independently applied to each data sequence to create each code data, and a plurality of code data obtained thereby are collected into one code data file. And encoding the image data, while decoding the code data file, the image encoding / decoding means are independently applied to the plurality of code data included in the data file. Each decoded data is created, and a plurality of decoded data obtained thereby are deinterleaved corresponding to the above interleaving in bit units. Forming the original image data, for high-speed processing is not required image data is obtained by so as to operate in parallel by assigning the plurality of image coding and decoding means to each one of the image data processing.
[0008]
For image data that includes a plurality of image encoding / decoding means and requires high-speed processing, the image data to be encoded is interleaved in the line order in the same number as the image encoding / decoding means, and a plurality of data series Forming the code data by applying the above-mentioned image coding / decoding means independently for each data series, and combining the plurality of code data obtained thereby to form one code data file The image data is encoded, and when the code data file is decoded, each of the plurality of image encoding / decoding means is independently applied to the plurality of code data included in the data file. Create decoded data, and de-interleave multiple decoded data obtained by that corresponding to the above interleaving in line units. The image data is formed of, for high-speed processing unnecessary image data, it is obtained so as to operate in parallel by assigning the plurality of image coding and decoding means to each one of the image data processing.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0016]
FIG. 1 shows an example of an encoding apparatus according to an embodiment of the present invention.
[0017]
In the figure, image data CD to be encoded is sequentially stored in the FIFO buffer 2 via the input circuit 1. Then, the image data CD read from the FIFO buffer 2 is added to the image separation unit 3.
[0018]
The image separation unit 3 interleaves input image data CD into two systems in a bit order. For example, as shown in FIGS. 2A to 2C, the odd-numbered bits A1, A2, A3,... And the even-numbered bits B1, B2, B3,. The
[0019]
The interleaved image data CDa and CDb of the respective systems are input to the data buffers 4a and 4b, respectively. The image data CDa and CDb output from the data buffers 4a and 4b are respectively encoded by the encoders 5a and 5b. Independent encoding processing is applied by the encoders 5a and 5b.
[0020]
The two systems of code data IDa and IDb output from the encoders 5a and 5b are output to the next stage device (not shown) via the output circuits 6a and 6b, respectively.
[0021]
At this time, in the next stage apparatus, as shown in FIG. 2 (d), the code data IDa and IDb are handled as independent A signal sequence code data file FDa and B signal sequence code data file FDb, respectively. The A signal sequence code data file FDa and the B signal sequence code data file FDb are collectively handled as one code data file FD corresponding to the original image data CD.
[0022]
FIG. 3 shows an example of a decoding apparatus that decodes the code data file FD to form the original image data CD.
[0023]
In the figure, the code data IDa of the A signal series code data file FDa included in the code data file FD is input via the input circuit 11a and temporarily stored in the data buffer 12a.
[0024]
The code data IDa output from the data buffer 12a is added to the decoder 13a, and is converted into partial image data CPa by applying a corresponding decoding process. The partial image data CPa is added to the pixel synthesis unit 15 via the FIFO buffer 14a.
[0025]
The code data IDb of the B signal series code data file FDb included in the code data file FD is input via the input circuit 11b and temporarily stored in the data buffer 12b.
[0026]
The code data IDb output from the data buffer 12b is added to the decoder 13b, applied with a corresponding decoding process, and converted into partial image data CPb. The partial image data CPb is added to the pixel synthesis unit 15 via the FIFO buffer 14b.
[0027]
The pixel synthesis unit 15 synthesizes (deinterleaves) the partial image data CPa and the partial image data CPb in bit order. That is, the A signal sequence partial image data CPa as shown in FIG. 4A and the B signal sequence partial image data CPb as shown in FIG. 4B are deinterleaved and shown in FIG. Such integrated image data CC is formed. The image data CC is output to the next stage device (not shown) via the output circuit 16.
[0028]
In this way, in this embodiment, the image data CD is interleaved into two systems in the bit order, and each system is encoded in parallel by the independent encoders 5a and 5b, and the code obtained thereby Since each data is processed as a single data stream (in this case, filed), the encoding speed can be doubled, which is very convenient.
[0029]
Also, when decoding such code data, two decoders can process in parallel, reducing the time required for the decoding process by half and realizing a high-speed decoding process. can do.
[0030]
In the above-described embodiment, code data is interleaved in two systems, but may be interleaved in an arbitrary number of systems of three or more. In that case, a code processing system and a decoding processing system corresponding to the number of systems to be divided are required.
[0031]
FIG. 5 shows an example of an encoding apparatus according to another embodiment of the present invention.
[0032]
In the figure, for example, image data CA output from a low-speed image source having a low throughput speed such as a facsimile processing system is added to the FIFO buffer 22a via the input circuit 21a, and is then selected via the FIFO buffer 22a via the selector 23a. Is applied to one of the input terminals.
[0033]
Further, image data CB output from a low-speed image source or a high-speed image source having a high throughput speed such as a digital copy processing system is added to the FIFO buffer 22b via the input circuit 21b, and then via the FIFO buffer 22b. , Added to one input terminal of the pixel separator 24 and the selector 23b.
[0034]
The pixel separation unit 24 interleaves the image data CB into two data series in the bit order. One data series is added to the other input terminal of the selector 23a, and the other data series is It is added to the other input terminal of the selector 23b.
[0035]
The selector 23a selects the output of the FIFO buffer 22a in the case of the low-speed image processing mode, and selects the output of the pixel separation unit 24 in the case of the high-speed image processing mode. The signal is added to the encoder 26a through the buffer 25a.
[0036]
The encoder 26a applies a predetermined encoding process to the input image data, and the output is output as encoded data to the next stage device (not shown) via the output circuit 27a.
[0037]
The selector 23b selects the output of the FIFO buffer 22b in the low-speed image processing mode, and selects the output of the pixel separation unit 24 in the high-speed image processing mode. Are added to the encoder 26b through the data buffer 25b.
[0038]
The encoder 26b applies a predetermined encoding process to the input image data, and the output is output as code data to the next stage device (not shown) via the output circuit 27b.
[0039]
With the above configuration, when the low-speed image processing mode is set, the selector 23a selects the FIFO buffer 22a, whereby the image data CA output from the FIFO buffer 22a is sent to the data buffer 25a via the selector 23a. Is output.
[0040]
The image data CA output from the data buffer 25a is encoded and compressed by the encoder 26a, and is output as code data to the next stage device via the output circuit 27a.
[0041]
When the low-speed image processing mode is set, the selector 23b selects the FIFO buffer 22b, whereby the image data CB output from the FIFO buffer 22b is output to the data buffer 25b via the selector 23b. .
[0042]
The image data CB output from the data buffer 25b is encoded and compressed by the encoder 26b, and is output as code data to the next stage device via the output circuit 27b.
[0043]
In this way, this encoding device can realize a function of processing two sets of image data in parallel in the low-speed image processing mode.
[0044]
On the other hand, when the high-speed image processing mode is set, the selector 22a and the selector 22b select partial image data output from the pixel separation unit 24, respectively.
[0045]
Thereby, the image data CB input via the input circuit 21b is separated into two signal series by the pixel separation unit 24, and the partial image data of one signal series is sent to the data buffer 25a via the selector 23a. The input partial image data of the other signal series is input to the data buffer 25b via the selector 23b.
[0046]
Therefore, in this case, the partial image data of one signal series is encoded by the encoder 26a, and is output to the next stage apparatus as the A signal series code data as described above, for example, via the output circuit 27a.
[0047]
Further, the partial image data of the other signal series is encoded by the encoder 26b, and is output to the next stage apparatus as B signal series code data as described above, for example, via the output circuit 27b.
[0048]
In the next stage apparatus, the A signal sequence code data file composed of A signal sequence code data and the B signal sequence code data file composed of B signal sequence code data are handled as independent code data files. The signal sequence code data file and the B signal sequence code data file are collected and handled as one code data file corresponding to the original image data.
[0049]
As described above, in the encoding apparatus according to the present embodiment, two systems of encoding processing can be executed in the low-speed image processing mode, and in the high-speed image processing mode, low-speed images are processed for image data that requires high-speed processing. Since the encoding process can be performed at a processing speed twice as high as that in the processing mode, the present invention can be applied to both a low-speed image source and a high-speed image source, and the availability of this encoding apparatus is very large.
[0050]
FIG. 6 shows an example of a decoding apparatus according to another embodiment of the present invention.
[0051]
In the figure, code data PA is added to a data buffer 32a via an input circuit 31a, and is added to a decoder 33a via a data buffer 32a. The decoder 33a converts the input code data PA into image data by applying a corresponding decoding process. This image data is added to the output circuit 35a and one input terminal of the pixel synthesis unit 36 via the FIFO buffer 34a.
[0052]
The code data PB is added to the data buffer 32b via the input circuit 31b, and is added to the decoder 33b via the data buffer 32b. The decoder 33b converts the input code data PB into image data by applying a corresponding decoding process. This image data is added to the other input terminal of the pixel composition unit 36 and one input terminal of the selector 37 via the FIFO buffer 34 b.
[0053]
The pixel synthesizing unit 36 synthesizes the image data output from the FIFO buffer 34 a and the image data output from the FIFO buffer 34 b in bit order, and the output is added to the other input terminal of the selector 37. It is done.
[0054]
The selector 37 selects the output of the FIFO buffer 34b in the low-speed processing mode, and selects the output of the pixel synthesizer 36 in the high-speed processing mode. The output is output via the output circuit 35b. Output to the next stage device. In the high-speed processing mode, the output circuit 35a is in an output prohibited state.
[0055]
With the above configuration, in the low-speed processing mode, the selector 37 selects the output of the FIFO buffer 34b, and independent code data is added to the input circuit as code data PA and PB.
[0056]
Therefore, in this case, the decoding device functions as a decoding device having two independent processing systems (two channels).
[0057]
On the other hand, in the high-speed processing mode, the code data file as shown in FIG. 2D is to be processed, the code data of the A signal sequence code data file FDa is added as the code data PA, and the B signal sequence The code data of the code data file FDb is added as code data PB. Further, in this case, the selector 37 selects the output of the pixel synthesis unit 36, and the output circuit 35a is in an output prohibited state.
[0058]
As a result, the A signal sequence code data is added to the decoder 33a via the input circuit 31a and the data buffer 32a, and is converted into one partial image data by applying a corresponding decoding process. The partial image data is added to the pixel composition unit 36 via the FIFO buffer 34a.
[0059]
Further, the B signal series code data is added to the decoder 33b via the input circuit 31b and the data buffer 32b, and is converted into the other partial image data by applying a corresponding decoding process. This partial image data is added to the pixel composition unit 36 via the FIFO buffer 34b.
[0060]
The pixel synthesis unit 36 synthesizes (deinterleaves) one partial image data output from the FIFO buffer 34a and the other partial image data output from the FIFO buffer 34b in a bit order. That is, the A signal sequence (one) partial image data as shown in FIG. 4A and the B signal sequence (other) partial image data as shown in FIG. Integrated image data as shown in FIG. The image data is output to the next stage device (not shown) via the selector 37 and the output circuit 35b.
[0061]
In the above embodiment, a plurality of signal sequence code data are generated by interleaving the image data to be encoded in the bit order. However, this interleaving mode can be set in units of lines.
[0062]
Here, there is a concept that an image is treated as one of two-dimensional directions as a main scanning direction and the other perpendicular direction as a sub-scanning direction. The above-described line unit indicates a line in the main scanning direction or a line in the sub-scanning direction. For example, when image data is created by reading an original image with a scanner or the like, the line in the main scanning direction is often indicated.
[0063]
At the time of encoding in this case, the original image data as shown in FIG. 7A is converted into odd-numbered lines A1, A2, A3,... And even-numbered lines B1, B2, B3,. Are interleaved to form an A signal sequence as shown in FIG. 4B and a B signal sequence as shown in FIG. Apply.
[0064]
At the time of decoding, an A signal sequence as shown in FIG. 8A and a B signal sequence as shown in FIG. Are alternately combined (deinterleaved) to form the original image data.
[0065]
【The invention's effect】
As described above, according to the present invention, image data is interleaved into a plurality of systems in the bit order or line order, and each system is encoded in parallel by an independent encoder and obtained by this. Since the encoded data is processed as a single data stream (in this case, filed), the encoding speed can be greatly increased, which is very convenient.
[0066]
In addition, when decoding such code data, it can be processed in parallel by a plurality of decoders, so the time required for the decoding process is reduced by half and high-speed decoding processing is realized. The effect that it can do is also acquired.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an example of an encoding apparatus according to an embodiment of the present invention.
FIG. 2 is a schematic diagram for explaining a mode of bit order interleaving during encoding.
FIG. 3 is a block diagram showing an example of a decoding device according to an embodiment of the present invention.
FIG. 4 is a schematic diagram for explaining a mode of deinterleaving of bit order at the time of decoding.
FIG. 5 is a block diagram showing an example of an encoding apparatus according to another embodiment of the present invention.
FIG. 6 is a block diagram showing an example of a decoding device according to another embodiment of the present invention.
FIG. 7 is a schematic diagram for explaining an interleaving mode of line order at the time of encoding.
FIG. 8 is a schematic diagram for explaining a mode of deinterleaving of line order at the time of decoding.
[Explanation of symbols]
1, 11a, 11b, 21a, 21b, 31a, 31b Input circuit 2, 14a, 14b, 22a, 22b, 34a, 34b FIFO buffer 3, 24 Pixel separation unit 4a, 4b, 12a, 12b, 25a, 25b, 32a, 32b Data buffers 5a, 5b, 26a, 26b Encoders 6a, 6b, 16, 27a, 27b, 35a, 35b Output circuits 13a, 13b, 33a, 33b Decoders 15, 36 Pixel synthesis units 23a, 23b, 37 selectors

Claims (2)

複数の画像符号化復号化手段を備え、
高速処理が必要な画像データについては、符号化対象の画像データをビット順序に上記画像符号化復号化手段と同数にインタリーブして複数のデータ系列を形成し、そのデータ系列ごとに上記画像符号化復号化手段をそれぞれ独立して適用しておのおの符号データを作成し、それによって得た複数の符号データをまとめて1つの符号データファイルを構成して上記画像データを符号化する一方、
上記符号データファイルを復号化する際、上記データファイルに含まれる上記複数の符号データについて上記複数の画像符号化復号化手段をそれぞれ独立して適用しておのおの復号データを作成し、それによって得た複数の復号データを、ビット単位に上記インタリーブに対応したデインターリーブして元の画像データを形成し、
高速処理が不要な画像データについては、上記複数の画像符号化復号化手段をそれぞれ1つの画像データ処理に割り当てて並列動作させることを特徴とする画像符号化復号化装置。
A plurality of image encoding and decoding means,
For image data that requires high-speed processing, the image data to be encoded is interleaved in the same order as the image encoding / decoding means in the bit order to form a plurality of data sequences, and the image encoding is performed for each data sequence. While creating each code data to which each decoding means is applied independently, a plurality of code data obtained thereby is combined into one code data file to encode the image data,
When decoding the code data file, each of the plurality of code data included in the data file is independently applied to each of the plurality of image encoding / decoding means, and the decoded data is obtained. A plurality of decoded data is deinterleaved in bit units corresponding to the above interleave to form the original image data,
An image coding / decoding apparatus, wherein image data that does not require high-speed processing is assigned to each of the plurality of image coding / decoding means for one image data processing to be operated in parallel.
複数の画像符号化復号化手段を備え、
高速処理が必要な画像データについては、符号化対象の画像データをライン順序に上記画像符号化復号化手段と同数にインタリーブして複数のデータ系列を形成し、そのデータ系列ごとに上記画像符号化復号化手段をそれぞれ独立して適用しておのおの符号データを作成し、それによって得た複数の符号データをまとめて1つの符号データファイルを構成して上記画像データを符号化する一方、
上記符号データファイルを復号化する際、上記データファイルに含まれる上記複数の符号データについて上記複数の画像符号化復号化手段をそれぞれ独立して適用しておのおの復号データを作成し、それによって得た複数の復号データを、ライン単位に上記インタリーブに対応したデインターリーブして元の画像データを形成し、
高速処理が不要な画像データについては、上記複数の画像符号化復号化手段をそれぞれ1つの画像データ処理に割り当てて並列動作させることを特徴とする画像符号化復号化装置。
A plurality of image encoding and decoding means,
For image data that requires high-speed processing, the image data to be encoded is interleaved in the line order in the same number as the image encoding / decoding means to form a plurality of data sequences, and the image encoding is performed for each data sequence. While creating each code data to which each decoding means is applied independently, a plurality of code data obtained thereby is combined into one code data file to encode the image data,
When decoding the code data file, each of the plurality of code data included in the data file is independently applied to each of the plurality of image encoding / decoding means, and the decoded data is obtained. A plurality of decoded data is deinterleaved corresponding to the above interleave in line units to form original image data,
An image coding / decoding apparatus, wherein image data that does not require high-speed processing is assigned to each of the plurality of image coding / decoding means for one image data processing to be operated in parallel.
JP2001384249A 2001-12-18 2001-12-18 Image coding / decoding device Expired - Fee Related JP3923307B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001384249A JP3923307B2 (en) 2001-12-18 2001-12-18 Image coding / decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001384249A JP3923307B2 (en) 2001-12-18 2001-12-18 Image coding / decoding device

Publications (2)

Publication Number Publication Date
JP2003189110A JP2003189110A (en) 2003-07-04
JP3923307B2 true JP3923307B2 (en) 2007-05-30

Family

ID=27594025

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001384249A Expired - Fee Related JP3923307B2 (en) 2001-12-18 2001-12-18 Image coding / decoding device

Country Status (1)

Country Link
JP (1) JP3923307B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0524983D0 (en) * 2005-12-07 2006-01-18 Imagination Tech Ltd Recompression and decompression of a data stream for rate smoothing

Also Published As

Publication number Publication date
JP2003189110A (en) 2003-07-04

Similar Documents

Publication Publication Date Title
KR0185592B1 (en) Coding and decoding apparatus of variable length data
US7894532B2 (en) Variable-length encoding apparatus and method
US7302105B2 (en) Moving image coding apparatus, moving image decoding apparatus, and methods therefor
US8175401B2 (en) Image processing apparatus and computer readable medium storing program therefor
JPH11239351A (en) Moving image coding method, decoding method, encoding device, decoding device and recording medium storing moving image coding and decoding program
JP3923307B2 (en) Image coding / decoding device
US20020036937A1 (en) Semiconductor memory apparatus
JPH033440B2 (en)
JP2000217003A (en) Coding system and decoding system
TW447195B (en) A run-length decoder with error concealment capability
JP4831349B2 (en) Image processing apparatus, image forming apparatus, image forming system, and program
JP2008033488A (en) Image processing apparatus
JP2009153020A (en) Data processing apparatus
JPH09247466A (en) Encoding device
EP0998148A2 (en) Parallel transmitter and receiver for digital video sequences
JP3634498B2 (en) Image encoding device
KR20070105919A (en) Data processor and data process method
JP2000092493A (en) Video decoding device and method therefor
JP2002125116A (en) Image processing unit
JP3262617B2 (en) Image signal decoding device
JP4502383B2 (en) Decoding device and method thereof
JP2758159B2 (en) Image compression / decompression device
JPH0939307A (en) Printer
JP2001309185A (en) Data compressor
JP3156853B2 (en) Decoding device and encoding / decoding device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040927

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061128

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070126

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: 20070220

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070221

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110302

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120302

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130302

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140302

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees