JPS6231261A - Coding device for picture signal - Google Patents

Coding device for picture signal

Info

Publication number
JPS6231261A
JPS6231261A JP17080785A JP17080785A JPS6231261A JP S6231261 A JPS6231261 A JP S6231261A JP 17080785 A JP17080785 A JP 17080785A JP 17080785 A JP17080785 A JP 17080785A JP S6231261 A JPS6231261 A JP S6231261A
Authority
JP
Japan
Prior art keywords
code
signal
line
mode
circuit
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
JP17080785A
Other languages
Japanese (ja)
Inventor
Kazutoshi Hisada
久田 加津利
Nobutoshi Kokubu
國分 信聡
Shigeki Sakurai
茂樹 櫻井
Yukio Murata
幸雄 村田
Tatsuo Okano
達夫 岡野
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP17080785A priority Critical patent/JPS6231261A/en
Priority to CA000514467A priority patent/CA1296798C/en
Priority to US06/888,493 priority patent/US4799110A/en
Priority to DE8686305854T priority patent/DE3684966D1/en
Priority to EP86305854A priority patent/EP0211611B1/en
Publication of JPS6231261A publication Critical patent/JPS6231261A/en
Pending legal-status Critical Current

Links

Landscapes

  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

PURPOSE:To execute the coding of a picture signal at a high speed and without delay to the input of the picture signal to be coded by forecasting and storing the coding code beforehand and reading and generating this, in the coding of the picture signal of the long run length to need plural codes. CONSTITUTION:Each time the counting value of a run length counter 203 comes to be 63+64XN (positive integer of N=0, 1, 2...n), when the changing point is not detected, next, it is foreseen that the make-up value occurs, and the make-up code of 64(N+1) and the code length are temporarily stored (latched) to a latch B208. If the changing point is not detected when the value of the counter 203 comes to be 63+64n, it can be foreseen that the run length comes to be 64n or above while the run length is counted presently, and therefore, the code and the code length of a run length 64(n+1) are read, and stored temporarily to a latch A207. Simultaneously, the stored contents of the latch B208 are made invalid once, and the counting value of the counter 203 is returned to the initial value 1. Namely, the code, for which the occurrence can be foreseen, is returned to a temporary memory circuit (latches A and B).

Description

【発明の詳細な説明】 〔技術分野〕 本発明はファクシミリや画像電子ファイル等に用いられ
る画像信号の符号化装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to an image signal encoding device used for facsimiles, image electronic files, and the like.

〔従来技術〕[Prior art]

従来のファクシミリ等の画像伝送装置や近年の光ディス
クや磁気ディスク等を用いた画像ファイル装置等におい
ては、画像信号を符号化して取扱うことにより、データ
量を減少せしめ伝送或いはa7Vt動作の高速化、効率
化を計っている。
Conventional image transmission devices such as facsimiles and recent image file devices using optical disks, magnetic disks, etc. reduce the amount of data by encoding image signals and increasing the speed and efficiency of transmission or a7Vt operation. is planning to change.

例えば、ファクシミリの分野においては一般に一次元符
号化としてモディファイドハフマン(MH)法、二次元
符号化としてモディファイドリード(MR)法、高能率
二次元符号化としてモディファイドモディファイドリー
ド(MMR)法が用いられている。
For example, in the field of facsimile, the Modified Huffman (MH) method is generally used for one-dimensional encoding, the Modified Read (MR) method is used for two-dimensional encoding, and the modified modified read (MMR) method is used for high-efficiency two-dimensional encoding. There is.

これらMH法、MR法及びMMR法の相互の関係である
がMMR法はMH法に極めて近い方法を包含するし、又
MR法を一部修飾したものがMMR法である。
Regarding the mutual relationship between these MH, MR, and MMR methods, the MMR method includes methods that are very similar to the MH method, and the MMR method is a partially modified version of the MR method.

また、符号化の対象とする画像及び符号化法の規則等は
ひとことでいえばCCITT(国際電信電話諮問委員会
)の勧告するT4やT6に準拠するものである。
Furthermore, the images to be encoded and the rules of the encoding method are, in a nutshell, based on T4 and T6 recommended by the CCITT (Consultative Committee for International Telegraph and Telephone).

更に上述の符号化法はMMR法については昭和60年3
月22日の官報(号外第29号)52ページ以下のファ
クシミリグループ4型装置の推奨通信方式(郵政−見上
)の中で高能率二次元符号化方式として告示されており
、MH法は一次元符号化方式として、又MH法は二次元
符号化方式として共に昭和56年郵政省告示第1013
号に告示されている。
Furthermore, the above-mentioned encoding method was developed in March 1985 for the MMR method.
The MH method is announced as a high-efficiency two-dimensional encoding method in the recommended communication method for facsimile group 4 type equipment (Postal Service - Migami) on page 52 or less of the Official Gazette (Extra Issue No. 29) dated August 22nd. Both the original encoding method and the MH method were used as two-dimensional encoding methods in accordance with Ministry of Posts and Telecommunications Notification No. 1013 of 1982.
It is announced in the number.

この様な画像信号の符号化では、同一色の画像信号の連
続画素数即ちラン長をコードで表わすことが行なわれる
。即ち、1〜63迄のラン長を表わすターミネーテイン
グコードと64,128゜192、−−−−.64 X
 M 、−−−−,2560のラン長を表わすメークア
ップコードとによりラン長を表わす。従って、比較的長
いラン長を表わす場合には複数コードを必要とし、これ
を1度に発生するには符号化回路に負担がかかり、且つ
、その発生に時間を要する。
In such image signal encoding, the number of consecutive pixels of the same color image signal, that is, the run length is expressed by a code. That is, a terminating code representing a run length from 1 to 63 and 64,128°192, -----. 64 X
The run length is represented by a make-up code representing the run length of M, ----, 2560. Therefore, in order to represent a relatively long run length, a plurality of codes are required, and generating them at one time places a burden on the encoding circuit and requires time to generate them.

従って1例えば原稿画像を光電的に読取って得たシリア
ルな画像信号の入力に遅延なく符号他動〔実施例〕 作を実行するのが難しかった。
Therefore, for example, it is difficult to perform a code transitive operation without delay in inputting a serial image signal obtained by photoelectrically reading an original image.

〔11的〕 本発明は以りの点に鑑みてなされたもので、画像信号の
符り化を高速に、且つ、符号化すべき画像信号の入力に
遅延なく実行可ス敞とすることを目的とし、シリアルに
入力する画像信号の変化点間の画素数を計数する手段と
、上記計数手段の計数値が64n+63 (n=o 、
1.2−−−)となった場合その画素が変化点でない場
合64 (n+1)を表わす第1の符号化コードを記憶
する手段と。
[11] The present invention has been made in view of the above points, and an object of the present invention is to enable encoding of image signals to be performed at high speed and without delay in inputting the image signals to be encoded. and a means for counting the number of pixels between changing points of an image signal inputted serially, and a count value of the counting means is 64n+63 (n=o,
means for storing a first encoded code representing 64 (n+1) when the pixel is not a change point when the pixel becomes 1.2--);

上記計数手段の64未満の計数値を表わす第2の符号化
コードを発生する手段とを有し、変化点画素に至った時
点において上記記憶手段に記憶された第1の符号化コー
ドを読出すとともに上記発生手段に第2の符号化コード
を発生せしめる画像信号の符号化装置を提供するもので
ある。
and means for generating a second encoded code representing a count value of less than 64 of the counting means, and reads out the first encoded code stored in the storage means at the time when a change point pixel is reached. The present invention also provides an image signal encoding device that causes the generating means to generate a second encoded code.

次に101はコーディング会ライン(符号化本発明を適
用した符号化回路の構成例を第1図及び第2図の回路ブ
ロック図で示す0次いで該実施例の動作を前記第1図、
第2図と第3図〜第5図等を用いて説明する。
Next, reference numeral 101 denotes a coding line (encoding) An example of the configuration of an encoding circuit to which the present invention is applied is shown in the circuit block diagrams of FIGS.
This will be explained using FIG. 2, FIGS. 3 to 5, etc.

第1図に於いて121で示す信号は画像スキャナや画像
ファイル、コンピュータ等の外部機器から供給される符
号化すべき画像信号であり、O”°又は“’l”(例え
ば“0”=白、“1°°=黒画素)の2値信号のシリア
ル−データとして与えられる。又、134で示す信号は
画像信号121の入力に同期して外部機器より供給され
るクロックであり、1画素当り1クロツクとなっている
0次に136で示す信号は同期信号であり、画像信号1
21の水平区間や垂直区間等を示す数種の同期信号を示
している。
The signal indicated by 121 in FIG. 1 is an image signal to be encoded supplied from an external device such as an image scanner, an image file, or a computer, and is O"° or "'l" (for example, "0" = white, It is given as serial data of a binary signal of “1°°=black pixel). Further, the signal indicated by 134 is a clock supplied from an external device in synchronization with the input of the image signal 121, and the signal indicated by 136, which is 1 clock per pixel, is a synchronization signal and is synchronized with the input of the image signal 121. 1
Several kinds of synchronization signals indicating 21 horizontal sections, vertical sections, etc. are shown.

即ち、本実施例では、符号化すべき画像信号121はレ
ーザ・プリンタ等に与えられる信号と同様、各主走査毎
のシリアルな画像信号である走査型画像信号として与え
られるものとする。
That is, in this embodiment, the image signal 121 to be encoded is provided as a scanning image signal that is a serial image signal for each main scan, similar to a signal provided to a laser printer or the like.

すべき画像の主走査方向の1木分)上の実画像の最終画
素の次の画素(=仮想画素)が必ず変化点となるように
、強制的に変化点をつくり出す回路であり、「仮想変化
点発生回路A」と称する。但し、上記「仮想変化点発生
回路A」はコーディング・ライン上の実画像には何ら変
化を与えない構造となっている。
This is a circuit that forcibly creates a change point so that the next pixel (=virtual pixel) after the final pixel of the real image on the target image (one tree in the main scanning direction) is always the change point. It is called "change point generation circuit A". However, the above-mentioned "virtual change point generation circuit A" has a structure that does not give any change to the real image on the coding line.

102はライン・バッファ・メモリA、103はライン
拳バッファ・メモリBであり、各々独立に書込み又は読
出し動作が可能なRAM(ランダム・アクセス・メそり
)であり、各々コーディング・ライン1本分の2値画像
を記憶できる容量(主走査画素数)を有する。
102 is a line buffer memory A, and 103 is a line buffer memory B, each of which is a RAM (Random Access Memory) capable of independently writing or reading operations, and each of which has a capacity for one coding line. It has a capacity (number of main scanning pixels) that can store a binary image.

又、ラインφバッファーメモリAlO2とライン・バッ
ファ・メモリB103は1片方が書込み動作を実行して
いる時、もう一方は読出し動作を実行する様、制御され
ている。即ち、これら2つのライン拳バッファ・メモリ
に依り、−組のダブル令バッファ会メモリを構成してい
る。
Further, the line φ buffer memory AlO2 and the line buffer memory B103 are controlled so that when one of them is executing a write operation, the other one is executing a read operation. That is, these two line buffer memories constitute a set of double line buffer memories.

111はメモリ・アドレス・カウンタであり、コーディ
ング・ラインの画素数に対応するクロック134をカウ
ントするカウンタである。該カウンタ111のカウント
値は、メモリ・アドレス信号135として、ライン・バ
ッファ・メモリAlO2及びライン台バッファ・メモリ
B102の両方に共通に与えられる。又、メモリーアド
レス・カウンタ111はコーディング・ライン1本毎に
初期値に戻り、カウント動作を緑返す、従って、ライン
・バッファーメモリに書込まれた各ラインの2値画像は
、新たに入力するラインの画像信号121の画素位置に
対応づけられて各画素毎に読出される。
A memory address counter 111 is a counter that counts a clock 134 corresponding to the number of pixels of a coding line. The count value of the counter 111 is commonly given as a memory address signal 135 to both the line buffer memory AlO2 and the line stand buffer memory B102. In addition, the memory address counter 111 returns to the initial value for each coding line and returns the counting operation to green. Therefore, the binary image of each line written to the line buffer memory is different from that of the newly input line. is read out for each pixel in correspondence with the pixel position of the image signal 121.

104はセレクタであり、ライン台バッファ・メモリA
lO2又はライン・バッファ・メモリB103のうち、
どちらか読出し動作を実行している方から読出しデータ
を得るべくセレクト信号901により選択動作する回路
である。
104 is a selector, which is a line stand buffer memory A.
Of lO2 or line buffer memory B103,
This circuit operates selectively in response to a select signal 901 in order to obtain read data from whichever one is executing the read operation.

このセレクタ104により選択的に得られたデータはリ
ファレンス・ライン125として、即ち、コーディング
・ラインの参照用データ(画像)として、次段に与えら
れる。
The data selectively obtained by this selector 104 is given to the next stage as a reference line 125, that is, as reference data (image) of the coding line.

105はリファレンス・ライン上の実画像の最終画素と
その次の画素(仮想画素)が必ず変化点となる様に強制
的に変化点をつくり出す回路で「仮想変化点発生回路B
」と称する。
105 is a circuit that forcibly creates a change point so that the last pixel of the real image on the reference line and the next pixel (virtual pixel) always become the change point, and is called "virtual change point generation circuit B".
”.

但し、仮想変化点発生回路B105はリファレンス・ラ
イン上の実画像には何ら変化を与えない構造となってい
る。
However, the virtual change point generating circuit B105 has a structure that does not give any change to the real image on the reference line.

10Bはリファレンス・ライン上の実画像及び仮想画素
上の変化点となる画素を検出する回路であり、「変化点
検出回路A」と称する。
10B is a circuit for detecting a pixel serving as a changing point on the real image and virtual pixel on the reference line, and is referred to as a "changing point detection circuit A."

又、107はコーディング・ライン上の実画像及び仮想
画素上の変化点を検出する回路で「変化点検出回路B」
と称する。
Further, 107 is a circuit for detecting changing points on the real image and virtual pixels on the coding line, ``changing point detection circuit B''.
It is called.

108はAレジスタ、109はBレジスタ、110はC
レジスタであり、各々、4ビツトのシフト番レジスタで
ある 又、126で示す信号はリファレンス・ライン−ヒの実
画像及び仮想画素を表わす信号であり、又127で示す
信号はリファレンス・ライン上の実画像及び仮想画素上
の変化点信号である。128で示す信号はコーディング
・ライン上の実画像及び仮想画素上の変化点信号である
108 is A register, 109 is B register, 110 is C
Each register is a 4-bit shift number register. Also, the signals indicated by 126 are signals representing the real image and virtual pixels on the reference line, and the signals indicated by 127 are the signals representing the real image and virtual pixels on the reference line. It is a change point signal on an image and a virtual pixel. Signals indicated at 128 are change point signals on the real image and virtual pixels on the coding line.

112はクロック134及び同期信号136を入力とし
、これらに基づいて、各回路ブロックの動作タイミング
をとるための各種タイミング信号137を形成するタイ
ミング回路である。
A timing circuit 112 receives a clock 134 and a synchronization signal 136, and based on these, forms various timing signals 137 for timing the operation of each circuit block.

ここまでに説明した第1図の回路ブロックの動作を、第
4図示の如き実際の画像(符号化す゛べき画像)が与え
られ、これをMMR法により符号化する場合を例にして
説明する。
The operation of the circuit block of FIG. 1 described above will be explained using an example in which an actual image (an image to be encoded) as shown in FIG. 4 is given and is encoded by the MMR method.

まず、ここで例示する第4図の画像は、説明を簡易にす
る為に、1ラインが32画素(主走査画素数=3232
画素ら成り、かつ合計2ライン(副走査線数=2本)に
より1ページを構成する極めて簡単な画像とした。
First, in the image shown in FIG. 4, one line has 32 pixels (number of main scanning pixels = 3232 pixels) to simplify the explanation.
This is an extremely simple image consisting of pixels and one page consisting of two lines in total (number of sub-scanning lines=2).

第4図の402で示す第1ラインを実際に符号化するに
は、第5図に示すように第4図の401で示す仮想ライ
ンをリファレンス・ラインとし、第1ライン402をコ
ーディング・ラインとする。
To actually encode the first line shown at 402 in FIG. 4, as shown in FIG. 5, the virtual line shown at 401 in FIG. do.

又、第4図の403で示す第2ラインを符号化する時に
は第6図に示すように、第4図の第1ライン402をリ
ファレンス・ラインとし、第2ライン403をコーディ
ング舎ラインとする。
When the second line 403 in FIG. 4 is encoded, the first line 402 in FIG. 4 is used as a reference line and the second line 403 is used as a coding line, as shown in FIG. 6.

以下、仮に1ページが3ライン以上の主走査からなり、
第3ライン、第4ライン、−一一一一一と続く場合でも
、上記の如く、リファレンス・ライン及びコーディング
・ラインの関係を順次繰下げていけば副走査線数に拘ら
ず、符号化を続行できる。
Below, it is assumed that one page consists of main scanning of 3 or more lines,
Even if the 3rd line, the 4th line, -11111, etc. continue, encoding will continue regardless of the number of sub-scanning lines if the relationship between the reference line and the coding line is sequentially lowered as described above. can.

第3図は第4図に例示する画像が第1図示の回路ブロッ
クに与えられる時のタイミング・チャートである。
FIG. 3 is a timing chart when the image illustrated in FIG. 4 is applied to the circuit block illustrated in FIG. 1.

第3図において136−1は垂直同期信号で副走査方向
の画像の区間、即ち、1ページの画像の入力期間を示す
。136−2は水平同期信号で主走査方向の画像区間、
即ち、■ラインの画像の入力期間を示す。134は画像
クロック、121は第4図に例示した符号化すべき画像
の信号波形としての表現であり、黒画素=“” 1 ”
 = ”H” 、白画素= ”0” = ”I、”とし
て描かれている。即ち、第3図示の画像のうち、区間T
1の画像が、符号化すべき第4図示の第1ライン402
の実画像であり、区間T2の画像が符号化すべき第4図
示の第2ライン403の実画像である。
In FIG. 3, a vertical synchronizing signal 136-1 indicates an image section in the sub-scanning direction, that is, an input period of one page of images. 136-2 is a horizontal synchronizing signal, which is an image section in the main scanning direction;
That is, it shows the input period of the image of the ■ line. 134 is an image clock, 121 is a signal waveform representation of the image to be encoded illustrated in FIG. 4, and black pixel = "" 1 "
= "H", white pixel = "0" = "I,". That is, in the image shown in the third figure, the section T
1 image is the first line 402 shown in the fourth figure to be encoded.
, and the image of section T2 is the real image of the second line 403 shown in FIG. 4 to be encoded.

又、第4図示の仮想ライン401は実際の紙面等に印刷
されるような画像に於いては、紙面のF方部のいわば余
白、或いは紙面外に相当するもので、MMR法に於いて
は、余白(1ラインの画素が全て白画素)ラインと仮想
するよう規定されている。従って、前記第4図示の仮想
ライン401は第3図示の画像信号121上には現れて
いない。
Furthermore, in an image printed on an actual paper, the virtual line 401 shown in the fourth figure corresponds to the so-called margin in the F direction of the paper, or the area outside the paper, and in the MMR method, , is defined as a blank line (all pixels in one line are white pixels). Therefore, the virtual line 401 shown in the fourth figure does not appear on the image signal 121 shown in the third figure.

第5図は第1ライン402の符号化動作を示すタイミン
グチャートであり、リファレンス・ラインとなる仮想ラ
イン401とコーディングである第1ライン402との
関係を示す。
FIG. 5 is a timing chart showing the encoding operation of the first line 402, and shows the relationship between the virtual line 401, which is a reference line, and the first line 402, which is coding.

まず、第5図示の第1ライン402の画像が仮想変化点
発生回路A101に与えられると第3図の122(コー
ディングφライン)に示す様に、仮想変化点(仮想画素
)302が付加された画像となる。即ち区間T1におい
て実画像は不変であるが図でも示すように第1ラインの
最終画素301とその次の画素302は相反する色(白
→黒)となっている。又仮想変化点(仮想画素)302
に続く仮想の数画素は後述する理由により変化点となら
ないように仮想変化点(仮想画素)302と同じ色の画
素に保持される。
First, when the image of the first line 402 shown in FIG. 5 is given to the virtual change point generation circuit A101, a virtual change point (virtual pixel) 302 is added as shown at 122 (coding φ line) in FIG. It becomes an image. That is, in the interval T1, the actual image remains unchanged, but as shown in the figure, the last pixel 301 of the first line and the next pixel 302 have contradictory colors (white→black). Also, virtual change point (virtual pixel) 302
The virtual several pixels following 302 are kept as pixels of the same color as the virtual change point (virtual pixel) 302 so that they do not become change points for reasons described later.

さて、第3図におけるコーディング争ライン信号122
は第1図に見るように符号化すべき画像信号として、変
化点検出回路B107に入力されるとともに、ライン・
バッファメモリAlO2及び、ライン・バッファメモリ
B103へ書込用データとして与えられる。
Now, the coding contest line signal 122 in FIG.
As shown in FIG.
The data is given to the buffer memory AlO2 and the line buffer memory B103 as write data.

一方、アドレス・カウンタ111は第3図の区間T1の
み画像クロック134をカウントし、第3図の135に
示すようなカウント値を出力し、該出力はメモリ・アド
レス135として、ライン舎/ヘツファ・メモリAlO
2及びラインφ/ヘツファメモリB103へ共通に与え
られる。
On the other hand, the address counter 111 counts the image clock 134 only in the interval T1 in FIG. 3, and outputs a count value as shown at 135 in FIG. Memory AlO
2 and line φ/header memory B103.

更に、この時図示はしていないがライン・バッファメモ
リAlO2は書込みモードに、又ラインバッファーメモ
リB103は読出しモードに制御されているとすると、
コーディング令ライン122のデータはラインーバッフ
ァ・メモリAlO2内のメモリ・アドレス135で指示
された番地に順次・書込まれる。又、ライン・バッファ
・メモリB103は、この時、前述したように、読出し
モードにあるから、初期状態で全て“Oパを書込んでお
けば、メモリ・アドレス135で指示された番地から0
゛を順次読出し、第1図の124.で示す読出し信号B
となり、セレクタ104により選択されて、リファレン
ス−ライン125のデータとなる。
Furthermore, although not shown in the figure, assuming that the line buffer memory AlO2 is controlled to write mode and the line buffer memory B103 is controlled to read mode.
The data on the coding command line 122 is sequentially written to the address indicated by the memory address 135 in the line-buffer memory AlO2. Also, at this time, the line buffer memory B 103 is in the read mode as described above, so if all "0" is written in the initial state, the line buffer memory B 103 will read 0 from the address specified by the memory address 135.
124 in FIG. Read signal B shown as
This is selected by the selector 104 and becomes the data of the reference line 125.

第3図の125は該リファレンス・ラインのデータ信号
波形を示しており、区間Tl中110 ITとなってい
る。これは、即ち、第5図に示した如く仮想ライン40
1を゛全白″のリファレンス・ラインとして回路上に得
た事である。
Reference numeral 125 in FIG. 3 indicates the data signal waveform of the reference line, which is 110 IT in the interval Tl. This means that the virtual line 40 as shown in FIG.
1 on the circuit as an ``all-white'' reference line.

コーディング・ライン122は前述の様に変化点検出回
路B107にも与えられる。該検出回路B107は与え
られたデータ入力の内の変化点(画素)を検出し、該変
化点画素を“1′。
The coding line 122 is also provided to the change point detection circuit B107 as described above. The detection circuit B107 detects a change point (pixel) in the applied data input, and sets the change point pixel to "1".

とじて出力し、変化点とならない画素をすべて“°0′
°とじて出力する。第1図の128は該出力である。
All pixels that are not changing points are output as “°0′
° Output. 128 in FIG. 1 is the output.

仮想変化点発生回路B105及び変化点検出回路A10
6はその名称の通り、前述したコーディング・ライン1
22に対して動作する同一名称の回路101及び107
の動作をラインバッファメモリから読出されたリファレ
ンス・ライン125に対して実行する。
Virtual change point generation circuit B105 and change point detection circuit A10
6, as its name suggests, is the coding line 1 mentioned above.
Circuits 101 and 107 with the same name that operate on 22
The following operations are performed on the reference line 125 read from the line buffer memory.

結局リファレンスライン125の信号は仮想変化点発生
回路B105により第3図の126の如く、最終画素の
PXに最終画素と異なる色の仮想画素の付加された信号
に変換される。
Eventually, the signal on the reference line 125 is converted by the virtual change point generating circuit B105 into a signal in which a virtual pixel of a color different from that of the final pixel is added to the PX of the final pixel, as shown at 126 in FIG.

変化点検出回路B107から発生される信号128はク
ロック134によりAレジスタ108に順次シフト・イ
ンされる。Aレジスタ108の記号A1〜A4は各々該
レジスタのパラレルな4ビツト出力を示しており、常に
出力されている。該Aレジスタ108の出力信号波形を
第3図の129−1〜129−4に示す。
The signal 128 generated from the change point detection circuit B107 is sequentially shifted into the A register 108 by the clock 134. Symbols A1 to A4 of the A register 108 each indicate a parallel 4-bit output of the register, which is always output. The output signal waveforms of the A register 108 are shown at 129-1 to 129-4 in FIG.

従って、コーディングラインの注目画素がAレジスタ1
08の出力A4にシフトされたとするとその注目画素に
続く3画素分のデータ中に変化点が有るか否かを出力1
29により判断できる。
Therefore, the pixel of interest on the coding line is A register 1.
If it is shifted to output A4 of 08, output 1 indicates whether there is a change point in the data for 3 pixels following that pixel of interest.
This can be determined based on 29.

同様に第3図の130−1〜130−4及び第3図の1
31−1〜131−4にBレジスタ109及びCレジス
タ110の出力信号波形を示す。即ち、Bレジスタ10
9及びCレジスタ110には、Aレジスタ108に格納
されている各画素位置に対応したリファレンスラインの
画素の変化点信号及び色信号が格納されている。従って
、Aレジスタ108の出力A4をコーディングラインの
注目画素とすると、Bレジスタ109及びCレジスタ1
10により、リファレンスラインにおける該注目画素位
置に続く3画素内に変化点が有るか否か及びその色を判
断できる。
Similarly, 130-1 to 130-4 in Figure 3 and 1 in Figure 3
31-1 to 131-4 show the output signal waveforms of the B register 109 and the C register 110. That is, B register 10
The change point signal and color signal of the pixel of the reference line corresponding to each pixel position stored in the A register 108 are stored in the 9 and C registers 110. Therefore, if the output A4 of the A register 108 is the pixel of interest on the coding line, the B register 109 and the C register 1
10, it is possible to determine whether there is a change point within the three pixels following the pixel position of interest on the reference line and its color.

第2ラインを符号化する為に第4図の第2ライン403
が画像信号121として入力される時には、ラインバッ
ファーメモリAl 02が書込みモードとなり、ライン
・バッファ拳メモリB103が、読出しモードとなる。
To encode the second line, the second line 403 in FIG.
When input as the image signal 121, the line buffer memory Al02 is in the write mode, and the line buffer memory B103 is in the read mode.

即ち、第1ライン402のコーディング動作中にライン
バッファメモリB103に書込まれていた第1ライン4
02がリファレンスラインとなり、新たに入力する第2
ライン403がコーディングとなる。そして、第1ライ
ン目に於ける動作と同様の動作が実行される。
That is, the first line 4 written in the line buffer memory B103 during the coding operation of the first line 402
02 becomes the reference line, and the second input line
Line 403 is the coding. Then, the same operation as in the first line is executed.

m2ライン403目に於ける各信号波形を第3図の区間
T2に示す、この際、リファレンスライン126の区間
T2のデータは区間TI中にライン・バッファ・メモリ
AlO2に書込んでおいた第1ライン402のデータを
読出したものである。
Each signal waveform in the 403rd m2 line is shown in section T2 in FIG. The data on line 402 is read out.

以上が第1図示の回路ブロックの具体的動作である。The above is the specific operation of the circuit block shown in the first diagram.

次に、第2図示の回路ブロックを説明する。Next, the circuit block shown in the second diagram will be explained.

201は記号検出回路であって1図示の如く、第1図示
の回路ブロックのA、B、Cレジスタより信号129,
130,131を得て、MMR符号化法に於いて、必要
な記号aO+a1 + a 2及びbl、b2等の記号
を検出する為の回路である。これら記号の定義は以下の
如くである。
201 is a symbol detection circuit which, as shown in the first figure, receives signals 129,
130, 131, and detects necessary symbols aO+a1+a2, bl, b2, etc. in the MMR encoding method. The definitions of these symbols are as follows.

aQ=符号化の起点となるコーディング・ライン上の画
素。
aQ=pixel on the coding line that is the starting point for encoding.

al=aQより右にあるコーディング・ライン上の最初
の変化点(画素)。
al=first change point (pixel) on the coding line to the right of aQ.

a2=a1より右にあるコーディング・ライン上の最初
の変化点(画素)。
a2=first change point (pixel) on the coding line to the right of a1.

b1=a□より右にあるリファレンス・ライン上の変化
点(画素)でaQと反対色で且つ、最初の変化点。
b1 = A changing point (pixel) on the reference line to the right of a□, the opposite color to aQ, and the first changing point.

b2=b1より右にあるリファレンス・ライン上の最初
の変化点(画素)。
b2 = first change point (pixel) on the reference line to the right of b1.

但し、ここで言う右とは、例えば第4r:g4示の各画
素の左と右の関係と同じである。
However, the right here is the same as the relationship between the left and right of each pixel shown in 4r:g4, for example.

次に、202はBルジスタであり、第2図の222で示
す変化点信号b1を入力デーjとして、クロック134
によって順次シフト管インされる、3ビツトのシフト・
レジスタである。
Next, 202 is a B register, which inputs the change point signal b1 shown at 222 in FIG.
The 3-bit shift signal is sequentially input into the shift tube by
It is a register.

従って、記号検出回路201で検出された変化点信号b
1が続く3クロック期間に渡って保持され、注目画素に
対する変化点信号b1の位置が判断できる。
Therefore, the change point signal b detected by the symbol detection circuit 201
1 is held for three consecutive clock periods, and the position of the change point signal b1 relative to the pixel of interest can be determined.

203はランレングス・カウンタであり、通常、画素a
Qから画素a1までの画素数(ランレングス)又は画素
a1から画素a2までの画素数をカウントする2進カウ
ンタで、12ビツトの出力をもち、最大は10進数の2
559までカウントできるカウンタである。
203 is a run length counter, which usually corresponds to pixel a
It is a binary counter that counts the number of pixels (run length) from Q to pixel a1 or from pixel a1 to pixel a2, and has a 12-bit output, and the maximum is 2 in decimal notation.
This counter can count up to 559.

第2図の228で示す信号はランレングスeカウンタ2
03のカウント値出力のうち下位6ビツトである。又、
第2図の227で示す信号はランレングス・カウンタ2
03のカウント値出力のうち上位6ビツトである。
The signal shown at 228 in FIG. 2 is the run length e counter 2.
These are the lower 6 bits of the count value output of 03. or,
The signal shown at 227 in FIG.
These are the upper 6 bits of the count value output of 03.

204はROMテーブルAであり、主として、パスモー
ド(Pモード)のコード、及び垂直モード(Vモード)
のコードと各々のコード′のビット数(コード長)とを
記憶しており、与えられた入力に応じて該コード及びコ
ード長を並列に出力できるROM(リードオンリメモリ
)である。
204 is a ROM table A, which mainly contains codes for pass mode (P mode) and vertical mode (V mode).
This is a ROM (read only memory) that stores the codes and the number of bits (code length) of each code ', and can output the codes and code lengths in parallel according to the input input.

又、205はROMテーブルBであり、主として、水平
モード(Hモード)のメイク・アップ・コード及びコー
ド長を記憶しているROMであり、信号227をアドレ
スとして出力すべきコード及びコード長が選択出力され
る。
Further, 205 is a ROM table B, which is a ROM that mainly stores make-up codes and code lengths for the horizontal mode (H mode), and selects the code and code length to be output using the signal 227 as an address. Output.

206はROMテーブルCであり、主としてHモードの
ターミネイテイング・コード及びコード長を記憶してい
るROMであり、信号228をアドレスとして出力すべ
きコード及びコード長が選択出力される。
Reference numeral 206 denotes a ROM table C, which is a ROM that mainly stores H mode termination codes and code lengths, and selects and outputs the code and code length to be output using the signal 228 as an address.

207及び208は前記各ROMより出力されたメイク
争アップ・コード及びコード長を一時記憶するラッチ回
路である。また、209は前記ROMより出力されたタ
ーミネイテイング・コード及びコード長を一時記憶する
ラッチ回路である。
207 and 208 are latch circuits that temporarily store the make-up code and code length output from each of the ROMs. Further, 209 is a latch circuit that temporarily stores the terminating code and code length output from the ROM.

210はラッチ回路C209内のコード及びコード長を
順次受取り、一時記憶する為のバッファメモリである。
210 is a buffer memory for sequentially receiving the code and code length in the latch circuit C209 and temporarily storing it.

ここで、MMR法の符号化規則をもう少し、述べておく
、この符号化法において前述した様に定義された記号&
Q、al、a2はコーディング・ライン上に有り、又、
同じく記号b1及びb2はリファレンス番うイン上に有
る。そして、これらの各記号a0、L1+a2のグルー
プとbl。
Here, I will explain the encoding rules of the MMR method a little more. In this encoding method, the symbols &
Q, al, a2 are on the coding line, and
Similarly, the symbols b1 and b2 are on the reference number. And each of these symbols a0, L1+a2 group and bl.

b2のグループの相対位置(距離)により、符号化モー
ドを次の3つのモードのうちから一義的に選択し、符号
化するよう規定されている。
Based on the relative position (distance) of the group b2, it is specified that the encoding mode is uniquely selected from the following three modes and encoding is performed.

(1)パスモード(Pモード) b2がalより左にある時(発生コードは1種のみ)(
2)垂直モード(Vモード) lalb11≦3の時(発生コードは距離ごとに違う計
7種の発生コード) (3)水平モード(Hモード) 上記(1)(2)以外の時(ラン−レングス・コード表
に従う) 形式: H+M(a□a1)+M(ala2)ここで、
HはHモードを示すコード、M(aoaz)は白又は黒
の1aoa11のランレングス・コード、M(a1a2
)は黒又は白の1ala21のランレングス・コードで
ある。
(1) Pass mode (P mode) When b2 is to the left of al (there is only one generation code) (
2) Vertical mode (V mode) When lalb11≦3 (A total of 7 types of generation codes differ depending on the distance) (3) Horizontal mode (H mode) At times other than (1) and (2) above (run- (according to length code table) Format: H+M(a□a1)+M(ala2) where,
H is a code indicating H mode, M(aoaz) is a white or black 1aoa11 run length code, M(a1a2
) is a black or white 1ala21 run-length code.

但し、上記(1)、(2)、(3)のうち2モ一ド以上
が同時に満たされた場合には、 (1)Pモー14> (2)V%−ド> (3)H−E
−−ドの順位で優先される。
However, if two or more of the above (1), (2), and (3) are satisfied at the same time, (1) P mode 14> (2) V%-do> (3) H- E
--Priority is given in order of code.

この優先出力動作を制御するのが、コード決定回路21
2であり、このコード決定回路212によりラッチを選
択する。
The code determination circuit 21 controls this priority output operation.
2, and the code determination circuit 212 selects the latch.

次に、第4図の第1ラインの画像402を符号化する動
作を説明する。
Next, the operation of encoding the first line image 402 in FIG. 4 will be described.

まず、本実施例では、第3図の320に示す時刻のto
を符号化開始時刻とする。
First, in this embodiment, at the time 320 in FIG.
Let be the encoding start time.

即ち、時刻1(、はリファレンスφライン及びコーディ
ング−ラインの先頭画素が第2図のCレジスタ110の
C4出力又はAレジスタ108のA4出力に夫々現われ
る時刻である。
That is, time 1 (,) is the time when the first pixel of the reference φ line and the coding line appears at the C4 output of the C register 110 or the A4 output of the A register 108 in FIG. 2, respectively.

即ち、時刻1(、では、Cレジスタ110、Bレジスタ
109及びAレジスタ108の各出力はリファレンス・
ライン及びコーディング・ラインの先頭画素とその先頭
画素に続く3画素の状態を並列出力している。又、aO
は第3図の221のAO(ao)に示すように初期値°
“0パ (白画素=仮想)に設定されている。
That is, at time 1 (, the outputs of the C register 110, B register 109, and A register 108 are reference
The states of the first pixel of the line and coding line and the three pixels following the first pixel are output in parallel. Also, aO
is the initial value ° as shown in 221 AO (ao) in Figure 3.
“It is set to 0pa (white pixel = virtual).

ランレンゲ・カウンタ203は初期値のOから時刻1(
、以降画像クロック134のカウントを開始する。
The run range counter 203 starts from the initial value O to time 1 (
, the image clock 134 starts counting.

カウンタ203の各時刻におけるカウント値出力を第3
図の322に示す。
The count value output of the counter 203 at each time is
It is shown at 322 in the figure.

時刻1oに於いては、第3図の信号129−4に゛1パ
が立っていない、即ち、第2図のAシフトφレジスタ1
08のA4出力に変化点が無い、又同様にBシフト・レ
ジスタ109のB4出力にも変換点が無い、従って、コ
ードを発生する要因が無いので、ランレングス・カウン
タのカウント値を1進めるだけで、次の時刻t1へ進む
が、時刻t1でも時刻toの状態と同様である。
At time 1o, signal 129-4 in FIG. 3 is not set to 1, that is, A shift φ register 1 in FIG.
There is no change point in the A4 output of 08, and similarly there is no change point in the B4 output of the B shift register 109.Therefore, there is no cause for generating a code, so just increment the count value of the run length counter by 1. Then, the process advances to the next time t1, but the state at time t1 is the same as that at time to.

次に時刻t2に進むと、第3図の信号129−4に°l
′′が立っている。これは即ち、第2図のAレジスタ1
08のA4出力が1となり、コーディングラインのその
位置に変化点が存在する事を示している。この変化点は
今の起点aQより右(時刻では後の時刻に相当)で最初
の変化点であるから、第2図の記号検出回路201によ
り、記号a1であると判定される。
Next, when proceeding to time t2, the signal 129-4 in FIG.
′′ is standing. This means that A register 1 in FIG.
The A4 output of 08 becomes 1, indicating that a change point exists at that position on the coding line. Since this change point is the first change point to the right of the current starting point aQ (corresponding to a later time), the symbol detection circuit 201 in FIG. 2 determines that it is the symbol a1.

尚、この記号a1の検出状態をFalとして記憶する。Note that the detection state of this symbol a1 is stored as Fal.

この時刻t2に於いて、第3図の130−1〜130−
4を見ると、いづれにも°l”が立っていない。この事
は時刻t2から3時刻以内には変化点b1が無い事を意
味する。又、記号検出回路201はblを検出した時に
はそのblをB゛シフトレジスタ202にシフト・イン
し3時刻の間、消滅しないようにしている。
At this time t2, 130-1 to 130- in FIG.
4, there is no °l" in any of them. This means that there is no change point b1 within 3 times from time t2. Also, when the symbol detection circuit 201 detects bl, bl is shifted into the B shift register 202 so that it does not disappear for three times.

又、記号検出回路201はblが既に検出された事を記
憶する回路も持っている。
The symbol detection circuit 201 also has a circuit for storing that bl has already been detected.

これらにより1本ケースでは変化点画素&1の左右3画
素以内に変化点画素b1が無い事及び起点aOからal
までの間にもblが無いこと(従ってb2もい無)が判
定出来る。従って、時刻t2でalが検出されたが、P
モード(b2が既に検出されていなければならない)及
び■モード(lalbll<3が条件)の条件を満さな
い事が決定し、従ってHモードとなる。
As a result, in the single case, there is no change point pixel b1 within 3 pixels to the left and right of change point pixel &1, and from the starting point aO
Until then, it can be determined that there is no bl (therefore, there is no b2 either). Therefore, although al was detected at time t2, P
It is determined that the conditions of mode (b2 must already be detected) and mode (2) (condition: lalbll<3) are not satisfied, and therefore the mode becomes H mode.

この時、ランレングス・カウンタ203の値は第3図3
22にも示すように&Qからalの画素数を示し、“2
パである。又ランレングスの色は初期セットした“0”
=白のままである。従ってランレングスカウンタ203
の出力228等によりランレングスの値及び色等がRO
MテーブルC206に与えられ、該当するコード及びコ
ード長がROM206出力される。このケースでは“白
ラン2”のコードが出力される。即ちM(aoax)=
白2である。
At this time, the value of the run length counter 203 is
As shown in 22, &Q indicates the number of pixels of al, and “2
It's Pa. Also, the run length color is initially set to “0”.
= Remains white. Therefore, the run length counter 203
The run length value and color etc. are output by the output 228 etc. of RO.
The code is given to the M table C206, and the corresponding code and code length are outputted to the ROM206. In this case, a code of "white run 2" is output. That is, M(aoax)=
White is 2.

この際、Hモードの最初のコードである事を判定しHモ
ードを示すコード“001”を白ラン2のコード“01
11”と同時に即ちlクロツタで出すよう制御する。又
コード長も2進数等で同時に出力される。
At this time, it is determined that it is the first code of H mode, and the code "001" indicating H mode is changed to the code "001" of white run 2.
The code length is controlled to be output at the same time as 11'', that is, at the l block.Furthermore, the code length is also output at the same time as a binary number or the like.

次いでランレングス・カウンタ203を初期値1 (O
ではない点に注目)にセットし直し、画素a1から画素
a2のカウントに移る。但し画素a1、即ち、時刻t2
では初期値のセット準備をするのみで、カウンタに初期
値がセットされカウントを進めるのは次の時刻t3から
である。又、この時刻t3からAOの色も反転させる。
Next, the run length counter 203 is set to an initial value of 1 (O
(Note that this is not the case.) and moves on to counting from pixel a1 to pixel a2. However, pixel a1, that is, time t2
Then, only preparations for setting the initial value are made, and the initial value is set in the counter and the count is started from the next time t3. Furthermore, from this time t3, the color of AO is also inverted.

(時刻t2=“0”→時刻t3=“1 ” ) 、以後
時刻1nが進むと結局時刻t4に於いて、Aレジスタ1
08のA4出力に1゛°が立ち変化点が現われる。該変
化点は記号検出回路201が変化点a1がすでに通過し
検出済である事を記憶している(Fa1=1となってい
る)ので、記号検出回路201によりa2と判定される
。尚、このa2の検出状態はFa2として記憶される。
(Time t2 = “0” → Time t3 = “1”) From then on, when time 1n advances, eventually at time t4, A register 1
A turning point of 1° appears on the A4 output of 08. Since the symbol detecting circuit 201 remembers that the changing point a1 has already passed and has been detected (Fa1=1), the symbol detecting circuit 201 determines that the changing point is a2. Note that this detection state of a2 is stored as Fa2.

さて、時刻t4でランレングスカウンタ203の値は2
でありAO=“l”=黒となっている。又既に時刻t2
に於いて、Hモードである事が確定しているので、a2
の検出された時には、リファレンスラインの状態、即ち
、第3図の131−1〜131−4及び第3図130−
1〜130−4等の参照は不要であり、本ケースでは無
いが。
Now, at time t4, the value of the run length counter 203 is 2.
Therefore, AO=“l”=black. Also, it is already time t2
Since it is confirmed that it is in H mode, a2
is detected, the state of the reference line, that is, 131-1 to 131-4 in FIG. 3 and 130- in FIG.
References to 1 to 130-4 are unnecessary, and are not in this case.

仮にリファレンス・ライン上にbl 、b2等があって
も、無視するように制御される。
Even if bl, b2, etc. are present on the reference line, they are controlled to be ignored.

以上により結局、M (ao 、al)の時と同様にし
て、 M (a 1.a 2) =黒” 2 ” コード及び
コード長が出力される。この際にはM(a□、al)の
時とは異なりHモードを示すコード°’ 001 ”は
付加されないよう制御される。
As a result of the above, the M (a 1 . a 2) = black "2" code and code length are output in the same way as in the case of M (ao, al). At this time, unlike the case of M(a□, al), the code °'001'' indicating the H mode is not added.

次いで上記、時刻t4の后、即ち、時刻t5でランレン
グス・カウンタ203は初期値1にセットされる。又、
AO(=ao)は反転する。
Next, after time t4, ie, at time t5, the run-length counter 203 is set to the initial value 1. or,
AO (=ao) is inverted.

そして、時刻t4の変化点a2は次のモードの起点aQ
と見なされる。
Then, the change point a2 at time t4 is the starting point aQ of the next mode.
considered to be.

以上の動作により第1ライン402の符号化による発生
コードは第5図の501に記した如くとなる。
Through the above operations, the code generated by encoding the first line 402 becomes as shown at 501 in FIG.

又、第3図の時刻t30では、ランレングス・カウンタ
値は9で、この時、記号fx(=at)が検出されるが
、リフレンスライン上の2画素後に変化点6’lが有る
事が時刻t30において、第3図のBレジスタ109の
出力130−2及びCレジスタ110の出力131−2
等から判断される。従って1alb11!3の条件が満
され、Pモード(b2が必要)ではないので、定義によ
りVモードと決定されVL  (2)コード(aXがb
lの左2画素の位置にある)が出力される。
Also, at time t30 in FIG. 3, the run-length counter value is 9, and at this time, the symbol fx (=at) is detected, but there is a change point 6'l after two pixels on the reference line. At time t30, the output 130-2 of the B register 109 and the output 131-2 of the C register 110 in FIG.
It is judged from etc. Therefore, the condition of 1alb11!3 is satisfied and it is not P mode (b2 is required), so it is determined to be V mode by definition and VL (2) code (aX is b
2 pixels to the left of l) is output.

この際、Hモードのランレングスφ白9のコードの発生
し得る状態にあったわけであるが、先に述べた各モード
間の優先度の定義に従い、■モードが有効コードとなり
、Hモードのコードは無効となる。ざらにVモードのコ
ードが発生した事により、ランレングスカウンタ203
の該時刻t30までのカウント値はクリアとなり、新た
に1にプリセットし直されるよう制御される。又、■モ
ードのコードが発生した後では起点aQ記号の色は反転
される。(但し、■モード・コードの発生はa1記号の
変化点検出と同時刻(時刻t30)である、)また、こ
こまでに説明していないが、記号b1が記号a1より先
の検出される場合には。
At this time, a code with a run length of φ white 9 in H mode could have occurred, but according to the definition of priority between each mode mentioned earlier, mode ■ became the valid code, and the code in H mode becomes invalid. Due to the occurrence of the Zara V mode code, the run length counter 203
The count value up to time t30 is cleared and controlled to be newly preset to 1. Further, after the code of the ■ mode is generated, the color of the starting point aQ symbol is inverted. (However, the ■ mode code is generated at the same time as the change point detection of the a1 symbol (time t30).)Also, although it has not been explained so far, if the symbol b1 is detected before the symbol a1 for.

記号b1の検出信号はB゛レジスタ202の入力信号と
して、該レジスタ内へシフトインされ以降3時刻の間、
Bルジスタ202の出力、B5−B6→B7の順でシフ
トしていき、それ以後消滅する。又、記号b1がすでに
Bレジスタ109のB4出力を通過してもまだコードが
発生しない時には、該本実を記憶検出回路201の出力
Fblで示すように記憶する。
The detection signal of symbol b1 is shifted into the register as an input signal of the B register 202, and is input for three times thereafter.
The output of the B register 202 shifts in the order of B5-B6→B7, and then disappears. Further, when the symbol b1 has already passed through the B4 output of the B register 109 and no code is generated yet, the actual value is stored as shown by the output Fbl of the storage detection circuit 201.

次に、第1図示の回路ブロックの各諸機能ブロックの具
体的回路を説明する。
Next, specific circuits of each functional block of the circuit block shown in the first diagram will be explained.

第1図の仮想変化点発生回路Al0I、及び仮想変化点
発生回路B105は同形式の回路で゛あり、共に第7図
示の仮想変化点発生回路により実現される0図中、70
2はフリップフロップ、703はアンドゲート、704
はオアゲート、705は反転回路(インバータ)である
The virtual change point generation circuit Al0I and the virtual change point generation circuit B105 in FIG.
2 is a flip-flop, 703 is an AND gate, 704
is an OR gate, and 705 is an inversion circuit (inverter).

第7図示の回路の動作を第8図のタイミングチャートに
示す、即ち、第7図及び第8図の各部の番号は第1図及
び第3図の番号と符合している。但し、第7図及び第8
図の701で示す信号は、例えば第1図示のメモリアド
レス・カウンタ111のカウント値をデコードすること
によって得たlラインの最終画素の位置(タイミング)
を示す信号である。即ち、信号701の発生時刻にフリ
ップフロップ702をコーディングラインの最終画素と
同じ色にクロック134に同期してセットし、該時刻よ
り後、即ち水平同期信号136−2の減勢後ではフリッ
プフロップ702のQ出力を122信号とし、該時刻以
前即ち、水平同期信号136−2の出力中は画像121
を122信号に出すように成すものである。
The operation of the circuit shown in FIG. 7 is shown in the timing chart of FIG. 8. That is, the numbers of the parts in FIGS. 7 and 8 correspond to the numbers in FIGS. 1 and 3. However, Figures 7 and 8
The signal indicated by 701 in the figure is, for example, the position (timing) of the last pixel of the l line obtained by decoding the count value of the memory address counter 111 shown in the first figure.
This is a signal indicating. That is, at the time when the signal 701 is generated, the flip-flop 702 is set to the same color as the last pixel of the coding line in synchronization with the clock 134, and after that time, that is, after the horizontal synchronization signal 136-2 is deenergized, the flip-flop 702 is The Q output of 122 is set as the 122 signal, and before that time, that is, while the horizontal synchronization signal 136-2 is being output, the image 121
is configured to output the signal as a 122 signal.

第1図のセレクタ104は第9図に示す回路により実現
される0図中、902はアンドゲート、903はオアゲ
ート、904はインバータである。第9図の123.1
24は第1図のラインバッファメモリA、Bの出力12
3゜124と符合するが、第9図の信号901は画像1
ライン毎にレベルが反転するセレクト信号で、第1図の
水平同期信号136−2により作られる。該セレクト信
号901により信号125への出力を切換える。
The selector 104 in FIG. 1 is realized by the circuit shown in FIG. 9, in which 902 is an AND gate, 903 is an OR gate, and 904 is an inverter. 123.1 in Figure 9
24 is the output 12 of the line buffer memories A and B in FIG.
3°124, but the signal 901 in FIG.
This is a select signal whose level is inverted for each line, and is generated by the horizontal synchronizing signal 136-2 in FIG. The output to signal 125 is switched by the select signal 901.

第1図の変化点検出回路A106及び変化点検出回路B
107は同形式の回路であり、第10図に変化点検出回
路B107の構成を代表して示す。図中、1002はフ
リップフロップ、1003は排他的オアゲート、100
4は−インバータである。
Change point detection circuit A106 and change point detection circuit B in Fig. 1
Reference numeral 107 designates a circuit of the same type, and FIG. 10 shows a typical configuration of the change point detection circuit B107. In the figure, 1002 is a flip-flop, 1003 is an exclusive OR gate, and 100
4 is a -inverter.

即ち、第8図のタイミング・チャートに示すようにクロ
ック134に同期したフリップ・フロップl 002の
入力と出力の排他的論理和(Exclusive  O
R)を取る事ニヨり隣り合った画素の色が異なる事を検
知し、変化点信号としている。
That is, as shown in the timing chart of FIG.
By taking R), it is detected that the colors of adjacent pixels are different, and this is used as a change point signal.

次に第2図の回路ブロック内の諸機能ブロックの具体的
回路を説明する。
Next, specific circuits of various functional blocks in the circuit block of FIG. 2 will be explained.

第11図は前述のコーディング・ライン上の記号a1又
はa2及び先に言及したalが検出済であることを示す
Fal信号を検出する回路で第2図示の記号検出回路2
01内にある。図中、1102はフリップフロップ、1
104はアンドゲート、1105はインへ−夕である。
FIG. 11 is a circuit for detecting the symbol a1 or a2 on the aforementioned coding line and the FAL signal indicating that the aforementioned al has been detected, and is the symbol detection circuit 2 shown in the second diagram.
It is within 01. In the figure, 1102 is a flip-flop, 1
104 is an AND gate, and 1105 is an IN gate.

さて、第11図における、各部の番号は第1図等の番号
と符合している。第11図の1101で示す信号はフリ
ップフロップ1102を初期状態に戻す(即ちQ出力=
“°0“)か、Q出力=°“1″にセットされるのを禁
止する制御信号であり、通常時には“°l′°のレベル
にある。
Now, the numbers of each part in FIG. 11 correspond to the numbers in FIG. 1, etc. The signal shown at 1101 in FIG. 11 returns the flip-flop 1102 to its initial state (i.e., Q output =
This is a control signal that prohibits the Q output from being set to "°0") or to Q output = "1", and is normally at the level of "°l'°".

RESET信号1103も同様である。ここにおいて変
化点A4 (129−4信号)が最初に到来するとA4
=“1″となる。この場合、フリップフロップ1102
のQ出力=“°1°“及び制御信号1101 = ” 
1″であるから、a 1 = ” 1°゛が出力され、
記号a1が検出される。このa1検出信号によりフリッ
プフロップ1102がセットされQ出力=“1°゛とな
り、alが既に検出された事を記憶する(即ちQ出力=
 F a 1 = ” 1”)、この状態で次にA4=
” 1 ”となるとa 2 = ” 1 ”となり、記
号a2が検出される。
The same applies to the RESET signal 1103. Here, when the change point A4 (129-4 signal) arrives first, A4
= “1”. In this case, flip-flop 1102
Q output = “°1°” and control signal 1101 = ”
1″, so a 1 = ” 1°゛ is output,
Symbol a1 is detected. This a1 detection signal sets the flip-flop 1102 so that Q output = "1°", and it is remembered that al has already been detected (that is, Q output =
F a 1 = “1”), then in this state A4 =
When it becomes "1", a 2 = "1" and symbol a2 is detected.

次に、記号bl等を検出する為の回路を第12図に示す
0図中、1201は排他的オアゲート、1202.12
03はフリップフロップ、1204はアンドゲート、1
205はインバータである。各部の番号の符合は第11
図の場合と同様である。但し、blとなり得るのはaQ
と反対の色という条件の為排他的オアゲート1201で
リファレンスラインの変化とaQ倍信号の排他的論理和
を取った後の信号を使用する回路となっている。尚、第
12図示の回路は第2図の記号検出回路201に含まれ
る。
Next, the circuit for detecting the symbol bl etc. is shown in FIG. 12, in which 1201 is an exclusive OR gate;
03 is a flip-flop, 1204 is an AND gate, 1
205 is an inverter. The number of each part is numbered 11th.
This is the same as the case shown in the figure. However, aQ can be bl.
Because of the condition that the color is opposite to that of the signal, the circuit uses the signal obtained by exclusive ORing the change in the reference line and the aQ multiplied signal using the exclusive OR gate 1201. The circuit shown in FIG. 12 is included in the symbol detection circuit 201 shown in FIG.

第2図のランレングスカウンタ203の具体的構成を第
13図に示す、まず、ランレングス−カウンタ203は
前述したように12ビツトの2進カウンタとなっており
、該カウンタ203の計数範囲は0(10進)から25
60−1 (to進数の2559)である、又、該カウ
ンタ203はプリセット機能及び、クリア機能等を有す
るもので、具体的には米国・フェア會チャイルド社製、
IC・、型名74F163等により構成し得るものであ
る。
The specific configuration of the run-length counter 203 in FIG. 2 is shown in FIG. (decimal) to 25
60-1 (2559 in to base), and the counter 203 has a preset function, a clear function, etc.
It can be constructed from IC., model name 74F163, etc.

更に、該カウンタ203のカウント値出力がlO進数2
559である事を検出し、MKI信号を発生する回路1
301及び該出力の下位6ビツトをデコードした値が1
0進数“63°°である事を検出し、MK2信号を発生
する回路1302を備えている。
Furthermore, the count value output of the counter 203 is 1O base 2
559 and generates the MKI signal.
301 and the value obtained by decoding the lower 6 bits of the output is 1
The circuit 1302 detects that the decimal number is "63°" and generates an MK2 signal.

更に、プリセット機能によりセットする値として0°゛
 (10進数)又は“1°゛ (10進数)を選択的に
プリセットできる構造となっている。
Furthermore, the structure is such that the value to be set by the preset function can be selectively preset to 0° (decimal) or 1° (decimal).

ランレングス・カウンタ203の動き方について説明す
る。まず、各コーディング・ライン毎に画像左端外の位
置に於いて初期値11011にプリセット(又はクリア
)される0次に画像領域内では画素ごとに順次カウント
を進めるが下記の値又は3状態に於いてはカウンタ20
3はプリセット機能により“l IIに戻される。
The operation of the run-length counter 203 will be explained. First, for each coding line, the initial value is preset (or cleared) to 11011 at a position outside the left edge of the image.In the 0-order image area, the count is sequentially advanced pixel by pixel. Counter 20
3 is returned to "I II" by the preset function.

即ち、 (1)変化点a1又はa2が検出された時、(2)カウ
ント値が2559に到達した時、(3)Pモート拳コー
ト又はVモード善コードが発生した時、 但し、符号化法の規則により、コーディング・ライン最
右端外の仮想画素上で変化点alをA2とする場合には
、alの検出時にカウンタ値を“Oooに戻す事とする
That is, (1) when change point a1 or a2 is detected, (2) when the count value reaches 2559, (3) when P-mode fist code or V-mode good code occurs, however, the encoding method According to the rule, if the change point al is set to A2 on a virtual pixel outside the rightmost end of the coding line, the counter value is returned to "Ooo" when al is detected.

次に第2図のROMテーブルA204の構成について述
へる。該ROMテーブルA204はPモードはVモード
の計8種のコード及び該コード長等を発生する為のもの
である。ここで述べる構成は本実施の構成原理及び前述
の説明でも明らかなように、コーディング赤ライン及び
リファレンス・ラインの変化点位置の相対的関係及び特
にリファレンス・ライン上の変化点b2がBレジスタ1
09のB4出力に現われた時、又はコーディング・ライ
ン上の変化点a1がAレジスタ108のA4出力として
現われた時、該時刻に於いて記号検出回路201の状態
及びAレジスタ108、Bレジスタ109、Cレジスタ
110及びB゛レジスタ220各出力の状態等を同時に
並列的に判断可能な構成となっている。故に上記語出力
の状態の組合せは当然有限のものであり、又、判断すべ
き時刻にあっては静止状態として扱える。従って、組合
せごとに出力すべきPモード又はVモードのコード及び
コード長が決定できるので、該ROMテーブルとして構
成できるものである。
Next, the configuration of the ROM table A204 in FIG. 2 will be described. The ROM table A204 is used to generate a total of eight types of codes, P mode and V mode, and the code lengths. As is clear from the configuration principle of this embodiment and the above explanation, the configuration described here is based on the relative relationship between the changing point positions of the coding red line and the reference line, and especially when the changing point b2 on the reference line is in the B register 1.
09, or when the change point a1 on the coding line appears as the A4 output of the A register 108, the state of the symbol detection circuit 201, the A register 108, the B register 109, The configuration is such that the status of each output of the C register 110 and the B register 220 can be determined simultaneously and in parallel. Therefore, the combinations of the word output states are naturally finite, and at the time of judgment, they can be treated as static states. Therefore, since the P mode or V mode code and code length to be output for each combination can be determined, it can be configured as the ROM table.

ここでは該ROMテーブルの具体的内容については冗長
に過ぎるので、−例として第14図にROMと等価な論
理回路によって、Pモードのコード及びコード長を発生
する場合を例示しておく。図中、1409はインバータ
、1410はタイミング回路、1411はナントゲート
、1412はノアゲートである。即ち第14図の140
1で示す信号は第2図の記号検出回路201に於いてリ
ファレンス・ライン上に変化点b2が検出された事を示
す信号である。
Since the specific contents of the ROM table are too redundant here, as an example, FIG. 14 illustrates a case where a P mode code and code length are generated by a logic circuit equivalent to a ROM. In the figure, 1409 is an inverter, 1410 is a timing circuit, 1411 is a Nant gate, and 1412 is a NOR gate. That is, 140 in FIG.
The signal indicated by 1 is a signal indicating that the symbol detection circuit 201 in FIG. 2 has detected the change point b2 on the reference line.

即ち第1図のBレジスタ109のB4出力にb2として
の変化点がある事を意味するものである。又、第14図
の1402で示すa1信号は同様にして第1図のAレジ
スタ108のA4出力としてのa1変化点である。又第
14図の1403で示すFa1信号は現時刻までに第2
図記号検出回路201に於いて既にalとしての変化点
が検出済である事を示す信号である。
That is, this means that the B4 output of the B register 109 in FIG. 1 has a changing point as b2. Similarly, the a1 signal indicated by 1402 in FIG. 14 is the a1 change point as the A4 output of the A register 108 in FIG. Furthermore, the Fa1 signal shown at 1403 in Fig. 14 has reached the second level by the current time.
This is a signal indicating that the graphic symbol detection circuit 201 has already detected the change point as al.

第14図の論理回路は該b2の検出された時刻に於いて
、al又はFal信号が“真”でない事によりPモード
であると判定する事を意味している。即ち、起点aQ以
後、b2が検出される時刻までにa1変化点がない事を
意味する。即ち、画像上で言えば、起点aQからb2変
化点の真下の間にa1変化点がない事になる。
The logic circuit shown in FIG. 14 means that at the time when b2 is detected, the P mode is determined because the al or Fal signal is not "true". That is, it means that there is no a1 change point after the starting point aQ until the time when b2 is detected. That is, on the image, there is no a1 change point between the starting point aQ and directly below the b2 change point.

従って、定義によりPモードとなる。第14図の140
4はPモード検出信号、1405はPモードの具体的な
コード、1406はPモードのコードのコード長を表す
2進数である。又1407はPモードのコードが発生し
た事を示す信号である。以上、Pモードの判定法である
が、■モードにも同様の手法が適用できる。該手法によ
りROMテーブルA204は構成される。
Therefore, by definition, it is in P mode. 140 in Figure 14
4 is a P mode detection signal, 1405 is a specific code of P mode, and 1406 is a binary number representing the code length of the P mode code. Further, 1407 is a signal indicating that a P mode code has been generated. The above is the determination method for P mode, but the same method can also be applied to ■mode. The ROM table A204 is configured by this method.

結局Pモード又はVモードのコード及びコード長は前記
b2又はa1記号が検出された時刻に於いて、前記の手
法に基づく第2図ROMテーブルA204に前記各レジ
スター等の状態信号を入力データとして与える事により
即刻lクロックの時間で発生される。
After all, the code and code length of the P mode or V mode are determined by applying the status signals of each register etc. as input data to the ROM table A204 in FIG. 2 based on the above method at the time when the b2 or a1 symbol is detected. In some cases, it is generated instantaneously at a time of 1 clock.

第2図のROMテーブルB2O5及びROMテーブルC
206は同様の構造であるから、代表して第15図及び
第16図によりROMテーブル0206について説明す
る。
ROM table B2O5 and ROM table C in Figure 2
Since the ROM table 206 has a similar structure, the ROM table 0206 will be explained with reference to FIGS. 15 and 16 as a representative.

まず、206はROMで少なくとも11ビツトのアドレ
ス入力及び21ビツトの並列出力をもつ、また、228
人力は第2図の228信号に符合する。即ち第2図のラ
ンレングス・カウンタ203の下位6ビツトである。ま
た、第15図の1502人力はランレングスの色を指定
する信号で本例では白=0、黒=1とする。
First, 206 is a ROM with at least 11 bits of address input and 21 bits of parallel output;
The human power corresponds to the 228 signal in FIG. That is, they are the lower 6 bits of the run length counter 203 in FIG. Further, 1502 manual input in FIG. 15 is a signal specifying the color of the run length, and in this example, white=0 and black=1.

また1503人力はHモードを示すコード(=OO1)
を付加するか、不要かを指定する信号で本例では要=1
、不要=Oとする。即ち、1503人力が1の場合はH
モードのコードの最初のランレングスコードに前記コー
ド(001)を付加したものを1クロツクで出力する。
Also, 1503 human power is a code indicating H mode (=OO1)
This is a signal that specifies whether to add or not. In this example, required = 1
, unnecessary=O. That is, if 1503 manpower is 1, H
The code (001) added to the first run length code of the mode code is output in one clock.

1504は該ROM206の出力を有効とするか無効と
するかを制御するチップイネーブル信号である。150
7人力はEOL<1507人力はEOL+ 1.150
8人力はEOL+ Oの夫々の読出しを制御するアドレ
ス入力であり、これら入力にパルスを入力することによ
り、対応したラインの区切りコードが読出される。又、
1505は入力で指定された番地のコード出力であり1
506は同じく該コードのコード長である。
A chip enable signal 1504 controls whether the output of the ROM 206 is enabled or disabled. 150
7 manpower is EOL<1507 manpower is EOL+ 1.150
8 are address inputs that control the reading of each of EOL+O, and by inputting pulses to these inputs, the delimiter code of the corresponding line is read. or,
1505 is the code output of the address specified by the input and is 1
Similarly, 506 is the code length of the code.

第16図は前記第15図の各番地AO〜A10と記憶内
容(データ)との対応を示す図である。
FIG. 16 is a diagram showing the correspondence between the addresses AO to A10 in FIG. 15 and the stored contents (data).

第2図のコード決定回路212を具体的に第17図によ
り説明する0図中、1706はアンドゲート、1707
はインバータである。
The code determination circuit 212 of FIG. 2 is specifically explained with reference to FIG. 17. In FIG. 17, 1706 is an AND gate;
is an inverter.

本実施例に於けるコード発生法の原理から判るように、
第2図示のROMテーブル204及び205又は206
等により、Pモード。
As can be seen from the principle of the code generation method in this example,
ROM table 204 and 205 or 206 shown in the second diagram
etc., P mode.

■モード、Hモードの各々のコードが最終的に発生すべ
きコードと決定される前段階に於いて、同時に2つ以上
ROMテーブルより出力される場合がある。しかし2以
上のコードは前述したように優先度が定義されている。
In the stage before each mode and H mode code is finally determined as the code to be generated, two or more codes may be output from the ROM table at the same time. However, the priority of two or more codes is defined as described above.

第17図は該定義に従って、一義的に発生すべきコード
を決定する為の回路である。
FIG. 17 shows a circuit for determining the code to be uniquely generated according to the definition.

即ち、Pモード、■モード及びHモードのコードが同時
に発生し得る場合には、前述の如く、 Pモード〉■モード〉Hモード 順位により、債先権を獲得したモードのニードが最終的
に発生すべきコードとして決定され。
In other words, if the codes of P mode, ■ mode, and H mode can occur simultaneously, the need of the mode that acquired the debt lien will eventually occur depending on the order of P mode>■ mode>H mode as described above. Should be determined as the code.

他のモードのコードは無効となり、発生コードとならな
い。
Codes for other modes are invalid and cannot be used as generation codes.

尚、信号1708は本符号化回路をMI(法、即ち、−
次元符号化に用いるか、MMR又はMRの二次元符号化
に用いるかを選択するためのモード信号であり、−次元
符号化を実行する場合にはLレベル、一方、二次元符号
化を実行する場合にはHレベルとなる。
Note that the signal 1708 causes the present encoding circuit to have an MI (modulus, i.e., −
This is a mode signal for selecting whether to use for dimensional encoding or for MMR or MR two-dimensional encoding, and is L level when executing -dimensional encoding; on the other hand, when executing two-dimensional encoding. In this case, it becomes H level.

従って、−次元符号化を実行する場合には。Therefore, when performing -dimensional encoding.

Pモードコード及びVモードコードの発生は阻止され、
常にHモードコード即ちランレングスを表わすコードの
みが有効とされる。
The generation of P mode codes and V mode codes is prevented,
Only H mode codes, ie codes representing run length, are always valid.

次に、第2図のラッチA207及びラッチB2O3等の
役割について述べる。ラッチA207及びラッチB2O
3はコーディング途中に仮に発生するHモードのメイク
アップコード及び該コード長を該Hモードが有効か又は
無効となるかが決定するまで、一時記憶する為の回路で
ある。そして、Hモードが有効と決定すれば該ラッチの
内容は次段の回路へ受渡される。
Next, the roles of the latch A207, latch B2O3, etc. in FIG. 2 will be described. Latch A207 and latch B2O
Reference numeral 3 denotes a circuit for temporarily storing the H mode make-up code and code length that are generated during coding until it is determined whether the H mode is valid or invalid. If it is determined that the H mode is valid, the contents of the latch are transferred to the next stage circuit.

第2図のラッチA207及びB2O3のf@きを一例と
して、メイクアップコードが発生するランレングスが長
い場合、例えばランレングス、、、2972で説明する
。この時、符号化の規定により次のように2つのメイク
アップコード及び1つのターミネイテイングコードの合
計3つのランレングスコードに分割して出力される。
Taking f@ of latches A207 and B2O3 in FIG. 2 as an example, a case where the run length in which the make-up code is generated is long will be explained using, for example, run length 2972. At this time, according to the encoding regulations, the code is divided into a total of three run-length codes, two make-up codes and one terminating code, and output as follows.

即ち、 メイクアップコードl= ランレングス2560コード(白、黒共通)メイクアッ
プコード2= ランレングス384コード(白又は黒)ターミネイテイ
ングコード= ランレングス28コード(白又は黒) この様に、2560+384+28=2972の如く複
数のコードにより1つのランレングスを表わす場合には
、まず、第2図のテンレングス・カウンタ203のカラ
ントイ直が63+64XN(N=0.1.2・・・・・
・の正整数)になる毎に、その時点でAレジスタのA4
出力がa1変化点でなければ、次にメイクアップ値が発
生することを予知し、該カウンタ203の上位6ビツト
の値(Nに相当)が示す1つ上(即ちN=0で64のメ
イクアップ)のメイクアップコード及びコード長をRO
MテーブルB2O5から出力させ、ラッチB2O3へ一
時記憶(ラッチ)する、続いて前値カウント値が64進
む毎(即ち前述の63+64XNの式に於いてNが1進
む毎)に該ラッチB2O3の内容は、更新されていく。
That is, Makeup code l = Run length 2560 code (common for white and black) Makeup code 2 = Run length 384 code (white or black) Terminating code = Run length 28 code (white or black) In this way, 2560 + 384 + 28 When one run length is expressed by multiple codes such as =2972, first, the count value of the ten length counter 203 in FIG. 2 is 63+64XN (N=0.1.2...
・A positive integer), at that point A4 of the A register
If the output is not at the a1 change point, it is predicted that a make-up value will occur next, and the value of the upper 6 bits of the counter 203 (corresponding to N) indicates a make-up value of RO the make-up code and code length of
The contents of the latch B2O3 are outputted from the M table B2O5 and temporarily stored (latched) in the latch B2O3.Then, each time the previous value count value advances by 64 (that is, each time N advances by 1 in the above-mentioned formula 63+64XN), the contents of the latch B2O3 are , will be updated.

そして、ランレングス・カウンタ203の値が2559
 (即ち63+64XNの式でN=39)になった時刻
で変化点a1が検出されていなければ現在カウント中の
ランレングスが2560以上になる事が予知できるので
、前記同様、ROMテーブルB2O5からランレングス
2560のコード及びコード長を読み出してラッチA2
07へ一時記憶する。また、同時にラッチB2O3の記
憶済内容を一旦無効とする。又、ランレングスカウンタ
203のカウント値は初期値lに戻される。続いてカウ
ントが進むにつれて再び前述の63+64XNの式毎に
同様にラッチB2O3へのメイクアップコード等の記憶
が再開される。
Then, the value of the run length counter 203 is 2559.
(In other words, if the change point a1 is not detected at the time when N = 39 in the formula 63 + 64 Read the code and code length of 2560 and latch A2.
Temporarily stored in 07. At the same time, the stored contents of latch B2O3 are temporarily invalidated. Further, the count value of the run length counter 203 is returned to the initial value l. Subsequently, as the count progresses, the storage of the make-up code, etc. to the latch B2O3 is resumed in the same manner for each of the above-mentioned formulas 63+64XN.

そして、変化点a1が検出されると、他のPモード又は
Vモードとの競合関係が判定され、Hモードが決定する
と該変化点a1の時刻に於けるランレングスカウンタ2
03の下位6ビツトの値(0〜最大63)が示すランレ
ングスのターミネイテイングコード及びコード長をラッ
チC209へ一旦記憶する。又、既に前記のようにラッ
チA207及びラッチB2O3の内容も有効となる。
When the change point a1 is detected, the competitive relationship with other P mode or V mode is determined, and when the H mode is determined, the run length counter 2 at the time of the change point a1 is determined.
The termination code and code length of the run length indicated by the value of the lower six bits of 03 (0 to maximum 63) are temporarily stored in latch C209. Furthermore, as already described above, the contents of latch A207 and latch B2O3 also become valid.

但し、変化点a1の時刻にVモード等が発生していれば
Hモード自体、発生しない事となり、当然ラッチA20
7及びラッチB20gの内容は無効とされ、又ラッチC
209へは前記ターミネイテイングコードのかわりにV
モードコードが有効コードとしてラッチされる。
However, if V mode etc. occurs at the time of change point a1, H mode itself will not occur, and naturally latch A20
7 and the contents of latch B20g are invalidated, and the contents of latch C
209 instead of the above-mentioned terminating code.
Mode code is latched as valid code.

上記メイクアップコード1およびメイクアップコード2
等の発生、記憶制御の回路を第18図に示し、この回路
はタイミング回路112に含まれるものである。この回
路のタイミングチャート(ランレングスが前述の如<2
972であった場合)を第19図に示す。図中、180
1.1802はフリップフロップ、1803はアンドゲ
ート、1804はインバータである。
Makeup code 1 and makeup code 2 above
FIG. 18 shows a circuit for controlling the generation and storage of the data, etc., and this circuit is included in the timing circuit 112. Timing chart of this circuit (run length is <2 as mentioned above)
972) is shown in FIG. In the figure, 180
1.1802 is a flip-flop, 1803 is an AND gate, and 1804 is an inverter.

MKI及びMK2は第13図に示したランレングスカウ
ンタ203の2559検出回路1301及び63検出回
路1302からそれぞれ出力される信号である。フリッ
プフロップ1802はMK2信号の入力によりセットさ
れてMK2有信号を発生し、フリップフロップ1801
はMKI信号の入力によりセットされてMKI有信号を
発生する。尚、MKI信号の入力によりフリップフロッ
プ1802はリセットされる。
MKI and MK2 are signals output from the 2559 detection circuit 1301 and the 63 detection circuit 1302, respectively, of the run length counter 203 shown in FIG. The flip-flop 1802 is set by the input of the MK2 signal and generates the MK2 presence signal, and the flip-flop 1801
is set by the input of the MKI signal and generates the MKI presence signal. Note that the flip-flop 1802 is reset by inputting the MKI signal.

以上のような構成により、ランレングスカウンタ203
のカウント値が64以上となった場合はMK2有信号が
ハイレベルとなり、更に2560以上となった場合はM
KI有信号のみかMK2有信号とMK2有信号が両方ハ
イレベルとなる。このMKL有信号とMK2信号のレベ
ルによりランレングスを表わすコードがターミネートコ
ードのみであるか、ターミネートコードとメークアップ
コードの組合せであるか、又、そのメークアップコード
の数が1であるか2であるかを判別できる。従って、H
モードにおいてコードを発生する場合、このMKI有信
号とMK2有信号とのレベルをバッキング回路211は
判別し、3個のラッチA、B、Cのうち有効なものを選
択して、そのラッチデータを取込む。
With the above configuration, the run length counter 203
When the count value becomes 64 or more, the MK2 signal becomes high level, and when the count value becomes 2560 or more, the MK2 signal becomes high level.
Only the KI presence signal or both the MK2 presence signal and the MK2 presence signal become high level. The levels of the MKL signal and MK2 signal determine whether the code representing the run length is only a termination code, a combination of a termination code and a makeup code, and whether the number of makeup codes is 1 or 2. You can determine if there is. Therefore, H
When generating a code in this mode, the backing circuit 211 determines the levels of the MKI present signal and the MK2 present signal, selects the valid one among the three latches A, B, and C, and outputs the latch data. Take in.

この様にメイクアップコードの発生に於いて少なくとも
1時刻前に該コードの発生を予知し、該コードを一時記
憶回路(ラッチA、B)へ送り済にしておくことにより
、変化点a1が来た時に、同時刻に処理すべき出力コー
ドの数やビット数の増大を防ぐ効果があり回路構成上、
極めて有効である。
In this way, when the make-up code is generated, by predicting the generation of the code at least one time in advance and sending the code to the temporary memory circuit (latches A and B), the change point a1 is reached. This has the effect of preventing an increase in the number of output codes and the number of bits that must be processed at the same time.
Extremely effective.

即ち、ラッチA207及びラッチB2O3ヘランレング
スカウンタ203がHモード決定前にカウントした数の
うち必要となるメイクアップコード及びコード長を一時
記憶しておくことにより、Hモード決定時にはターミネ
イティングコード及びコード長のみを処理すれば良いの
で、a1検出時に出力すべきHモードのコードが全て揃
い、続く符号化動作を遅延なく実行することができる。
That is, by temporarily storing the required make-up code and code length out of the numbers counted by the latch A207 and the latch B2O3 Heran length counter 203 before deciding on the H mode, the terminating code and code length are stored when the H mode is decided. Since it is only necessary to process the H-mode code to be output at the time of a1 detection, all the H-mode codes to be output are available, and the subsequent encoding operation can be executed without delay.

207.208,209の各ラッチA、B。207, 208, 209 latches A, B.

Cの内容を次段回路へ送り出す順序はラッチA207>
ラッチB2O3>ラッチC209(21Oバツフア)の
順を崩さないよう制御される(内容が無効の時は省略、
無視する)。
The order in which the contents of C are sent to the next stage circuit is latch A207>
Controlled to maintain the order of latch B2O3 > latch C209 (21O buffer) (omitted when the contents are invalid,
ignore).

ラッチC209の内容を−Hバッファメモリ210に格
納するのは、符号化モードの確定された次の時刻から次
の符号化動作が開始し、ROMテーブルより次の符号化
データがラッチC209に数クロック(最低lクロック
)で入力されることがある。従って、モードの確定後は
次の符号化データをラッチ可能な様にラッチC209の
内容はバッファメモリ210に送うれ、バッファメモリ
210よりタイミングを取って後段に出力される。
The reason why the contents of the latch C209 are stored in the -H buffer memory 210 is because the next encoding operation starts from the time after the encoding mode is determined, and the next encoded data is stored in the latch C209 from the ROM table for several clocks. (at least l clocks). Therefore, after the mode is determined, the contents of the latch C209 are sent to the buffer memory 210 so that the next encoded data can be latched, and then output from the buffer memory 210 to the subsequent stage with proper timing.

次に変化点a1及び変化点a2を符号化法の規定により
、同一画素上に設定するような特殊なケースについて述
べる。
Next, a special case in which the change point a1 and the change point a2 are set on the same pixel according to the encoding method will be described.

第20図は上記のケースを図示したものである。即ち、
第20図に於いて、2001はリファL/ンスライン、
2002はコーディングラインである。又、2003は
コーディングラインの最終画素、2004は仮想変化点
(画素)である。
FIG. 20 illustrates the above case. That is,
In Fig. 20, 2001 is the reference L/ance line,
2002 is a coding line. Further, 2003 is the final pixel of the coding line, and 2004 is a virtual change point (pixel).

さて第20図において、左方からの符号化の結果、起点
aQが図の位置になったとすると、次に発生すべきコー
ドは第21図の如く、〔Hモードコード+白12ターミ
ネイトコード+黒Oターミネイトコード〕である。ここ
で、第21図(1)のコードは変化点a1の時刻に前述
した手段により1つのコードとして扱う事ができ問題な
い。しかし、第21図(2)のコードは本来変化点a2
が変化点a1と別の時刻に来た時、変化点a2の時刻に
於いて発生するべきコードである。だが本ケースの場合
、明らかに変化点a2として記号検出回路201等から
検知されない。
Now, in Fig. 20, if we assume that the starting point aQ is at the position shown in the figure as a result of encoding from the left, the next code to be generated is as shown in Fig. 21: [H mode code + white 12 terminator code + black O-terminated code]. Here, the code shown in FIG. 21(1) can be treated as one code by the above-described means at the time of the change point a1, and there is no problem. However, the code in Figure 21 (2) originally had a change point a2.
This is the code that should be generated at the time of the change point a2 when the change point a1 comes at a different time. However, in this case, it is clearly not detected as the change point a2 by the symbol detection circuit 201 and the like.

そこで本ケースの場合、記号検出回路201に設けた第
22図の回路により以下の処理を行なう、第23図は本
回路動作のタイミングチャートである。第22図に於い
て2201は画像が仮想領域に入ったことを示す信号(
水平同期、信号の反転信号)、2202はa1変化点検
出信号、2203はHモードに於いて、第1番目のター
ミネイトコードの発生までを示す信号である。上記信号
を監視し、アンドゲート2207により該2201〜2
203信号の論理積をとることにより第20図の状態を
検知し、2204−1信号をつくり(即ち、時刻はal
と同じ)、まず、第20図(1)のコードを前述の方法
で出力する。次にランレングスカウンタを0にクリアす
る等所定の処理し、第22図の2204−1信号をDフ
リップフロップからなる遅延回路2208で1時刻遅延
させた2205−1信号により第21図(2)の黒0の
ターミネイトコードを発生させる。
Therefore, in this case, the following processing is performed by the circuit shown in FIG. 22 provided in the symbol detection circuit 201. FIG. 23 is a timing chart of the operation of this circuit. In FIG. 22, 2201 is a signal indicating that the image has entered the virtual area (
2202 is an a1 change point detection signal, and 2203 is a signal indicating up to the generation of the first termination code in H mode. The signals 2201 to 2 are monitored by the AND gate 2207.
The state shown in FIG. 20 is detected by taking the AND of the 203 signals, and the 2204-1 signal is created (that is, the time is
), first output the code shown in FIG. 20 (1) using the method described above. Next, predetermined processing such as clearing the run length counter to 0 is performed, and the signal 2205-1, which is obtained by delaying the signal 2204-1 shown in FIG. Generates a black 0 termination code.

第2図のバッキング回路211は前述の方法によって得
られたコード及びコード長を入力としくこの除法々に発
生する各々のコード長(コードのビット数)は一定して
いない。但し、最長はHモードコード(−001)を付
加しても16ビツトである)、順次16ビツト単位にま
とめる回路であり、本実施例では16ビツト毎に次の外
部回路へパラレルに受渡すようにしているものである。
The backing circuit 211 in FIG. 2 receives as input the code and code length obtained by the method described above, and the length of each code (the number of bits of the code) generated by this division is not constant. However, even if the H mode code (-001) is added, the maximum length is 16 bits), and the circuit is sequentially grouped into 16-bit units, and in this embodiment, each 16-bit bit is transferred in parallel to the next external circuit. This is what we do.

第2図の238で示す信号はバッキング回路211によ
り16ビツトにまとめたコードであり、239で示す信
号は該事実を次段の外部回路へ報知する為の信号である
。尚、バッキング回路211はコード長加算回路、ビッ
トシフタ。
The signal 238 in FIG. 2 is a code compiled into 16 bits by the backing circuit 211, and the signal 239 is a signal for reporting this fact to the next stage external circuit. Note that the backing circuit 211 is a code length addition circuit and a bit shifter.

マルチプレクサ、ラッチ等、周知の回路を組合わすこと
により容易に実現しうるちのである。
This can be easily realized by combining well-known circuits such as multiplexers and latches.

次に1ページの終了を示すRTC(Re t urn 
 To  Control)信号について述べる。MM
R法の場合RTCコード=EOLコード×2回である。
Next, there is an RTC (Re turn) indicating the end of one page.
The To Control) signal will now be described. MM
In the case of the R method, RTC code=EOL code×2 times.

即ちRTC信号は(000000000001)X2=
000000000001.000000000001
で表現される。又本実施例においては、前述してきたよ
うに1クロック時間で16ビツトのコードまで出力でき
る構造となっている。従ってRTC信号を出力するには
第3図示の垂直同期信号136−1等を監視する事によ
り、1ページの終りを検知し、2クロック時間(2時刻
)のパルスを発生させ、このパルスを(第15図に示し
た)ROMテーブルC206のアドレス信号1507と
して与える事により、ROMテーブルの相当する番地に
EOLコード及びコード長を書込んでおき、出力させれ
ばRTCコードを前述の画像に対するコードに続いて得
る事ができる。
That is, the RTC signal is (000000000001)X2=
000000000001.000000000001
It is expressed as Also, in this embodiment, as described above, the structure is such that up to 16 bit codes can be output in one clock time. Therefore, in order to output the RTC signal, the end of one page is detected by monitoring the vertical synchronization signal 136-1 shown in FIG. By giving the address signal 1507 of the ROM table C206 (shown in FIG. You can get it next.

次に前述した3つの符号化法の相異点を第1表に挙げて
おく。
Next, Table 1 lists the differences between the three encoding methods described above.

そこでMH法の符号化法は前述したMMR法のHモード
を繰返して行く場合とほぼ同じであるが次の点で相異す
る。
Therefore, the encoding method of the MH method is almost the same as the case where the H mode of the MMR method described above is repeated, but differs in the following points.

即ち (1)MH法ではHモードコード(001)は不要 (2)MH法では白ラン、黒ランはペアにする事は不要 (3)MH法では1ライン毎にEOLコードを入れる (4)RTCの違い 又MR法の場合は (1)1次元ラインは、MH法と同じ (2)2次元ラインは、MMR法と同じ(3)ラインの
区切りは EOL+1=0000000000011又は EOL+0=OOO0000000010(4)RTC
の違い (5)Kパラメータにより1次元ラインと2次元ライン
が混在する。
That is, (1) H mode code (001) is not required in the MH method (2) It is not necessary to pair white runs and black runs in the MH method (3) Inserting an EOL code for each line in the MH method (4) Differences in RTC and in the case of the MR method: (1) One-dimensional lines are the same as the MH method (2) Two-dimensional lines are the same as the MMR method (3) Line separation is EOL + 1 = 0000000000011 or EOL + 0 = OOO0000000010 (4) RTC
Difference (5) Due to the K parameter, one-dimensional lines and two-dimensional lines coexist.

結局、3つの符号化法間の切換えは前述したMMR法の
回路の動きを、MR法又はMH法の方式選択信号により
制御する事により容易に実現できる。
After all, switching between the three encoding methods can be easily realized by controlling the operation of the circuit for the MMR method described above using a method selection signal for the MR method or the MH method.

まず第24図にライン・区切り・コードの違いを制御す
る回路例を示す0図中、2407はラインカウンタ、2
408はナントゲート、2409はアンドゲート、24
10はインバータである。即ち、第24図の2401は
第3図の320に示すt−1時刻のパルス信号で、各コ
ーディングライン毎に繰返される又該時刻t−1には画
像符号化に伴なう、コードは発生シナい。このt−11
11%刻のパルス信号はアドレスカウンタ111の値を
デコードすることにより得る。又、2402及び240
3は符号化法を指定するCpu等1本実施例回路外から
の符号化法選択信号である。又136一2信号は第3図
の136−2信号と対応し、従って、K進カウンタ24
07は、MR法のにバラ−メータの進み方を信号、13
6−2をカウントしライン・カウンタとして、監視する
First, Figure 24 shows an example of a circuit that controls the differences between lines, delimiters, and codes. In Figure 24, 2407 is a line counter;
408 is Nantes Gate, 2409 is And Gate, 24
10 is an inverter. That is, 2401 in FIG. 24 is a pulse signal at time t-1 shown in 320 in FIG. 3, which is repeated for each coding line. At time t-1, a code is generated due to image encoding Shinai. This t-11
The 11% pulse signal is obtained by decoding the value of the address counter 111. Also, 2402 and 240
3 is an encoding method selection signal from outside the circuit of this embodiment, such as a CPU, which specifies the encoding method. Also, the 136-2 signal corresponds to the 136-2 signal in FIG.
07 is a signal indicating how the barometer advances in the MR method, 13
6-2 is counted and monitored as a line counter.

第24図の論理により得られた信号2404〜2406
を第2図のROMテーブルC206のアドレス入力(第
15図の1507〜1508人力)となし、各々特定の
番地を指定する様になし、該特定の番地に必要なコード
及びコード長を記憶させたものを出力させる様になす事
により、所望のライン・区切り・コードを得る。
Signals 2404 to 2406 obtained by the logic in FIG.
were used as address inputs for the ROM table C206 in Figure 2 (1507 to 1508 in Figure 15), each specifying a specific address, and the code and code length required for the specific address were stored. By outputting something, you can get the desired line, break, or code.

又、MH法の一次元ラインの符号化法は前述した第17
図のMMR法のモード決定回路に於いて常にHモードが
優先できるよう、選択信号1708により制御すればよ
い。
Furthermore, the one-dimensional line encoding method of the MH method is described in the 17th
The selection signal 1708 may be used to control the mode determination circuit of the MMR method shown in the figure so that the H mode can always be given priority.

又MH法においては常にHモード命コード(001)も
不要となるよう制御するがこれも前述のROMテーブル
C206のアドレス信号A7をOとすることにより達成
する。
In addition, in the MH method, the H mode command code (001) is always controlled to be unnecessary, and this is also achieved by setting the address signal A7 of the ROM table C206 to O.

又RTCにおけるEOLの数の違いはROMテーブルC
206のに印加するパルス数をモードに応じて異ならせ
ることにより達成する。
Also, the difference in the number of EOLs in RTC is ROM table C.
This is achieved by varying the number of pulses applied to 206 depending on the mode.

本実施例に於いては第3図等に示すように(画像)クロ
ック134に同期して動作しているが、クロックの間隔
(周期)には関係しない。そこで第25図に示す如く、
いわば画像ゲート信号によりクロック134をマスクす
る等の方法により容易に画像又はライン間に休止期間を
設ける事ができる。
In this embodiment, as shown in FIG. 3, etc., it operates in synchronization with the (image) clock 134, but it is not related to the interval (period) of the clock. Therefore, as shown in Figure 25,
A pause period can be easily provided between images or lines by masking the clock 134 with an image gate signal, so to speak.

即ち、第25図に於て2501は画像ゲート信号で゛O
パレベルの間、動作を休止させる事を示す信号である。
That is, in FIG. 25, 2501 is the image gate signal
This is a signal indicating that the operation is suspended during the power level.

又2502は前記ゲート信号2501とクロック134
との論理積により作り出された歯抜けのクロックであり
、該クロック2502を前述のクロック134に代って
本実施例の実質の内部回路へ送れば、本実施例はクロッ
ク信号によってのみ状態が遷移し得るものであるから8
25図斜線部は明らかに休止状態となる。
Further, 2502 is the gate signal 2501 and the clock 134.
If this clock 2502 is sent to the actual internal circuit of this embodiment in place of the aforementioned clock 134, the state of this embodiment can be changed only by the clock signal. Because it is possible8
The shaded area in Figure 25 is clearly in the rest state.

この休止制御により、例えば、符号化すべき画像信号の
発生源の画像信号の出力速度等が。
This pause control controls, for example, the output speed of the image signal of the source of the image signal to be encoded.

符号化回路の動作に制限される事がない。又、逆に、例
えば1画像発生源がディスクを備えた画像ファイルの場
合等、1ページの画像信号の出力が間欠的になされたと
しても、符号化回路が、その間欠的出力に同期して符号
化動作を間欠的に実行する事ができる。従って、画像信
号の出力源と符号化回路の間に時間合せ用の多大なバッ
ファメモリ等を必要とせずに、出力源からの画像信号を
逐次符号化する事もできる。
There is no restriction on the operation of the encoding circuit. Conversely, even if the image signal for one page is output intermittently, for example when the image source is an image file with a disk, the encoding circuit will not be able to synchronize with the intermittent output. Encoding operations can be performed intermittently. Therefore, the image signal from the output source can be sequentially encoded without requiring a large buffer memory for time adjustment between the image signal output source and the encoding circuit.

次に第26図及び第27図によって1本実施例の回路へ
符号化すべき画像を並列形式で与える方法について述べ
る。即ち、第26図の2601は8ビツトの並列データ
を入力とし、2602に1ビツトの直列データとして出
力できる並直列変化用シフト−レジスタである。
Next, a method of supplying images to be encoded to the circuit of this embodiment in a parallel format will be described with reference to FIGS. 26 and 27. That is, 2601 in FIG. 26 is a parallel-to-serial change shift register which can input 8-bit parallel data and output it to 2602 as 1-bit serial data.

第27図に示す様に符号化すべき画像信号を8ビツトの
並列データとしてレジスタ2602にロードしたのち、
クロックにより直列シフトし、第27図に示す如くの直
列の画像信号2602を得る。同時に前記直列シフト中
のクロック数等をカウントし、実データの区間を示すゲ
ート信号2702をつくり出す。又実データに対応した
クロック2702も同様に得る事ができる。
As shown in FIG. 27, after loading the image signal to be encoded into the register 2602 as 8-bit parallel data,
The signal is serially shifted by a clock, and a serial image signal 2602 as shown in FIG. 27 is obtained. At the same time, the number of clocks during the serial shift is counted, and a gate signal 2702 indicating the actual data section is generated. Also, a clock 2702 corresponding to actual data can be obtained in the same way.

以上、第27図の如き語信号は前記第25図で述べた休
止方法により本実施例で前述した如く符号化可能な形式
となっている。この画像の並列入力に対する動作はCp
u等により画像が与えられる場合等において極めて有効
である。
As described above, the word signal as shown in FIG. 27 is in a format that can be encoded as described above in this embodiment by the pause method described in FIG. 25. The operation for parallel input of this image is Cp
This is extremely effective when an image is provided by u, etc.

尚1以上の実施例では、MH,MR、MMRの符号化に
ついて説明したが、他の符号化方法にも適用可能なこと
は言う迄もない。また、符号化すべき画像信号は原稿画
像を光電的に読取る装置や、コンピュータ等から入力さ
れ、また、符号化コードは伝送線等により遠隔地に伝送
されたり、画像ファイルに格納されたりする。以上、本
発明を好ましい実施例に基づいて説明したが、本発明は
この構成に限定されるものではなく、特許請求の範囲内
で種々の変形。
In one or more embodiments, MH, MR, and MMR encoding has been described, but it goes without saying that other encoding methods can also be applied. Furthermore, the image signal to be encoded is input from a device that photoelectrically reads an original image, a computer, etc., and the encoded code is transmitted to a remote location via a transmission line or the like, or is stored in an image file. Although the present invention has been described above based on preferred embodiments, the present invention is not limited to this configuration, and various modifications may be made within the scope of the claims.

変更が可能であることは言う迄もない。Needless to say, changes are possible.

第1表 〔効 果〕 以り説明した様に、本発明によると複数のコードを必要
とする長いテン長の画像信号の符号化において、予め符
号化コードを予測して記憶し、これを読出して発生する
ので、コードの出力時における符号化動作の負担が軽減
でき、且つ1画像値号の入力に遅れることなく符号化動
作が実行回部となる。
Table 1 [Effects] As explained above, according to the present invention, in encoding a long ten-length image signal that requires a plurality of codes, the encoded code is predicted and stored in advance, and the encoded code is read out. Therefore, the burden of the encoding operation at the time of outputting the code can be reduced, and the encoding operation can be executed without delaying the input of one image value code.

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

第り図及び第2図は本発明を適用した符号化装置の構成
を示すブロック図、第3図は符号化動作を示すタイミン
グチャート図、第4図、第5図及び第6図はリファレン
スラインとコーデングラインの関係を示す図、第7図は
仮想変化点発生回路の構成例を示す図、第8図は第7図
示回路の動作を示すタイミングチャート図、第9図はセ
レクタの構成例を示す図、第10図は変化点検出回路の
構成例を示す図、第11図及び第12図は記号検出回路
あ一部構成例を示す図、i13図はテンレングスカウン
タの構成例を示す図、第14図はROMテーブルAの等
何回路の構成例を示す図、第15図はROMテーブルC
の構成例を示す図、第16図はROMテーブルCの内容
例を示す図、第17図はコード決定回路の構成例を示す
図、第18図はメイクアップコードの発生、記憶回路の
構成例を示す図、第19図は第18図示回路の動作を示
すタイミングチャート図、第20図はりファレンスライ
ンとコーディングラインの関係を示す図、第21図はH
モードコードを示す図、第22図は仮想変化点の遅延回
路の構成例を示す図、第23図は第22図示回路の動作
を示すタイミングチャート図、第24図はライン区切り
コードの発生を制御する回路の構成例を示す図、第25
図は符号化動作の休止制御動作を示すタイミングチャー
ト図、第26図は画像信号のパラレル入力をシリアル出
力する回路の構成例を示す図、第27図は第26図示回
路の出力状態を示すタイミングチャート図であり、10
1及び105は仮想変化点発生回路、106及び107
は変化点検出回路、108〜110はレジスタ、111
はアドレスカウンタ、201は記号検出回路、203は
ランレングスカウンタ、207〜209はラッチである
。 第7図 : 第8図 刹5e図 扼、(o図 栗μ/図 項#I21J 朝シβ図 再75図 #7./乙U 第 ?4 凶 VE/J 坏土       休止
Figures 1 and 2 are block diagrams showing the configuration of an encoding device to which the present invention is applied, Figure 3 is a timing chart showing the encoding operation, and Figures 4, 5, and 6 are reference line diagrams. 7 is a diagram showing a configuration example of a virtual change point generation circuit, FIG. 8 is a timing chart diagram showing the operation of the circuit shown in FIG. 7, and FIG. 9 is a configuration example of a selector. Figure 10 is a diagram showing an example of the configuration of a change point detection circuit, Figures 11 and 12 are diagrams showing an example of the configuration of the symbol detection circuit, and Figure i13 is a diagram showing an example of the configuration of a ten-length counter. 14 is a diagram showing an example of the circuit configuration of ROM table A, and FIG. 15 is a diagram showing an example of the circuit configuration of ROM table A.
FIG. 16 is a diagram showing an example of the contents of ROM table C, FIG. 17 is a diagram showing an example of the configuration of the code determination circuit, and FIG. 18 is a configuration example of the make-up code generation and storage circuit. 19 is a timing chart showing the operation of the circuit shown in FIG. 18, FIG. 20 is a diagram showing the relationship between the beam reference line and the coding line, and FIG.
Figure 22 is a diagram showing a configuration example of a delay circuit at a virtual change point, Figure 23 is a timing chart diagram showing the operation of the circuit shown in Figure 22, and Figure 24 is a diagram showing control of generation of line separation codes. Diagram 25 showing an example of the configuration of a circuit for
26 is a timing chart showing a pause control operation of the encoding operation, FIG. 26 is a diagram showing a configuration example of a circuit that serially outputs parallel input of an image signal, and FIG. 27 is a timing chart showing the output state of the circuit shown in FIG. 26. It is a chart diagram, and 10
1 and 105 are virtual change point generation circuits, 106 and 107
is a change point detection circuit, 108 to 110 are registers, 111
is an address counter, 201 is a symbol detection circuit, 203 is a run length counter, and 207 to 209 are latches. Fig. 7: Fig. 8 刹5e fig.

Claims (1)

【特許請求の範囲】[Claims] シリアルに入力する画像信号の変化点間の画素数を計数
する手段と、上記計数手段の計数値が64n+63(n
=0、1、2‐‐‐‐)となった場合その画素が変化点
でない場合64(n+1)を表わす第1の符号化コード
を記憶する手段と、上記計数手段の64未満の計数値を
表わす第2の符号化コードを発生する手段とを有し、変
化点画素に至った時点において上記記憶手段に記憶され
た第1の符号化コードを読出すとともに上記発生手段に
第2の符号化コードを発生せしめることを特徴とする画
像信号の符号化装置。
A means for counting the number of pixels between changing points of an image signal inputted serially, and a count value of the above-mentioned counting means is 64n+63(n
= 0, 1, 2---), if the pixel is not a change point, means for storing a first encoded code representing 64 (n+1), and a count value of less than 64 of the counting means; means for generating a second encoded code representing a pixel, and reads out the first encoded code stored in the storage means at the time when a change point pixel is reached, and also causes the generation means to generate a second encoded code. An image signal encoding device characterized by generating a code.
JP17080785A 1985-08-02 1985-08-02 Coding device for picture signal Pending JPS6231261A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP17080785A JPS6231261A (en) 1985-08-02 1985-08-02 Coding device for picture signal
CA000514467A CA1296798C (en) 1985-08-02 1986-07-23 Image signal coding apparatus
US06/888,493 US4799110A (en) 1985-08-02 1986-07-23 Image signal coding apparatus
DE8686305854T DE3684966D1 (en) 1985-08-02 1986-07-30 IMAGE SIGNAL ENCODER.
EP86305854A EP0211611B1 (en) 1985-08-02 1986-07-30 Image signal coding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17080785A JPS6231261A (en) 1985-08-02 1985-08-02 Coding device for picture signal

Publications (1)

Publication Number Publication Date
JPS6231261A true JPS6231261A (en) 1987-02-10

Family

ID=15911701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17080785A Pending JPS6231261A (en) 1985-08-02 1985-08-02 Coding device for picture signal

Country Status (1)

Country Link
JP (1) JPS6231261A (en)

Similar Documents

Publication Publication Date Title
US4688100A (en) Video data encoding/decoding apparatus
CA1286766C (en) Method and apparatus for decompressing encoded data
US4654719A (en) Coding circuit for facsimile apparatus
US4799110A (en) Image signal coding apparatus
US5655032A (en) Coding method and apparatus therefor
US4716471A (en) Data decoding apparatus
JP2924964B2 (en) Image information encoding device, image information decoding device, and image information encoding / decoding device
EP0288219A2 (en) Apparatus for decoding facsimile coded data to image data
EP0212905B1 (en) Decoding apparatus for image code
US4918540A (en) System for encoding or decoding analog video signals
US5345316A (en) Image data encoding/decoding apparatus for concurrent processing of multiple image data streams
EP0454088A2 (en) Image processing apparatus
JPS6231261A (en) Coding device for picture signal
JPS6231257A (en) Two-dimensional encoding device for picture signal
JPS6231260A (en) Two-dimensional coding device for picture signal
JPS6231264A (en) Encoder for picture signal
JPS6231263A (en) Two-dimensional coding device for picture signal
JPS6231262A (en) Two-dimensional coding device for picture signal
JPS6231259A (en) Two-dimensional coding device for picture signal
JPS6231258A (en) Two-dimensional encoding device for picture signal
US5452092A (en) Changing pixel detector for coding of image data
JPH04270569A (en) Data compression system for picture processor
JPS6329472B2 (en)
JP3127029B2 (en) Image information encoding device
JPS63302669A (en) Transforming method for picture coding system