JPS6231258A - Two-dimensional encoding device for image signals - Google Patents

Two-dimensional encoding device for image signals

Info

Publication number
JPS6231258A
JPS6231258A JP17080485A JP17080485A JPS6231258A JP S6231258 A JPS6231258 A JP S6231258A JP 17080485 A JP17080485 A JP 17080485A JP 17080485 A JP17080485 A JP 17080485A JP S6231258 A JPS6231258 A JP S6231258A
Authority
JP
Japan
Prior art keywords
code
signal
mode
line
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.)
Granted
Application number
JP17080485A
Other languages
Japanese (ja)
Other versions
JP2721335B2 (en
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 JP17080485A priority Critical patent/JP2721335B2/en
Priority to US06/888,493 priority patent/US4799110A/en
Priority to CA000514467A priority patent/CA1296798C/en
Priority to EP86305854A priority patent/EP0211611B1/en
Priority to DE8686305854T priority patent/DE3684966D1/en
Publication of JPS6231258A publication Critical patent/JPS6231258A/en
Application granted granted Critical
Publication of JP2721335B2 publication Critical patent/JP2721335B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To execute an encoding action without being late for the input of a picture signal by generating simultaneously the encoding code of respective modes and selecting and outputting this in accordance with the priority sequence. CONSTITUTION:By the output 228 of a run length counter 203, the value, color, etc., of the run length are given to a ROM table C206, the equivalent code and the code length are outputted from a ROM206. In the pre-stage where by ROM tables 204, 205 and 206, respective codes of a P mode, a V mode and an H mode are determined to be the code to be generated finally, when two or above are outputted from the ROM table simultaneously, by the sequence of the P mode > the V mode > the H mode, the code of the mode obtaining the priority is determined as the code to be generated finally.

Description

【発明の詳細な説明】 〔技術分野〕 本発明はファクシミリや画像電子ファイル簿に用いられ
る画像信号の二次元符号化装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a two-dimensional encoding device for image signals used in facsimiles and image electronic file registers.

〔従来技術〕[Prior art]

従来のファクシミリTの画像伝送装置や近年の光ディス
クや磁気ディスク等を用いた画像ファイル装置象におい
ては1画像値号を符号化して取扱うことにより、データ
量を減少せしめ伝送或いは蓄積動作の高速化、効率化を
計っている。
In conventional facsimile T image transmission devices and recent image file devices using optical disks, magnetic disks, etc., one image value code is encoded and handled, reducing the amount of data and speeding up transmission or storage operations. We are trying to improve efficiency.

例えば、ファクシミリの分野においては一般に一次元符
号化としてモディファイドハフマン(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-gloss two-dimensional encoding. ing.

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

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

更にE述の符号化法はMMR法については昭和60年3
月22日の官報(号外第29号)52ページ以下のファ
クシミリグループ4型装置の推奨通信方式(郵政−九ヒ
)の中で高能率二次元符号化方式として告示されており
、MH法は一次元符号化方式として、又MR法は二次元
符号化方式として共に昭和56年郵政省告示第1013
号に告示されている。
Furthermore, the encoding method described in E was introduced in March 1986 regarding 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-Kuhi) on page 52 or less of the official gazette (extra issue No. 29) dated May 22nd. Both the original encoding method and the MR method are two-dimensional encoding methods as per Ministry of Posts and Telecommunications Notification No. 1013 of 1982.
It is announced in the number.

前述した符号化方法のうち、MR法やMMR法の一次元
符号化は符号化すべきラインの画像信号と前ラインの画
像信号の相関関係を判定し、この相関関係に応じたモー
ドの符号化コードを発生する構成である。従って、相関
関係の判別の後に対応したモードの符号化動作がなされ
るものであるが、例えば、原稿画像を光電的に読取って
得た画像信号を遅延することなく符号化することは難し
かった。
Among the aforementioned encoding methods, the one-dimensional encoding of the MR method and MMR method determines the correlation between the image signal of the line to be encoded and the image signal of the previous line, and generates an encoding code of a mode according to this correlation. This is a configuration that generates. Therefore, after determining the correlation, the encoding operation in the corresponding mode is performed, but for example, it is difficult to encode an image signal obtained by photoelectrically reading an original image without delay.

〔目 的〕〔the purpose〕

本発明は以上の点に鑑みてなされたもので、前述したM
R、MMR笠の一次元符翫)化を高速に、ILつ、符号
−化すべき画像信りの人力に〃延することなく実行可能
とすることを目的とし、詳しくは、符号化ラインの画像
信号のシリアル入力に同期して参照ラインの画像信号を
シリアルに取込むL段と、符号化ラインの画像信号の変
換点間の画)K数を計数し計a値に基づき符号化コード
を発生する第1発生手段と、符号化ラインの画像信号と
参照ラインの画像信号との相関関係を監視し相関関係に
基づき符号化コードを発生する第2発生手段と、上記第
1及び第2発生f段から同時に符号化コードを発生可f
莞な場合所定の優先順に従って出力すべき符号化コード
を選択する選択手段とを有する画像信号の二次元符号化
装置を提供することを目的とする。
The present invention has been made in view of the above points, and the above-mentioned M
The purpose is to make it possible to perform one-dimensional encoding of R and MMR images at high speed without requiring the human power of the image to be encoded. L stage that serially captures the image signal of the reference line in synchronization with the serial input of the signal, and the number of images (images) between the conversion points of the image signal of the encoding line are counted and the encoded code is generated based on the total a value. a first generating means for monitoring the correlation between the image signal of the encoded line and the image signal of the reference line, and generating an encoded code based on the correlation; Encoded codes can be generated simultaneously from stages f
It is an object of the present invention to provide a two-dimensional encoding device for an image signal, which has a selection means for selecting an encoding code to be output according to a predetermined priority order when the encoding code is negative.

〔実施例〕〔Example〕

本発明を適用した符号化回路の構成例を第1図及び第2
図の回路ブロック図で示す0次いで該実施例の動作を前
記第1図、第2図と第3図〜第5図等を用いて説明する
。
Examples of the configuration of an encoding circuit to which the present invention is applied are shown in Figures 1 and 2.
The operation of the embodiment shown in the circuit block diagram in the figure will be explained using FIGS. 1, 2, 3 to 5, etc.

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

次に101はコーディング赤ライン(符号化すべき画像
の主走査方向の1本分)上の実画像の最終画素の次の画
素(盲仮想画素)が必ず変化点となるように、強制的に
変化点をつくり出す回路であり、「仮想変化点発生回路
A」と称する。但し、上記「仮想変化点発生回路A」は
コーディング・ライン上の実画像には何ら変化を与えな
い構造となっている。
Next, 101 is a forced change so that the next pixel (blind virtual pixel) after the last pixel of the real image on the coding red line (one line in the main scanning direction of the image to be encoded) is always the change point. This is a circuit that generates points, and is called a "virtual 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、lO3はライン
・バッファ・メモリBであり、各々独立に書込み又は読
出し動作が可能なRAM(ランダムeアクセヌ・メモリ
)であり、各々コーディング・ライン1本分の2値画像
を記憶できる容量(主走査画素数)を有する。
102 is a line buffer memory A, and lO3 is a line buffer memory B, each of which is a RAM (random access memory) that can write or read independently. It has a capacity (number of main scanning pixels) that can store a value image.

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

111はメモリ・アドレス・カウンタであり、コーディ
ング・ライ〉″の画素数に対応するクロック134をカ
ウントするカウンタである。該カウンタ111のカウン
ト値は、メモリ・アドレス信号135として、ライン争
バッファ・メモリAlO2及びライン・バッファ・メモ
リB102の両方に共通に与えられる。又。
111 is a memory address counter that counts the clock 134 corresponding to the number of pixels of the coding line. Commonly provided to both AlO2 and line buffer memory B102.

メモリーアドレス番カウンタ111はコーディング・ラ
イン1本毎に初期値に戻り、カウント動作を繰返す。従
って、ライン会バッファ・メモリに書込まれた各ライン
の2値画像は、新たに入力するラインの画像信号121
の画素位置に対応づけられて各画素毎に読出される。
The memory address number counter 111 returns to the initial value for each coding line and repeats the counting operation. Therefore, the binary image of each line written to the line buffer memory is the image signal 121 of the newly input line.
is read out for each pixel in association with the pixel position.

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

このセレクタ104により選択的に得られたデータはリ
ファレンス・ライン125として、即ち、コーディング
・ラインの参照用データ(:画像)として、次段に与え
られる。
The data selectively obtained by the 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".
”.

但し、仮想変化点発生回路Bl 05はリファレンスΦ
ライン上の実画像には何ら変化を与えない構造となって
いる。
However, the virtual change point generation circuit Bl 05 is the reference Φ
The structure is such that no change is made to the actual image on the line.

106はリファレンス・ライン上の実画像及び仮想画素
上の変化点となる画素を検出する回路であり、「変化点
検出回路A」と称する。
Reference numeral 106 denotes a circuit that detects 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
The signals indicated at 126 are signals representing the real image and virtual pixels on the reference line, and the signals indicated at 127 represent the real image on the Farenne φ line. and a change point signal on the virtual pixel. The signal indicated at 128 is the coding signal.
These are the real image on the line and the change point signal on the virtual pixel.

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

ここまでに説明した第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図の画像は、説明を簡易にす
る為に、lラインが32画素(主走査画素数=32画素
)から成り、かつ合計2ライン(副走査線数=2本)に
より1ページを構成する極めて簡単な画像とした。
First, in order to simplify the explanation, the image shown in FIG. ) to create an extremely simple image that makes up one page.

第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 encoding the second line 403 in FIG. 4, 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 third line, fourth line, etc. continue, as described above, if the relationship between the reference line and the coding line is sequentially lowered, encoding will continue regardless of the number of sub-scanning lines. 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図において1−38−1は垂直同期信号で副走査方
向の画像の区間、即ち、1ページの画像の入力期間を示
す。136−2は水平回期信号で主走査方向の画像区間
、即ち、lラインの画像の入力期間を示す。134は画
像クロック、121は第4図に例示した符号化すべき画
像の信号波形としての表現であり、黒画素=“lH=l
j H+1、白画素=゛0“=°“L 11として描か
れている。即ち、第3図示の画像のうち、区間T1の画
像が、符号化すべき第4図示の第1ライン402の実画
像であり、区間T2の画像が符号化すべき第4図示の第
2ライン403の実画像である。
In FIG. 3, reference numeral 1-38-1 is a vertical synchronizing signal indicating an image section in the sub-scanning direction, that is, an input period of one page of images. 136-2 is a horizontal periodic signal indicating an image section in the main scanning direction, that is, an input period of an l-line image. 134 is an image clock, 121 is a signal waveform representation of the image to be encoded illustrated in FIG. 4, and black pixel = "lH = l
j H+1, white pixel=゛0"=°"L11. That is, among the images shown in the third figure, the image in section T1 is the actual image in the first line 402 shown in the fourth figure to be encoded, and the image in section T2 is the real image in the second line 403 shown in the fourth figure to be encoded. This is a real image.

又、第4図示の仮想ライン401は実際の紙面等に印刷
されるような画像に於いては、紙面の上方部のり・わば
余白、或いは紙面外に相当するもので、MMR法に於い
ては、余白(1ラインの画素が全て白画素)ラインと仮
想するよう規定されている。従って、前記第4図示の仮
想ライン401は第3図示の画像信号121上には現れ
ていない。
Furthermore, in an image printed on actual paper, the virtual line 401 shown in the fourth figure corresponds to the upper part of the paper, a blank space, or the outside of 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 serving as the reference φ line and the first line 402 serving as the coding.

まず、第5図示の第1ライン402の画像が仮想変化点
発生回路A101に与えられると第3図の122(コー
ディング・ライン)に示す様に、仮想変化点(仮想画素
)302が付加された画像となる。即ち区間T1におい
て実画像は不変であるが図でも示すように第1ラインの
最終画素301とその次の画素302は相反する色(:
白→黒)となっている、又仮想変化点(仮想画素)30
2に続く仮想の数画素は後述する理由により変化点とな
らないように仮想変化点(仮想画素)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), and virtual change point (virtual pixel) 30
Several virtual pixels following 2 are held 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図に見るように符号化すべき画像信号として、変
化点検出回路Bl 07に入力されるとともに、ライン
・バッファメモリAlO2及び、ライン・バッファメモ
リB103へ書込用データとして与えられる。
Now, the coding fist line signal 122 in FIG.
As shown in FIG. 1, is input to the change point detection circuit B107 as an image signal to be encoded, and is also given as write data to the line buffer memory AlO2 and line buffer memory B103.

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

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

第3図の125は該リファレンス・ラインのデータ信号
波形を示しており1区間Tl中“O”となっている、こ
れは、即ち、第5図に示した如く仮想ライン401を°
°全白′°のリファレンス・ラインとして回路上に得た
事である。
Reference numeral 125 in FIG. 3 indicates the data signal waveform of the reference line, which is "O" during one section Tl.
It was obtained on the circuit as a completely white reference line.

コーディング舎ライン122は前述の様に変化点検出回
路B107にも与えられる。該検出回路B107は与え
られたデータ入力の内の変化点(画素)を検出し、該変
化点画素を“1パとじて出力し、変化点とならない画素
をすべて“0”として出力する。第1図の128は該出
力である。
The coding line 122 is also applied to the change point detection circuit B107 as described above. The detection circuit B107 detects a change point (pixel) in the given data input, outputs the change point pixel as "1 pixel", and outputs all pixels that are not a change point as "0". 128 in FIG. 1 is the output.

仮想変化点発生回路B105及び変化点検出回路A10
6はその名称の通り、前述したコーディング・ライン1
22に対して動作する同一名称の回路101及−び10
7の動作をラインバックアメモリから読出されたリファ
レンス・ライン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 10 with the same name operating on 22
7 is performed on the reference line 125 read from the linebacker memory.

結局リファレンスライン125の信号は仮想変化点発生
回路B105により第3図の126の如く、最終画素の
次に最終画素と異なる色の仮想画素の付加された信号に
変換される。
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 the last pixel is added next to the last 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 the parallel 4-bit output of the corresponding jitter, 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.
The coffin can be determined by 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-131-4 shows the output signal waveforms of the B register 109 and the C register 110, that is, the 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として入力される時には、ラインバッ
ファ・メモリAt 02が書込みモードとなり、ライン
・バッファ・メモリB103が、読出しモードとなる。
To encode the second line, the second line 403 in FIG.
When input as the image signal 121, the line buffer memory At02 is in the write mode, and the line buffer memory B103 is in the read mode.

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

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

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

ao=符号化の起点となる=−ディング・ライン上の画
素。
ao = pixel on the =-ding line that serves as the starting point for encoding.

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

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.

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

次に、202はB゛レジヌタあり、第2図の222で示
す変化点信号b1を入力データとして、クロック134
によって順次シフト・インされる、3ビツトのシフト・
レジスタである。
Next, 202 has a B register, and the clock 134 uses the changing point signal b1 shown at 222 in FIG. 2 as input data.
The 3-bit shift signal is sequentially shifted in 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 over three clock periods, and the position of the change point signal b1 relative to the pixel of interest can be determined.

203はランレングス・カウンタであり、通常、画素a
Oから画素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 O to pixel a1 or from pixel a1 to pixel a2, and has a 12-bit output.
This counter can count up to 559.

ff’、2図の228で示す信号はランレングヌ争カウ
ンタ203のカウント値出力のうち下位6ビツトである
。又、第2図の227で示す信号はランレングス・カウ
ンタ203のカウント値出力のうち上位6ビツトである
。
ff', the signal indicated by 228 in FIG. 2 is the lower 6 bits of the count value output of the run-length contention counter 203. Further, the signal indicated by 227 in FIG. 2 is the upper 6 bits of the count value output from the run-length counter 203.

204はROMテーブルAであり、主として、バスモー
ド(Pモード)のコード、及ヒ垂直モード(Vモード)
のコードと各々のコード“のビット数(コード長)とを
記憶しており、与えられた入力に応じて該コード及びコ
ード長を並列に出力できるROM (リードオンリメモ
リ)である。
204 is a ROM table A, which mainly stores bus mode (P mode) codes, and vertical mode (V mode) codes.
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 is a ROM table C, which is a ROM that stores the H mode termination code and code length, 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法の符号化規則をもう少し、述べておく
、この符号化法において前述した様に定義された記号a
o 、 al + A2はコーディングOライン上に有
り、又、同じく記号b1及びb2はリファレンス・ライ
ン上に有る。そして、これらの各記号aO、al 、A
2(7)グループとbl。
Here, I will explain the encoding rules of the MMR method a little more. In this encoding method, the symbol a defined as described above is
o, al + A2 are on the coding O line, and likewise symbols b1 and b2 are on the reference line. And each of these symbols aO, al, A
2(7) Group and bl.

b2のグループの相対位置(距gI)により、符号化モ
ードを次の3つのモードのうちから一義的に選択し、符
号化するよう規定されている。
Based on the relative position (distance gI) 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モード) la1bxl≦3の時(発生コードは距離ごとに違う計
7種の発生コード) (3)水平モード(Hモード) 上記(1)(’2)以外の時(ラン・レングス・コード
表に従う) 形式: )i+M(a□al)+M(a1a2)ここで
、HはHモードを示すコード、M (ao a 1)は
白又は黒の1aoaxlのランレングス・コード、M(
ala2)は黒又は白の1a1a210ランレングスΦ
コードである。
(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 la 1 b・Follow the length code table) Format: )i+M(a□al)+M(a1a2) Here, H is the code indicating H mode, M (ao a 1) is the run length code of white or black 1aoaxl, M (
ala2) is black or white 1a1a210 run length Φ
It is a code.

但し、上記(1)、(2)、(3)のうち2モ一ド以上
が同時に満たされた場合には、 (1)P%−ド> (2)V%−ド> (3)H%−ド
の順位で優先される。
However, if two or more of the above (1), (2), and (3) are satisfied at the same time, (1) P%-do > (2) V%-do > (3) H 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に示す時刻のt□
を符号化開始時刻とする。
First, in this embodiment, at the time t□ shown at 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時刻toでは、Cレジスタ110.Bレジスタ1
09及びAレジスタ108の各出力はリファレンス・ラ
イン及びコーディング拳ラインの先頭画素−とその先頭
画素に統〈3画素の状態を並列出力している。又、aO
は第3図の221のAO(a□)に示すように初期値“
O゛(白画素=仮−想)に設定されている。
That is, at time 1 to, C register 110. B register 1
The respective outputs of the 09 and A registers 108 output the first pixel of the reference line and the coding line and the states of three pixels in parallel to the first pixel. Also, aO
is the initial value " as shown in 221 AO (a□) in Figure 3.
It is set to O゛ (white pixel = virtual).

ランレンゲ−カウンタ203は初期値のOから時刻to
以降画像クロック134のカウントを開始する。
The run range counter 203 starts from the initial value O to the time to
Thereafter, 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.

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

次に時刻t2に進むと、第3図の信号129−4に°1
°°が立っている。これは即ち、第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を見ると、いづれにも゛1パが立っていない。この事
は時刻t2から3時刻以内には変化点b1が無い事を意
味する。又、記号検出回路201はblを検出した時に
はそのblをB″シフトレジスタ202にシフト・イン
レ3時刻の間、消滅しないようにしている。
At this time t2, 130-1 to 130- in FIG.
When I look at number 4, none of them have 1 pa. This means that there is no change point b1 within three times from time t2. Further, when the symbol detection circuit 201 detects bl, the symbol detection circuit 201 shifts the bl to the B'' shift register 202 so that it does not disappear for a period of time 3.

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

これらにより、本ケースでは変化点画素a1の左右3画
素以内に変化点画素b1が無い事及び起点aoからal
までの間にもblが無いこと(従ってb2もい無)が判
定出来る。従って、時刻t2でalが検出されたが、P
モード(b2が既に検出されていなければならない)及
びVモード(Iatbtl<3が条件)の条件を満さな
い事が決定し、従ってHモードとなる。
Due to these, in this case, there is no change point pixel b1 within 3 pixels on the left and right of change point pixel a1, and
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 V mode (Iatbtl<3 is the condition) are not satisfied, and therefore the mode becomes H mode.

この時、ランレングス争カウンタ203の値は第3図3
22にも示すようにaQからalの画素数を示し、“2
゛′である。又ランレングスの色は初期セットした°l
 OII =白のままである。従ってランレングスカウ
ンタ203の出力228等によりテンレングスの値及び
色等がROMテーブルC206に与えられ、該当するコ
ード及びコード長がROM206出力される。このケー
スでは“白ラン2′′のコードが出力される。即ちM 
(aoal)=白2である。
At this time, the value of the run length contest counter 203 is as shown in FIG.
As shown in 22, the number of pixels from aQ to al is shown, and “2
It is ゛′. Also, the run length color is initially set °l
OII = remains white. Therefore, the ten-length value, color, etc. are given to the ROM table C206 by the output 228 of the run-length counter 203, and the corresponding code and code length are output from the ROM 206. In this case, a code of “white run 2'' is output, that is, M
(aoal)=White 2.

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

次いでランレングス争カウンタ203を初期値1 (O
ではない点に注目)にセットし直し。
Next, the run length contest counter 203 is set to an initial value of 1 (O
Note that this is not the case).

画素a1から画素a2のカウントに移る。但し画素a1
、即ち、時刻t2では初期値のセット準備をするのみで
、カウンタに初期値がセットされカウントを進めるのは
次の時刻t3からである。又、この時刻t3からAOの
色も反転させる。(時刻t2=“0”→時刻t3=“’
 l ” ) 、以後時刻1nが進むと結局時刻t4に
於いて、Aレジスタ108のA4出力に“1′”が立ち
変化点が現われる。該変化点は記号検出回路201が変
化点a1がすでに通過し検出済である事を記憶している
(Fa1=1となっている)ので、記号検出回路201
によりa2・と判定される。尚、このa2の検出状態は
Fa2として記憶される。さて、時刻t4でランレング
ス・カウンタ203の値は2でありAO=°“1゛=黒
となっている。又既に時刻t2に於いて、Hモードであ
る事が確定しているので、a2の検出された時には、リ
ファレンスラインの状態、即ち、第3図の131−1〜
131−4及び第3図130−1〜130−4等の参照
は不要であ一す、木ケースでは無いが、仮にリファレン
ス−ライン上にbl、b2等があっても、無視するよう
に制御される。
The count moves from pixel a1 to pixel a2. However, pixel a1
That is, at time t2, only preparations are made to set the initial value, and the initial value is set in the counter and the count advances from the next time t3. Furthermore, from this time t3, the color of AO is also inverted. (Time t2="0" → Time t3="'
l''), and thereafter, as time 1n advances, a change point appears at time t4, when the A4 output of the A register 108 becomes "1'".The symbol detection circuit 201 detects that the change point a1 has already passed. The symbol detection circuit 201 remembers that it has been detected (Fa1=1).
Therefore, it is determined that a2. Note that this detection state of a2 is stored as Fa2. Now, at time t4, the value of the run-length counter 203 is 2, and AO=°"1"=black.Also, since it has already been determined that the mode is H mode at time t2, a2 is detected, the state of the reference line, that is, 131-1 to 131-1 in Fig. 3 is detected.
There is no need to refer to 131-4 and 130-1 to 130-4 in Fig. 3. Although it is not a wooden case, even if there are bl, b2, etc. on the reference line, it is controlled to be ignored. be done.

以上により結局、M(ao、ax)の時と同様にして、 M (a 1.a 2) =黒°“21− コード及び
コード長が出力さ゛れる。この際にはM(aO,al)
の時とは異なりHモードを示すコード“001°′は付
加されないよう制御される。
As a result of the above, the code and code length of M (a 1. a 2) = black ° "21-" are output in the same way as for M (ao, ax). In this case, M (aO, al)
Unlike in the case of , the code "001°" indicating the H mode is controlled not to be 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は次のモードの起点aO
と見なされる。
Then, the change point a2 at time t4 is the starting point aO 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で、この時、記号f1(=at)が検出されるが
、リフレンスライン上の2画素後に変化点ド1が有る事
が時刻t30において、第3図のBレジスタ109の出
力130−2及びCレジスタ110の出力131−2等
から判断される。従って1atbtl<3の条件が満さ
れ、Pモード(b2が必要)ではないので。
Furthermore, at time t30 in FIG. 3, the run-length counter value is 9, and at this time, the symbol f1 (=at) is detected, but there is a change point do1 after two pixels on the reference line. At time t30, it is determined from the output 130-2 of the B register 109, the output 131-2 of the C register 110, etc. in FIG. Therefore, the condition 1atbtl<3 is satisfied, and it is not P mode (b2 is required).

定義によりVモードと決定されVL  (2)コード(
alがblの左2画素の位置にある)が出力される。
By definition, it is determined to be V mode and VL (2) Code (
(al is located two pixels to the left of bl) is output.

この際、Hモードのランレングス・白9のコードの発生
し得る状態にあったわけであるが、先に述べた各モード
間の優先度の定義に従い、■モードが有効コードとなり
、Hモードのコードは無効となる。ざらにVモードのコ
ードが発生した事により、ランレングスカウンタ203
の該時刻t 30までのカウント値はクリアとなり、新
たに1にプリセットし直されるよう制御される。又、■
モードのコードが発生した後では起点aO記号の色は反
転される。(但し、■モード・コードの発生はa1記号
の変化点検出と同時刻(時刻t30)である、)また、
ここまでに説明していないが、記号b1が記号a1より
先の検出される場合には、記号b1の検出信号はBルジ
スタ202への入力信号として、該レジスタ内へシフト
インされ以降3時刻の間、Bルジスタ202の出力、B
5→B6→B7の順でシフトしていき、それ以後消滅す
る。又、記号b1がすでにBレジスタ109のB4出力
を通過してもまだコードが発生しない時には、該事実を
記憶検出回路201の出力Fblで示すように記憶する
。
At this time, the H mode run length/white 9 code could have occurred, but according to the definition of priority between each mode mentioned earlier, the ■ mode became the valid code, and the H mode code 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. Also, ■
After the mode code is generated, the color of the origin aO 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 not explained so far, when symbol b1 is detected before symbol a1, the detection signal of symbol b1 is shifted into the register as an input signal to the B register 202, and the detection signal of symbol b1 is shifted into the register as an input signal to the B register 202. , the output of the B register 202, B
It shifts in the order of 5 → B6 → B7, and disappears after that. Further, when the symbol b1 has already passed the B4 output of the B register 109 but no code is generated yet, this fact 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のカウント値をデコードすること
によって得た1ラインの最終画素の位置(タイミング)
を示す信号である。即ち、信号701の発生時刻にフリ
ップフロップ702をコーディングラインの最終画素と
同じ色にクロック134に同期してセットし、該時刻よ
り後、即ち水平同期信号136−2の減勢後ではフリッ
プフロップ702のQ出力を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 in one 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 Assume that the Q output of is 122 signals.

該時刻以前部ち、水平同期信号136−2の出力中は画
像121を122信号に出すように成すものである。
Before this time, while the horizontal synchronizing signal 136-2 is being output, the image 121 is output as the 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の構成を代表して示す0図中、1002はフ
リップフロップ、1003は排他的オアゲート、100
4はインバータである。
Change point detection circuit A106 and change point detection circuit B in Fig. 1
107 is a circuit of the same type, and FIG. 10 shows a typical configuration of the change point detection circuit B107.
4 is an inverter.

即ち、第8図のタイミング・チャートに示すようにクロ
ック134に同期したフリップ・フロップ1002の入
力と出力の排他的論理和(Exclusive  OR
)を取る事により隣り合った画素の色が異なる事を検知
し、変化点信号としている。
That is, as shown in the timing chart of FIG.
), 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内にある0図中、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.
In the 0 diagram in 01, 1102 is a flip-flop, 1
104 is an AND gate, and 1105 is an inverter.

さて、第11図における、各部の番号は第1図等の番号
と符合している。第11図の1101で示す信号はフリ
ップフロップ1102を初期状態に戻す(即ちQ出力;
“’o”)か、Q出力=゛1パにセットされるのを禁止
する制御信号であり、通常時には°“1”のレベルにあ
る。
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 "'o") or Q output = "1", and is normally at the "1" level.

RESET信号1103も同様である。ここにおいて変
化点A4 (129−4信号)が最初に到来するとA4
=゛1”となる、この場合、フリップフロップ1102
のQ出力=“1”及び制御信号1101=”1”である
から、al=“°1′°が出力され、記号a1が検出さ
れる。このa1検出信号によりフリップフロップ110
2がセットされQ出力=“1″となり、alが既に検出
された事を記憶する(即ちQ出力= F a 1 = 
” 1 ” ) 、この状態で次にA4=“1パとなる
とa2=゛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, the flip-flop 1102
Since Q output = "1" and control signal 1101 = "1", al = "°1'° is output and symbol a1 is detected. This a1 detection signal causes flip-flop 110
2 is set, Q output = “1”, and it is remembered that al has already been detected (that is, Q output = F a 1 =
"1"), and in this state, when A4="1", a2=1°, and symbol a2 is detected.

次に、記号bl等を検出する為の回路を第12図に示す
0図中、1201は排他的オアゲート、j202.12
03はフリップフロップ、1204はアンドゲート、1
205はインバータである。各部の番号の符合は第11
図の場合と同様である。但し、blとなり得るのはaQ
と反対の色という条件の為排他的オアゲー)1201で
リファレンスラインの変化とa。
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.
Exclusive or game due to the condition of opposite color) Change of reference line at 1201 and a.

信号との排他的論理和を取った後の信号を使用する回路
となっている。尚、第12図示の回路は第2図の記号検
出回路201に含まれる。
The circuit uses the signal obtained by exclusive ORing with the signal. 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−t(io進数の2559)である、又、該カウン
タ203はプリセット機能及び、クリア機能等を有する
もので、具体的には米国・フェア・チャイルド社製、I
C,、型名74F163等により構成し得るものである
。
A specific configuration of the run length counter 203 shown in FIG. 2 is shown in FIG. 13. First, as mentioned above, the run length counter 203 is a 12-bit binary counter, and the counting range of the counter 203 is from 0 (decimal) to 25
60-t (2559 in io system), and the counter 203 has a preset function, a clear function, etc.
C., type name 74F163, etc.

更に、該カウンタ203のカウント値出力が10進数2
559である本を検出し、MKI信号を発生する回路1
301及び該出力の下位6ビツトをデコードした値が1
0進数“63″である事を検出し、M、に2信号を発生
する回路1302を備えている。
Furthermore, the count value output of the counter 203 is decimal number 2.
Circuit 1 that detects a book that is 559 and generates an 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 two signals at M.

更に、プリセット機能によりセットする値として“O”
 (10進数)又は°°1°′ (10進数)を選択的
にプリセットできる構造となっている。
Furthermore, “O” is set as a value using the preset function.
(decimal number) or °°1°' (decimal number) can be selectively preset.

ランレングスφカウンタ203の動き方について説明す
る。まず、各コーディング・ライン毎に画像左端外の位
置に於いて初期値“o”にプリセット(又はクリア)さ
れる0次に画像領域内では画素ごとに順次カウントを進
めるが下記の値又は3状態に於いてはカウンタ203は
プリセット機能により“1”に戻される。
The manner in which the run length φ counter 203 moves will be explained. First, for each coding line, the initial value "o" is preset (or cleared) at a position outside the left edge of the image. Next, within the image area, the count is sequentially advanced pixel by pixel, and the following values or three states are set: At this time, the counter 203 is returned to "1" by the preset function.

即ち、 (1)変化点a1又はa2が検出された時。That is, (1) When the change point a1 or a2 is detected.

([2)カウント値が2559に到達した時。([2) When the count value reaches 2559.

(3)PモードΦコード又はVモード・コードが発生し
た時、 但し、符号化法の規則により、コーディング・ライン最
右端外の仮想画素上で変化点a1をa2とする場合には
、alの検出時にカウンタ値を“O11に戻す事とする
。
(3) When a P-mode Φ code or a V-mode code occurs, however, if the changing point a1 is set to a2 on a virtual pixel outside the rightmost end of the coding line according to the rules of the encoding method, At the time of detection, the counter value is returned to "O11".

次に第2図のROMテーブルA204の構成について述
べる。lROMテーブル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 1ROM table A204 is used to generate a total of eight types of codes, P mode and V mode, and their 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 line and the reference line, and especially when the changing point b2 on the reference line is at 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モードのコード及びコード長を発
生する場合を例示しておく0図中、1409はインバー
タ、1410はタイミング回路、1411はナントゲー
ト、1412はノアゲートである。即ち第14図の14
01で示す信号は第2図の記号検出回路201に於いて
リファレンス・ライン上に変化点b2が検出された事を
示す信号である。
The specific contents of the ROM table are too redundant here, so as an example, Figure 14 shows a case where a P mode code and code length are generated by a logic circuit equivalent to a ROM. Among them, 1409 is an inverter, 1410 is a timing circuit, 1411 is a Nant gate, and 1412 is a NOR gate. That is, 14 in Figure 14.
The signal indicated by 01 is a signal indicating that the change point b2 has been detected on the reference line in the symbol detection circuit 201 of FIG.

即ち第1図のBレジスタ109のB4出力にb2として
の変化点がある事を意味するものである。又、第14図
の1402で示すa1信号は同様にして第1図のAレジ
スタ108のA4出力としてのa1変化点である。又第
14図の1403で示すFal信号は現時刻までに第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 FAL 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モード
であると判定する事を意味している。即ち、起点aO以
後、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 aO 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モードのコードが発生し
た事を示す信号である0以上、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, which is 0 or more, which is a method for determining P mode, but the same method can 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 as input data to the ROM table A204 in FIG. 2 based on the method described above 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図(7)1502人力はランレングスの色を
指定する信号で本例で゛は白=O1黒=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. In addition, 1502 (manual power) in FIG. 15 (7) is a signal specifying the color of the run length, and in this example, "white=O1 black=1".

また1503人力はHモードを示すコード(=OO1)
を付加するか、不要かを指定する信号で本例では要=1
、不要−〇とする。即ち、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 - 〇. 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十〇の夫々の読出しを制御するアドレス
入力であり、これら入力にパルスを入力することにより
、対応したラインの区切りコードが読゛出される。又、
1505は入力で指定された番地のコード出力であり1
506は同じく該ニードのコード長である。
Reference numeral 1504 is an enable signal that 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 EOL 10, 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 cord length of the needle.

第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 coat generation method in this example,
ROM table 204 and 205 or 206 shown in the second diagram
etc., P mode.

■モード、Hモードの各々のニードが最終的に発生すべ
きコードと決定される前段階に於し・て、同時に2つ以
上ROMテーブルより出力される場合がある。しかし2
以上のコードは前述したように債先度が定義されている
。第17図は紘定義に従って、一義的に発生すべきコー
ドを決定する為の回路である。
In the stage before each of the needs of mode (1) and H mode is finally determined as the code to be generated, two or more may be output from the ROM table at the same time. But 2
As mentioned above, the above codes are defined by bond priority. FIG. 17 shows a circuit for determining the code to be uniquely generated according to Hiro's definition.

即ち、Pモード、■モード及びHモードのコードが同時
に発生し得る場合には、前述の如 く 、 Pモード〉■モード〉Hモード 順位により、優先権を獲得したモードのニードが最終的
に発生すべきニードとして決定され、他のモードのニー
ドは無効となり1発生コードとならない。
In other words, if P mode, ■ mode, and H mode codes can occur at the same time, the need for the mode that has acquired priority will eventually occur based on the order of P mode, ■ mode, and H mode, as described above. Needs in other modes are invalidated and do not become a 1-occurrence code.

尚、信号1708は本符号化回路をMR法、即ち、−次
元符号化に用いるか、MMR又はMRの二次元符号化に
用いるかを選択するためのモード信号であり、−次元符
号化を実行する場合にはLレベル、一方、二次元符号化
を実行する場合にはHレベルとなる。
The signal 1708 is a mode signal for selecting whether to use the present encoding circuit for the MR method, that is, -dimensional encoding, or for MMR or MR two-dimensional encoding, and executes -dimensional encoding. When performing two-dimensional encoding, the level is L. On the other hand, when two-dimensional encoding is performed, the level is H.

従って、−次元符号化を実行する場合には、Pモードー
−ド及びVモードー−ドの発生は阻止され、常にHモー
ドー−ド即ちランレングスを表わすコードのみが有効と
される。
Therefore, when performing -dimensional encoding, the generation of P mode and V mode is prevented, and only the H mode, ie, the code representing run length, is 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の働きを一例とし
て、メイクアップコードが発生するランレングスが長い
場合、例えばランレングス=2972で説明する。この
時、符号化の規定により次のように2つのメイクアップ
コード及び1つのターミネイテイングニードの合計3つ
のランレングスコードに分割して出力される。
Taking the functions of the 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, for example, with 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 needle, and output as follows.

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

そして、ランレングス・カウンタ203の値が2559
(即ち63+64XNの式でN=39)になった時刻で
変化点a1が検出されてし・なければ現在カウント中の
ランレングスが2560以上になる事が予知できるので
、前記同様、ROMテーブルB2O5からランレングス
2560のコード及びコード長を読み出してラッチA2
07へ一時記憶する。また、同時にラッチB2O3の記
憶法内容を一旦無効とする。又、ランレングスカウンタ
203のカウント値は初期値1に戻される。続いてカウ
ントが進むにつれて再び前述の63+64XNの式毎に
同様にラッチE208へのメイクアップコード等の記憶
が再開される。
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 run length 2560 and latch A2.
Temporarily stored in 07. At the same time, the mnemonic contents of latch B2O3 are temporarily invalidated. Further, the count value of the run length counter 203 is returned to the initial value 1. Subsequently, as the count progresses, storage of the make-up code and the like in the latch E208 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及びラッチB2O3の内容は無効とされ、又ラッチ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 B2O3 are invalidated, and the contents of latch C
209 instead of the above-mentioned terminating code.
Mode code is latched as valid code.

上記メイクアップコードlおよびメイクアップコード2
等の発生、記憶制御の回路を第18図に示し、この回路
はタイミング回路112に含まれるものである。この回
路のタイミングチャート(:ランレングスが前述の如<
 2972であった場合)を第19図に示す0図中、1
801.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 as described above)
2972) is shown in Figure 19.
801 and 1802 are flip-flops, 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有信号が両方ハ
イレベルとなる。このMKI有信号とMK2信号のレベ
ルによりランレングスを表わすコードがターミネートニ
ードのみであるか、ターミネートニードとメークアップ
コードの組合せであるか、又、そのメークアップコード
の数が1であるか2であるかを判別できる。従って、H
モードにおいてコードを発生する場合、このMKI有信
号とMK2有信号とのレベルをバッキング回路211は
判別し、3個のラッチA、E、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. Depending on the levels of the MKI presence signal and MK2 signal, it is possible to determine whether the code representing the run length is only a termination needle or a combination of termination needle and 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, E, and C, and outputs the latch data. Take in.

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

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

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

Cの内容を次段回路へ送り出す順序はラッチA207>
ラッチB2O3>ラッチC209(: 2 t oバッ
ファ)の順を崩さないよう制御される(内容が無効の時
は省略、無視する)。
The order in which the contents of C are sent to the next stage circuit is latch A207>
It is controlled so as not to disturb the order of latch B2O3>latch C209 (: 2 to buffer) (if the contents are invalid, it is omitted or ignored).

ラッチC209の内容を一旦バツファメモリ210に格
納するのは、符号化モードの確定された次の時刻から次
の符号化動作が開始し、ROMテーブルより次の符号化
データがラッチC209に数クロック(最低エフロツク
)で入力されることがある。従って、モードの確定後は
次の符号化データをラッチ可能な様にラッチC209の
内容はバッファメモリ210に送られ、バッファメモリ
210よりタイミングを取って後段に出力される。
The reason why the contents of latch C209 are temporarily stored in 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 latch C209 from the ROM table for several clocks (minimum (Flock) may be entered. 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 at a certain 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はリファレンスライン、2
002はコーディングラインである。又、2003はコ
ーディングラインの最終画素、2004は仮想変化点(
画素)である。
FIG. 20 illustrates the above case. That is,
In Figure 20, 2001 is the reference line, 2
002 is a coding line. Also, 2003 is the final pixel of the coding line, and 2004 is the virtual change point (
pixels).

さて第20図において、左方からの符号化の結果、起点
aQが図の位置になったとすると、次に発生すべきニー
ドは第21図の如く。
Now, in FIG. 20, if it is assumed that the starting point aQ is at the position shown in the figure as a result of encoding from the left, the next need to be generated is as shown in FIG. 21.

〔Hモードコード+白12ターミネイトニード十黒0タ
ーミネイトコード〕である。ここで、第21図(1)の
コードは変化点a1の時刻に前述した手段により1つの
ニードとして扱う事ができ問題ない、しかし、第21図
(2)のニードは本来変化点a2が変化点a1と別の時
刻に来た時、変化点a2の時刻に於いて発生するべきニ
ードである。だが本ケースの場合、明らかに変化点a2
として記号検出回路201等から検知されない。
[H mode code + White 12 termination need, Jukuro 0 termination code]. Here, the code in Figure 21 (1) can be treated as one need at the time of change point a1 by the above-mentioned means, and there is no problem. However, the need in Figure 21 (2) originally changed at change point a2. This is a need that should occur at the time of the change point a2 when the point a1 is different from the time. However, in this case, it is clear that the change point a2
As such, it is not detected by the symbol detection circuit 201 or the like.

そこで本ケースの場合、記号検出回路201に設けた第
22図の回路により以下の処理を行なう、第23図は本
回路動作のタイミングチャートである。第22図に於い
て2201は画像が仮想領域に入ったことを示す信号(
水平回期°信号の反転信号)、2202はa1変化点検
出信号、2203はHモードに於いて、第1番目のター
ミネイトコードの発生までを示す信号である。上記信号
を監視し、アンドゲート2207により該2201〜2
203信号の論理積をとることにより第20図の状態を
検知し1.2204−1信号をつくり(即ち、時刻はa
lと同じ)、まず、第20図(1)のコードを前述の方
法で出力する。次にランレングヌカウンタをOにクリア
する等所定の処理し、第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.
By taking the AND of the 203 signals, the state shown in Figure 20 is detected and the 1.2204-1 signal is created (i.e., the time is a
1), 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 O is performed, and the 2204-1 signal in Fig. 22 is changed to D.
The black 0 in FIG. 21 (2) is generated by the 2205-1 signal delayed by one time in the delay circuit 2208 consisting of a flip-flop.
generates the 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 successive code (the number of bits of the code) is not constant, however, the longest one is Even if the H mode code (=001) is added, the number of bits is 16 bits).This is a circuit that sequentially collects data in units of 16 bits, and in this embodiment, each 16 bits are passed to the next external circuit in parallel. It is.

第2図の238で示す信号はバッキング回路211によ
り16ビツトにまとめたニードであり、239で示す信
号は該事実を次段の外部回路へ報知する為の信号である
。尚、バッキング回路211はコード長加算回路、ビッ
トシフタ。
The signal 238 in FIG. 2 is a need compiled into 16 bits by the backing circuit 211, and the signal 239 is a signal for notifying 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.

δ′にlA″−ジの終了を示すRTCI’、Re t 
urn  To  Control)信号ニツイテ述べ
る。MMR法の場合RTCコード=EOLコード×2回
である。即ちRTC信号は(OO0000000001
)X2=00000000ooot 、ooooooo
ooooiで表現される。又未実施例においては、前述
してきたように1クロック時間で16ビツトのコードま
で出力できる構造となっている。従ってRTC信号を出
力するには第3図示の垂直同期信号136−1等を監視
する事により、lA″−ジの終りを検知し、2クロック
時間([2時刻)のバルンを発生させ、このバルンを(
:第15図に示した)ROMテーブルC206のアドレ
ス信号1507として与える事により、ROMテーブル
の相当する番地にEOLコード及びコード長を書込んで
おき、出力させればRTCコードを前述の画像に対する
コードに続いて得る事ができる。
RTCI' indicating the end of lA''-di in δ', Re t
urn to control) signal details. In the case of the MMR method, RTC code=EOL code×2 times. That is, the RTC signal is (OO0000000001
)X2=00000000ooot, ooooooo
It is expressed as oooooi. Furthermore, in the unembodied embodiment, the structure is such that up to 16-bit code can be output in one clock time, as described above. Therefore, in order to output the RTC signal, by monitoring the vertical synchronization signal 136-1 shown in Figure 3, etc., the end of lA''-ji is detected, a balloon of 2 clock times ([2 times)] is generated, and this Ballun (
: Shown in FIG. 15) By giving the EOL code and code length as the address signal 1507 of the ROM table C206, write the EOL code and code length in the corresponding address of the ROM table, and output the RTC code as the code for the above-mentioned image. You can get it by following.

次に前述した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法の場合は (X)を次元ラインは、MH法と同じ (2)2次元ラインは、MMR法と同じ(3)ラインの
区切りは EOL+1=OOO0000000011又は EOL+0=0000000000010(4)RTC
の違い (5)Kパラメータにより1次元ラインと2次元ライン
が混在する。
That is, (1) the 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) the EOL code is inserted for each line in the MH method (4) Differences in RTC and (X) in the case of the MR method Dimension 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 = OOO0000000011 or EOL + 0 = 0000000000010 (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図にライン・区切り・コードの違し・を制御
する回路例を示す8図中、2407はラインカウンタ、
2408はナントゲート、2409はアンドゲート、2
410はインバータである。即ち、第24図の2401
は第3図の320に示すt−1時刻のパルス信号で、各
コーディングライン毎に繰返される又該時刻t−1には
画像符号化に伴なう、コードは発生しない。このt−1
時刻のパルス信号はアドレヌカウンタ111の値をデコ
ードすることにより得る。又、2402及び2403は
符号化法を指定するCpu等、本実施例回路外からの符
号化法選択信号である。又136一2信号は第3図の1
36−2信号と対応し、従って、Kilカウンタ240
7は、MR法のにバラ−メータの進み方を信号136−
2をカウントしライン参カウンタとして、監視する。
First, Figure 24 shows an example of a circuit that controls lines, breaks, and code differences. In Figure 8, 2407 is a line counter;
2408 is Nante gate, 2409 is AND gate, 2
410 is an inverter. That is, 2401 in FIG.
is a pulse signal at time t-1 shown at 320 in FIG. 3, which is repeated for each coding line, and no code is generated at time t-1 due to image encoding. This t-1
The time pulse signal is obtained by decoding the value of the address counter 111. Further, 2402 and 2403 are encoding method selection signals from outside the circuit of this embodiment, such as a CPU, which specifies the encoding method. Also, the 136-2 signal is 1 in Figure 3.
36-2 signal and therefore the Kil counter 240
7 is a signal 136- indicating the progress of the variable meter in the MR method.
2 is counted and monitored as a line reference counter.

第24図の論理により得られた信号2404〜2406
を第2図のROMテーブルC206のアドレス入力(:
第15図の1507〜1508人力)となし、各々特定
の番地を指定する様になし、該特定の番地に必要なコー
ド及びコード長を記憶させたものを出力させる様になす
事により、所望のライン・区切り・コードを得る。
Signals 2404 to 2406 obtained by the logic in FIG.
Input the address of ROM table C206 in Figure 2 (:
1507 to 1508 in Figure 15), each specifying a specific address, and outputting the code and code length required at the specific address, the desired line can be set.・Get the delimiter/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モード・コード(o o B
 も不要となるよう制御するがこれも前述のROMテー
ブルC206のアドレス信号A7をOとすることにより
達成する。
Also, in the MH method, the H mode code (o o B
This is also achieved by setting the address signal A7 of the ROM table C206 to O.

ヌRTCにおけるEOLの数の違いはROMテーブルC
206のに印加するパルス数をモードに応じて異ならせ
ることにより達成する。
The difference in the number of EOLs in NuRTC 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 example, as shown in Fig. 3 (] image)
Although it operates in synchronization with the clock 134, it is not related to the interval (period) of the clock. Therefore, as shown in FIG. 25, a pause period can be easily provided between images or lines by masking the clock 134 with an image gate signal.

即ち、第25図に於て2501は画像ゲート信号で“0
パレベ、ルの間、動作を休止させる事を示す信号である
。又2502は前記ゲート信号2501とクロック13
4との論理積により作り出された歯抜けのクロックであ
り、該クロック2502を前述のクロック134に代っ
て本実施例の実質の内部回路へ送れば、本実施例はクロ
ック信号によってのみ状態が遷移し得るものであるから
第25図斜線部は明らかに休止状態となる。
That is, in FIG. 25, 2501 is the image gate signal "0".
This is a signal indicating that the operation is suspended during the pare level. Further, 2502 is the gate signal 2501 and the clock 13.
2502, and if this clock 2502 is sent to the actual internal circuit of this embodiment instead of the aforementioned clock 134, the state of this embodiment can be changed only by the clock signal. Since the state can be changed, the shaded area in FIG. 25 is clearly in a rest state.

この休止制御により、例えば、符号化すべき画像信号の
発生源の画像信号の出力速度等が、符号化回路の動作に
制限される事がない。ヌ。
With this pause control, for example, the output speed of the image signal from the source of the image signal to be encoded is not limited by the operation of the encoding circuit. Nu.

逆に、例えば、画像発生源がディスクを備えた画像ファ
イルの場合等、1ページの画像信号の出力が間欠的にな
されたとしても、符号化回路が、その間欠的出力に同期
して符号化動作を間欠的に実行する事ができる。従って
、画像信号の出力源と符号化回路の間に時間合せ用の多
大なバッファメモリ等を必要とせずに、出力源からの画
像信号を逐次符号化する事もできる。
Conversely, even if the image signal of one page is output intermittently, for example, when the image source is an image file with a disk, the encoding circuit will encode the image signal in synchronization with the intermittent output. 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図によって、本実施例の回
路へ符号化すべき画像を並列形式で与える方法について
述べる。即ち、第26図の2601は8ビツトの並列デ
ータを入力とし、2602に1ビツトの直列データとし
て出力できる並直列変化用シフト・レジスタである。
26 and 27, a method for supplying images to be encoded to the circuit of this embodiment in parallel format will be described. That is, 2601 in FIG. 26 is a parallel-to-serial change shift register that 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,
A serial shift is performed using a clock to obtain a serial image signal 2602 as shown in FIG. At the same time, the number of clocks during the serial shift is counted to generate a gate signal 2702 indicating the section of the actual data, and a clock 2702 corresponding to the actual data can also be obtained in the same way.

以上、第27図の如き諸信号は前記第25図で述べた休
止方法により本実施例で前述した如く符号化可能な形式
となっている。この画像の並列入力に対する動作はCp
u等により画像が与えられる場合等において極めて有効
である。
As described above, the signals as shown in FIG. 27 are 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.

尚、以上の実施例では、MH,MR、MMRの符号化に
ついて説明したが、他の符号化方法にも適用可能なこと
は言う迄もない。また、符号化すべき画像信号は原稿画
像を光電的に読取る装置や、コンビエータ等から入力さ
れ、また、符号化コードは伝送線等により遠隔地に伝送
されたり、画像ファイルに格納されたりする。以上、本
発明を好ましい実施例に基づいて説明したが、本発明は
この構成に限定されるものではなく、特許請求の範囲内
で種々の変形、を’vrが可能であるこ>1±言う;乞
もない一第  1  表 〔効 果〕 以上説明した様に、本発明によると二次元符号化におい
て、各モードの符号化コードを同時に発生可使とし、こ
れを優先順に従って選択出力するので、モード判定され
た時点で最適な符号化コードを即座に出力可源となり、
画像信号の入力に遅れることなく符号化動作が実行でき
る。
In the above embodiments, MH, MR, and MMR encoding has been described, but it goes without saying that other encoding methods can also be applied. Further, the image signal to be encoded is inputted from a device that photoelectrically reads an original image, a combinator, 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 can be made within the scope of the claims. Table 1 [Effects] As explained above, according to the present invention, in two-dimensional encoding, the encoding codes of each mode can be generated and used at the same time, and these are selectively output in accordance with the priority order. As soon as the mode is determined, the optimal encoding code can be output immediately.
Encoding operations can be performed without delay in inputting image signals.

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

第1図及び第2図は本発明を適用した符号化装置の構成
を示すブロック図、第3図は符号化動作を示すタイミン
グチャート図、第4図、第5図及び第6図はリファレン
スラインとコーデングラインの関係を示す図、第7図は
仮想変化点発生回路の構成例を示す図、第8図は第7図
示回路の動作を示すタイミングチャート図、第9図はセ
レクタの構成例を示す図、第1O図は変化点検出回路の
構成例を示す図、第11図及び第12図は記号検出回路
の一部構成例を示す図、第13図はランレングスカウン
タの構成例を示す図、第14図はROMテーブルAの等
価回路の構成例を示す図、第15図はROMテーブルC
の構成例を示す図、第16図はROMテーブルCの内容
例を示す図、第17図はコード決定回路の構成例を示す
図、第18図はメイクアップコードの発生、記憶回路の
構成例を示す図、第19図は第18図示回路の動作を示
すタイミングチャート図、第20図はりファレンヌライ
ンとコーディングラインの関係を示す図、第21図はH
モードコードを示す図、第22図は仮想変化点の遅延回
路の構成例を示す図、第23図は第22図示回路の動作
を示すタイミングチャート図、第24図はライン区切り
コードの発生を制御する回路の構成例を示す図、第25
図は符号化動作の休止制御動作を示すタイミングチャー
ト図、第26図は画像信号のパラレル入力をシリアル出
力する回路の構成例を示す図、第27図は第26図示回
路の出力状態を示すタイミングチャート図であり、lo
t及び105は仮想変化点発生回路、106及び107
は変化点検出回路、108〜110はレジスタ、111
はアドレスカウンタ、201は記号検出回路、203は
ランレングスカウンタ、207〜209はラッチである
。 出 願 人  キャノン株式会社 第7図 : 8a図 刹52図 珈5tO図 第1/図 垢7215J 港75図 dZ汐 洛/乙図 m−ド・フード+白1?・9−ミネイドコードナ黒0−
ターミネイト・フード(1)            
    (2う第 24 図 VEN 休止       休止
1 and 2 are block diagrams showing the configuration of an encoding device to which the present invention is applied, FIG. 3 is a timing chart showing the encoding operation, and FIGS. 4, 5, and 6 are reference line 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. 10 is a diagram showing a configuration example of a change point detection circuit, FIGS. 11 and 12 are diagrams showing a partial configuration example of a symbol detection circuit, and FIG. 13 is a diagram showing a configuration example of a run length counter. 14 is a diagram showing a configuration example of an equivalent circuit of ROM table A, and FIG. 15 is a diagram showing a configuration example of an equivalent circuit of ROM table C.
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 farenne 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, lo
t 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. Applicant: Canon Co., Ltd. Figure 7: Figure 8a Figure 52 Figure 5tO Figure 1/Figure 7215J Port 75 Figure dZ Shioraku/Otsu Figure M-de Hood + White 1?・9-Mineido Cordona Black 0-
Terminate Food (1)
(Figure 2-24 VEN Pause Pause

Claims (1)

【特許請求の範囲】[Claims] 符号化ラインの画像信号のシリアル入力に同期して参照
ラインの画像信号をシリアルに取込む手段と、符号化ラ
インの画像信号の変換点間の画素数を計数し計数値に基
づき符号化コードを発生する第1発生手段と、符号化ラ
インの画像信号と参照ラインの画像信号との相関関係を
監視し相関関係に基づき符号化コードを発生する第2発
生手段と、上記第1及び第2発生手段から同時に符号化
コードを発生可能な場合所定の優先順に従って出力すべ
き符号化コードを選択する選択手段とを有することを特
徴とする画像信号の二次元符号化装置。
Means for serially capturing the image signal of the reference line in synchronization with the serial input of the image signal of the encoding line, counting the number of pixels between conversion points of the image signal of the encoding line, and generating the encoding code based on the counted value. a first generating means for generating an encoded code; a second generating means for monitoring a correlation between an image signal of an encoded line and an image signal of a reference line and generating an encoded code based on the correlation; 1. A two-dimensional encoding device for an image signal, comprising: selection means for selecting an encoding code to be output according to a predetermined priority order when encoding codes can be generated simultaneously from the means.
JP17080485A 1985-08-02 1985-08-02 Image signal two-dimensional encoding device Expired - Lifetime JP2721335B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP17080485A JP2721335B2 (en) 1985-08-02 1985-08-02 Image signal two-dimensional encoding device
US06/888,493 US4799110A (en) 1985-08-02 1986-07-23 Image signal coding apparatus
CA000514467A CA1296798C (en) 1985-08-02 1986-07-23 Image signal coding apparatus
EP86305854A EP0211611B1 (en) 1985-08-02 1986-07-30 Image signal coding apparatus
DE8686305854T DE3684966D1 (en) 1985-08-02 1986-07-30 IMAGE SIGNAL ENCODER.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17080485A JP2721335B2 (en) 1985-08-02 1985-08-02 Image signal two-dimensional encoding device

Publications (2)

Publication Number Publication Date
JPS6231258A true JPS6231258A (en) 1987-02-10
JP2721335B2 JP2721335B2 (en) 1998-03-04

Family

ID=15911648

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17080485A Expired - Lifetime JP2721335B2 (en) 1985-08-02 1985-08-02 Image signal two-dimensional encoding device

Country Status (1)

Country Link
JP (1) JP2721335B2 (en)

Also Published As

Publication number Publication date
JP2721335B2 (en) 1998-03-04

Similar Documents

Publication Publication Date Title
CA1038499A (en) Apparatus for data compression encoding and decoding
EP0504903B1 (en) Apparatus for and method of preprocessing binary picture data prior to run-length encoding
US5022088A (en) Image processing apparatus with provision for memory operation
US4799110A (en) Image signal coding apparatus
JPH0134500B2 (en)
US4716471A (en) Data decoding apparatus
JPS6231257A (en) Two-dimensional encoding device for picture signal
JPS6231264A (en) Image signal encoding device
JPS6231259A (en) Two-dimensional encoding device for image signals
JP2638788B2 (en) Image reduction circuit
JPS6231260A (en) Two-dimensional coding device for picture signal
JPS6231263A (en) Two-dimensional encoding device for image signals
JPS6231261A (en) Coding device for picture signal
JPH05136995A (en) Simple binary-coding and false halftone mixture processing method and device for image data
JPS6231262A (en) Two-dimensional coding device for picture signal
JP2721335B2 (en) Image signal two-dimensional encoding device
JPS6329472B2 (en)
JP3127029B2 (en) Image information encoding device
JPS6345974A (en) Image processing unit
JPS6235776A (en) Image code decoding device
JP3227237B2 (en) Encoding device
JPS60100874A (en) Image processing device
JPS63302669A (en) Image encoding method conversion method
JP2877244B2 (en) Encoding device
JPH06141176A (en) Picture discrimination device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term