JPH05236286A - Picture decoding circuit - Google Patents

Picture decoding circuit

Info

Publication number
JPH05236286A
JPH05236286A JP3098592A JP3098592A JPH05236286A JP H05236286 A JPH05236286 A JP H05236286A JP 3098592 A JP3098592 A JP 3098592A JP 3098592 A JP3098592 A JP 3098592A JP H05236286 A JPH05236286 A JP H05236286A
Authority
JP
Japan
Prior art keywords
line
data
unit
input
line number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP3098592A
Other languages
Japanese (ja)
Inventor
Kazumi Kobayashi
和美 小林
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.)
NEC Office Systems Ltd
Original Assignee
NEC Office Systems 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 NEC Office Systems Ltd filed Critical NEC Office Systems Ltd
Priority to JP3098592A priority Critical patent/JPH05236286A/en
Publication of JPH05236286A publication Critical patent/JPH05236286A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

PURPOSE:To attain the connection to a general picture output device by converting coding data showing of succession of lots of lines of the entirely same picture data for each line based on picture image data. CONSTITUTION:A line number detection section (1) detects coding data representing a line number in the inputted coding data and inputs coding data inputted to a line conversion section 3 when the line number is not detected, a preceding line read from a line storage section (4) is referred to convert the coded data into new coding data by one line and the data are stored in the storage section (4). Simultaneously the input coding data are inputted to a data changeover section (5) and when the line number is detected by the detection section (1), a line number is set to a line number counter (2) and the line number set to the counter (2) from the storage section (4) is read and inputted to the changeover section (5). The changeover section (5) outputs the new coding data or the inputted coding data switching them and a decoding section (6) decodes the coding data into the picture data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は画像復号回路に関し、特
にファクシミリ、スキャナ等の画像読取装置から圧縮さ
れた符号化データを受け取り、画像データに復号を行う
画像復号回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image decoding circuit, and more particularly to an image decoding circuit which receives compressed coded data from an image reading device such as a facsimile or a scanner and decodes the image data.

【0002】[0002]

【従来の技術】一般的な画像復号回路を用いた復号処理
部を備える画像出力装置の一例のブロック図を図2に示
す。
2. Description of the Related Art FIG. 2 shows a block diagram of an example of an image output apparatus having a decoding processing section using a general image decoding circuit.

【0003】図2において、7は符号化データ入力部、
8は復号処理部、9は画像出力部である。圧縮された符
号化データを符号化データ入力部7に入力し、復号処理
部8において、元の画像を復元するために復号を行い、
復元された画像データを画像出力部9へ出力する。
In FIG. 2, 7 is an encoded data input section,
Reference numeral 8 is a decoding processing unit, and 9 is an image output unit. The compressed encoded data is input to the encoded data input unit 7, and the decoding processing unit 8 performs decoding to restore the original image,
The restored image data is output to the image output unit 9.

【0004】画像復号回路は、復号処理部8の一部とし
て構成されており、例として、MH圧縮方法を用いたも
の、MR圧縮方法を用いたものなどがある。
The image decoding circuit is configured as a part of the decoding processing unit 8, and examples thereof include those using the MH compression method and those using the MR compression method.

【0005】MH圧縮方法を用いた一例のブロック図を
図4に、MR圧縮方法を用いた一例のブロック図を図5
に表す。
An example block diagram using the MH compression method is shown in FIG. 4, and an example block diagram using the MR compression method is shown in FIG.
Represent.

【0006】図4において、画像復号回路は、復号部1
0であり、1ラインずつ入力された符号化データが表す
白、あるいは黒のビット数を実際の白黒のビット長に変
換し出力する。
In FIG. 4, the image decoding circuit includes a decoding unit 1
It is 0, and the number of white or black bits represented by the coded data input line by line is converted into an actual black and white bit length and output.

【0007】図3で示すような画像の場合、入力される
符号化データは、d)のMH圧縮方法で示すように、1
ラインめは白10、その後ろにラインの終わりを表す、
END OF LINE(以下EOLとする)が入力さ
れるため、白10ビット並べて改行し、2ラインめも同
様にして、白2,黒6,白2,EOLが入力されるた
め、白を2ビット,黒を6ビット,白を2ビットと並べ
て改行し、続いて3,4,5,6…9ラインめと続き、
10ラインめには、白10とページの終わりを表す、E
ND OF PAGE(以下EOPとする)が入力され
るため、白を10ビット並べて1ページ分の画像データ
が得られる。
In the case of an image as shown in FIG. 3, the input encoded data is 1 as shown in the MH compression method of d).
Line 10 is white, and behind it is the end of the line,
Since END OF LINE (hereinafter referred to as EOL) is input, white 10 bits are lined up and a line feed is performed, and in the same manner for the second line, white 2, black 6, white 2, and EOL are input. Black line is set to 6 bits, white line is set to 2 bits, and a line feed is started, followed by lines 3, 4, 5, 6 ...
The 10th line shows white 10 and the end of the page, E
Since ND OF PAGE (hereinafter referred to as EOP) is input, white image is arranged for 10 bits to obtain image data for one page.

【0008】図5において、画像復号回路は、復号部1
1と、1ライン記憶部12とにより構成され、1ライン
記憶部12では、1ライン分の符号化データを記憶し、
復号化部11においては、ライン記憶部12よりの1ラ
イン分の符号化データを参照して、入力した符号化デー
タが表す白、あるいは黒のビット数を実際の白黒のビッ
ト長に変換し出力する。
In FIG. 5, the image decoding circuit includes a decoding unit 1
1 and a 1-line storage unit 12. The 1-line storage unit 12 stores encoded data for 1 line,
The decoding unit 11 refers to the encoded data for one line from the line storage unit 12, converts the number of white or black bits represented by the input encoded data into the actual bit length of black and white, and outputs the bit length. To do.

【0009】図3で示すような画像の場合、入力される
符号化データは、e)のMR圧縮方法で示すように、1
ラインめは前述したMH圧縮方法と同様に、白10,E
OLが入力されるため、白10ビット並べて改行し、2
ラインめも同様にして、MR圧縮方法として決められて
いる前ラインとの相違データ001,白2,黒6,白
2,EOLが入力されるため、白を2ビット,黒を6ビ
ット,白を2ビットと並べて改行し、続いて3ラインめ
としてはMR圧縮方法として決められている前ラインと
の同様データ1,1,EOLが入力されるため、白を2
ビット,黒を6ビット、白を2ビットと並べて改行し、
続いて4,5,6…9ラインめと続き、10ラインめに
は、白10,EOPが入力されるため、白を10ビット
並べて1ページ分の画像データが得られる。
In the case of an image as shown in FIG. 3, the input coded data is 1 as shown in the MR compression method of e).
The line is white 10, E as in the MH compression method described above.
Since OL is input, line 10 white lines and start a new line.
Similarly for the line, the difference data 001, white 2, black 6, white 2, and EOL from the previous line, which is determined as the MR compression method, are input, so white is 2 bits, black is 6 bits, and white is A line feed is placed side by side with 2 bits, and subsequently, for the third line, the same data 1, 1, EOL as the previous line, which is determined as the MR compression method, is input.
Bit, black is 6 bits, white is 2 bits and line feed
Subsequently, white 10, EOP is input to the 10th line, followed by the 4th, 5th, 6th, ... 9th lines, so that 10 pages of whites are arranged to obtain image data for one page.

【0010】このように、従来の画像圧縮方法について
は、画像データの1ラインの先頭から順番に白黒のデー
タを符号にする方法と、画像データの1ラインめを参照
して2ラインめを比較し、その相違データを符号化する
方法があり、前者より後者のほうが効率が良く、符号化
されたデータ量が減少するが、ラインごとに全く同じ画
像データが何ラインも続く場合、1ラインが前ラインと
同様であることを示す符号が、そのライン分だけ必要と
なり、同じデータが繰り返されることになる。
As described above, as for the conventional image compression method, the method of coding the black and white data sequentially from the beginning of the first line of the image data and the second line by referring to the first line of the image data are compared. However, there is a method of encoding the difference data, and the latter is more efficient than the former and the amount of encoded data is reduced, but if exactly the same image data continues for each line, one line is A code indicating that it is the same as the previous line is required for that line, and the same data is repeated.

【0011】さらに、同様にラインごとに全く同じ画像
データが何ラインも続く場合では、その白黒の変化の数
より1引いた数だけの1が並ぶことで前ラインと同様の
データであることを表すため、1ラインの白黒データの
変化点が多い場合には、1の数が増えてしまうという欠
点がある。
Further, in the case where the same image data continues for each line similarly, the same data as the previous line can be obtained by arranging 1's, which is one less than the number of black and white changes. For the purpose of representation, there is a drawback that the number of 1's increases if there are many points of change in the black-and-white data for one line.

【0012】そこで、本発明者は、ラインごとに全く同
じ画像データが何ラインも続く場合と、さらに、1ライ
ンの白黒データの変化が多い場合にも、そのライン数を
符号化することでデータ量を減少することのできる画像
符号化復号化回路として提案した。
Therefore, the present inventor encodes the number of lines even when exactly the same image data continues for each line for a number of lines and when there is a large change in the black and white data of one line. It was proposed as an image coding and decoding circuit that can reduce the amount.

【0013】図6は、その画像符号化復号化回路の機能
ブロック図であり、a)は符号化回路、b)は復号回路
である。
FIG. 6 is a functional block diagram of the image encoding / decoding circuit, in which a) is an encoding circuit and b) is a decoding circuit.

【0014】a)の符号化回路において、13はデータ
レジスタA、14はデータレジスタB、15は符号化
部、16はライン比較部、17はラインカウンタ、18
はデータ切り換え部Aで、b)の復号回路において、1
9はライン数検出部、20はデータ切り換え部B、21
はライン記憶部、22は復号部である。
In the encoding circuit of a), 13 is a data register A, 14 is a data register B, 15 is an encoding unit, 16 is a line comparing unit, 17 is a line counter, and 18
Is a data switching unit A, and in the decoding circuit of b), 1
9 is a line number detection unit, 20 is a data switching unit B, 21
Is a line storage unit, and 22 is a decoding unit.

【0015】次に、この画像符号化復号化回路の動作を
説明する。データレジスタA13では、入力された画像
データの1ラインを、データレジスタB14では、次の
1ラインをそれぞれ格納し、データ比較部16におい
て、データレジスタA13と、データレジスタB14か
らの2ライン分の画像データを比較し、符号化部15に
て従来のMR圧縮方法と同様に、1ラインめの画像デー
タを元にしながら、1ラインの白黒のデータの並びと1
ラインめの画像データとの相違点から符号化を行い、符
号化データを出力する。さらに、ラインカウンタ17で
はライン比較部16より1ライン分の画像データが、全
て前ラインと同様である場合、そのライン数をカウント
し、データ切り換え部A18へ出力し、符号化部15か
らの符号化データとラインカウンタ17からのカウント
値を切り換えて出力する。
Next, the operation of this image encoding / decoding circuit will be described. The data register A13 stores one line of the input image data, the data register B14 stores the next one line, and the data comparison unit 16 stores the images of two lines from the data register A13 and the data register B14. The data are compared, and in the encoding unit 15, as in the case of the conventional MR compression method, the line of black and white data of 1 line is compared with 1 based on the image data of the first line.
Encoding is performed based on the difference from the line image data, and the encoded data is output. Further, in the line counter 17, when the image data for one line from the line comparison unit 16 is all the same as the previous line, the number of lines is counted and output to the data switching unit A18, and the code from the encoding unit 15 is output. The converted data and the count value from the line counter 17 are switched and output.

【0016】例えば、図3で示すような画像の場合、
a)で示すように、1ラインめは前述したMR圧縮方法
と同様に、白が10ビット続くため、白10を表す符号
データがあり、その後ろにラインの終わりを表す、EO
Lがある。2ラインめは1ラインめと比較により、MR
圧縮方法として決められている相違データと同様の00
1と、白2,黒6,白2,EOLとなり、3ラインめは
2ラインめと全く同様ではあるが、MR圧縮方法とは異
なりライン数1をカウントし、4ラインめは3ラインめ
と異なる画像データであるため、3ラインめでカウント
したライン数とEOLを出力、4ラインめは3ラインめ
との比較により、MR圧縮方法として決められている同
様データと同様の1と、相違データ001,黒2,白
6,EOLとなり、1ラインづつ符号化していく。同様
に、7,8,9ラインめは3ライン続けて全て画像デー
タが同じことより、7ラインめを符号化した後、8,9
ラインをカウントしてライン数2とEOLを出力し、続
けて10ラインめを符号化する。
For example, in the case of the image shown in FIG.
As shown in a), as in the MR compression method described above, the first line has 10 bits of white, so there is code data representing white 10, and the end of the line is EO.
There is L. By comparing the second line with the first line, MR
00, which is the same as the difference data determined as the compression method
1 and white 2, black 6, white 2, and EOL, the 3rd line is exactly the same as the 2nd line, but unlike the MR compression method, the number of lines 1 is counted, and the 4th line is the 3rd line. Since the image data is different, the number of lines counted in the third line and the EOL are output, and by comparing the fourth line with the third line, the same 1 as the same data determined as the MR compression method and the different data 001. , Black 2, white 6, EOL, and encoding is performed line by line. Similarly, since the 7th, 8th, and 9th lines have the same image data for 3 consecutive lines, after encoding the 7th line,
The number of lines is counted, the number of lines is 2 and EOL is output, and then the 10th line is encoded.

【0017】また、この符号化データから元の画像を復
元するためには、1ラインめの符号化データをデータ切
り換え部B20を通してライン記憶部21へ格納し、同
時に復号部22で入力した符号化データが表す白、ある
いは黒のビット数を実際の白黒のビット長に変換し出力
する。続けて、2ラインめからの符号化データを、ライ
ン数検出部19と、データ切り換え部B20に入力し、
ライン数検出部19ではライン数であるのか、白黒を表
す符号化データであるのか判断し、ライン数である場合
にはライン記憶部21に対して信号を出力し、ライン記
憶部21に格納してある前ラインのデータを復号部22
に出力し、この前ラインの符号化データが表す白、ある
いは黒のビット数を実際の白黒のビット長に変換し出力
する。
In order to restore the original image from this encoded data, the encoded data of the first line is stored in the line storage unit 21 through the data switching unit B20 and simultaneously encoded by the decoding unit 22. Converts the number of white or black bits represented by data to the actual bit length of black and white and outputs it. Subsequently, the encoded data from the second line is input to the line number detection unit 19 and the data switching unit B20,
The line number detection unit 19 determines whether it is the number of lines or encoded data representing black and white, and when it is the number of lines, outputs a signal to the line storage unit 21 and stores it in the line storage unit 21. The data of the previous line that is stored is decoded by the decoding unit 22.
The bit number of white or black represented by the encoded data of the preceding line is converted into the actual bit length of black and white and output.

【0018】また、ライン数検出部19において、白黒
を表す符号化データであると判断した場合には、データ
切り換え部B20を介して復号部22にて符号化データ
を渡し、ライン記憶部21より前ラインの符号化データ
を読み出して、前ラインを参照しながら符号化データが
表す白、あるいは黒のビット数を実際の白黒のビット長
に変換し出力する。
When the line number detecting unit 19 determines that the data is encoded data representing black and white, the decoding unit 22 passes the encoded data through the data switching unit B20, and the line storage unit 21 sends the encoded data. The encoded data of the previous line is read, the number of bits of white or black represented by the encoded data is converted into the actual bit length of black and white, and the encoded data is output while referring to the preceding line.

【0019】このようにすることで、ラインごとに全く
同じ画像データが何ラインも続く場合や、1ラインの白
黒データの変化が多い場合に、そのライン数を符号化す
ることで符号化データを減少するという効果が得られ、
以上の説明においては、画像符号化復号化回路での符号
化方法の特徴であるライン数を符号化することの他は、
MR圧縮方法と同様の符号化方法同様の効果が得られる
ものである。
By doing so, when the same image data continues for each line for many lines or when the black-and-white data of one line changes a lot, the number of lines is encoded to obtain the encoded data. The effect of decreasing
In the above description, except that the number of lines, which is the feature of the encoding method in the image encoding / decoding circuit, is encoded,
The same effect as the encoding method similar to the MR compression method can be obtained.

【0020】[0020]

【発明が解決しようとする課題】しかしながら、従来の
技術で説明した画像符号化復号化回路により提案した圧
縮方法を用いる場合、必ず図6で示すa)符号化回路に
対して、b)復号化回路のみが対応しており、それぞれ
個別には使用できず、汎用性もないためa)の符号化回
路を用いている画像入力装置と一般的なMH圧縮方法、
MR圧縮方法を用いた画像出力装置は接続することが不
可能である。
However, when the compression method proposed by the image coding / decoding circuit described in the prior art is used, the a) coding circuit shown in FIG. An image input device using the encoding circuit of a) and a general MH compression method, because only the circuits are compatible and cannot be used individually and have no versatility.
An image output device using the MR compression method cannot be connected.

【0021】そこで、本発明の技術的課題は、上記欠点
に鑑みa)の符号化回路を用いている画像入力装置より
得た符号化データを変換し、一般的なMH圧縮方法、M
R圧縮方法を用いた画像出力装置への接続を可能にする
画像復号回路を提供することにある。
In view of the above-mentioned drawbacks, the technical problem of the present invention is to convert the coded data obtained from the image input device using the coding circuit of a) to convert the coded data into a general MH compression method, M
An object is to provide an image decoding circuit that enables connection to an image output device using the R compression method.

【0022】[0022]

【課題を解決するための手段】本発明によれば、ライン
数検出部と、ライン数カウンタと、ライン変換部と、ラ
イン記憶部と、データ切り換え部、復号部とを備える画
像復号回路において、前記ライン数検出部では、入力さ
れた符号化データの中のライン数を検出し、ライン数を
検出しない場合は、前記ライン変換部に入力された符号
化データを入力し、1ライン分の新しい符号化データに
変換し、前記ライン記憶部に格納し、同時に入力された
符号化データを前記データ切り換え部に入力し、前記ラ
イン数検出部においてライン数を検出した場合には、前
記ライン記憶部から検出されたライン数だけ読み出し、
前記データ切り換え部に入力し、前記データ切り換え部
においては、前記ライン記憶部よりの符号化データと入
力された符号化データとを切り換えて出力し、前記復号
部においては、前記データ切り換え部より入力されたデ
ータを復号することを特徴とする画像復号回路が得られ
る。
According to the present invention, in an image decoding circuit including a line number detecting section, a line number counter, a line converting section, a line storing section, a data switching section and a decoding section, The line number detection unit detects the number of lines in the input coded data, and when the number of lines is not detected, the coded data input to the line conversion unit is input and a new line for one line is input. When the number of lines is detected by the number-of-lines detecting unit by inputting the coded data that has been converted into encoded data and stored in the line storage unit at the same time, the encoded data input at the same time is input to the data switching unit. Read out the number of lines detected from
Input to the data switching unit, the data switching unit switches and outputs the encoded data from the line storage unit and the input encoded data, and the decoding unit inputs from the data switching unit. An image decoding circuit is obtained which is characterized in that the decoded data is decoded.

【0023】また、本発明によれば、上記画像復号回路
において、前記ライン数検出部は、前記ライン記憶部か
ら読み出した前ラインを参照して、前記1ライン分の新
しい符号化データに変換することを特徴とする画像復号
回路が得られる。
Further, according to the present invention, in the image decoding circuit, the line number detection unit refers to a previous line read from the line storage unit and converts the line into new encoded data for one line. An image decoding circuit characterized by the above is obtained.

【0024】また、本発明によれば、上記画像復号化回
路において、前記ライン数検出部は、ライン数を検出し
た場合は、前記ライン数カウンタにライン数をセット
し、当該セットされたライン数だけを前記記憶部から読
み出すことを特徴とする画像復号回路が得られる。
Further, according to the present invention, in the image decoding circuit, when the line number detecting section detects the number of lines, it sets the number of lines in the line number counter, and the set number of lines is set. An image decoding circuit is obtained which is characterized in that only the data is read from the storage unit.

【0025】即ち、本発明の画像復号回路は、ライン数
検出部と、ライン数カウンタと、ライン変換部と、ライ
ン記憶部と、データ切り換え部と、復号部とを備える。
That is, the image decoding circuit of the present invention comprises a line number detecting section, a line number counter, a line converting section, a line storing section, a data switching section, and a decoding section.

【0026】こうすることにより、本発明者が提案した
画像符号化復号化回路により提案した圧縮方法を用いる
場合、図6で示すa)符号化回路と、b)復号回路を対
にして用いなくとも、a)符号化回路を用いている画像
入力装置より得た符号化データを変換することで、この
符号化回路を用いている画像入力装置と一般的なMH圧
縮方法、MR圧縮方法を用いた画像出力装置は接続する
ことができる画像復号回路を提供することにある。
Thus, when the compression method proposed by the image coding / decoding circuit proposed by the present inventor is used, the a) coding circuit and the b) decoding circuit shown in FIG. 6 are not used in pairs. A) By converting the encoded data obtained from the image input device using the encoding circuit, the image input device using this encoding circuit and the general MH compression method and MR compression method are used. The other image output device is to provide an image decoding circuit which can be connected.

【0027】[0027]

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

【0028】図1は、本発明の一実施例の画像復号回路
の機能ブロック図であり、1はライン数検出部、2はラ
イン数カウンタ、3はライン変換部、4はライン記憶
部、5はデータ切り換え部、6は復号部である。
FIG. 1 is a functional block diagram of an image decoding circuit according to an embodiment of the present invention, in which 1 is a line number detection unit, 2 is a line number counter, 3 is a line conversion unit, 4 is a line storage unit, 5 Is a data switching unit, and 6 is a decoding unit.

【0029】次にこの画像復号回路の動作を説明する。
まず、図2で示す符号化データ入力部7より符号化デー
タを入力する。ライン数検出部1では、入力された符号
化データの中のライン数を検出し、ライン数を検出しな
い場合は、ライン変換部3に入力された符号化データを
入力し、ライン記憶部4から読み出した前ラインを参照
して、1ライン分の新しい符号化データに変換する。続
いて、この新しい符号化データをライン記憶部4に格納
し、同時に入力された符号化データをデータ切り換え部
5に入力する。
Next, the operation of this image decoding circuit will be described.
First, encoded data is input from the encoded data input unit 7 shown in FIG. The line number detection unit 1 detects the number of lines in the input coded data. When the line number is not detected, the coded data input to the line conversion unit 3 is input, and the line storage unit 4 outputs the coded data. The read previous line is referred to and converted into new encoded data for one line. Subsequently, this new encoded data is stored in the line storage unit 4, and the simultaneously input encoded data is input to the data switching unit 5.

【0030】また、ライン数検出部1においてライン数
を検出した場合には、ライン数カウンタ2にライン数を
セットし、ライン記憶部4からライン数カウンタ2にセ
ットされたライン数だけ読み出し、データ切り換え部5
に入力する。さらに、データ切り換え部5においては、
ライン記憶部4よりの符号化データと入力された符号化
データとを切り換えて出力し、復号部6で符号化データ
が示す白、あるいは黒のビット数を実際のビット長に変
換し出力する。
When the line number detecting unit 1 detects the number of lines, the line number is set in the line number counter 2, and the line number is read from the line storage unit 4 by the number of lines set in the line number counter 2. Switching unit 5
To enter. Furthermore, in the data switching unit 5,
The coded data from the line storage unit 4 and the input coded data are switched and output, and the decoding unit 6 converts the number of white or black bits indicated by the coded data into an actual bit length and outputs it.

【0031】図3で示すような画像の場合では、入力さ
れる符号化データを、a)の本発明の圧縮方法(入力デ
ータ)、出力される符号化データをb)の本発明の圧縮
方法(MR出力データ)で示しているが、1ラインめは
白10,EOLが入力され、ライン数検出部1にてライ
ン数を検出しないため、入力されたデータをデータ切り
換え部5へ入力すると同時に、ライン変換部3にも入力
し、ライン記憶部4より前ラインの符号化データを読み
出し、参照して新しい符号化データに変換するが、1ラ
インめは参照するデータがないため、入力された符号化
データをライン記憶部4に格納し、データ切り換え部5
では入力された符号化データを出力する。
In the case of an image as shown in FIG. 3, the encoded data to be input is the compression method (input data) of the present invention in a), and the encoded data to be output is the compression method of the present invention in b). As shown in (MR output data), white 10 and EOL are input for the first line, and since the line number detection unit 1 does not detect the number of lines, the input data is input to the data switching unit 5 at the same time. , Is also input to the line conversion unit 3, the encoded data of the previous line is read from the line storage unit 4, and is converted to new encoded data by reference. However, since there is no data to be referred to in the first line, it is input. The encoded data is stored in the line storage unit 4, and the data switching unit 5
Then, the input encoded data is output.

【0032】2ラインめも同様にして、MR圧縮方法と
して決められている前ラインとの相違データ001,白
2,黒6,白2,EOLが入力され、ライン検出部1に
てライン数を検出しないため、入力されたデータをデー
タ切り換え部5へ入力すると同時に、ライン変換部3に
も入力し、ライン記憶部4より1ラインめの変換データ
を読み出し、白2,黒6,白2,EOLに変換してライ
ン記憶部4に格納し、データ切り換え部5では入力され
た符号化データを出力する。
Similarly, for the second line, the difference data 001, white 2, black 6, white 2, and EOL from the previous line determined as the MR compression method are input, and the line detector 1 detects the number of lines. Therefore, the input data is input to the data switching unit 5 and also to the line conversion unit 3 to read the conversion data of the first line from the line storage unit 4, and the white 2, black 6, white 2, EOL Is converted into the line storage unit 4 and stored in the line storage unit 4, and the data switching unit 5 outputs the input encoded data.

【0033】3ラインめはライン数を表すデータ、EO
Lが入力され、ライン検出部1にてライン数を検出する
ため、このライン数1をライン数カウンタにセットし、
1回ライン記憶部4より変換データ白2,黒6,白2,
EOLを読み出し、データ切り換え部5に入力し、デー
タ切り換え部5では入力された変換データを出力する。
The third line is data representing the number of lines, EO.
Since L is input and the line number is detected by the line detection unit 1, this line number 1 is set in the line number counter,
Converted data from line memory 4 once White 2, Black 6, White 2,
The EOL is read and input to the data switching unit 5, and the data switching unit 5 outputs the input conversion data.

【0034】続けて3,4,5,6…9ラインめと続
き、10ラインめには、1,白8,EOLが入力される
ため、ライン数を検出しない場合の処理を行い、データ
切り換え部5から1,白8,EOPを出力する。
The third, fourth, fifth, sixth, ... third line, and then the tenth line, 1, white 8, and EOL are input, so processing is performed when the number of lines is not detected, and data switching is performed. The section 5 outputs 1, white 8, and EOP.

【0035】以上の説明においては、一例として本発明
の圧縮方法の特徴であるライン数を符号化することの他
は、MR圧縮方法と同様の圧縮方法として説明したが、
図3のc)本発明の圧縮方法(MH出力データ)で示す
ように、MH圧縮方法と同様の圧縮方法を用いた場合で
も同様の効果が得られ、本発明の目的を達成することが
できることは明らかである。
In the above description, the same compression method as the MR compression method has been described, except that the number of lines, which is a feature of the compression method of the present invention, is coded as an example.
As shown by c) the compression method (MH output data) of the present invention in FIG. 3, the same effect can be obtained even when a compression method similar to the MH compression method is used, and the object of the present invention can be achieved. Is clear.

【0036】[0036]

【発明の効果】以上の説明で明らかのごとく、本発明の
画像復号回路によれば、本発明者が提案した画像符号化
復号化回路により提案した圧縮方法を用いる場合、図6
で示す符号化回路と、復号回路を対にして用いなくと
も、符号化回路を用いている画像入力装置より得た符号
化データを変換することで、符号化回路を用いている画
像入力装置と一般的なMH圧縮方法、MR圧縮方法を用
いた画像出力装置は接続することができる。
As is apparent from the above description, according to the image decoding circuit of the present invention, when the compression method proposed by the image encoding / decoding circuit proposed by the present inventor is used, FIG.
The image input device using the encoding circuit can be converted by converting the encoded data obtained from the image input device using the encoding circuit without using the encoding circuit and the decoding circuit as a pair. An image output device using a general MH compression method or MR compression method can be connected.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例のブロック図。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】一般的な画像出力装置のブロック図。FIG. 2 is a block diagram of a general image output device.

【図3】画像データと符号化データ一覧,a)本発明の
圧縮方法(入力データ),b)本発明の圧縮方法(MR
出力データ),c)本発明の圧縮方法(MH出力デー
タ),b)MH圧縮方法,e)MR圧縮方法。
FIG. 3 is a list of image data and encoded data, a) compression method (input data) of the present invention, b) compression method of the present invention (MR
Output data), c) compression method (MH output data) of the present invention, b) MH compression method, e) MR compression method.

【図4】従来の一例のブロック図(MH圧縮方法)。FIG. 4 is a block diagram of a conventional example (MH compression method).

【図5】従来の他の一例のブロック図(MR圧縮方
法)。
FIG. 5 is a block diagram of another example of the related art (MR compression method).

【図6】従来の画像符号化復号化回路の一例のブロック
図,a)符号化回路,b)復号回路。
FIG. 6 is a block diagram of an example of a conventional image encoding / decoding circuit, a) an encoding circuit, and b) a decoding circuit.

【符号の説明】[Explanation of symbols]

1 ライン数検出部 2 ライン数カウンタ 3 ライン変換部 4 ライン記憶部 5 データ切り換え部 6 復号部 7 符号化データ入力部 8 復号処理部 9 画像出力部 10,11 復号部 12 1ライン記憶部 13 データレジスタA 14 データレジスタB 15 符号化部 16 ライン比較部 17 ラインカウンタ 18 データ切り換え部A 19 ライン数検出部 20 データ切り換え部B 21 ライン記憶部 22 復号部 1 line number detection unit 2 line number counter 3 line conversion unit 4 line storage unit 5 data switching unit 6 decoding unit 7 encoded data input unit 8 decoding processing unit 9 image output unit 10, 11 decoding unit 12 1 line storage unit 13 data Register A 14 Data register B 15 Encoding unit 16 Line comparison unit 17 Line counter 18 Data switching unit A 19 Number of lines detecting unit 20 Data switching unit B 21 Line storage unit 22 Decoding unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ライン数検出部と、ライン数カウンタ
と、ライン変換部と、ライン記憶部と、データ切り換え
部、復号部とを備える画像復号回路において、 前記ライン数検出部では、入力された符号化データの中
のライン数を検出し、 ライン数を検出しない場合は、前記ライン変換部に入力
された符号化データを入力し、1ライン分の新しい符号
化データに変換し、前記ライン記憶部に格納し、同時に
入力された符号化データを前記データ切り換え部に入力
し、 前記ライン数検出部においてライン数を検出した場合に
は、前記ライン記憶部から検出されたライン数だけ読み
出し、前記データ切り換え部に入力し、 前記データ切り換え部においては、前記ライン記憶部よ
りの符号化データと入力された符号化データとを切り換
えて出力し、 前記復号部においては、前記データ切り換え部より入力
されたデータを復号することを特徴とする画像復号回
路。
1. An image decoding circuit including a line number detection unit, a line number counter, a line conversion unit, a line storage unit, a data switching unit, and a decoding unit, wherein the line number detection unit receives an input. If the number of lines in the encoded data is detected and the number of lines is not detected, the encoded data input to the line conversion unit is input, converted into new encoded data for one line, and the line storage is performed. When the number of lines is detected by the line number detector, the coded data stored in the line storage unit is input to the data switching unit at the same time, and the detected line number is read from the line storage unit. The data is input to the data switching unit, and in the data switching unit, the encoded data from the line storage unit and the input encoded data are switched and output. In the decoding unit, the image decoding circuit, characterized in that decoding the input from the data switching unit data.
【請求項2】 請求項1記載の画像復号回路において、
前記ライン数検出部は、前記ライン記憶部から読み出し
た前ラインを参照して、前記1ライン分の新しい符号化
データに変換することを特徴とする画像復号回路。
2. The image decoding circuit according to claim 1, wherein
The image decoding circuit, wherein the line number detection unit refers to the previous line read from the line storage unit and converts the line into new encoded data for one line.
【請求項3】 請求項1又は2記載の画像復号化回路に
おいて、前記ライン数検出部は、ライン数を検出した場
合は、前記ライン数カウンタにライン数をセットし、当
該セットされたライン数だけを前記記憶部から読み出す
ことを特徴とする画像復号回路。
3. The image decoding circuit according to claim 1, wherein the line number detecting unit sets the line number in the line number counter when detecting the line number, and sets the set line number. The image decoding circuit is characterized in that only the data is read from the storage unit.
JP3098592A 1992-02-18 1992-02-18 Picture decoding circuit Withdrawn JPH05236286A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3098592A JPH05236286A (en) 1992-02-18 1992-02-18 Picture decoding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3098592A JPH05236286A (en) 1992-02-18 1992-02-18 Picture decoding circuit

Publications (1)

Publication Number Publication Date
JPH05236286A true JPH05236286A (en) 1993-09-10

Family

ID=12318925

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3098592A Withdrawn JPH05236286A (en) 1992-02-18 1992-02-18 Picture decoding circuit

Country Status (1)

Country Link
JP (1) JPH05236286A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7062097B2 (en) 1997-09-04 2006-06-13 Electronics And Telecommunications Research Institute Computational graceful degradation method using priority information in multiple objects case

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7062097B2 (en) 1997-09-04 2006-06-13 Electronics And Telecommunications Research Institute Computational graceful degradation method using priority information in multiple objects case

Similar Documents

Publication Publication Date Title
US4688100A (en) Video data encoding/decoding apparatus
US5940540A (en) Methods of and systems for compression and decompression that prevent local data expansion
JPH07264417A (en) Image coding method
JPH0351966A (en) Coding apparatus of image data
JPH05236286A (en) Picture decoding circuit
JP2995740B2 (en) Facsimile image density converter
JP3187696B2 (en) Image coding device
JPH04270569A (en) Data compression system for picture processor
JP2833362B2 (en) Image signal expansion device
JPS6214579A (en) Decoding circuit
JPH1117955A (en) Image processing unit
JP3142911B2 (en) Processing method of encoding / decoding device
KR900007566B1 (en) Picture data converting device
JP3270232B2 (en) Data compression device
JPH05161019A (en) Picture data processing system
JP3340006B2 (en) Image processing device
JP2869104B2 (en) Facsimile machine with storage function
JPS6051370A (en) Picture information encoding processor
JPH0358572A (en) Data compressing system
JPS6195671A (en) Decoding circuit
JPH09130595A (en) Facsimile transmission control method and resolution conversion method for mh coding data
JPH05308530A (en) Facsimile equipment
JPS63151262A (en) Facsimile equipment
JPH0548658B2 (en)
JPH06245084A (en) Processor for picture data

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990518