Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2823155B2 - Image processing system - Google Patents
[go: Go Back, main page]

JP2823155B2 - Image processing system - Google Patents

Image processing system

Info

Publication number
JP2823155B2
JP2823155B2 JP60017009A JP1700985A JP2823155B2 JP 2823155 B2 JP2823155 B2 JP 2823155B2 JP 60017009 A JP60017009 A JP 60017009A JP 1700985 A JP1700985 A JP 1700985A JP 2823155 B2 JP2823155 B2 JP 2823155B2
Authority
JP
Japan
Prior art keywords
image
signal
line
memory
printer
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.)
Expired - Lifetime
Application number
JP60017009A
Other languages
Japanese (ja)
Other versions
JPS61176279A (en
Inventor
忍 有本
正憲 村松
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 JP60017009A priority Critical patent/JP2823155B2/en
Publication of JPS61176279A publication Critical patent/JPS61176279A/en
Application granted granted Critical
Publication of JP2823155B2 publication Critical patent/JP2823155B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)

Description

【発明の詳細な説明】 本発明は画像を電気的な画像信号として処理する画像
処理システムに関するものである。 従来より画像を電気信号に変換し、これを伝送したり
或いは蓄積する等の画像処理が提案されている。 ところで、400dpiの解像度によりA3サイズの画像を2
値信号で表わすためには、約4Mbyteの画像信号が用いら
れる。従って、この画像信号を記憶するためには少なく
とも同じbyteの数の記憶容量を持ったメモリを必要とす
る。 そこで、画像の記憶に際し、画像を圧縮することが考
えられる。これによると一般的な画像のデータ量は1/10
程度に減少でき、比較的小容量のメモリを用いればよい
ことになる。 また、この様にして圧縮されて記憶せしめられた画像
に別の画像を合成して、例えば像形成することが考えら
れるが、2通りの画像を正確に位置合せして合成するこ
とは難しい。 本発明は以上の点に鑑みてなされたもので、第1の原
稿画像と第2の原稿画像との合成画像を良好に形成する
ことを目的とし、詳しくは、第1,第2の原稿画像を夫々
表わす第1,第2の画像信号をライン毎に入力する入力手
段と、前記入力手段から入力された第1の画像信号を圧
縮する圧縮手段と、前記圧縮手段により圧縮された第1
の画像信号を記憶する記憶手段と、前記記憶手段から読
出された圧縮されている第1の画像信号を伸長し、伸長
された第1の画像信号をライン毎に出力する伸長手段
と、前記伸長手段からライン毎に出力された第1の画像
信号と前記入力手段からライン毎に入力された第2の画
像信号とを合成し、合成画像信号をライン毎に出力する
合成手段と、前記合成手段からライン毎に出力された合
成画像信号に基づいて第1,第2の原稿画像の合成画像を
ライン毎に形成する像形成手段とを有し、前記伸長手段
は、前記像形成手段のライン毎の画像形成に同期したラ
イン同期信号に同期して、圧縮されている第1の画像信
号をライン毎に伸長し、且つ、前記入力手段は、前記ラ
イン同期信号に同期して、第2の画像信号をライン毎に
入力する構成とし、更に、前記合成手段は、前記入力手
段からの第2の画像信号の入力開始を示す垂直同期信号
の入力から前記ライン同期信号を計数する計数手段を有
し、前記計数手段による前記ライン同期信号の計数値に
基づいて前記伸長手段による伸長動作を開始制御する画
像処理システムを提供するものである。 以下、本発明を図面を用いて詳細に説明する。 第1図は本発明を適用した画像処理システムであり、
画像読取り装置(以下リーダーと記す)1−1、画像記
憶装置(以下RMUと記す)1−2、画像形成装置(以下
プリンタと記す)1−3から構成されている。 主な機能としてリーダー1−1で読み取つた画像信号
をプリンタ1−3で像形成するコピー機能、リーダー1
−1で読み取つた画信号をRMU1−2に記憶するメモリ入
力機能、RMU1−2のメモリ内に記憶されている画信号を
プリンタ1−3において像形成するメモリプリントアウ
ト機能がある。 各装置は後述するビデオインターフエースによつて接
続されている。 リーダー1−1は第2図,第3図に示すように、例え
ば約500ビツトの受光素子を有するCCDラインセンサ3−
1により原稿台2−1上の原稿を複数画素に分解してラ
イン毎に読取り、原稿画像の濃炎を示すビツトシリアル
な2値化画像信号VDA,VDBを出力する。第2図におい
て、CCD3−1による1ラインの読取りが主走査読取り2
−2であり、主走査読取りラインの主走査方向にほぼ垂
直な方向への移動が副走査2−3である。 第3図はリーダーの簡単な構成図であり、原稿台2−
1の原稿から図示していない照明系により得られる反射
光をCCDラインセンサ3−1により1主走査ライン分の
ビツトシリアルな画像電気信号に変換する。CCD3−1に
よる原稿から反射光の強さに応じたアナログ画像電気信
号はA/Dコンバータ3−2により各画素毎の複数ビツト
のデイジタル画信号にデイジタル化される。そのデイジ
タル化された画信号は2値化コンパレータ3−3,3−4
により、閾値ジエネレータ3−5,3−6から発生される
2値化閾値信号と夫々比較され、2系統の1か0の2値
化画像信号VDA,VDBとして出力される。 仮りに、A/Dコンバータ3−2により入力するアナロ
グ画像信号を6ビツトのデイジタル画信号に変換したと
すると、0〜63の値をもつ64の濃度レベルが得られる。
例えば閾値ジエネレータA3−5からの閾値を42、閾値ジ
エネレータB3−6からの閾値を21とすると2値化コンパ
レータ3−3,3−4からの2値化画像信号VDAとVDBは以
下のようになる。すなわち、A/Dコンバータ3−2から
の出力が0〜20の場合はVDA=0,VDB=0、A/Dコンバー
タ3−2からの出力が21〜41の場合はVDA=0,VDB=1、
A/Dコンバータ3−2からの出力が42〜63の場合はVDA=
1,VDB=1となり、原稿からの画像信号はその反射濃度
に応じて3つの状態VDA=0,VDB=0、VDA=0,VDB=1、
VDA=1,VDB=1で表わされる。従つて、画像信号は各画
素毎に3値でリーダーから出力される。尚、閾値ジエネ
レータA,閾値ジエネレータBからの閾値を等しくするこ
とも可能で、これにより2値の画像信号が出力される。
また、閾値コンパレータ3−5,3−6は従来公知の組織
的デイザ法によるデイザマトリクス閾値を発生すること
も出来、これによりVDA,VDBの3値化画像信号で中間調
を表現することも可能である。 第1図中のRMU1−2は前述の如く画像記憶装置であ
る。その内部はリーダーからの画像信号を符号化により
圧縮処理する圧縮回路1−2−1と、符号化された画像
信号を記憶する圧縮画像メモリ1−2−2と、圧縮画像
メモリ1−2−2の圧縮画像信号を読出し、復号化処理
してビツトシリアルな画像信号に伸長する伸長回路1−
2−3で構成されている。 1−3のプリンタは従来から良く知られている静電記
録プロセスによるレーザービームプリンタであり第4図
に概略図を示す。第4図において、4−1は所定軸に関
して回転する感光ドラム、4−2は画像信号をレーザー
光のON−OFFに変換するレーザードライバー、4−3は
レーザードライバー4−2から発せられたレーザー光を
感光ドラム4−1の軸方向に走査するポリゴンスキヤナ
ー、4−4はレーザー光の走査により形成された感光ド
ラム4−1の静電潜像をトナー現像する現像ユニツト、
4−5はプリント用紙カセツト、4−6はプリント用紙
カセツト4−5よりプリント用紙を1枚ずつ引き出すプ
リント用紙ピツクアツプローラー、4−7はプリント用
紙を感光ドラム4−1の回転に同期して送り出すレジス
トローラー、4−8は感光ドラム4−1上のトナー像を
プリント用紙に転写する転写ユニツト、4−9はプリン
ト用紙に転写されたトナー像をプリント用紙に定着させ
る定着ユニツト、4−10はトナー像の定着されたプリン
ト用紙が排出される排紙トレーである。 プリンタにおいて電気信号である画像信号が、プリン
ト用紙上に具現化される動作を第5図を参照して説明す
る。ビデオインターフエース5−11から入力される2系
統の2値化画像信号VDA,VDBは、合成回路5−10で3値
(VD信号)に合成されレーザ・ドライバ5−3に入力さ
れ、半導体レーザ5−4でVD信号に基づいたレーザ光に
変換される。レーザ光は、コリメータ・レンズ5−5で
集束され、ポリゴン・ミラー5−6で所定回転している
感光ドラム5−2の回転軸に対し略平行方向にスキヤン
される。スキヤンされたレーザ光は、f−θレンズ5−
7で走査位置の補正を受け、感光ドラム5−2上に照射
されVD信号による潜像を形成する。 プリンタの像形成はいわゆる静電記録方式を使用して
おり、感光ドラム5−2上に印加された電荷をレーザ光
で必要部分を除去して、これに現像剤を用いて現像処理
を行い、プリント用紙に転写、定着をすることにより行
う。静電記録方式は、周知の技術であるので、詳細な説
明は省略する。 さて、ポリゴン・ミラー5−6によつてスキヤンされ
たレーザ光は、感光ドラム5−2に照射される前に光フ
アイバー5−8に入射され、光検知器5−9はその入射
を検知すると電気信号(BD信号)を出力する。 画信号出力装置はBD信号が発生してからレーザ光が感
光ドラム2−2に到達するまでの時間待つてからVD信号
を出力すれば、感光ドラム2−2上の適切な位置に潜像
が形成されることになる。 第1図の各装置を結合するインターフエースをビデオ
インターフエースと呼び、第6図にその概略図を示す。 ビデオインターフエースは画像出力装置6−1と画像
受信装置6−2を結合するインターフエースであり、画
像出力装置の代表例として前述のリーダーがあり、画像
受信装置としてはプリンタがある。第1図の画像記憶装
置(RMU)1−2はリーダー1−1に対しては画像受信
装置として位置づけられ、プリンタ1−3に対しては画
像出力位置として位置づけられる。 ビデオインターフエースは前述のようにビツトシリア
ルな画像信号VDA,VDBを伝送するとともに、画像信号を
制御する信号としての画像受信装置からのライン同期信
号BD,画像出力装置からの出力画像信号1ページ分の区
間信号であるVSYNC、1ラインの区間信号であるビデオ
イネプル(VE)、画像クロツクVCLKからなる同期信号が
伝送される。 これらの画像/画像同期信号は第7図に示す位相関係
にあり画像出力装置はBD信号を受信すると第5図のBD信
号発生位置である光フアイバー5−8の受光端から感光
ドラム5−2の画像有効領域までの時間(レフトマージ
ン)をカウントした後、1ライン分の画像信号VDA,VDB
及び区間信号VEを出力する。信号VE,VDA,VDBは画像クロ
ックVCLKに同期しており、プリンタにおいてVDAとVDBは
クロツクVCLKに同期して記録画像VDとして三値合成さ
れ、レーザードライバに伝達される。 さらにビデオインターフエースには、制御情報を表わ
す制御信号として各装置のコネクト信号(DCNCT)、各
装置の制御部が正常に動作していることを示すパラーレ
デイ(DPRDY)、画像受信装置の出力用紙給紙可能状態
を示す信号(PREQ)、画像出力装置からの出力用紙給紙
信号(PRINT)、画像受信装置からの画像要求信号(XSR
EQ)が伝送される。また、制御信号としてはプリンタの
給紙段の紙サイズ情報や各種装置の接続状態や詳細なエ
ラー情報等を含まれる。 第8図にビデオインターフエースを伝送される各種信
号の名称、略称、伝送方向、信号の分類及び内容を一覧
表として示す。 本実施例における構成要素の概略の説明は以上である
が、それを踏まえてRMU1−2における画像符号化の説明
を行う。 リーダーからの画像信号はビツトシリアルな画情報で
あるので400dpi(1インチ当り400ドツト)の解像度で
読み取られた画情報は、A31ページで3.7Mバイトのメモ
リ容量となる。これは64KバイトのDRAMで574コ相当の面
情報であり実装面でも、価格面でも非現実的であるの
で、画像を圧縮符号化してメモリ1−2−2に記憶す
る。 リーダーからの画情報は画像圧縮部1−2−2にて圧
縮符号化処理されるが、本実施例では符号化としてラン
レングス法を用いている。ランレングス法は画像信号の
“1"の状態あるいは“0"の状態の連続数をカウンタにて
計数した結果を画像信号として取扱うものであり、本実
施例ランレングス符号化の形式を第9図に示す。 本実施例におけるランレングスコードのフオーマツト
は(9−1)に示す如く1バイト(8ビツト)で構成さ
れ画像の符号化データはbit6〜bit0に7ビツトの2進形
式で表わされる。また、7ビツトの2進形式ではランレ
ングス(1/0の連続数)は0ビツトから127ビツトまでし
か表わすことができないので、128ビツト以上のランレ
ングスの場合は、2バイト構成で表わす。この場合2バ
イトの一方は128ビツトの整数倍のランレングスを表わ
すメイクアツプコード(以下Mコードと記す)となり、
残る1バイトは0ビツトから127ビツトまでの端数を表
わすターミネートコード(以下Tコードと記す)とな
る。このメークアツプコードとターミネートコードを区
別するために(9−1)に示す如くbit7を識別フラグと
して用い、1がMコード,0がTコードを示す。 本実施例のランレングス符号化をA3サイズの原稿の主
走査長297mm分の1ラインの画像信号4677ビツトが白信
号5ビツト連続と黒信号4672ビツトの連続の白・黒パタ
ーンで構成された場合を例にとつて説明する。 本実施例におけるランレングス法では最初に表われる
白5ビツトは(9−3)のようにTコードを用いて符号
化される。次に表わされる黒4672ビツトは128以上なの
でMコードとTコードから構成され、Mコードとしては
(9−4)のように、36が2進化表現され、Tコードと
しては(9−5)のように、64が2進化表現される。す
なわち、Mコード(128×36)+Tコード(64)=4672
と符号化されることになる。以上説明したように、上述
した4677ビツトの1ラインの画像信号は(9−3),
(9−4),(9−5)の3バイトで表現される。 また、1ラインの区切りの信号として(9−2)に示
すEOLコード(End of Lineコード)を用いている。この
EOLコードはbit7が1であるため、Mコードのようであ
るが、Mコードでbit6からbit0が全て1である場合は、
16256ビツトの画像信号の連続を意味することになる。
本実施例において1ラインのデータ長は最大4677ビツト
であり、Mコードでは必らずbit6が0になるため、通常
のランレングス符号化で全てのビツトが1になるMコー
ドが発生することはなく、EOLコードとMコードは明確
に区別される。 このEOLコードを加えて前述の白5ビツト黒4672ビツ
トの4677ビツトの1ラインの画像信号は原信号の約1/14
6の量に当る4バイトデータでメモリに書き込まれるこ
とになる。尚、本符号化方法は白か黒かを示すデータを
符号中に持つていない。そのかわりに、1ラインのデー
タは必らず白コードで初まることとしている。そして、
Tコードを白から黒、黒から白へのデータの変化を示す
コードとして兼用している。もし1ラインが黒から初ま
る場合は白0を表わすTコード0を黒コードの前に付け
る。また、画像の連続がちょうど128の整数倍で、Mコ
ードのみで符号化できる場合にも、色が変化するという
意味で白0を表わすTコード0を付ける。 第10図を参照して、本実施例の詳細な説明を行う。 第10図は第1図示システムの詳細な構成を示す図であ
り10−1のリーダーが第1図における1−1のリーダー
に、10−3のプリンタが1−3のプリンタに、10−4の
圧縮回路が1−2−1に、10−5の圧縮画像メモリが1
−2−2に、10−6の伸長回路が1−2−3におのおの
対応している。10−2はコントローラーでありマイクロ
プロセツサ及び周辺I/Oポートデバイスから構成されて
おり、リーダー10−1、プリンタ10−3とのシリアル通
信、各種ビデオインターフエース制御信号の入出力、RM
U内部のセレクタの制御、カウンタ、コンパレータ等へ
の定数のセツト、各種タイミング信号の発生、RMU内部
状態の取り込み等の機能を有する。 10−4の圧縮回路はリーダー10−1からの画像信号を
前述のランレングス法で、1ラインずつ圧縮する回路で
ある。 10−5は圧縮画像メモリ圧縮回路10−4で生成される
ランレングスコードを書き込み、また10−6の伸長回路
に読み出されたコードを供給する。 伸長回路10−6は圧縮画像メモリ10−5からのランレ
ングスコードをビツトシリアルな画像データに伸長する
回路である。 10−7はEOLコード検出回路で伸長中に起こるEOLエラ
ーの検出、EOLエラーの修復、EOLコードの読み飛ばしに
よる伸長時の画像の副走査方向の縮小を行う。また、EO
L検出回路はコントローラー10−2からの副走査伸長区
間信号V−DECがアサートされた時のみ動作する回路で
あり、信号V・DECがネゲートされている時にはEOL検出
回路10−7の出力信号であるバツフアチエンジイネーブ
ル(Buff CHG ENB)信号とデータイネーブル(Date EN
B)信号はハイ(H)レベルに固定され、DRP2信号はロ
ー(L)レベルに固定される。 10−8はメモリアドレスカウンタでアツプカウント動
作をし、圧縮画像メモリ10−5のアドレツシングを行
う。このカウンタはコントローラー10−2で書き込み読
み出し開始アドレスの設定が可能で、さらにカウンタ出
力がコントローラー10−2により読み込むことが可能な
構成である。このカウンタ10−8のカウントクロツクと
しは圧縮回路10−4、伸長回路10−6、EOL検出回路10
−7からのDWP信号、DRP1信号、DRP2信号がNORゲート10
−29を通して与えられる。 10−10はデイザカウンタであり第11図の構成を持つ。
本実施例におけるデイザカウンタは13−1の3ビツトダ
ウンカウンタと13−2の10ビツトダウンカウンタと、13
−3の10ビツトコンパレータから構成されている。13−
3と13−2の2つのダウンカウンタで合計13ビツトのア
ドレス信号DADRをダブルバツフアメモリ10−15に供給す
る。 10−11はラインカウンタで、コントローラー10−2に
て設定されたライン数を計数し、計数が終了するとコン
トローラー10−2に信号を発生する。 10−12は主走査カウンタ、デコーダで1ライン毎の圧
縮,伸長の区間信号H−AREAを発生したり、デイザカウ
ンタ10−10のスタート信号DCSTARTを発生したり、ダブ
ルバツフアメモリ10−15へのアドレス(HATR)を発生し
たり、ダブルバツフアメモリ10−15からの画像信号をト
リミングする信号(TRM)を発生する。第12図に主走査
カウンタ、デコーダ10−12の詳細な構成を示す。 第12図において14−1は13ビツトのダウンカウンタで
カウントスタート値はコントローラ10−2により設定さ
れ、START信号入力でカウントを開始する。14−2から1
4−8は夫々13ビツトのコンパレータで、カウンタ14−
1の値がコントローラにより夫々設定された値と等しく
なつた時にA=B出力を発生する。14−10から14−12は
フリツプフロツプで14−2から14−7のコンパレータの
出力によりセツト,リセツトされる。 10−14はコンパレータでありメモリアドレスカウンタ
10−8のアツプカウント出力M−ADRとコントローラ10
−2からの設定値を比較する。コンパレータ10−14のA
≦B出力である信号MOVERによりコントローラー10−2
はメモリアドレスカウンタ10−8がコンパレータ10−14
のA入力値に達したことを検出する。またこの状態でMO
VER信号が論理状態1(以下Hレベルと記す)になるこ
とによりメモリアドレスカウンタ10−8のCLK入力は、N
ORゲート10−30により禁止されたメモリアドレスカウン
タ10−8のカウントアツプ動作は停止する。 10−15はメモリX,メモリYの各々1ライン分ずつのメ
モリからなるダブルバツフアメモリであり、メモリXと
メモリYは読出し動作と書き込み動作が互いに逆にな
る。またこのバツフアの切り換えはBuff CHG信号の入力
により行なわれ、リードアドレス信号,ライトアドレス
信号はデイザカウンタ10−10からのDADRと主走査カウン
タ・デコーダ10−12からのHADRを適時用いている。 10−16は伸長した画像信号をプリンタに出力するビデ
オクロツクを発生する内部クロツク発生部でありHSYNC
信号に同期してクロツクICLKを発生する。 10−17は水平同期信号発生部でありビデオインターフ
エースを介してプリンタから入力されるBDと略同周波数
のIBD信号を出力する。プリンタ10−3からビデオイン
ターフエースで規定されたBD信号P−BDが入力されない
場合、このIBD信号をセレクタSEL510−22で選択するこ
とによりRMU内部の主走査同期信号HSYNC、リーダーへの
BD信号R−BDとして用いる。 10−18はφSYSクロツクのセレクタであり、リーダー
からのビデオクロツクR−VCLKと、内部クロツク発生部
10−16からのI−CLKをコントローラー10−2からの指
示により選択する。 10−19はダブルバツフアメモリ10−15への書き込みデ
ータのセレクタであり、リーダーからの画像信号R−VD
Aと伸長回路10−6からの伸長画像信号DVDOをコントロ
ーラー10−2からの指示により選択する。 10−20は主走査カウンタデコーダ10−12のカウント開
始信号及びラインカウンタ10−11のクロツク入力として
用いられるLN−ST信号のセレクタでありセレクタSEL510
−22からのHSYNC信号とリーダーからのR−VE信号をコ
ントローラー10−2からの指示により選択する。 10−21はプリンタに行くVE信号P−VEのセレクタで、
主走査カウンタ・デコーダからのVEに相当するOVE信号
とリーダーからのVE信号R−VEをコントローラー10−2
からの指示により選択する。 10−22は前述の如くHSYNCのセレクタであり、コント
ローラー10−2からの指示により選択される。 10−23はプリンタ10−3に出力する画像信号P−VDA
とP−VDBのセレクタでコントローラー10−2により制
御される。ビデオセレクタ10−23のA0,B0入力にはリー
ダーからの画像信号R−VDAが接続され、このA0,B0入力
をセレクトすることによりプリンタへの画像信号P−VD
A,P−VDBの両方にリーダーからのR−VDAが接続される
ことになり、プリンタに出力される記録画像VDは第7図
から明らかなように、2値画像となる。 また、ビデオセレクタ10−23でA1入力とB1入力が選択
されると、プリンタへ行く画像信号P−VDAには、リー
ダーからの画像信号R−VDAが出力され、P−VDBには、
リーダからの画像信号R−VDBをさらにANDゲート10−34
を通した信号が出力される。このANDゲート10−34のも
う一方の入力信号▲▼はコントローラー10
−2からの信号である。この▲▼がHレベ
ルであればプリンタに行く画像信号P−VDBはリーダー
からの画像信号R−VDBと同じ信号になりプリンタに出
力される記録画像VDは第7図に示すようにリーダーから
の画像信号R−VDA,R−VDBを合成した画像となる。 ▲▼信号が論理状態0(以下“Lレベ
ル”と記す)であればプリンタに行く画像信号P−VDB
はLレベルに固定される。このため第7図からわかるよ
うにプリンタに出力される画像信号VDは1画素(1ビデ
オクロツク)区間に対して約50%のデユーテイのVDA信
号が出力紙に記録される。これは▲▼信号
がLレベルの場合はHレベルの場合に対してレーザーユ
ニツト5−4から発せられれレーザー光の点灯時間が約
半分になることを意味し、R−HALF信号をLレベルにす
ることによりリーダーからの画像信号の約50%の出力画
像濃度が得られる。 ビデオセレクタ10−23でA2入力とB2入力が選択される
と、プリンタへ行く画像信号P−VDAはダブルバツフア
メモリ10−15からの出力をANDゲート10−27,10−28を通
した信号RMU−VDとなる。またプリンタへ行く画像信号
P−VDBは信号RMU−VDをさらにANDゲート10−32を通し
た信号となる。このANDゲート10−23のもう一方の入力
▲▼はコントローラ10−2からの信号
であり、この▲▼信号がHレベルであ
ればプリンタに行く画像信号P−VDBはR−VDAと同じ信
号となりプリンタに出力される記録画像VDは第7図から
わかるように画像信号RMU−VDによる2値画像になる。
▲▼信号がLレベルであればプリンタ
に行く画像信号P−VDBはLレベルに固定される。すな
わちR−VDAにはダブルバツフアメモリ10−15からの画
像信号RMU−VDが伝送されるが、P−VDBはLレベルのま
まであるのでプリンタに出力される画像信号VDは第7図
からわかるように、1画素(1ビデオクロツク)区間に
対して約50%のデユーテイの画像信号として出力紙に記
録される。これは▲▼信号がLレベル
の場合はHレベルの場合に対してレーザーユニツト5−
4から発せられるレーザー光のON時間が約半分になるこ
とを意味し、▲▼信号をLレベルにす
ることにより約50%の出力画像濃度が得られる。 ビデオセレクタ10−23でA3入力とB3入力が選択される
と、ORゲート10−31,10−32の働きによりプリンタに行
く画像信号R−VDA,P−VDBはリーダーからの画像信号R
−VDA,R−VDBとダブルバツフアメモリ10−15よりの画像
信号RMU−VDを合成したものとなる。ここで前述の▲
▼信号,▲▼信号を任意に
組み合わせることによりプリンタに出力される画像信号
VDは表1のようになる。 10−25はEOL検出回路10−7からのBuff CHG ENB信号
(ダブルバツフアを切り換え許可)によりLN−ST信号を
ゲートしてダブルバツフアメモリ10−15のリードバツフ
ア,ライトバツフアの切り換え信号Buff CHGを発生する
2入力ANDゲートである。 10−35は伸長エラーカウンタであり10−6の伸長回路
による伸長エラーのライン数を計数する。 以上のように構成された本実施例の基本的な機能は以
下の4つである。 (1) (2値圧縮) リーダー10−1からの固定閾値による画像信号R−VD
Aの任意の部分を2値圧縮処理し、圧縮画像メモリ10−
5に書き込む機能。尚、原稿全域の画像信号をメモリ10
−5に書き込む場合もこれの応用である。 (2) (デイザ圧縮) リーダー10−1からのデイザマトリクス閾値による画
像信号R−VDAの任意の部分をデイザ圧縮処理し圧縮画
像メモリ10−5に書き込む機能。 (3) (2値伸長) 圧縮画像メモリ10−5に記憶されている2値圧縮画像
を読み出し2値伸長処理をして、プリンタ10−3に出力
する機能。 (4) (デイザ伸長) 圧縮画像メモリ10−5に記憶されているデイザ圧縮画
像を読み出しデイザ伸長処理をして、プリンタ10−3に
出力する機能。 以下、順に具体的な動作を説明する。 (1) 2値圧縮の機能 リーダーから入力される画像信号は第7図のように主
走査1ラインを表わすVE信号を同期信号として伝送され
て来る。そしてVSYNC信号により1ページ分の副走査区
間が表わされる。このVE信号は第10図においてはR−VE
信号と表現されている。 本実施例における画像圧縮方法は主走査方向のみの画
像データの符号化であり副走査方向には画像圧縮を行わ
ない。 以下第13図に示すようなリーダーから伝送されて来る
400dot/inch(400dpi)の分解度のA3サイズ(主走査297
mm(4677ビツトに対応),副走査420mm)の面像情報A
から主走査方向に70mm,副走査方向に100mm経過した点か
ら140mm×210mmの画像情報Bをトリミングして2値圧縮
する場合を例に取つて説明を行う。 リーダー10−1から上記の画像データを受信する前に
コントローラー10−2はRMU内部の各部のモード設定を
行う。 リーダー10−1から送られて来る画像信号R−VDAを
圧縮処理するためにRMU内部で用いるクロツクφSYSとし
てリーダー10−1からのクロツクR−VCLKを選択すべく
10−18SEL1を設定する。 リーダー10−1から入力された画像信号R−VDAは一
担ダブルバツフアメモリ10−15にライン毎に蓄えられ、
その出力は圧縮回路10−4に入力される。そのため、ダ
ブルバツフアメモリ10−15に入力される画像データをR
−VDAにすべく10−19SEL2を設定する。 次に1ライン毎の同期信号LN−STを設定するが、これ
は、リーダー10−1からのR−VE信号を用いるべく10−
20SEL3を設定する。また、リーダー10−1はR−VEを発
生するための同期信号として、R−BD信号を必要とする
ことはビデオインターフエースの説明で述べたが、この
R−BD信号として水平同期信号発生部10−17からのIBD
信号を出力すべく10−22SEL5を設定する。 次に主走査カウンタ・デコーダ10−12のダウンカウン
タ14−1には1ライン分の画像データ4677ビツトを制御
できるようにカウント開始値4677を設定する。 第13図のB領域の主走査方向の設定をコンパレータ14
−4,14−5に行う。すなわち、この2つのコンパレータ
の出力でセツト,リセツトされるフリツプフロツプ14−
11からのH−AREA信号が圧縮回路10−4に与えられ、圧
縮回路10−4はこの信号がHレベルの主走査区間中の画
像データをランレングス符号化処理し、圧縮画像メモリ
10−5に書き込む。このためコンパレータ14−4には第
13図B領域までの主走査方向余白70mm分に相当する1102
ビツトを4677から引いた値3575をセツトす。またコンパ
レータ14−5には、B領域の主走査巾140mm分に相当す
る2204ビツトをさらに3575から引いた値1371をセツトす
る。 コンパレータ14−8からの出力DCSTARTによりデイザ
カウンタ10−10の動き出すわけであるが、14−1のダウ
ンカウンタとデイザカウンタ10−10を同時に動作させる
べく、コンパレータ14−8には4677をセツトする。 デイザカウンタ10−10には、以下の定数設定を行う。
すなわちカウンタ13−1,13−2にはカウント開始値4677
をセツトし、また2値圧縮を行うためにDifheの信号を
Lレベルにする。これによりデイザカウンタ10−10はダ
ウンカウンタ14−1と同様の動作を行う。 以上の定数設定によりダブルバツフアメモリ10−15に
与えられる2つのアドレスDADR,HADRは共にR−VE信号
の立ち上りにより4677からカウントダウンすることにな
る。すなわち、ダブルバツフア10−15より圧縮回路10−
4に与えられる画像信号EVDOはリーダーからの画像信号
R−VDAからちようど1ライン遅れた信号になる。 伸長回路10−6,EOL検出回路10−7に与えられる伸長
開始信号V−DECはLレベルであるので、DRP1信号DRP2
信号はLレベルであり、Buff CHG ENB信号,Data ENB信
号はHレベルとなり伸長回路10−6,EOL検出回路10−7
は、圧縮動作に影響を与えないように構成されている。 さらにメモリアドレスカウンタ10−8に圧縮画像メモ
リ10−5への書き込み開始アドレスをセツトする。 この状態でコントローラー10−2はリーダーからのVS
YNCが入力されるのを持つ。VSYNCが入力されると、コン
トローラー10−2は、第13図のB領域までの副走査長10
0mmを計数すべく100mmに相当する1574ラインをラインカ
ウンタ10−11に設定する。ラインカウンタ10−11はLN−
ST信号によりカウントダウンし、すなわち、リーダーか
らの主走査区間信号R−VEが1574回入力されると、ライ
ンカウンタ10−11はカウントup信号をコントローラー10
−2に発し、コントローラーはリーダーからの画像信号
がB領域に入つたことを検出する。それによりコントロ
ーラーは圧縮回路10−4に画像圧縮を開始させるべくV
−ENCをLレベルからHレベルにするとともに、B領域
の副走査長210mmを測定するため、ラインカウンタ10−1
1に210mm分に相当する3307をセツトする。リーダーから
B領域分の3307ラインのR−VE信号が入力されるとライ
ンカウンタ10−11は再度カウントアツプし、コントロー
ラー10−2はこれを検出してV−ENC信号をHレベルか
らLレベルにして、圧縮回路10−4の画像データ圧縮動
作を停止させる。 このように、リーダー10−1から連続的に入力される
画像信号R−VDAは主走査方向には主走査カウンタデコ
ーダ10−12から発せられるH−AREAがHレベルの任意の
区間、また副走査方向にはコントローラー10−2が発す
るV−ENCがHレベルの任意の区間にトリミングされつ
つ圧縮回路10−4により符号化され、圧縮画像メモリ10
−5に書き込まれる。 この様子を第14図に示す。第14図におけるR−VDA
は、ある1ラインの画像信号の入力の例であるがあるラ
インのトリミング領域における画像信号として白2ビツ
ト,黒2204ビツト,白5ビツトと入力された場合を示し
ている。このR−VDA入力により圧縮回路10−4におい
て5バイトのランレングスコードが生成される。すなわ
ち、最初の白2により2HのTコード、次に黒2204により
Mコード91H,Tコード15H,最後の白5により5HのTコー
ド、さらにGH−AREAの終了によるEOLコードが生成さ
れ、圧縮回路10−4からの書込み要求DWPパルスにより
圧縮画像メモリ10−5に書き込まれる。 圧縮画像メモリ10−5をアドレツシングするのがメモ
リアドレスカウンタ10−8であり、DWPパルスがゲート1
0−29,10−30を通つた信号によりカウントアツプする。 仮りにリーダーからの画像信号R−VDAの変化が激し
く多量の圧縮コードMWコードが発生すると、圧縮画像メ
モリ10−5に全ての圧縮コードMWコードが書ききれない
状況が生ずる。さらに第15図のように圧縮画像メモリ10
−5に複数ページの圧縮画像データを書き込む場合に、
前に書きこんでおいた圧縮画像データTの一部が新らた
に書き込まれた圧縮画像データUによつて損われてしま
う状況が生ずる。本実施例では圧縮画像データ書き込み
時に、書き込み可能空領域を越えてしまつたことを検出
し、他の圧縮データを保護するためにコンパレータ10−
14を用い、メモリの使用状況をモニタしている。 第15図において圧縮画像メモリ中に圧縮画像S(エン
ドアドレスSE)と圧縮画像T(スタートアドレスTS)が
記憶されている状態でアドレスSEとアドレスTSの間に圧
縮画像Uを書き込む場合コントローラー10−2は書き込
み開始アドレスUSを圧縮画像SのエンドアドレスSEに基
づいてメモリアドレスカウンタ10−8に設定し、アドレ
スリミツタとして圧縮画像Tの開始アドレスTSをコンパ
レータ10−14に設定する。書き込みが進行してアドレス
カウンタ10−8のカウント出力が、コンパレータ10−14
のTS値に達するとコンパレータのA≦B出力が発生し、
ゲート10−30において新らたな書き込み要求パルスDWP
はゲートされメモリアドレスカウンタは停止し更なる書
込み動作が禁止される。これにより圧縮画像Tは保護さ
れる。またコントローラ10−2はコンパレータ10−14か
らのA≦B出力であるMOVER信号を受けて圧縮画像がメ
モリ10−5に書ききれなかつたことを検出し、画像圧縮
エラーとし、画像データの書ききれなかつたメモリ領域
を空領域として、その画像のメモリからの出力を禁止す
るとともに、リーダの表示部にてその旨を表示する。 コントローラー10−2は画像圧縮終了時にMover信号
を判定し、Mover信号が発生されていないことを検出し
た場合、画像圧縮書き込みが成功したと判別し、メモリ
アドレスカウンタ10−8からのアドレス出力MADRを読み
込み、今回書き込んだ圧縮画像の終了アドレスとしてコ
ントローラーの内部メモリに保持し、次回の圧縮画像の
書き込み開始アドレスの設定に用いる。 また同様にメモリアドレスカウンタ10−8に設定した
書き込み開始、終了アドレスもコントローラーは保持し
て、圧縮画像データの伸長出力時に用いる。 尚、原稿全域の画像を符号化してメモリに格納する場
合にはトリミング領域を原稿サイズとすればよい。 (2) デイザ圧縮の機能 リーダー10−1から入力される画像信号が組織的デイ
ザ法による中間調表現されたものの場合、画像の変化が
激しくなり、本実施例で用いているような主走査方向に
おける画像の連続性をコード化する画像圧縮方法では効
果的な画像圧縮を行うことが困難となる。 本実施例ではデイザパターンの周期性を利用してデイ
ザ処理された画像信号を効果的に圧縮する。 第16図においてデイザ処理された画像信号は(16−
1)のようにリーダー10−1から入力される。本実施例
では、1ブロツク当り8×8のデイザマトリクスを用い
ておりその詳細は(16−2)のaブロツクを示す。仮り
に、リーダーから読み取られた画像信号が均一に32レベ
ルのものであつた場合、デイザマトリクスの閾値の値が
32以上のところに黒信号が出力され、(16−2)のデイ
ザマトリクスにより(16−1)に模式的に示すような画
像を得る。(16−1)の画像信号で主走査方向の4ブロ
ツクのみを拡大したものが(16−2)である。ここでH
で示す主走査ラインの信号が(16−4)のRVDA信号とな
り、4ブロツクの間で8回の状態変化が発生している。
この状態変化の回数は、ブロツク数に比例し、A4巾297m
mでは1168回の状態変化が発生することになりランレン
グス符号化により1170バイトの符号化データ量となつて
しまう。この1170バイトは原画像量4677ビツトの約2倍
のデータ量でありかえつて画像情報量が増えてしまうこ
とになる。 そこで(16−2)のHラインから得られる画像信号を
(16−3)のように同じ閾値で処理された画像信号を抽
出してブロツク順に並らべ変えることにより4ブロツク
間で、(16−4)のEVDOに示すように、2回の状態変化
となる。すなわち(16−3)のように、各ブロツクの同
じ閾値による信号は黒か白かの状態のばらつきが少ない
ので、これらを連続するように並らべることにより画像
の連続性を伸ばすことになる。 本実施例では、この画像信号のデイザマトリクスに応
じた並らびかえをデイザカウンタ10−10を用いてダブル
バツフアメモリ10−15の読出しを制御することにより行
う。 リーダーからのデイザ画像信号RVDAは、主走査カウン
タ・デコーダ10−12のアドレス制御によりダブルバツフ
アメモリ10−15にリーダからの入力順に書き込まれる。 本実施例ではデイザパターンの主走査の繰り返しが8
ビツト間隔なので、デイザカウンタ10−10は、ダブルバ
ツフアメモリ10−15から画像データを読み出す時に8ビ
ツト間隔にダウンカウントして読み出す。この8ビツト
間隔の読み出しは第11図に示されるコントローラー10−
2からのDither信号によつてなされる。またコントロー
ラー10−2は(16−1)に示す主走査圧縮ブロツク数N
により、13−2のカウンタ設定値からN−1を引いた値
をコンパレータ13−3に設定する。この圧縮ブロツク数
Nは圧縮回路10−4に与えられる主走査圧縮データ長を
示すH−AREA信号の長さに対応しており(H−AREA信号
ビツト長)=N×8となる。 第11図のDither信号がHレベルになることで3ビツト
カウンタ13−1と10ビツトカウンタ13−2は分離され、
13−2のカウンタがカウントダウンしてコンパレータ13
−3に設定されたブロツク数Nだけカウントすると、コ
ンパレータ13−3のA=B出力が発生し、カウンタ13−
2は最初の設定値に再ロードされ、13−1のカウンタは
1だけカウントダウンする。 すなわち、カウンタ13−2でブロツク数Nをカウント
し、カウンタ13−1で、各ブロツク内の何番目の閾値に
よる画像信号かを指定する。このように、デイザマトリ
クスの主走査ブロツク長はコンパレータ13−3によつて
任意のNを選択することが可能であり主走査方向に任意
の長さの画像信号のデイザ圧縮に対応することができ
る。 (3) 2値画像伸長の機能 (1)において述べた2値圧縮画像を伸長処理してプ
リンタ10−3に出力する機能であり、これにより伸長画
像のトリミング,移動処理をすることができる。 まず基本的な2値画像伸長を説明するために、トリミ
ング,移動の各処理を行わない場合として、2値画像圧
縮により第13図のB領域からの圧縮画像信号が圧縮画像
メモリ10−5に記憶されているものとし、その圧縮画像
をA領域の大きさのA3の出力用紙のB領域の場所に画像
出力する場合を例に取る。 コントローラー10−2はB領域の画像伸長出力に先だ
ち、副走査方向の先端100mmの余白を作るためにプリン
タ10−3にA3の出力用紙を先行給紙させる。すなわち、
第4図においてプリンタは感光ドラムの転写位置bから
レーザー露光される点aまでの距離と、bからレジスト
給紙点cまでの距離が等しくなるように構成されている
ため4−7のレジストローラーでA3の出力用紙を送り出
して、100mmの副走査紙送りの後に伸長動作を開始し、
第13図のB画像を出力する。そのため、コントローラー
10−2はプリンタにレジスト給紙信号VSYNCを出力した
後、ラインカウンタ10−11に100mmに相当するライン数
をセツトする。この値は400dpiの解像度で1574ラインと
なる。 画像伸長時のライン同期信号LN−STは10−20のSEL3,1
0−22のSEL5によつてプリンタからのBD信号P−BDが選
択される。また内部クロツクφSYSは、10−22のSEL5に
より選択されたHSYNCに同期して内部クロツク発生部10
−16で発生されるI−CLKを10−18のSEL1で選択する。 さて、前述のラインカウンタ10−11で副走査余白100m
m相当の1574ラインのカウントを終了すると、コントロ
ーラーは画像伸長信号V−DECを出力し、B領域の伸長
動作を開始するが、それに先だち、画像圧縮記憶時にメ
モリアドレスカウンタ10−8に設定したアドレス値を、
コンパレータ10−14には圧縮時の最終のMADR値をセツト
する。 コントローラ10−2からのVDEC信号により伸長回路10
−6は1ラインずつ画像伸長をし、伸長された画像信号
DVDOはダブルバツフアメモリ10−15に書き込まれ、1ラ
イン後に、プリンタに出力される。この時デイザカウン
タ10−10はダブルバツフアメモリ10−15に対する書き込
みアドレスカウンタとして働き、主走査カウンタデコー
ダは読み出しアドレスカウンタとして働く。 以下1ラインの画像伸長動作を第17図により説明す
る。HADR値がAのときにプリンタに対するビデオイネー
ブル信号としてのOVE信号がHレベルになるものとし
て、主走査カウンタデコーダー10−11のダウンカウンタ
14−1には前述のレフトマージン量に対応した値LMG(1
73ビツト)を考慮したA+LMG,コンパレータ14−2には
Aをセツトする。コンパレータ14−3にはA−4679,コ
ンパレータ14−4にはA,コンパレータ14−5にはA−22
03,コンパレータ14−6にはB,コンパレータ14−7には
B−2203,カウンタ14−1がAになつた時にデイザカウ
ンタ13−1,13−2が動き出すようにコンパレータ14−8
にはAをセツトする。またデイザカウンタ13−1,13−2
はカウンタ14−1と同じカウント動作をする様に、ロー
ド値としてAをセットする。 プリンタ10−3からPBD信号が入力されるとLN−ST信
号が発生し、主走査カウンタデコーダ10−12のHADRはF
+LMGからカウントダウンし、クロツクをLMGカウント
し、HADRがAになるとOVE信号,HAREA信号,DCSTART信号
が発生する。このLMGはプリンタのBDセンサから感光ド
ラムの画像有効部までの主走査長に相当するクロツク数
であり、OVE信号がHレベル区間にプリンタに出力され
た画像信号が出力用紙上にプリントされる。 HADRがAになつてから、第13図のB領域までの70mm分
の余白に相当する1102クロツクをカウントしてHADRがB
になると、TRM信号がHレベルになりダブルバツフアメ
モリからの出力画像信号がゲート10−27により有効にな
り、さらにHADRがB−2203になると、プリンタにはB領
域の主走査巾140mmに相当する2204画素が出力されて、T
RM信号がLレベルになり、それ以降のプリンタに行く画
像信号はゲート10−27により無効になる。このようにダ
ブルバツフアメモリに蓄えられた伸長画像信号はプリン
タに出力されるが、ダブルバツフアメモリ10−15への伸
長画像DVDOの書き込みは以下のようになる。 OVEの立ち上りと同時に伸長回路10−6,EOL検出回路10
−7に与えられるH−AREA信号がHレベルになり伸長回
路10−6による圧縮画像MRコードの伸長が開始される。
伸長回路10−6は副走査伸長区間信号V−DEC,主走査伸
長区間信号H−AREAがHレベルの区間圧縮画像メモリ10
−5から圧縮画像MRコードを読み取りコードを図示しな
いデコードカウンタに取り込み、φSYSクロツクによつ
てカウントダウンして伸長画像DVDOを発生する。すなわ
ち第17図に示すようにMRコードのTコード2Hを取り込み
φSYS2クロツク分白信号のDVDOを出力する。φSYS2クロ
ツクによりデコードカウンタはカウントアツプして、圧
縮画像要求信号DRP1を発生し、圧縮画像メモリ10−5よ
り次のMRコードを読み出し、DVDOの出力を反転させる。 次に入力されるMRコードは91HでMコードであるので
φSYSクロツクを2176クロツク計数してDRP1を発生す
る。しかし、MコードとTコードはペアなのでこの時点
でDVDOは反転させないで次のTコード15Hのカウントア
ツプによりDVDOを反転させる。このように、HAREAがH
レベルの区間に画像の伸長が行われデイザカウンタ10−
10よりのDADRによつてダブルバツフアメモリ10−15に伸
長画像DVDOが書き込まれる。そして、このDVDO信号が次
のラインにおいてHADRのアドレスB点から読み出される
ように、デイザカウンタのカウント開始値はBが設定さ
れる。また、第11図のデイザカウンタは2値伸長のため
Dither信号はLレベルが設定される。 画像伸長時のHAREA信号の長さは、B領域の画像圧縮
時に用いたH−AREAと同じクロツク数出力されるよう
に、コンパレータ14−4,14−5は設定されるが、このHA
REA信号の立ち下り時に、現ラインの伸長動作の成功,
不成功をEOL検出回路10−7にて判定される。 伸長動作の成功の判定は、HAREA信号の立ち下りと、
次のMRコードがEOLであることと、その時点で伸長回路1
0−6のデコードカウンタがカウントアツプしてDPR1信
号が発生していることの3つの状態がそろつていること
で行う。これは圧縮回路からのMWコード信号を圧縮画像
メモリ10−5に書き込み時あるいはMRコードを圧縮画像
メモリから読み出す時にコードに誤りが含まれる可能性
があるからであり、MRコードに誤りがある場合は外部か
らの正確な区間信号HAREAの終了と、1コードの伸長動
作の終了であるDPR1パルスの発生と、ライン終了コード
EOLが一致しなくなるのである。ここで上記3つの状態
が一致し、伸長エラーがなかつたことを判定してEOL検
出回路10−7は、次のラインのために次ラインの先頭の
MRコードを読み出すように、DPR2を発生する。 以下、伸長エラーが発生した場合のライン単位の動作
を第18図により説明する。 第18図においてプリンタ10−3より入力されるライン
同期信号PBDにより主走査アドレスカウンタ・デコード1
0−12より主走査伸長区間信号がV−DECにかかわらず発
生している。コントローラー10−2からの副走査伸長区
間信号V−DECがLレベルの時はEOL検出回路からのDECE
NB信号とBuff CHG ENB信号はHレベルでありダブルバツ
フアメモリの切り替えを行うBuff CHG信号は常に発生す
る。またData ENB信号はこの時Lレベルでありプリンタ
に出力される画像信号RMU−VDはANDゲート10−28により
Lレベルに固定される。 コントローラ10−2は画像伸長を行うべくV−DEC信
号をHレベルにし、以下HAREA 1,HAREA 2,……HAREA 9
と順にライン単位の画像伸長動作が行われる。画像伸長
時にはHAREA領域は3つの状態に分かれる。すなわち、
正常の伸長動作を行うxの状態と、伸長エラーの発生し
たyの状態と、EOL検出回路からのDECENBがLレベルの
伸長エラーリカバー状態zである。 V−DEC信号がHレベルになつた次のラインHAREA1か
ら伸長回路10−6において画像伸長が開始される。第18
図のように最初のHAREA1で伸長エラーが発生(yの状
態)とすると、EOL検出回路10−7はHAREA1の後端でBuf
f CHG ENB信号とDECENB信号をLレベルにして、次のラ
インHAREA2ではダブルバツフアメモリの切り替えと伸長
回路10−6の伸長動作を停止させて、伸長エラーリカバ
ーのためのEOL検出処理を行う(zの状態)。 EOL検出回路10−7は、伸長エラーリカバーとしてHAR
EAがHの区間MRコードとしてEOLコードFFHを検出するま
でDRP2信号を繰り返し発生させる。EOLコードを検出す
ることにより圧縮画像データとHAREA信号との同期関係
が回復したことになり次のHAREA3における画像伸長のた
めの先頭MRコードを読み出し、DECENBをHレベルに復帰
させて伸長エラーリカバー動作を終了する。 次のHAREA3において正常に画像伸長動作が終了すると
(xの状態)、EOL検出回路はHAREA4のための先頭MRコ
ードを読み出すためにDPR2を1クロツク発生させ、Buff
CHG ENB信号をHレベルにするとともに、その後に入力
されるLNST信号によりData ENBをHレベルにする HAREA4,HAREA5の2ラインでは共に画像伸長動作が正
常に終了しているのでBuff CHG ENB信号はHレベルのま
まであるが、HAREA6ではHAREA1と同様に伸長エラーが発
生している。この状態によりEOL検出回路は、HAREA6に
おいて、ダブルバツフアメモリのメモリYに書き込まれ
た、伸長エラーを含んだ伸長画像データがプリンタに出
力されないようにBuff CHG ENB信号をHAREA6の後端でL
レベルにし、次にHAREA8において画像伸長を成功するま
でダブルバツフアメモリの切り替えを禁止する。このた
め、HAREA7でエラーリカバーしている区間とHAREA8で、
次の伸長動作を行つている区間は、HAREA5において伸長
した伸長成功の画像データが繰り返しプリンタにRMU−V
D信号として出力される。 このように、Buff CHG ENB信号により伸長エラー発生
ラインと、エラーリカバーラインの後はLNSTによるBuff
CHG信号が発生しないため第22図のRMU−VD信号に示す
ように伸長成功ライン(xの状態)における伸長画像デ
ータだけがRMU−VD信号としてプリンタ10−3に出力さ
れる。 またData ENB信号は前述のように、伸長成功ラインが
発生した後、初めてHレベルになる信号であり、この信
号によりV−DEC信号がHレベルになつてから、伸長成
功ラインが発生するまでの間、エラーを含んだ伸長画像
データがプリンタに出力されないようになる。 さらにData ENB信号はV−DEC信号がLレベルになつ
てから1ライン遅れてLレベルになるように構成されて
おり、最後のHAREA9ラインにおける伸長画像も、正常に
プリンタに出力される。 コントローラー10−2は、伸長エラーカウンタ10−35
において、Buff CHG ENB信号がLレベル中に発生したLN
ST信号をカウントして、伸長エラーが発生したライン
と、エラーリカバーを行つたラインの合計をカウントす
る。すなわちこのカウント値は、伸長成功しなかつたラ
イン数を表わし、コントローラー10−2は伸長が成功し
なかつたライン数が8ラインを越えた場合は、伸長エラ
ーミスプリントとして直に、VDEC信号をLレベルにし伸
長動作を停止する等の処理する。これにより、伸長エラ
ーの検出が、1ページ分の画像の伸長を待たずして行な
われるので、伸長エラーに対する迅速な処理が可能とな
る。 伸長時に、コントローラー10−2が出力する副走査伸
長区間信号V−DECは、圧縮時にV−ENC信号を出力した
時と同じライン数をラインカウンタ10−11において計数
して出力する。 したがつて、画像伸長中に伸長エラーが発生しなけれ
ば、コントローラー10−2がラインカウンタ10−11から
の所定副走査ライン計数完了出力を受けてVDEC信号をL
レベルに戻すタイミングで、メモリアドレスカウンタ10
−8からのアドレス出力M−ADRは、伸長画像を圧縮し
た時の最終M−ADRの値と同じになる。 コンパレータ10−14には、圧縮時の最終M−ADR値を
セツトしているのでコントローラー10−2はVDEC信号を
Lレベルにした時点で、MOVER信号を検出するはずであ
る。 ところで伸長動作中に、前述のように伸長エラーが発
生すると、伸長エラーリカバーのためにEOL検出回路10
−7がEOLコードをさがすべく、MRコードを読みとばす
ため、MOVER信号が発生した時には、ラインカウンタ10
−11にはカウント残りが発生する。このカウント残りを
全てカウントするために、V−DEC信号を出しつづけて
も、MOVER信号のために、すでにメモリアドレスカウン
タ10−8はカウントを停止しているのでメモリアドレス
カウンタ10−8の停止した時点のカウント値のアドレス
の画像データが繰返し伸長回路10−6に取込まれること
になり、残りのラインは全て伸長エラーラインとなつて
しまう。 そこで、この状態を防ぐために、コントローラー10−
2は、VDEC信号をHレベルにしてラインカウンタ10−11
からのカウントアツプを待つている間、MOVER信号を定
期的に調べて、V−DECがHレベルの時にMOVERを検出し
たら、直ちにV−DEC信号をLレベルにして、画像伸長
動作を停止させて、余分な伸長エラーラインのカウント
をしないようにする。 このように、メモリアドレスカウンタが、画像圧縮時
の最大アドレスに一致したことで、画像伸長動作を停止
することで、意図しない余分な画像信号がプリンタ10−
3に記録されることを防ぐことも可能となる。 次に、伸長した画像信号の一部分をトリミングして出
力用紙の任意の個所に出力する場合を説明する。 第19図は、A4サイズの伸長画像UのS1点から、主走査
方向にH1ビツト、副走査方向にV1ラインの点t1を基準点
として主走査サイズH2ビツト、副走査サイズV2ビツトの
T領域の画像をトリミングして、A4のコピー用紙に、
V1,H1の位置を変えずに出力する例である。 前述のように1ラインの伸長動作はプリンタからのPB
D信号によるLN−ST信号を同期信号として開始される
が、第19図では、主走査アドレスカウンタ・デコーダ10
−12からのHADRが4677になつたところから1ラインの伸
長動作が始まる。すなわちHADRが4677でH−AREAがHレ
ベルになるようにコンパレータ14−4には4677をセツト
する。また、A4巾4677ビツトで伸長を終了するように、
コンパレータ14−5には0をセツトして、HAREAの長さ
を4677ビツトとする。また、伸長回路10−6により伸長
された伸長画像信号DVDOをダブルバツフアメモリ10−15
に書き込むDADR、読み出すHADRが同じ動作をするように
DC START信号の出るタイミングを作るコンパレータ14−
8には4677をセツトし、デイザカウンタ10−10のカウン
タ13−1,13−2のLD値も4677をセツトする。これによ
り、前述のように圧縮された画像信号がそのまま伸長さ
れる。 コントローラー10−2は第20図に示すようにプリンタ
10−3にA4のコピー用紙レジスト給紙信号PVSYNCを出す
と同時に副走査伸長区間信号V−DECを出力する。これ
によりプリンタの紙送りと同時に画像伸長出力が始ま
り、もしここでトリミングを行う必要がなければ、V−
DECをPVSYNCと同じ時間巾に渡つて出力せしめることに
より、A4の伸長画像Uの全てがA4のコピー用紙にそのま
ま出力される。ここで前述の如くのトリミングを行なう
べくコントローラー10−2は、V1ラインの画像信号を消
去するために、V−DEC信号を出力してからV1ラインの
間はTRM信号をLレベルに固定し、ダブルバツフアメモ
リから読み出し画像信号をゲート10−27でLレベルに固
定する。このために、V1ラインをカウント中のTRM信号
を出力するコンパレータ14−6には1FFFH,コンパレータ
14−7には4677(1245H)をセツトすることにより、フ
リツプフロツプ14−12には、リセツトしかかからないよ
うにする。 V1ラインのカウントをラインカウンタ10−11でカウン
トした後に、t1の位置から副走査巾V2ライン,主走査巾
H2ビツトのT領域のトリミングを行う。そのために、ラ
インカウンタ10−11にV2ラインをセツトし、副走査V2
インを計算するとともに、その間の主走査トリミング領
域のt点からH2ビツト巾を表わすTRM信号を発生させる
べく、コンパレータ14−6に(4677−H1)をセツトし、
コンパレータ14−7には(4677−(H1+H2))をセツト
する。これにより、第19図のTRM(V2)を得る。 以上のような定数セツトによりt1点からV2ラインの間
のT領域のトリミングが実現される。T領域の画像信号
が全てプリンタに出力された時点で、ラインカウンタ10
−11からコントローラ10−2に、V2ラインのカウント終
了信号が出力される。この時点で圧縮画像メモリ10−5
には、第19図の斜線で示された部分の圧縮画像コードが
読み出されずに残つているが、所望のT領域の画像出力
はすでに完了しているので、コントローラー10−2はこ
の斜線部の圧縮画像コードの伸長を行う必要はなく、VD
EC信号をここでLレベルにし、伸長動作を停止させる。
VDEC信号がLレベルになつたため、EOL検出回路からのD
ata ENB信号はLレベルになりこれ以降のVRラインは、
プリンタに画像信号は白信号(Lレベル)となり、T領
域のトリミング出力が完了する。このように、余分な圧
縮画像コードを伸長しないようにすることにより、伸長
エラーの発生量が下がり、それにより伸長画像にエラー
が含まれることに起因するミスプリントの発生率が低下
し、コピー動作の信頼性が向上する。 次に以上の様にして第19図でトリミングしたT領域の
画像を主走査方向に紙端よりH3画素の位置に移動してプ
リンタ10−3に出力する場合を第21図により説明する。 この場合、伸長画像をダブルバツフアメモリに書き込
む時に1ラインの伸長画像の移動を行い、ダブルバツフ
アメモリから移動した画像を読み出す時に、所望のT領
域の画像をトリミングする。この伸長画像の移動及びト
リミングは全てHADRを基準として行われる。すなわち、
第21図(a)においてHADR(4677−H1)からHADR(4678
−(H1+H2))のアドレス範囲で伸長回路10−6で伸長
されたT領域の画像が、DADRによりダブルバツフアメモ
リに書き込まれ、第21図(b)において、ダブルバツフ
アメモリからHADRにより読み出される時にH3−H1ビツト
だけ移動されて、HADR(4677−H3)からHADR(4678−
(H2+H3))の範囲で読み出されることになる。この画
像移動はDADRのアドレス制御によつて実行され、第21図
(a)でダブルバツフアメモリに伸長画像のT領域の画
像が書き込まれる時(HADRが4677−H1の時)に発生した
画素を、H3−H1だけ移動した4677−H3のアドレスにDADR
で書き込めばよい。すなわち第21図(a)から明らかな
ように、HADR=4677におけるDADRのカウント開始値を主
走査移動ビツト数H3−H1により4677−(H3−H1)とすれ
ばよい。このH3は画像移動方向が主走査の基準点(HADR
=4677)から離れる場合には正の値となり、逆に近づく
場合には負の値となる。 ダブルバツフアメモリから読み出された画像信号は、
TRM信号によつてトリミングされるが、このTRM信号も第
21図(b)のように、移動量H3−H1を考慮して、HADRが
4677−H3から4678−(H2+H3)の間でHレベルになるよ
うに、コンパレータ14−6には4677−H3をセツトし、コ
ンパレータ14−7には4677−(H2+H3)をセツトする。 次に、伸長した画像信号を出力用紙上の副走査方向
(紙送り方向)に移動する場合を第22図で説明する。 第22図(a)のような伸長画像Uの中のT領域の部分
をトリミングして出力用紙の副走査方向の任意の位置に
出力するのだが、T領域の部分のトリミングのしかた
や、主走査方向の画像の移動は、前述したので、ここで
はコピー用紙をレジスト給紙させるタイミングと、伸長
画像Uの伸長開始の副走査方向のタイミングについて述
べる。 第22図(b)は、コピー用紙の副走査方向(紙送り方
向)の後方に伸長画像Uを移動するとともにトリミング
を行い、紙端からV3ラインのところに、トリミング画像
のt1点を記録する例である。 コピー用紙と、伸長画像Uの副走査方向のずれは、V2
−V1ラインであるので、コントローラー10−2は、プリ
ンタ10−3に対するコピー用紙のレジスト給紙信号P−
VSYNCを出力した後、ラインカウンタ10−11でV3−V1
インを計数した後に副走査伸長区間信号VDECをHレベル
にし、伸長画像Uの伸長動作を開始する。ここでTRM信
号でT領域の画像を出力するのは、V−DEC信号をHレ
ベルにしてから、さらにV1ライン経過した時である。そ
して、T領域の副走査分のV2ラインをラインカウンタで
計数したところでV−DEC信号をLレベルにして、伸長
動作を終了する。 第22図(c)は、コピー用紙をレジスト給紙する前に
伸長画像Uを伸長行い、紙端からV3ラインのところに、
トリミング画像のt1点を出力する例であり、t1点がコピ
ー用紙上に来る場合はV3は正の値、コピー用紙外に出る
場合は負の値をとる。 第22図(c)では、プリンタに対するレジスト給紙信
号PVSYNCを出力する前にV1−V3ライン分の画像伸長を前
もつてやつておく必要がある。そこでコントローラー10
−2はラインカウンタ10−11にて、V1−V3ライン分の画
像伸長を行つたら、一旦VDEC信号をLレベルにして画像
伸長動作を中断してPVSYNCを出力するタイミングを待
つ。PVSYNCを出力するタイミングで再度V−DEC信号を
Hレベルにして、中断していた画像伸張動作を継続さ
せ、V1−V3ライン分の画像の移動が行われる。 T領域のトリミングは前述のとおりであるが、もしt1
点が紙端からV3ラインはみ出る場合には、コピー用紙に
出力されるT領域はその分少なくなる。PVSYNC信号を出
力する前に、V1−V3ラインの画像伸長を行い、一旦V−
DEC信号をLレベルに戻しているが、これはPVSYNCとし
てリーダーからのRVSYNCを用いる場合を考慮している。
すなわち、RMUで伸長した画像と、リーダーからの画像
をオーバーレイしてプリンタに出力する場合、2つの画
像のオーバレイ位置を正確に合わせるためには、共通の
VSYNC信号を用いなければならない。しかし、RMUからリ
ーダーにVSYNCを知らせる手段がないので、PVSYNCは、
リーダーからのVSYNC(RVSYNC)を用いなければならな
い。リーダーと非同期のコントローラー10−2にとつて
は、RVSYNCがいつ入力されるのか詳しいタイミングを取
ることは困難である。それでコントローラー10−2は、
リーダーからのVSYNC(RVSYNC)を入力するより充分前
に、V1−V3ラインの画像の伸長を終えてコピー用紙に出
力される伸長画像のMRコードを圧縮画像メモリから頭出
ししておき、RVSYNCに合わせて再度伸長動作を開始させ
なければならない。すなわち、RVSYNCを待つている間V
−DECをLレベルにして、伸長動作を中断しているので
ある。 尚、オーバレイ動作を行なわない場合にはリーダCの
同期を取る必要がなく、PVSYNC信号の出力制御をV−DE
C信号の出力制御と同様にラインカウンタ10−11で行う
こともできる。従って、VDEC信号を一旦Lレベルに落と
さずに、PVSYNCを即に出力し、伸長動作が中断せずに実
行可能となる。 (4) デイザ画像伸長の機能 (2)のデイザ圧縮による圧縮画像をそのまま伸長処
理しただけでは、デイザ圧縮時のデイザカウンタ10−10
による主走査画像の並らび替えにより、それをそのまま
伸長したのでは原稿画像とは異なるコピー出力となつて
しまう。そこでデイザ画像伸長処理では(3)の2値伸
長処理と同一のプロセスにより伸長回路10−6から得ら
れるデイザ並らびに替えをされた伸長画像信号DVDOをダ
ブルバツフアメモリ10−15に書き込む時に、もとのリー
ダーからのデイザ画像の順に並らび替え直す。 この並らび替えはダブルバツフアメモリ10−15の伸長
時の書き込みアドレスカウンタDADRの発生順を変えるこ
とで実現される。 すなわち、第16図の16−3の如く並らび替えられた画
像を(16−2)の順になるよう、8ビツト間隔に並らび
替え直すのであるが、これは第11図示のデイザカウンタ
のDither信号をHレベルとして、デイザ圧縮時と同様に
カウンタ13−1,13−2を動作させることになる。 この場合、カウンタ13−1,13−2にコントローラ10−
2が設定するカウンタロード値は伸長画像の移動によつ
て、2値画像伸長処理と同様に、任意の値を設定できる
が、13−1のカウンタのロード値は、デイザ圧縮時に用
いた値と同じ値にしなければならない。そうしないと、
ダブルバツフアメモリから読み出された画像信号のデイ
ザパターン1ブロック内の画素の並らびが狂うことにな
る。またコンパレータ13−3には、デイザ圧縮処理時に
用いたブロツク数Nを用いて、13−2のカウンタのロー
ド値から(N−1)を引いた値をセツトする。 以上説明した本システムの構成における、リーダ・RM
U間及びRMU・プリンタ間のシリアル通信と、画像処理動
作の詳細な手順を以下に説明する。尚、以下の説明に用
いるフローチヤートに示されたプログラムはリーダ、プ
リンタ及びRMUの制御部を構成するマイクロコンピユー
タのメモリROMに予じめ格納され、これを適宜読出すこ
とにより制御動作するものである。 第6図に示したシリアル通信は第8図のDEVICE Conne
ct,DEVICE POWER Ready,Controller Power Ready信号に
よつてRMUを含む全ユニツトがシリアル通信可能になつ
たときに、リーダ側ユニツトからプリンタ側ユニツト
(RMUを含む)に命令(以下コマンドと記す)を出力す
ることで開始される。コマンドがプリンタに到達したな
らばプリンタはコマンドに対する応答(以下ステータス
と記す)をリーダ側ユニツト(RMUを含む)に出力す
る。RMUは基本的にはリーダからコマンドを入力したな
らば、同一コマンドをプリンタへ出力し、プリンタから
ステータスを入力したならば同一ステータスをリーダへ
出力する。 リーダ側ユニツトとプリンタ側ユニツト間のシリアル
通信は8ビツト構成のコマンドとステータスのやりとり
によつて行なわれ、このとき一つのコマンドに対して必
ず一つのステータスが返され、ステータスはコマンドに
先じて返されることはない。 第23図にRMUのコマンドに対する処理を示す。 RMUはリーダからコマンドを入力する。このコマンド
が後述第1表の100−7から100−14のRMUモード指示コ
マンド,RMUメモリ指示コマンド,RMUトリミング指示1コ
マンド,RMUトリミング指示2コマンド,RMUトリミング指
示3コマンド,RMUトリミング指示4コマンド,RMUトリミ
ング指示5コマンド,RMUトリミング指示6コマンド(こ
れら8コマンドをまとめてRMU指示コマンドという。)
のいずれかである場合には(S−100−1)、それぞれ
のコマンド1バイトについて後述第10表全体ステータス
をリーダに返送する(S−100−5)。RMUは入力したコ
マンドがRMU指示コマンドのいずれかでない場合には後
述第1表100−1のプリンタスタートコマンドであるか
の判定を行う(S−100−2)。プリンタスタートコマ
ンドはシステムにRMUが接続されている場合には前述RMU
指示コマンドがリーダから出力後、リーダから出力され
るので、この時点で後述RMUモードはすでに決定してい
る。このRMUモードが後述の“インプツトモード”の場
合には、プリンタはコピー動作を行なわないのでこのプ
リンタスタートコマンドをRMUはプリンタへ出力せずリ
ーダに第10表の全体ステータスを出力する(S−100−
3,S−100−5)。またRMUの動作上必要な情報を含むコ
マンド例えば紙サイズ指示コマンドはコマンドの内容を
記憶し、そのあとでプリンタに出力する(S−100−
4)。 続いて第24図を用いてRMUのステータスに対する処理
を説明する。プリンタはRMUよりリーダから出力された
コマンドを入力すると、一定時間内に入力したコマンド
に対してステータスをRMUへ出力する。 RMUはプリンタからステータスを入力するとこのステ
ータスがどのコマンドに対してのものかを判定し、第9
表の108−7のアプリケーシヨンステータス要求コマン
ドに対しての第15表のアプリケーシヨンステータスであ
るかどうかをチエツクする(S−101−1)。入力した
ステータスがアプリケーシヨンステータスである場合に
は、RMU接続の情報を付加後(S−101−2)、リーダへ
アプリケーシヨンステータスとして出力する。 また、同様にプリンタからのステータスが第11表エラ
ー発生ユニツトステータスであるかどうか判定を行い
(S−101−3)、後述圧縮失敗フラグがセツトされて
いる場合には圧縮失敗の情報(RMUメモリオーバーフロ
ー)を付加したエラー発生ユニツトステータスをリーダ
に返し、圧縮失敗フラグがリセツトされている場合には
プリンタからのエラー発生ユニツトステータスをそのま
まリーダに返す。またプリンタからのステータスが第10
表の全体ステータスまたは第16表のミスプリント詳細ス
テータスであるかどうか判定を行い(S−101−6,S−10
1−9)、後述伸長エラーフラグがセツトされている場
合には伸長エラーの情報を全体ステータスまたはミスプ
リント詳細ステータスに付加し(S−101−8,S−101−1
1)、伸長エラーフラグがリセツトされている場合には
プリンタからの全体ステータスまたはミスプリント詳細
ステータスをそのままリーダへ返す。 RMUはリーダからのコマンド入力し対して、プリンタ
へのコマンド転送またはリーダへの全体ステータスへの
返送を行い、プリンタからのステータス入力に対しては
リーダへのステータス転送またはステータスに情報付加
加工後、転送することを交互に繰り返す。 このようにRMUが接続されたシステムにおいて、RMUは
必要な情報のみ取り込みを行い、その他の情報は素通し
するという通信を行う。このことにより情報のやりとり
の時間短縮や通信の監視をリーダが行うことになり、通
信プロトコルの簡略化を計ることができる。 以下第23図,第24図に示したリーダ,RMU,プリンタ間
でのシリアル通信に用いられるコマンドまたはステータ
スの詳細に説明を行う。 第1表にRMUまたはプリンタに実行をうながす実行コ
マンドを示す。この実行コマンドがリーダから出力され
た場合、RMUまたはプリンタは第10表に示した全体ステ
ータスを返送する。第1表の100−1はプリンタにコピ
ー動作開始を供給するプリンタ・ステータスコマンド,1
00−2はプリンタにコピー動作停止を要求するプリンタ
ストツプコマンド100−3,100−4は給紙カセツトを指定
する給紙指示コマンド100−5は紙サイズを指示する紙
サイズ指示コマンドで、このコマンドの2バイト目(第
2表)にはビツト1からビツト6を用いてA4,A3,B4,B5,
A4−R,B5−R等の紙サイズをコード化し格納している。
100−6は枚数指示コマンドで、このコマンドの2バイ
ド目にはビツト1からビツト6までの6ビツトを用いて
最大64枚のコピー枚数の設定ができる。100−7はRMU指
示コマンドの1つであるRMUモード指示コマンドで2バ
イト目にRMUモードの情報を第5表のように格納してい
る。100−8はRMUのメモリ領域の指示を行うRMUメモリ
指示コマンドで2バイト目(第6表)に指示するメモリ
領域の内容を格納し、対応する1ケ所のメモリ領域のビ
ットのみセツト(“1")される。100−9,100−10,100−
11,100−12,100−13,100−14はRMUトリミング指示コマ
ンドで2バイト目(第7表),3バイト目(第8表)にト
リミング量をミリメートル単位で0ミリから512ミリま
で表現できる。 第9表にRMUまたはプリンタの情報を要求するステー
タス要求コマンドを示す。このコマンドをプリンタが受
信したならば第10表から第16表にあるステータスをRMU
を通じてリーダへ返送する。このときRMUは後述メモリ
オーバフローや伸長エラーの情報を付加してリーダへ返
送することもある。 以下順に要10表から第16表について説明する。第10表
は全体ステータスで主にプリンタやRMUの大まかな状態
についての情報を格納している。ビツト5はプリンタが
紙搬送中であればセツト(“1")される。同様にビツト
4はミスプリントがあつたとき、ビツト3はウエイト
中、ビツト1はオペレータコールエラー、サービスマン
コールエラーがあつたときにそれぞれセツトされる。第
11表のエラー発生ユニツトステータスはどのユニツトに
エラーが発生したかの情報を格納し、第12表のオペレー
タコールエラーステータス、第13表のサービスコールエ
ラーステータスはエラーの具体的内容の情報、同様に第
14表のカセツト紙サイズステータスはA4,B5,B4等の紙サ
イズの情報、第15表のアプリケーシヨンステータスはシ
ステムにどのようなユニツトが接続されているかの情
報、第16表のミスプリント詳細ステータスはミスプリン
トについての情報がそれぞれ格納されている。 これらのステータスをリーダは集めることにより、シ
ステム全体の状況エラー発生の原因を知ることができ、
システムの管理を容易にしている。 前述したコマンド,ステータスによるコピーシーケン
ス実行中でないシリアル通信について第25図のフロチヤ
ートを用いて説明する。 リーダは第9表の108−7のアプリケーシヨンステー
タス要求コマンドの出力による第15表アプリケーシヨン
ステータスによりRMU接続の情報を得る(S−120−
1)。また第9表の108−5の下カセツト紙サイズ要求
コマンド、第9表の108−6の上カセツト紙サイズ要求
コマンド出力による第14表カセツト紙サイズステータス
によりプリンタの上,下カセツトの紙サイズの情報を得
る(S−102−2)。このあと第9表の108−1の全体ス
テータス要求コマンド第9表の108−2のエラー発生ユ
ニツトステータス要求コマンド出力による第10表の全体
ステータス、第11表エラー発生ユニツトステータスによ
りプリンタ,RMUでエラーがあるかどうかの情報を得る
(S−102−3,S−102−4)。このあとでエラーがある
かどうかのチエツクをする(S−102−5)。このとき
エラーがある場合にはもつと詳しい情報を得るため第9
表の108−3のオペレータコールエラーステータス要求
コマンド、第9表の108−4のサービスコールエラース
テータス要求コマンドを出力し、それぞれのステータス
入力によりエラーの詳細な情報を得て(S−102−6,S−
102−7)、必要な情報例えば紙無、RMUメモリオーバフ
ローがあることをオペレータに知らせることができる。
エラーがなかつた場合にはコピースタートキーが押され
たかどうかをチエツク(S−102−8)し、押された場
合にはコピー実行中のシリアル通信(第17表)を行う。
コピースタートキーが押されていない場合はコピーキー
が押されるまで説明した動作を繰り返す。 コピー動作中のシリアル通信、各ユニツトの動作、信
号について第17表を用いて説明する。 リーダにおいて紙サイズ選択(A−),コピー枚数
設定(A−),画像読取モード(A−),RMUモー
ド,トリミングデータ,RMUメモリ指示等のRMU使用条件
(A−)がオペレータによりリーダの操作部から入力
されてコピーキーが押下(A−)されると、リーダは
シリアル通信においてRMU指示コマンド(RMUモード指示
コマンド,RMUメモリ指示コマンドRMUトリミング指示コ
マンド)(B−)を出力する。RMUはRMU指示コマンド
を入力すると第10図セレクタ1,セレクタ2,セレクタ3,セ
レクタ4,セレクタ5,ビデオセレクタ等のセレクタ設定を
行う(C−)。リーダはRMU指示コマンドに続いて、
枚数指示コマンド(B−),上下給紙コマンド(B−
),紙サイズ指示コマンド(B−)を出力する。RM
Uは紙サイズ指示コマンドを入力する(C−)と第10
図コンパレータ,デイザカウンタ主走査カウンタ等の設
定を行う(C−)。RMUモードが“メモリインプツト
モード”である場合にはプリンタへプリンタスタートコ
マドをRMUは流していないのでプリンタは出力用紙可能
信号(以下PREQと略す)をRMUに対して出力しないのでR
MUはプリンタの代りにPREQをリーダへ出力する(B−
)。RMU使用モードがメモリインプツトモードでない
ときはプリンタへプリンタスタートコマンドが到達し、
プリンタは給紙可能状態になつたときにPREQをRMUに対
して出力し(D−)、RMUはPREQをリーダに対して出
力する(B−)。リーダはRMUから(プリンタから)
のPREQを入力すると対応して出力用紙給紙信号(以下PR
INTと略す)をRMUへ出力する。(B−)。 RMUモードが“メモリインプツトモード”であるとき
はPRINTをプリンタに出力せず(D−)あたかもプリ
ンタがPRINTを入力しそれに対して画像要求信号(以下V
SREQ)を出力したかのようにRMUがVSREQをリーダに対し
て出力してやる(B−)。RMUからのVSREQをリーダが
入力すると画像出力するために、VSYNCを出力(B−
)する。リーダはコピー動作中に全体ステータス要求
コマンド,エラー発生ユニツト要求コマンドを一定時間
ごとに出力し、エラーのチエツクやRMUのメモリオーバ
ーフロー等を常にチエツクしている(B−)。枚数管
理はリーダが行つているのでリーダからプリンタストツ
プコマンドを入力したときにRMUはモードリセツトを
(C−)行い、コピーが終了する。 RMUはリーダ10−2からのRMU指示コマンドにより4つ
の画像入出力モードに分類される。 1つ目は『メモリパスモード』と呼ばれるモードであ
り、RMUはリーダ10−1から入力される3値を表わす2
本の画像信号RVDAとRVDBをそのままプリンタ10−3に出
力し、リーダ10−1とプリンタ10−3が直に接続されて
いるように動作する。したがつてこのモードにおいてRM
Uはビデオインターフエースを通じてリーダ10−1から
入力される信号はそのままプリンタ10−3に出力し、プ
リンタ10−3から入力される信号はそのままリーダ10−
1に出力する。 2つ目は『メモリハイスピードモード』と呼ばれるモ
ードでありRMUはリーダ10−1からの画像信号RVDAを一
旦、圧縮画像メモリに圧縮記憶し、その後連続してその
圧縮画像データを読み出し、プリンタに出力する。 すなわち機械的な往復運動を必要とするリーダ10−1
の原稿スキヤンによるコピーは一回ですみ、2枚目以降
のコピーは機械的な往復運動をともなわないでRMUの圧
縮画像メモリに記憶されている圧縮画像データを繰り返
しプリンタ10−3に伸長出力して得られるため大量コピ
ーの高速処理が可能となる。 3つ目は『メモリインプツトモード』と呼ばれるモー
ドであり、プリンタ10−3を動作させることなく、RMU
はリーダ10−1から入力される画像信号を圧縮処理し、
圧縮画像メモリに記憶する。 4つ目は『メモリオーバーレイモード』と呼ばれるモ
ードであり、RMUは圧縮画像メモリに記憶されている圧
縮画像データを伸長処理すると同時にリーダから入力さ
れる画像信号と合成してプリンタ10−2に出力する。 この機能によりリーダ10−1で読み取つた原稿とRMU
のメモリに記憶されている画像のオーバーレイ処理され
たコピーが得られる。 “メモリハイスピードモード”はRMU内部で3つのモ
ード“リテンシヨンモード",“アウトプツトモード",
“スルーアウトモード”に区別される。“リテンシヨン
モード”は“メモリハイスピード”の1枚目で原稿から
の画像情報(信号)をメモリに圧縮しながらプリンタへ
素通しをするものである。“リテンシヨンモード”の実
行によつてメモリへの圧縮の成功,不成功(RMUメモリ
オーバーフロー)が判断できる。リーダはコピー動作中
のエラー発生ユニツト要求コマンドによりメモリへの圧
縮の成功,不成功の情報(RMUメモリオーバフロー)を
得ることができ、メモリへの圧縮が成功した場合、次の
コピー(2枚目以降)からメモリからの伸長画像により
像形成(コピー)ができるのでリーダは原稿スキヤンを
停止する。RMUは次のコピーからメモリの伸長ができる
ようにセレクタの再設定を行う。例えば第10図のビデオ
セレクタ10−23はRMUのメモリからの伸長画像をプリン
タへ出力するように再設定する。このようにセレクタの
再設定を行ったモードを“アウトプツトモード”と呼ぶ
逆にメモリへの圧縮が失敗したときは、“リテンシヨン
モード”のままではメモリへの圧縮をしながら画像の素
通しをしてしまうのでメモリへの圧縮を行なわないよう
な動作が必要となる。このモードをスルーアウトモー
ド”という。スルーアウトモード”は“メモリパスモー
ド”とRMUでのセレクタの設定は同じであるが、リーダ
からの画像情報が前者は閾値ジエネレータA,Bの値を同
じにした2値画像であるのに対し、後者はVDA,VDB独立
の3値画像であるので名称をかえた。このRMU内部モー
ドの変更よりRMUは“メモリハイスピード”においてメ
モリへの画像圧縮の成功,不成功にかかわらず2値画像
を出力し、1枚目と2枚目以降の画像の差をなくすこと
が可能となる。第18表にRMUモードとRMU内部モードの対
応を示しておく。 リーダ動作を第26図のフロチヤートを用いて説明す
る。 まず、コピーキーがオペレータにより押されるとリー
ダはRMUとプリンタに対してRMU指示コマンド(S−103
−1),枚数指示コマンド(S−103−2),上下給紙
コマンド(S−103−3),紙サイズ指示コマンド(S
−103−4),プリンタスタートコマンド(S−103−
4)を出力し、コピー動作に必要な初期設定を行い、リ
ーダはRMUからのPREQを入力した後(S−103−10),PRI
NTをRMUに対し出力する(S−103−11)。更に、タイマ
をスタートさせ(S−103−12),このタイマアウトま
で一定時間待機し、(S−103−13),RMU内部モードが
“アウトプツトモード”のときには光学系をスタートさ
せず(S−103−14),枚数カウントダウンを行い、枚
数が0であるかを調べ(S−103−20),0である場合に
はプリンタストツプコマンドを出力する(S−103−2
1)。RMU内部モードが“アウトプツトモード”以外であ
るときには、光学系をスキヤンさせて(S−103−1
5),原稿の読み取りを開始し、(S−103−16)画像を
RMUへ出力する。読み取りの終了をチエツクしたあと
(S−103−17)、メモリインプツトモードである場合
は枚数をチエツクせず(1枚の原稿の読み取りしか受け
つけない)。RMUに対してプリンタストツプコマンドを
出力(S−103−21)する。“メモリインプツトモー
ド",“アウトプツトモード”以外の場合には枚数をカウ
ントダウンし、(S−103−19)枚数が0である場合に
はプリンタストツプコマンドを出力し、0でない場合に
はPREQ入力持ちの状態にし枚数0になるまで前述の動作
を繰り返す。 プリンタ動作を第27図のフロチヤートを用いて説明す
る。 プリンタはリーダ側(RMUを含む)からプリンタスタ
ートコマンドを入力すると(S−104−1)ドラム帯電
等の各部動作を開始する(S−104−2)。プリンタが
給紙可能な状態になつたならば(S−104−3),リー
ダ側へPREQを出力する(S−104−4),リーダ側からP
REQに対応してPRINTを入力したならば(S−104−
5),給紙(S−104−6)を行う。給紙を行い画像受
信可能になると(S−104−7),VSREQをリーダへ出力
する(S−104−8)。VSREQに対応してVSYNCをリーダ
は出力し画像信号を出力する(S−104−9)。プリン
タはコピー処理を行い(S−104−10),エラーがある
かどうかをチエツクし、(S−104−11),エラーがあ
つた場合にはエラーをシリアル通信にのせる(S−104
−12)。上記動作をコピー枚数分繰り返すとリーダはプ
リンタストツプを出力するのでプリンタストツプを受信
したかチエツクし(S−104−13)プリンタはこれを受
けてプリンタの各部を停止する(S−104−14)。 RMUの動作についての説明を行う前に、RMUのメモリア
ドレス管理について第28図を用いて説明を行う。RMUは
圧縮画像情報をメモリに蓄積するときにメモリ上の任意
のアドレスを圧縮画像の書き込み開始アドレス(MSと以
下略す)と圧縮画像の最大書き込みアドレス(MEと以下
略す)を設定できる。RMUはMSとMEの設定により圧縮画
像のメモリ書き込みの成功,失敗を判断でき、以前書き
込んだ画像情報の保護も可能となる。 メモリは有限でありためこの最大値をMLMTとする。第
28図(1)はRMUに何も画像書き込みが行なわれていな
い状態を示している。このときにMS←0,ME←MLMTを設定
しておく。このことはメモリの持つ最大の空領域を示し
ていることにもなる。RMUメモリ指示コマンドによりメ
モリAが選択されデイザメモリハイスピードモードでA4
サイズのコピーが行なわれたときに、RMUは(2)の如
くメモリAに格納された画像はRMUのどのモードで圧縮
されたかの情報(MA−VIDEO)、圧縮した画像の原稿サ
イズ(MA−PSZ)、リーダの読み取りモード(MA−METHO
D)、メモリAの画像書き込みスタートアドレス(MA
S)、メモリAの画像書き込みエンドアドレス(MAE)を
記憶する。これらの情報はメモリB,メモリCへの書き込
みが行なわれたときも同様に行い、何も画像書き込みが
行なわれていない場合には、それに対応する情報が書き
込まれているものとする。 (2)の状態においてメモリB,メモリCの書き込みが
行われた状態が(3)である。(2)の状態でメモリB
またはメモリCへの書き込みが指示されると、最大空領
域である(2)の状態の領域をMS←MAE+1,ME←MLMT
として設定する。ことときに再びメモリAが指定された
らメモリAの上下の空領域を含む領域を新しいMS←0,ME
←MLMTとして設定する。このように設定することにより
(1)の状態においてメモリAが指定された場合と同じ
となり有効にメモリを使用できる(3)の状態において
メモリAが指定された場合、(3)の状態ではメモリA
に連続する空領域はなく、メモリAのメモリ量と(3)
の状態における空領域のメモリ量の比較をし、メモリ
量の大きい方を新しいメモリA領域とする。(3)の状
態においては空領域の方が大きいため、MS←MBE+1,M
E←MLMTと設定し、古いメモリA領域は空領域と設定す
る。(3)の状態における空領域に画像情報を書き込
んだ状態が(4)の状態である。この状態でメモリBに
書き込み指示があつた場合(4)の状態におけるメモリ
B領域に連続する空領域はなく、メモリB領域,空領域
,空領域のうちで最も大きなメモリ量を持つ領域を
新しいメモリB領域とする。このとき空領域が最も大
きなメモリ量を有していた場合、MS←0,ME←MCS−1を
設定し、古いメモリB領域は空領域として設定する。こ
の設定後新しいメモリB領域に画像書き込みが成功した
場合が(5)の状態であり、また、画像書き込みが失敗
した場合が(6)の状態であり、メモリへの圧縮が失敗
した場合、その書き込んだメモリ領域は空領域となる。 (5)及び(6)の状態において、それぞれメモリA,
メモリB,メモリCを指定した場合のMS,ME決定のための
メモリ量比較について第19表に示しておく。 このように空領域はメモリ指示ができる領域数と最大
同数発生する。この空領域についてのメモリ量をMAS,MB
S,MCS,MAE,MBE,MCEから計算することによつて合理的な
メモリ管理を行うことができる。たとえばMS,MEで設定
した新領域への画像の書き込みが失敗(画像圧縮エラ
ー)になつてもMA−VIDEO,MB−VIDEO,MC−VIDEOの内容
を画像情報なしの意に設定することによつて空領域とし
て認識することにより、これも合理的なメモリ管理を行
うことができる。本実施例ではメモリ指定領域数を“3"
としたがメモリ量に応じてメモリ指定領域数“N"でも実
現できる。 以下RMUモードの“リテンシヨンモード”についての
説明を第13図に示す如く第29図のフローチヤートを参照
しつつA3サイズ(主操作297mm,副操作420mm)の画像情
報Aから主走査方向70mm,副走査方向100mm経過した点か
ら140mm×210mmの画像情報Bをトリミングして出力する
場合を例にとつて説明する。RMUはRMUモード指示コマン
ド2バイト目として第4表を入力する。ビツト6,ビツト
5はそれぞれリーダ画像,RMU伸長画像の出力濃度を約50
%にするためのビツトであり、両方とも“1"がセツトさ
れ、RMUモードとして第5表の104−2のようにビツト4,
ビツト3,ビツト2,ビツト1はセツトされる。メモリ指示
としてメモリAが指示され、RMUメモリ指示コマンドと
して第6表を入力する。RMUトリミング指示コマンド1
のトリミングデータとして主走査圧縮開始位置Hp(70m
m),RMUトリミング指示コマンド2のトリミングデータ
として副走査圧縮開始位置Vp(100mm),RMUトリミング
指示コマンド3のトリミングデータとして主走査圧縮巾
Hw(140mm),RMUトリミング指示コマンド4のトリミン
グデータとして副走査圧縮巾Vw(210mm)がセツトされ
たものがリーダからミリメータ単位で出力される(S−
106−A−1)。コントローラー10−2はリーダからの
上記位置情報をビツト単位/ライン単位に変換し、Hp=
1102ビツト,Vp=1574ライン,Hw=2204ビツト,Vw=3307
ラインの第13図に相当する圧縮画像位置/サイズ情報を
得る。 指示されたRMUモードにより、第10図のセレクタSEL1
(10−18),SEL2(10−19),SEL3(10−20),SEL4(10
−21),SEL5(10−22),ビデオセレクタ(10−23)は
それぞれR−VCLK,R−VDA,R−VE,R−VE,P−BD,A0,B0の
入力を選択する。リーダの画像信号を圧縮画像メモリに
2値圧縮して格納するため第11図デイザ信号はLレベル
にする。RMUモードは“メモリハイスピードモード”(R
MU内部モードは“リテンシヨンモード”)であるので、
リーダが出力したプリンタスタートコマンドを受信し、
プリンタへ素通しする(S−106−A−3)。RMUはプリ
ンタの給紙可能状態を示すPREQ信号を入力し(S−106
−A−5)、この信号をリーダへ出力する(S−106−
A−6)。この時点では、“メモリハイスピードモー
ド”の1枚目の実行中であるため(S−106−A−
7)、リーダから出力用紙サイズを指定する紙サイズ指
定コマンドを入力し(S−106−A−8)、前述MA−PSZ
に記憶保持する。指示された出力用紙サイズをもとに以
下説明する種々のカウンタの設定を行う。まず前述した
MS(圧縮画像書き込み開始アドレス)、ME(圧縮画像の
最大書き込みアドレス)の設定をメモリアドレスカウン
タ10−8、コンパレータ10−14に行なう。第11図示のデ
イザカウンタのダウンカウンタ13−1には1245H(467
7)の上位10ビツト248H(584)が、また、ダウンカウン
タ13−2には下位3ビツト5H(5)がセツトされる。第
12図示の主走査カウンタ・デコーダには同様にダウンカ
ウンタ14−1には1245H(4677)がセツトされる。尚、
コンパレータ14−2,14−3は伸長時のみに用いるため設
定は行なわず、14−4,14−5のコンパレータはHpに相当
するDF7H(3575)及びHp,Hwに相当する、55BH(1371)
を設定し、DARDをHADRと同時に動作されるため、コンパ
レータ14−8には1245H(4677)の設定を行う。 RMUはリーダからPRINT信号を入力すると(S−106−
A−10)、プリンタへ出力する(S−106−A−12)。V
SREQ信号をプリンタから入力すると(S−106−A−1
3)、リーダへ出力する(S−106−A−14)。 この時点におけるRMUモードは“メモリハイスピード
モード”枚数は1枚目であるためRMU内部モード“リテ
ンシヨンモード”に分岐する(S−106−A−18)。そ
して、第30図においてリーダからのVSYNCのオンを入力
したならば(S−106−F−1)、をオンし、プリンタ
へのVSYNCをオン(S−106−F−2)、する。第13図Vp
1574ラインを生成するために10−11ラインカウンタに62
6H(1574)をセツトし、ラインカウンタがカウントアツ
プしたならば(S−106−F−4)、副走査圧縮区間信
号V−ENCをオンする(S−106−F−5)。第13図B領
域の副走査巾Vw3307をラインカウンタにセツトする(S
−106−F−6)。前述セレクタの設定により、リーダ
からの画像をプリンタに素通ししながら、10−11ライン
カウンタ終了まで圧縮画像メモリ10−5に圧縮回路10−
4からの圧縮画像コードの書き込みを行う(S−106−
F−7,S−106−F−8)。所定副走査ライン数の画像圧
縮の終了を意味するラインカウンタ10−11のカウンタア
ツプを検出したなばV−ENC信号をオフし(S−106−F
−9)、リーダからのVSYNCのオフ状態を入力したなら
ば(S−106−F−10)、プリンタへのVSYNCをオフする
(S−106−F−11)。 この後圧縮画像メモリへの書き込みが成功または失敗
したかの判定をするため、第31図の手順によりMOVER信
号をチエツクし(S−106−C−1)、MOVER信号がHレ
ベルであるならばメモリへの書き込みを失敗と判定し、
圧縮失敗フラグをセツト(S−106−C−2)し、前述
コピー動作中のシリアル通信によつて圧縮失敗(RMUメ
モリオーバーフロー)の情報をリーダに伝えることがで
きる。リーダはこの情報により、圧縮メモリを用いたリ
テンシヨン動作が不態であると判断し、2枚目以降も原
稿スキヤンによる画像出力を繰返し行い、コピー動作を
終了する。この機能によりたとえリーダからの画像信号
が圧縮画像メモリに入りきらない場合でも設数枚数のコ
ピーはプリンタから出力される。RMUはこのとき圧縮画
像の書き込まれつつあつメモリ領域を空領域とするとと
もに圧縮失敗フラツグにより、RMU内部モードを“スル
ーアウトモード”に変更する。“スルーアウトモード”
は“メモリパスモード”と同じであり、V−ENC信号を
リーダのVSYNCに対応してオン(LレベルからHレベ
ル),オフ(HレベルからLレベル)にする動作をしな
いのでRMUは圧縮動作をせず、セレクタ,カウンタは
“リテンシヨンモード”の設定を行ない、リーダからの
VSYNCが入力したらプリンタへVSYNCを出力し(第33図、
S−106−D−1,S−106−D−2)、リーダからの画像
をプリンタに素通し(S−106−D−3)、リーダから
のVSYNCを待機するでよい。(S−106−D−4)、VSYN
Cが入力されたならばプリンタへのVSYNCをオフし(S−
106−D−5)、リーダは設定枚数分の画像情報出力を
完了すると、プリンタストツプコマンドを出力してプリ
ンタを停止させする。RMUはこのプリンタストツプコマ
ンドの入力によりコピーシーケンスを終了する(S−10
6−C−6)。 逆にMOVER信号がLレベルであつた場合には、メモリ
への書き込みは成功であるので、リーダにこのことをシ
リアル通信で知らせ、リーダの2枚目以降の原稿スキヤ
ンを停止させ、RMUの圧縮画像メモリからの伸長画像に
よるコピー動作を行う。伸長画像出力のためには、セレ
クタ,カウンタの再設定を行なわなければならず、以下
のような“アウトプツトモード”の再設定を行う(S−
106−C−4,S−106−C−5)。第10図SEL1,SEL2,SEL3,
SEL4,SEL5,ビデオセレクタはそれぞれI−CLK,DVDO,P−
BD,OVE,HSYNC,A2,B2,の入力を選択し、圧縮画像メモリ
には2値画像圧縮された圧縮画像データが記憶されてい
ることがMA−METHODの内容により判別できる。したがつ
て圧縮画像データを2値画像伸長するために第11図のDi
ther信号はLレベルにする。 カウンタ,コンパレータの設定には前述したMA−PSZ,
MB−PSZ,MC−PSZから指定されたメモリ領域のものから
データを取り出し、圧縮記憶した画像情報の原稿サイズ
は第13図B領域すなわち2204×3307であるので、第12図
示のダウンカウンタ14−1には前述の第17図,第21図の
伸長の説明のように、12F4H(4852),14−2,14−3,14−
4,14−5,14−6,14−7,14−8のコンパレータにはそれぞ
れ1247H(4679),2H(2),1247H(4679),9ABH(247
5),dF9H(3577),55dH(1373),1247H(4679)を設定
し、“アウトプツトモード”は圧縮画像メモリからの伸
長を行うため伸長エラーカウンタ10−35に0をセツトす
る。第11図示のデイザカウンタのダウンカウンタ13−1,
13−2にそれぞれ1H(1),1BFH(447)をセツトする
(S−106−C−5)。 リーダはエラー発生ユニツトステータス要求コンパレ
ータによつてRMUメモリオーバフローがなかつたことを
認識し、リーダは原稿スキヤンを停止する。リーダはVS
YNCを出力しないのでRMUはリーダからのVSYNCを待つこ
となしに、プリンタへのVSYNCをオンする(S−106−H
−2)。また、副走査方向余白VP1574ラインのカウント
をすべくラインカウンタにセツトする(S−106−H−
3)、ラインカウンタがアツプしたならば(S−106−
H−4)、V−DEC信号をオンし、VW分の副走査ライン
数3307ラインをラインカウンタにセツトし(S−106−
H−8)画像伸長と伸長エラーのチエツクをラインカウ
ンタ終了まで行う(S−106−H−9)。本実施例では
8回以上の伸長エラーが発生した場合、伸長エラーフラ
グをセツトし、コピー動作を停止する。RMUは伸長エラ
ーが所定回数(8回)発生したことをリーダにシリアル
通信によつて伝え、リーダは伸長エラーが所定回数以上
になつたと判断した以後の給紙命令(PRINT)を出力せ
ず、コピー動作を停止する。RMUが伸長動作を停止する
ためにはまずV−DEC信号をオフし、VR分の副走査ライ
ン数をセツトし、ラインカウンタアツプ後、続いてプリ
ンタへのVSYNCをオフしてやる。リーダはコピー動作の
停止をプリンタへ伝えるためにプリンタストツプコマン
ドを出力し、プリンタはこれを入力し、コピー動作の停
止を行なう。伸長エラーが8回以上発生しなかつた場合
にはRMUは(設定枚数−1)回の伸長動作を繰り返し行
い、リーダからのプリンタストツプコマンドにより停止
する(S−106−C−6)。 次にメモリパスモードについて第33図を用いて説明す
る。メモリパスモードは前述の如くリーダからの3値を
表わす2本の画像信号RVDA,RVDBを圧縮メモリに格納す
ることなく、直接プリンタへ伝送するモードである。 即ち、メモリパスモードにおいては第10図のセレクタ
10−23のA1,B1を選択する。また、リーダからのR−VCL
Kを0SYSとすべくセレクタ10−18を選択動作し、更に、
プリンタからのP−BDをHSYNCとすべくセレクタ10−22
を動作する(S−106−A−2)。 この後はリーダから入つてくる制御信号はプリンタ
へ、またプリンタから入つてくる制御信号はリーダへそ
のまま出力し、あたかも、RMUが存在しないかの如くに
動作する。即ち、リーダからのVSYNCがオンしたら(S
−106−D−1)、プリンタへのVSYNCをオンし、更に、
リーダからの画像をセレクタ10−23を通してプリンタに
素通しする(S−106−D−2,S−106−D−3)。そし
て、リーダからのVSYNCがオフされたならば(S−106−
D−4)、プリンタへのVSYNCをオフし(S−106−D−
5)、更にプリンタストツプコマンドが入力していれば
プリンタ動作を停止しせめる。一方、プリンタストツプ
コマンドが入力していなければ再び同様の処理を設定数
分繰返し実行する。 次に、“メモリインプツトモード”で圧縮画像メモリ
に書き込んだ画像を“メモリオーバレイモード”でリー
ダからの画像と合成してプリンタに出力する例を説明す
る。 メモリオーバレイ動作を行う第一段階としてメモリに
画像情報が書き込まれていなくてはならない。このメモ
リに画像情報の書き込みを行うRMUモードが“メモリイ
ンプツトモード”である。第13図のB領域をトリミング
してメモリC領域へ圧縮記憶する場合のRMU指示は、第2
0表に示すRMUモード指示コマンドの2バイト目と、第21
表に示すRMUメモリ指示コマンドの2バイト目と、第24
表に示す如くの、オペレータによるリーダの操作部から
のトリミング領域指定データに基づくRMUトリミング指
示1コマンドからRMUトリミング指示6コマンドのトリ
ミングデータの内容をリーダから入力する。“メモリイ
ンプツトモード”においては第1表の100−2のプリン
タスタートコマンドはプリンタへ出力する必要がなく、
プリンタはコピー動作を行なわないため、第10図示のSE
L1,SEL2,SEL3,SEL4,SEL5,ビデオセレクタの選択をそれ
ぞれR−CLK,R−VDA,R−VE,R−VE,HSYNC,A0,B0と設定す
る(S−106−A−2)。また、プリンタがコピー動作
を行なわないので、PREQ信号をRMUに出力しないが、RMU
はプリンタの代りにPREQ信号をリーダへ出力する(S−
106−A−4,S−106−A−6)。リーダからのシリアル
通信による。 紙サイズ指示コマンドを受信したならば、メモリCが
指定されているので、RMUの制御部のメモリにMC−PSZ
(メモリCの紙サイズ)に紙サイズを記憶保持し、MC−
METHOD(メモリC領域に記憶している画像情報の読み取
りモード)に2値画像であることも記憶保持する。 リーダより入力した紙サイズとトリミングデータH
P(主走査基準位置),VP(副走査基準位置),HW(主走
査巾),VW(副走査巾),HM(主走査移動位置),VW(副
走査移動位置)により、ダウンカウンタ(14−1)には
4677、コンパレータ(14−4)にはHPより3575、コンパ
レータ(14−5)にはHWより1371、コンパレータ(14−
8)は紙サイズより4677、デイザカウンタ(14−1)に
は4677をセツトする。メモリアドレスカウンタ(10−
8)には前述MS(圧縮画像書き込み開始アドレス)、コ
ンパレータ(10−14)にはME(圧縮画像最大書き込みア
ドレス)をセツトする(S−106−A−9)。 RMUはリーダからPRINT信号を入力しても(S−106−
A−10)、プリンタがコピー動作を行なわないためプリ
ンタには出力せず、プリンタの代りにVSREQ信号をリー
ダに出力する(S−106−A−11,S−106−A−14)。リ
ーダからVSYNCオンを入力すると(S−106−B−1)、
第17図B領域までのVP(この例の場合1574)ライン圧縮
しないようにするためラインカウンタ(10−11)にVP
セツトする(S−106−B−2)。ラインカウンタがカ
ウントアツプしたことを検知し(S−106−B−3)、
圧縮動作を開始するためにV−ENC信号をオンする(S
−106−B−4)。また、圧縮する副走査巾VW(この例
の場合3307)をラインカウンタにセツトする(S−106
−A−5)。そして、ラインカウンタがカウントアツプ
するまで圧縮画像メモリに圧縮動作を繰り返す(S−10
6−B−6,S−106−B−7)。ラインカウンタがカウン
トアツプしたことを検知して圧縮動作を停止するため、
V−ENC信号をオフする(S−106−B−8)。その後リ
ーダからのVSYNC信号がオフになつたのを検知し(S−1
06−B−9)、メモリオーバー(メモリアドレスカウン
タが圧縮画像書き込み最大アドレスを越えたこと)があ
るかのチエツクを行うため、MOVER信号の検知を行う
(第31図、S−106−C−1)。 MOVER信号がHレベルであればメモリへの書き込みが
失敗したことを意味し、リーダに圧縮失敗の情報を伝え
るために圧縮失敗フラグをセツトする(S−106−C−
2)。このことにより前述エラー発生ユニツトステータ
スにRMU圧縮失敗の情報が付加され、リーダはRMU圧縮失
敗を認識する。また、圧縮失敗の場合にはMC−PSZ(メ
モリCの紙サイズ)、MC−METOD(読み取りモード)、M
CS(メモリC開始アドレス)、MCE(メモリC終了アド
レス)、MC−VIDEO(圧縮モード)の情報をメモリCに
は何も書き込まれていないものと同じ設定を行う。この
ことにより圧縮失敗時の指定メモリ領域を空領域と認識
し、次回の圧縮動作のために有効に活用できる。一方、
圧縮成功時には、MCS,MCE,MC−METHOD,MC−VIDEO,MC−P
SZに必要な情報の記憶を行う。これらはメモリC領域か
らの伸長時に利用する。リーダからプリンタストツプコ
マンドを入力したならば(S−106−C−6)、RMUはシ
ーケンス処理を終了する。 今、前述のインプットモードにより、例えばメモリB
にA4サイズの画像情報が圧縮記憶されているとする。そ
して、この画像情報を“メモリオーバレイモード”で伸
長し、リーダからの画像情報と合成しプリンタに出力す
ることを考える。RMUの圧縮画像メモリからの伸長画像
はRMUモード指示コマンドの2バイト目のビット5を
“0"にすることによって約50%の濃度でプリンタに対し
て出力する。また、第19図で、伸長画像Uにおける主走
査方向にH1=HPビット、副走査方向にV1=VPビットの点
を基準点t1として、主走査サイズH2=HWビット、副走査
サイズV2=VWビットの画像領域(T領域)をトリミング
してA4サイズに出力する場合のRMUモード指示コマンド
の2バイト目は第25表のものを、また、RMUメモリ指示
コマンドの2バイト目として第26表のものを、RMUトリ
ミング指示コマンド1からRMUトリミング指示コマンド
6のトリミングデータ1からトリミングデータ6までを
ビット、またはラインに変換したものとして、それぞ
れ、HP,VP,HW,VW,HM,VMという値がセットされ、リーダ
からRMUに対して出力される。 RMUは第10図セレクタ1,セレクタ2,セレクタ3,セレク
タ4,セレクタ5,ビデオセレクタにそれぞれR−VCLK,DVD
O,LN−ST,R−VE,P−BD,A3,B3をセレクタせしめ、Dither
信号にはLレベルをセットする。 さて、第34図において、伸長画像のT領域の副走査移
動方向を判定する(S−106−G−1)。この結果、T
領域の移動方向が第22図(b)の如く副走査方向と同じ
であれば、第35図に進む。 そして、リーダからの紙サイズ指示コマンドを入力し
たならば、圧縮画像の紙サイズとは別に記憶保持してお
く。PREQ信号,PRINT信号,VSREQ信号についての処理は
“メモリパスモード”または“スルーアウトモード”と
同じであるので省略する。 記憶している紙サイズ、トリミングデータをビット,
ラインに変換したHP,VP,HW,VW,HM,VMによりカウンタの
設定を以下の様に行う。コンパレータ14−4には4677、
コンパレータ14−5には0、コンパレータ14−8には46
77、ダウンカウンタ13−1,13−2には4677−(HP
HM)、カウンタ14−1には4677をそれぞれセットする。 T領域の画像の移動方向が副走査方向と同じ場合に
は、リーダからのVSYNCオンを入力したと同時に(S−1
06−H−1)、プリンタへのVSYNCをオンし(S−106−
H−2)、V−DEC信号をプリンタへ出力したVSYNCより
(VM−VP)ライン遅れてHレベルにするために、ライン
カウンタをセットする(S−106−H−3)。ラインカ
ウンタのカウントアップの後(S−106−H−4)、副
走査VPライン分TRM信号をLレベルにするために、コン
パレータ14−6に1FFFH、コンパレータ14−7に4677を
セットする。 また、HADR,DADRにそれぞれ4677,4677−(HM−HP)を
セットし(S−106−H−5)、V−DEC信号をオンする
(S−106−H−6)。トリミングを行うために、TRM信
号を設定し(S−106−H−7)、vPライン分のカウン
タをセットし、カウントアップした後(S−106−H−
8,S−106−H−9)、T領域の画像の伸長処理が行われ
る様にTMR信号を設定し(S−106−H−10)、ラインカ
ウンタにVWラインをセットし(S−106−H−11)、リ
ーダからの画像と伸長されたT領域の画像の合成を行
い、VWライン分の合成動作を行った後(S−106−H−1
2)、伸長動作を停止するために、V−DEC信号をオフす
る(H−106−H−14)。 一方、伸長画像UのT領域の副走査移動方向が、第22
図(c)の如く、副走査方向と逆の方向の場合は、第34
図の(S−106−G−1)から第36図に進み、圧縮画像
メモリからの圧縮画像データを伸長したA4サイズの画像
信号から副走査画像位置V1=VP,副走査画像サイズV2=V
WなるT領域をトリミングして、且つ、副走査紙始端か
らt1までの距離V3=VMの場合に移動するとともに、リー
ダからの画像信号を合成してプリンタに出力する場合に
相当し、コントローラ10−2の制御動作を第36図により
実行する。 主走査画像位置H1=HP,主走査画像サイズH2=HWなる
T領域を主走査方向に主走査紙始端からt1までの距離H3
=HM移動させる場合、第21図により、カウンタ14−1
(HADR)のロード値は4677、HAREA信号を発生するコン
パレータ14−4には4677、コンパレータ14−5には0を
セットする。デイザカウンタを起動させるコンパレータ
14−8には4677をセットし、デイザカウンタ13−1,13−
2には4677−(HM−HP)をセットする(S−106−I−
1)。ここで、φSYSをICLKとすべくSEL1(10−18)を
セットして、更に、メモリアドレスカウンタ10−8の圧
縮画像データの先頭アドレスをセットして、V−DEC信
号をオンし、圧縮画像の伸長を開始する。ここで、ライ
ンカウンタ10−11により伸長画像Uが副走査方向にコピ
ー用紙からはみ出るライン長(VP−VM)分のラインを計
数し(S−106−I−3)、一旦、V−DEC信号をオフ
し、伸長動作を中断する(S−106−I−4)。 これ以降の画像伸長は、リーダ10−1のVSYNC(PVSYN
C)に同期してリーダ10−1のクロックで行うため、SEC
1(10−18)によりφSYSはRVCLKを選択する。これによ
り、リーダからの画像とT領域の画像を合成した時の主
走査方向の画素のふぞろいを防ぐことができる。この状
態で、リーダからのVSYNCを検出したり、コントローラ1
0−2はプリンタにレジスト給紙信号PVSYNCを出力する
(S−106−I−6)とともに、副走査VMラインの間、
伸長画像を出力しない様にTRM信号をLレベルにする。 これは、コンパレータ14−6に1FFFHを、コンパレー
タ14−7に4677をセットすることで実現される(S−10
6−I−7)。この後、中断していた画像伸長を開始す
るために、メモリアドレスカウンタ10−8の値は、その
ままにして、V−DEC信号をオンにする。ここで、T領
域の画像を出力するまでのVMラインをラインカウンタ10
−11で計数する(S−106−I−9)。 次に、T領域の画像をトリミングするために、TRM信
号を生成するコンパレータのセットを行い、第22図
(c)よりコンパレータ14−6は4677−HMとし、コンパ
レータ14−7は4677−(HW+HM)とする(S−106−I
−10)。 これにより、T領域の画像が第22図(c)のt1の場所
からコピー紙のt1′の場所に出力される。 次に、コントローラ10−2は、T領域の副走査幅のVW
ラインをラインカウンタ10−11により計数し(S−106
−I−11)、T領域の画像信号がプリンタへ出力された
ことを検出し、伸長動作を停止させるべく、VDEC信号を
オフする(S−106−I−12)。 これで、コントローラ10−2は、圧縮画像信号の伸長
出力を終了したので、リーダ10−1からの画像がすべて
プリンタ10−3に出力されるのを待つ(S−106−I−1
3)。リーダのPVSYNCがオフされたことを検出したら、
プリンタ10−3へのVSYNC(PVSYNC)をオフし、プリン
タ10−3への一枚の画像出力を終了し(S−106−I−1
4)、設定枚数のコピーが終了したか否かをチェックす
るために、既に説明した第31図(S−106−C−6)に
進む。 この様に、RMUは、前述の4つのモード指定に応じて
動作するものである。 尚、本実施例では画像圧縮をランレングス符号化によ
り行ったが、MH,MR等の圧縮方法によっても可能であ
る。尚、画像合成としては画像の重ね合わせの他、第1
の画像の所定部分への第2の画像の挿入や複数の画像の
各々の所望部分のみを組合わせる等の機能も同様にして
達成できる。 以上説明したように、本発明によると、入力した第1
の原稿画像を表わす第1の画像信号を予め圧縮して記憶
しておき、この予め圧縮されて記憶されている第1の画
像信号を伸長した第1の画像信号と更に入力された第2
の原稿画像を表わす第2の画像信号とを合成し、この合
成画像信号により第1,第2の原稿画像の合成画像を形成
することができ、また、ライン毎の画像形成に同期した
ライン同期信号に同期して、圧縮されている第1の画像
信号をライン毎に伸長し、且つ、ライン同期信号に同期
して、第2の画像信号をライン毎に入力する構成とし、
更に、第2の画像信号の入力開始を示す垂直同期信号の
入力からライン同期信号を計数し、この計数値に基づい
て伸長動作を開始制御するので、第1の原稿画像を表わ
す第1の画像信号の伸長出力が第2の原稿画像を表わす
第2の画像信号の入力に確実に同期合わせされたものと
なり、従って、第1の画像信号と第2の画像信号とを適
正に合成することが可能となり、その合成画像信号に基
づく第1の原稿画像と第2の原稿画像との合成画像を良
好に形成することが可能となる。
DETAILED DESCRIPTION OF THE INVENTION   The present invention relates to an image for processing an image as an electrical image signal.
It relates to a processing system.   Conventionally, images are converted into electrical signals and transmitted.
Alternatively, image processing such as storage has been proposed.   By the way, an A3 size image is converted to 2 with 400 dpi resolution.
Approximately 4 Mbyte of image signal is used to represent
It is. Therefore, in order to store this image signal,
Both require a memory with the same number of bytes of storage capacity
You.   Therefore, consider compressing the image when storing it.
available. According to this, the data amount of a general image is 1/10
Use a relatively small amount of memory.
Will be.   Also, images compressed and stored in this way
It is conceivable to combine another image with
However, the two images must be accurately aligned and combined.
Is difficult.   The present invention has been made in view of the above points, and a first
Satisfactorily forms a composite image of the original image and the second original image
In detail, the first and second manuscript images are
Input means for inputting the first and second image signals to be represented for each line
And a step for compressing the first image signal input from the input means.
Compression means for compressing, and a first compression means compressed by the compression means.
Storage means for storing the image signal of
Decompressing the output compressed first image signal,
Decompressing means for outputting the output first image signal line by line
And a first image output line by line from the decompression means
Signal and a second image input line by line from the input means.
Combines image signals and outputs a combined image signal line by line
A synthesizing unit, and a combination output from the synthesizing unit for each line.
A composite image of the first and second original images is formed based on the composite image signal.
Image forming means for forming each line;
Is a line synchronized with the image formation for each line of the image forming means.
The first compressed image signal is synchronized with the in-sync signal.
Signal for each line, and the input means
In synchronization with the in-sync signal, the second image signal is
Input means, and the synthesizing means further comprises:
Vertical synchronization signal indicating the start of input of the second image signal from the stage
Counting means for counting the line synchronization signal from the input of
The count value of the line synchronization signal by the counting means
Image for controlling the start of the decompression operation by the decompression means based on the
An image processing system is provided.   Hereinafter, the present invention will be described in detail with reference to the drawings.   FIG. 1 shows an image processing system to which the present invention is applied.
Image reader (hereinafter referred to as reader) 1-1, image reader
Storage device (hereinafter referred to as RMU) 1-2, image forming device (hereinafter referred to as RMU)
(Referred to as a printer) 1-3.   Image signal read by reader 1-1 as main function
Function to form an image on the printer 1-3 with the reader 1
-1 is input to the memory to store the image signal read in -1 to RMU1-2.
Function, the image signal stored in the memory of RMU1-2.
Memory printout for forming an image in printer 1-3
Function.   Each device is connected via the video interface described later.
Has been continued.   The leader 1-1 is, for example, as shown in FIGS.
CCD line sensor with a light receiving element of about 500 bits 3-
1, the original on the original platen 2-1 is decomposed into a plurality of pixels and
Bit cereal that is read for each input and indicates the dark flame of the original image
Output the binary image signals VDA and VDB. Fig. 2
One line reading by the CCD 3-1 is the main scanning reading 2
-2, substantially perpendicular to the main scanning direction of the main scanning read line.
The movement in the straight direction is the sub-scanning 2-3.   FIG. 3 is a simple configuration diagram of the reader.
Reflection obtained from an original by an illumination system (not shown)
Light is emitted for one main scanning line by the CCD line sensor 3-1.
It converts to bit serial image electric signal. CCD3-1
Analog image signal according to the intensity of the reflected light from the original
The signal has a plurality of bits for each pixel by the A / D converter 3-2.
Is converted into a digital image signal. The daisy
The converted image signal is converted to a binary comparator 3-3, 3-4.
Is generated from the threshold generators 3-5 and 3-6.
It is compared with the binarized threshold signal, respectively, and the binary of 1 or 0 of the two systems
It is output as coded image signals VDA and VDB.   Suppose analog input from A / D converter 3-2
Image signal is converted to a 6-bit digital image signal
Then, 64 density levels having values of 0 to 63 are obtained.
For example, the threshold from the threshold generator A3-5 is 42, the threshold generator
Assuming that the threshold from the energizer B3-6 is 21, the binarized comparator
The binary image signals VDA and VDB from the lators 3-3 and 3-4 are as follows.
It looks like below. That is, from the A / D converter 3-2
VDA = 0, VDB = 0 when A / D output is 0-20, A / D converter
When the output from the data 3-2 is 21 to 41, VDA = 0, VDB = 1,
When the output from the A / D converter 3-2 is 42 to 63, VDA =
1, VDB = 1, and the image signal from the original is the reflection density
, VDA = 0, VDB = 0, VDA = 0, VDB = 1,
VDA = 1 and VDB = 1. Therefore, the image signal is
It is output from the reader in three values for each element. Note that the threshold energy
Equalize the threshold from the generator A and the threshold generator B
Thus, a binary image signal is output.
Further, the threshold comparators 3-5 and 3-6 are conventionally known.
Generating a Dither Matrix Threshold by the Dynamic Dither Method
It can also be used to produce halftones with ternary image signals of VDA and VDB.
Can also be expressed.   RMU1-2 in FIG. 1 is an image storage device as described above.
You. Inside it encodes the image signal from the reader
A compression circuit 1-2-1 for performing compression processing, and an encoded image
A compressed image memory 1-2-2 for storing signals, a compressed image
Read the compressed image signal from the memory 1-2-2 and decode it
Decompressing circuit 1 for decompressing to a bit serial image signal
2-3.   The printer 1-3 is a well-known electrostatic recording device.
Fig. 4 shows a laser beam printer using the recording process.
Shows a schematic diagram. In FIG. 4, 4-1 is related to the predetermined axis.
4-2 is a photosensitive drum that rotates by rotating the image signal
The laser driver that converts light ON-OFF, 4-3
The laser light emitted from the laser driver 4-2
A polygon scanner that scans in the axial direction of the photosensitive drum 4-1
-, 4-4 are photosensitive dots formed by scanning with laser light.
A developing unit for developing the electrostatic latent image of the ram 4-1 with toner;
4-5 is a print paper cassette, 4-6 is a print paper
Pull out the print paper one by one from cassette 4-5.
Lint paper pick-up roller, 4-7 for printing
A resist that feeds paper in synchronization with the rotation of the photosensitive drum 4-1
4-8, a toner image on the photosensitive drum 4-1.
Transfer unit to transfer to print paper, 4-9
Fix the toner image transferred on the printing paper to the printing paper.
Fixing unit 4-10 is a printer on which the toner image is fixed.
This is a paper discharge tray from which paper is discharged.   An image signal, which is an electrical signal in the printer,
The operation embodied on the paper will be described with reference to FIG.
You. 2 systems input from video interface 5-11
Binarized image signals VDA and VDB are ternary-valued by a synthesizing circuit 5-10.
(VD signal) and input to the laser driver 5-3.
The laser beam based on the VD signal by the semiconductor laser 5-4.
Is converted. The laser light is passed through a collimator lens 5-5.
Focused and rotated by polygon mirror 5-6
Scan in a direction substantially parallel to the rotation axis of the photosensitive drum 5-2.
Is done. The scanned laser light is applied to the f-θ lens 5-
7, the scanning position is corrected and irradiated on the photosensitive drum 5-2.
To form a latent image based on the VD signal.   Printer image formation uses the so-called electrostatic recording method
And charges the electric charge applied on the photosensitive drum 5-2 with laser light.
And remove the necessary parts with a developer.
And transfer and fix it on print paper.
U. Since electrostatic recording is a well-known technology,
Description is omitted.   Now, it is scanned by the polygon mirror 5-6.
The laser beam is irradiated with light before being irradiated on the photosensitive drum 5-2.
The light enters the eye bar 5-8, and the light detector 5-9
, An electric signal (BD signal) is output.   The image signal output device detects the laser beam after the BD signal is generated.
Wait for the time to reach the optical drum 2-2, then wait for the VD signal
Is output, a latent image is formed at an appropriate position on the photosensitive drum 2-2.
Is formed.   Video interface for connecting each device in Fig. 1.
This is called an interface, and its schematic diagram is shown in FIG.   The video interface is connected to the image output device 6-1 and the image.
An interface for connecting the receiving device 6-2.
The above-mentioned reader is a typical example of an image output device.
There is a printer as the receiving device. Image storage device of FIG.
(RMU) 1-2 receives image for reader 1-1
Device, and an image
It is positioned as an image output position.   The video interface is bit serial as described above.
Video signals VDA and VDB, and
Line synchronization signal from the image receiving device as a control signal
Signal BD, one page of output image signal from the image output device
VSYNC which is an inter signal, and video which is an interval signal of one line
Synchronization signal consisting of rice clock (VE) and image clock VCLK
Transmitted.   These image / image synchronization signals have the phase relationship shown in FIG.
When the image output device receives the BD signal, the BD signal shown in FIG.
From the light receiving end of the optical fiber 5-8, which is the signal generation position
Time to image effective area of drum 5-2 (left merge
), The image signals VDA, VDB for one line
And the section signal VE. Signal VE, VDA, VDB
VDA and VDB are synchronized with the clock VCLK.
Synchronized with the clock VCLK, the ternary image is synthesized as the recorded image VD.
And transmitted to the laser driver.   In addition, the video interface represents control information.
Connect signals (DCNCT) of each device as control signals
Parallelism indicating that the control unit of the device is operating normally
Day (DPRDY), output paper feed state of the image receiving device
(PREQ) indicating that the paper is output from the image output device
Signal (PRINT), an image request signal (XSR
EQ) is transmitted. In addition, the control signal
The paper size information of the paper feed stage, the connection status of various devices, and detailed
Error information.   FIG. 8 shows various signals transmitted through the video interface.
List of name, abbreviation, transmission direction, signal classification and content of signal
Shown as a table.   The outline of the components in the present embodiment has been described above.
However, based on that, explanation of image coding in RMU1-2
I do.   The image signal from the reader is bit-serial image information.
There is a resolution of 400 dpi (400 dots per inch)
The scanned image information is a 3.7 Mbyte memo
It becomes the capacity. This is 64K bytes of DRAM, equivalent to 574
Information and unrealistic in terms of mounting and price
Then, the image is compression-encoded and stored in the memory 1-2-2.
You.   Image information from the reader is compressed by the image compression unit 1-2-2.
Although compression processing is performed, in this embodiment,
The length method is used. Run-length method
Use the counter to count the number of consecutive "1" or "0" states.
The counting result is handled as an image signal.
FIG. 9 shows the format of the run-length encoding in the embodiment.   Format of run-length cord in this embodiment
Consists of 1 byte (8 bits) as shown in (9-1).
The encoded data of the image is a 7-bit binary data in bits 6 to 0
It is expressed by an equation. Also, in the 7-bit binary format,
Length (number of consecutive 1/0) ranges from 0 to 127 bits
Can not be expressed, so run run of 128 bits or more
In the case of NG, it is represented by a 2-byte configuration. In this case two bars
One of the units represents a run length that is an integral multiple of 128 bits.
Make up code (hereinafter referred to as M code)
The remaining 1 byte represents a fraction from 0 to 127 bits.
The terminating code (hereinafter referred to as T code)
You. This makeup code and the termination code are separated.
To distinguish, as shown in (9-1), bit 7 is used as an identification flag.
1 indicates an M code, and 0 indicates a T code.   The run-length encoding of the present embodiment is mainly used for A3 size originals.
4677-bit image signal of 1 line for 297mm scanning length is white signal
No. 5 bit continuous and black signal 4672 bit continuous white / black pattern
A description will be given by taking an example of a case in which the   First appear in the run-length method in this embodiment
White 5 bits are encoded using T code as in (9-3)
Be transformed into The following black 4672 bits are 128 or more
Is composed of an M code and a T code.
As shown in (9-4), 36 is represented by binary code, and T code and
Then, as shown in (9-5), 64 is expressed in binary. You
That is, M code (128 × 36) + T code (64) = 4672
Will be encoded. As explained above,
The image signal of one line of 4677 bits is (9-3),
It is represented by three bytes (9-4) and (9-5).   Also shown in (9-2) as a signal for one line break
EOL code (End of Line code) is used. this
The EOL code is similar to the M code because bit 7 is 1.
However, if bit 6 to bit 0 are all 1 in the M code,
This means a continuation of an image signal of 16256 bits.
In this embodiment, the data length of one line is up to 4677 bits
In M code, bit6 is always 0, so
M code where all bits become 1 in run-length encoding of
No EOL code and M code are clear
Is distinguished.   This EOL code is added to the above-mentioned white 5 bit black 4672 bit
The image signal of one line of 4677 bits is about 1/14 of the original signal.
It can be written to memory with 4 bytes of data equivalent to 6
And Note that this encoding method uses data indicating white or black.
Do not have in the code. Instead, one line of data
Must start with a white code. And
Shows the change of data from white to black and black to white for T code
Also used as code. If one line starts from black
If you want to use T code 0 representing white 0 before black code
You. Also, if the sequence of images is an integer multiple of exactly 128,
Even if it can be encoded only with
A T code 0 representing white 0 is attached.   This embodiment will be described in detail with reference to FIG.   FIG. 10 is a diagram showing a detailed configuration of the system shown in FIG.
The leader 10-1 is the leader 1-1 in FIG.
In addition, the printer of 10-3 becomes the printer of 1-3, and the printer of 10-4
The compression circuit is 1-2-1 and the compressed image memory of 10-5 is 1
-2-2, 10-6 decompression circuit in 1-2-3
Yes, it is. 10-2 is a controller and micro
Consists of a processor and peripheral I / O port devices
And serial communication with the reader 10-1 and printer 10-3.
Input / output of various video interface control signals, RM
U Control of internal selector, counter, comparator, etc.
Setting of constants, generation of various timing signals, RMU internal
It has functions such as capturing status.   The compression circuit 10-4 receives the image signal from the reader 10-1.
A circuit that compresses line by line using the run-length method described above.
is there.   10-5 is generated by the compressed image memory compression circuit 10-4.
Writes run-length code and expands 10-6
And supply the read code.   The decompression circuit 10-6 is a run-level from the compressed image memory 10-5.
Decompressing the source code into bit-serial image data
Circuit.   10-7 is the EOL code detection circuit,
Error detection, EOL error repair, EOL code skipping
The image is reduced in the sub-scanning direction at the time of expansion. Also, EO
The L detection circuit is a sub-scanning extension section from the controller 10-2.
This circuit operates only when the inter-signal V-DEC is asserted.
Yes, EOL detection when signal V / DEC is negated
Buffer enable, which is the output signal of circuit 10-7
(Buff CHG ENB) signal and data enable (Date EN
B) The signal is fixed at high (H) level, and the DRP2 signal is
-(L) level.   10-8 is a memory address counter for up counting.
Work and addressing of the compressed image memory 10-5.
U. This counter is written and read by the controller 10-2.
Start address can be set, and counter output
Force can be read by controller 10-2
Configuration. The count clock of this counter 10-8
Shia compression circuit 10-4, decompression circuit 10-6, EOL detection circuit 10
The DWP signal, DRP1 signal and DRP2 signal from -7 are output to NOR gate 10
Given through -29.   Reference numeral 10-10 denotes a dither counter having the configuration shown in FIG.
The dither counter in this embodiment is a three-bit 13-1 bit.
Counter and 13-2 10-bit down counter, 13
-3 10-bit comparators. 13−
3 and 13-2 down counters for a total of 13 bits
Supply dress signal DADR to double buffer memory 10-15
You.   10-11 is a line counter, which is connected to the controller 10-2.
Count the number of lines set in
A signal is generated on the controller 10-2.   10-12 is the main scanning counter and decoder, and the pressure for each line
It generates a section signal H-AREA for contraction and extension,
Generates a start signal DCSTART for the
Generates address (HATR) to buffer memory 10-15
Or the image signal from the double buffer memory 10-15.
Generates a signal to trim (TRM). Fig. 12 shows main scanning
The detailed configuration of the counter and the decoder 10-12 is shown.   In FIG. 12, 14-1 is a 13-bit down counter.
The count start value is set by the controller 10-2.
The counting starts when the START signal is input. 14-2 to 1
4-8 are 13-bit comparators, respectively.
The value of 1 is equal to the value respectively set by the controller
An A = B output is generated when the power supply is turned off. 14-10 to 14-12 are
14-2 to 14-7 comparators in flip-flop
Set and reset by output.   10-14 is a memory address counter
10-8 Up-count output M-ADR and controller 10
Compare the set value from -2. A of comparator 10-14
Controller 10-2 by signal MOVER with B output
Is the memory address counter 10-8 is the comparator 10-14
Is reached. Also in this state MO
When the VER signal goes to logic state 1 (hereinafter referred to as H level)
As a result, the CLK input of the memory address counter 10-8 becomes N
Memory address count prohibited by OR gate 10-30
The count-up operation of the data 10-8 stops.   10-15 is the memory for one line each of memory X and memory Y.
This is a double buffer memory consisting of memory
In the memory Y, the read operation and the write operation are reversed.
You. This buffer switching is performed by inputting the Buff CHG signal.
The read address signal and the write address
The signal is the DADR from the dither counter 10-10 and the main scan count.
HADR from the data decoder 10-12 is used as appropriate.   10-16 is a video for outputting the expanded image signal to the printer.
The internal clock generator that generates the clock
Clock ICLK is generated in synchronization with the signal.   Reference numeral 10-17 denotes a horizontal synchronizing signal generator, which is a video interface.
Approximately the same frequency as BD input from the printer via Ace
Output the IBD signal. Video in from printer 10-3
BD signal P-BD specified by turface is not input
In this case, select this IBD signal with selector SEL510-22.
The main scanning synchronization signal HSYNC inside the RMU is
Used as BD signal R-BD.   10-18 is φSYSClock selector and leader
Video clock R-VCLK from the internal clock generator
The I-CLK from 10-16 is transferred to the finger from controller 10-2.
Select as indicated.   10-19 is the write data to the double buffer memory 10-15.
Data signal R-VD from the reader
A to control the expanded image signal DVDO from the expansion circuit 10-6.
Select according to the instruction from the dealer 10-2.   10-20 is the count of the main scanning counter decoder 10-12.
As start signal and clock input of line counter 10-11
The selector of the used LN-ST signal is a selector SEL510.
HSYNC signal from -22 and R-VE signal from reader
Select according to the instruction from the controller 10-2.   10-21 is a selector for the VE signal P-VE going to the printer,
OVE signal equivalent to VE from main scanning counter / decoder
And the VE signal R-VE from the reader to the controller 10-2
Select according to instructions from.   10-22 is the HSYNC selector as described above.
The selection is made according to an instruction from the roller 10-2.   10-23 is an image signal P-VDA output to the printer 10-3.
And P-VDB selector controlled by controller 10-2
Is controlled. A0 and B0 inputs of video selector 10-23 are
Image signal R-VDA from the A0 and B0 inputs
Selects the image signal P-VD to the printer.
R-VDA from reader is connected to both A and P-VDB
That is, the recorded image VD output to the printer is shown in FIG.
As is clear from the above, a binary image is obtained.   A1 input and B1 input are selected by video selector 10-23
Then, the image signal P-VDA going to the printer contains
Image signal R-VDA is output from the
The image signal R-VDB from the reader is further AND gated 10-34
Is output. This AND gate 10-34
The other input signal ▲ ▼ is controller 10
-2. This ▲ ▼ is H level
If the image signal P-VDB goes to the printer if it is
The same signal as the image signal R-VDB from
The recorded image VD that is input from the reader as shown in FIG.
Is an image obtained by synthesizing the image signals R-VDA and R-VDB.   ▲ ▼ signal is logic state 0 (hereinafter “L level”
Image signal P-VDB going to the printer
Is fixed at the L level. For this reason, we can see from Fig. 7.
The image signal VD output to the printer is one pixel (one video).
Okrok) VDA signal of about 50% duty for the section
The number is recorded on the output paper. This is a ▲ ▼ signal
When the level is L level, the laser
Lighting time of laser light emitted from nit 5-4
This means that the R-HALF signal is set to L level.
About 50% of the image signal from the reader
An image density is obtained.   A2 input and B2 input are selected by video selector 10-23
And the image signal P-VDA going to the printer is a double buffer
The output from the memory 10-15 is passed through the AND gates 10-27 and 10-28.
Signal RMU-VD. Image signal going to the printer
P-VDB further passes signal RMU-VD through AND gate 10-32.
Signal. The other input of this AND gate 10-23
▲ ▼ is the signal from controller 10-2
And this ▲ ▼ signal is at H level.
If the image signal P-VDB goes to the printer, the same signal as R-VDA
And the recorded image VD output to the printer is shown in FIG.
As can be seen, the image is a binary image based on the image signal RMU-VD.
If the ▲ ▼ signal is at L level, the printer
Is fixed at the L level. sand
That is, the image from the double buffer memory 10-15 is stored in the R-VDA.
The image signal RMU-VD is transmitted, but the P-VDB remains at L level.
Figure 7 shows the image signal VD output to the printer
As can be seen from the figure, one pixel (one video clock) section
About 50% of the image signal on the output paper
Is recorded. This is when ▲ ▼ signal is L level
In the case of H level, the laser unit 5-
The ON time of the laser light emitted from 4 is about half
And set the ▲ ▼ signal to L level.
As a result, an output image density of about 50% can be obtained.   A3 input and B3 input are selected by video selector 10-23
And the OR gates 10-31 and 10-32 to the printer.
The image signals R-VDA and P-VDB are the image signals R from the reader.
-Images from VDA, R-VDB and double buffer memory 10-15
The signal RMU-VD is synthesized. Where ▲
▼ signal, ▲ ▼ signal arbitrarily
Image signal output to printer by combining
VD is as shown in Table 1.   10-25 is the Buff CHG ENB signal from the EOL detection circuit 10-7
LN-ST signal (by enabling double buffer switching)
Gate and double buffer memory 10-15 read buffer
Generates a buffer signal Buff CHG
It is a two-input AND gate.   10-35 is a decompression error counter and a decompression circuit of 10-6
Is counted.   The basic functions of the present embodiment configured as described above are as follows.
The four below. (1) (Binary compression)   Image signal R-VD with fixed threshold value from reader 10-1
Any part of A is subjected to binary compression processing, and the compressed image memory 10-
Function to write to 5. Note that the image signals of the entire original area
This is an application of writing to -5. (2) (Dither compression)   Image from the dither matrix threshold from reader 10-1
An arbitrary part of the image signal R-VDA is subjected to dither compression processing to
Function to write to image memory 10-5. (3) (Binary extension)   Binary compressed image stored in compressed image memory 10-5
Is read, subjected to binary decompression processing, and output to the printer 10-3.
Function to do. (4) (Dither extension)   Dither compressed image stored in compressed image memory 10-5
Reads the image, performs dither expansion processing, and sends it to the printer 10-3.
Function to output.   Hereinafter, specific operations will be described in order. (1) Binary compression function   The image signal input from the reader is mainly
The VE signal representing one scanning line is transmitted as a synchronization signal.
Come. The sub-scanning section for one page is generated by the VSYNC signal.
The interval is represented. This VE signal is represented by R-VE in FIG.
Expressed as a signal.   The image compression method in this embodiment is an image compression method in the main scanning direction only.
Encoding of image data and image compression in the sub-scanning direction
Absent.   The following is transmitted from the reader as shown in Fig. 13.
A3 size (Main scan 297) with resolution of 400dot / inch (400dpi)
mm (corresponding to 4677 bits), sub-scanning 420 mm)
70 mm in the main scanning direction and 100 mm in the sub scanning direction from the point
140mm × 210mm image information B is trimmed and binary compressed
The case will be described as an example.   Before receiving the above image data from reader 10-1
The controller 10-2 controls the mode setting of each part inside the RMU.
Do.   The image signal R-VDA sent from the reader 10-1 is
Clock φ used inside the RMU for compression processingSYSage
To select clock R-VCLK from reader 10-1
10−18 Set SEL1.   The image signal R-VDA input from the reader 10-1 is
It is stored for each line in the shared double buffer memory 10-15,
The output is input to the compression circuit 10-4. Therefore,
The image data input to the bull-buffer memory 10-15 is R
-Set 10-19 SEL2 to be VDA.   Next, the synchronization signal LN-ST for each line is set.
Is used to use the R-VE signal from the reader 10-1.
Set 20SEL3. In addition, leader 10-1 issues R-VE.
Requires an R-BD signal as a synchronization signal to generate
That was mentioned in the description of the video interface.
IBD from horizontal synchronization signal generator 10-17 as R-BD signal
Set 10-22SEL5 to output a signal.   Next, the down-counting of the main scanning counter / decoder 10-12 is performed.
Control 4677 bits of image data for one line in the data 14-1
Set the count start value 4677 so that it can be used.   The setting of the main scanning direction of the area B in FIG.
Perform on -4 and 14-5. That is, these two comparators
The flip-flop that is set and reset by the output of
The H-AREA signal from 11 is supplied to the compression circuit 10-4,
The compression circuit 10-4 outputs an image during the main scanning section when this signal is at the H level.
Run-length encoding of image data and compression image memory
Write to 10-5. Therefore, the comparator 14-4
131102 equivalent to 70mm margin in the main scanning direction up to the area B in FIG.
Set 3575, which is the value obtained by subtracting the bit from 4677. Again
The main scanning width of the area B is 140 mm.
Subtract 2204 bits from 3575 and set 1371
You.   Dither by output DCSTART from comparator 14-8
The counter 10-10 starts to move.
The counter and the dither counter 10-10 simultaneously
Therefore, 4677 is set to the comparator 14-8.   The following constants are set in the dither counter 10-10.
That is, the counter 13-1 and the counter 13-2 have a count start value of 4677.
And set the Difhe signal to perform binary compression.
Set to L level. This causes the dither counter 10-10 to
The same operation as the counter 14-1 is performed.   By setting the above constants, double buffer memory 10-15
The given two addresses DADR and HADR are both R-VE signals
Will count down from 4677
You. That is, the compression circuit 10- is provided by the double buffer 10-15.
The image signal EVDO given to 4 is the image signal from the reader
The signal is delayed by one line from the R-VDA.   Decompression provided to decompression circuit 10-6 and EOL detection circuit 10-7
Since the start signal V-DEC is at L level, the DRP1 signal DRP2
The signal is at L level and the Buff CHG ENB signal and Data ENB signal
The signal becomes H level and the expansion circuit 10-6 and the EOL detection circuit 10-7
Are configured not to affect the compression operation.   Furthermore, the compressed image memo is stored in the memory address counter 10-8.
Set the write start address for the memory 10-5.   In this state, the controller 10-2 sends VS from the leader.
Have YNC input. When VSYNC is input,
The controller 10-2 has a sub-scanning length of 10 to the area B in FIG.
In order to count 0mm, 1574 lines equivalent to 100mm
Set to counters 10-11. Line counter 10-11 is LN-
Count down by ST signal, that is,
When the main scanning section signal R-VE is input 1574 times,
Counter 10-11 sends the count-up signal to the controller 10
-2, the controller is the image signal from the reader
Is detected in the area B. Thereby controlling
The video signal to cause the compression circuit 10-4 to start image compression.
-Change ENC from L level to H level and B area
Line counter 10-1 to measure the sub-scan length of 210 mm
Set 3307 corresponding to 210mm for 1. From the leader
When an R-VE signal of 3307 lines for the B area is input, the line is
Counters 10-11 count up again and control
Error 10-2 detects this and sets the V-ENC signal to H level.
From the compression circuit 10-4 to the L level.
Stop the operation.   Thus, the input is continuously input from the reader 10-1.
The image signal R-VDA has a main scanning counter deco in the main scanning direction.
H-AREA emitted from the radar 10-12
In the section and sub-scan direction, the controller 10-2 emits
V-ENC is trimmed to an arbitrary section of H level.
The compressed image memory 10 is encoded by the compression circuit 10-4.
Written to -5.   This is shown in FIG. R-VDA in FIG.
Is an example of the input of an image signal of a certain line.
White 2 bits as image signal in trimming area
Shows the case where black, 2204 bits, and 5 white bits are input.
ing. This R-VDA input allows the compression circuit 10-4
Thus, a 5-byte run length code is generated. Sand
First, 2H T code by the first white 2 and then by the black 2204
M code 91H, T code 15H, 5H T code with last white 5
And the end of GH-AREA generates an EOL code.
The write request DWP pulse from the compression circuit 10-4.
The data is written to the compressed image memory 10-5.   Note that addressing compressed image memory 10-5
Readdress counter 10-8, and DWP pulse is applied to gate 1
It counts up by the signal passed through 0-29 and 10-30.   If the image signal R-VDA from the reader changes dramatically,
When a large amount of compressed code MW code is generated, the compressed image
Not all compressed code MW codes can be written in Mori 10-5
A situation arises. Further, as shown in FIG. 15, the compressed image memory 10
When writing multiple pages of compressed image data in -5,
A part of the compressed image data T written before is new
Damaged by the compressed image data U written to
Situation arises. In this embodiment, compressed image data is written.
Sometimes it is detected that it has exceeded the writable empty area
Comparator 10 to protect other compressed data.
14 is used to monitor memory usage.   In FIG. 15, the compressed image S (end) is stored in the compressed image memory.
Address SE) and the compressed image T (start address TS)
The pressure between address SE and address TS is stored
When writing a reduced image U, the controller 10-2 writes
Based on the end address SE of the compressed image S
And set it to memory address counter 10-8.
The start address TS of the compressed image T is compiled as a limiter.
Set to lator 10-14. Write proceeds and address
The count output of the counter 10-8 is output from the comparator 10-14.
A ≦ B output of the comparator is generated when the TS value of
New write request pulse DWP at gate 10-30
Is gated, the memory address counter stops, and
Operation is prohibited. This protects the compressed image T.
It is. Is the controller 10-2 a comparator 10-14?
M where A ≦ B outputOVERThe compressed image is
Detects that it was not possible to write to the memory 10-5 and compresses the image.
An error occurred and the memory area where image data could not be written
As an empty area and prohibit the image from being output from memory
At the same time, the effect is displayed on the display unit of the reader.   The controller 10-2 outputs the Mover signal at the end of image compression.
And detects that the Mover signal has not been generated.
If the image compression writing is successful, the
Read the address output MADR from the address counter 10-8
As the end address of the compressed image written this time.
Controller's internal memory to store the next compressed image.
Used to set the write start address.   Similarly, the memory address counter 10-8 was set.
The controller also holds the write start and end addresses.
This is used when decompressing and outputting compressed image data.   When encoding the image of the entire original and storing it in the memory,
In this case, the trimming area may be set to the size of the original. (2) Dither compression function   The image signal input from the reader 10-1 is
In the case of the halftone expression by the method, the image changes
Intense, and in the main scanning direction as used in this embodiment.
Image compression methods that encode the continuity of
It is difficult to perform effective image compression.   In this embodiment, the periodicity of the dither pattern is used to
The compressed image signal is effectively compressed.   In FIG. 16, the dithered image signal is (16−
It is input from the reader 10-1 as in 1). This embodiment
Now we use an 8x8 dither matrix per block
The details are shown in block a of (16-2). Temporary
The image signal read from the reader is uniformly
If the threshold value of the dither matrix is
A black signal is output at 32 or more, and the (16-2)
The image as schematically shown in (16-1) by the matrix
Get an image. 4 blocks in the main scanning direction with the image signal of (16-1)
(16-2) is an enlarged version of Tsuku alone. Where H
The signal of the main scanning line indicated by is the RVDA signal of (16-4).
Thus, eight state changes occur during four blocks.
The number of times this state change is proportional to the number of blocks, A4 width 297m
With m, 1168 times of state change will occur,
Guss encoding leads to 1170 bytes of encoded data
I will. This 1170 bytes is about twice the original image size of 4677 bits
The amount of image information increases because of the amount of data
And   Then, the image signal obtained from the H line of (16-2) is
Image signals processed with the same threshold as in (16-3) are extracted.
4 blocks by putting out and rearranging in block order
In between, as shown in (16-4) EVDO, two state changes
Becomes That is, as shown in (16-3), the same
Signals with the same threshold have little variation between black and white states
So, by arranging these in a row,
Will be extended.   In this embodiment, the dither matrix of the image signal is used.
Double using the dither counter 10-10
Lines are controlled by controlling the reading of buffer memories 10-15.
U.   The dither image signal RVDA from the reader is
Double buffer by address control of data decoder 10-12
Are written in the memory 10-15 in the order of input from the reader.   In this embodiment, the repetition of the main scanning of the dither pattern is 8
Because of the bit interval, the dither counter 10-10
When reading image data from the
Count down and read out at intervals. This 8 bits
The reading of the interval is performed by the controller 10- shown in FIG.
2 by the Dither signal. Also control
Error 10-2 is the number N of main scanning compression blocks shown in (16-1).
Is the value obtained by subtracting N-1 from the counter setting value of 13-2.
Is set in the comparator 13-3. The number of compression blocks
N is the main scanning compression data length given to the compression circuit 10-4.
It corresponds to the length of the H-AREA signal shown (H-AREA signal
(Bit length) = N × 8.   When the Dither signal in Fig. 11 becomes H level, 3 bits
The counter 13-1 and the 10-bit counter 13-2 are separated,
13-2 counter counts down and the comparator 13
When counting by the number of blocks N set to -3,
A = B output of the comparator 13-3 is generated, and the counter 13-
2 is reloaded to the first set value and the counter of 13-1 is
Count down by one.   That is, the number of blocks N is counted by the counter 13-2.
Then, the counter 13-1 sets the threshold value in what block in each block.
Specify the image signal. In this way,
The main scan block length of the box is determined by the comparator 13-3.
Any N can be selected and any in the main scanning direction
Can support dither compression of image signals of length
You. (3) Binary image decompression function   The binary compressed image described in (1) is decompressed and processed.
This is a function to output to the linter 10-3.
The image can be trimmed and moved.   First, to explain basic binary image decompression,
In the case where each of the processing of
The compressed image signal from the area B in FIG.
The compressed image is assumed to be stored in the memory 10-5.
In the location of area B of A3 output paper of size A area
Take output as an example.   Controller 10-2 precedes image decompression output for B area
Printer to create a margin of 100 mm in the sub-scanning direction.
The sheet 10-3 is made to feed A3 output paper in advance. That is,
In FIG. 4, the printer moves from the transfer position b of the photosensitive drum.
Distance from laser exposure to point a and resist from b
It is configured so that the distance to the paper feed point c is equal
A4 output paper is sent out by the 4-7 registration roller
Then, after the sub-scanning paper feed of 100 mm, the extension operation starts,
The B image in FIG. 13 is output. Therefore, the controller
10-2 outputs the resist feed signal VSYNC to the printer
After that, the line counter 10-11 counts the number of lines equivalent to 100 mm
Set. This value is 1574 lines at 400 dpi resolution.
Become.   The line synchronization signal LN-ST at the time of image expansion is SEL3,1 of 10-20.
The BD signal P-BD from the printer is selected by SEL5 of 0-22.
Selected. Also the internal clock φSYSIs in SEL5 of 10−22.
Internal clock generator 10 in synchronization with the selected HSYNC
The I-CLK generated at -16 is selected by SEL1 at 10-18.   By the way, the sub-scan margin 100m is obtained by the line counter 10-11 described above.
When counting of 1574 lines equivalent to m
The controller outputs the image expansion signal V-DEC and expands the B area.
The operation starts, but before that, when the image is compressed and stored,
The address value set in the memory address counter 10-8 is
The final MADR value at the time of compression is set in comparator 10-14.
I do.   Decompression circuit 10 by VDEC signal from controller 10-2
-6 expands the image line by line and expands the image signal
DVDO is written to double buffer memory 10-15, and
After the input, it is output to the printer. At this time
The data in the buffer 10-10 is written to the double buffer memory 10-15.
Only works as an address counter and decodes the main scan counter.
The data acts as a read address counter.   Hereinafter, the one-line image decompression operation will be described with reference to FIG.
You. Video enable for printer when HADR value is A
It is assumed that the OVE signal as the
The down counter of the main scanning counter decoder 10-11
14-1 shows the value LMG (1
A + LMG taking into account 73 bits) and comparator 14-2
Set A. The comparator 14-3 has A-4679,
A for comparator 14-4, A-22 for comparator 14-5
03, B for comparator 14-6, B for comparator 14-7
B-2203, dither cow when counter 14-1 reaches A
So that the counters 13-1 and 13-2 start operating.
Is set to A. Also, dither counters 13-1, 13-2
Is low so that it performs the same counting operation as counter 14-1.
A is set as the code value.   When the PBD signal is input from the printer 10-3, the LN-ST signal
Signal occurs, and the HADR of the main scanning counter decoder 10-12 becomes F
Counts down from + LMG and counts the clock to LMG
And, when HADR becomes A, OVE signal, HAREA signal, DCSTART signal
Occurs. This LMG is exposed from the BD sensor of the printer.
Number of clocks equivalent to the main scanning length up to the image effective part of the ram
And the OVE signal is output to the printer during the H level section.
The printed image signal is printed on output paper.   70mm from HADR to A to area B in Fig. 13
HADR is counted by counting 1102 clocks corresponding to the margin of
Is reached, the TRM signal goes high and the double buffer
The output image signal from the memory is enabled by gate 10-27.
If the HADR becomes B-2203, the printer
2204 pixels corresponding to the main scanning width of 140 mm are output, and T
When the RM signal goes to L level,
The image signal is nullified by gate 10-27. Like this
The decompressed image signal stored in the buffer memory is
Output to the double buffer memory 10-15.
The writing of the long image DVDO is as follows.   Decompression circuit 10-6 and EOL detection circuit 10 simultaneously with the rise of OVE
The H-AREA signal applied to -7 goes high and the
Decompression of the compressed image MR code by the path 10-6 is started.
The expansion circuit 10-6 includes a sub-scanning expansion section signal V-DEC and a main scanning expansion signal.
The section compressed image memory 10 in which the long section signal H-AREA is at the H level.
Read the compressed image MR code from -5 and do not show the code.
Into the decoding counterSYSClock
To count down to generate a decompressed image DVDO. Sand
The T code 2H of the MR code is fetched as shown in Fig. 17.
φSYSOutput DVDO of 2 clocks white signal. φSYS2 black
The decode counter counts up due to the
Generates a reduced image request signal DRP1 and sends it to the compressed image memory 10-5.
The next MR code is read, and the output of DVDO is inverted.   Next MR code is 91H and M code
φSYSClock counts 2176 clocks to generate DRP1
You. However, since the M code and T code are a pair,
DVDO is not inverted and the next T code 15H
Invert DVDO by step. Thus, HAREA is H
The image is expanded in the level section and the dither counter 10−
Expanded to double buffer memory 10-15 by DADR from 10
A long image DVDO is written. And this DVDO signal is
Is read from the HADR address point B in the line
As described above, B is set as the count start value of the dither counter.
It is. In addition, the dither counter in FIG.
The L level is set for the Dither signal.   The length of the HAREA signal at the time of image expansion is
The same clock number as H-AREA used at the time is output.
In addition, comparators 14-4 and 14-5 are set.
When the REA signal falls, the current line is successfully expanded,
The failure is determined by the EOL detection circuit 10-7.   The success of the decompression operation is determined by the fall of the HAREA signal,
The next MR code is EOL and the decompression circuit 1
The 0-6 decode counter counts up and the DPR1 signal
The three states that the signal has occurred are complete
Do with. This is a compressed image of the MW code signal from the compression circuit
When writing to memory 10-5 or compressing MR code
Code may contain errors when read from memory
If there is an error in the MR code,
The end of the accurate section signal HAREA and the extension of one code
Generation of DPR1 pulse which is the end of operation and line end code
EOL will not match. Here are the three states
Match, and there is no decompression error.
The output circuit 10-7 outputs the first line of the next line for the next line.
Generate DPR2 to read MR code.   Below, the operation in line units when a decompression error occurs
Will be described with reference to FIG.   In FIG. 18, the line input from the printer 10-3
Main scan address counter decode 1 by synchronization signal PBD
From 0-12, the main scanning extension section signal is generated regardless of V-DEC.
Alive. Sub-scanning extension section from controller 10-2
When the signal V-DEC is at L level, the signal DECE from the EOL detection circuit
NB signal and Buff CHG ENB signal are H level and double cross
The Buff CHG signal for switching the memory is always generated.
You. At this time, the Data ENB signal is at L level and the printer
Image signal RMU-VD output to AND gate 10-28
Fixed to L level.   The controller 10-2 transmits a V-DEC signal to perform image decompression.
Signal to the H level, and the following HAREA 1, HAREA 2,… HAREA 9
, An image decompression operation is performed in line units. Image expansion
Sometimes the HAREA area is divided into three states. That is,
The state of x for normal decompression operation and the occurrence of decompression error
And the DEENB from the EOL detection circuit is L level
This is the extension error recovery state z.   The next line HAREA1 where the V-DEC signal goes to H level
The image expansion is started in the expansion circuit 10-6. 18th
As shown in the figure, an expansion error occurs in the first HAREA1 (y
State), the EOL detection circuit 10-7 outputs Buf at the rear end of HAREA1.
f Set the CHG ENB signal and DECENB signal to L level, and
In-HAREA2 switches and expands double buffer memory
The decompression operation of the circuit 10-6 is stopped, and the decompression error recovery is performed.
EOL detection processing is performed (state z).   The EOL detection circuit 10-7 uses HAR as extension error recovery.
Until EA detects EOL code FFH as the section MR code of H
Repeatedly generates a DRP2 signal. Detect EOL code
Synchronization between compressed image data and HAREA signal
Has recovered and the next HAREA3
Read the first MR code and return DECENB to H level
Then, the decompression error recovery operation ends.   When the image expansion operation is completed normally in the next HAREA3
(State of x), the EOL detection circuit is the first MR
One clock of DPR2 is generated to read the
 Set the CHG ENB signal to H level, and then input
Set Data ENB to H level by LNST signal   The image decompression operation is correct for both HAREA4 and HAREA5 lines.
The Buff CHG ENB signal remains at H level
Decompression errors occur in HAREA6 as in HAREA1.
Alive. In this state, the EOL detection circuit switches to HAREA6.
Is written to the memory Y of the double buffer memory.
Also, decompressed image data containing decompression errors is output to the printer.
Set the Buff CHG ENB signal at the rear end of HAREA6 so that it is not
Level, and then succeed in image expansion in HAREA8.
Disables double buffer memory switching. others
In the section where the error was recovered in HAREA7 and in HAREA8,
The section where the next decompression operation is being performed is decompressed in HAREA5
The image data of successful expansion is repeatedly sent to the printer by the RMU-V
Output as D signal.   In this way, a decompression error occurs due to the Buff CHG ENB signal.
Buff by LNST after line and error recovery line
 Since the CHG signal does not occur, it is shown in the RMU-VD signal in FIG.
As shown in FIG.
Data is output to the printer 10-3 as an RMU-VD signal.
It is.   Also, the Data ENB signal has a successful expansion line as described above.
This is a signal that goes high for the first time after it occurs.
Signal until the V-DEC signal goes high,
Uncompressed image containing errors until the line is generated
Data will not be output to the printer.   In addition, the Data ENB signal is used when the V-DEC signal goes low.
Is configured to go to L level one line later
And the expanded image in the last HAREA9 line
Output to the printer.   The controller 10-2 is provided with a decompression error counter 10-35.
LN generated while the Buff CHG ENB signal was at L level
The line where the expansion error has occurred by counting the ST signal
And the total number of lines that performed error recovery
You. That is, this count value is the
The controller 10-2 has successfully expanded.
If the number of missing lines exceeds eight, the extension error
-Immediately set the VDEC signal to L level
Processing such as stopping the long operation is performed. As a result, the extension error
Detection without waiting for the expansion of the image for one page.
This allows for quick processing of decompression errors.
You.   Sub-scanning expansion output by controller 10-2 during expansion
The long-term signal V-DEC output the V-ENC signal during compression
Count the same number of lines in line counter 10-11
And output.   Therefore, a decompression error must occur during image decompression.
For example, if the controller 10-2 starts from the line counter 10-11
Receiving the predetermined sub-scan line count completion output of
At the timing of returning to the level, the memory address counter 10
The address output M-ADR from -8 compresses the decompressed image.
The value of the final M-ADR when   The comparator 10-14 stores the final M-ADR value at the time of compression.
Controller 10-2 will set the VDEC signal
At the time of L level, MOVERShould detect the signal.
You.   By the way, during the expansion operation, an expansion error occurs as described above.
When it is generated, the EOL detection circuit 10
-7 skips reading MR code to find EOL code
Because MOVERWhen a signal occurs, the line counter 10
At -11, the count remains. This count remaining
To count all, keep sending V-DEC signal
Also MOVERMemory address count for signal
Since data 10-8 stops counting, the memory address
Address of the count value when the counter 10-8 stopped
Image data is repeatedly taken into the decompression circuit 10-6.
And all the remaining lines become expansion error lines.
I will.   Therefore, in order to prevent this state,
2 sets the line counter 10-11 by setting the VDEC signal to the H level.
While waiting for a count-up from the MOVERSet signal
Periodically, when V-DEC is at H level, MOVERDetect
Then, immediately set the V-DEC signal to L level and expand the image.
Stop operation and count extra decompression error lines
Not to do.   Thus, when the memory address counter is
Stops the image decompression operation when the maximum address matches
As a result, an unintended extra image signal is
3 can also be prevented from being recorded.   Next, a portion of the expanded image signal is trimmed and output.
The case of outputting to an arbitrary portion of a force sheet will be described.   FIG. 19 shows the main scanning from the point S1 of the A4 size expanded image U.
H in direction1Bit, V in sub-scan direction1Line point t1The reference point
As main scanning size HTwoBit, sub-scan size VTwoBit of
Trim the image in the T area and copy it to A4 copy paper.
V1, H1This is an example of outputting without changing the position of.   As described above, one line decompression operation is performed by PB from the printer.
Start with LN-ST signal by D signal as synchronization signal
However, in FIG. 19, the main scanning address counter / decoder 10
One line extension from the point where HADR from -12 reaches 4677
Long operation begins. That is, HADR is 4677 and H-AREA is H
Set 4677 to comparator 14-4 so that it becomes bell
I do. Also, to end the extension at 4677 A4 width,
Set 0 to the comparator 14-5, and set the length of HAREA
Is 4677 bits. Also expanded by the expansion circuit 10-6
The expanded image signal DVDO is transferred to the double buffer memory 10-15.
So that DADR writing to and HADR reading out operate the same
Comparator that creates the timing of the DC START signal
Set 4677 to 8 and count the dither counter 10-10.
The LD values of data 13-1 and 13-2 are also set to 4677. This
The image signal compressed as described above is decompressed
It is.   Controller 10-2 is a printer as shown in FIG.
Send A4 copy paper registration paper feed signal PVSYNC to 10-3
At the same time, a sub-scanning extension section signal V-DEC is output. this
Starts image expansion and output at the same time as the printer feeds paper.
If trimming is not necessary here, V-
To output DEC over the same time span as PVSYNC
As a result, all of the expanded image U of A4
Will be output. Perform the trimming as described above here
In order to make the controller 10-21Turn off line image signal
Output the V-DEC signal,1Of the line
During this time, the TRM signal is fixed at L level,
The image signal read from the memory is fixed at L level by the gate 10-27.
Set. For this, V1TRM signal counting line
1FFFH, comparator 14-6
By setting 4677 (1245H) to 14-7,
Lip flops 14-12 only require a reset
To do.   V1Line count is counted by line counter 10-11
T1From sub-scanning width VTwoLine, main scanning width
HTwoThe bit T region is trimmed. For that,
V to in counter 10-11TwoSet the line andTwoLa
And the main scan trimming area between
H from the point t of the areaTwoGenerate TRM signal indicating bit width
Therefore, the comparator 14-6 (4677-H1) And set
The comparator 14-7 has (4677- (H1+ HTwo)) Set
I do. As a result, the TRM (VTwoGet)   With the above constant set, t1V from pointTwoBetween the lines
Of the T region is realized. Image signal of T region
Is output to the printer, the line counter 10
−11 to controller 10-2, VTwoEnd of line count
Is output. At this point, the compressed image memory 10-5
Contains the compressed image code of the shaded portion in FIG.
Image output of the desired T area that remains without being read
Has already been completed, so controller 10-2
There is no need to expand the compressed image code in the shaded area
The EC signal is set to the L level here to stop the decompression operation.
Since the VDEC signal has changed to L level, the DOL signal from the EOL detection circuit
ata ENB signal becomes L level and VRThe line is
The image signal becomes a white signal (L level) to the printer,
The trimming output of the area is completed. Thus, extra pressure
By not expanding the contracted image code,
Reduces the amount of errors that occur, resulting in errors in decompressed images
Incidence of misprints due to inclusion
Thus, the reliability of the copy operation is improved.   Next, the T region trimmed in FIG.
H from the edge of the paper in the main scanning directionThreeMove to the pixel position and
The case of outputting to the linter 10-3 will be described with reference to FIG.   In this case, write the expanded image to the double buffer memory.
Move the expanded image of one line when
When reading the moved image from the memory,
Crop the area image. Moving and expanding the expanded image
All rimming is performed based on HADR. That is,
In FIG. 21 (a), the HADR (4677-H1) To HADR (4678)
− (H1+ HTwo)) Expanded by the expansion circuit 10-6 in the address range
The image of the T area is displayed in a double buffer memo by DADR.
In FIG. 21 (b), the double buffer
H when read from memory by HADRThree−H1Bit
Has been moved and HADR (4677-HThree) To HADR (4678-
(HTwo+ HThree)). This picture
The image movement is executed by the address control of the DADR.
In (a), the image of the T area of the decompressed image is stored in the double buffer memory.
When the image is written (HADR is 4677-H1At the time of)
Pixel, HThree−H14677-H moved onlyThreeDADR at the address of
Just write it in. That is, it is clear from FIG.
As shown in the figure, the starting value of DADR count at HADR = 4677
Number of scanning movement bits HThree−H14677- (HThree−H1)
I just need. This HThreeIs the main scanning reference point (HADR
= 4677), it becomes a positive value, and approaches the opposite
In this case, it becomes a negative value.   The image signal read from the double buffer memory is
Trimming is performed by the TRM signal.
21 As shown in FIG.Three−H1Considering that, HADR
4677-HThreeFrom 4678- (HTwo+ HThreeBetween H)
Thus, the comparator 14-6 has 4677-HThreeSet
4677- (HTwo+ HThree) Is set.   Next, the expanded image signal is output in the sub-scanning direction on the output paper.
The case of moving in the (paper feed direction) will be described with reference to FIG.   The portion of the T region in the expanded image U as shown in FIG.
To the desired position in the sub-scanning direction on the output paper.
How to trim the T area
Also, since the movement of the image in the main scanning direction has been described above, here,
Shows the timing of register paper feeding of copy paper,
The timing in the sub-scanning direction of the start of expansion of the image U is described.
Bell.   FIG. 22 (b) shows the copy paper sub-scanning direction (paper feeding method).
The extended image U to the rear of
From the end of the paperThreeAt the line, cropped image
T1This is an example of recording a point.   The difference between the copy paper and the expanded image U in the sub-scanning direction is VTwo
−V1Because it is a line, the controller 10-2
Register paper feed signal P-
After outputting VSYNC, the line counter 10-11 outputs VSYNC.Three−V1La
After counting in, the sub-scanning extension section signal VDEC becomes H level.
Then, the expansion operation of the expansion image U is started. Here the TRM signal
To output an image in the T region with the signal, the V-DEC signal is
Bell and then V1It is when the line has passed. So
And V for the sub-scan in the T regionTwoLine by line counter
After counting, the V-DEC signal is set to L level and expanded.
End the operation.   Fig. 22 (c) shows the state before copy paper is fed
Expands the expanded image U and VThreeAt the line,
Cropped image t1Here is an example of outputting a point, t1Point is copy
-V if on paperThreeIs a positive value, goes out of copy paper
In this case, it takes a negative value.   In FIG. 22 (c), the resist feed signal to the printer is
V before outputting the signal PVSYNC1−VThreeBefore line image expansion
You need to keep it. So controller 10
-2 is a line counter 10-11, V1−VThreeLine drawing
Once the image is expanded, the VDEC signal is set to L level
Interrupt the decompression operation and wait for the PVSYNC output timing.
One. V-DEC signal again at the timing of PVSYNC output
H level and continue the suspended image decompression operation.
Let V1−VThreeThe image of the line is moved.   The trimming of the T region is as described above.1
Point is V from paper edgeThreeIf the line protrudes, put it on copy paper
The output T region is reduced accordingly. Output PVSYNC signal
Before powering, V1−VThreeThe image of the line is expanded, and once V-
The DEC signal is returned to L level.
Consider using RVSYNC from the reader.
That is, the image expanded by the RMU and the image from the reader
Output to a printer with overlay
To accurately match the overlay position of the image, a common
The VSYNC signal must be used. However, from the RMU
Since there is no way for the
Must use VSYNC from reader (RVSYNC)
No. About controller 10-2 asynchronous with reader
Will take detailed timing of when RVSYNC is input.
It is difficult to do. So the controller 10-2
Enough before inputting VSYNC (RVSYNC) from the reader
And V1−VThreeAfter the line image is decompressed and printed on copy paper
The MR code of the decompressed decompressed image is retrieved from the compressed image memory.
And then start the decompression operation again in accordance with RVSYNC.
There must be. That is, while waiting for RVSYNC, V
Since the decompression operation is suspended by setting -DEC to L level,
is there.   When the overlay operation is not performed, the reader C
There is no need to synchronize, and the output control of the PVSYNC signal is controlled by V-DE
Performed by line counter 10-11 in the same way as C signal output control
You can also. Therefore, once the VDEC signal drops to L level
Output the PVSYNC immediately, without interrupting the decompression operation.
Can be executed. (4) Dither image expansion function   Decompression processing of the compressed image by dither compression of (2)
The dither counter at the time of dither compression
The main scan image by
When expanded, the copy output differs from the original image.
I will. Therefore, in the dither image expansion processing, the binary expansion of (3) is performed.
Obtained from decompression circuit 10-6 by the same process as long processing
The expanded image signal DVDO replaced with
When writing to Blvd Memory 10-15, the original memory
And rearrange them in the order of the dither images.   This rearrangement will expand the double buffer memory 10-15
Change the order in which the write address counter DADR
And is realized by   That is, the image rearranged as shown in 16-3 in FIG.
The images are arranged at 8-bit intervals so that they are in the order of (16-2)
This is the dither counter shown in Fig. 11.
The Dither signal of H level to
The counters 13-1 and 13-2 are operated.   In this case, the counters 13-1 and 13-2 have the controller 10-
The counter load value set by 2 depends on the movement of the decompressed image.
Any value can be set as in the case of the binary image decompression processing
However, the load value of the counter 13-1 is used for dither compression.
It must be the same as the value that was used. If I do not,
The image signal read from the double buffer memory
The arrangement of pixels in one block of the pattern will be out of order.
You. Also, the comparator 13-3 has a
Using the number N of blocks used, the row of the counter 13-2 is
The value obtained by subtracting (N-1) from the code value is set.   The reader / RM in the configuration of this system described above
Serial communication between U and RMU / printer and image processing
The detailed procedure of the work will be described below. For the following explanation
The program shown in the flowchart
Microcomputer that constitutes the control unit of the linter and RMU
Is stored in advance in the memory ROM of the
Thus, the control operation is performed.   The serial communication shown in FIG.EVICE Conne
ct, DEVICE POWER Ready, Controller Power Ready signal
As a result, all units including the RMU can communicate serially.
The printer unit from the reader unit
Output instructions (hereinafter referred to as commands) to (including RMU)
It is started by doing. Command arrived at printer
The printer responds to the command (status
Is output to the reader unit (including RMU).
You. The RMU basically input commands from the reader.
Output the same command to the printer,
If status is entered, same status to reader
Output.   Serial between reader unit and printer unit
Communication is 8-bit command and status exchange
In this case, one command
Status is returned, and the status is
It will not be returned in advance.   FIG. 23 shows the processing for an RMU command.   The RMU inputs commands from the reader. This command
Are the RMU mode instruction codes 100-7 to 100-14 in Table 1 below.
Command, RMU memory instruction command, RMU trimming instruction 1 command
Command, RMU trimming instruction 2 command, RMU trimming finger
3 command, RMU trimming instruction 4 command, RMU trimming
Command 5 command, RMU trimming command 6 command (this
These eight commands are collectively called an RMU instruction command. )
(S-100-1), respectively
Table 10 Overall Status of One Command Byte
Is returned to the reader (S-100-5). RMU is the input
If the command is not one of the RMU instruction commands,
Is the printer start command shown in Table 100-1?
Is determined (S-100-2). Printer start frame
If the RMU is connected to the system,
After the instruction command is output from the reader,
Therefore, at this point, the RMU mode described later has already been determined.
You. If this RMU mode is the “input mode” described later,
In this case, the printer does not perform a copy operation,
RMU does not output the printer start command to the printer
The overall status of Table 10 to the user (S-100-
3, S-100-5). A command containing information necessary for the operation of the RMU
Command, such as a paper size command,
Memorize and then output to the printer (S-100-
4).   Next, use Figure 24 to process RMU status
Will be described. Printer output from reader from RMU
When a command is entered, the command entered within a certain time
Output status to RMU for   The RMU enters this status when it enters status from the printer.
Determine which command the status is for, and
Application status request command of Table 108-7
Application status in Table 15 for the
It is checked whether or not it is (S-101-1). I input it
If the status is application status
Sends the information to the reader after adding the RMU connection information (S-101-2)
Output as application status.   Similarly, the status from the printer is
-Judge whether it is the generated unit status
(S-101-3), a compression failure flag described later is set.
Compression failure information (RMU memory overflow
-) The error occurrence unit status added with-) is read.
And if the compression failure flag is reset
The error occurrence unit status from the printer is
Return it to the leader. The status from the printer is 10th
The overall status of the table or the details of the misprint in Table 16
It is determined whether the status is status (S-101-6, S-10
1-9), if the decompression error flag is set
Information on the decompression error
Attached to the lint detailed status (S-101-1, S-101-1)
1) If the decompression error flag is reset
Overall status or misprint details from printer
Return status to reader as is.   The RMU receives commands from the reader and responds to the printer
To the command or to the overall status to the reader
Return the printer and respond to the status input from the printer.
Transfer status to reader or add information to status
After processing, transferring is repeated alternately.   In a system with an RMU connected in this way, the RMU
Import only necessary information, pass through other information
Communication is performed. This allows the exchange of information
The reader will reduce the time required for communication and monitor communications,
Communication protocol can be simplified.   Hereinafter, between the reader, RMU and printer shown in Fig. 23 and Fig. 24
Command or status used for serial communication in
Will be described in detail.   Table 1 shows the execution commands that prompt the RMU or printer to execute.
Command. This execution command is output from the reader
If the RMU or printer is
Return status. 100-1 in Table 1 is copied to the printer.
-Printer status command to supply operation start, 1
00-2 is a printer that requests the printer to stop the copying operation
Stop commands 100-3 and 100-4 specify the paper cassette
The paper feed instruction command 100-5 to specify the paper size
In the size indication command, the second byte (the
Table 2) shows A4, A3, B4, B5,
Paper sizes such as A4-R and B5-R are coded and stored.
100-6 is a number instruction command.
Use 6 bits from bit 1 to bit 6
You can set up to 64 copies. 100-7 is RMU finger
RMU mode command, which is one of the
The RMU mode information is stored in each item as shown in Table 5.
You. 100-8 is an RMU memory that indicates the memory area of the RMU
Memory specified in the second byte (Table 6) by the command
Stores the contents of the area and displays the corresponding memory area
Only the reset is set (“1”). 100−9,100−10,100−
11,100-12,100-13,100-14 are RMU trimming command frames
In the second byte (Table 7) and the third byte (Table 8).
Adjust the rim amount from 0 mm to 512 mm in millimeters.
Can be expressed by   Table 9 shows the status for requesting RMU or printer information.
Indicates a status request command. This command is received by the printer.
If you receive it, the status shown in Table 10 to Table 16 is RMU
To the reader through. At this time, the RMU is
Adds overflow and decompression error information and returns to reader
May be sent.   Hereinafter, Tables 10 to 16 will be described in order. Table 10
Is the overall status, mainly the rough status of the printer and RMU
Stores information about Bit 5 is the printer
Set ("1") if paper is being conveyed. Bits as well
4 is for misprints, bit 3 is for weight
Medium, bit 1 is operator call error, serviceman
Set each time a call error occurs. No.
11 The error occurrence unit status in the table
Stores information on whether an error has occurred and
Call error status, service call error in Table 13.
Error status is information about the specific content of the error, as well as
The cassette paper size status in Table 14 is A4, B5, B4, etc.
Information, the application status in Table 15 is
Information on what units are connected to the stem
The misprint details in Table 16 are misprinted.
Information about the client.   The leader collects these statuses to create a system.
You can know the cause of the system error
It makes system management easier.   Copy sequence by command and status described above
The serial communication is not in progress.
This will be described with reference to FIG.   The reader is the application stay 108-8 in Table 9.
Table 15 Application by Output of Status Request Command
Obtain RMU connection information by status (S-120-
1). Also, the lower cassette paper size requirement of 108-5 in Table 9
Command, request for upper cassette paper size of 108-6 in Table 9
Table 14 Cassette paper size status by command output
To obtain information on the paper size of the upper and lower cassettes of the printer.
(S-102-2). After this, the overall schedule of 108-1 in Table 9 is
Status request command 108-2 in Table 9
Table 10 whole by nit status request command output
Status, Table 11 Error occurrence unit status
Information on whether there is an error in the printer or RMU
(S-102-3, S-102-4). There is an error after this
A check is made as to whether or not (S-102-5). At this time
If there is an error, ninth to get more information
Operator call error status request of Table 108-3
Command, service call error of 108-4 in Table 9
Outputs status request command and outputs status
The detailed information of the error is obtained by the input (S-102-6, S-
102-7), necessary information such as no paper, RMU memory overflow
The operator can be notified that there is a row.
If there is no error, press the copy start key.
Check if it was done (S-102-8) and press
In this case, serial communication during copying (Table 17) is performed.
Copy key if copy start key is not pressed
The operation described above is repeated until is pressed.   Serial communication during copy operation, operation of each unit, communication
No. will be described with reference to Table 17.   Paper size selection (A-) at the reader, number of copies
Setting (A-), Image reading mode (A-), RMU mode
RMU usage conditions such as data, trimming data, and RMU memory instructions
(A-) is input from the operation unit of the reader by the operator
When the copy key is pressed (A-), the reader
RMU instruction command (RMU mode instruction
Command, RMU memory instruction command RMU trimming instruction command
Command (B-). RMU is RMU instruction command
Input the selector 1, selector 2, selector 3,
Selector 4, selector 5, video selector, etc.
Perform (C-). The reader follows the RMU instruction command,
The number instruction command (B-), the upper / lower sheet feeding command (B-
), And outputs a paper size instruction command (B-). RM
U inputs the paper size instruction command (C-) and the tenth
Figure Setting of comparator, dither counter, main scanning counter, etc.
(C-). RMU mode is “Memory Input
Mode ”to the printer.
The printer can output paper because the RMU is not flowing
Since a signal (hereinafter abbreviated as PREQ) is not output to the RMU,
The MU outputs PREQ to the reader instead of the printer (B-
). RMU use mode is not memory input mode
When the printer start command arrives at the printer,
The printer sends PREQ to RMU when it is ready to feed paper.
(D-), and the RMU outputs PREQ to the reader.
(B-). Reader from RMU (from printer)
When a PREQ is input, the output paper feed signal (hereinafter PR
(Abbreviated as INT) is output to the RMU. (B-).   When the RMU mode is "Memory Input Mode"
Does not output PRINT to the printer (D-)
The printer inputs PRINT and receives an image request signal (hereinafter V
RMU sends VSREQ to the reader as if
And output (B-). Reader sends VSREQ from RMU
VSYNC is output (B-
). Reader requests overall status during copy operation
Command and error occurrence unit request command for a fixed time
Is output every time, error check and RMU memory over
-The flow and the like are constantly checked (B-). Several tubes
Because the reader is running, the printer
RMU resets the mode when the
(C-) Perform and copy is completed.   4 RMUs by RMU instruction command from reader 10-2
Image input / output mode.   The first is a mode called “memory path mode”.
RMU represents the three values input from reader 10-1.
The book image signals RVDA and RVDB are output to the printer 10-3 as they are.
And the reader 10-1 and printer 10-3 are directly connected.
Behave as if it were. Therefore in this mode RM
U from reader 10-1 through video interface
The input signal is output to the printer 10-3 as it is,
The signal input from the linter 10-3 is used as it is for the reader 10-
Output to 1.   The second is a mode called “Memory High Speed Mode”
The RMU receives the image signal RVDA from the reader 10-1.
One day, it is compressed and stored in the compressed image memory, and then
The compressed image data is read and output to a printer.   That is, a reader 10-1 requiring a mechanical reciprocating motion.
Only one copy of the manuscript scan is required.
Copy of the RMU without mechanical reciprocation
Repeat the compressed image data stored in the reduced image memory
Large copy because it is obtained by decompressing and outputting to printer 10-3.
High-speed processing.   The third is a mode called “Memory Input Mode”.
RMU without operating the printer 10-3.
Compresses the image signal input from the reader 10-1,
It is stored in the compressed image memory.   The fourth is a mode called “Memory Overlay Mode”.
RMU is the compression mode stored in the compressed image memory.
At the same time as the decompressed image data is expanded,
The image signal is synthesized with the image signal to be output to the printer 10-2.   With this function, the original scanned by the reader 10-1 and the RMU
Of the images stored in the memory
Copies are obtained.   “Memory high-speed mode” has three modes inside the RMU.
Mode “Retention mode”, “Output mode”,
A distinction is made between “through-out modes”. “Retention
"Mode" is the first page of "Memory High Speed"
To the printer while compressing the image information (signal) of the
It is a thing that does nothing. Reality of “Retention Mode”
Successful or unsuccessful compression into memory depending on the row (RMU memory
Overflow) can be determined. Reader is copying
Error occurrence unit request command causes memory pressure
Compression success / failure information (RMU memory overflow)
And if compression to memory is successful, the next
From the copy (from the second copy) to the expanded image from memory
The reader scans the original because the image can be formed (copied).
Stop. RMU can expand memory from next copy
Reset of the selector as described above. For example, the video in Figure 10.
The selector 10-23 prints the decompressed image from the memory of the RMU.
Reset to output to the data. Thus, the selector
The reset mode is called "output mode".
Conversely, if compression to memory fails, the "Retention"
In the “Mode” mode, image compression
Do not compress to memory as it will pass through
Operation is required. Set this mode to the through-out mode.
The “through-out mode” is the “memory path mode”.
And the RMU selector settings are the same, but the leader
In the former, the values of threshold generators A and B are the same.
VDA, VDB independent
Since it is a ternary image, the name was changed. This RMU internal mode
Due to the change in the mode, the RMU has a
Binary image regardless of success or failure of image compression to moly
And eliminate the difference between the first and second and subsequent images
Becomes possible. Table 18 shows the relationship between RMU mode and RMU internal mode.
I will show you the response.   The reader operation will be described with reference to the flowchart of FIG.
You.   First, when the copy key is pressed by the operator,
Command to the RMU and the printer (S-103
-1), number command (S-103-2), top and bottom feeding
Command (S-103-3), paper size instruction command (S
-103-4), Printer start command (S-103-
4) is output, and the initial settings necessary for the copy operation are performed.
After inputting the PREQ from the RMU (S-103-10), the
NT is output to the RMU (S-103-11). In addition, a timer
Start (S-103-12) and wait until this timer expires.
Wait for a certain period of time (S-103-13), RMU internal mode
Start the optical system in “Output mode”.
Without counting (S-103-14), count down the number of sheets
Check whether the number is 0 (S-103-20).
Outputs a printer stop command (S-103-2)
1). RMU internal mode is other than “output mode”
When scanning, the optical system is scanned (S-103-1).
5), scanning of the original is started and the (S-103-16) image is
Output to RMU. After checking the end of reading
(S-103-17) In case of memory input mode
Does not check the number of sheets.
No.) Printer stop command to RMU
Output (S-103-21). “Memory Input Mode
For other than “Output mode” and “Output mode”,
Down (S-103-19) when the number is 0
Outputs a printer stop command.
Is in the state where the PREQ input is held, and the above operation is performed until the number of sheets reaches 0.
repeat.   The operation of the printer will be described with reference to the flowchart of FIG.
You.   The printer starts from the reader side (including the RMU).
(S-104-1) Drum charging
The operation of each part such as is started (S-104-2). Printer
If paper can be fed (S-104-3), the
PREQ is output to the reader (S-104-4).
If PRINT is input in response to REQ (S-104-
5), paper feeding (S-104-6) is performed. Feed paper and receive image
When communication is possible (S-104-7), VSREQ is output to the reader
(S-104-8). VSYNC reader corresponding to VSREQ
And outputs an image signal (S-104-9). Pudding
Performs copy processing (S-104-10) and there is an error
Check if it is (S-104-11), and if there is an error
If the error is detected, the error is put on the serial communication (S-104
-12). When the above operation is repeated for the number of copies, the reader
Printer stop is received because printer stop is output.
(S-104-13) The printer receives this
Then, each part of the printer is stopped (S-104-14).   Before explaining the operation of the RMU,
The dress management will be described with reference to FIG. RMU
When storing compressed image information in memory
Address of the compressed image to be written (MS and
(Abbreviated below) and the maximum write address of the compressed image (ME and below)
Abbreviated) can be set. The RMU uses compressed images according to the MS and ME settings.
You can determine the success or failure of writing the image
It is also possible to protect the embedded image information.   Since the memory is limited, the maximum value is set to MLMT. No.
Fig. 28 (1) shows that no image is written to the RMU.
It shows a bad state. At this time, set MS ← 0, ME ← MLMT
Keep it. This indicates the largest empty area of the memory.
It will also be. The RMU memory instruction command causes
Memory A is selected and A4 in dither memory high speed mode
When a copy of the size is made, the RMU returns
The image stored in memory A is compressed in any mode of RMU
Information (MA-VIDEO) indicating whether the compressed image
(MA-PSZ), reader reading mode (MA-METHO
D), the image writing start address (MA
S), the image write end address (MAE) of memory A
Remember. These information are written to memory B and memory C.
The same operation is performed when the image is written.
If not, write the corresponding information.
Shall be included.   In the state of (2), writing to the memories B and C
The performed state is (3). Memory B in the state of (2)
Or, when writing to memory C is instructed,
The area in the state of (2), which is the area, is expressed as MS ← MAE + 1, ME ← MLMT
Set as When memory A is specified again
From the area including the upper and lower empty areas of the memory A to the new MS ← 0, ME
← Set as MLMT. By setting like this
Same as when memory A is specified in state (1)
In the state of (3) where the memory can be used effectively
When the memory A is designated, in the state of (3), the memory A
There is no continuous empty area, and the memory amount of the memory A and (3)
Compare the amount of memory in the empty area in the state of
The larger one is set as a new memory A area. (3) condition
In the state, the empty area is larger, so MS ← MBE + 1, M
Set E ← MLMT, and set the old memory A area as an empty area
You. Write image information in the empty area in the state of (3)
The state of the error is the state of (4). In this state, memory B
Memory in the state of (4) when write instruction is given
There is no continuous empty area in the B area, and the memory B area and the empty area
, The area with the largest amount of memory in the empty area
This is a new memory B area. At this time, the empty area is the largest
If the memory capacity is large, MS ← 0, ME ← MCS-1
The old memory B area is set as an empty area. This
Image writing succeeded in new memory B area after setting
Case is (5), and image writing failed
Is the state of (6), and compression to memory has failed.
In this case, the written memory area becomes an empty area.   In the states of (5) and (6), the memories A,
For determination of MS and ME when memory B and memory C are specified
Table 19 shows the memory amount comparison.   In this way, the empty area is the maximum number of
The same number occurs. MAS, MB is the amount of memory for this empty area
S, MCS, MAE, MBE, MCE
Memory management can be performed. For example, set in MS, ME
Writing an image to the new area failed (image compression error
-) MA-VIDEO, MB-VIDEO, MC-VIDEO
Is set to the empty area by setting
Recognition also allows for reasonable memory management.
I can. In this embodiment, the number of designated memory areas is "3".
However, depending on the amount of memory, even if the number of
Can appear.   The following is a description of the RMU mode “retention mode”.
Refer to the flowchart of Fig. 29 for the explanation as shown in Fig. 13.
A3 size image (297mm main operation, 420mm sub operation)
70 mm from the main scanning direction and 100 mm in the sub-scanning direction from report A
Output image information B of 140mm x 210mm
The case will be described as an example. RMU is RMU mode command
Table 4 is input as the second byte of the command. Bit 6, Bit
5 indicates that the output density of the leader image and the RMU decompressed image is about 50
%, And both are set to “1”.
Then, as RMU mode, as shown in 104-2 in Table 5, bits 4,
Bit 3, Bit 2, and Bit 1 are set. Memory indication
Memory A is designated as
And enter Table 6. RMU trimming command 1
Main scanning compression start position Hp (70m
m), RMU trimming instruction command 2 trimming data
Sub scanning compression start position Vp (100mm), RMU trimming
Main scan compression width as trimming data of instruction command 3
Hw (140mm), Trimming of RMU trimming command 4
Sub-scanning compression width Vw (210mm) is set as
Is output from the reader in millimeter units (S-
106-A-1). Controller 10-2 receives the
The above position information is converted into bit units / line units, and Hp =
1102 bits, Vp = 1574 lines, Hw = 2204 bits, Vw = 3307
The compressed image position / size information corresponding to Fig. 13 of the line
obtain.   Depending on the specified RMU mode, the selector SEL1
(10-18), SEL2 (10-19), SEL3 (10-20), SEL4 (10
−21), SEL5 (10−22) and video selector (10−23)
R-VCLK, R-VDA, R-VE, R-VE, P-BD, A0, B0
Select input. Image signal from reader to compressed image memory
The dither signal shown in Fig. 11 is L level to store it after binary compression.
To RMU mode is “Memory High Speed Mode” (R
MU internal mode is “retention mode”)
Receiving the printer start command output by the reader,
It is passed through the printer (S-106-A-3). RMU is pre
Input a PREQ signal indicating that the printer is ready to feed paper (S-106).
-A-5), and outputs this signal to the reader (S-106-).
A-6). At this point, the “Memory High Speed Mode”
Is currently being executed (S-106-A-
7) Paper size finger to specify output paper size from reader
Command (S-106-A-8) and the MA-PSZ
To be stored. Based on the specified output paper size,
Various counters described below are set. First mentioned above
MS (compressed image writing start address), ME (compressed image
Memory address count setting)
To the comparator 10-8 and the comparator 10-14. The data shown in Fig. 11
The down counter 13-1 of the Isa counter has 1245H (467
7) Top 10 bits 248H (584), but also downcount
The lower 3 bits 5H (5) are set in the data 13-2. No.
12 Similarly, the down-scan
The counter 14-1 is set to 1245H (4677). still,
Comparators 14-2 and 14-3 are set only for decompression.
Not set, comparators 14-4 and 14-5 are equivalent to Hp
55BH (1371), corresponding to DF7H (3575) and Hp, Hw
DARD is operated simultaneously with HADR.
The setting of 1245H (4677) is performed on the lator 14-8.   When the RMU receives the PRINT signal from the reader (S-106-
A-10), and output to the printer (S-106-A-12). V
When the SREQ signal is input from the printer (S-106-A-1)
3) Output to the reader (S-106-A-14).   The RMU mode at this point is “Memory High Speed
Mode is the first sheet, so the RMU internal mode
(S-106-A-18).
And input VSYNC ON from the reader in Fig. 30
(S-106-F-1), and turn on the printer.
Is turned on (S-106-F-2). Fig. 13 Vp
62 to 10-11 line counter to generate 1574 lines
6H (1574) is set and the line counter counts up.
(S-106-F-4), the sub-scanning compression section signal
The signal V-ENC is turned on (S-106-F-5). Fig. 13 B area
The sub-scanning width Vw3307 of the area is set in the line counter (S
-106-F-6). By setting the above selector, the reader
10-11 lines while passing the image from the printer to the printer
The compression circuit 10- is stored in the compressed image memory 10-5 until the counter ends.
4 is written (S-106-).
F-7, S-106-F-8). Image pressure for a given number of sub-scan lines
Counter of line counters 10-11 indicating the end of compression
If a tip is detected, the V-ENC signal is turned off (S-106-F
-9) If you input the VSYNC off state from the reader
(S-106-F-10), turn off VSYNC to the printer
(S-106-F-11).   After this, writing to the compressed image memory succeeds or fails
In order to determine whether the MOVER signal has been
Signal (S-106-C-1), and the MOVER signal goes high.
If it is a bell, it is determined that writing to the memory has failed,
The compression failure flag is set (S-106-C-2).
Compression failure (RMU message)
Memory overflow) information to the reader.
Wear. With this information, the reader can use the compressed memory
Judgment that the tension operation is abnormal, and the second and subsequent
Repeat image output by manuscript scan and copy operation
finish. This function allows the image signal from the reader
Number of copies even if the
The peak is output from the printer. At this time, the RMU
The memory area where the image is being written is assumed to be an empty area.
The RMU internal mode is set to “through” due to the compression failure flag.
Change to “out-out mode.” “Through-out mode”
Is the same as “Memory pass mode”, and the V-ENC signal is
ON in response to VSYNC of the reader (L level to H level)
) And off (from H level to L level).
The RMU does not perform the compression operation, and the selector and counter
Set “Retention mode” and set
When VSYNC is input, output VSYNC to the printer (Fig. 33,
S-106-D-1, S-106-D-2), image from reader
Through the printer (S-106-D-3), from the reader
Wait for VSYNC. (S-106-D-4), VSYN
If C is input, turn off VSYNC to the printer (S-
106-D-5), The reader outputs image information for the set number.
When completed, output the printer stop command and
Stop the printer. The RMU uses this printer
Command, the copy sequence is terminated (S-10).
6-C-6).   Conversely, if the MOVER signal is low,
Writing to the reader is successful, so inform the reader about this.
Notify by real communication, and scan the second and subsequent originals of the reader.
To stop decompressing the image from the RMU's compressed image memory.
Perform a copy operation. To output a decompressed image, select
And counter must be reset.
The "output mode" is reset (S-
106-C-4, S-106-C-5). Fig. 10 SEL1, SEL2, SEL3,
SEL4, SEL5 and video selector are I-CLK, DVDO, P-
Select the input of BD, OVE, HSYNC, A2, B2, and store the compressed image memory
Stores compressed image data obtained by binary image compression.
Can be determined by the content of MA-METHOD. According to
11 to expand the compressed image data into a binary image
Ther signal is set to L level.   The MA-PSZ,
From the memory area specified by MB-PSZ and MC-PSZ
The size of the original image data that was extracted and compressed and stored
Is the area B in FIG. 13, that is, 2204 × 3307.
The down counter 14-1 shown in FIG.
As described for elongation, 12F4H (4852), 14-2, 14-3, 14-
4,14-5,14-6,14-7,14-8 comparators
1247H (4679), 2H (2), 1247H (4679), 9ABH (247
5) Set dF9H (3577), 55dH (1373), 1247H (4679)
However, the “output mode” is not
Set 0 to decompression error counter 10-35 to perform lengthening
You. The down counter 13-1 of the dither counter shown in FIG. 11,
Set 1H (1) and 1BFH (447) in 13-2 respectively
(S-106-C-5).   The reader compares the unit status request with the error
Data that the RMU memory overflow has not occurred.
Upon recognition, the reader stops document scanning. Leader is VS
Since the YMU is not output, the RMU must wait for VSYNC from the reader.
Turn on VSYNC to the printer (S-106-H)
-2). Also, the margin V in the sub-scanning directionP1574 line count
(S-106-H-)
3) If the line counter is up (S-106-)
H-4), turn on the V-DEC signal,WMinute sub-scan line
The number 3307 lines are set in the line counter (S-106-
H-8) Check image expansion and expansion error check
Until the printing is completed (S-106-H-9). In this embodiment,
If eight or more decompression errors occur, the decompression error
Set copying and stop the copy operation. RMU is the extension error
-Serial to the reader that the specified number of times (8 times) has occurred
Communicate via communication, and the reader will receive more than a predetermined number of decompression errors.
Output the paper feed command (PRINT) after it is determined that
And stop the copy operation. RMU stops decompression operation
To turn off the V-DEC signal,RMinute sub-scan line
After the line counter has been set up,
Turn off VSYNC to the computer. The reader is
Printer stop command to notify the printer of the stop
The printer outputs this command and the printer inputs it to stop copying.
Stop. When no decompression error has occurred more than 8 times
The RMU repeats the expansion operation (set number-1) times
Stopped by printer stop command from reader
(S-106-C-6).   Next, the memory path mode will be described with reference to FIG.
You. Memory pass mode uses three values from the reader as described above.
The two image signals RVDA and RVDB to be represented are stored in the compression memory.
This is the mode in which the data is transmitted directly to the printer without using it.   That is, in the memory path mode, the selector shown in FIG.
Select A1 and B1 in 10-23. Also, R-VCL from reader
Selector 10-18 is selected and operated to set K to 0SYS.
Selector 10-22 to set P-BD from printer to HSYNC
Is operated (S-106-A-2).   After this, the control signal coming from the reader will be
Control signals coming from the printer to the reader.
Output as it is, as if there was no RMU
Operate. That is, when the VSYNC from the reader is turned on (S
-106-D-1), turn on VSYNC to the printer,
Image from reader to printer through selector 10-23
Pass through (S-106-D-2, S-106-D-3). Soshi
Then, if VSYNC from the reader is turned off (S-106-
D-4), turn off VSYNC to the printer (S-106-D-).
5) If a printer stop command is input
Stop printer operation. Meanwhile, the printer stop
If no command has been entered, the same processing is performed again
Repeat for minutes.   Next, in the “memory input mode”, the compressed image memory
Read the image written in the “Memory Overlay Mode”
The following describes an example of combining with an image from a printer and outputting to a printer.
You.   As the first step in performing memory overlay operation,
Image information must be written. This memo
The RMU mode for writing image information to the memory
Input mode ". Trimming area B in FIG.
The RMU instruction when the data is compressed and stored in the memory C area is
0 The second byte of the RMU mode instruction command
The second byte of the RMU memory instruction command shown in the table
As shown in the table, from the operation unit of the reader by the operator
Trimming finger based on trimming area designation data
From the command 1 to the RMU trimming command 6
Input the contents of the mining data from the reader. “Memory
In the “input mode”, the printer 100-2 in Table 1
The start command does not need to be output to the printer,
Since the printer does not perform the copying operation, the SE shown in FIG.
Select L1, SEL2, SEL3, SEL4, SEL5 and video selector
Set to R-CLK, R-VDA, R-VE, R-VE, HSYNC, A0, B0 respectively.
(S-106-A-2). Also, the printer performs copy operation.
The PREQ signal is not output to the RMU because
Outputs a PREQ signal to the reader instead of the printer (S-
106-A-4, S-106-A-6). Serial from reader
By communication.   When the paper size instruction command is received, the memory C
Specified, the MC-PSZ is stored in the memory of the control unit of the RMU.
(Paper size of memory C), and store and hold the paper size.
METHOD (Read image information stored in memory C area
Mode is also stored.   Paper size and trimming data H input from reader
P(Main scanning reference position), VP(Sub scanning reference position), HW(Main run
Width), VW(Sub scanning width), HM(Main scanning movement position), VW(Vice
(Scanning movement position), the down counter (14-1)
4677, H for comparator (14-4)PMore 3575, Compa
H for the lator (14-5)W1371, comparator (14−
8) is 4677 from the paper size, and the dither counter (14-1)
Sets 4677. Memory address counter (10-
8) contains the MS (compressed image writing start address),
The ME (compressed image maximum writing
The dress is set (S-106-A-9).   RMU receives PRINT signal from reader (S-106-
A-10), because the printer does not perform the copy operation,
Output the VSREQ signal instead of the printer.
(S-106-A-11, S-106-A-14). Re
When VSYNC ON is input from the coder (S-106-B-1),
Fig. 17 V to area BP(1574 in this example) Line compression
V to the line counter (10-11) to preventPTo
Set (S-106-B-2). Line counter
It is detected that the device has been up (S-106-B-3),
Turn on the V-ENC signal to start the compression operation (S
-106-B-4). Also, the sub-scanning width V to be compressedW(This example
3307) is set in the line counter (S-106).
-A-5). Then, the line counter counts up.
(S-10).
6-B-6, S-106-B-7). Line counter counts
In order to stop the compression operation upon detecting that the
The V-ENC signal is turned off (S-106-B-8). Then
When the VSYNC signal from the coder is turned off (S-1
06-B-9), memory over (memory address count)
Data exceeds the maximum address for writing compressed images).
MOVER signal is detected to check
(FIG. 31, S-106-C-1).   If the MOVER signal is at H level, writing to memory
Compression failure information is sent to the reader, indicating failure.
(S-106-C-)
2). As a result, the above-mentioned unit
RMU compression failure information is added to the
Recognize defeat. If compression fails, MC-PSZ (me
Mori C paper size), MC-METOD (reading mode), M
CS (memory C start address), MCE (memory C end address)
Less), MC-VIDEO (compression mode) information to memory C
Performs the same settings as those in which nothing is written. this
Recognizes the specified memory area as an empty area when compression fails
Then, it can be effectively used for the next compression operation. on the other hand,
Upon successful compression, MCS, MCE, MC-METHOD, MC-VIDEO, MC-P
Stores information necessary for SZ. These are memory C area
It is used at the time of extension. Reader to printer stopco
Command is entered (S-106-C-6), the RMU
The sequence processing ends.   Now, for example, the memory B
It is assumed that A4 size image information is compressed and stored. So
The image information in “Memory Overlay Mode”.
The image information from the reader and output it to the printer.
Think about it. Decompressed image from RMU compressed image memory
Sets bit 5 of the second byte of the RMU mode command
By setting it to “0”, the density of the printer is about 50%.
Output. In addition, in FIG.
H in the inspection direction1= HPBit, V in sub-scan direction1= VPBit point
The reference point t1As the main scanning size HTwo= HWBit, sub-scan
Size VTwo= VWTrim bit image area (T area)
RMU mode instruction command when outputting to A4 size
The second byte of Table 25 is the one in Table 25.
As shown in Table 26 as the second byte of the command,
Command from RMU trimming command 1
6 from trimming data 1 to trimming data 6
As converted to bits or lines
HP, VP, HW, VW, HM, VMIs set and the reader
Is output to the RMU.   RMU is shown in Fig. 10 Selector 1, Selector 2, Selector 3, Select
R-VCLK, DVD
Select O, LN-ST, R-VE, P-BD, A3, B3
The signal is set to L level.   Now, in FIG. 34, the sub-scanning transfer of the T region of the expanded image
The moving direction is determined (S-106-G-1). As a result, T
The moving direction of the area is the same as the sub-scanning direction as shown in FIG.
If so, proceed to FIG. 35.   Then, input the paper size instruction command from the reader.
If it is, store it separately from the paper size of the compressed image.
Good. Processing for PREQ, PRINT, and VSREQ signals
"Memory pass mode" or "through-out mode"
Since they are the same, the description is omitted.   The stored paper size and trimming data
H converted to lineP, VP, HW, VW, HM, VMBy the counter
Set as follows. 4677 for comparator 14-4,
0 for comparator 14-5, 46 for comparator 14-8
77, 4677- (HP
HM) And 4677 are set in the counter 14-1.   When the moving direction of the image in the T area is the same as the sub-scanning direction
At the same time that VSYNC is input from the reader (S-1
06-H-1), and turns on VSYNC to the printer (S-106-
H-2), from VSYNC which output V-DEC signal to printer
(VM−VP) Line
The counter is set (S-106-H-3). Lineka
After counting up the counter (S-106-H-4),
Scan VPTo set the TRM signal for the line to L level,
1FFFH for the comparator 14-6 and 4677 for the comparator 14-7
set.   HADR and DADR are 4677 and 4677- (HM−HP)
Set (S-106-H-5) and turn on V-DEC signal
(S-106-H-6). To perform trimming,
Number (S-106-H-7), and vPCounsel for line
After counting and counting up (S-106-H-
8, S-106-H-9), the image in the T region is expanded.
(S-106-H-10)
V to UntaWSet the line (S-106-H-11)
Synthesizes the image from the decoder and the image in the expanded T region.
Yes, VWAfter performing the combining operation for the lines (S-106-H-1)
2) Turn off the V-DEC signal to stop the decompression operation
(H-106-H-14).   On the other hand, the sub-scanning movement direction of the T region of the
In the case of the direction opposite to the sub-scanning direction as shown in FIG.
From (S-106-G-1) in the figure, proceed to FIG.
A4 size image expanded from compressed image data from memory
Sub-scanning image position V from signal1= VP, Subscanning image size VTwo= V
WTrimming the T area, and make sure that the
T1Distance V toThree= VMMove in case of
To combine the image signals from the
Correspondingly, the control operation of the controller 10-2 is shown in FIG.
Execute.   Main scan image position H1= HP, Main scanning image size HTwo= HWBecome
In the T area in the main scanning direction, t1Distance to HThree
= HMWhen moving the counter, see FIG.
The load value of (HADR) is 4677, and the
4677 for the parator 14-4 and 0 for the comparator 14-5
set. Comparator to activate dither counter
14-8 is set to 4677, and the dither counters 13-1, 13-
2 has 4677- (HM−HP) Is set (S-106-I-).
1). Here, SEL1 (10-18) is set to φSYS as ICLK.
Set, and the pressure of the memory address counter 10-8.
Set the start address of the reduced image data, and
Signal is turned on, and decompression of the compressed image is started. Where
The expanded image U is copied in the sub-scanning direction by the
-Line length protruding from paper (VP−VM) Minutes line
Count (S-106-I-3) and turn off the V-DEC signal once
Then, the decompression operation is interrupted (S-106-I-4).   Subsequent image decompression is performed by VSYNC (PVSYN
C) Synchronization with the clock of reader 10-1
ΦSYS selects RVCLK by 1 (10-18). This
Main image when the image from the reader and the image in the T region are combined.
Irregularities of pixels in the scanning direction can be prevented. This state
State, detects VSYNC from the reader,
0-2 outputs the resist feed signal PVSYNC to the printer
(S-106-I-6) and sub-scan VMDuring the line,
The TRM signal is set to L level so as not to output the expanded image.   This means that 1FFFH is applied to the comparator 14-6,
This is realized by setting 4677 to the data 14-7 (S-10
6-I-7). Thereafter, the suspended image decompression starts.
Therefore, the value of the memory address counter 10-8 is
And turn on the V-DEC signal. Where T
V until the image of the area is outputMLine to line counter 10
Count at -11 (S-106-I-9).   Next, in order to trim the image in the T region, the TRM signal
Set the comparator to generate the signal, Figure 22
From (c), comparator 14-6 is 4677-HMAnd compa
Lator 14-7 is 4677- (HW+ HM(S-106-I)
-10).   As a result, the image in the T region is changed to t in FIG.1Location
From copy paper t1′.   Next, the controller 10-2 calculates the V of the sub-scanning width of the T region.W
Lines are counted by the line counter 10-11 (S-106).
-I-11), The image signal in the T area was output to the printer
Is detected, and the VDEC signal is
It is turned off (S-106-I-12).   This allows the controller 10-2 to decompress the compressed image signal.
Since output has been completed, all images from reader 10-1
Wait for output to printer 10-3 (S-106-I-1)
3). If it detects that the reader's PVSYNC is turned off,
Turn off VSYNC (PVSYNC) to printer 10-3, and
Output of one image to the printer 10-3 is completed (S-106-I-1).
4) Check whether the specified number of copies have been completed
In order to achieve this, the already explained FIG. 31 (S-106-C-6)
move on.   In this way, the RMU responds to the four modes specified above.
It works.   In this embodiment, image compression is performed by run-length encoding.
However, it is also possible to use compression methods such as MH and MR.
You. In addition, as the image synthesis, in addition to the superposition of the images, the first
Insertion of a second image into a predetermined portion of an image or
In the same way, functions such as combining only the desired parts
Can be achieved.   As described above, according to the present invention, the input first
The first image signal representing the original image is compressed and stored in advance.
In advance, the first compressed and stored first image
A first image signal obtained by expanding the image signal and a second image signal
And a second image signal representing the original image of the original.
Form a composite image of the first and second original images using the composite image signal
Can also be synchronized with line-by-line image formation
First image compressed in synchronization with the line synchronization signal
Extends the signal line by line and synchronizes with the line synchronization signal
Then, the second image signal is input for each line,
Further, a vertical synchronizing signal indicating the start of input of the second image signal
Count the line sync signal from the input, and based on this count value
To control the start of the decompression operation.
The expanded output of the first image signal represents the second original image
The one that is surely synchronized with the input of the second image signal
Therefore, the first image signal and the second image signal are appropriately
It is possible to combine the images exactly, and based on the combined image signal
A composite image of the first original image and the second original image
It becomes possible to form well.

【図面の簡単な説明】 第1図は本発明を適用した画像処理システムの構成例を
示す図、第2図はリーダによる画像読取り動作を説明す
る図、第3図はリーダの概略回路構成を示すブロック
図、第4図はプリンタの概略構成を示す図、第5図はプ
リンタの概略回路構成を示すブロック図、第6図はビデ
オインターフエースの内容を示す図、第7図は画像信号
の伝送方式を示す図、第8図はビデオインターフエース
の各種信号を示す図、第9図は符号化動作の説明図、第
10図はRMUの詳細な構成を示すブロック図、第11図はデ
イザカウンタの構成図、第12図は主走査カウンタデコー
ダの構成図、第13図は原稿画像のトリミング状態を示す
図、第14図は画像信号の圧縮動作を示すタイミングチャ
ート図、第15図はメモリの記憶状態を示す図、第16図は
デイザ圧縮の説明図、第17図は画像信号の伸長動作を示
すタイミングチャート図、第18図は伸長エラー時の動作
を示すタイミングチャート図、第19図は主走査方向に関
わるトリミング動作を示す図、第20図は副走査方向に関
わるトリミング動作を示す図、第21図(a)、(b)は
主走査方向に関する画像の移動動作を示す図、第22図
(a)、(b)、(c)は副走査方向に関する画像の移
動動作を示す図、第23図はコマンドのシリアル通信の手
順を示すフローチヤート図、第24図はステータスのシリ
アル通信の手順を示すフローチヤート図、第25図はコピ
ー動作以前の通信手順を示すフローチヤート図、第26図
はリーダの動作を示すフローチヤート図、第27図はプリ
ンタの動作を示すフローチヤート図、第28図はメモリ領
域の状態を示す図、第29図〜第36図はRMUの動作手順を
示すフローチヤート図であり、1−1はリーダ、1−2
はRMU、1−3はプリンタ、10−2はコントローラ、10
−4は圧縮回路、10−5は圧縮画像メモリ、10−6は伸
張回路、10−15はダブルバツフアメモリ、10−23はビデ
オセレクタ、10−8はメモリアドレスカウンタである。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram showing a configuration example of an image processing system to which the present invention is applied, FIG. 2 is a diagram for explaining an image reading operation by a reader, and FIG. 3 is a schematic circuit configuration of the reader. FIG. 4 is a diagram showing a schematic configuration of a printer, FIG. 5 is a block diagram showing a schematic circuit configuration of the printer, FIG. 6 is a diagram showing the contents of a video interface, and FIG. FIG. 8 is a diagram showing a transmission system, FIG. 8 is a diagram showing various signals of a video interface, FIG.
10 is a block diagram showing a detailed configuration of the RMU, FIG. 11 is a configuration diagram of a dither counter, FIG. 12 is a configuration diagram of a main scanning counter decoder, FIG. 13 is a diagram showing a trimming state of a document image, and FIG. FIG. 14 is a timing chart showing a compression operation of an image signal, FIG. 15 is a diagram showing a storage state of a memory, FIG. 16 is an explanatory diagram of dither compression, and FIG. 17 is a timing chart showing an expansion operation of an image signal. FIG. 18, FIG. 18 is a timing chart showing an operation at the time of decompression error, FIG. 19 is a diagram showing a trimming operation in the main scanning direction, FIG. 20 is a diagram showing a trimming operation in the sub-scanning direction, and FIG. FIGS. 22 (a) and 22 (b) show the image moving operation in the main scanning direction, FIGS. 22 (a), (b) and (c) show the image moving operation in the sub-scanning direction. FIGS. FIG. 24 is a flowchart showing a procedure of serial communication of a command. Is a flowchart showing the serial communication procedure of status, FIG. 25 is a flowchart showing the communication procedure before the copy operation, FIG. 26 is a flowchart showing the operation of the reader, and FIG. 27 is the operation of the printer. FIG. 28 is a diagram showing the state of the memory area, and FIGS. 29 to 36 are flow charts showing the operation procedure of the RMU. 1-1 is a reader, 1-2.
Is an RMU, 1-3 is a printer, 10-2 is a controller, 10
-4 is a compression circuit, 10-5 is a compressed image memory, 10-6 is an expansion circuit, 10-15 is a double buffer memory, 10-23 is a video selector, and 10-8 is a memory address counter.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭57−174982(JP,A) 特開 昭57−129566(JP,A) 特開 昭58−6671(JP,A)   ────────────────────────────────────────────────── ─── Continuation of front page       (56) References JP-A-57-174982 (JP, A)                 JP-A-57-129566 (JP, A)                 JP-A-58-6671 (JP, A)

Claims (1)

(57)【特許請求の範囲】 1.第1,第2の原稿画像を夫々表わす第1,第2の画像信
号をライン毎に入力する入力手段と、 前記入力手段から入力された第1の画像信号を圧縮する
圧縮手段と、 前記圧縮手段により圧縮された第1の画像信号を記憶す
る記憶手段と、 前記記憶手段から読出された圧縮されている第1の画像
信号を伸長し、伸長された第1の画像信号をライン毎に
出力する伸長手段と、 前記伸長手段からライン毎に出力された第1の画像信号
と前記入力手段からライン毎に入力された第2の画像信
号とを合成し、合成画像信号をライン毎に出力する合成
手段と、 前記合成手段からライン毎に出力された合成画像信号に
基づいて第1,第2の原稿画像の合成画像をライン毎に形
成する像形成手段とを有し、 前記伸長手段は、前記像形成手段のライン毎の画像形成
に同期したライン同期信号に同期して、圧縮されている
第1の画像信号をライン毎に伸長し、且つ、前記入力手
段は、前記ライン同期信号に同期して、第2の画像信号
をライン毎に入力する構成とし、 更に、前記合成手段は、前記入力手段からの第2の画像
信号の入力開始を示す垂直同期信号の入力から前記ライ
ン同期信号を計数する計数手段を有し、前記計数手段に
よる前記ライン同期信号の計数値に基づいて前記伸長手
段による伸長動作を開始制御することを特徴とする画像
処理システム。
(57) [Claims] Input means for inputting, for each line, first and second image signals representing first and second document images, compression means for compressing the first image signal input from the input means, Storage means for storing the first image signal compressed by the means; expanding the compressed first image signal read from the storage means, and outputting the expanded first image signal line by line Expanding means for synthesizing a first image signal output for each line from the expanding means and a second image signal input for each line from the input means, and outputting a synthesized image signal for each line A synthesizing unit; and an image forming unit that forms a synthesized image of the first and second document images for each line based on a synthesized image signal output line by line from the synthesizing unit. The same applies to the line-by-line image formation of the image forming means. In synchronization with the line synchronization signal, the compressed first image signal is expanded line by line, and the input unit synchronizes the second image signal line by line in synchronization with the line synchronization signal. The synthesizing unit further includes a counting unit that counts the line synchronization signal from an input of a vertical synchronization signal indicating the start of input of the second image signal from the input unit. The image processing system according to claim 1, wherein a decompression operation is started and controlled by said decompression means based on a count value of said line synchronization signal.
JP60017009A 1985-01-31 1985-01-31 Image processing system Expired - Lifetime JP2823155B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60017009A JP2823155B2 (en) 1985-01-31 1985-01-31 Image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60017009A JP2823155B2 (en) 1985-01-31 1985-01-31 Image processing system

Publications (2)

Publication Number Publication Date
JPS61176279A JPS61176279A (en) 1986-08-07
JP2823155B2 true JP2823155B2 (en) 1998-11-11

Family

ID=11932002

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60017009A Expired - Lifetime JP2823155B2 (en) 1985-01-31 1985-01-31 Image processing system

Country Status (1)

Country Link
JP (1) JP2823155B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2802062B2 (en) * 1987-07-22 1998-09-21 株式会社リコー Digital color copier

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57174009A (en) * 1981-04-20 1982-10-26 Iseki Agricult Mach Planting apparatus in seedling transplanting machine

Also Published As

Publication number Publication date
JPS61176279A (en) 1986-08-07

Similar Documents

Publication Publication Date Title
US4884147A (en) Image signal processing system
US4814890A (en) Image communicating system
US4814898A (en) Image signal processing system
US5151797A (en) Image forming apparatus with improved image forming speed
US5063459A (en) Facsimile apparatus
JP2823155B2 (en) Image processing system
JP2694826B2 (en) Image processing system
US5680226A (en) Image recording apparatus
US5914789A (en) Facsimile apparatus with printer function for connecting to an external computer
US5959743A (en) Image processing apparatus with image overlaying function
US5764370A (en) Enlargement and reduction apparatus for an image forming apparatus
JPS61176264A (en) image processing system
EP0551823B1 (en) Image processing apparatus
JPS61176288A (en) Picture processing system
JPS61176265A (en) image processing system
JPS61176261A (en) image processing system
JPS61176262A (en) Picture processing system
JPS61176278A (en) image processing system
JPS61176290A (en) image processing system
JPS61176291A (en) image processing system
JPS61176289A (en) image processing system
JPS61176287A (en) image processing system
JPS61176280A (en) Picture processing system
JPS61176263A (en) image processing system
JP3534148B2 (en) Image processing system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term