JPS6231262A - Two-dimensional coding device for picture signal - Google Patents
Two-dimensional coding device for picture signalInfo
- Publication number
- JPS6231262A JPS6231262A JP17080885A JP17080885A JPS6231262A JP S6231262 A JPS6231262 A JP S6231262A JP 17080885 A JP17080885 A JP 17080885A JP 17080885 A JP17080885 A JP 17080885A JP S6231262 A JPS6231262 A JP S6231262A
- Authority
- JP
- Japan
- Prior art keywords
- mode
- code
- signal
- 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.)
- Pending
Links
Landscapes
- Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
Abstract
Description
【発明の詳細な説明】
〔技術分野〕
本発明はファクシミリや画像電子ファイル等に用いられ
る画像信号の二次元符号化装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a two-dimensional encoding device for image signals used for facsimiles, image electronic files, and the like.
従来の7アクシミリTの画像伝送装置や近年の光ディス
クや磁気ディスク等を用いた画像ファイル装置等におい
ては、画像信号を符号化して取扱うことにより、データ
量を減少せしめ伝送或いは蓄積動作の高速化、効率化を
計っている。In conventional 7-axis T image transmission devices and recent image file devices using optical disks, magnetic disks, etc., image signals are encoded and handled to reduce the amount of data and speed 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 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. ing.
これらMH法、MR法及びMMR法の相互の関係である
がMMR法はMH・法に極めて近い方法を包含するし、
又MR法を一体修飾したものがMMR法である。Regarding the mutual relationship between these MH method, MR method, and MMR method, the MMR method includes methods that are very similar to the MH method,
Furthermore, the MMR method is an integrated modification of the MR 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).
更に上述の符号化法はMMR法については昭和60年3
月22日の官報(号外第29号)52ページ以下のファ
クシミリグループ4型装置の推奨通信方式(郵政−見上
)の中で高俺率二次元符号化方式として告示されており
、MR法は一次元符号化方式として、又MR法は二次元
符号化方式として共に昭和56年郵政省告示第1013
号に告示されている。Furthermore, the above-mentioned encoding method was developed in March 1985 for the MMR method.
The MR method is announced as a high rate two-dimensional encoding method in the recommended communication method for facsimile group 4 type equipment (post office - Migami) on page 52 and below of the Official Gazette (extra issue No. 29) dated August 22nd. Both the MR method is used as a one-dimensional encoding method, and the MR method is used as a two-dimensional encoding method in accordance with the Ministry of Posts and Telecommunications Notification No. 1013 of 1982.
It is announced in the number.
前述した二次元符号化においては、符号化すべきライン
の画像信号と前ラインの画像信号の相関関係を判別し、
この相関関係に応じたモードの符号−化コードを発生す
る構成である。この符号化コードのモードのうち、水平
モードでは同一色の画素の連続数(ラン長)を示すコー
ドを水モモードである旨を示す識別コードとともに発生
する必要がある。従って、水平モードの場合には、複数
コードを一緒に発生せねばらず、ラン長が比較的長い場
合には発生すべきコード長が長くなる。そこで複数コー
ドを分けて出力することが考えられるが、複数コートを
発生するに時間を要し、次の符号化に影響が及び符号化
すべき画像信号の入力に符号化動作が追いつかなくなっ
てしまうことがある。In the two-dimensional encoding described above, the correlation between the image signal of the line to be encoded and the image signal of the previous line is determined,
The configuration is such that a mode encoding code is generated according to this correlation. Among these encoding code modes, in the horizontal mode, it is necessary to generate a code indicating the consecutive number of pixels of the same color (run length) together with an identification code indicating the water mode. Therefore, in the horizontal mode, multiple codes must be generated together, and if the run length is relatively long, the code length to be generated will be long. Therefore, it is possible to output multiple codes separately, but it takes time to generate multiple codes, which affects the next encoding and makes it impossible for the encoding operation to catch up with the input of the image signal to be encoded. There is.
本発明は以北の点に鑑みてなされたもので、前述したM
R、MMR等の二次元符号化を高速に、且つ、符号化す
べき画像信号の入力に遅延することなく実行可ス蔚とす
ることを目的とし、詳しくは、符号化ラインの画像信号
のシリアル入力に同期して参照ラインの画像信号をシリ
アルに取込む手段と、符号化ラインの画像信号の変化点
間の画素数を計数する手段と、符号化ラインの画像信号
と参照ラインの画像信号の相関関係を監視し符号化モー
ドを決定する手段と、上記計数手段の計数値に基づいて
符号化コードを発生する手段とを有し、上記決定手段に
より水平モードと決定された場合、水平モードである旨
を示す識別コードと1記発生f段により発生すべき先頭
の符号化コードを一体コードとして出力する画像信号の
二次元符号化装置を提供するものである。The present invention was made in view of the above points, and the above-mentioned M
The purpose is to enable two-dimensional encoding such as R, MMR, etc. to be performed at high speed and without delay in inputting image signals to be encoded. means for serially capturing the image signal of the reference line in synchronization with the image signal of the encoded line, means for counting the number of pixels between changing points of the image signal of the encoded line, and correlation between the image signal of the encoded line and the image signal of the reference line. It has means for monitoring the relationship and determining the encoding mode, and means for generating an encoding code based on the count value of the counting means, and when the determining means determines the horizontal mode, the mode is the horizontal mode. The purpose of the present invention is to provide a two-dimensional encoding device for an image signal that outputs an identification code indicating this and the first encoding code to be generated by the first generation f stage as an integrated code.
本発明を適用した符号化回路の構成例を第1図及び第2
図の回路ブロック図で示す。次いで該実施例の動作を前
記第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.
This is shown in the circuit block diagram in the figure. Next, the operation of this embodiment will be explained using FIG. 1, FIG. 2, FIG. 3 to FIG. 5, etc.
第1図に於いて121で示す信号は画像スキャナや画像
ファイル、コンピュータ等の外部機器から供給される符
号化すべき画像信号であり、“°0°゛又は“1°゛
(例えば0°゛=白、“1′°=黒画素)の2値信号の
シリアル・データとして与えられる。又、134で示す
信号は画像信号121の入力に同期して外部機器より供
給されるクロックであり、1画素当り1クロツクとなっ
ている0次に136で示す信号は同期信号であり、画像
信号121の水平区間や垂直区間等を示す数種の同期信
号を示している。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.
(For example, 0° = white, 1'° = black pixel. The zero-order signal 136, which is a clock and has one clock per pixel, is a synchronization signal, and shows several types of synchronization signals indicating horizontal sections, vertical sections, etc. of the image signal 121.
即ち、本実施例では、符号化すべき画像信号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 forcibly changed so that the next pixel (=virtual pixel) after the last pixel of the real image on the coding 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 actual image on the coding number.
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 number memory) capable of independently writing or reading operations. It has a capacity (number of main scanning pixels) that can store a binary image.
又、ライン・バッファ・メモリAl 02とラインーバ
ッファ命メモリB103は、片方が書込み動作を実行し
ている時、もう一方は読出し動作を実行する様、制御さ
れている。即ち、これら2つのライン・バッファ・メモ
リに依り、−組のダブル・バッファ・メモリを構成して
いる。Further, the line buffer memory Al 02 and the line buffer memory B 103 are controlled so that when one 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 buffer memories.
111はメモリ・アドレス・カウンタであり、コーディ
ング・ラインの画素数に対応するクロック134をカウ
ントするカウンタである。該カウンタ111のカウント
値は、メモリーアドレス信号135として、ライン・バ
ッファφメモリAlO2及びライン拳バッファ・メモリ
B102の両方に共通に与えられる。又、メモリ・アド
レス・カウンタ111はコーディング・ライン1本毎に
初期値に戻り、カウント動作を繰返す、従って、ライン
11/ヘツフア・メモリに書込まれた各ラインの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 buffer memory B102. Also, the memory address 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 11/header memory is newly input. Each pixel is read out in correspondence with the pixel position of the image signal 121 of the line.
104はセレクタであり、ライン働バッファ・メモリA
lO2又はライン拳バッファ・メモリB103のうち、
どちらか読出し動作を実行している方から読出しデータ
を得るべくセレクト信号901により選択動作する回路
である。104 is a selector, which is a line working buffer memory A.
Of lO2 or line fist 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.
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 shown at 126 are the signals representing the real image and the virtual pixels on the reference line, and the signals shown at 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. 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を形成するタイ
ミング回路である。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 by taking as an example a case where an actual image (image to be encoded) as shown in FIG. 4 is given and this is encoded by the MMR method.
まず、ここで例示する第4図の画像は、説明を簡易にす
る為に、1ラインが32画素(主走査画素数=32画素
)から成り、かつ合計2ライン(副走査線数=2本)に
より1ページを構成する極めて簡単な画像とした。First, for the sake of simplicity in the image shown in FIG. ) to create an extremely simple image that makes up one page.
第4図の402で示す第1ラインを実際に符号化するに
は、第5図に示すように第47の401で示す仮想ライ
ンをリファレンス・ラインとし、第1ライン402をコ
ーディング争ラインとする。To actually encode the first line shown at 402 in FIG. 4, the virtual line shown at 401 at 47 is used as a reference line, and the first line 402 is used as a coding contest line, as shown in FIG. .
又、第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, -11111, etc. continue, if the relationship between the reference line and the coding line is sequentially lowered as described above, 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図において136−1は垂直同期信号で副走査方向
の画像の区間、即ち、1ページの画像の入力期間を示す
。136−2は水平同期信号で主走査方向の画像区間、
即ち、エラインの画像の入力期間を示す。134は画像
クロック、121は第4図に例示した符号化すべき画像
の信号波形としての表現であり、黒画素=°“1′°=
“H″、白画素=“l OIT = l“Looとじて
描かれている。即ち、第3図示の画像のうち1区間TI
の画像が、符号化すべき第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 Elaine. 134 is an image clock, 121 is an expression as a signal waveform of the image to be encoded illustrated in FIG. 4, and black pixel=°"1'°=
It is drawn as “H”, white pixel = “l OIT = l” Loo. That is, one section TI of the image shown in the third figure
The image is the real image of 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 the fourth figure to be encoded.
又、第4図示の仮想ライン401は実際の紙面等に印刷
されるような画像に於いては、紙面の上方部のいわば余
白、或いは紙面外に相当するもので、MMR法に於いて
は、全白(エラインの画素が全て白画素)ラインと仮想
するよう規定されている。従って、前記第4図示の仮想
ライン401は第3図示の画像信号121上には現れて
いない。Furthermore, in an image printed on an actual paper surface, the virtual line 401 shown in the fourth figure corresponds to a so-called margin at the upper part of the paper surface, or outside the paper surface, and in the MMR method, It is specified that it is assumed to be an all-white line (all pixels in the 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 fist 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 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 to the line buffer memory AlO2 and the line buffer memory B103 as data for writing.
一方、アドレス・カウンタ111は第3図の区間TIの
み画像クロック!34をカウントし、第3図の135に
示すようなカウント値を出力し、該出力はメモリ・アド
レス135として、ラインーバッファメモリAlO2及
びライン・バッファメモリB103へ共通に与えられる
。On the other hand, the address counter 111 only uses the image clock in the interval TI in FIG. 34 and outputs a count value as shown at 135 in FIG.
更に、この時図示はしていないがライン・バッファメモ
リAlO2は書込みモードに、又ラインバッファφメモ
リB103は読出しモードに制御されているとすると、
コーディング・ライン122のデータはライン会バッフ
ァ番メモリAlO2内のメモリ・アドレス135で指示
された番地に順次・書込まれる。又、ライン・バッファ
善メモリB103は、この時、前述したように、読出し
モードにあるから、初期状態で全て“0パを書込んでお
けば、メモリ・アドレス135で指示されたi地から“
0′”を順次読出し、第1図の124で示す読出し信号
Bとなり、セレクタ104により選択されて、リフ゛ア
レンス・ライン125のデータとなる。Furthermore, at this time, although not shown, the line buffer memory AlO2 is controlled to write mode, and the line buffer φ memory B103 is controlled to read mode.
The data of the coding line 122 is sequentially written to the address indicated by the memory address 135 in the line group buffer number memory AlO2. Also, at this time, the line buffer good memory B 103 is in the read mode as described above, so if all "0's are written in the initial state," will be read from the i location specified by the memory address 135.
0''' are sequentially read out to become a read signal B shown at 124 in FIG.
第3図の125は該リファレンスラインのデータ信号波
形を示しており、区間Tl中゛0パとなっている。これ
は、即ち、第5図に示した如く仮想ライン401を゛全
白パのリファレンス番ラインとして回路上に得た事であ
る。Reference numeral 125 in FIG. 3 indicates the data signal waveform of the reference line, which is zero during the interval Tl. That is, as shown in FIG. 5, the virtual line 401 is obtained on the circuit as an all-white reference number line.
コーディング・ライン122は前述の様に変化点検出回
路B107にも与えられる。該検出回路B107は与え
られたデータ入力の内の変化点(画素)を検出し、該変
化点画素を“1”として出力し、変化点とならない画素
をすべてO°゛として出力する。第1図の128は該出
力である。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 given data input, outputs the change point pixel as "1", and outputs all pixels that are not a change point as O°. 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の如く、最終画素の
次に最終画素と異なる色の仮想画素の付加された信号に
変換される。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 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レジス
タトlOの出力信号波形を示す、即ち、Bレジスタ10
9及びCレジスタ110には、Aレジスタ108に格納
されている各画素位置に対応したリファレンスラインの
画素の変化点信号及び色信号が格納されている。従って
、Aレジスタ108の出力A4をコーディングラインの
注目画素とすると、Bレジスタ109及びCレジスタ1
10により、リファレンスラインにおける該注目画素位
置に続く3画素内に変化点が有るか否か及びその色を判
断できる・
第2ラインを符号化する為に第4図の第2ライン403
が画像信号121として入力される時には、ラインバッ
ファ・メモリAlO2が書込みモードとなり、ライン番
バッファ・メモリB103が、読出しモードとなる。即
ち、第1ライン402のコーディング動作中にラインバ
ッファメモリB103に書込まれていた第1ライン40
2がリファレンスラインとなり、新たに入力する第2ラ
イン403がコーディングとなる。そして、第1ライン
目に於ける動作と同様の動作が実行される。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 lO, 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 target pixel position on the reference line and its color. In order to encode the second line, the second line 403 in FIG.
When input as the image signal 121, the line buffer memory AlO2 is in the write mode, and the line number buffer memory B103 is in the read mode. That is, the first line 40 written in the line buffer memory B103 during the coding operation of the first line 402
2 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. At this time, the data of the section T2 of the reference line 126 is the data read from the first line 402 written in the line buffer Φ memory AlO2 during the section Tl.
以上が第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を得て。201 is a symbol detection circuit, and as shown in the figure, signals 129,
I got 130,131.
MMR符号化法に於いて、必要な記号aO9at+’a
2及びbl、b2等の記号を検出する為の回路である。In the MMR encoding method, the necessary symbol aO9at+'a
This is a circuit for detecting symbols such as 2, bl, b2, etc.
これら記号の定義は以下の如くである。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 number line to the right of a1.
b1=aoより右にあるリファレンス・ライン上の変化
点(画素)でaQと反対色で且つ、最初の変化点。b1 = A changing point (pixel) on the reference line to the right of ao, the opposite color to aQ, and the first changing point.
b2=blより右にあるリファレンス・ライン上の最初
の変化点(画素)。b2 = first change point (pixel) on the reference line to the right of bl.
但し、ここで言う右とは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, there is a B register 202, and the clock 134 receives the change point signal b1 shown at 222 in FIG. 2 as input data.
This is a 3-bit shift register that is sequentially shifted in by .
従って、記号検出回路201で検出された変化点信号b
1が統〈3クロック期間に渡って保持され、注目画素に
対する変化点信号b1の位置が判断できる。Therefore, the change point signal b detected by the symbol detection circuit 201
1 is held for a total of three 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ビツトの出力をもち、最大は10iifi
の2559までカウントできるカウンタである。203 is a run length counter, which usually corresponds to the pixel a.
A binary counter that counts the number of pixels from Q to pixel a1 (run length) or from pixel a1 to pixel a2, and has a 12-bit output, with a maximum of 10iifi.
This is a counter that can count up to 2559.
第2図の228で示す信号はランレングス−カウンタ2
03のカウント値出力のうち下位6ビツトである。又、
第2図の227で示す信号はランレングス嗜カウンタ2
03のカウントm出力のうち上位6ビツトである。The signal shown at 228 in FIG. 2 is the run length counter 2.
These are the lower 6 bits of the count value output of 03. or,
The signal shown at 227 in FIG. 2 is the run length counter 2.
These are the upper 6 bits of the count m 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).
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 a given input.
It is.
又、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法の符号化規則をもう少し、述べておく
。この符号化法において前述した様に定義された記号a
otal+a2はコーディングΦライン上に有り、又、
同じく記号b1及びb2はリファレンス・ライン上に有
る。そして、これらの各記号ao、a1.a2のグルー
プとbl。Here, the encoding rules of the MMR method will be explained a little more. In this encoding method, the symbol a defined as described above
otal+a2 is on the coding Φ line, and
Similarly, symbols b1 and b2 are on the reference line. And each of these symbols ao, a1 . A2 group and bl.
b2のグループの相対位置(距fa)により、符号化モ
ードを次の3つのモードのうちから一義的に選択し、符
号化するよう規定されている。Based on the relative position (distance fa) 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モード)
lalbtl≦3の時(発生コードは距離ごとに違う計
7種の発生コード)
(3)水平モード(Hモード)
上記(1)(2)以外の時(ラン・レングス・コード表
に従う)
形式: H+M(aoat)+M(ata2)ここで、
HはHモードを示すコード、M (ao a t)は白
又は黒のIaoaIIのランレングス・コード、M(a
xa2)は黒又は白のIata21のランレングスφコ
ードである。(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 lalbtl≦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 the length code table) Format: H+M(aoat)+M(ata2) where,
H is the code indicating H mode, M (ao a t) is the white or black Iaoa II run length code, M (a
xa2) is a black or white Iata21 run length φ code.
但し、上記(1)、(2)、(3)のうち2モ一ド以上
が同時に満たされた場合には、
(1)Pモード> (2)Vモード> (3)Hモード
の順位で優先される。However, if two or more of the above modes (1), (2), and (3) are satisfied at the same time, the ranking will be: (1) P mode > (2) V mode > (3) H mode. have priority.
この優先出力動作を制御するのが、コード決定回路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に示す時刻の1(
、を符号化開始時刻とする。First, in this embodiment, at time 1 ( 320 in FIG. 3),
, is 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, respectively, in FIG. 2).
即ち、時刻1(、では、Cレジスタ110.Bレジスタ
109及びAレジスタ108の各出力はリファレンス・
ライン及びコーディング・ラインの先頭画素とその先頭
画素に続く3画素の状態を並列出力している。又、aQ
は第3図の221のAO(ao)に示すように初期値′
“0パ (白画素=仮想)に設定されている。That is, at time 1 (,), each output of the C register 110, B register 109, and A register 108 is the reference signal.
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, aQ
is the initial value ' as shown in 221 AO (ao) in Figure 3.
“It is set to 0pa (white pixel = virtual).
ランレングスカウンタ203は初期値のOから時刻to
以降画像クロック134のカウントを開始する。The run length 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.
時刻1(、に於いては、第3図の信号129−4に“1
”が立っていない、即ち、第2図のAシフト・レジス
タ108のA4出力に変化点が無い、又同様にBシフト
・レジスタ109のB4出力にも変換点が無い、従って
、コードを発生する要因が無いので、ランレングス−カ
ウンタのカウント値を1進めるだけで、次の時刻t1へ
進むが、時刻t1でも時刻1.)の状態と同様である。At time 1 (, at time 1, signal 129-4 in FIG.
" is not set, that is, there is no change point in the A4 output of the A shift register 108 in FIG. 2, and similarly there is no change point in the B4 output of the B shift register 109. Therefore, a code is generated. Since there is no cause, 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.
Looking at number 4, there is no "1" in any of them. This means that there is no change point b1 within three times from time t2. Further, when the symbol detection circuit 201 detects bl, it shifts the bl into the B' shift register 202 so that it does not disappear for three time periods.
又、記号検出回路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モード(la1bxl!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 (la1bxl!3 is the condition) are not satisfied, and therefore the mode becomes H mode.
この時、ランレングス・カウンタ203の値は第3図3
22にも示すようにaQからalの画素数を示し、“2
°゛である。又ランレングスの色は初期セットした°“
0°゛=白のままである。従ってランレングスカウンタ
203の出力228等によりランレングスの値及び色等
がROMテーブル0206に与えられ、該当するコード
及びコード長がROM206出力される。このケースで
は°“白ラン2゛のコードが出力される。即ちM (a
oal)=白2である。At this time, the value of the run length counter 203 is
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 °“
0°゛=remains white. Therefore, the run length value, color, etc. are given to the ROM table 0206 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, the code of “white run 2” is output, that is, M (a
oal)=white 2.
この際、Hモードの最初のコードである事を判定しHモ
ードを示すコード“°001°゛を白ラン2のコード゛
”0111”と同時に即ち1クロツクで出すよう制御す
る。又コード長も2進数等で同時に出力される。At this time, it is determined that it is the first code of H mode, and the code "°001°" indicating H mode is controlled to be output at the same time as the code "0111" of white run 2, that is, in one clock. They are output simultaneously in binary numbers, etc.
次いでランレングス・カウンタ203を初期値1 (0
ではない点に注目)にセットし直し、画素a1から画素
a2のカウントに移る。但し画素a1、即ち、時刻t2
では初期値のセット準備をするのみで、カウンタに初期
値がセットされカウントを進めるのは次の時刻t3から
である。又、この時刻t3からAOの色も反転させる。Next, the run length counter 203 is set to an initial value of 1 (0
(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が進むと結局時刻L4に於いて、Aレジスタ
108のA4出力に“1′°が立ち変化点が現われる。(Time t2=゛0'°→Time t3=゛1'') From then on, as time 1n progresses, at time L4, a change point appears where the A4 output of the A register 108 becomes "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等の参照は不要であり、本ケー
スでは無いが。Since the symbol detecting circuit 201 remembers that the changing point a1 has already passed and 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. Now, at time t4, the value of the run length reference counter 203 is 2, and AO="1°°=black.Also, since the H mode has already been determined at time t2, a2 When is detected, there is no need to refer to the state of the reference line, ie, 131-1 to 131-4 in FIG. 3 and 130-1 to 130-4 in FIG. 3, although this is not the case.
仮にリファレンス・ライン上にbl、b2等があっても
、無視するように制御される。Even if bl, b2, etc. are present on the reference line, they are controlled to be ignored.
以上により結局、M(ao、al)の時と同様にして。As a result of the above, in the end, the same procedure as in the case of M(ao, al) is performed.
M (a 1.a 2) =黒゛2°゛コード及びコー
ド長が出力される。この際にはM(ao、al)の時と
は異なりHモードを示すコード°“001 ”は付加さ
れないよう制御される。M (a 1. a 2) = black 2° code and code length are output. At this time, unlike the case of M(ao, al), the code 001 indicating the H mode is not added.
次いで上記1時刻t4の后、即ち、時刻t5でランレン
グス会カウンタ203は初期値1にセットされる。又、
AO(−a□)は反転する。Next, one time after time t4, that is, at time t5, the run length counter 203 is set to the initial value 1. or,
AO(-a□) 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図の時刻130では、ランレングス・カウンタ
値は9で、この時、記号ft(=at)が検出されるが
、リフレンスライン上の2画素後に変化点b’lが有る
事が時刻t 30において、第3図のBレジスタ109
の出力130−2及びCレジスタ110の出力131−
2等から判断される。従って1albl143の条件が
満され、Pモード(b2が必要)ではないので、定義に
よりVモードと決定されVL (2)コード(alが
blの左2画素の位置にある)が出力される。Also, at time 130 in FIG. 3, the run length counter value is 9, and at this time the symbol ft (=at) is detected, but there is a change point b'l after two pixels on the reference line. At time t30, the B register 109 in FIG.
Output 130-2 of C register 110 and output 131- of C register 110
Judging from 2nd place. Therefore, since the condition of 1albl143 is satisfied and the mode is not P mode (b2 is required), the V mode is determined by definition and the VL (2) code (al is located at the position of 2 pixels to the left of bl) is output.
この際、Hモードのランレングス・白9のコードの発生
し得る状態にあったわけであるが、先に述べた各モード
間の優先度の定義に従い、■モードが有効コードとなり
、Hモードのコードは無効となる。ざらにVモードのコ
ードが発生した事により、ランレングスカウンタ203
の該時刻t 30までのカウント値はクリアとなり、新
たに1にプリセットし直されるよう制御される。又、■
モードのコードが発生した後では起点aQ記号の色は反
転される。(但し、■モード・コードの発生はa1記号
の変化点検出と同時刻(時刻t30)である、)また、
ここまでに説明していないが、記号b1が記号a1より
先の検出される場合には、記号b1の検出信号はB゛レ
ジスタ202の入力信号として、該レジスタ内へシフト
インされ以降3時刻の間、B゛レジスタ202出力、B
5→B6→B7の順でシフトしていき、それ以後消滅す
る。又、記号b1がすでにBレジスタ109の84出力
を通過してもまだコードが発生しない時には、該事実を
記憶検出回路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 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 not explained so far, when symbol b1 is detected earlier than symbol a1, the detection signal of symbol b1 is shifted into the register as an input signal of the B register 202, and is shifted into the register at three times thereafter. Between, B register 202 output, B
It shifts in the order of 5 → B6 → B7, and disappears after that. Further, when the code b1 has already passed through the 84 output of the B register 109 and 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図の仮想変化点発生回路Al01.及び仮想変化点
発生回路B105は同形式の回路であり、共に第7図示
の仮想変化点発生回路により実現される8図中、702
はフリップフロップ、703はアントゲ−)、704は
オアゲート、705は反転回路(インバータ)である。Virtual change point generation circuit Al01. of FIG. and the virtual change point generation circuit B105 are circuits of the same type, and both are realized by the virtual change point generation circuit shown in FIG.
703 is a flip-flop, 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信号とし、該時刻以
前部ち、水平同期信号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 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 The Q output of 122 is set as the 122 signal, and before that time, the image 121 is output while the horizontal synchronization signal 136-2 is being output.
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 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出力=
“0”)か、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 "0") or to Q output = "1"°, and is normally at the "1" level.
RESET信号1103も同様である。ここにおいて変
化点A4 (129−4信号)が最初に到来するとA4
=“1”となる、この場合。The same applies to the RESET signal 1103. Here, when the change point A4 (129-4 signal) arrives first, A4
= “1” in this case.
フリップフロップ1102のQ出力=“1パ及び制御信
号1101= ’“loであるから、a1=“1゛が出
力され、記号a1が検出される。このa1検出信号によ
りフリップフロップ1102がセットされQ出力=“l
o”となり、alが既に検出された事を記憶する(即ち
Q出力= F a 1 = ” 1 ” ) *この状
態で次にA4=“l IIとなるとa2=“1”となり
、記号a2が検出される。Since the Q output of the flip-flop 1102 is "1" and the control signal 1101 is "lo", a1="1" is output and the symbol a1 is detected. This a1 detection signal sets the flip-flop 1102 and the control signal 1101 is "lo". Output = “l
o” and remembers that al has already been detected (that is, Q output = F a 1 = “ 1 ”) 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進)から256
0−1(10進数の2559)である、又、該カウンタ
203はプリセット機能及び、クリア機能等を有するも
ので、具体的には米国・フェア・チャイルド社製、IC
,型名74F163等により構成し得るものである。The specific configuration of the run length counter 203 in FIG. 2 is shown in FIG. 13. First, the run length counter 203 is a 12-bit binary counter as described above.
The counting range of the counter 203 is from 0 (decimal) to 256
0-1 (2559 in decimal), and the counter 203 has a preset function, a clear function, etc.
, model number 74F163, etc.
更に、該カウンタ203のカウント値出力が10進数2
559である事を検出し、MKI信号を発生する回路1
301及び該出力の下位6ビツトをデコードした値が1
0進数“63パである事を検出し、MK2信号を発生す
る回路1302を備えている。Furthermore, the count value output of the counter 203 is decimal number 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 "63pa" and generates an MK2 signal.
更に、プリセット機能によりセットする値としてO”(
10進数)又は°’l”(10進数)を選択的にプリセ
ットできる構造となっている。Furthermore, the value to be set using the preset function is O” (
The structure is such that it can be selectively preset to decimal number) or °'l'' (decimal number).
ランレングス拳カウンタ203の動き方について説明す
る。まず、各コーディング・ライン毎に画像左端外の位
置に於いて初期値“O°゛にプリセット(又はクリア)
される0次に画像領域内では画素ごとに順次カウントを
進めるが下記の値又は3状態に於いてはカウンタ203
はプリセット機能により°°1″に戻される。The movement of the run-length fist counter 203 will be explained. First, preset (or clear) the initial value “O°” at a position outside the left edge of the image for each coding line.
In the zero-order image area, the count is sequentially advanced pixel by pixel, but in the following values or three states, the counter 203
is returned to °°1″ by the preset function.
即ち、
(1)変化点a1又はa2が検出された時、(2)カウ
ント値が2559に到達した時、(3)Pモート拳コー
ド又はVモード・コードが発生した時、
但し、符号化法の規則により、コーディング・ライン最
右端外の仮想画素上で変化点a1をa2とする場合には
、alの検出時にカウンタ値を“Oパに戻す車とする。That is, (1) when change point a1 or a2 is detected, (2) when the count value reaches 2559, (3) when P-mode code or V-mode code occurs, however, the encoding method According to the rule, if the change point a1 is set to a2 on a virtual pixel outside the rightmost end of the coding line, the counter value is returned to "Opa" when al is detected.
次に第2図のROMテーブルA204の構成について述
へる。該ROMテーブルA204はPモードはVモード
の計8種のコード及び該コード長等を発生する為のもの
である。ここで述べる構成は本実施の構成原理及び前述
の説明でも明らかなように、コーディング・ライン及び
リファレンス・ラインの変化点位置の相対的関係及び特
にリファレンス・ライン上の変化点b2がBレジスタ1
09のB4出力に現われた時、又はコーディング・ライ
ン上の変化点a1がAレジスタ108のA4出力として
現われた時、該時刻に於いて記号検出回路201の状態
及びAレジスタ1081.Bレジスタ109、Cレジス
タ110及びB゛レジスタ220各出力の状態等を同時
に並列的に判断可能な構成となっている。故に上記請出
力の状態の組合せは当然有限のものであり、又、判断す
べき時刻にあっては静止状態として扱える。従って1組
合せごとに出力すべきPモード又はVモードのコード及
びコード長が決定できるので、該ROMテーブルとして
構成できるものである。Next, the configuration of the ROM table A204 in FIG. 2 will be described. The ROM table A204 is for generating a total of 8 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 change point positions of the coding line and the reference line, and especially when the change 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 and the A register 1081. The configuration is such that the status of each output of the B register 109, C register 110, and B register 220 can be determined simultaneously and in parallel. Therefore, the combination of the states of the above-mentioned request forces is naturally finite, and at the time when the judgment is to be made, it can be treated as a stationary state. 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が検出された事を示
す18号である。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 No. 18 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モ
ードであると判定する事を意味している。即ち、起点a
Q以後、b2が検出される時刻までにa1変化点がない
事を意味する。即ち、画像上で言えば、起点aOからb
2変化点の真下の間にa1変化点がない事になる。The logic circuit 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. In other words, the starting point a
This means that there is no a1 change point after Q until the time when b2 is detected. In other words, on the image, from the starting point aO to b
This means that there is no a1 change point directly below the two change points.
従って、定義により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図(7) ROM テーブルB2O5及びROMテ
ーブルC206は同様の構造であるから、代表して第1
5図及び第16図によりROMテーブルC206につい
て説明する。FIG. 2 (7) Since ROM table B2O5 and ROM table C206 have similar structures, the first
The ROM table C206 will be explained with reference to FIG. 5 and FIG. 16.
まず、206はROMで少なくとも11ビツトのアドレ
ス入力及び21ビツトの並列出力をもつ、また、228
人力は第2図の228信号に符合する。即ち第2図のラ
ンレングス・カウンタ203の下位6ビツトである。ま
た、第15図の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. Further, 1502 manual input in FIG. 15 is a signal specifying the color of the run length, and in this example, auto=O1 black=1.
また1503人力はHモードを示すコード(=001)
を付加するか、不要かを指定する信号で本例では要=1
、不要=0とする。即ち、1503人力が1の場合はH
モードのコードの最初のランレングスコードに前記コー
ド(OOl)を付加したものをlクロックで出力する。Also, 1503 human power is the code indicating H mode (=001)
This is a signal that specifies whether to add or not. In this example, required = 1
, unnecessary=0. That is, if 1503 manpower is 1, H
The code (OOl) is added to the first run-length code of the mode code and is output at l clocks.
1504は該ROM206(7)出力を有効とするか無
効とするかを制御するチップイネーブル信号である。1
507人力はEOL<1507人力はEOI、+1.1
508人力はEOL+Oの夫々の読出しを制御するアド
レス入力であり、これら入力にパルスを入力することに
より、対応したラインの区切りコードが読出される。又
、1505は入力で指定された番地のコード出力であり
1506は同じく該コードのコード長である。Reference numeral 1504 is a chip enable signal that controls whether to enable or disable the output of the ROM 206 (7). 1
507 manpower is EOL<1507 manpower is EOI, +1.1
508 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. Further, 1505 is the code output of the address specified by the input, and 1506 is the code length of the code.
第16図は前記第15図の各番地AONA10と記憶内
容(データ)との対応を示す図である。FIG. 16 is a diagram showing the correspondence between each address AONA10 in FIG. 15 and storage 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モード
順位により、優先権を獲得したモードのコードが最終的
に発生すべきコードとして決定され。That is, if P mode, ■ mode, and H monido codes can occur simultaneously, the code of the mode that has acquired priority will ultimately be generated according to the order of P mode>■ mode>H mode as described above. Determined as the correct code.
他のモードのコードは無効となり、発生コードとならな
い。Codes for other modes are invalid and cannot be used as generation codes.
尚、信号1708は本符号化回路をMH法。Note that the signal 1708 uses the MH method for this encoding circuit.
即ち、−次元符号化に用いるか、MMR又はMRの二次
元符号化に用いるかを選択するためのモード信号であり
、−次元符号化を実行する場合にはLレベル、一方、二
次元符号化を実行する場合にはHレベルとなる。In other words, it is a mode signal for selecting whether to use it for -dimensional encoding or for two-dimensional encoding of MMR or MR. When executing, it becomes H level.
従って、−次元符号化を実行する場合には、Pモードコ
ード及びVモードコードの発生は阻止され、常にHモー
ドコード即ちランレングスを表わすコードのみが有効と
される。Therefore, when performing -dimensional encoding, the generation of P-mode and V-mode codes is prevented, and only the H-mode code, that is, the code representing the 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 an H-mode make-up code and code length that may occur 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 ten-length codes, two make-up codes and one terminating code, and output as follows.
即ち、
メイクアップコード1=
テンレングス2560コード(白、黒共通)メイクアッ
プコード2=
ランレングス384コード(白又は黒)ターミネイテイ
ングコード=
ランレングス28コード(白又は黒)
この様に、2560+384+28=2972の如く複
数のコードにより1つのランレングスを表わす場合には
、まず、第2図のランレングス−カウンタ203のカウ
ント値が63+64XN(N=0.1.2・・・・・・
の正整数)になる毎に、その時点でAレジスタのA4出
力がa1変化点でなければ、次にメイクアップ値が発生
することを予知し、該カウンタ203の上位6ビツトの
(Iff(Nに相当)が示す1つ上(即ちN=Oで64
のメイクアップ)のメイクアップコード及びコード長を
ROMテーブルB2O5から出力させ、ラッチB2O3
へ一時記憶(ラッチ)する、続いて前値カウント値が6
4進む毎(即ち前述の63+64XNの式に於いてNが
1進む毎)に該ラッチB2O3の内容は、更新されてい
く。That is, Makeup code 1 = Ten 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 =2972, when one run length is represented by multiple codes, 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 the upper 6 bits of the counter 203 (Iff(N (equivalent to
Makeup code and code length of ROM table B2O5 are output from latch B2O3.
Temporarily memorized (latched) to , then 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+84XNの式で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 + 84 Read the code and code length of 2560 and latch A2.
078 Temporarily memorized. 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, storage of makeup codes and the like to the latches B2O3 is restarted again in the same manner for each hole of 63+64XN.
そして、変化点a1が検出されると、他のPモード又は
Vモードとの競合関係が判定され、Hモードが決定する
と該変化点a1の時刻に於けるランレングスカウンタ2
03の下位6ビツトの値(O〜最大63)が示すテンレ
ングスのターミネイテイングコード及びコード長をラッ
チC209へ一旦記憶する。又、既に前記のようにラッ
チA207及びラッチB20Bの内容も有効となる。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 ten-length termination code and code length indicated by the value of the lower 6 bits of 03 (O to maximum 63) are temporarily stored in latch C209. Furthermore, as described above, the contents of latch A207 and latch B20B also become valid.
但し、変化点a1の時刻にVモード等が発生していれば
Hモード自体1允生しない事となり、当然ラッチA20
7及びラッチB2O3の内容は無効とされ、又ラッチC
209へは前記ターミネイテイングコードのかわりにV
モードコードが有効コードとしてラッチされる。However, if the V mode or the like occurs at the time of the change point a1, the H mode itself will not occur, and naturally the 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に含まれるものである。この回
路のタイミングチャート(ランレングスが前述の如<2
972であった場合)を第19図に示す0図中。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. 19.
1801.1802はフリップフロップ。1801.1802 are flip-flops.
1803はアンドゲート、1804はインバータである
。1803 is an AND gate, and 1804 is an inverter.
MKI及びMK2は第13図に示したランレングスカウ
ンタ203の2559検出回路1301及び63検出回
路1302からそれぞれ出力される信号である。フリッ
プフロップ1802はMK2信号の入力によりセットさ
れてMK2有信号を発生し、フリップフロップ1801
はMKIi号の入力によりセットされて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 MKIi 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信号のレベ
ルによりランレングスを表わすコードがターミネートコ
ードのみであるか、ターミネートコードとメークアップ
コードの組合せであるか。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 the MK2 signal, it is determined whether the code representing the run length is only a termination code or a combination of a termination code and a makeup code.
又、そのメークアップコードの数が1であるか2である
かを判別できる。従って、Hモードにおいてコードを発
生する場合、このMKI有信号とMK2有信号とのレベ
ルをバッキング回路211は判別し、3個のラッチA、
B、Cのうち有効なものを選択して、そのラッチデータ
を取込む。Also, it can be determined whether the number of makeup codes is 1 or 2. Therefore, when generating a code in H mode, the backing circuit 211 determines the levels of the MKI present signal and the MK2 present signal, and the three latches A,
Select the valid one from B and C and import its latch data.
この様にメイクアップコードの発生に於いて少なくとも
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 can be predicted. This is extremely effective in circuit configuration since it has the effect of preventing an increase in the number of output codes and the number of bits to be processed at the same time.
即ち、ラッチA207及びラッチB20g代ランレング
スカウンタ203がHモード決定前にカウントした数の
うち必要となるメイクアップコード及びコード長を一時
記憶しておくことにより、Hモード決定時にはターミネ
イテイングコード及びコード長のみを処理すれば良いの
で、a1検出時に出力すべきHモードのコードが全て揃
い、続く符号化動作を遅延なく実行することができる。That is, by temporarily storing the required make-up code and code length among the numbers counted by the latch A 207 and latch B 20g run length 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 a1 detection 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の内容を一旦バッツァメモリ210に格
納するのは、符号化モードの確定された次の時刻から次
の符号化動作が開始し、ROMテーブルより次の符号化
データがラッチC209に数クロック(最低lクロック
)で入力されることがある。従って、モードの確定後は
次の符号化データをラッチ可能な様にラッチC209の
内容はバッファメモリ210に送られ、バッファメモリ
210よりタイミングを取って後段に出力される。The reason why the contents of latch C209 are temporarily stored in Batza memory 210 is that 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 1 clock). 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図において、左方からの符号化の結果、起点
aoが図の位置になったとすると、次に発生すべきコー
ドは第21図の如く。Now, in FIG. 20, assuming that the starting point ao is at the position shown in the figure as a result of encoding from the left, the code to be generated next is as shown in FIG.
〔Hモードコード+白12ターミネイトコード+黒Oタ
ーミネイトコード〕である。ここで、第21図(1)の
コードは変化点a1の時刻に前述した手段により1つの
コードとして扱う事ができ問題ない、しかし、第21図
(2)のコードは本来変化点a2が変化点a1と別の時
刻に来た時、変化点a2の時刻に於いて発生するべきコ
ードである。だが本ケースの場合、明らかに変化点a2
として記号検出回路201等から検知されない。[H mode code + white 12 terminator code + black O terminator code]. Here, the code in Figure 21 (1) can be treated as one code at the time of the change point a1 by the above-mentioned means, and there is no problem. However, the code in Figure 21 (2) originally changed at the change point a2. This is the code that should be generated at the time of change point a2 when the time point is different from point a1. 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〜22
03信号の論理積をとることにより第20図の状態を検
知し、2204−1信号をつくり(即ち1時刻はalと
同じ)、まず、第20図(1)のコードを前述の方法で
出力する0次にランレングスカウンタを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 22 are monitored by the AND gate 2207.
Detect the state in Figure 20 by taking the AND of the 03 signals, create the 2204-1 signal (that is, time 1 is the same as al), and first output the code in Figure 20 (1) using the method described above. After performing predetermined processing such as clearing the run length counter to O, the signal 2205-1 in FIG. 21 is generated by delaying the signal 2204-1 in FIG. 2) Generates the black 0 termination code.
第2図のバッキング回路211は前述の方法によって得
られたコード及びコード長を入力としくこの除法々に発
生する各々のコード長(コードのビット数)は一定して
いない。但し、最長はHモードコード(=ooi)を付
加しても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 (=ooi) is added, the longest is 16 bits), and the circuit is sequentially grouped in units of 16 bits, and in this embodiment, each 16 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.
To Control) signal details. MM
In the case of the R method, RTC code=EOL code×2 times.
即ちRTC信号は(000000000001)X2=
0000000000QI 、00000000000
1で表現される。又本実施例においては、前述してきた
ように1クロック時間で16ビツトのコードまで出力で
きる構造となっている。従ってRT−C信号を出力する
には第3図示の垂直同期信号136−1等を監視する事
により、1ページの終りを検知し、2クロック時間(2
時刻)のパルスを発生させ、このパルスを(第15図に
示した)ROMテーブル0206のアドレス信号150
7として与える事により、ROMテーブルの相当する番
地にEOLコード及びコード長を書込んでおき、出力さ
せればRTCコードを前述の画像に対するコードに続い
て得る事ができる。That is, the RTC signal is (000000000001)X2=
0000000000QI, 00000000000
It is expressed as 1. 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 RT-C signal, the end of one page is detected by monitoring the vertical synchronizing signal 136-1 shown in FIG.
This pulse is used as the address signal 150 of the ROM table 0206 (shown in FIG. 15).
7, the EOL code and code length are written in the corresponding address of the ROM table, and by outputting them, the RTC code can be obtained following the code for the above-mentioned image.
次に前述した3つの符号化法の相異点を第1表に挙げて
おく。Next, Table 1 lists the differences between the three encoding methods described above.
そこでMl(法の符号化法は前述したMMR法のHモー
ドを繰返して行く場合とほぼ同じであるが次の点で相異
する。Therefore, the encoding method of the Ml (method) is almost the same as the case of repeating the H mode of the MMR method described above, but differs in the following points.
即ち
(1)MH法ではHモードコード(001)は不要
(2)MH法では白ラン、黒ランはペアにする事は不要
(3)MH法ではlライン毎にEOLコードを入れる
(4)RTCの違い
又MR法の場合は
(1)1次元ラインは、MH法と同じ
(2)2次元ラインは、MMR法と同じ(3)ラインの
区切りは
EOL+1=0000000000011又は
EOL+0=OO00000000010(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 = OO00000000010 (4) RTC
Difference (5) Due to the K parameter, one-dimensional lines and two-dimensional lines coexist.
結局、3つの符号化法間の切換えは前述したMMR法の
回路の動Sを、MR法又はMH法の方式選択信号により
制御する事により容易に実現できる。After all, switching between the three encoding methods can be easily realized by controlling the operation S of the circuit for the MMR method described above using a method selection signal for the MR method or the MH method.
まず第24図にラインー区切り・コードの違いを制御す
る回路例を示す。図中、2407はラインカウンタ、2
408はナントゲート、2409はアンドゲート、24
10はインバータである。即ち、第24図の2401は
第3図の320に示すt−1時刻のパルス信号で、各コ
ーディングライン毎に繰返される又該時刻t−iには画
像符号化に伴なう、コードは発生しない。このt−1時
刻のパルス信号はアドレスカウンタ111の値をデコー
ドすることにより得る。又、2402及び2403は符
号化法を指定するCpu等、本実施例回路外からの符号
化法選択信号である。又136−2信号は第3図の13
6−2信号と対応し、従って、K進カウンタ2407は
、MR法のにパラ−メータの進み方を信号136−2を
カウントしライン会カウンタとして、監視する。First, FIG. 24 shows an example of a circuit for controlling differences between lines, delimiters, and codes. In the figure, 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. do not. This pulse signal at time t-1 is obtained by decoding the value of 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 13 in Figure 3.
Therefore, the K advance counter 2407 counts the signal 136-2 and monitors the progress of the parameters in the MR method 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. The desired line/separator Φ code is obtained by outputting the desired line/separator Φ 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.
又MHiにおいては常にHモード−コード(001)も
不要となるよう制御するがこれも前述のROMテーブル
C20Bのアドレス信号A7を0とすることにより達成
する。Also, in MHi, control is performed so that the H mode code (001) is always unnecessary, and this is also achieved by setting the address signal A7 of the ROM table C20B to 0.
又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は画像ゲート信号で“0
”°レベルの間、動作を休止させる事を示す信号である
。又2502は前記ゲート信号2501とクロック13
4との論理積により作り出された歯抜けのクロックであ
り、該クロック2502を前述のクロック134に代っ
て本実施例の実質の内部回路へ送れば、本実施例はクロ
ック信号によってのみ状態が遷移し得るものであるから
第25図斜線部は明らかに休止状態となる。That is, in FIG. 25, 2501 is the image gate signal "0".
2502 is a signal indicating that the operation is stopped during the "° level. Also, 2502 is a signal that indicates that the operation is stopped during the "° level.
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.
この休止制御により、例えば、符号化すべき画像信号の
発生源の画像信号の出力速度等が、符号化回路の動作に
制限される事がない、又、逆に、例えば、画像発生源が
ディスクを備えた画像ファイルの場合等、1ページの画
像信号の出力が間欠的になされたとしても、符号化回路
が、その間欠的出力に同期して符号化動作を間欠的に実
行する事ができる。従って、画像信号の出力源と符号化
回路の間に時間合せ用の多大なバックアメモリ等を必要
とせずに、出力源からの画像信号を逐次符号化する事も
できる。With this pause control, for example, the output speed of the image signal of the source of the image signal to be encoded is not limited by the operation of the encoding circuit, or conversely, for example, if the image source is Even if the image signal of one page is output intermittently, such as in the case of an image file provided with the image file, the encoding circuit can perform the encoding operation intermittently in synchronization with the intermittent output. Therefore, the image signal from the output source can be sequentially encoded without requiring a large amount of backup memory for time alignment between the image signal output source and the encoding circuit.
次に第26図及び第27図によって、本実施例の回路へ
符号化すべき画像を並列形式で与える方法について述べ
る。即ち、第26図の2601は8ビツトの並列データ
を入力とし、2602に1ビツトの直列データとして出
力できる並直列変化用シフトのレジスタである。Next, a method of supplying images to be encoded to the circuit of this embodiment in 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 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,
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 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 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 the above embodiments, MH, MR, and MMR encoding has been described, but it goes without saying that other encoding methods can also be applied. The encoded code is input from a digital reading device, 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, it goes without saying that the present invention is not limited to this configuration, and that various modifications and changes can be made within the scope of the claims.
第 1 表
〔効 果〕
以北説明した様に、未発明によると水モモードである旨
を示す識別コードとそれに続いて発生すべき先頭の符号
化コードを一体コードとして出力するので、複数コード
を出力する際の出力時間の短縮がなされ、入力画像信号
に対して遅れのない符号化動作が可使となる。Table 1 [Effects] As explained above, according to the uninvented invention, the identification code indicating the water mode and the first encoding code to be generated following it are output as an integrated code, so multiple codes can be output. The output time at the time of output is shortened, and encoding operation without delay can be used for the input image signal.
第1図及び第2図は本発明を適用した符号化装置の構成
を示すブロック図、第3図は符号化動作を示すタイミン
グチャート図、第4図、第5図及び第6図はリファレン
スラインとコーデングラインの関係を示す図、第7図は
仮想変化点発生回路の構成例を示す図、第8図は第7図
示回路の動作を示すタイミングチャート図、第9図はセ
レクタの構成例を示す図、第10図は変化点検出回路の
構成例を示す図、第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図示回
路の出力状態を示すタイミングチャート図であり、10
1及び105は仮想変化点発生回路、106及び107
は変化点検出回路、108〜110はレジスタ、111
はアドレスカウンタ、201は記号検出回路、203は
ランレングスカウンタ、207〜209はラッチである
。
出 願 人 キャノン株式会社
代 理 人 丸 島 儀 −朗昆囲羽第
7図
:
謝J図
凋52図
奏しtO図
捲//図
項#/215J
萌し73図
再々引2
津、/乙U
第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. , FIG. 10 is a diagram showing an example of the configuration of a change point detection circuit, FIGS. 11 and 12 are diagrams showing an example of the integral configuration of the symbol detection circuit, and FIG. 13 is a diagram showing an example of the configuration 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 an example of the configuration of an equivalent circuit 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. Applicant: Canon Co., Ltd. Managing Director: Gi Marushima - Rokun Wa 7th figure: Xie J drawing 52 illustrations tO drawing roll//Illustration #/215J Moeshi 73 drawings reprint 2 Tsu,/Otsu U 2nd Theta Section 24th Figure VEN Pause Pause
Claims (1)
ラインの画像信号をシリアルに取込む手段と、符号化ラ
インの画像信号の変化点間の画素数を計数する手段と、
符号化ラインの画像信号と参照ラインの画像信号の相関
関係を監視し符号化モードを決定する手段と、上記計数
手段の計数値に基づいて符号化コードを発生する手段と
を有し、上記決定手段により水平モードと決定された場
合、水平モードである旨を示す識別コードと上記発生手
段により発生すべき先頭の符号化コードを一体コードと
して出力することを特徴とする画像信号の二次元符号化
装置。means for serially capturing the image signal of the reference line in synchronization with the serial input of the image signal of the encoded line; means for counting the number of pixels between changing points of the image signal of the encoded line;
means for monitoring the correlation between the image signal of the encoded line and the image signal of the reference line and determining the encoding mode; and means for generating the encoded code based on the count of the counting means, Two-dimensional encoding of an image signal, characterized in that when the horizontal mode is determined by the means, an identification code indicating the horizontal mode and a leading encoding code to be generated by the generating means are output as an integrated code. Device.
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP17080885A JPS6231262A (en) | 1985-08-02 | 1985-08-02 | Two-dimensional 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 |
---|---|---|---|
JP17080885A JPS6231262A (en) | 1985-08-02 | 1985-08-02 | Two-dimensional coding device for picture signal |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6231262A true JPS6231262A (en) | 1987-02-10 |
Family
ID=15911720
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP17080885A Pending JPS6231262A (en) | 1985-08-02 | 1985-08-02 | Two-dimensional coding device for picture signal |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6231262A (en) |
-
1985
- 1985-08-02 JP JP17080885A patent/JPS6231262A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4688100A (en) | Video data encoding/decoding apparatus | |
US4654719A (en) | Coding circuit for facsimile apparatus | |
US5655032A (en) | Coding method and apparatus therefor | |
US4543612A (en) | Facsimile system | |
US4799110A (en) | Image signal coding apparatus | |
US4716471A (en) | Data decoding apparatus | |
JP3148103B2 (en) | Image forming device | |
US5424854A (en) | Image processing apparatus for half-tone processing and reproducing high speed images of different resolutions | |
US4918540A (en) | System for encoding or decoding analog video signals | |
JP4164257B2 (en) | Image processing apparatus, image processing method, program, and storage medium | |
JPS6231262A (en) | Two-dimensional coding device for picture signal | |
JPS6231257A (en) | Two-dimensional encoding device for picture signal | |
JPS6231264A (en) | Encoder for picture signal | |
JPS6231263A (en) | Two-dimensional coding device for picture signal | |
JPS6231260A (en) | Two-dimensional coding device for picture signal | |
JPS6231261A (en) | Coding device for picture signal | |
EP0928099A2 (en) | Increased functionality for holladay halftoning | |
JPS6231259A (en) | Two-dimensional coding device for picture signal | |
JP3171908B2 (en) | Image output device and image output method | |
US6282321B1 (en) | Context generation circuit and method for small screen | |
JPS6231258A (en) | Two-dimensional encoding device for picture signal | |
JP3171601B2 (en) | Control method for facsimile machine | |
JPS63302669A (en) | Transforming method for picture coding system | |
JPH0767140B2 (en) | Equipment | |
JPH0670137A (en) | Facsimile equipment |