JPS60257668A - Encoder for compression code - Google Patents

Encoder for compression code

Info

Publication number
JPS60257668A
JPS60257668A JP11483684A JP11483684A JPS60257668A JP S60257668 A JPS60257668 A JP S60257668A JP 11483684 A JP11483684 A JP 11483684A JP 11483684 A JP11483684 A JP 11483684A JP S60257668 A JPS60257668 A JP S60257668A
Authority
JP
Japan
Prior art keywords
code
output
signal
circuit
register
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
JP11483684A
Other languages
Japanese (ja)
Other versions
JPH0646777B2 (en
Inventor
Kazutoshi Hisada
久田 加津利
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 JP59114836A priority Critical patent/JPH0646777B2/en
Publication of JPS60257668A publication Critical patent/JPS60257668A/en
Publication of JPH0646777B2 publication Critical patent/JPH0646777B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate synchronizing shift of decoding operation by fetching the next compression code after the end of reproduction of decoded data. CONSTITUTION:The compression code from a recording circuit 101 is head- located via a multiplexer 102 and fetched to a register 103. Then the code is decoded a decode logic 104 and a code table ROM105 and the run length is set to a run length counter 108. A reproducing signal is outputted from an FF109 to a printer 111 in response to the value of the counter 108. The next compression code is fetched to the register 103 after the end of reproduction of the preceding decoded data. Then the synchronizing shift of the decoding is eliminated.

Description

【発明の詳細な説明】 本発明はファクシミリや画像電子ファイル等に用いられ
る帯域圧縮符号化による圧縮コードの復号装置に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a decoding device for compressed codes using band compression encoding used for facsimiles, image electronic files, and the like.

従来のファクシミリ等の画像伝送装置や近年の半、:l
フ〃烏患なギ、ブh竺ん田覆、1各石倹フーノル装置等
においては、画像データを圧縮して取扱うことにより、
データ量を減少せしめ伝送或いは蓄積動作の高速化、効
率化を計っている。
Conventional image transmission devices such as facsimiles and recent semi-transmission devices:
By compressing image data and handling it,
The aim is to reduce the amount of data and increase the speed and efficiency of transmission or storage operations.

かかる画像圧縮とは、いわゆるコード変換操作の一種で
あり、代表的な圧縮方法であるモディファイド・ホフマ
ン(MH) /?:f号化について言えば、画像中の連
続した白又は黒画素のビットブロックを別の圧縮コード
に対応させて表現するものである。この際、発生頻度の
高い画素ピントブロックに対しては短いコード長の圧縮
コートを対応させ、一方、発生頻度の低い画素ビットブ
ロックに対しては長いコード長の圧縮コードを対応させ
ることにより、画素の組合せの発生頻度の偏りを利用し
画像全体をより少ないヒツト数の別のコード列で表現す
るものである。
Such image compression is a type of so-called code conversion operation, and is a typical compression method, Modified Hoffman (MH)/? Regarding f-coding, bit blocks of continuous white or black pixels in an image are expressed in correspondence with different compression codes. At this time, pixel focus blocks with a high frequency of occurrence are associated with a compression code with a short code length, while pixel bit blocks with a low frequency of occurrence are associated with a compression code with a long code length. This method utilizes the bias in the frequency of occurrence of the combinations to express the entire image using a different code string with a smaller number of hits.

ところで、この画素ビットブロックに対する圧縮コード
の対応は経験則に基づいて決められたものであり、また
、その圧縮コードのコート長は不揃いなものである。
Incidentally, the correspondence of compressed codes to pixel bit blocks is determined based on empirical rules, and the coat lengths of the compressed codes are irregular.

また、符号化コードが個々に表わす画素数が異なるので
、符号化コードに対応した画像再生時間も異なる。従っ
て、次に復号すべき符号化コードの復号回路への刑込み
タイミングを得ることは難しかった。しかし、例えは画
像再生装置として、間欠駆動が不可能なプリンタ等を用
いた場合、復号回路からは復号データを途切れることな
くプリンタに供給せねばならず、連続した符号化コード
の復号もそれに対応する必要がある。
Furthermore, since the number of pixels each encoded code represents differs, the image reproduction time corresponding to the encoded code also differs. Therefore, it is difficult to obtain the timing for inputting the encoded code to be decoded next into the decoding circuit. However, for example, if a printer or the like that cannot be driven intermittently is used as an image reproducing device, the decoding circuit must supply decoded data to the printer without interruption, and decoding of continuous encoded codes also corresponds to this. There is a need to.

本発明は以りの点に鑑みてなされたもので、復号すべき
圧縮コートの取込み及び復号を再生動作に適合させ、高
速な復号処理を可能とする圧縮コートの復号装置を提供
するものである。
The present invention has been made in view of the above points, and it is an object of the present invention to provide a compressed code decoding device that adapts the capture and decoding of the compressed code to be decoded to the playback operation and enables high-speed decoding processing. .

/ /′ / // / / // −7 / 本発明の詳細な説明を以下に述べる。/ /′ / /// / / /// -7 / A detailed description of the invention follows.

まず、本発明の実施例の概要を第1図に示す回路ブロッ
ク図を用いて説明するう 第1図において101は記憶回路であり、例えば画像を
光電的に読取るリーグや画像をファイルする電子ファイ
ル、伐いは電話線等の伝送路を介して画像情報を受信す
る受信機等から入力された既に別途手段を用いて画像信
号を圧縮符号化することによシ得た諮る。MH(モディ
ファイド・ホフマン)コードを、16ビツト(1A立 ワード)単Zで順次読出し可能な形で記憶している回路
で、例えばRAM、(ランダム・アクセス・メモリ)又
はラッチ回路等により実現できる回路である。又、記憶
回路101に於けるMWココーの記憶形式は、第2図(
a)に−例を示す如くである。即ち、MHココ一本来の
仲買としてそのコード長は不揃い(最小2ビツト〜最大
15ビツト)であるが、コード長に拘らず、1ビツトの
空もなく、第2図(b)の如くシリアルに連ねたビット
列を16ビツト毎に並列に変換して並べた形式である。
First, an outline of an embodiment of the present invention will be explained using the circuit block diagram shown in FIG. 1. In FIG. This method is obtained by compressing and encoding an image signal using a separate means, which is input from a receiver that receives image information via a transmission path such as a telephone line. A circuit that stores MH (Modified Hoffman) codes in a 16-bit (1A standing word) single Z format that can be read out sequentially, and can be realized by, for example, RAM, (random access memory), or a latch circuit. It is. Furthermore, the storage format of MW Coco in the memory circuit 101 is shown in FIG.
An example is shown in a). That is, as MH Coco is an original broker, the code lengths are not uniform (minimum 2 bits to maximum 15 bits), but regardless of the code length, there is no blank bit, and the serial code is not uniform as shown in Figure 2 (b). This is a format in which a series of bit strings are converted and arranged in parallel every 16 bits.

、第2図(b)において、WB及びDBは夫々白及び黒
画素を示すMHココーで、WB及びBBの後の数字はそ
のコードの示すランレングスを表わしておシ、例えば、
WB84′iランレングス8の白を示すMHココーであ
る。この形式に於いてMHココーの区切シとワード(1
6ビツト)の区切シとは必ずしも一致してイナイ。又、
記憶回路101け外部コントロールに依シ、後続のワー
ドを順次、パラレル出方できる機能を有するものである
, In FIG. 2(b), WB and DB are MH codes indicating white and black pixels, respectively, and the numbers after WB and BB indicate the run lengths indicated by the codes.For example,
This is MH Coco showing white with WB84'i run length 8. In this format, MH Coco's delimiter and word (1
It does not necessarily match the 6-bit) delimiter. or,
The memory circuit 101 has a function of sequentially outputting subsequent words in parallel depending on external control.

第1図において102け謂ゆるマルチ・プレクサ(デー
タ・士しクタ)である。また、1o3け28ビット並列
入力及び出力を有するレジスタであり、記憶回路101
から、マルチ・プレクサ102を経て、レジスタ103
の入力111に4えラレるMHココーを一時記憶する4
1!能及び既にレジスタ103に記憶しているMHココ
ーを出力として後述するMlコード・デコード・ロジッ
ク104及びMHココー・デコード・テーブルROM(
リード・オンリ・メモリ)105等に与える役割りを有
する。
In FIG. 1, 102 is a so-called multiplexer (data processor). It is also a register having 103 28-bit parallel inputs and outputs, and the memory circuit 101
from, via multiplexer 102, to register 103.
Temporarily store MH coco in input 111 of 4
1! The Ml code decode logic 104 and the MH coco decode table ROM (to be described later) output the function and the MH coco already stored in the register 103.
(read-only memory) 105, etc.

マルチ・プレクサ102及びレジスタ103とでデータ
の7リアル・シフト及びnビットのジャンプ・シフトが
可能な謂ゆるビット・シフタを形成する。このビット・
シフタは後述するMUココー・デコード・ロジック10
4及びMHココー・デコードROM 105の出力等に
よりコントロールされ、前述の方法によりM Hコード
の境目Vこ拘りなく記憶回@ 101がレジスタ103
内に記憶されたlAHコードを必要なビット数だけシフ
トし記憶する機能を果すものである。第5図(詳イ帽ま
後述する)はこのビットシフタの詳細な構成を示す図で
あシ、レジスタ105内に例示されたMHココー列は第
1図示の記憶回路101内に例示したM Hコードが適
切なコントロールを経て、レジスタ103内に移動し、
更に白のランレングス8を示すM、HD−ドWBI (
10011)がデコード可能な位置に来た状態を図示し
ている。即ち第3図示のレジスタ103の出力C!、即
ち、 LSB出力にMl(コードの先頭ビットが出力さ
れている状態をデコード可能な位置とし、今後1頭出し
完了」と称する。従って第3図レジスタ105内のコー
ドの配列は白のランレングス8を示すM HコードWB
8が「頭出し完了」の状態にある事を示している。
The multiplexer 102 and the register 103 form a so-called bit shifter capable of 7-real shifting and n-bit jump shifting of data. This bit
The shifter is MU Coco Decode Logic 10, which will be described later.
4 and the output of the MH code decode ROM 105, etc., and by the method described above, the memory times @ 101 are stored in the register 103 regardless of the boundaries of the MH code.
It functions to shift and store the lAH code stored in the memory by the necessary number of bits. FIG. 5 (details will be described later) is a diagram showing the detailed configuration of this bit shifter, and the MH code string exemplified in the register 105 is the MH code exemplified in the storage circuit 101 shown in FIG. is moved into register 103 through appropriate controls,
Furthermore, M, HD-do WBI (
10011) is at a position where it can be decoded. That is, the output C! of the register 103 shown in FIG. That is, the LSB output is called Ml (the state in which the first bit of the code is output is the decodable position, and the next one is completed.) Therefore, the code arrangement in the register 105 in FIG. 3 is a white run length. MH code WB indicating 8
8 indicates that the state is "cueing completed".

第1図において104けMH・コード・デコード・ロジ
ック(以下ロジック104と称する)であシ、M′Hコ
ードのコード長よシMHコードの示すランレングスの方
が短い以下の4種のコード、即ち、白のランレングスj
(MUココーで000111 、コード長=6〉ジンレ
ングス=1)、白の2ンレングス2(Mulコード01
11、コ)’長= 4 > ?ンレングス=2 )、 
白のランレングス5(Ml(コードで1000、コード
長=4〉ランレングス=3)及び黒のランレングス1(
MHlコード010、コード長=3〉ランレングス=1
)をデコードする回路である。尚、以下の説明中、白の
ランレングス1、白のランレングス2、白のランレング
ス3及び黒のランレングス1を夫々示す上述の4種のM
HlコードまとめてJ(Soココーと貯ぶことKする。
In FIG. 1, there are 104 MH code decode logics (hereinafter referred to as logic 104), and the run length of the MH code is shorter than the code length of the M'H code. That is, the white run length j
(MU Coco 000111, code length = 6> gin length = 1), white 2 length 2 (Mul code 01
11, K) 'Length = 4 > ? length = 2),
White run length 5 (Ml (1000 in code, code length = 4> run length = 3) and black run length 1 (
MHL code 010, code length = 3> run length = 1
). In addition, in the following explanation, the above-mentioned four types of M, which respectively indicate white run length 1, white run length 2, white run length 3, and black run length 1, will be used.
Hl code together J (So here and save K.

第1図において105はMH・コード・デコード・RO
M (以下ROM105と称する)であり、前述のロジ
ック104がデコードを受持つ5f?lのM)lコード
を含む全てのMH・コードを主としてデコードする回路
である。
In Figure 1, 105 is MH, code, decode, RO
M (hereinafter referred to as ROM 105), and the above-mentioned logic 104 is in charge of decoding. This is a circuit that mainly decodes all MH codes including the M)l code.

ロジック104及びROM105はMHlコード処理ス
ピード、及び方法の違いにより、デコードを受け持つM
Hlコード区分しているのであるが、これら2つのデコ
ーダによりレジスタ103においてMHlコード1頭出
し完了」する毎に、該MHlコードランレングス、コー
ド長及び黒又は白の画像の色の別、そしてメイク・アッ
プ・コード又はターミネイト・コードの別、あるかない
か等の出力をするものである。
The logic 104 and the ROM 105 are different from each other in MHL code processing speed and method.
Each time these two decoders complete the beginning of one MHL code in the register 103, the MHL code run length, code length, black or white image color, and makeup are classified.・It outputs whether there is an up code or a terminate code, and whether it is present or not.

112#′1EliOL検出回路で、レジスタ105に
ビットシリアルに格納されたMUココー中にライン同期
のためのコード、即ち、エンドオブライン(BOL )
コードが存在するか否か及びその格納位置を検出する。
112#'1EliOL detection circuit, the code for line synchronization in the MU code stored bit serially in the register 105, that is, end of line (BOL)
Detect whether the code exists and its storage location.

瀉1図において108はランレングス カウンタでカウ
ント、6”o”から最大のメイク・アップ・コードのラ
ンレングス、Nilち″2560″以上のカウントが可
能なバイナリ・カウンタである。このランレングス・カ
ウンタ108はロジック104又i−iRl−1ROか
ら出力されるM lコードのランレングスをカウントし
終える毎にカウント終了信号(本例ではカウンタのリッ
プル・キャリOR)を出力する。
In Figure 1, numeral 108 is a run length counter, which is a binary counter that can count from 6"o" to the maximum make-up code run length, Nil, or more than "2560". This run-length counter 108 outputs a count end signal (ripple carry OR of the counter in this example) every time it finishes counting the run length of the M1 code output from the logic 104 or i-iR1-1RO.

109けクリップ・70ツブであシ、前述のランレング
ス・カウンタ108からのカウント終了信号(リップル
・キヤjJOR)を受けて、その度毎に出力を反転させ
る。但し、後述するようにメイク・アップ・コードのカ
ウント終了信号では該出力は反転しないように制御され
る。このフリップ・70ツブ109の出力が記憶回路1
01から読1(j t、九MT1コードをデコードして
得られた画像信号である。
It has 109 clips and 70 tubes, and receives the count end signal (ripple signal jJOR) from the aforementioned run length counter 108, and inverts the output each time. However, as will be described later, the output is controlled so as not to be inverted by the count end signal of the make-up code. The output of this flip 70 tube 109 is the memory circuit 1
This is an image signal obtained by decoding the 9MT1 code.

107けコード・レングス・カウンタでMH・コードの
最大コード長である15”以上をカウントできるバイナ
リ・カウンタでレジスタ7( 105内において「!Xi出し終了」していたMH・コ
ードをシリアルジフト或いはジャンプ・シフトする事に
よって、デコード済コードとじてに、そのシフト量をカ
ウントし制御するものである。
The 107-digit code length counter is a binary counter that can count over 15", which is the maximum code length of the MH code, and can be used to serially shift or jump the MH code that was "!Xi output completed" in register 7 (105). By shifting, the amount of shift is counted and controlled as a decoded code.

106け4ビツトのアキュミュレータである。It is a 106-bit, 4-bit accumulator.

上述したようにレジスタ103内に記憶回路101から
取込まれたMHlコードデコード済となると順次レジス
タ103から掃出され、これによシ、レジスタ103内
に空ビットができる。そこでアキュミュレータ106が
レジスタ103内の空ビットの蚊をカウントし、16ビ
ツトの空ビットができる毎に新たなMHlコード記↑J
f回路101から1ワード(16ビツト)パラレルにレ
ジスタ105内の空ビットへ補充する。これによりレジ
スタ103からロジック104又壷よROM105へ与
えるMHlコード列が途切れないように制御し、高速な
デコード動作を0T能とするう 尚、110は第1図示のプ四ツク101〜109間の入
出力信号を制御する制御回路を図示したものである。
As described above, once the MHL code taken into the register 103 from the storage circuit 101 has been decoded, it is sequentially flushed out of the register 103, thereby creating an empty bit in the register 103. Therefore, the accumulator 106 counts the number of empty bits in the register 103, and writes a new MHL code every time there are 16 empty bits.
One word (16 bits) is replenished from the f circuit 101 to empty bits in the register 105 in parallel. As a result, the MHL code string applied from the register 103 to the logic 104 or the ROM 105 is controlled so as not to be interrupted, and a high-speed decoding operation can be performed at 0T. This is a diagram illustrating a control circuit that controls input/output signals.

以上の如くしてMHココーを画像信号へ変換、即ちMH
ココーの復号がなされる。復号された画像信号はプリン
タ111に供給され、被記録材上に画像記録がなされる
。尚、プリンタ111からは1走査毎の同期信号である
水平同期信号HS!Noが出力され、このH8YNOけ
復号動作のタイミングに用論られる。
As described above, MH Coco is converted into an image signal, that is, MH
Coco decoding is done. The decoded image signal is supplied to the printer 111, and the image is recorded on the recording material. Note that the printer 111 sends a horizontal synchronization signal HS! which is a synchronization signal for each scan. No is output and used at the timing of this H8YNO decoding operation.

次に本発明の実施例を更に具体的に説明する。Next, embodiments of the present invention will be described in more detail.

本実施例tま、画像圧縮符号であるMuココーを復号し
た結果である画像信号を何らの画像メモリを設けること
なくレーザ・ビーム・プリンタ等の高速プリンタに直接
出力するのに使用する謂ゆる1高速・リアル・タイム・
MH−デコーダを提供するものである。従って、ME・
デコーダの処理速度の高速性及びMl・デコーダの画像
出力(本例は画倫周波数二十数MH2を初市)とレーザ
・ビーム・プリンタ等の高(ニドプリンタとの同期の問
題が解決されねばならない。
In this embodiment, so-called 1 is used to directly output an image signal that is the result of decoding an image compression code Mucoco to a high-speed printer such as a laser beam printer without providing any image memory. High speed, real time,
MH-decoder. Therefore, ME・
The processing speed of the decoder is high, the image output of the Ml/decoder (in this example, the image frequency is 20-odd MH2) and the high speed of laser beam printers (the problem of synchronization with the Nido printer has been solved). Must be.

そこで、これらの問題点を解決する為に、以下に述べる
処理方法に基き所望の”高速・リアル・タイム・Mu・
デコーダを実現する。
Therefore, in order to solve these problems, the desired "high-speed, real-time, Mu,
Realize a decoder.

(1)MH・デコーダとプリンタの同期はMHココーの
ff0Lとプリンタの1ライン毎の同期信号である水平
同期信号とで行なう。
(1) Synchronization between the MH decoder and the printer is performed using FF0L of the MH coco and a horizontal synchronization signal which is a synchronization signal for each line of the printer.

(2)J112ルジスタ105内において「頭出し完了
」してデコード済となったM Hコードを掃出し、後続
のMHココーを「頭出し完了」の位tRまでシフトする
方法として、掃出すべきコードによってジャンプシフト
及びシリアル/7トの2種類の方法のうちのどちらかを
使用するようにするう この2点を達成するための具体的な構成を図面を用いて
説明する。
(2) In the J112 register 105, as a method of sweeping out the MH code that has been decoded with "cueing completed" and shifting the subsequent MH code to the position tR of "cueing completed", depending on the code to be swept out. A specific configuration for achieving these two points using either of the two methods of jump shift and serial/sevento will be described with reference to the drawings.

第8図は第1図に出力部の例として示し念レーザ・ビー
ム・プリンタの一実施例の構成を示す斜視図である。
FIG. 8 is a perspective view showing the structure of an embodiment of the laser beam printer shown in FIG. 1 as an example of the output section.

このプリンタはレーデ光を用いた成子写真方式によるも
のであり、201はハウジングHa内に可回動に支持さ
れた感光ドラムであるう202はレーザ光IJaを出射
する半導体レーデであり、出射されたレーザ光Laけビ
ームエキスパンダ203に入射せしめられ、所定のビー
ム径をもったレーザ光となる。更にレーザ光は鏡面を複
数個有する多面体ミラー204に入射されろう多面体ミ
ラー204け定速回転モータ205により所定速度で回
転される。多面体ミラー204によってビームエキスパ
ンダ203よシ出射したレーザ光は実質的沈水平に走査
される。そしてf−θ特性を有する結像レンズ206に
より、帯電器216によシ所定の極性K[[されている
感光ドラム201上にスポット光として結像される。
This printer is based on the Nariko photographic system using Raded light, and 201 is a photosensitive drum rotatably supported in a housing Ha. 202 is a semiconductor Raded that emits laser light IJa. The laser beam is made incident on the beam expander 203, and becomes a laser beam with a predetermined beam diameter. Further, the laser beam is incident on a polygonal mirror 204 having a plurality of mirror surfaces, and the polygonal mirror 204 is rotated at a predetermined speed by a constant speed rotation motor 205. The laser light emitted from the beam expander 203 by the polyhedral mirror 204 is scanned in a substantially horizontal direction. Then, by the imaging lens 206 having f-θ characteristics, the light is imaged as a spot light by the charger 216 onto the photosensitive drum 201 which has a predetermined polarity K[[.

207け反射ミt −208によって反射されたレーザ
光を検知するビーム検出器で、この検出信号によシ感光
ドラム201上に所望の光情報を与えるため半導体レー
ザ202の変調動作のタイミングを決定する。
A beam detector detects the laser light reflected by the reflector 207 and 208, and this detection signal determines the timing of the modulation operation of the semiconductor laser 202 in order to provide desired optical information on the photosensitive drum 201. .

感光ドラム2旧上に7r15像走査されたレーザ光によ
り感光ドラム201上に高解像度の静層潜像が構成され
る。この潜像は現像器209によシ顕画化された後、カ
セツ) 210,211のいずれかに収納されている記
録材に転写され、更に定着器212を記録材が通ること
によシ像は記録材に定着されハードコピーとして不図示
のPL出部に排出される。
A high-resolution static layer latent image is formed on the photosensitive drum 201 by the laser beam that is scanned in 7r15 images on the photosensitive drum 2 . After this latent image is developed by a developing device 209, it is transferred to a recording material stored in either of the cassettes 210 and 211, and when the recording material passes through a fixing device 212, an image is formed. is fixed on the recording material and discharged as a hard copy to a PL output section (not shown).

第9図に第8図の半導体レーザを所定の画像(fi号に
よシ変調するためのプリンタ回路の一実施例を示す。
FIG. 9 shows an embodiment of a printer circuit for modulating the semiconductor laser shown in FIG. 8 with a predetermined image (fi number).

復号処理されて入力4子工Nから入力された画像信号V
IDJCOは1走査分の画像信号群毎に少なくとも1走
査分の画素数に等しい数のビット数を持つシフトレジス
タ等からなる2P、1ラインバツフア301及び第22
インバツフア302に、バッファスイッチ側脚回路30
3のIgll(2)により交互に入力される。
Image signal V that has been decoded and input from the input 4 child factory N
The IDJCO includes a 2P, 1-line buffer 301, and a 22-bit shift register having a number of bits equal to at least the number of pixels for one scan for each group of image signals for one scan.
In buffer 302, buffer switch side leg circuit 30
It is alternately input by Igll(2) of 3.

更に、2林1ラインバツフア301及び第2ラインパツ
クア302に入力された画像信号はビーム検出器604
からのビーム検出信号をトリガ信号として1走査分毎に
交互に読出され、レーザドライバ505に加えられる。
Furthermore, the image signals input to the second line buffer 301 and the second line buffer 302 are transmitted to the beam detector 604.
The beam detection signal from the laser beam detection signal is read out alternately every scanning minute as a trigger signal, and is applied to the laser driver 505.

レーザドライバ305 V′iレーザ光の発光を制御す
べく入力した画像信号に基づき半導体レーザ506を変
調制御する。
Laser driver 305 modulates and controls the semiconductor laser 506 based on the input image signal to control the emission of V'i laser light.

ラインバッファを2個有することによシ次々に入力され
る画像信号をいずれかのツインバッファに入力している
間に他方のラインバッファに既(格納されてrる両像信
号をレーザドライバ505に出力するので高速な画像信
号の入力に対応可能である。
By having two line buffers, while inputting image signals that are input one after another to one of the twin buffers, both image signals already stored in the other line buffer can be sent to the laser driver 505. Since it outputs, it can handle high-speed input of image signals.

又、ビーム検出器304からのビーム検出信号は水平同
期信号H8YNOとして復号処理回路にも伝達され、後
述の如く復号処理とプリンタ動作との同期合せに用いら
れる。
The beam detection signal from the beam detector 304 is also transmitted to the decoding processing circuit as a horizontal synchronizing signal H8YNO, and is used for synchronizing the decoding processing and the printer operation as described later.

尚、本プリンタにおいて復号化された画像信号は2つの
ラインバッファ、即ち、第12インバツフア301及び
第2ラインバツフア302によるダブルバッファ構成の
バッファを介して入力される。このダブルバッファ格成
を用いて復号!:・り作に誤まシがあった場合の柿正動
作を行なり。
Note that the image signal decoded in this printer is inputted via a double-buffer configuration consisting of two line buffers, that is, a twelfth in-buffer 301 and a second line buffer 302. Decrypt using this double buffer lattice! :・Persimmon corrective action when there is a mistake in the production.

つまり、復号回路により信号された@像信号を一方のラ
インバッファに格7泊中、(凝号動作に誤まりを生じた
場合、誤まりのあった現フィンの画像信号によるプリン
ト動作を禁止し、他方の2インバツフアに既に格納され
ている前ラインの画像信号によシブリント動作する。
In other words, the @ image signal signaled by the decoding circuit is stored in one line buffer for 7 days (if an error occurs in the decoding operation, printing operation using the image signal of the current fin with the error is prohibited). , performs a sibling operation using the image signal of the previous line already stored in the other two in-buffers.

これによシ、復号誤まシのあった画像信号によるプリン
トがなされないので、再生画像への影響を除去できる。
As a result, printing is not performed using an image signal that has been erroneously decoded, so that the influence on the reproduced image can be eliminated.

尚、この補正動作により同一画像信号による画像が少な
くとも22イン重′復してしまうことになるが、本例に
用いた高解像度(例えば16 Pe’/lo )の記録
動作にお匹ては再生画像にそれほど影響を与えるもので
はない。
Note that this correction operation will result in images based on the same image signal being duplicated by at least 22 inches; It doesn't affect the image that much.

第4図において105#i第1図示のMl・コード・テ
ーブルROMであシ、実際には複数個のROM (リー
ド・オンリ・メモリ)によυ第11成されるものである
。以下にROM 105の内容を模式的に砦、明すると
、AD′111.〜AD 15はROM105のアトl
7ス瑞子である、又0’1J−1j11けROM 10
5の出力端子でちる。ROM105の記憶内容のフォー
マット1寸レジスタ105から供給されるデコードすべ
きMHココーのLSBビットをROM 105のアドレ
ス端子ADQにそろえ以下各MHコードの各ピッ)ヲM
SB方向へ順次ROM105のアドレス端子のADlか
らADllまでに与える。アドレス端子AD13にけM
Hココーの色別を示す信号B/W−1’lOM (黒−
1、白=\)を与えるものとする。尚、MHココーが1
2ビツトよセ短い場合けその不足分のビットは無視(D
ON〒(3ARff )する。又、EOLコードはメイ
クアップコードとして扱う。又ランレングス1792以
上のメイクアップコードの色別ビット(ADl5)は無
視(DON’T 0ARJ!i)とするつROM 10
5には、以上によって決めたアドレスの記憶データとし
て各アドレスを与えたMEココーの内容を書き込んでお
き、各M T(コードに対応した出力を出力端子00〜
011に出力するつ即ち、出力端子0′vLけデコード
したEMHコードがメイクアップコードのときに「1」
、ターミネイトコードのときに1−0」となる信号Ml
干を111力する。出力端子61はデコードしたM H
コードがランレングス0の白コード(ootlotof
)又はランレングス0の黒コード(00001fol 
11)のときに10」を出力し、その他の時「1−1と
なる信−号TOを出力する。
In FIG. 4, the Ml/code table ROM 105#i shown in the first diagram is actually constructed by a plurality of ROMs (read-only memories). The contents of ROM 105 are schematically explained below, and AD'111. ~AD 15 is the address of ROM105
7th Mizuko, also 0'1J-1j11 ROM 10
Chill at output terminal 5. Format of storage contents of ROM 105 Align the LSB bit of the MH code to be decoded supplied from the 1 inch register 105 to the address terminal ADQ of the ROM 105, and then write each bit of each MH code below.
It is applied sequentially to the address terminals ADl to ADll of the ROM 105 in the SB direction. Address terminal AD13 M
Signal indicating the color of H Coco B/W-1'lOM (Black-
1. Assume that white = \) is given. In addition, MH Coco is 1
If it is shorter than 2 bits, the missing bits are ignored (D
Turn on (3ARff). Also, the EOL code is treated as a makeup code. Also, color bits (ADl5) of makeup codes with run lengths of 1792 or more are ignored (DON'T 0ARJ!i).ROM 10
5, write the contents of the ME coco given each address as the memory data of the address determined above, and send the output corresponding to each M T (code) to the output terminals 00 to 5.
011, that is, output terminal 0'vL is "1" when the decoded EMH code is a makeup code.
, the signal Ml becomes 1-0 when it is a terminate code.
111 times of dryness. The output terminal 61 is the decoded M H
The code is a white code with run length 0 (ootlotof
) or a black code with run length 0 (00001fol
11), it outputs 10, and at other times it outputs a signal TO which is 1-1.

出力端子02〜05 )ま各MHココーのコード長(ビ
ット数)を2の補数表現した形式の4ビツト出力OLD
〜OLBを出力する。世し、出力端子05は該コード長
のL8Bである。出力1窄1子06〜011は各Ml(
コードのランレングスを2の補数表現した形式の6ビツ
ト出力RLO〜RL5を出力する。但し、出力端子01
1は6クランレングスのTJEBである。J+¥l 、
メイク・アップ・コードに対してはランレングスの2進
数表現の上位6ビツトのみを出力端子06〜011に割
当てる。とれけ1シHコードにおけるメイクアップコー
ドは上位6ビツトのみでもそのランレングスを表現でき
るからである。21隻4図の402にランレングス8の
白を示すMHココーWB8(10011)をデコー−δ ドした用台のROM j(15の出力O\〜〆11を例
示する。(本実施例に用いるMHココー表けCC工TT
YJ!J、LOW−BOOK Faacicle■、 
2 ReC,T、4 TABLJ!i1/’r、4及び
TABIJ 2/T、4 Kよる。)第4図において1
04け第1図示のMlコード・デコード・ロジックであ
り、本実施例でけアンドゲート及びオアゲートによシ構
成した検出ロジックである。ロジック104の出力であ
るH8O信号けH8Oコード、即ち、ランレングス1゜
2及び3の白を示すMHココー及びランレングス1の黒
を示すMHココーを検出した時「0」となる6また、出
力8FQ〜SF2 i−を上述の4種のMHココー(H
8Oコード)の各々のコード長を2進数で表現し、イン
バートして出力したものである。、第4図404にラン
レングス1の白を示すMHココー白I WBI (00
0111)をデコードした場合の出力を例示する。
Output terminals 02 to 05) 4-bit output OLD in which the code length (number of bits) of each MH coco is expressed as two's complement.
~Output OLB. The output terminal 05 is L8B of the code length. Output 1 and 1 child 06 to 011 are each Ml (
It outputs 6-bit outputs RLO to RL5 in a two's complement representation of the code run length. However, output terminal 01
1 is a 6 cran length TJEB. J+¥l,
For the make-up code, only the upper 6 bits of the binary representation of the run length are assigned to output terminals 06-011. This is because the make-up code in the 1-bit H code can express its run length using only the upper 6 bits. 402 in Figure 4 shows the outputs O\ to 11 of the ROM j (15) decoded with MH Coco WB8 (10011), which shows white with run length 8, as an example. (Used in this example) MH Coco surface CC engineering TT
YJ! J, LOW-BOOK Faacicle■,
2 ReC, T, 4 TABLJ! i1/'r, 4 and TABIJ 2/T, 4 K. ) 1 in Figure 4
04 is the Ml code decoding logic shown in the first diagram, and in this embodiment, it is a detection logic configured with an AND gate and an OR gate. The H8O signal which is the output of the logic 104 becomes "0" when detecting the H8O code, that is, the MH coco indicating white with run lengths 1, 2 and 3, and the MH coco indicating black with run length 1. 8FQ to SF2 i- to the above four types of MH Coco (H
8O code) is expressed in binary numbers, inverted, and output. , MH Coco White I WBI (00
0111) is decoded.

尚、H8Oコードのデコード用にロジック回路を用いた
のけ高速処理のために現在のROMアドレス方式では時
間的に充分対応できないからであるつ 第3図示のビットフッタの動作を茂1及び表2を参照し
て第9明する。
The operation of the bit footer shown in Figure 3 is explained in Shigeru 1 and Table 2, because the current ROM addressing method cannot sufficiently handle the high-speed processing using a logic circuit for decoding the H8O code. The 9th explanation will be explained with reference to .

第5図102番ま第1図示のマルチプレクサであり、2
個のトライステートのマルチプレクサ1021及び10
22からなる。マルチプレクサ102へのアキュミュレ
ータ106からの制御紳@が「0」のときけマルチプレ
クサ1022f+11からレジスタ103への出力A7
〜A27けすべて、トライステートの70−ティングと
なることにより、無効となり、レジスタ105にはマル
チプレクサ1021側からの出力Ao〜A27が有効と
なり、レジスタ103の出力Co〜027 となるうそ
の時マルチプレクサ1021け入力線S口〜82によシ
レジスタ103からの入力信号ao”” 027の選択
動作をするつその選択のされ方を表1に示すう例えばS
o= S。
FIG. 5 No. 102 is the multiplexer shown in FIG.
tri-state multiplexers 1021 and 10
Consists of 22. When the control input from the accumulator 106 to the multiplexer 102 is "0", the output A7 from the multiplexer 1022f+11 to the register 103
All ~A27 bits become tristate 70-ting and become invalid, and the output Ao~A27 from the multiplexer 1021 side becomes valid in the register 105, and the output Co~027 of the register 103 becomes the multiplexer 1021 bit. Table 1 shows how to select the input signal ao""027 from the register 103 through the input line S port 82.
o=S.

=j、52=Qの場合はレジスタ103の出力05〜0
27を取込み、夫々出力A1〜A2Sとして選択出力す
る。
=j, 52=Q, outputs 05 to 0 of register 103
27 are taken in and selectively output as outputs A1 to A2S, respectively.

次にマルチプレクサ102への割?+11 線@が「月
の時は、マルチプレクサ102の出力An 、 第6け
制イfil gl (a)が「0」の時と同じにマルチ
プレクサ1021から入力線so〜82によシ選択的に
与えられる。マルチプレクサ102からの出力A7〜A
27のうち表2でYで示す以外はマルチプレクサ102
2側が有効となり、マルチプレクサ1021側の出力A
7〜A27のうち表2でYで示す以外は70−テイ/グ
となシ無効となる。又、マルチプレクサ1022からレ
ジスタ105に与えられる出力A7〜A27け表2に示
す如く、マルチプレクサ1022への入力線Σ0〜Σ2
によシ選択されるが、但し、表2においてYで示すビッ
トはマルチプレクサ1021側から選択される。このY
の数はマルチプレクサ1022への入力線Σa〜Σ2に
対応して出力される入力線ST7〜5T11により一ル
チプレクサ1o21のトライステート状、帽をコントロ
ールすることによシ設定される。なお、第3図のマルチ
プレクサ1021及び1022の回路は市販のマルチプ
レクサ(例えば米国フェアチャイルド社製工C6F25
1等)及びケート回路等により容易に実現できる。又、
マルチプレクサ102においてレジスタ103への出力
としてAn ”−427に選択された出力はクロックO
Kによシレジスタ103にラッチされる。
Next, the allocation to multiplexer 102? When the +11 line @ is "moon," the output An of the multiplexer 102 and the sixth digit fil gl (a) are selectively given to the input lines so~82 from the multiplexer 1021 in the same way as when they are "0". It will be done. Outputs A7-A from multiplexer 102
Of the 27, those other than those indicated by Y in Table 2 are multiplexers 102.
2 side is enabled, and the output A of the multiplexer 1021 side
Among 7 to A27, those other than those indicated by Y in Table 2 are 70-T/G and are invalid. In addition, as shown in Table 2, the outputs A7 to A27 given from the multiplexer 1022 to the register 105 are the input lines Σ0 to Σ2 to the multiplexer 1022.
However, the bit indicated by Y in Table 2 is selected from the multiplexer 1021 side. This Y
The number of is set by controlling the tri-state state of the multiplexer 1o21 by the input lines ST7-5T11 output corresponding to the input lines Σa-Σ2 to the multiplexer 1022. Note that the circuits of multiplexers 1021 and 1022 in FIG.
1, etc.) and a gate circuit. or,
The output selected by the multiplexer 102 as An''-427 as the output to the register 103 is the clock O.
K is latched in the register 103.

以上の俤にビット・ン7夕を構成し、記憶回1烙101
よシラ6ビツトパラレルに入力するMHココー信号に対
する任意のビット数分のシフトを可能とする。これによ
り、コード長の不揃いなM)lコードを前述の[頭出し
完r、1状懐にすることができる。
The above-mentioned combination constitutes the Bit N7 evening, memory episode 1 101
It is possible to shift an arbitrary number of bits to the MH Coco signal input in six-bit parallel. As a result, M)l chords with uneven chord lengths can be turned into the above-mentioned [starting complete r, 1 state].

/ 27/ /′ / / 表 1 表 2 XはひON′工CARE 1γI述した如(MHココーが何であるかを判別するの
はレジスタ105内を移動するコード列を監視する方法
をとっているが、その移動方法はビット・シフタ102
等によシ1ビットづつ移動するシリアルシフト及びH8
0コードとして扱われるM Hコードが検出された場合
の最大6ビツトのジャンプシフトが起る。即ち103レ
ジスタ内のコード列は最大でも6ビツト以下の移動しか
1クロック時間にはできないように制御されている。
/ 27 / /' / / Table 1 Table 2 However, the movement method is the bit shifter 102.
Serial shift and H8 that move one bit at a time, etc.
A jump shift of up to 6 bits occurs when an MH code, which is treated as a 0 code, is detected. That is, the code string in register 103 is controlled so that at most no more than 6 bits can be moved in one clock time.

従ってEfOLコード(000000000001)は
レジスタ103内を移動する際、前からの経過で誤った
移動貴であってもそのL8Bビットは必ずレジスタ10
3のO,〜05に現われることになるCである。
Therefore, when the EfOL code (000000000001) is moved in register 103, its L8B bit is always in register 103 even if it is moved incorrectly due to the previous progress.
It is C that will appear in O, ~05 of 3.

さて、一般にMEココーを復号する際、そのコード体系
からしてPJOLコードの検出が極めて重要である。以
′F%第1図示のEOL検出回路112を詳細に説明す
る。
Now, in general, when decoding ME Coco, it is extremely important to detect the PJOL code due to its code system. The EOL detection circuit 112 shown in the first diagram will now be described in detail.

即ち、EOLコードは画像12′イン毎の区切シのコー
ドであると同時にそれに3J(、Mlコードの位置を示
す役割を持っているわけであるが、故にデコードの際f
f1OLコードを検出ミスすると直ちにそれに続く各M
Hココーの区切りが不明となり1ライン分の両仰がデコ
ード不可能となり、父、続く各画像ラインのgOLもそ
の検出法に依っては検出できなくなり、結局プリント出
力した画像乱れが殆んど使用でき、’) m fd I
ljまで波及することになる。
That is, the EOL code is a delimiter code for each 12'in of the image, and at the same time has the role of indicating the position of the 3J (, Ml code), so when decoding, f
If the f1OL code is detected incorrectly, each subsequent M
The delimitation of the H-coco became unclear, making it impossible to decode one line of both sides, and depending on the detection method used, the gOL of each subsequent image line could no longer be detected, so in the end, the printed image was mostly used. I can do it,') m fd I
This will spread to lj.

btって、MEココー列の中でたとえ送・・¥信誤り等
によりM Hコードを多少8【臭っていてもgor、コ
ードのイ・駕出に極力蛎りを起させないIfiOL検出
方法が電装となるのである。
bt means that even if the MH code is slightly 8 due to a transmission error etc. in the ME Coco row, the IfiOL detection method that prevents the code from collapsing as much as possible is the electric equipment. It becomes.

EOLコードが確実に検出されれtfココー誤りけ;面
イ象1ライン内で回復できる。
The EOL code is reliably detected and the tf error can be recovered within one line.

第10図FiEOL検出回路112の詳細なh゛キ成示
す図でちる。勇10図に示すよりに12ビツトのjK)
Lコード(oooooooooool)のTJEIBが
レジスタ103のCo、 C5のどこにきても良いよう
に少なくともレジスタの一度にシフト可能なシ7トJi
 iil]ち6に対1υする6種の検出ゲート1001
で並列に設ける。これによシレジスタ106内の格納デ
ータを監7月することによセJ100Lコードの検出漏
れを防止している。そして、 BOLコードを検出した
検出グー) 1001からは夫々OJI:OL〜5g0
Lの如く、EOLコードのレジスタ103内における位
置を示す咲出信号が出力される。
FIG. 10 is a diagram showing the detailed configuration of the FiEOL detection circuit 112. 12-bit jK as shown in Figure 10)
At least a shiftable sheet Ji of the register 103 at least can be placed so that the TJEIB of the L code (ooooooooooool) can be placed anywhere in the register 103 Co, C5.
iii] 6 types of detection gates 1001 with a ratio of 1υ to 6
are installed in parallel. This prevents failure to detect the J100L code by monitoring the data stored in the register 106. Then, the detection group that detected the BOL code) From 1001, respectively OJI: OL ~ 5g0
An output signal, such as L, indicating the position of the EOL code in the register 103 is output.

この方法により1nOLコ8−ド自身が誤シビットを含
んでいない限りgOL検出を誤る事がなくなるのであス
。従って画像コード叫シは必ず1ライン以内で回復可能
である。又JDOLコード内に誤りビットを含む確率は
画像コード内に誤シビットを含む確率に比較しそのビッ
ト数の割合等からして極めて低く実用上無視できる和度
である。
With this method, gOL detection will not be erroneously detected unless the 1nOL code itself contains an erroneous bit. Therefore, image code errors can always be recovered within one line. Also, the probability that an erroneous bit is included in a JDOL code is extremely low compared to the probability that an erroneous bit is included in an image code, considering the ratio of the number of bits, and can be ignored in practical terms.

εd11図にけ1inOLコード検出のための検出ゲー
トの詳細を示す。図の如く、12ピツトデータをパラレ
ルに取込む構成となっており、そのMOBを除いた11
ビツトのデータを反転グートエNVを介し、前述のMO
Bとともに12人力のNANDゲー)グー002に印加
する。これによりjflOLコードのデコードを行ない
。EOLコードがデコードされた〕局舎にはNANDゲ
ー)グー002の出力がローレベルとなる。
Figure εd11 shows the details of the detection gate for detecting the 1inOL code. As shown in the figure, it is configured to import 12 pit data in parallel, and 11 pit data excluding the MOB.
The bit data is inverted via the GOUTE NV, and the MO
Apply it to Goo 002 (a 12-person NAND game) along with B. As a result, the jflOL code is decoded. Once the EOL code has been decoded, the output of the NAND game 002 becomes low level.

第10図ノFOL 検出回路112ノ出力01!:Oh
〜5EOLはコードレングスカウンタ107及びアキュ
ムレータ106に伝えられる。アキュムレータ106+
−tこの信号により、 gOLコードのコード長針のシ
フトをレジスタ105になさしめるものである。
FIG. 10 FOL detection circuit 112 output 01! :Oh
~5 EOL is transmitted to code length counter 107 and accumulator 106. Accumulator 106+
-t This signal causes the register 105 to shift the long code hand of the gOL code.

即ち、第10図示のFiOL検出回路112けそのイ炭
出位置からして、レジスタ103 K 41!:OLコ
コーの前にM Hコード又は、Fillビットがまだ残
っている秋期で既にMOLを検出することもある。
That is, from the position of the output of the FiOL detection circuit 112 shown in FIG. 10, the register 103 K41! :MOL may already be detected before OL Coco in the autumn period when the MH code or Fill bit still remains.

従って、BOL険出回出回路112出するEOLコード
のうち信号(IEOL以外の、I!;OLココー検出信
号即ち[01〜5FiOLを検出17た場合にけ、アキ
ュムレータ106けレジスタ103におけるEOLコー
ドの前の残υコードがレジスタ103から前述の77ト
妨作((よって掃出されたあと、JeOLコードのコー
ド長針+4+1ち12ビツトのシフトをレジスタ105
に史に行なわせる。
Therefore, when a signal (other than IEOL, I!; OL coco detection signal, that is, [01 to 5 FiOL) is detected among the EOL codes output by the BOL output output circuit 112, the EOL code in the accumulator 106 register 103 is detected. After the previous residual code is cleared from the register 103 by the aforementioned 77 bits, the code long hand + 4 + 1 of the JeOL code is shifted by 12 bits into the register 105.
let history do it.

これによセ、jUOLコードを掃出し終え、14号すべ
き次ラインの先頭の画像MHココーの「頭出し完了」の
汰態となる。また、これにより、画像情報ではないEO
Lコードを他の圧縮コードと同様に復号+9作すること
による時間無駄も除去できる。
As a result, the jUOL code has been swept out, and the state of ``cueing completion'' is reached for the image MH Coco at the beginning of the next line to be number 14. Also, this allows EO that is not image information to
It is also possible to eliminate wasted time due to decoding +9 processing of the L code in the same way as other compressed codes.

次に第1図に示したブロック図全体の詳細なP9.明を
@5図等を用いて行なう。第5図に掲げた回路の動作は
複雑であるので、説明を容易にするためにいくつかの条
件設定し、更に一般的と思われるMHココーの復号動作
を例にして、該回路の基本的動作の説明を行ない、その
後、前記設定条件の成立に関して説明するものとする。
Next, see page 9 for details of the entire block diagram shown in FIG. Clarify using Figure @5 etc. Since the operation of the circuit shown in Fig. 5 is complicated, we will set some conditions to make the explanation easier, and we will also explain the basics of the circuit by using the MH Coco decoding operation, which is considered to be common, as an example. The operation will be explained, and then the establishment of the setting conditions will be explained.

復号されるべき、MHココー列の一例として第2図(1
))を用いる事とする。そして本回路の動作原理として
、プリンタの水平周期信号HEYNOが来る前までに、
第2図(b)の先に現われるIOLコーコーiE−+5
3図示のレジスタ103から前述のビット・シフト動作
により掃出され、EOLの次のMEココー(ill]ち
、これからデコードしようとするラインの最初の画像信
号のMHココー)である白のランレングス8を示すMH
ココーWB8がレジスタ103に前述の如り[頭出し完
了−4の状態でプリンタからの[YNO待ちとなってい
るとする。
Figure 2 (1
)) will be used. The operating principle of this circuit is that before the printer's horizontal periodic signal HEYNO arrives,
IOL Koko iE-+5 appearing ahead of Figure 2(b)
3. The white run length 8 is flushed out of the illustrated register 103 by the bit shift operation described above and is the ME coco (ill) of the first image signal of the line to be decoded from the EOL. MH indicating
Assume that Coco WB 8 is in the register 103 in the state of [Cueing completed - 4] and is waiting for [YNO] from the printer.

第6図HFJ< s図回路の主要部のタイム・チャート
である。;耳6図においてH8YNO601け前丸イ(
のプリンタの主走査方向の同期信号であシ主走査1ライ
ン毎に発生される。これをタイム・チャートのAreと
し、この時刻を+6とする。0K600け香木クロック
であり、その周波数は画像周波数と同じでちる。V兄N
602け主走に、線内の有効画像区間を規定する区間イ
β号である。また、iNi 603は区間信号VJit
Nの始まる1クロツク(1ビツト)前のパルス、[08
604はIK間信号vENの最終クロック(ビット)の
パルスである。
FIG. 6 is a time chart of the main parts of the HFJ<s diagram circuit. ; H8YNO601 Kemae Maru I in ear 6 figure (
This is a synchronization signal in the main scanning direction of the printer and is generated for each main scanning line. This is set as Are on the time chart, and this time is set as +6. The clock is 0K600K, and its frequency is the same as the image frequency. V brother N
The 602-digit main run is the section Iβ that defines the effective image section within the line. In addition, the iNi 603 has a section signal VJit
Pulse 1 clock (1 bit) before the start of N, [08
604 is the final clock (bit) pulse of the IK signal vEN.

尚、前述した壕に、圧縮コード(MHココー)を復号し
た両信号に基づく記録動作をレーザ・ビーム・プリンタ
で行なう場合、水平同期信号H8YNOはレーザ光によ
るラスクスキャンのスキャンラインの所定位置に、レー
ザ光が達したことを検知したビーム検知信号に基づくも
のであシ、tた、区間信号VHNけレーザ光によりスキ
ャンされて潜像形成のなされる感光体(ドラム)f< 
L/−ザ光がスキャンしている区間に基づく。
Note that when a laser beam printer performs a recording operation based on both signals decoded from the compressed code (MH Coco) in the trench described above, the horizontal synchronization signal H8YNO is placed at a predetermined position on the scan line of the rask scan by the laser beam. This is based on the beam detection signal that detects the arrival of the laser beam, and the interval signal VHN is used to scan the photoreceptor (drum) on which a latent image is formed by scanning with the laser beam.
L/-Based on the section that the light is scanning.

これらから明らかなように第6図における各信号600
〜604の時間的関係は一般に一定1直に固定されるべ
きものである。そして本例では、HEIYNO601と
iNi 605 (0間を64りaツクの固定長とする
。またVBN 602の区間は1ラインの画素数となる
が本例ではそれを4096ビツト(画1g)とする。
As is clear from these, each signal 600 in FIG.
The temporal relationship between 604 and 604 should generally be fixed at a constant value. In this example, the length between HEIYNO 601 and iNi 605 (0 is 64 pixels).Also, the section of VBN 602 is the number of pixels in one line, but in this example, it is 4096 bits (1g of pixels). .

第6図において、時刻tQでは第5図の回路は画像出力
の各主走査毎のイニシャル状態に設定されている。即ち
、前述の如く各2イン毎の先頭画像のMHココー(本例
では白のランレングス8を示すWB8 (10011)
 )がレジスタ105に「むq出し完了」であり、該レ
ジスタ103の出力1〜Cl2(本例では10011.
00010.0OO)はロジック104%ROM 10
5等に与えられている。
In FIG. 6, at time tQ, the circuit of FIG. 5 is set to the initial state for each main scan of image output. That is, as mentioned above, the MH coco of the first image for each 2-in (in this example, WB8 (10011) indicating a white run length of 8)
) is stored in the register 105 as "unloading complete", and the outputs 1 to Cl2 of the register 103 (in this example, 10011.
00010.0OO) is logic 104% ROM 10
It is given to 5th prize.

又、同シくコードレングスカウンタ107の値は(−1
)=(1111B)となっている。この際(−1)は「
9j出し完了」を意味すると定義されている。又、各7
リツプ70ツブ510,109゜515けりセット状態
、7リツプフロツプ509 F′iセット状練にある。
Similarly, the value of the code length counter 107 is (-1
)=(1111B). In this case, (-1) is “
It is defined to mean ``9j release completed''. Also, each 7
Lip 70 knob 510, 109° 515 is in set state, 7 lip flop 509 F'i is in set state.

フリップフロップ509がセットされてbる了した状態
にある事全示す。また、クリップフロップ510がセッ
トされている(Q=1)の状態は後述するようにランレ
ングス・ラッチ513がビジー(Bu8Y)であるこを
示す。クリップフロップ515け”/W −ROM信号
を出力Qとして出力する。このクリップ・70ツブ51
5の出力Qけ1のときにこれから復号すべきMl・コー
ドの色が黒であることを示すB/曾−ROM信号でちる
Flip-flop 509 is set to fully indicate that it is in a completed state. Further, the state in which the clip-flop 510 is set (Q=1) indicates that the run-length latch 513 is busy (Bu8Y), as will be described later. The clip flop 515 outputs the ROM signal as the output Q.
When the output Q of 5 is equal to 1, the B/S-ROM signal indicating that the color of the M1 code to be decoded is black is generated.

同じく出力Qが0のときけ白であることを示す。Similarly, when the output Q is 0, it indicates that the output is white.

又、ランレングス・カウンタ108i″j停止している
とし、その値は0であるとする。5pTiu6osけコ
ントロール線でこれが1であることはレジスタ105が
データ(Mlコード)を77トさせて良い事を示す。又
簡単の為、アキュミュレータ106の出力信号Σ0〜Σ
2及び@信号け0であると仮定する。即ち、この仮定に
よりレジスタ103の28ビツト全てが有効なMHココ
ー列であり、空のない状態を示すことになる。
Also, assume that the run length counter 108i''j is stopped and its value is 0.The fact that this is 1 on the 5pTiu6os control line means that the register 105 can make 77 bits of data (Ml code). For simplicity, the output signals Σ0 to Σ of the accumulator 106
2 and @signal 0. That is, based on this assumption, all 28 bits of register 103 are valid MH Coco strings, indicating a state with no emptiness.

μ上が時刻t6の状態である。The state on μ is the state at time t6.

さて、時刻t1になると第6図示のHEIYN(3信号
601の立下がりによシ第5図示クリップ・70ツグ5
09かリセットされ、第6図に613で示す11!OL
F信号が1となシ、ANDゲート508を介して5FT
J!:N信号605が1となる。SFT凡N信号605
が1の場合は、・86図示のカウンタ107がカウント
・イネーブルとなる。同時に時刻t1にはROM105
のアドレスにはレジスタ103の保持する出力C\〜0
12が与えられる。、(本例では10011 xxxx
xxxx)そしてROM 105の出力のうちコード°
レングスab\〜OL5 I:jゲート503及びゲー
ト504を経てコード・レングス・カウンタ107に与
えられている。又同時に0JJD 信号607が0であ
るのでカウンタ107はロード・モードとなりtlのク
ロックによりCL\〜OL3の(直がカウンタ107に
ロードされる。本例ではランレングス8の白を示すM 
)1コードWB8のコード長5の2の補数でちる(−5
)がロードされる。
Now, at time t1, when the HEIYN (3 signal 601 shown in the sixth figure falls), the clip shown in the fifth figure 70
09 is reset and 11! is shown as 613 in FIG. OL
When F signal is 1, 5FT is passed through AND gate 508.
J! :N signal 605 becomes 1. SFT ordinary N signal 605
When is 1, the counter 107 shown in .86 is enabled for counting. At the same time, at time t1, the ROM 105
At the address, the output C\~0 held by the register 103 is stored.
12 is given. , (in this example, 10011 xxxx
xxxx) and the code ° out of the output of ROM 105
Length ab\~OL5 I:j is applied to code length counter 107 via gate 503 and gate 504. At the same time, since the 0JJD signal 607 is 0, the counter 107 enters the load mode, and CL\~OL3 (direct) is loaded into the counter 107 by the clock of tl.
) 1 code WB8 code length 5 divided by two's complement (-5
) is loaded.

父、ROM105の出力J’lti −RL5及び人(
lジンレングス・ラッチ513の入力として与えられる
Father, ROM105 output J'lti-RL5 and person (
It is given as an input to lgin length latch 513.

1司時にランレングス・ラッチ51!+にけ7リノフ“
フロップ515のQ出力もい−ROM信号620として
入力されている。この時、RLOH信号608が1によ
り2ツチ513をラッチ・イネーブルに制御し、tlの
クロックでDO〜D7の値をラッチ513にラッチする
Run length latch 51 at 1st time! +Nike 7 Rinov“
The Q output of the flop 515 is also input as a ROM signal 620. At this time, the RLOH signal 608 controls the latch 513 to latch enable by setting it to 1, and the values of DO to D7 are latched into the latch 513 by the clock of tl.

同]寺に時刻t1でけ7リツブ・フロップ510け1に
セットされる。又スリップ・70ツグ5151ま反転す
る。クリップフロップ510のQ出力である+3USY
 (H”j号609が1であることけラッチ515が’
fr 効なランレングスをラッチしている五を示す。父
、フリップフロップ515のQ出力であるBバーROM
 信号620が1であることは次にレジスタ103に「
(と1出し完了」にすべきunコードの示す色が黒であ
る事を示す。(又D/IlF −、ROM620が0で
あるならは該色が白である)SFTh:N 4pf 号
 605 d グー ) 505 、 グー ト 50
6 を経てSO信−りとしてマルチ・7レクサ102V
こ与エラれ、レジスタ106のデータが1ビツトソノト
するようにコントロールするうこれによりレジスタ10
3にあったMHコードから必要なデータの後段への受湧
しが終ったので該MHコードは使用済となり、5FTJ
CN信号605によシカラント町ffi’lになったカ
ウンタ107の市りidlドで1.イ)6図タイムチャ
ートに示す如くカウンタ107からキャリアウド信号O
RO606が発生ずるまでビット77トが行なわれて、
使用済のMuコードかV−)スタ103から掃出される
68(]ち本例で11−5の設定されたカウンタ107
の値が(−1)の1j・’Jl’i:なるまでレジスタ
10301ピント /フトを・力返し1行する。
[same] At time t1, a 7-return flop is set to 510 and 1. Also, slip 70 tsug 5151 is reversed. +3 USY, which is the Q output of the clip-flop 510
(H"j No. 609 is 1 only if the latch 515 is '
fr Indicates five latching effective run lengths. Father, B bar ROM which is the Q output of flip-flop 515
The fact that the signal 620 is 1 means that the register 103 then writes “
(And the color indicated by the un code that should be changed to "1 output completed" is black. (Also, if D/IIF-, ROM620 is 0, the color is white) SFTh:N 4pf No. 605 d Goo) 505, Gooto 50
Multi-7 lexer 102V as SO signal via 6
This error causes the data in register 106 to change by 1 bit.
Since the necessary data has been sent to the subsequent stage from the MH code in 3, the MH code has been used and the 5FTJ
The CN signal 605 indicates that the counter 107, which has become Sikarant town ffi'l, is 1. b) Carried signal O from the counter 107 as shown in the time chart in Figure 6.
Bit 77 is performed until RO606 occurs.
The used Mu code or V-) is swept from the star 103 (68), which is the counter 107 set to 11-5 in this example.
The register 10301 pin/ft is returned for one line until the value becomes (-1) 1j.'Jl'i:.

カウンタ107の値が(−1)になると今、閾用済とな
う、+M 11コード(本例ではジンレングス8の白全
示す?、l HコードWB8 )の4’r+S il」
Lが終了し、次のM Hコード(ランレングス6の黒を
示す14)■コード13J36)がレジスタ105VC
おいて「σ、4出し光子jとなるがラッチ513にばま
だIY■のM Hコード(WB8)のランレングスがり
q′っている念めクリップ70ツブ5106″iセツト
のままである。 ptって、カウンタ107のOROイ
、X−号が1となることによりゲート511の出力け0
になり、ン、吉局BFT、[itN信号605が0とな
ることにより、カウンタ107が停市する。]1様にS
M凡N信号605が0となることによシSO〜B 24
M号も全て\”となりレジスタ103がシフト停止しデ
ータがホールドされる。従って「顕出し冗r」(BB6
)の状纏が時刻t2まで枕くう時刻も2に於%てiNi
う、−4号603によりRI、D信号610が0となシ
、ラッチ515 KイV持されていたランレングス(+
I+11では白の8ビツト)がマルチプレクサ514を
経てRI、D信++610によりf)ウノタ108へ移
される。同時に7リツプ70ツグ510がuhp 4B
号610によりセットされるうこれによシラツチ513
が空となり、ビジー(BσEIY)がiW ?*Mされ
る。従って、ゲート511の出力が1となり、前述と同
様(てS FTEN佑号605が1″となり、レジスタ
103において[叩出し完了JとなっているMl(コー
ドによって得られたランレングスがラッチ515ヘラツ
チされるう 以下同様にM Hコードが順次デコードされる。
When the value of the counter 107 becomes (-1), the threshold value has now been used. 4'r+Sil of +M11 code (in this example, gin length 8, full white?, lH code WB8)
L is completed, and the next M H code (14 indicating black with run length 6)■Code 13J36) is placed in register 105VC.
In this case, ``σ, 4 photons j are output, but the latch 513 is still in the clip 70 tube 5106''i set, just in case the run length of the MH code (WB8) of IY■ is increased by q'. pt is the output of the gate 511 when the ORO i and X- of the counter 107 become 1.
When the signal 605 becomes 0, the counter 107 stops. ] S to Mr. 1
When the M-N signal 605 becomes 0, SO~B 24
The M numbers also become all \'', the register 103 stops shifting, and the data is held.
)'s condition is 2% until time t2.
U, RI and D signals 610 are set to 0 due to No. 4 603, and the run length held by the latch 515 (+
8 bits of white at I+11) are transferred to f) UNOTA 108 by RI and D signals 610 via multiplexer 514. At the same time 7 lip 70 tsugu 510 uhp 4B
Shiratsuchi 513 is set by No. 610.
becomes empty and busy (BσEIY) becomes iW? *Medium. Therefore, the output of the gate 511 becomes 1, the S FTEN number 605 becomes 1'', and the run length obtained by the code is set to 1'' in the register 103. After that, the MH code is sequentially decoded in the same manner.

時刻t2でカウンタ108ヘロードされたジンレングス
(本例では−5)に基づき、時刻t2の次のビットから
発生するIN信号602によシカクンタ1081−iカ
ウントを開始する、そしてカウンタ108の1直が(−
1)になった時(本例では時刻t3) ORI偏+4f
611を出す。又、ラッチ515からのB/W信号62
1によシ指定された画体の色別にフリップフロップ10
9をセットするうこれによシとシあえず第1番目のM1
iコードが両便Vより加(本例では白の8ビツト)に変
i処できたわけである。
Based on the gin length (-5 in this example) loaded into the counter 108 at time t2, the counter 1081-i starts counting by the IN signal 602 generated from the next bit at time t2, and the first shift of the counter 108 starts. (−
1) (time t3 in this example) ORI bias +4f
Issue 611. Also, the B/W signal 62 from the latch 515
Flip-flop 10 for each color of the image specified by 1
Set 9 and then set the first M1.
This means that the i code can be changed from both flights V to I (white 8 bits in this example).

苗、VE、H(パ号602の立上り後においては、iN
i信号603Vi11iたなI(BYNC601がul
t来する迄、0のままである。従って、■翻信号602
の立上す饅、例えば時刻t5に、#?いては1NiQ号
603に代って、カウンタ108のカウントアツプを示
すCR工信−ケ611により7リソブ・70ツグ510
をリセットし、そのビジー状態をffげVp、せしめ、
・7そ<1八Hコードのデコードにより17たランレン
グスのラッチ515への取込みを可能とする。
Nae, VE, H (after the launch of No. 602, iN
i signal 603Vi11i Tana I (BYNC601 is ul
It remains 0 until t comes. Therefore, ■ Translation signal 602
For example, at time t5, #? Then, instead of the 1NiQ number 603, the CR Koshinke 611 indicating the count up of the counter 108 sends 7 resob 70 tsug 510.
and reset its busy state to Vp,
- By decoding the 7 so < 18 H code, the run length of 17 can be taken into the latch 515.

さて、ここすでの岬、明に〉いで(′i、MHコードの
コード長がう/レングス長よφ等し、いか、又は短かい
45合であυ、)(Hコードを1頭出し完Y」の時点か
ら、レジスタ106から掃出すべき使用済MHコードを
マルチプレクサ102に与えられろイハ号S[l = 
1.51=82 =: 0とすることによりシリアルシ
フトすれば、MHコードを途切れることなくデコード続
けられるわけである。
Now, at the cape here, in the light, ('i, the chord length of the MH chord is long/the length is φ, etc., or the short 45th chord is υ,) (one H chord is taken out. The used MH code to be flushed out from the register 106 is given to the multiplexer 102 from the time of completion Y.
By serially shifting by setting 1.51=82=: 0, the MH code can be continuously decoded without interruption.

しかし、一方、Mlコードのランレングス基がコード長
より短かい場合には前述の如くシリアルシフトさせると
レジスタ103からコードを掃出している11η(シフ
ト中)に、カウンタ108において、欣MHコードの2
ンレングスのカウントが元Tしてしまう。この時点にお
いて画像の途切れをなくすためには次のランレングスを
2ツチ513からカウンタ108へ1)ゾる必ばか、b
る。
However, on the other hand, if the run length base of the Ml code is shorter than the code length, when the code is serially shifted as described above, at 11η (during shift) when the code is being flushed out from the register 103, the 2
The length count ends up being T. At this point, in order to eliminate image discontinuity, it is necessary to change the next run length from 2 bits 513 to counter 108 by 1) or b.
Ru.

しかし、レジスタ103では次のMHコードに対するr
pf4出し完了」状態となっていないので、ラッチ51
3には取込むべきランレングスがROM105よす出力
されていないことになるつ績局この場合、プリンタにお
いて記録される:11ii 像が途切れる事となシ、リ
アルタイムで画像を出力することができない事になるう
この様な不都合はfnf述したH8Cコード、即ち、ラ
ンレングス1,2及び5の白を示すM)lコードと2ン
レングス1の黒を示すMHコードのデコードの際に生じ
るう 七こで、この様な場合は、前述の4燻のHFl0コード
であるMWコードだけはM Hコード・デコード・ロジ
ック104を+6いて、1(OM 105からのコード
長データOLD〜CL5によシブコードすべきコードを
シリアル・シフトしたと等価に後1 段の回路を!+句作せしめる。叩ち、カウンター07A
(−1)をロードできるようにロジック104け酊信号
により、ロード値(−1)をつくシゲ−ト504を介し
てカウンター07にロードする。
However, in register 103, r for the next MH code is
The latch 51 is not in the "pf4 output complete" state.
In 3, the run length to be captured is not outputted to the ROM 105. In this case, it is recorded in the printer: 11ii The image will not be interrupted, and the image cannot be output in real time. This inconvenience occurs when decoding the H8C code mentioned above, namely the M)l code which indicates white with run lengths 1, 2 and 5, and the MH code which indicates black with run length 1. In such a case, only the MW code, which is the above-mentioned 4-bit HFl0 code, should be subcoded by adding +6 to the MH code decode logic 104 and 1 (code length data OLD to CL5 from the OM 105). Equivalent to serially shifting the code, create the next stage of circuit! + Make a phrase. Hit, counter 07A
In order to be able to load a load value (-1), the counter 07 is loaded via the gate 504 which generates a load value (-1) according to the intoxication signal of the logic 104.

又、このと@ ROM 105からの出力CLO〜CL
4 #1risC信号によシグート503にてインヒビ
ットするう又、ロジック104からの出力8fI′1と
872にデコードしたMHコードのコード長に刈応した
シャンプー冴をSFO〜8F2として出力しSo、 S
2を経てマルチプレフナ102を動作する。これによ乞 り1ビツトの時間で複数ビットのシフトが行なうことが
可能となり、換縛すれば1ビツトの時間でデコードすべ
き次のコードの17ジスク105における「頭出し完了
」ができるようになる。
Also, this @ output from ROM 105 CLO~CL
4 #1 risC signal is inhibited by the signal 503, and the output 8fI'1 from the logic 104 and the shampoo that corresponds to the code length of the MH code decoded to 872 are outputted as SFO~8F2.
2, the multi-prefunner 102 is operated. This makes it possible to shift multiple bits in one bit of time, and by converting it, it is possible to "complete cueing" of the next code to be decoded at 17 disks 105 in one bit of time. Become.

また、このジャンプlthはアキュムレータ106にモ
入力され、レジスター05の4tビツト数に累積加算さ
れる。
Further, this jump lth is input to the accumulator 106 and cumulatively added to the 4t bit number of the register 05.

以上2曲りのソフト方1・表により[!−IC−1出し
光子」カラ[ランレングスラッチ−1史に「ランレング
スカウント」の一連の餌1作を高速に咲返し、プリンタ
部に供給する画像がとぎれろことなく何冊を実行するウ
 112はgOL険出回出回路ジスタ103の出力co
−C++にEOLコードが現われ走ことを検出すると信
号0ffiOL f出力するウセして一ラインの終了を
示すKOLコードがff1OL・演出回路112で演出
されると、タイミング合せ161 略523を介しテJ
ICOL検出回路112からの信−+40xobにより
、クリップ・フロップ509がセットされEOLF信号
613が0となるっこれにより、結局5FTJIDN信
号605が0となり、次のH8YNOが来るまで、レジ
スタ103は停止し、Ml(コードは1頭出し完r」の
状態でHF3YNC待ちとなることとなる。
The software method for the above two bends 1. According to the table [! - IC-1 Output Photon" Kara [Run Length Latch - 1 history, a series of "Run Length Count" baits are brought back to life at high speed, and the images supplied to the printer section are executed without interruption. 112 is the output co of the gOL output circuit register 103
- When the EOL code appears in C++ and detects running, it outputs the signal 0ffiOL f. When the KOL code indicating the end of one line is produced by the ff1OL production circuit 112, the signal 0ffiOL is outputted via the timing adjustment 161 and approximately 523.
The signal -+40xob from the ICOL detection circuit 112 sets the clip flop 509 and the EOLF signal 613 becomes 0. As a result, the 5FTJIDN signal 605 becomes 0, and the register 103 stops until the next H8YNO comes. It will wait for HF3YNC in the state of Ml (one code has been put out).

この様に、プリンタと償号SIb作との111期合せが
良好に得られるものである。
In this way, the 111th period of alignment between the printer and the work of Ago SIb can be obtained well.

以上のよう((各ラインごとに蚤!返し士査が進行すれ
げ画像が形成されるのでちるつ 次に第7図を用いてデコードエラー検出法について述べ
る。・87図示回路は、■1図又1−j第5図の1.1
当な位置に養続される。(4% 7図ヒにおいて、80
1 l−tインバータで6る6 +た、(302#−を
加M−器、80!+はラッチ、804はコンパレータ、
805iまラッチ、806及び807はフリップ・フロ
ッグである。
As mentioned above, ((The flea! return check progresses for each line and a poor image is formed.) Next, we will discuss the decoding error detection method using Fig. 7. The circuit shown in 87 is shown in Fig. Also, 1.1 in Figure 5 of 1-j
be kept in a suitable position. (4% In Figure 7H, 80
6 with 1 lt inverter, 6 +, (302#- is adder, 80!+ is latch, 804 is comparator,
805i latches, 806 and 807 are flip frogs.

第8図820は、第5図において、ラッチ513からマ
ルチプレクサ、514を介して出力される信号820と
同じ信号で、ちシ、!(」述の如く、M Hコー。
820 in FIG. 5 is the same signal as the signal 820 output from the latch 513 via the multiplexer 514 in FIG. (As stated in ``M. H. Cor.

ドを解錠した桔呆のランレングスが2の補数で表視され
たものであるう さて、加fi58o2とラッチ803とでアキュムレー
タを構成する。加17器ao2のLSBのド位からの桁
上ゆけ82944号(1)にょシ1にセットさhており
、結局加賽器802の出力8211−j:ランレングス
820の2の補Ifとなる。j+’Qって出力821−
ま肋ランレングスの1七濱数を2進数却現したものであ
ろう又、ラッチ803への加′nは第6図FjLDtS
10のタイミング、叩も弔5図示のカウンタ108へカ
ウントすべき2ンレングスをロードするタイミングで力
!Iηが続けられる。又、ランチ803は主71−査の
各ライン陶に出力される第6図HEIYNO601信号
601旬にクリヤされる。、即ちラッチ803の出力8
22i−j各うインfUのランレングスの累積値を2進
数で表わす。一方、ラッチ805は毎ラインの一定ラン
レングス(本例でけ1ラインの画素斂に対応する409
6 )を信号824によりapU4から知らされて保持
しているつ」ンパレータ804は今ラッチ803に累積
すれているランレングス822 (Aとする)とラッチ
805からの正解bts2g(nとする)とを比較する
コンパレータ回路である。
The run length of the door that unlocked the door is expressed as a two's complement number.The add fi 58o2 and the latch 803 constitute an accumulator. The carry from the LSB of adder 17 ao2 is 82944 (1) set to 1, and the output of adder 802 8211-j: the complement of 2 of run length 820 becomes If. . j+'Q is output 821-
Also, the addition to the latch 803 is shown in Fig. 6 FjLDtS.
At the timing of 10, the force is applied at the timing of loading the 2 length to be counted into the counter 108 shown in the figure. Iη continues. Also, the lunch 803 is cleared at the HEIYNO 601 signal 601 in FIG. 6 which is output to each line of the main 71-scanner. , that is, the output 8 of latch 803
22i-j The cumulative value of the run length of each input fU is expressed in binary. On the other hand, the latch 805 has a constant run length for each line (in this example, 409 pixels corresponds to one line of pixel convergence).
6) from apU4 by signal 824. The comparator 804 calculates the run length 822 (denoted as A) currently accumulated in the latch 803 and the correct answer bts2g (denoted as n) from the latch 805. This is a comparator circuit for comparison.

7リツブ・フロッグ806は第6図示のgos信号60
4の出力時、IJllち各ラインのMe 4%ビットに
於いて、コンパレータ804よりA=Bでちることを示
す信号831が出力されていない時ANDゲート808
の出力825によシセットされる。即ち、クリップ・フ
ロッグ806のセットされることは(本1″/11では
−4よ)に等しくなつ念ことを示し、M)Iコード又は
そのデコードに11りが、ちつ之ことを示す。
7 rib frog 806 is the gos signal 60 shown in FIG.
4, when the signal 831 indicating that A=B is not output from the comparator 804 at the Me 4% bit of each line, the AND gate 808
is set by the output 825 of . That is, setting the clip frog 806 indicates that it is equal to (-4 in the case of 1''/11), and indicates that 11 is equal to the M)I code or its decoding.

クリップ・70ツブ807はA>Eの状四になった1−
)合に、コンパレータ804から出力される(j495
852を人力とするアンドゲート809の出力826に
よシランレングスの累積途中でも直ちにセットされる。
Clip 70 tube 807 has a shape of A>E 1-
), the comparator 804 outputs (j495
It is immediately set by the output 826 of the AND gate 809 which operates 852 manually even in the middle of accumulating the silane length.

、+’411ち、フリップフロップのQ出力82Bはラ
ンレングスの1 イ’Ff値がラインの途中で予定され
たiE解値(本1b・]でけ4096 、叩ち、VIl
jN 6t12の区間の画素Pl)を鰐えてしまった事
を示し、これは1ラインのデコードの途中において百に
大巾なデコード誤りが生じたことを表1フすものである
, +'411, the Q output 82B of the flip-flop is 1 of the run length.
This indicates that the pixel Pl) in the interval jN 6t12 has been crocodile, and this indicates that a huge decoding error has occurred in the middle of decoding one line, as shown in Table 1.

又、フリップ・70ツブ806及び807 t−j 第
6図1ijOLF 15が60− j、iiちFiOL
 (Eudof 1iue) /+(J!!OL検出回
路522によりl炙出されH)IYNC! 610の人
力がなされるまでリセットされず、 +(eyHc 信
号6010入力によシグート日10の出力によシリセッ
トされろ。イ・ηって、各7リツプ70ツブ8G(S、
807の出〕3827又は出力826を倹知し別途のf
f1OL (Q出回路522によシ、ff0L検知にI
Iメー念させることによりデコードR14り等による同
期ズレを最小限に止める事ができる。
Also, flip 70 knobs 806 and 807 t-j Fig. 6 1ijOLF 15 is 60-j, iii FiOL
(Eudof 1iue) /+(J!!L roasted by OL detection circuit 522H)IYNC! It will not be reset until the human power of 610 is applied, and it will be reset by the input of the signal 6010 and the output of the signal 6010.
Output of 807] 3827 or output 826 and separate f
f1OL (by Q output circuit 522, I for ff0L detection
By reminding the user of the timing, synchronization errors due to decoding R14, etc. can be minimized.

尚、本例ではアキュムレータによシランレングスを累積
加重γする例を戸したが、これは所だ1亀 数例えば4096から順次2ンレングス値を減算し減算
カウンタからのボロウを検出する方法等に置き換えるこ
ともできる。
In this example, the silane length is cumulatively weighted γ using an accumulator, but this is replaced by a method in which 2 length values are sequentially subtracted from a single count, for example, 4096, and borrows from the subtraction counter are detected. You can also do that.

以上のイ・pにデコード誤まりが生じ、フリップフロッ
プ806又は807がセットされると、その出力1−1
σ↓9図示のプリンタプリンタ回路のバッファスイッチ
制御回路303に伝達される。
If a decoding error occurs in the above i/p and the flip-flop 806 or 807 is set, its output 1-1
σ↓9 is transmitted to the buffer switch control circuit 303 of the illustrated printer circuit.

バッファスイッチ制御回路505は前述した51須に、
ダブルバッファ構成となっているプリンタのラインバッ
ファの入出力を交互に選択するためのバッファ選択動作
を行なうものである。そして、クリップ70ツブ806
又は807よシそのセント信号、即ち、デコードRaま
υ検出信号を入力すると、デコード誤まりの発生した現
ラインの画像信号を無効KL、エラーのあったラインに
代って前ラインの1i−1ii 像信号を再オj1用す
べく、1+I■ラインの画像信号の格納されているライ
ンバッファの再読出しを行なう様、ラインバッファの7
り1択制御を行なう。即ち、例えば第12インバツフア
301に復号中の画像信号を格納している時に、デコー
ド誤まシが発生した場合、第1ラインバツノア501に
現在格納中の画像信号を悠効にし、現在、画像信号の胱
出しがなされているう含2ラインバッファ302の51
と出しの終了後再び第2ラインバツフア602から同一
の画像信号の読出しを行なう。
The buffer switch control circuit 505 has the above-mentioned 51 points.
This buffer selection operation is performed to alternately select the input and output of the line buffer of a printer having a double buffer configuration. And clip 70 tube 806
Or, when inputting the cent signal from 807, that is, the decode Ra maυ detection signal, invalidates the image signal of the current line where the decoding error occurred, and replaces the line with the error with the previous line 1i-1ii. In order to reuse the image signal, the line buffer 7 is set so that the line buffer in which the 1+I line image signal is stored is reread.
Performs one-choice control. That is, for example, if a decoding error occurs while an image signal being decoded is being stored in the 12th in-buffer 301, the image signal currently being stored in the first in-buffer 501 is left unused, and the current image signal is 51 of the 2-line buffer 302 containing the bladder.
After the reading is completed, the same image signal is read out from the second line buffer 602 again.

これにより、デコード誤シの生じた画像信号によるプリ
ント41+作はなされずに、記録画像への影響を除去で
きる。尚、プリンタのラインバッファの数は2本以上で
もjr、]様に実行できるっ又、このNQまシ補正用の
ラインバッファをデコード回路側に設けてもよい。
As a result, the influence on the recorded image can be removed without printing 41+ based on the image signal in which the decoding error has occurred. Note that even if the number of line buffers in the printer is two or more, the process can be carried out as shown in jr, ].Also, a line buffer for NQ correction may be provided on the decoding circuit side.

さて、前述の如く本例では、MUコード化された画像を
デコードする際Fては、該MWコードの先頭EOLを塗
加し、そのf+に続くコードから1・・?画イ象の41
ラインとして、デコ一ドを開始し、k際の画像を再生す
る。なぜなら、MHコード化された画像は、本件では図
示していないが第1図示の記憶回路101の前段に存在
する、例えば画像メモリ等に蓄積てれているものである
つそこからapU等によ91画像メモリの藺出し開始ア
ドレスを指定し、IAklコード化された画像をNs’
;出し、記憶回路101を介しデコーダ回路に与える。
Now, as mentioned above, in this example, when decoding an MU coded image, the first EOL of the MW code is added, and 1...? from the code following that f+. Image 41
As a line, decoding is started and the image at the end of k is reproduced. This is because, although not shown in the present case, the MH-encoded image is stored in, for example, an image memory, which exists before the storage circuit 101 shown in the first diagram, and is stored therein by apU, etc. 91 Specify the start address of the image memory and save the IAkl encoded image to Ns'
; is output and applied to the decoder circuit via the memory circuit 101.

その際、画像メモリから読出されたMHコードは飼えば
、画像ページの途中から析出した場合には必ずしも先頭
にEOLコードか来ない。この場合でも正しくデコード
を開始できるように、デコード開始前にり↓1図示記記
憶路101をクリア状態にしておき、次に該メモリから
読出したMHコードをi1シ憶回路101が満杯(第2
図の状態)になるまで読出し、次いでデコーダ内部へf
 −p (M’l(コード)を送プ始める。そして、第
1齢目の4COLコードが検出できるまでは画像コード
として扱わず、次々にデータを送〕続けF:OI−コー
ドを4・q出することに専、念するうそしてff0Lコ
ードかへ(出できたイjcには以後のコードを画像1青
報として扱い、コード・レングス等によシシ7ト苛をコ
ントロールしながらデコードしていくわけである。この
ようにして第1市目のAOLコードを前述のI!i0L
 +(Q出回路112により見つける事により、MHコ
ードの区切りを判定し、又[面像の同期的再生が可能と
なるのである。
At this time, if the MH code read from the image memory is kept, the EOL code will not necessarily come at the beginning if it is extracted from the middle of the image page. In order to start decoding correctly even in this case, the i1 memory circuit 101 is cleared before the start of decoding, and then the i1 memory circuit 101 is filled with the MH code read from the memory (the second
(state in the figure), and then input f into the decoder.
-p (Starts sending M'l (code). Then, until the first generation 4COL code is detected, it is not treated as an image code and sends data one after another) Continue sending F:OI- code 4・q Dedicate yourself to issuing the code, and then proceed to the ff0L code (if you are able to produce it, treat the subsequent code as an image 1 blue report, and decode it while controlling the code length etc.) In this way, the AOL code for the first city is changed to the above-mentioned I!i0L.
+(By finding it with the Q output circuit 112, it is possible to determine the delimiter of the MH code and to perform synchronous reproduction of the surface image.

きて、前述のデコード動作j4;1始後、初めて入力す
る第1のjDOLコードを見つける動作を1A1始する
と記憶回路101から1狛次レジスタ103へデータが
送られて来るが、その開始前にレジスタ103に全て”
0”が存在しているとすると実際に記憶回路101から
来たMHコード又はM)Iコードの一部(途中)とつな
がって、JGOLコード(000000000001)
と誤検知てれることとなる。七れを避ける為、レジスタ
103の初期状態は全て1”にセットする。即ちレジス
タ105のOn ””” 027を全て”1″とする。
Then, after the aforementioned decoding operation j4;1 starts, when the operation of finding the first jDOL code to be input for the first time starts from 1A1, data is sent from the memory circuit 101 to the first komaji register 103, but before that start. Everything in register 103”
0" exists, it is connected to a part (in the middle) of the MH code or M)I code that actually came from the memory circuit 101, and the JGOL code (000000000001)
This will result in a false positive detection. In order to avoid failure, the initial states of the registers 103 are all set to 1''. That is, the On ``'''' 027 of the register 105 are all set to ``1''.

これにより前述のルOLの誤検知を?ij、けることが
できる。
Will this cause the above-mentioned OL error detection? ij, I can kick.

レジスタ103を全て1″′にプリセットする方法を病
明する。、4.へ12図にはレジスタ10′5の構成の
一例を示すもので、IjlJち、レジスタ105け28
個の7リツプフロツプF/11’で+1η成されるう従
って、その全ての7リツプフロツプψのプリセット端子
にOPU等からプリセットパルス901を入力し、全て
の7リツプ70ツブのQ出力を1とする。ここではクリ
ップ70ツグψは例えばアメリカT1社製の5N748
74N等を使用することができる。
We will now explain how to preset all registers 103 to 1''.
+1η is formed by the 7 lip-flops F/11', therefore, a preset pulse 901 is inputted from an OPU or the like to the preset terminals of all the 7 lip-flops ψ, and the Q outputs of all the 7 lip-flops 70 are set to 1. Here, the clip 70 Tsug ψ is, for example, 5N748 made by American company T1.
74N etc. can be used.

以上、本超流側はMHコードの4号を例に峠明したが、
他の圧縮方法によるコードの復号装随に適用することも
できる。また、イガ分装の画像信号はレーザ・ビーム・
プリンタ等のプリンタで両像hF’r Hされる以外に
、CRT等のディスプレイにて表示したシ、ビットイメ
ージとしてファイルしたりする等多様な用途にλ:l用
可能である。更に、本実施例中で用い念数値はそれに限
るものではなく、用途や環境等において適宜選択される
ものでうろこと(i「うiももない。
Above, the main supercurrent side was passed using MH code No. 4 as an example,
It can also be applied to decoding codes using other compression methods. In addition, the image signal of Iga separation is a laser beam,
In addition to printing both images hF'rH with a printer such as a printer, λ:l can be used for various purposes such as displaying on a display such as a CRT or filing as a bit image. Furthermore, the numerical value used in this embodiment is not limited to this, and may be selected appropriately depending on the application, environment, etc.

以上屑[jlJ Lだ様に圧j:(1コードの9分動作
を確7(に′実行できるものであり、また、高速処1里
を必要とする両で1“処理(で対してもリアルタイムな
復号)iiII作を6丁能とするものである。また、高
速で且つ高品位な画像記録を必要とするプリンタ等の出
力部に対しても効果的に圧縮コードを復号化し、供給す
ることがIjTfigとなるものである。
It is possible to execute the 9-minute operation of 1 code in 7(), and it is also possible to execute 1" operation (in 1") with both high-speed processing requiring 1 ri. Real-time decoding) iii works in 6 units.It also effectively decodes and supplies compressed codes to output units such as printers that require high-speed and high-quality image recording. This becomes IjTfig.

まえ、圧I−、、1コードの復号・幼作心いはf尺送に
係わるA4′kをノ商実に検出することができ、また、
それによる影響を最小限にすることができるものである
First, the pressure I-, 1 code can be decoded and processed to detect A4'k related to f scale feed, and also,
The impact caused by this can be minimized.

また、圧縮コードを復号化して得た両便信号に基づきプ
リント動作する際、プリンタと4号処理部との同期が9
好に得られるものである。
Also, when printing is performed based on the double-mail signal obtained by decoding the compressed code, the synchronization between the printer and No. 4 processing unit is 9
It's a good thing to get.

ま>”Cs 4.N ”i fi力作の基準となるライ
ン1司其j1コードの検出を確実に行ない、1豐号41
b作の四叫1ずれ専の不都合を除去できるものでちる。
``Cs 4.N ''I will reliably detect the line 1st part 1 code, which is the standard for the masterpiece, and 1st issue 41
It's something that can eliminate the inconvenience of B work's four shouts and one difference.

また、1ページ或いば1ラインの途中から圧縮コードが
iす号回路に供給されたとしても、復−分動1′[K訃
けるライン同Jυ1をイlf実になさし、め1笈号胆ま
り浄を防止できるものである。
Furthermore, even if the compressed code is supplied to the i-th circuit from the middle of one page or one line, the de-split 1' It can prevent nausea.

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

・(r 1図は本発明の一実施例の柵、略1?¥成を示
す回路ブロック図、第2図(a) #′i記イで〒回路
101におけるMEコードの記憶型式を示す図、・13
2図(b)は複数のMJ(コードの連続した状轢を示す
図、第3図1寸ビット・77タの構成を示す(四路ブロ
ック図、μII 4図);jMHコードのデコード回路
の構成を示す回路ブロック図、、85図は、′g 1図
示の回路ブロック図の肝細な回路図11.’n 6図は
、JR5図示回路の各部動作タイミングを示すタイミン
グチャート図、第7図はデコードエラー噴出回路の構成
を示す回路ブロック図、第8図はプリンタの一構成例を
示す図、記9図は第81図示プリンタの記録動作のため
の回路構成を示すブロック図、−AI[1図i EOL
検出回路の構成を示す回路ブロック図、第11図は第1
0図示の1演出ゲートの構成を示す回路図、第12図は
レジスタの−Cjt成例を示す回路図であり、101け
陀1(1回路、102はマルチプレクサ、1031jレ
ジスク、104はM Hコード・デコード・ロジック、
11)4ばM)]コード・テーブルROMである。 出7jQ人 キーヤノン株式令社 手続補正書(方式) 昭和59年10月24[」 特許庁長官 志 賀 学 殿 1、事件の表示 昭和59年特許願$ 114836号 2、発明の名称 圧縮コードの復号装置 3、補正をする者 事件との関係 特許出願人 住所 東京都大田区下丸子3−30−2名称 (100
)キャノン株式会社 代表者 賀 来 龍 三 部 4、代理人 居所 〒146東京都大田区下丸子3−30−2キャノ
ン株式会社内(電話75B−2111)5、補正命令の
目伺 昭和59年9月25日(発送日) 6、補正の対象 図 面 7 補IFの内容 願書に最初に婬伺した図面の第5図を別紙の通りに71
1書する(内容に変更なし)。 尚、図面中の文字等を明確に表示するために、出願時の
第5図を第5図その1及び第5図その2に分けて浄書致
しました。
・(r Figure 1 is a circuit block diagram showing the fence of one embodiment of the present invention, approximately 1?\\\ Figure 2 (a) #'i is a diagram showing the storage format of the ME code in the circuit 101 ,・13
Figure 2 (b) is a diagram showing the continuous state of multiple MJ (codes); Figure 3 shows the configuration of a 1-inch bit/77 data (four-way block diagram, μII Figure 4); Figure 85 is a circuit block diagram showing the configuration; Figure 11 is a detailed circuit diagram of the circuit block diagram shown in Figure 1. Figure 6 is a timing chart diagram showing the operation timing of each part of the circuit shown in JR5. 8 is a circuit block diagram showing the configuration of a decoding error ejection circuit, FIG. 8 is a diagram showing an example of the configuration of the printer, and FIG. 9 is a block diagram showing the circuit configuration for recording operation of the printer shown in FIG. Figure 1 EOL
A circuit block diagram showing the configuration of the detection circuit, FIG.
0 is a circuit diagram showing the configuration of the 1 production gate shown in FIG.・Decoding logic,
11)4BM)] code table ROM. 7jQ Person Keyanon Stock Reisha Procedures Amendment (Method) October 24, 1980 ['' Manabu Shiga, Commissioner of the Patent Office 1, Indication of the Case 1982 Patent Application $ 114836 No. 2, Decoding of Compressed Code of Title of Invention Device 3, relationship with the case of the person making the amendment Patent applicant address 3-30-2 Shimomaruko, Ota-ku, Tokyo Name (100
)Representative of Canon Co., Ltd. Ryu Kaku 3 Department 4, Agent address: Canon Co., Ltd. 3-30-2 Shimomaruko 3-30-2, Ota-ku, Tokyo 146 (telephone 75B-2111) 5, date of amendment order September 1980 25th (shipment date) 6. Drawings to be amended: Plane 7 Figure 5 of the drawing first reviewed in the supplementary IF content application form is attached as shown in the attached sheet.
Write one letter (no changes to the content). Furthermore, in order to clearly display the characters, etc. in the drawing, we have divided Figure 5 at the time of filing into Figure 5 Part 1 and Figure 5 Part 2 and reprinted it.

Claims (1)

【特許請求の範囲】[Claims] 連続して入力する圧縮コードから復号すべき圧縮コード
を取込む回路と、上記取込み回路にて取込まれた圧縮コ
ードを復号する回路と、上記復号回路からの復号データ
に基づき画素情報を再生する回路と、」二記再生回路が
与えられた復号データに基づく画像情報の再生を終了し
たことを示す終了信号を発生する回路とを有し、上記発
生回路からの終了信号に応じて上記取込み回路は次に復
号すべき圧縮コードの取込みを行なうことを特徴とする
圧縮コードの復号装置。
A circuit that captures a compressed code to be decoded from continuously input compressed codes, a circuit that decodes the compressed code captured by the capture circuit, and reproduces pixel information based on the decoded data from the decoding circuit. and a circuit for generating an end signal indicating that the reproducing circuit has finished reproducing the image information based on the given decoded data, the capturing circuit A compressed code decoding device is characterized in that it takes in a compressed code to be decoded next.
JP59114836A 1984-06-05 1984-06-05 Decompression device for compression code Expired - Lifetime JPH0646777B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59114836A JPH0646777B2 (en) 1984-06-05 1984-06-05 Decompression device for compression code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59114836A JPH0646777B2 (en) 1984-06-05 1984-06-05 Decompression device for compression code

Publications (2)

Publication Number Publication Date
JPS60257668A true JPS60257668A (en) 1985-12-19
JPH0646777B2 JPH0646777B2 (en) 1994-06-15

Family

ID=14647910

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59114836A Expired - Lifetime JPH0646777B2 (en) 1984-06-05 1984-06-05 Decompression device for compression code

Country Status (1)

Country Link
JP (1) JPH0646777B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04180469A (en) * 1990-11-15 1992-06-26 Hitachi Telecom Technol Ltd Code extending method and plotting device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55102968A (en) * 1979-01-31 1980-08-06 Sharp Corp Run-length decoding system for mh code

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55102968A (en) * 1979-01-31 1980-08-06 Sharp Corp Run-length decoding system for mh code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04180469A (en) * 1990-11-15 1992-06-26 Hitachi Telecom Technol Ltd Code extending method and plotting device

Also Published As

Publication number Publication date
JPH0646777B2 (en) 1994-06-15

Similar Documents

Publication Publication Date Title
US5736947A (en) Digital information encoding device, digital information decoding device, digital information encoding/decoding device, digital information encoding method, and digital information decoding method
US4750043A (en) Decoding apparatus for image code
US4051457A (en) System for generating a character pattern
JPS60502080A (en) Facsimile machine for run length coding
JPS60257668A (en) Encoder for compression code
JPS59178077A (en) Method for compressing data of binary picture
JP3269970B2 (en) Method and apparatus for compressing and decompressing digital image signals
GB2084366A (en) Decoding Apparatus for a Variable Length Code
JPS60502082A (en) Pixel generator for facsimile receiver
JPS6031423B2 (en) Compressed data restoration method
JPS60257667A (en) Decoder for compression code
JP3871995B2 (en) Encoding device and decoding device
JPS60257664A (en) Decoder for compression code
JPH0584698B2 (en)
JPS60257665A (en) Decoder for compression code
JPH0584697B2 (en)
JP3384287B2 (en) Encoding device and decoding device
JPH065890B2 (en) Decompression device for compression code
JPS6329472B2 (en)
JP3522289B2 (en) Gradation control circuit and printer
JPS61176253A (en) Picture processing system
JP3345531B2 (en) Encoding device and facsimile device
JPH0148594B2 (en)
JPS61176264A (en) Picture processing system
JPS5991772A (en) Picture printer

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term