[go: up one dir, main page]

JPH0557794B2 - - Google Patents

Info

Publication number
JPH0557794B2
JPH0557794B2 JP58222837A JP22283783A JPH0557794B2 JP H0557794 B2 JPH0557794 B2 JP H0557794B2 JP 58222837 A JP58222837 A JP 58222837A JP 22283783 A JP22283783 A JP 22283783A JP H0557794 B2 JPH0557794 B2 JP H0557794B2
Authority
JP
Japan
Prior art keywords
image
signal
output
data
counter
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
JP58222837A
Other languages
Japanese (ja)
Other versions
JPS60114081A (en
Inventor
Masanori Yamada
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 JP58222837A priority Critical patent/JPS60114081A/en
Priority to DE3448404A priority patent/DE3448404C2/en
Priority to GB08429653A priority patent/GB2152323B/en
Priority to DE19843442793 priority patent/DE3442793A1/en
Priority to DE3448540A priority patent/DE3448540C2/en
Priority to DE3448469A priority patent/DE3448469C2/en
Publication of JPS60114081A publication Critical patent/JPS60114081A/en
Priority to US07/166,801 priority patent/US4920502A/en
Publication of JPH0557794B2 publication Critical patent/JPH0557794B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

[技術分野] 本願発明は所望の複数の領域画像を簡単な操作
により夫々別々に出力することができる画像処理
装置に関する。 [従来技術] 従来、複写機等の画像処理装置は、原稿を感光
体に直接投映していたため、所望領域以外の像を
複写してしまうという欠点があつた。例えば、親
表から個表を作成する場合は、原稿を少しづつず
らしながら、不要部分をマスクして、必要部分に
穴をあけたオーバーレイフオーマツトを手で重ね
ていたが、時間も手間もかかり、ミス出力等も少
なくないという欠点があつた。 [目的] 本発明は、以上の欠点に鑑みてなされたもので
本発明の目的は上記欠点を除去することにある。 本発明の目的は、所望の複数の領域の画像を簡
単な操作により、夫々別々に出力することができ
る画像処理装置を提供することにある。 本発明の目的は、所望の領域を夫々別々に任意
の順序で、しかも1度の出力要求で出力すること
のできる画像処理装置を提供することにある。 [実施例] 第1−1図に本発明による複写装置の外観を示
す。本装置は基本的に2つのユニツトにより構成
される。リーダAとプリンタBである。このリー
ダとプリンタは機械的にも機能的にも分離してあ
り、それ自身を単独で使うことが出来るようにな
つている。接続は電気ケーブルでのみ接続するよ
うになつている。リーダBには操作部A−1が付
いている。詳細は後述する。 第1−2図にリーダA、プリンタBの構造断面
図を示す。原稿は原稿ガラス3上に下向きに置か
れ、その載置基準は正面から見て左奥側にある。
その原稿は原稿カバー4によつて原稿ガラス上に
押えつけられる。原稿は蛍光灯ランプ2により照
射され、その反射光はミラー5,7とレンズ6を
介して、CCD1の面上に集光するよう光路が形
成されている。そしてこのミラー7とミラー5は
2:1の相対速度で移動するようになつている。
この光学ユニツトはDCサーボモータによつて
PLLをかけながら一定速度で左から右へ移動す
る。この移動速度は原稿を照射している往路は
180mm/secで、戻りの復路は468mm/secである。
この副走査方向の解像度は16lines/mmである。
処理できる原稿の大きさはA5〜A3まであり、原
稿の載置方向はA5,B5,A4が縦置きで、B4,
A3が横置きである。そして原稿サイズによる光
学ユニツトの戻しは、リーダの信号VIDEO
ENABLEを画先センサ(後述)から計数し、原
稿サイズに相当する計数値となつた時行なう。 次に主走査方向について、主走査巾は前記の原
稿載置向きによつて最大A4のヨコ巾297mmとな
る。そして、これを16pel/mmで解像するために、
CCDのビツト数として4752(=297×16)ビツト
必要となるので、本装置では2688ビツトのCCD
アレーセンサを2個用い、並列駆動するようにし
た。従つて、16lines/min、180mm/secの条件よ
り、主走査周期(=CCDの蓄積時間)はT=
1/v・n=1/180×16=347.2μsecとなる。CCDの転 送速度はf=N/T=2628/347.2μsec=7.7419NHzと
な る。 次に第1−2図に於いて、リーダの下に置かれ
ているプリンタの概観について説明する。リーダ
部で処理されビツト・シリアルになつた画像信号
はプリンタのレーザ走査光学系ユニツト25に入
力される。このユニツトは半導体レーザ、コリメ
ータレンズ、回転多面体ミラー、Fθレンズ、倒
れ補正光学系より成つている。リーダからの画像
信号は半導体レーザに印加され電気−光変換され
その発散するレーザ光をコリメータレンズで平行
光とし、高速で回転する多面体ミラーに照射さ
れ、レーザ光をそれによつて感光体8に走査す
る。この多面体ミラーの回転数は2600rpmで回さ
れている。そして、その走査巾は約400mmで、有
効画像巾はA4ヨコ寸法の297mmである。従つてこ
の時の半導体レーザに印加する信号周波数は約
20NHz(NRZ)である。このユニツトからのレー
ザ光はミラー24を介して感光体8に入射され
る。 この感光体8は一例として導電層−感光層−絶
縁層の3層からなる。従つて、これに像形成を可
能とさせるプロセスコンポーネントが配置されて
いる。9は前除電器、10は前除電ランプ、11
は一次帯電器、12は二次帯電器、13は前面露
光ランプ、14は現像器、15は給紙カセツト、
16は給紙ローラ、17は給紙ガイド、18はレ
ジスト・ローラ、19は転写帯電器、20は分離
ローラ、21は搬送ガイド、22は定着器、23
はトレーである。感光体8及び搬送系の速度はリ
ーダの往路と同じく180mm/secである。従つて、
リーダとプリンタを組合せてコピーをとる時の速
度はA4で30枚/分となる。又、プリンタは感光
ドラムに密着したコピー紙を分りするのに手前側
に分りベルトを用いているが、その為にそのベル
ト巾分の画像が欠ける。もし、その巾分にも信号
を乗せてしまうと現像をしてしまい、そのトナー
によつて分りベルトが汚れ、以後の紙にも汚れを
つけてしまう結果になるので、予めリーダ側でこ
の分りベルトを巾分8mmにはプリンタ出力のビデ
オ電気信号をカツトするようにしてある。又、コ
ピー紙の先端にトナーが付着していると定着する
際、定着ローラに巻き付きジヤムの原因になるの
で、紙の先端2mm巾だけトナーが付着しない様同
じく電気信号をリーダ側でカツトしている。次に
第2−1,2−2図にリーダ、プリンタの主走査
方向と出力される画像を示している。リーダは奥
側から手前側へ、プリンタは手前側から奥側へ行
なつている。 本例の複写装置は画像編集等のインテリジエン
シを持つが、このインテリジエンシはリーダ側
で、CCDで読取つた信号を加工して行なつてお
り、リーダから出力される段階ではいかなる場合
に於いても、一定ビツト数(4752)で一定速度の
信号が出るようになつている。インテリジエンシ
の機能としては、0.5→2.0倍の範囲の任意の倍
率、特定の倍率に拡大/縮小すること、指定され
た領域のみ画像を抜き出すトリミング機能、トリ
ミングされた像をコピー紙上の任意の場所に移動
させる移動機能、原稿台に置かれている原稿を認
識する機能等がある。更にはこれらの個々のイン
テリジエント機能を組合せた複合機能を有する。
第3図にこれらの具体例を示す。 (a)は編集機能を示すもので、1は原稿表面を示
し、2はトリミング座標指定のみを行つたときの
コピー完了時の状態、3はトリミング座標指定+
移動座標指定(但し、コピー紙サイズを超えると
エラー表示)を行つたときの、4はトリミング座
標指定+移動座標指定+任意倍率の拡大(但し、
コピー紙サイズを超えるとエラー表示)を行つた
ときの、5はトリミング座標指定+移動座標指定
+任意倍率の縮小、を行つたときの、6はトリミ
ング座標指定+AUTO指定(0.5→2倍の範囲の
倍率でカセツト・サイズ向きに合せて基準位置よ
り変倍する)、を行つたときの、7はトリミング
座標指定+AUTO指定を行つたときのコピー完
成時の状態を示す。尚、移動座標にシフトされる
トリミング座標は副走査方向の値が一番小さい座
標ポイントを基準にして決める。 (b)はCCDとレーザの主走査方向の関係を示し
たもの、 (c)はトリミング座標指定の手法を示したもので
ある。 直線で囲まれた1つのワクであれば、指定順序
は〜の如く行なう。この座標指定は第4図の
テンキー、108を用いて行なう。 第4図は第1図の操作部A−1の詳細図であ
る。この操作部は大きく3つのブロツクに別れて
いる。右側のブロツクが従来の複写機に見られる
汎用キー表示部100である。中央のブロツクが
ユーザがプログラムによる任意に創作登録してお
いた複写伝送機能を呼び出して使う為のフアンク
シヨン・キー・表示部300である。左側のブロ
ツクは、ユーザが任意に複写・伝送機能を創作す
るためのソフト・キー表示部200である。汎用
キー表示部100についてまず説明する。103
は所望コピー枚数セツト表示及び途中のコピー枚
数表示用の7セグメントLED表示器である。1
02は従来の複写機に用いられているジヤム、ト
ナーなし、紙なし、コピー割込み等の警告表示で
ある。104はコピー濃度切換えレバー及びそれ
により得られた濃度表示である。105は原稿画
像が文字だけのもの、写真だけのもの、文字と写
真が混在したもの、セクシヨンペーパーのものに
対する選択表示器である。これらは4種の原稿像
を最適化した形でコピーできる様異なつた画像処
理をほどこす為に設けられている。106は選択
されたカセツト段が上段か下段かを表示してい
る。107は選択されたカセツト段のカセツトに
収納されている紙サイズを表示する為の表示器で
ある。108は0〜9、Cのテン・キー群であつ
て表示器103への枚数セツト及びソフト。キー
表示部200にてプログラム創作過程での数値の
エントリ(例えばトリミング座標、移動座標、変
倍の倍率、送信先アドレス指定等)に用いられ
る。そして後者200のキーエントリーの確認キー
として109のエントリー・キーが設けられてい
る。110はマルチコピーを中断して他のマルチ
コピーをする割込みキー、111はプリンタのマ
ルチコピーを中止するコピー・キヤンセル・キ
ー、101はプリンタのプリント開始指令するコ
ピー・キーである。113は105の原稿画像切
換えキー、112はカセツト段切換キーである。
113,112はキーをオンする毎に上から下に
選択シフトする。フアンクシヨン・キー表示部3
00に於いてこの部分は構造的にカバーが着脱自
在になつている。理由は前述した通り、ソフト・
キー表示部で任意創作した機能の1つが登録され
て302の1つのキーに対応するようになつてい
るので自分で創作した機能に何らかの名称をつけ
てキー302に書込んでおく必要がある。従つ
て、機能を登録した後はこのカバーを外して登録
したいずれかのキー302に名称を書込んで、再
びカバーを着けるといつた動作になる。以上より
フアンクシヨンキー302は6個用意されている
ので6個の複合機能をユーザは登録できる。ソフ
トキー表示部200でユーザが機能を創作した段
階で、ソフトキーの表示部202に登録するか否
かの問い合わせのメツセージが出てくるので、ソ
フトキー201でそれに応答してやればフアンク
シヨン表示部300にある6個のキーに対応した
表示器303の6個が全て点滅動作を行なう。こ
れは“どのフアンクシヨン・キーに前記機能を登
録しますか?”と機械側からオペレータに問いか
けをしている事を意味している。従つてこの時に
オペレータはいずれかのキーを押すと、そのキー
に対応した表示器が点灯になり、他の表示器は消
灯する。そしてオペレータはカバーを外し、その
キー上にフアンクシヨン名を記入し再びカバーを
着ける。以後ここで登録された内容はメモリがバ
ツテリバツクアツプされているので、電源スイツ
チが切られても消えないようになつている。キー
301は標準モード復帰キーである。 リーダユニツトの詳細説明を行なう。第5図に
リーダユニツトのシステムブロツク図を示す。こ
のリーダとのインタフエース信号は右側に示され
ている。プリンタと接続する時はコネクタJR1
をプリンタ側のコネクタJP1に接続する。JR1
のインタフエース信号のタイミングは第6図、第
7図に示す。BEAM DETECT信号BDはプリン
タを接続した時、スキヤナの回転と同期をとるた
めのもので各ラインの先端信号と対応する。
VIDEOは画像信号であり、それぞれ1ライン当
り一画素55ns巾で4752個出力される。ただし一画
素は3値まで、すなわち0、1/2,1の状態を持
つようにしているので、0では55ns巾Lで、1/2
は前半の27.5nsがHで後半の27.5nsがL、1では
55ns巾がHになる。 この信号はプリンタが接続されている場合は
BEAM・DETECT信号に同期して出力され、そ
うでないとき(他への伝送等)は内部の擬似信号
に同期して出力される。VIDEO ENABLEは前
記画像データが4752ビツト出力されている期間信
号である。これもBEAM DETECT又は内部の
擬似信号に同期して出力される。VSYNCは画像
先端検知センサ第8図37bの出力とBEAM
DETECT又は内部の擬似信号に同期して出力さ
れる信号であつて、これから画像データが出力さ
れるという意味である。信号巾はVIDEO
ENABLEと同じである。PRINT START信号
はプリンタ側への給紙指令である。このPRINT
STARTとVSYNCとの時間々隔は制御回路(第
9,11図)で変倍倍率やトリミング領域とを考
慮して決定される。PRINTENDはプリント側か
らの応答信号で、コピー紙の後端が感光ドラムか
ら離れて搬送ベルト上に乗つた時点で出されるも
ので、プリント動作が終了した事を示す。これは
コピー紙の分離完了を検知するが、シーケンスタ
イミングによつて出される。PRINTER
CONNECT信号はPRINTERを接続した時に出
力されるもので、プリンタ側でこの端子はGND
に接続してある。それによりプリント作動状態に
される。 S.DATA,S.CLK,CSC BUSY,PSCBUSY
はリーダとプリンタ間でプロトコール(両者間で
の伝送の許容、合図等の情報交換)をするための
シリアル信号ラインである。 S.DATA,S.CLKは16ビツトのプロトコー
ル・データとクロツクであつていずれも双方向ラ
インである。CSC BUSYは前記ラインにリーダ
側がデータとクロツクを出力する時に出力され、
PSC BUSYは前記ラインにプリンタ側がデータ
とクロツクを出力する時に出力される。従つて、
これらはS.DATAとS.CLKの伝送方向を示すラ
インということになる。詳細のタイミングは第7
図を参照されたい。 再び第5図に戻り、リーダのシステムブロツク
について説明する。CCD読取部501,50
1′にはCCD,CCDのクロツクドライバ、CCDか
らの信号増巾器、それをA/D変換するA/Dコ
ンバータが内蔵されている。このCCDへの制御
信号はCCD制御信号発生部503及び503′で
生成されCCD読取部501,501′のクロツク
ドライバに供給される。この制御信号はプリンタ
からの水平同期信号BDに同期して生成される。
CCD読取部501,501′からは6ビツトのデ
ジタル信号に変換された画像データが出力され画
像処理部502,502′に入力される。この画
像処理部502,502′ではCCD出力をサンプ
リングして光源の光量をCPUが制御する為のサ
ンプリング回路、光源及びレンズ等のシエーデン
グ量検出回路及びその補正回路、AE機能を行な
う為に各主走査に於ける光量のピーク値を検出す
るピークホールド回路、シエーデング補正完了後
の6ビツト画像データを前ライン又は前々ライン
のピークホールド値又はデイザパターンに基ずき
スライスレベルを決め2値化又は3値化をするた
めの量子化回路を有している。画像処理部50
2,502′で量子化された画像信号は画像編集
部504,504′に入力される。この画像編集
部504,504′には2ライン分のバツフアメ
モリがある。1ライン分の容量は1ライン当りの
画素数4752の2倍以上の容量を持つている。この
理由は200%拡大時に各画素データを2倍のサン
プリングプレートにてメモリに書込む為、データ
量が倍になるからである。又2ライン分のバツフ
アメモリにしてあるのはメモリが書込みと読出し
を同時に行なうことができない為に、Nライン目
の画像データを第1メモリに書込んでいる時には
第2メモリからN−1ライン目の画像を読み出す
様にする為である。その他にこの部分にはこのバ
ツフアメモリに画像データを書込む為のライトア
ドレスカウンタ、読み出す為のリードアドレスカ
ウンタとこの2つのカウンタからのアドレス信号
を切換える為のアドレスセレクタ回路がある。前
記カウンタは初期値がプリセツトできるパラレル
ロードタイプを用い、初期値はCPUがI/Oポ
ートにロードする様になつている。CPUは操作
部で指示された座標情報に従い、副走査がトリミ
ング座標に対応するラインに達する度に前記カウ
ンタに主走査座標に対応するアドレス値をプリセ
ツトすることで原稿情報の編集を可能ならしめて
いる。白マスキング、黒マスキング、白枠トリミ
ング、黒枠トリミングを可能ならしめる為の座標
領域制御カウンタとゲート回路がある。CCDの
自動つなぎの為のつなぎ目検出シフトレジスタが
ある。画像編集部からの画像データは最初に50
4から出力され次に504′から出力されるので
それをスムーズに切換えて一本のシリアルな画像
データにするのが合成部505である。認識部5
06はコピーボタンオン後プリンタが空回転期間
中に原稿の前走査を行ない、その時に原稿の置か
れている座標を検出する為のものである。この部
分には連続する白画像データ8ビツトを検出する
シフトレジスタ、I/Oポート、主/副走査カウ
ンタがある。操作部507にはキーマトリクス、
LED、液晶及び液晶ドライバがある。508は
光学系走査用DCモータであり509はその駆動
回路である。510は原稿照明用螢光灯であり5
11はその点灯回路である。512は光学系ユニ
ツトがホームポジシヨンにあることを検出するホ
トセンサであり513は光学系ユニツトが原稿先
端を照射する位置にあることを検出するホトセン
サである。CPU部514はCPU,ROM,RAM,
バツテリバツクアツプ回路、タイマ回路、I/O
インタフエースで構成されている。CPU部51
4は操作部507を制御し、オペレータからの操
作指令に従いリーダのシーケンス制御を行なうと
同時にコマンドでプリンタを制御する。又操作部
507からの画像処理に係る指令に従い原稿走査
に先立ち又は原稿走査中に画像処理部502,5
02′、画像編集部504,504′に於ける各種
カウンタに対しデータのセツトを行なう。更に
CPUは原稿走査に先立ち画像処理部からの光量
データに基づき511の螢光灯点灯装置に対し光
量制御を行ない、倍率指令に従い509のDCモ
ータ駆動回路に対し速度データをプリセツトした
り、画像編集部504、504′からの画像つな
ぎデータを収集しつなぎ量を算出する。 第8図と第6図に従つて、シーケンス制御につ
いて説明する。第8図に示す如く、リーダの走査
光学系上には3個の位置センサ37a〜37cを
有する。リーダ正面より見て最も左側に光学系ホ
ーム位置センサ(信号OHPを出力)があり、通
常光学系はこの位置に停止している。リーダが駆
動されると光学系は左から右へ走査を開始し、丁
度画像の基準位置にあたるところに画像先端セン
サ37bを設けてある。制御回路はこのセンサ3
7bを検知すると画像データ信号(VIDEO,
CLK)を出力すると共に、各主走査サイクル
(347.2μs)に於けるデータ有効期間(VIDEO
ENABLE)を示す信号を発生させる。そして制
御回路はこのVIDEO ENABLE信号の数を前記
センサ37bより計数を開始し、プリンタのカセ
ツトサイズ又は変倍に応じたポイントに対応する
計数値αに達した時、光学系前進駆動信号を切
り、後進駆動信号に切換え反転する。復路の途中
には、PRINT STARTセンサ37cが設けてあ
り、反転後光学系がこのセンサを作動すると制御
回路は指定されたコピー枚数分走査したかどうか
判断し、指示枚数と一致しなければプリンタに次
の給紙指示を与えるためのPRINT START信号
を発生させる。尚第9図のT2がT1と等しくなる
ようセンサ37cの位置を調整することが必要で
ある。 /(変倍) 次に原稿像を拡大/縮小する方法について第9
図を基に述べる。変倍の基本的考え方としては、
副走査方向はDCサーボモータ37dの速度を可
変にすることである。CPUがキー入力された倍
率を基に速度を計算し、更にその速度に対応する
PLL周波数を算出しI/Oラツチ1,58に走
査前にプリセツトしておく。復路の時はある固定
値がセツトされ、それにより高速で光学系を戻
す。これはCPUのROMに格納された値がこの
I/Oラツチ1にプリセツトすることでなされ
る。従つて、2倍に拡大する時は等倍時の速度
(180mm/sec)に対し1/2の速度で動かし、1/2に
縮小する時は2倍の速度で動かすことになる。主
走査は、一定周波数で出力されてくるCCDのシ
リアル信号(A/D変換後)を倍率に応じたクロ
ツク・レートでサンプリングする方法である。例
えば2倍に拡大する時はCCDクロツクレートの
2倍のクロツクレートでサンプリングすれば源情
報1ビツトに対し、1ビツトは増加でデータが得
られ1/2倍に縮小する時はCCDクロツクレートの
1/2クロツクレートでサンプリングすれば源情報
2ビツトに対し1ビツト間引かれたデータが得ら
れるようになる。CPUは入力倍率の基にこのク
ロツク・レートを算出し、副走査開始前にI/O
ラツチ2,50にセツトするようにする。前述し
た如く、CCDは2628ビツト構成であるがその中
にはダミービツトが36ビツトあり有効ビツトは
2592ビツトということになる。そしてその駆動周
波数は7569HHzであつて、その信号ラインがφ1
ロツクライン55である。変倍の為のクロツク
は、φ1と同じ源発振とI/Oラツチ2の値に基
づきVCO9で発振される周波数をPLL48で同
期をとりφ2として可変周波数を形成している。
CCDから出力される2592ビツトのアナログ信号
はAMP42で増巾されAGC(自動利得制御回路)
にかけられる。AGC43は、螢光灯の長期的な
光量変化、原稿の地肌等によつて白レベルが変化
するので、その白レベルを検知し、それからの相
対的変化量がA/Dコンバータ44にかけられる
よう白レベルをクランプする回路である。そして
AGCの出力はA/Dコンバートされる2値であ
る6ビツトのパラレルビツトに変換される。一方
デイザROM54は主走査方向は8ビツト間隔、
副走査方向も8ビツト間隔で同じ重みコード(6
ビツト)が出力するよう設定してあり、そしてこ
の8×8=64ビツトのマトリツクス内は32種の重
みコードが割振られている。従つて3ビツトの主
走査カウンタ51と3ビツトの副走査カウンタ5
2によつてこのデイザROM54をアドレツシン
グしてやることによつて異なつた重みコードが出
力される。又この8×8の中に設定されている重
みコードの組合せは複数組あり、その組合せによ
つてハーフトーン画像の再現性を変えられるよう
に配慮されている。この組合せの選択はI/Oラ
ツチ3,53により行なわれ、このラツチへのプ
リセツトはCPUによつて副走査開始前に行なわ
れる。この主走査カウンタ51は倍率による可変
周波数であるφ2クロツクによつて駆動され、副
走査カウンタ52はBEAM DETECT信号によ
り駆動される。そして、このデイザROM54か
らの6ビツトの重みコードとA/D変換した6ビ
ツトコードがコンバレータ47でコンパレートさ
れ2値化された、シリアルなハーフトーン再現可
能な画像信号が得られるようになつている。 次に45の回路であるが、これはA/D変換に
よる変換時間が各ビツトにより異なる為に再度
φ1でラツチし同期を合わせている。又、当然の
こととして、シフトメモリ57−1,57−2の
アドレスカウンタはφ2クロツクで動かされる。
以上によつて、シフトメモリ57−1,57−2
には等倍時には2592ビツト入り、1/2倍時には
1296ビツト、2倍時には5184ビツト入ることにな
る。 副走査用DCモータ37dの速度はCPUにI/
Oラツチ1,58にプリセツトされた値がVCO
59に入力され、これによる発振周波数が源発振
とPLL60と同期がとられサーボ回路61に印
加されることによつて制御される様になつてい
る。 第11図にシフト・メモリに係る回路図を示
す。シフト・メモリ1はCCD1系の画像データが
入るスタテイツク・メモリである。シフト・メモ
リ2はCCD2系の画像データが入るスタテイツ
ク・メモリである。ライト・アドレス・カウンタ
63はシフト・メモリ1,及び2にデータを書込
む時のアドレス・カウンタである。リード・アド
レス・カウンタ1はシフト・メモリ1からデータ
を読み出す時のアドレス・カウンタであり、リー
ド・アドレス・カウンタ2はシフト・メモリ2か
ら読み出す時のアドレス・カウンタである。アド
レス・セレクタ1はライト・アドレス・カウンタ
63のアドレス信号とリード・アドレス・カウン
タ1のアドレス信号のいずれかを選択しシフト・
メモリ1をアドレツシングするためのものであ
り、アドレス・セレクタ2はライト・アドレス・
カウンタ63のアドレス信号とリード・アドレ
ス・カウンタ2のアドレス信号のいずれかを選択
しシフト・メモリ2をアドレツシングするための
ものである。シフト・レジスタ74はCCD1系の
画像データを最下位から8ビツトずつ取り出すた
めのレジスタであり、シフトレジスタ76は
CCD2系の最上位から8ビツトずつ画像データを
取り出すためのレジスタである。F/F73は
VIDEO ENABLE信号の立上りでセツトし、ラ
イト・アドレス・カウンタ63のリツプル・キヤ
リでリセツトするF/Fでシフトレジスタ74に
入力する期間を制御するためのものであり、F/
F75はVIDEO ENABLEの立上りでセツトし、
リード・アドレス・カウンタ2のリツプル・キヤ
リでリセツトするF/Fで、シフトレジスタ76
に入力する期間を制御するためのものである。
I/Oポート72はライト・アドレス・カウンタ
63をアツプカウントで動かした時にどこまで計
数したかCPUが読み取り確認するためのI/O
である。I/Oレジスタ66〜69はライト・ア
ドレス・カウンタ63、リード・アドレス・カウ
ンタ64,65にそれぞれプリセツト値をCPU
が与えるためのレジスタである。I/Oレジスタ
68はライト・アドレス・カウンタ63、リー
ド・アドレス・カウンタ65にアツプカウントか
ダウンカウントかをCPUが指定するためのもの、
又アドレス・セレクタ70,71にどちらのカウ
ンタ値を選択するかCPUが指定するためのもの、
リード・アドレス・カウンタ2をライトクロツク
かリードクロツクで動かすかを決めるためのもの
と、継なぎを行なうにあたつてtest信号を与える
ことによつて1ライン分の画像データをCCDド
ライバ回路からシフト・メモリ回路に対し与えて
くれるようCPUが制御するためのものである。 第10図にトリミング像を任意のポイントを基
準に任意の倍率に変倍する画像編集を行なう手法
について図解する。A図は原稿面、B図は拡大
図、C図はシフト図である。その画像編集の基本
的手法は、トリミング領域の座標値と移動座標
値と倍率とによつて編集後の座標値を算出する
(A−C図)ものである。それはトリミング領
域の座標値から主走査方向の座標値(x)、副走査方
向の座標値(y)のうち最小(原稿載置基準より)の
ものをCPUが判定しx0,y0とする。座標はmm単
位でキーにより入力されるので、又16ライン/mm
なので、y0座標のライン数L0は(y0×16)とな
る。又x0座標の情報量I0は(x0×16)となる。
(A図)、編集後の領域座標値からx方向、y方
向の最小のものをCPUが判定しx1,y1とする
(C図)。x0と倍率とx1をベースに、シフト・メ
モリから読み出すリード・アドレス・カウンタに
おける読出し開始アドレスのプリセツト値を決め
る(C図のアドレスA3の算出)。この点を第1
0−1図により詳述する。これはシフト・メモリ
で2倍の拡大に供すべく(4752×2)ビツトがあ
る。単純拡大した時メモリの情報量はI1は(x0×
倍率×16)ビツトとなる。又、x0座標の倍率に応
じたシフト・メモリのアドレスA1は(A1−I1
となる。尚、A1はメモリの先頭アドレスでCCD
のつなぎ補正時RAMに記憶されている。ところ
でy0座標の倍率に応じたライン数L2は(L0×倍
率)となる。次にこの拡大像をx1にシフト点から
出力すべくシフト・メモリの読出し開始アドレス
A3を求めるが、それはA2+I2となる。尚I2はシフ
ト座標x1に応じた情報量で、(x1×16)である。
ところでy1座標のライン数L1はy1×16である。 次にy0と倍率とy1とベースに前述PRINT
START(給紙)信号の発生から光学系をスター
トする迄の又はVSYNK発生迄の時間間隔を決定
する(L3の算出)。即ちL1−L2がそれに対応す
る。この差が+L3の時はSTART信号又は
VSYNK信号を基準より、L3×主走査サイクル
(347.2μs)早く出す。又−L3の時はSTART信号
又はVSYNK信号を上記より遅く出す。編集の
領域のみに画像を出力するために、主走査方向の
画像データの一部のみをゲートするための
START BIT COUNTERとEND BIT
COUNTERを設ける。これは第11図の80,
81に各々対応する。これはI/Oを介してゲー
トの為のカウントデータをプリセツトする。フリ
ツプフロツプ82はカウンタ80のカウントアツ
プでセツトされ、81でリセツトされる。第10
−G図にその動作が示される。トリミング領域
の座標値と倍率から副走査方向の変化点間のライ
ン数を算出する(D.E.F図)。これはCPUで
VIDEO ENABLEをカウントすることにより行
なう。図中Mが副走査方向の変化点間のライン
数、Hが主走査方向のビツト数、Nが変倍時の副
走査方向の変化点間のライン数(N=M×倍率)
である。 編集後のx方向座標値からの変化点に於け
るSTART BIT COUNTERとEND BIT
COUNTERのプリセツト値を算出し、第10−
H図の如くセツトする。 尚、トリミングがなく全面に画像を出力する場
合に於いても、このSTART BIT COUNTER
とEND BIT COUNTERを先端余白と分り余白
作成のために利用する。初期化時は上と同様であ
るが、先端余白の2mm×16ライン=36ライン計数
後は分離ベルトかけ巾分をさけるためにSTART
BIT COUNTERを7.5mm×16ビツト=120ビツト
にセツトする。 第12−1図にはリーダAの原稿台ガラス3上
に原稿が置かれている状態を示す。基本的には前
述の如く載置位置は決まつているが、図の如く斜
めにも置ける。この場合原稿台3上の基準座標
SPから主走査方向をX、副走査方向をYとした
時の4点の座標(X1,Y1),(X2,Y2),(X3
Y3),(X4,Y4)をプリンタの前回転動作期間中
に、光学系を前走査して検出する。これにより原
稿の大きさや位置を判別できる。これによりマル
チコピー中のスキヤナキヤンストロークを決めた
り、所望カセツトを選択したりできる。原稿の置
かれている領域外の画像データは必ず黒データに
なる様に、原稿カバー4(第1−2図)が鏡面処
理されている。前走査はガラス面全域を行なうべ
く、主走査、副走査を行ない、その後引続きプリ
ントの為の走査を行なう。この副走査速度はプリ
ント時より速い。 第12−2図の回路図に前記座標を検出する論
理を示す。前走査により2値化された画像データ
VIDEOはシフト・レジスタ301に8ビツト単
位で入力される。8ビツト入力が完了した時点
で、ゲート回路302は8ビツトデータの全てが
白画像かのチエツクを行ない、Yesならば信号ラ
イン3に1を出力する。原稿走査開始後、最初の
8ビツト白が現われた時F/F304がセツトす
る。このF/FはVSYNC(画像先端信号)によ
つて予めリセツトされている。以後、次の
VSYNCの来るまでセツトし放しである。F/F
304がセツトした時点でラツチF/F305に
その時の主走査カウンタ351(第9図の主走査
カウンタ51又は専用カウンタ)の値がロードさ
れる。これがX座標値になる。又ラツチ306に
その時の副走査カウンタ350(第9図の副走査
カウンタ52又は専用カウンタ)の値がロードさ
れる。これがY1座標値になる。従つてP1(X1
Y1)が求まる。 又信号303に1が出力する度に主走査からの
値をラツチ307にロードする。この値は直ちに
(次の8ビツトがシフトレジスタ301に入る迄
にクラツチ308に記憶される。最初の8ビツト
の白が現われた時の主走査からの値がラツチ30
8にロードされると、ラツチ310(これは
VSYNC時点で“0”にされている)のデータと
コンパレータ309で大小比較される。もしラツ
チ308のデータの方が大ならばラツチ308の
データすなわちラツチ307のデータがラツチ3
10にロードされる。又、この時副走査カウンタ
の値がラツチ311にロードされる。この動作は
次の8ビツトがシフト・レジスタ301に入る迄
に処理される。この様にラツチ308とラツチ3
10のデータを全画像領域について行なえば、ラ
ツチ310には原稿領域X方向の最大値が残り、
この時のY方向の座標がラツチ311に残ること
になる。これがP2(X2,Y2)座標である。 F/F312は各主走査ライン毎に最初に8ビ
ツト白が現われた時点でセツトするF/Fで水平
同期信号HSYNCでリセツトされ最初の8ビツト
白でセツトし、次のHSYNCまで保持する。この
F/F312がセツトする時点で主走査カウンタ
の値をラツチ313にセツトし、次のHSYNC迄
の間にラツチ314にロードする。そしてラツチ
315とコンパレータ316で大小比較される。
ラツチ315にはVSYNC発生時点でX方向の
max値がプリセツトされている。もしラツチ3
15のデータの方がラツチ314のデータより大
きいならば信号317がアクテイブになりラツチ
314すなわちラツチ313のデータがラツチ3
15にロードされる。この動作はHSYNC−
HSYNC間で行なわれる。以上の比較動作を全画
像領域について行なうとラツチ315には原稿座
標のX方向の最小値が残ることになる。これが
X3である。又、信号ライン317が出力する時、
副走査からの値がラツチ318にロードされる。
これがY3になる。 ラツチ319と320は全画像領域において8
ビツト白が現われる度にその時の主走査カウンタ
の値と副走査カウンタの値がロードされる。従つ
て、原稿前走査完了時では最後に8ビツト白が現
われた時点でのカウント値がカウンタに残つてい
ることになる。これが(X4,Y4)である。 以上の8つのラツチ6,11,20,18,
5,10,15,19のデータラインはcpuのバ
スラインBUSに接続され、cpuは前走査終了時に
このデータを読み込むことになる。そして、これ
らのデータのうち、X2,X3,Y1,Y4の領域が原
稿領域として判別し、前述したトリミング処理を
プリントの為の原稿走査時に行なうようになつて
いる。即ち原稿の座標成分のX2,X3,Y1,Y4
よつて点線の、原稿位置P1〜P4を囲む長方形の
座標が認識でき、従つてそれに対応したサイズの
シートが少なくとも必要であることが分かる。 プリンタ側は紙先端と座標Y1とが同期する様
レジストローラ18の給紙制御がなされる。標準
モードではリーダからの信号VSYNC(前述画先
センサ37bと同期)でレジストローラ18を作
動するが、この場合前述トリミングシフトの場合
と同様の信号と画先センサ37bからの信号との
間にY1に相当する時間を設けることでなされる。
又各カセツトはリーダの基準位置SP側に対応し
た位置を基準に装填されるので、主走査方向につ
いてX1だけイメージ出力をシフトさせる。これ
は前述トリミングシフトの場合と同様リードアド
レスカウンタのプリセツトの手法により行なう。
以上の制御モードは表示対応のソフトキーにより
選択されるが、専用キーを設けそれを入力作動す
ることによつてもなし得る。 前述オート指令を入力しておくことにより、こ
の部分をカセツトのシートに適合する様な大きさ
に変倍を施してプリントすることができる。これ
はプリンタの選択されたカセツトのサイズ信号が
S.DATAラインを介してリーダに送られるので、
この信号により第10−A図〜第10−L図の前
述の如き手順で、トリミング、シフト、変倍を順
次行なつて所望コピーを得ることができる。即ち
オートは、第12−3図の如くカセツトシートの
X方向、Y方向のサイズPx,Pyに対する原稿の
X方向、Y方向のサイズΔx,Δyの各々の比率
mx,myを求める。そして比率の小さい方をX,
Yに関する共通の倍率としてRAMにセツトし、
前述の変倍処理を行なう。従つてシートの一方向
を基準にしたオート変倍のコピーが得られる。オ
ート2は、第12−4図の如く、シートのX,Y
方向に対する原稿のX,Y方向の各比率を求め、
X方向の倍率、Y方向の倍率を各々独立にセツト
する。従つてシート一杯に原稿像をコピーでき
る。それらオート1,2はトリミング座標を指定
して行なうオート変倍においても同様実行でき
る。 尚、第10−L図に前述トリミング、変倍、シ
フトの手順をフローチヤートで示す。シフトのあ
る場合に限りx0,y0点に関して先ず処理を行なつ
たが(第10−J図)、シフト(移動)のない場
合順次第10−K図の如く、x0′,y0′→x5,y5
より第11図のスタートビツトカウンタ、エンド
ビツトカウンタの制御をしてトリミング外を白と
することができる。この場合トリミング可能なエ
リアは直線で囲まれた1つの領域であるから、y
軸方向に長方形に分割される領域指定をxy座標
で対角線の2点を指定することにより行なう。3
分割をMAXとする。単位はmmで入力する。 つまり(x0y0,x1y1)+(x2y2,x3y3)+(x4y4
x5y5)となる処理を順次行なう。これはマニユア
ルシフト,オートにした場合も同様前述の如く座
標変換してVIDEO出力の制御を行なう。 第11図において、90,91は画像領域を決
めるための排他オアゲート、OFはそれを制御す
る信号で、1のときSTカウンタ、ENカウンタで
決まるワク内をマスクし、外を出力画像とし、O
のときはそのワク内を出力画像としワク外をマス
クする。92は先のイメージデータを出力制御す
るアンドゲート、93は前述マスクを黒として出
力するか、白として出力するかを決めるためのア
ンドゲート、BBはそれを制御する信号で、1の
とき黒、0のとき白を出力する。95はゲート9
2,93により出力されるイメージ出力を
VIDEOとして出力するオアゲート、94はイメ
ージデータを白黒反転制御する排他オアゲート、
INはそれを制御する信号で1のときオリジナル
の生イメージ、Oのとき反転させる。各信号は、
CPUがソフトキーにより、マスキング、白、黒、
ネガの入力のあつたことを判定して出力される。 即ちマスク信号1の場合STカウンタのアツプ
でフリツプフロツプ82のQが1となるとゲート
90の出力がOとなつて、ゲート92はENカウ
ンタがアツプする迄つまりQが0となる迄ゲート
92の出力はない。つまりマスクされる。替りに
ゲート91の出力はその間1なので黒/白信号
BBを1の場合ゲート93は1であり、従つてイ
メージ出力ゲート95は1を続けて出力する。つ
まりマスクされる。逆にOF=1、BB=0とする
と白マスクされる。またOF=0とするとゲート
90,91の出力が各々その間1,0となるの
で、BB=1とするとトリミング外が黒、OFF=
O,BB=0とするとトリミング外が白となる。 第13−1,13−2図は小さいオリジナルの
又はオリジナルのトリミングしたものをシートの
略中央に移動してプリント(センタリング)させ
るための説明図とCPUによる制御フロー図であ
る。即ち前述の如くして斜線部のトリミング座標
の最大値と最小値(TXMAX,TYMAX),
(TXMIN,TYMIN)としてセツトする(1)。こ
れは前述座標検知によつてセツトすることもでき
る。次にシートに合うX,Y方向の倍率を決め
る。これはサブルーチンオートAT2の手法によ
りMX,MYとして求まる(2)。尚X,Y方向に任
意の倍率選択すべく前述の如くテンキーにより
MX,MYを決めることもできるし又サブルーチ
ンAT1によつて決めることもできる。次にシー
トのX方向、Y方向の長さをPS−X,PS−Yと
してRAMにセツトする。これはプリンタからの
データにより決まる(3)。これらのデータを用いて
センタリングの為の移動座標TXM,TYMを求
める(4)。つまりX方向のトリミング巾の変倍した
長さをシートの長さから差し引いてその結果を1/
2するとX方向座標TXMが求まる。同様にY方
向のTYMが求まる。そのTXM,TYMが正の場
合に限り有効とみなし、負の場合は警告を出す。
その後は前述の第10−A〜10−K図の方法に
従う。 次に、以上の技術を応用したブツクモード及び
親表から個表を作成するモードについて説明す
る。 第14−1〜14−3図はプラテン3上の任意
の位置に縦横も任意に載置したブツク原稿を開い
たまま左、左頁又は上、下頁を各々独立に又は続
けて読み取つて1枚又は2枚のシートにプリント
するブツクモードの説明図及び制御フロー図であ
る。さてプラテン上に置かれたブツク原稿には中
央のとじ目が第14−1図aの点線のように副走
査方向に平行な場合と第14−1図bの点線のよ
うに主走査方向に平行な場合が考えられる。以後
第14−1図aにおいて点線(とじ目)より上の
部分を上頁、下の部分を下頁と呼び、第14−1
図bにおいて点線(とじ目)より左の部分を左
頁、右の部分を右頁と呼ぶ。 ブツクモードには細かく以下の7つのモードが
考えられる。 (a) 左頁のみプリント (b) 右頁のみプリント (c) 左右頁を別々のシートにプリント (d) 上頁のみプリント (e) 下頁のみプリント (f) 上下頁を別々のシート一枚のプリント (g) 左右頁又は上下頁の両方をシート一枚にプリ
ント 上記7つのモードは、液晶部202に略語等で
表示されソフトキー201によつて選択指定され
るが、その表示指定方法には(1)(a)〜(g)を別々のモ
ードとして表示選択する。(2)(a)と(d),(b)と(e),(c)
と(f)を同一のモードとして表示選択する。(又は
(a)と(e),(b)と(d),(c)と(f)を同一モードとする)か
の2つが考えられる。 第14−2図に示すようにモード表示指定方法
が(1)の場合も(2)の場合もモード設定後コピースタ
ートキーが押されたらまず原稿座標検知の為の前
スキヤンを行ない(ステツプ1)、ブツク原稿の
位置(X2,Y2)とサイズ(X3−X2,Y4−Y1)
を算出し(ステツプ2)、コピー用紙サイズPS−
x,PS−yをセツトする(ステツプ3)。 モード指定方法が(1)の場合には、ブツク原稿の
位置とサイズが判明したら直ちに前記各モード(a)
〜(g)に応じて以下の処理を行なう。 モード指定方法が(2)の場合には後述するように
セツトされた原稿が14−1図aのような向きか
14−1図bのような向きかを判定したあと、以
下の処理を行なう(ステツプ12〜26)。 (a) 左頁のみプリントの場合はまずトリミング座
標のXMiNをXZ XMAXをX3,YMiNをy1,
YMAXをブツクの中心のY座標(y1+y4)×
0.5とした後(ステツプ13,ステツプ15)、前述
のセンタリングを施す。(ステツプ25)。次に光
学系の反転位置をYMAXに若干の余裕分Υを
プラスして、反転位置Pとする(ステツプ26)。
これらデータはRAMにセツトされる。このよ
うにして求めた座標に従つて第14−1図bの
ブツク原稿の左半分のイメージをシート中央に
プリントできる。 (b) 右頁のみのプリントの場合、XMiN,
XMAXは(a)と同様にしてステツプ13、YMiN
をブツクの中心のY座標(y1+y4)×0.5、
yMAXをy4とする(ステツプ17)、次に前述の
センタリング(ステツプ25)を施した後、光学
系反転ポイントP(ステツプ26)を求める。 (c) 左右の頁を順次別々のシートにプリントする
場合(ステツプ20)は上述(a)左頁のみの場合と
(b)右頁のみの場合を順次行なつてデータセツト
する。すなわち2サイクル分のデータを1ペー
ジ目のデータはステツプ21〜ステツプ23でセツ
トし、2ページ目のデータはステツプ24〜26で
セツトし記憶する。 (d) 上頁のみプリントの場合は、トリミング座標
yMiNをy1,yMAXをy4,XMiNをX2としさ
らにXMAXをブツクの中央(y2+x3)×0.5と
した後(ステツプ12、ステツプ15)、前述のセ
ンタリング(ステツプ25)を施す。光学系反転
位置Pとして、yMAXに若干の余裕分Υを加
え(ステツプ26)、これらのデータをRAMに
セツトする。このようにして求めた座標に従つ
て第14−1図aのとじ目から上半分のイメー
ジがシートの中央にプリントされる。 (e) 下頁のみプリントの場合トリミング座標、
yMiNとyMAXを(d)の場合と同様にしてXMiN
をブツクのとじ目(x2+x3)×0.5として
xMAXをX3とし(ステツプ12、ステツプ17)、
前述のセンタリング(ステツプ25)光学系反転
位置Pは(d)と同様にする(ステツプ26)。 (f) 上下の頁を順々別々のシートにプリントする
場合は上述(d)上頁のみの場合と(e)下頁のみの場
合を順次行なつてデータセツトする。即ち上下
2サイクル分のデータを(1ページ目のデータ
はステツプ21〜23、2ページ目のデータはステ
ツプ24〜26でデータセツト)記憶する。 (g) 左右、又は上下両方を一枚のシートにプリン
トする場合は、通常のコピーと同様にyMiNを
y1,yMAXをy4,XMiNをX2,XMAXをX3
とし(ステツプ19)前述のセンタリングを施こ
し(ステツプ25)、光学系反転位置PはyMAX
に若干の余裕分Υを加え(ステツプ26)これら
のデータをRAMにセツトする。プリント実行
に必要なデータのRAMへのセツトが終了次
第、本スキヤンにはいり、プリントを実行す
る。 本スキヤンにおいては、プリセツトしておいた
RAMの内容に従つて、前述アドレスカウンタの
プリセツト制御、スキヤナのシーケンス制御を行
なつてプリントを行なう。つまりモードcすなわ
ち第14−1図bのようにブツク原稿を載置し、
2頁を連続してプリントする場合は左頁をプリン
トする1回目のスキヤン時も右頁プリントの2回
目のスキヤン時もシフトメモリからの画像データ
の読み出しを制御するリードアドレスカウンター
及びスタートビツトカウンタ、エンドビツトカウ
ンタへのプリセツト値は同様で、ただ光学系の反
転位置が1回目はY1+Y4/2+Υ2回目はY4+Υと なり異なる。 一方モードfすなわち第14−1図aのように
ブツク原稿を置いて上頁、下頁と2頁連続してプ
リントする場合、1回目のスキヤン時も2回目の
スキヤン時も光学系の反転位置はY4+Υで等し
く、逆の前記各種カウンタへのプリセツト値が異
なる。 以上の動作はオート変倍、マニユアル変倍を問
わず可能で又、原稿の有効画像領域外を白又は黒
にすることも任意である。以上の各モードでは、
前述の如くスキヤナのスタートタイミング又はプ
リンタ側のシート給紙のレジストタイミングをセ
ンタリング等による情報量に応じて遅らしたり早
めにしたりすることにより、適正位置に像再生す
る。尚原稿のY座標をテンキー又はサイズキーを
使つてマニユアル入力することもできる。又主走
査方向は自動検知、キー入力で求めたX座標2に
より単にセンタリングのみを行なう。このように
してリアルタイムで本の右、左頁又は上、下頁を
本を移動することなく適正変倍してプリントで
き、コピー操作を極めて容易にできる。又シート
の中央部にプリントでき、又余分な情報を任意に
カツトできるので、極めてココピー品質を高くで
きる。又リーダによる読取り完了前にプリントを
開始でき各編集を行なつたにも拘らずコピー速度
を極めて高くできる。 次に前記モード指定方法(2)の場合のブツク原稿
の載置向き自動判定について説明する。 選択されたシートサイズの主走査方向の長さを
PS−X、副走査方向の長さをPS−Yとする。一
方検出されたブツク原稿のサイズを副走査方向に
平行に2等分した上下頁サイズ(X3−X2/2・Y4 −Y1)と主走査方向に平行に2等分した左右頁
サイズ(X3−X2,Y4−Y1/2)を求める。次に上 下頁についての変倍出力後のサイズのタテヨコ比
MX×(X3−X2)/2/My×(y4−y1)を求めRとし、(5
)同様に左右 頁についてもMX×(X3−X2)/My×y4−y1/2を求める
と4Rと なり、その間には()1R<4R ()R
14R ()R<4R1 の3通りの関係
がある。(ただし自動変倍モードの場合はMx/
My=1とする。(6)一方PS−X/PS−yについ
ても(1)PS−x/PS−y>1(2)PS−x/PS−y<1が考
えられる (PS−x/PS−y=1は通常シートサイズではありえな いので省く) 以上(),(),()と(1),(2)の各条件の相
関により、プラテン上のブツク原稿が14−1a
から14−1bのどちらの向きに載置されている
かを判定する。結果を14−3図に示す。(ステ
ツプ7,8,9,10,11)。 ()1R<4Rの場合は例えR=1と仮定し
ても4R=4となり通常シートサイズのタテヨコ
比と大きく異なり一般的でないのでRの方すなわ
ち上下頁と判定する。 逆に()R<4R1の場合は4R=1と仮定
してもR=0.25となりやはり上と同様の理由で
4Rすなわち左右頁と判定する。 ()R<1<4Rの場合はPS−x/PS−y>1の時 は4Rすなわち左右頁PS−x/PS−y<1の時はRすな わち上下頁と判定する。これは原稿の長手方向を
シートの長手方向に短手方向を短手方向に出力し
ようという意図である。 以上の判定方法はオペレータの選択したシート
サイズに基づいたものであるが、これ以外に自動
認識したブツク原稿のサイズ(X3−X2)と(y4
−y1)を比較して長い方を2等分する方法は簡
単でかつ一般の書籍類(A,B系列LETTER系
列)には充分有効であり、又シートの自動選択モ
ードにおいても効果がある。 上記方法による具体例を以下にのべる。閉じた
状態で約150mm×105mmの文庫本の左右の各頁を
A4サイズの各々のシートにプリントする場合に
プリンターにA4の横送りのカセツトしかなけれ
ばオペレーターは文庫本をそのとじ目が主走査方
向に平行になるようにプラテン上の任意の位置に
置いて、モード設定後コピースタートキーを押す
だけでよい。この場合自動検知されるサイズは
X3−X2≒150mm、y4−y1≒210mmなので、等倍又
は自動変倍の場合前述R≒0.36 4R=1.43となる。 又A4シート横送りの場合PS−X=297(mm)、
PS−y210(mm)だからPS−x/PS−y=1.41と
なり、第14−3図に従い左右頁と判定され、所
望のプリントがえられる。等倍であれば前述のセ
ンタリングによりシート中央に、プリントされ、
まわりに黒枠は出ない。又自動変倍の時はA4シ
ート一杯に200%に拡大される。 又、もしプリンターにA4縦送りのカセツトし
かなければオペレータは文庫本をそのとじ目が副
走査方向に平行になるべく、プラテン上の任意の
位置に置けばR=0.7,4R=2.8,PS−x/PS−
y=0.7となり、今回は上下頁と判定され、やは
り所望のプリントがえられる。 さて次に、個表作成モードの説明をする。個表
作成モードは第15−1図に示すように同じ形の
フオーマツトで構成される個表が規則正しく配列
しているような親表から、1度の出力要求に対し
て、指定された複数の個表を指定された順序で1
つずつ別々の用紙の同じ位置に、第15−2図の
ようにトリミングして出力するものである。 以下、第15−1図、第15−2図、第15−
3図、第16図に従つて説明する。 オペレーターはまず基準トリミングポイント
Bxi,Byi,(i=0,…,5)を操作部から入力
する(SP160)。基準トリミングポイントは第1
5−1図に示すようにSP(原稿の原点)に最も近
いトリミングすべき個表(A)のトリミングポイント
であり、トリミングポイントについては前述し
た。第15−1図の個表Aには最大3つまで指定
した例を挙げてあるが、2つの場合でも1つの場
合でも個表作成は当然可能である。 次に、トリミングポイント基準オフセツト値xs
とysを操作部から入力する(SP161)。トリミン
グポイント基準オフセツト値とは、第15−1図
に示すように、規則正しく一定間隔でならんでい
る、となり合う個表、例えばAとB、AとEの対
応するトリミングポイント間の距離であり、その
主走査方向の距離xsと副走査方向の距離ysで与え
られる。 上述のBxi,Byi,xs,ysから、全ての個表の
トリミングポイントはxi=Bxi+3・xs,yi=
Byi+2・ys(i=0,…,5)となる。 次に、これらの個表のうちどの個表をどういう
順序で出力するのかを操作部から入力する
(SP162)。まず、各個表の指定は第15−2図に
示すように、マトリクスの要素として表現するこ
とで行なう。基準個表Aは必ず(1,1)で表わ
し、例えば個表Lは(4,3)で表わされる。こ
の要素を表わす1対のデータを実行する順序に格
納するRAM上のエリアがSEQXjとSEQYjであ
る。ここでjは実行の順番を示す添字であり、例
えばSEQXjはn+1バイト分確保されている、
SEQXという名前のRAM上のエリアのj番目の
値ということである。nは実行するのに十分なよ
うに適当に与えればよい。 具体的な例で説明する。例えば第15−2図に
おいてF,K,D,I,Cの順で各個表をトリミ
ング出力したい場合は、各個表をマトリクス要素
で表現すると(2,2),(3,3),(4,1),
(1,3),(3,1)となるので、SEQX及び
SEQYを下表のようにセツトすればよい。
[Technical Field] The present invention relates to an image processing device that can separately output a plurality of desired region images through simple operations. [Prior Art] Conventionally, image processing apparatuses such as copying machines directly project an original onto a photoreceptor, which has the disadvantage of copying an image outside of a desired area. For example, when creating an individual table from a master table, it was necessary to shift the manuscript a little at a time, mask the unnecessary parts, and manually stack an overlay format with holes punched in the necessary parts, but this was time-consuming and labor-intensive. However, there were some drawbacks such as a number of erroneous outputs. [Objective] The present invention has been made in view of the above drawbacks, and an object of the present invention is to eliminate the above drawbacks. An object of the present invention is to provide an image processing device that can separately output images of a plurality of desired regions by simple operations. SUMMARY OF THE INVENTION An object of the present invention is to provide an image processing apparatus that can output desired areas separately in any order and with a single output request. [Embodiment] Fig. 1-1 shows the appearance of a copying apparatus according to the present invention. This device basically consists of two units. They are reader A and printer B. The reader and printer are mechanically and functionally separated so that they can be used independently. Connections are made only by electrical cables. Reader B is equipped with an operation section A-1. Details will be described later. FIGS. 1-2 show structural cross-sectional views of reader A and printer B. The document is placed face down on the document glass 3, and its placement reference is on the back left side when viewed from the front.
The original is pressed onto the original glass by the original cover 4. A document is illuminated by a fluorescent lamp 2, and an optical path is formed such that the reflected light is focused on the surface of the CCD 1 via mirrors 5 and 7 and a lens 6. The mirror 7 and the mirror 5 are designed to move at a relative speed of 2:1.
This optical unit is powered by a DC servo motor.
Move from left to right at a constant speed while applying PLL. This moving speed is the forward path of irradiating the original.
180mm/sec, and the return journey is 468mm/sec.
The resolution in this sub-scanning direction is 16 lines/mm.
The document sizes that can be processed range from A5 to A3, and the document placement direction is A5, B5, and A4 are placed vertically, B4, and A4 are placed vertically.
A3 is placed horizontally. The return of the optical unit depending on the document size is performed using the reader's signal VIDEO.
ENABLE is counted from the tip sensor (described later) and executed when the counted value corresponds to the original size. Next, regarding the main scanning direction, the main scanning width is the maximum horizontal width of A4 paper, 297 mm, depending on the orientation in which the document is placed. And in order to resolve this at 16pel/mm,
Since 4752 (=297 x 16) bits are required for the CCD, this device uses a 2688-bit CCD.
Two array sensors were used and driven in parallel. Therefore, from the conditions of 16 lines/min and 180 mm/sec, the main scanning period (=CCD accumulation time) is T=
1/v・n=1/180×16=347.2μsec. The transfer rate of CCD is f=N/T=2628/347.2μsec=7.7419NHz. Next, referring to FIGS. 1-2, an overview of the printer placed under the reader will be described. The image signal processed by the reader section and converted into bit serial is input to the laser scanning optical system unit 25 of the printer. This unit consists of a semiconductor laser, a collimator lens, a rotating polygon mirror, an Fθ lens, and a tilt correction optical system. The image signal from the reader is applied to a semiconductor laser and undergoes electrical-to-optical conversion, and the diverging laser light is converted into parallel light by a collimator lens, and is irradiated onto a polyhedral mirror that rotates at high speed, thereby scanning the laser light onto the photoreceptor 8. do. The rotation speed of this polyhedral mirror is 2600 rpm. The scanning width is approximately 400 mm, and the effective image width is 297 mm (A4 horizontal size). Therefore, the signal frequency applied to the semiconductor laser at this time is approximately
20NHz ( NRZ ). The laser beam from this unit is incident on the photoreceptor 8 via the mirror 24. The photoreceptor 8 is composed of three layers, for example, a conductive layer, a photosensitive layer, and an insulating layer. Therefore, process components are arranged thereto which make it possible to form an image. 9 is a front static eliminator, 10 is a front static eliminator, 11
1 is a primary charger, 12 is a secondary charger, 13 is a front exposure lamp, 14 is a developer, 15 is a paper feed cassette,
16 is a paper feed roller, 17 is a paper feed guide, 18 is a registration roller, 19 is a transfer charger, 20 is a separation roller, 21 is a conveyance guide, 22 is a fixing device, 23
is a tray. The speed of the photoreceptor 8 and the conveyance system is 180 mm/sec, which is the same as the forward path of the reader. Therefore,
When the reader and printer are combined, the copying speed is 30 A4 sheets/minute. Further, printers use a separating belt on the front side to separate the copy paper that is in close contact with the photosensitive drum, but because of this, an image corresponding to the width of the belt is missing. If a signal is placed over that width, it will be developed, and the toner will stain the belt and stain subsequent sheets of paper. The belt has a width of 8 mm and is designed to cut off the video electrical signal output from the printer. Also, if toner adheres to the leading edge of the copy paper, it will wrap around the fixing roller and cause a jam when it is fixed, so the electrical signal should also be cut off on the reader side to prevent the toner from adhering to the 2mm width of the leading edge of the paper. There is. Next, Figures 2-1 and 2-2 show the main scanning direction of the reader and printer and the output images. The reader runs from the back side to the front side, and the printer runs from the front side to the back side. The copying machine in this example has intelligence such as image editing, but this intelligence is done on the reader side by processing the signals read by the CCD, and in any case, the information is not processed at the stage of output from the reader. Also, a signal with a constant speed is output with a constant number of bits (4752). The intelligence functions include the ability to enlarge/reduce images to any magnification within the range of 0.5 to 2.0 times, a specific magnification, a cropping function that extracts only a specified area, and a cropped image that can be placed anywhere on the copy paper. There are functions such as a movement function to move the document to the document table, a function to recognize the document placed on the document table, etc. Furthermore, it has a composite function that combines these individual intelligent functions.
FIG. 3 shows specific examples of these. (a) shows the editing function, 1 shows the front surface of the document, 2 shows the state when copying is completed when only trimming coordinates are specified, and 3 shows trimming coordinates specified +
When specifying movement coordinates (however, an error message will be displayed if the size exceeds the copy paper size), 4 is trimming coordinate specification + movement coordinate specification + arbitrary magnification (however,
5 is when specifying trimming coordinates + specifying moving coordinates + reducing the desired magnification (if the copy paper size is exceeded, an error message is displayed), 6 is specifying trimming coordinates + AUTO specification (0.5 → 2x range) 7 shows the state when the copy is completed when the trimming coordinate specification + AUTO specification is performed. Note that the trimming coordinates to be shifted to the movement coordinates are determined based on the coordinate point having the smallest value in the sub-scanning direction. (b) shows the relationship between the CCD and the laser main scanning direction, and (c) shows the method for specifying trimming coordinates. If it is a single workpiece surrounded by a straight line, the order of designation is as follows. This coordinate designation is performed using the numeric keypad 108 shown in FIG. FIG. 4 is a detailed view of the operating section A-1 in FIG. 1. This operation section is divided into three main blocks. The block on the right is a general-purpose key display section 100 found in conventional copying machines. The central block is a function key/display section 300 for calling up and using a copy/transmission function that the user has created and registered as desired through a program. The block on the left is a soft key display section 200 for the user to arbitrarily create copying and transmitting functions. First, the general-purpose key display section 100 will be explained. 103
is a 7-segment LED display for displaying the desired number of copies set and the number of copies in progress. 1
02 is a warning display used in conventional copying machines such as jam, out of toner, out of paper, copy interruption, etc. Reference numeral 104 denotes a copy density switching lever and the density display obtained thereby. Reference numeral 105 is a selection display device for selecting whether the original image is only text, only photos, a mixture of text and photos, or section paper. These are provided to perform different image processing so that four types of original images can be copied in an optimized form. 106 indicates whether the selected cassette stage is the upper stage or the lower stage. Reference numeral 107 is a display device for displaying the paper size stored in the cassette of the selected cassette stage. 108 is a group of numeric keys 0 to 9 and C for setting the number of sheets on the display 103 and for software. The key display section 200 is used to enter numerical values (for example, trimming coordinates, movement coordinates, scaling factor, destination address designation, etc.) during the program creation process. 109 entry keys are provided as confirmation keys for the latter 200 key entries. Reference numeral 110 denotes an interrupt key for interrupting multi-copy and making another multi-copy, 111 is a copy cancel key for canceling multi-copy by the printer, and 101 is a copy key for instructing the printer to start printing. 113 is a document image switching key of 105, and 112 is a cassette stage switching key.
The selections 113 and 112 shift from top to bottom every time a key is turned on. Function key display section 3
00, this part has a structurally removable cover. The reason is as mentioned above, the software
One of the functions created arbitrarily on the key display section is registered and corresponds to one key 302, so it is necessary to give a name to the function created by yourself and write it in the key 302. Therefore, after registering a function, remove this cover, write a name on any of the registered keys 302, and put the cover back on to perform the same operation. As described above, since six function keys 302 are prepared, the user can register six complex functions. When the user creates a function on the soft key display section 200, a message asking whether or not to register it will appear on the soft key display section 202. If the user responds to this using the soft key 201, the function will be displayed on the function display section 300. All six indicators 303 corresponding to six certain keys perform a blinking operation. This means that the machine is asking the operator, "Which function key would you like to register the above function to?" Therefore, if the operator presses any key at this time, the display corresponding to that key will turn on, and the other displays will turn off. The operator then removes the cover, writes the function name on the key, and puts the cover back on. Since the contents registered hereafter are backed up into memory, they will not be erased even if the power switch is turned off. Key 301 is a standard mode return key. The reader unit will be explained in detail. FIG. 5 shows a system block diagram of the reader unit. The interface signals with this reader are shown on the right. Connector JR1 when connecting to a printer
Connect to connector JP1 on the printer side. JR1
The timing of the interface signals is shown in FIGS. 6 and 7. The BEAM DETECT signal BD is used to synchronize the rotation of the scanner when a printer is connected, and corresponds to the tip signal of each line.
VIDEO is an image signal, and 4752 signals are output per line with a width of 55 ns per pixel. However, one pixel has up to three values, that is, 0, 1/2, and 1, so at 0, the width is 55ns L, and 1/2
27.5ns in the first half is H, 27.5ns in the second half is L, and in 1
55ns width becomes H. This signal is used if a printer is connected.
It is output in synchronization with the BEAM/DETECT signal, and in other cases (transmission to others, etc.), it is output in synchronization with the internal pseudo signal. VIDEO ENABLE is a signal for a period during which 4752 bits of the image data are output. This is also output in synchronization with BEAM DETECT or an internal pseudo signal. VSYNC is the output of the image tip detection sensor 37b in Figure 8 and BEAM
It is a signal that is output in synchronization with DETECT or an internal pseudo signal, and means that image data will be output from now on. Signal width is VIDEO
Same as ENABLE. The PRINT START signal is a paper feed command to the printer side. This PRINT
The time interval between START and VSYNC is determined by the control circuit (FIGS. 9 and 11) in consideration of the variable magnification and the trimming area. PRINTEND is a response signal from the printing side, which is issued when the trailing edge of the copy paper leaves the photosensitive drum and lands on the conveyor belt, indicating that the printing operation has ended. This detects the completion of copy paper separation and is issued according to sequence timing. PRINTER
The CONNECT signal is output when the PRINTER is connected, and this terminal is connected to GND on the printer side.
It is connected to. This causes the printer to be activated for printing. S.DATA, S.CLK, CSC BUSY, PSCBUSY
is a serial signal line for carrying out a protocol (allowing transmission between the two, exchanging information such as signals, etc.) between the reader and the printer. S.DATA and S.CLK are 16-bit protocol data and clock, and both are bidirectional lines. CSC BUSY is output when the reader side outputs data and clock to the above line,
PSC BUSY is output when the printer side outputs data and clock to the above line. Therefore,
These lines indicate the transmission direction of S.DATA and S.CLK. The timing of details is the 7th
Please refer to the figure. Returning to FIG. 5 again, the system block of the reader will be explained. CCD reading section 501, 50
1' contains a CCD, a clock driver for the CCD, a signal amplifier from the CCD, and an A/D converter for A/D converting the signal. Control signals for the CCD are generated by CCD control signal generating sections 503 and 503' and supplied to clock drivers of CCD reading sections 501 and 501'. This control signal is generated in synchronization with the horizontal synchronization signal BD from the printer.
Image data converted into 6-bit digital signals is output from the CCD reading sections 501, 501' and input to the image processing sections 502, 502'. The image processing units 502 and 502' include a sampling circuit for sampling the CCD output and controlling the light intensity of the light source by the CPU, a circuit for detecting the amount of shading of the light source and lens, and a correction circuit for the same, and a main circuit for performing the AE function. A peak hold circuit detects the peak value of the light amount during scanning, and the 6-bit image data after the shading correction is completed, determines the slice level based on the peak hold value of the previous line or the line before the previous line, or the dither pattern, and converts it into binary data. Alternatively, it has a quantization circuit for ternarization. Image processing section 50
The image signal quantized at 2,502' is input to an image editing section 504, 504'. The image editing sections 504, 504' have buffer memories for two lines. The capacity for one line is more than twice the number of pixels per line, 4752. The reason for this is that when enlarging by 200%, each pixel data is written into the memory using twice as many sampling plates, so the amount of data doubles. Also, the buffer memory for 2 lines is used because the memory cannot perform writing and reading at the same time, so when the Nth line of image data is being written to the first memory, the N-1th line from the second memory is written. This is to read out the image. In addition, this part includes a write address counter for writing image data into this buffer memory, a read address counter for reading image data, and an address selector circuit for switching address signals from these two counters. The counter uses a parallel load type in which the initial value can be preset, and the initial value is loaded by the CPU to the I/O port. The CPU presets the counter with an address value corresponding to the main scanning coordinates each time the sub-scanning reaches a line corresponding to the trimming coordinates according to the coordinate information instructed by the operation unit, thereby making it possible to edit the document information. . There are coordinate area control counters and gate circuits to enable white masking, black masking, white frame trimming, and black frame trimming. There is a seam detection shift register for automatic splicing of CCD. The image data from the image editing department is initially 50
4 and then output from 504', the synthesizing unit 505 smoothly switches them to form one serial image data. Recognition unit 5
06 is for pre-scanning the document during the idle rotation period after the copy button is turned on, and detecting the coordinates where the document is placed at that time. This part includes a shift register for detecting 8 bits of continuous white image data, an I/O port, and main/sub-scanning counters. The operation unit 507 includes a key matrix,
There are LEDs, LCDs and LCD drivers. 508 is a DC motor for scanning the optical system, and 509 is its driving circuit. 510 is a fluorescent lamp for illuminating the manuscript;
11 is its lighting circuit. 512 is a photosensor that detects that the optical system unit is at the home position, and 513 is a photosensor that detects that the optical system unit is at the position where the leading edge of the document is irradiated. The CPU section 514 includes a CPU, ROM, RAM,
Battery backup circuit, timer circuit, I/O
It consists of an interface. CPU section 51
Reference numeral 4 controls an operation unit 507, which performs sequence control of the reader according to operation commands from an operator, and at the same time controls the printer with commands. In addition, in accordance with instructions related to image processing from the operation unit 507, the image processing units 502 and 5
02', data is set for various counters in the image editing units 504, 504'. Furthermore
Prior to document scanning, the CPU controls the light amount of the fluorescent lamp lighting device 511 based on the light amount data from the image processing section, presets speed data for the DC motor drive circuit 509 according to the magnification command, and controls the image editing section. The image connection data from 504 and 504' is collected and the amount of connection is calculated. Sequence control will be explained with reference to FIGS. 8 and 6. As shown in FIG. 8, the reader has three position sensors 37a to 37c on its scanning optical system. The optical system home position sensor (outputs the signal OHP) is located on the far left side when viewed from the front of the reader, and the optical system is normally stopped at this position. When the reader is driven, the optical system starts scanning from left to right, and the image leading edge sensor 37b is provided exactly at the reference position of the image. The control circuit is this sensor 3
When 7b is detected, the image data signal (VIDEO,
CLK) and outputs the data valid period (VIDEO
ENABLE) signal. Then, the control circuit starts counting the number of VIDEO ENABLE signals from the sensor 37b, and when the count value α corresponding to the point corresponding to the cassette size or variable magnification of the printer is reached, the optical system forward drive signal is turned off. Switch to reverse drive signal and invert. A PRINT START sensor 37c is installed in the middle of the return trip, and when the optical system activates this sensor after reversing, the control circuit judges whether or not the specified number of copies has been scanned, and if it does not match the specified number of copies, the printer Generates a PRINT START signal to give the next paper feed instruction. It is necessary to adjust the position of the sensor 37c so that T2 in FIG. 9 becomes equal to T1 . / (variable magnification) Next, see Part 9 about how to enlarge/reduce the original image.
The explanation will be based on the diagram. The basic idea behind variable magnification is
In the sub-scanning direction, the speed of the DC servo motor 37d is made variable. The CPU calculates the speed based on the keyed-in magnification and then responds to that speed.
The PLL frequency is calculated and preset in the I/O latch 1, 58 before scanning. On the return trip, a fixed value is set, which returns the optical system at high speed. This is done by presetting this I/O latch 1 with a value stored in the CPU's ROM. Therefore, when enlarging the image twice, it moves at half the speed of normal magnification (180 mm/sec), and when reducing it by half, it moves at twice the speed. Main scanning is a method of sampling a CCD serial signal (after A/D conversion) output at a constant frequency at a clock rate that corresponds to the magnification. For example, when enlarging by 2 times, sampling at a clock rate twice the CCD clock rate increases data by 1 bit for every 1 bit of source information, and when reducing by 1/2, data is obtained by sampling at a clock rate twice the CCD clock rate. By sampling at a 1/2 clock rate, data in which 1 bit is thinned out for every 2 bits of source information can be obtained. The CPU calculates this clock rate based on the input magnification and uses the I/O clock rate before starting sub-scanning.
Set the latch to 2,50. As mentioned above, the CCD has a 2628-bit configuration, but there are 36 dummy bits and only 36 valid bits.
This means 2592 bits. Its driving frequency is 7569 Hz, and its signal line is the φ1 clock line 55. The clock for scaling is synchronized by the PLL 48 with the frequency oscillated by the VCO 9 based on the same source oscillation as φ 1 and the value of the I/O latch 2 to form a variable frequency as φ 2 .
The 2592-bit analog signal output from the CCD is amplified by AMP42 and AGC (automatic gain control circuit).
Can be applied to. The AGC 43 detects the white level because the white level changes depending on long-term changes in the light intensity of the fluorescent lamp, the background of the document, etc., and converts the white level so that the relative change amount is applied to the A/D converter 44. This is a circuit that clamps the level. and
The output of the AGC is converted into 6-bit parallel bits which are binary values that are A/D converted. On the other hand, the dither ROM 54 has an 8-bit interval in the main scanning direction.
The same weighting code (6
32 types of weight codes are allocated within this 8×8=64 bit matrix. Therefore, a 3-bit main scanning counter 51 and a 3-bit sub-scanning counter 5
By addressing this dither ROM 54 by 2, different weight codes are output. Moreover, there are a plurality of combinations of weight codes set in this 8×8, and consideration is given to changing the reproducibility of the halftone image depending on the combination. Selection of this combination is performed by I/O latches 3 and 53, and presetting of these latches is performed by the CPU before starting the sub-scanning. The main scanning counter 51 is driven by a φ 2 clock whose frequency is variable depending on the magnification, and the sub-scanning counter 52 is driven by the BEAM DETECT signal. The 6-bit weight code from the dither ROM 54 and the A/D-converted 6-bit code are compared in a comparator 47 to obtain a binarized image signal that can reproduce a serial halftone. . Next is circuit No. 45, in which the conversion time by A/D conversion differs depending on each bit, so it is latched again at φ1 for synchronization. Also, as a matter of course, the address counters of the shift memories 57-1 and 57-2 are operated by the φ2 clock.
As described above, shift memories 57-1, 57-2
contains 2592 bits at 1x, and 2592 bits at 1/2x.
1296 bits, 5184 bits when doubled. The speed of the sub-scanning DC motor 37d is determined by I/O to the CPU.
The value preset in O latch 1, 58 is the VCO
59, the resulting oscillation frequency is synchronized with the source oscillation and the PLL 60, and is applied to the servo circuit 61, thereby being controlled. FIG. 11 shows a circuit diagram related to the shift memory. Shift memory 1 is a static memory into which CCD1-based image data is stored. Shift memory 2 is a static memory into which CCD2-based image data is stored. The write address counter 63 is an address counter used when writing data to shift memories 1 and 2. Read address counter 1 is an address counter when reading data from shift memory 1, and read address counter 2 is an address counter when reading from shift memory 2. Address selector 1 selects either the address signal of write address counter 63 or the address signal of read address counter 1 and shifts.
This is for addressing memory 1, and address selector 2 is for writing address.
This is for addressing the shift memory 2 by selecting either the address signal of the counter 63 or the address signal of the read address counter 2. The shift register 74 is a register for taking out 8 bits of CCD1 system image data from the lowest order, and the shift register 76 is for
This is a register for extracting image data in units of 8 bits from the most significant part of the CCD2 system. F/F73 is
This F/F is set at the rising edge of the VIDEO ENABLE signal and reset at the ripple carry of the write address counter 63, and is used to control the period of input to the shift register 74.
F75 is set at the rise of VIDEO ENABLE,
The shift register 76 is an F/F that is reset by a ripple carry of the read address counter 2.
This is to control the period to be input.
The I/O port 72 is an I/O for the CPU to read and check how far it has counted when the write address counter 63 is moved by up count.
It is. The I/O registers 66 to 69 input preset values to the write address counter 63 and read address counters 64 and 65, respectively.
is a register for giving. The I/O register 68 is used by the CPU to specify whether the write address counter 63 or the read address counter 65 should be counted up or down.
Also, for the CPU to specify which counter value to select for the address selectors 70 and 71,
This is used to decide whether to operate the read address counter 2 by the write clock or the read clock, and to shift one line of image data from the CCD driver circuit to the memory by applying a test signal when performing splicing. This is for the CPU to control so that it gives to the circuit. FIG. 10 illustrates an image editing method for changing the magnification of a trimmed image to an arbitrary magnification based on an arbitrary point. Figure A is a document surface, Figure B is an enlarged view, and Figure C is a shift diagram. The basic method of image editing is to calculate the coordinate values after editing based on the coordinate values of the trimming area, the movement coordinate values, and the magnification (see diagrams A to C). The CPU determines the minimum (based on document placement standards) of the coordinate values in the main scanning direction (x) and the coordinate values in the sub-scanning direction (y) from the coordinate values of the trimming area, and sets them as x 0 and y 0 . . Coordinates are entered using keys in mm units, so 16 lines/mm
Therefore, the number of lines L 0 at the y 0 coordinate is (y 0 ×16). Also, the amount of information I 0 of the x 0 coordinate is (x 0 ×16).
(Figure A), and the CPU determines the minimum values in the x and y directions from the edited area coordinate values and sets them as x 1 and y 1 (Figure C). Based on x 0 , the magnification, and x 1 , determine the preset value of the read start address in the read address counter read from the shift memory (calculation of address A3 in Figure C). This point is the first
This will be explained in detail with reference to Figure 0-1. This has (4752×2) bits for double expansion in shift memory. When simply expanded, the amount of information in the memory is I 1 (x 0 ×
Multiplier x 16) bits. Also, the address A 1 of the shift memory according to the magnification of the x 0 coordinate is (A 1 − I 1 )
becomes. In addition, A 1 is the first address of the memory and CCD
It is stored in RAM when correcting the seam. By the way, the number of lines L 2 corresponding to the magnification of the y 0 coordinate is (L 0 × magnification). Next, in order to output this enlarged image to x 1 from the shift point, set the read start address of the shift memory.
Find A 3 , which becomes A 2 + I 2 . Note that I 2 is the amount of information corresponding to the shift coordinate x 1 and is (x 1 ×16).
By the way, the number of lines L 1 at the y 1 coordinate is y 1 ×16. Then print the above on y 0 and magnification and y 1 and base
Determine the time interval from the generation of the START (paper feed) signal until the start of the optical system or until the generation of VSYNK (calculation of L 3 ). That is, L 1 −L 2 corresponds to it. When this difference is +L 3 , the START signal or
Output the VSYNK signal L 3 × main scanning cycle (347.2 μs) earlier than the reference. Also, when -L 3 , the START signal or VSYNK signal is output later than above. To gate only part of the image data in the main scanning direction in order to output the image only to the editing area.
START BIT COUNTER and END BIT
Establish a COUNTER. This is 80 in Figure 11,
81 respectively. This presets the count data for the gate via I/O. Flip-flop 82 is set by counting up counter 80 and reset by 81. 10th
-The operation is shown in figure G. The number of lines between changing points in the sub-scanning direction is calculated from the coordinate values and magnification of the trimming area (DEF diagram). This is a CPU
This is done by counting VIDEO ENABLE. In the figure, M is the number of lines between changing points in the sub-scanning direction, H is the number of bits in the main scanning direction, and N is the number of lines between changing points in the sub-scanning direction when changing magnification (N=M x magnification).
It is. START BIT COUNTER and END BIT at the point of change from the x-direction coordinate value after editing
Calculate the preset value of COUNTER, and
Set as shown in figure H. In addition, even when outputting the entire image without cropping, this START BIT COUNTER
and END BIT COUNTER are used to create a margin that separates from the tip margin. Initialization is the same as above, but after counting the tip margin of 2 mm x 16 lines = 36 lines, start START to avoid the width of the separation belt.
Set BIT COUNTER to 7.5mm x 16 bits = 120 bits. FIG. 12-1 shows a state in which a document is placed on the document table glass 3 of the reader A. Basically, the placement position is fixed as described above, but it can also be placed diagonally as shown in the figure. In this case, the reference coordinates on the document table 3
The coordinates of the four points from SP are (X 1 , Y 1 ), (X 2 , Y 2 ), (X 3 ,
Y 3 ), (X 4 , Y 4 ) are detected by pre-scanning the optical system during the pre-rotation period of the printer. This allows the size and position of the document to be determined. This makes it possible to determine the scanning stroke during multi-copying and to select a desired cassette. The document cover 4 (FIGS. 1-2) is mirror-finished so that image data outside the area where the document is placed is always black data. The pre-scanning includes main scanning and sub-scanning to cover the entire glass surface, followed by scanning for printing. This sub-scanning speed is faster than that during printing. The circuit diagram in FIG. 12-2 shows the logic for detecting the coordinates. Image data binarized by pre-scanning
VIDEO is input to shift register 301 in 8-bit units. When the 8-bit input is completed, the gate circuit 302 checks whether all of the 8-bit data is a white image, and if yes, outputs 1 to the signal line 3. After starting scanning the original, the F/F 304 is set when the first 8-bit white appears. This F/F is reset in advance by VSYNC (image leading edge signal). From then on, the following
Leave it set until VSYNC comes. F/F
304 is set, the latch F/F 305 is loaded with the value of the main scanning counter 351 (main scanning counter 51 in FIG. 9 or a dedicated counter) at that time. This becomes the X coordinate value. The latch 306 is also loaded with the value of the sub-scanning counter 350 (sub-scanning counter 52 in FIG. 9 or a dedicated counter) at that time. This becomes the Y 1 coordinate value. Therefore P 1 (X 1 ,
Y 1 ) is found. Also, each time 1 is output to the signal 303, the value from the main scanning is loaded into the latch 307. This value is immediately stored in clutch 308 (until the next 8 bits enter shift register 301).The value from the main scan when the first 8 bits of white appear is stored in latch 308.
8, the latch 310 (which is
The comparator 309 compares the data with the data (which is set to "0" at the time of VSYNC). If the data in latch 308 is greater, the data in latch 308, that is, the data in latch 307, is greater than the data in latch 308.
10. Also, at this time, the value of the sub-scanning counter is loaded into the latch 311. This operation is processed until the next 8 bits enter shift register 301. Like this, latch 308 and latch 3
If data No. 10 is applied to the entire image area, the maximum value in the document area X direction remains in the latch 310.
The coordinates in the Y direction at this time remain in the latch 311. This is the P 2 (X 2 , Y 2 ) coordinate. The F/F 312 is an F/F that is set when 8-bit white appears for the first time in each main scanning line, and is reset by the horizontal synchronizing signal HSYNC, set at the first 8-bit white, and held until the next HSYNC. When the F/F 312 is set, the value of the main scanning counter is set in the latch 313, and is loaded into the latch 314 until the next HSYNC. Then, the latch 315 and the comparator 316 compare the magnitude.
The latch 315 is set in the X direction at the time of VSYNC occurrence.
The max value is preset. If Latch 3
If the data in latch 314 is greater than the data in latch 314, signal 317 becomes active and the data in latch 314, that is, latch 313, is
15. This operation is HSYNC−
This is done between HSYNCs. If the above comparison operation is performed for the entire image area, the minimum value of the document coordinates in the X direction remains in the latch 315. This is
It is X3 . Also, when the signal line 317 outputs,
The value from the sub-scan is loaded into latch 318.
This becomes Y3 . The latches 319 and 320 are 8
Each time a bit white appears, the value of the main scanning counter and the value of the sub-scanning counter at that time are loaded. Therefore, when the document pre-scanning is completed, the count value at the time when 8-bit white appears last remains on the counter. This is (X 4 , Y 4 ). The above eight latches 6, 11, 20, 18,
Data lines 5, 10, 15, and 19 are connected to the CPU bus line BUS, and the CPU reads this data at the end of the previous scan. Of these data, the areas X 2 , X 3 , Y 1 , and Y 4 are determined as document areas, and the above-described trimming process is performed when scanning the document for printing. In other words, the coordinates of the rectangle surrounding the dotted line document positions P1 to P4 can be recognized by the coordinate components X2, X3, Y1, and Y4 of the document , and therefore, at least a sheet of the corresponding size is required. It turns out that. On the printer side, paper feeding control of the registration roller 18 is performed so that the leading edge of the paper and the coordinate Y1 are synchronized. In the standard mode, the registration roller 18 is actuated by the signal VSYNC from the reader (synchronized with the image tip sensor 37b described above), but in this case, Y This is done by providing a time period equivalent to 1 .
Furthermore, since each cassette is loaded with reference to the position corresponding to the standard position SP side of the reader, the image output is shifted by X1 in the main scanning direction. This is done by presetting the read address counter as in the trimming shift described above.
The above control modes are selected using soft keys corresponding to the display, but they can also be selected by providing a dedicated key and inputting it. By inputting the above-mentioned auto command, this portion can be printed at a variable size to fit the sheet in the cassette. This indicates that the printer's selected cassette size signal is
It is sent to the reader via the S.DATA line, so
Using this signal, a desired copy can be obtained by sequentially performing trimming, shifting, and scaling according to the procedures described above in FIGS. 10-A to 10-L. In other words, auto adjusts the ratio of the document sizes Δx and Δy in the X and Y directions to the sizes Px and Py of the cassette sheet in the X and Y directions, respectively, as shown in Figure 12-3.
Find mx and my. And the smaller ratio is X,
Set in RAM as a common magnification regarding Y,
The aforementioned scaling process is performed. Therefore, a copy with automatic scaling based on one direction of the sheet can be obtained. Auto 2 adjusts the X and Y of the sheet as shown in Figure 12-4.
Find the ratio of each of the X and Y directions of the original to the direction,
The magnification in the X direction and the magnification in the Y direction are each set independently. Therefore, the original image can be copied over the entire sheet. Auto 1 and 2 can be similarly executed in auto magnification by specifying trimming coordinates. Incidentally, FIG. 10-L shows a flowchart of the above-mentioned trimming, scaling, and shifting procedures. Only when there is a shift, we first process the points x 0 , y 0 (Figure 10-J), but when there is no shift (movement), we process the points x 0 ', y 0 in order as shown in Figure 10-K. '→x 5 , y 5 controls the start bit counter and end bit counter shown in FIG. 11 to make the area outside the trimming white. In this case, the area that can be trimmed is one area surrounded by straight lines, so y
The area to be divided into rectangles in the axial direction is specified by specifying two diagonal points using x and y coordinates. 3
Set the division to MAX. Enter the unit in mm. In other words, (x 0 y 0 , x 1 y 1 ) + (x 2 y 2 , x 3 y 3 ) + (x 4 y 4 ,
x 5 y 5 ). When this is set to manual shift or auto, the VIDEO output is controlled by coordinate conversion as described above. In FIG. 11, 90 and 91 are exclusive OR gates for determining the image area, and OF is a signal that controls it. When it is 1, the inside of the workpiece determined by the ST counter and EN counter is masked, the outside is the output image, and the O
In this case, the area inside the area is used as the output image and the area outside the area is masked. 92 is an AND gate that controls the output of the previous image data; 93 is an AND gate that determines whether to output the mask as black or white; BB is a signal that controls it; when it is 1, it is black; When it is 0, white is output. 95 is gate 9
The image output output by 2,93
OR gate that outputs as VIDEO; 94 is an exclusive OR gate that controls black and white inversion of image data;
IN is the signal that controls it; when it is 1, it is the original raw image, and when it is O, it is inverted. Each signal is
Masking, white, black,
It is output after determining that there is a negative input. That is, in the case of mask signal 1, when the Q of the flip-flop 82 becomes 1 due to the rise of the ST counter, the output of the gate 90 becomes O, and the output of the gate 92 remains unchanged until the EN counter rises, that is, until the Q becomes 0. do not have. In other words, it is masked. Instead, the output of gate 91 is 1 during that time, so it is a black/white signal.
When BB is 1, the gate 93 is 1, and therefore the image output gate 95 continuously outputs 1. In other words, it is masked. Conversely, if OF=1 and BB=0, a white mask is created. Also, if OF=0, the outputs of gates 90 and 91 will be 1 and 0, respectively, so if BB=1, the area outside the trimming will be black, and OFF=
If O, BB = 0, the area outside the trimming will be white. 13-1 and 13-2 are an explanatory diagram and a control flow diagram by the CPU for moving a small original or a trimmed original to the approximate center of the sheet and printing (centering). That is, as mentioned above, the maximum and minimum values (TXMAX, TYMAX) of the trimming coordinates of the shaded area,
Set as (TXMIN, TYMIN)(1). This can also be set by coordinate sensing as described above. Next, determine the magnification in the X and Y directions that suits the sheet. This is determined as MX and MY using the subroutine auto AT2 method (2). In order to select any magnification in the X and Y directions, use the numeric keypad as described above.
MX and MY can be determined or can be determined by subroutine AT1. Next, the lengths of the sheet in the X and Y directions are set in RAM as PS-X and PS-Y. This is determined by data from the printer (3). Using these data, find the movement coordinates TXM and TYM for centering (4). In other words, subtract the scaled length of the trimming width in the X direction from the sheet length and divide the result by 1/
2, the X-direction coordinate TXM is found. Similarly, TYM in the Y direction is determined. It is considered valid only if TXM and TYM are positive, and a warning is issued if they are negative.
Thereafter, the method shown in FIGS. 10-A to 10-K described above is followed. Next, a book mode and a mode for creating a sub-table from a parent table will be explained, which apply the above technology. Figures 14-1 to 14-3 show a book manuscript placed at any position on the platen 3 in any vertical or horizontal direction, and with the book manuscript open, the left page, the left page, the top page, and the bottom page are read independently or successively. FIG. 6 is an explanatory diagram and a control flow diagram of a book mode in which printing is performed on one sheet or two sheets. Now, for a book manuscript placed on a platen, there are two cases in which the center binding line is parallel to the sub-scanning direction as shown in the dotted line in Figure 14-1a, and in the main scanning direction as shown in the dotted line in Figure 14-1b. A parallel case is possible. Hereinafter, in Figure 14-1 a, the part above the dotted line (binding) will be referred to as the upper page, and the part below will be referred to as the lower page.
In Figure b, the part to the left of the dotted line (border) is called the left page, and the part to the right is called the right page. The book mode can be divided into the following seven modes. (a) Print only the left page (b) Print only the right page (c) Print left and right pages on separate sheets (d) Print only the top page (e) Print only the bottom page (f) Print the top and bottom pages on separate sheets Printing (g) Printing both the left and right pages or the top and bottom pages on one sheet The above seven modes are displayed as abbreviations on the LCD section 202 and selected and specified using the soft key 201, but the display specification method (1) Displays and selects (a) to (g) as separate modes. (2)(a) and (d), (b) and (e), (c)
and (f) are displayed as the same mode. (or
(a) and (e), (b) and (d), and (c) and (f) are the same mode). As shown in Figure 14-2, whether the mode display specification method is (1) or (2), when the copy start key is pressed after setting the mode, a front scan is performed to detect the document coordinates (step 1). ), book document position (X2, Y2) and size (X3-X2, Y4-Y1)
(Step 2) and calculate the copy paper size PS-
Set x, PS-y (step 3). When the mode specification method is (1), as soon as the position and size of the book document are known, each mode (a) is selected.
The following processing is performed according to ~(g). When the mode specification method is (2), the following process is performed after determining whether the set original is oriented as shown in Figure 14-1 a or 14-1 b, as described later. (Steps 12-26). (a) If only the left page is printed, first set the trimming coordinates XMiN to XZ, XMAX to X3, YMiN to y1,
YMAX is the Y coordinate of the center of the book (y1 + y4) ×
After setting it to 0.5 (step 13, step 15), perform the centering described above. (Step 25). Next, the inversion position of the optical system is determined by adding a slight margin Υ to YMAX to obtain the inversion position P (step 26).
These data are set in RAM. According to the coordinates thus determined, the image of the left half of the book original shown in FIG. 14-1b can be printed at the center of the sheet. (b) If only the right page is printed, XMiN,
For XMAX, follow step 13 in the same way as in (a), and for YMiN
is the Y coordinate of the center of the book (y1+y4)×0.5,
After setting yMAX to y4 (step 17) and performing the above-mentioned centering (step 25), the optical system inversion point P (step 26) is determined. (c) When printing the left and right pages sequentially on separate sheets (step 20), use the same procedure as (a) above for only the left page.
(b) Set the data by sequentially performing the case of only the right page. That is, data for two cycles is set in steps 21 to 23 for the first page, and set and stored in steps 24 to 26 for the second page. (d) If only the top page is printed, crop coordinates
After setting yMiN to y1, yMAX to y4, XMiN to X2, and setting XMAX to the center of the book (y2+x3) x 0.5 (steps 12 and 15), perform the centering described above (step 25). As the optical system inversion position P, a slight margin Υ is added to yMAX (step 26), and these data are set in the RAM. According to the coordinates obtained in this manner, the image of the upper half from the seam in FIG. 14-1a is printed in the center of the sheet. (e) Trimming coordinates if only the bottom page is printed,
Set yMiN and yMAX to XMiN as in (d)
as the binding of the book (x2 + x3) x 0.5
Set xMAX to X3 (step 12, step 17),
The above-mentioned centering (step 25) optical system inversion position P is the same as in (d) (step 26). (f) If the upper and lower pages are to be printed on separate sheets one after another, set the data by sequentially performing the above-mentioned cases (d) for only the upper page and (e) for only the lower page. That is, data for two cycles, upper and lower, is stored (the data for the first page is set in steps 21-23, and the data for the second page is set in steps 24-26). (g) If you want to print both the left and right sides or the top and bottom on one sheet, use yMiN in the same way as for normal copying.
y1, yMAX to y4, XMiN to X2, XMAX to X3
(Step 19) Perform the above-mentioned centering (Step 25), and set the optical system inversion position P to yMAX.
A slight margin Υ is added to (step 26) and these data are set in RAM. As soon as the data necessary for printing has been set in RAM, the main scan is started and printing is executed. In this scan, the preset
Printing is performed by performing preset control of the address counter and sequence control of the scanner according to the contents of the RAM. In other words, in mode c, a book original is placed as shown in Figure 14-1b,
When printing two pages consecutively, a read address counter and a start bit counter control the reading of image data from the shift memory during the first scan to print the left page and the second scan to print the right page; The preset value to the end bit counter is the same, except that the reversal position of the optical system is Y1+Y4/2+Υ for the first time, and Y4+Υ for the second time. On the other hand, in mode f, when placing a book original as shown in Figure 14-1 a and printing two consecutive pages, the top page and the bottom page, the optical system is in the inverted position both during the first scan and during the second scan. are equal to Y4+Υ, and the preset values to the various counters are different. The above operation is possible regardless of whether magnification is changed automatically or manually, and it is also possible to arbitrarily make the outside of the effective image area of the document white or black. In each of the above modes,
As described above, the image is reproduced at the proper position by delaying or advancing the start timing of the scanner or the registration timing of sheet feeding on the printer side depending on the amount of information due to centering or the like. It is also possible to manually input the Y coordinate of the document using the numeric keys or size keys. In addition, the main scanning direction is automatically detected and simply centered using the X coordinate 2 determined by key input. In this way, the right and left pages or the top and bottom pages of the book can be printed with appropriate magnification without moving the book, making the copying operation extremely easy. Furthermore, since it is possible to print in the center of the sheet and to arbitrarily cut out unnecessary information, the quality of the copy can be extremely high. Furthermore, printing can be started before the reading is completed by the reader, and the copying speed can be extremely high even though various editing operations have been performed. Next, automatic determination of the placement orientation of the book original in the case of mode designation method (2) will be described. The length of the selected sheet size in the main scanning direction.
PS-X, and the length in the sub-scanning direction is PS-Y. On the other hand, the size of the detected book original is divided into two equal parts parallel to the sub-scanning direction (X3-X2/2・Y4-Y1), and the left and right page size (X3- Find X2, Y4−Y1/2). Next, the vertical and horizontal ratio of the size after variable output for the top and bottom pages
Find MX×(X3−X2)/2/My×(y4−y1) and set it as R, (5
) Similarly, for the left and right pages, calculating MX×(X3−X2)/My×y4−y1/2 yields 4R, and between them, ()1R<4R ()R
There are three relationships: 14R ()R<4R1. (However, in automatic magnification mode, Mx/
Let My=1. (6) On the other hand, regarding PS-X/PS-y, (1) PS-x/PS-y>1 (2) PS-x/PS-y<1 can be considered (PS-x/PS-y=1 (is omitted because it cannot occur with the normal sheet size)) Due to the correlation between the conditions (), (), (), and (1) and (2), the book original on the platen is 14-1a.
From this, it is determined in which direction of 14-1b the object is placed. The results are shown in Figure 14-3. (Steps 7, 8, 9, 10, 11). () In the case of 1R<4R, even if it is assumed that R=1, 4R=4, which is very different from the vertical and horizontal ratio of the normal sheet size and is not common, so it is determined that the R side is the one, that is, the upper and lower pages. On the other hand, if ()R<4R1, even if we assume 4R=1, R=0.25 and for the same reason as above.
It is determined to be 4R, that is, left and right pages. () When R<1<4R, when PS-x/PS-y>1, it is determined that it is 4R, that is, the left and right page.When PS-x/PS-y<1, it is determined that it is R, that is, the upper and lower pages. This is intended to output the longitudinal direction of the document in the longitudinal direction of the sheet and the lateral direction of the sheet. The above judgment method is based on the sheet size selected by the operator, but in addition to this, it is also based on the automatically recognized book document size (X3-X2) and (y4
-y1) and dividing the longer one into two is simple and sufficiently effective for general books (A, B series, LETTER series), and is also effective in automatic sheet selection mode. A specific example of the above method is given below. The left and right pages of a paperback book approximately 150mm x 105mm in size when closed.
When printing on individual sheets of A4 size, if the printer only has an A4 horizontal feed cassette, the operator should place the paperback book at any position on the platen so that the binding is parallel to the main scanning direction, and then select the mode. After setting, just press the copy start key. In this case, the automatically detected size is
Since X3-X2≒150mm and y4-y1≒210mm, in the case of equal magnification or automatic magnification, the aforementioned R≒0.36 and 4R=1.43. Also, in the case of A4 sheet horizontal feeding, PS-X = 297 (mm),
Since PS-y is 210 (mm), PS-x/PS-y=1.41, and the left and right pages are determined according to FIG. 14-3, and the desired print can be obtained. If it is the same size, it will be printed in the center of the sheet by the centering described above,
There is no black frame around it. Also, when using automatic magnification, the image will be enlarged to 200% to fill an A4 sheet. Also, if the printer only has an A4 vertical feed cassette, the operator can place the paperback book at any position on the platen so that the binding line is parallel to the sub-scanning direction, R = 0.7, 4R = 2.8, PS - x / PS-
Since y=0.7, it is determined that the upper and lower pages are the upper and lower pages this time, and the desired print can still be obtained. Next, we will explain the individual table creation mode. As shown in Figure 15-1, in the individual table creation mode, multiple specified tables are 1 in the specified order
As shown in FIG. 15-2, each sheet is trimmed and output at the same position on separate sheets. Below, Figure 15-1, Figure 15-2, Figure 15-
This will be explained with reference to FIGS. 3 and 16. The operator first selects the reference trimming point.
Input Bxi, Byi, (i=0,...,5) from the operation unit (SP160). The reference trimming point is the first
As shown in Figure 5-1, this is the trimming point of the individual table (A) to be trimmed that is closest to SP (origin of the original), and the trimming point has been described above. Although the individual table A in FIG. 15-1 shows an example in which up to three items are specified, it is of course possible to create the individual table with either two or one. Next, the trimming point reference offset value x s
and y s from the operation panel (SP161). The trimming point reference offset value is the distance between the corresponding trimming points of adjacent individual tables, for example, A and B, and A and E, which are arranged regularly at regular intervals, as shown in Fig. 15-1. It is given by the distance x s in the main scanning direction and the distance y s in the sub-scanning direction. From the above Bxi, Byi, x s , y s , the trimming points of all individual tables are xi = Bxi + 3 x s , yi =
Byi+2・ys (i=0,...,5). Next, input which of these individual tables to output in what order is input from the operation unit (SP162). First, each individual table is specified by expressing it as an element of a matrix, as shown in FIG. 15-2. The standard table A is always represented by (1, 1), and for example, the table L is represented by (4, 3). The areas on the RAM that store a pair of data representing this element in the order of execution are SEQX j and SEQY j . Here, j is a subscript indicating the order of execution; for example, for SEQX j , n+1 bytes are reserved.
This is the jth value of the area in RAM named SEQX. n may be given appropriately so as to be sufficient for execution. This will be explained using a specific example. For example, if you want to trim and output each individual table in the order of F, K, D, I, and C in Figure 15-2, each individual table is represented by matrix elements (2, 2), (3, 3), (4 ,1),
(1, 3), (3, 1), so SEQX and
Just set SEQY as shown in the table below.

【表】 次に、第15−3図に示すような出力用紙上の
どこに親表からトリミングした個表を出力するか
を決定する移動ポイントTXM,TYMを操作部
から入力する(SP163)。直接移動ポイントを指
定しなくとも、前述のセンタリングのように自動
算出するモードの選択を行なつてもよいのは当然
である。移動については前述したので、ここ説明
を省く。次に倍率mx,myを操作部から入力する
(SP164)。ここでも直接倍率を入力せずに、前述
した2種類の自動変倍のモードを選択してもよい
のも当然のことである。 以上でオペレーターによる設定は完了したので
コピースタートキーの入力を待つ(SP165)。 コピースタート要求があれば、前述の実行順序
の最初から処理するためにjを0とする
(SP166)。次にjに対応する個表指定のマトリク
ス要素を前述のSEQXとSEQYのエリアからそれ
ぞれp=SEQXj,q=SEQYjとしてRAM上のエ
リアpとqにセツトする。j=0の時は表から明
らかなようにp=2,q=2である。(SP167)。
次にpとqのどちらも0でないことをチエツクす
る(SP168)。もし0であれば、オペレーターか
らの出力要求を全て実行したということが分か
り、処理を終了する(SP168,SP174)。このこ
とは前述の表のj=5の部分から明らかである。
従つてSEQX,SEQYのセツト(SP162)のとき
に、指定のなかつたjに対するSEQXj,SEQYj
の全てを0クリアしておく必要がある。 さて実行順序jに対応する個表を指定する要素
pとqが判明したら、その個表のトリミングポイ
ントをxi=Bxi+(p−1)×xs,yi=Byi+(q−
1)×ysによつて算出する(SP169)。j=0の場
合は xi=Bxi+(2−1)×xs, yi=Byi+(2−1)×ysとなり、これが最初に
出力すべき個表下のトリミングポイントであるこ
とは、第15−1図より明らかである。 次に、算出したxi,yi(i=0,…,5),及び
TXM,TYM,mx,myから前述した主走査方
向に画像を制御するためのアドレスカウンタ類の
プリセツト値の算出とRAM上エリアへのセツ
ト,さらに副走査方向に光学系の動作及び画像出
力を制御するためのプリセツト値の算出とRAM
上エリアへのセツトを行なう(SP170)。そして、
その後光学系による走査を開始して必要枚数の画
像形成を行なつた後、光学系をホームポジシヨン
にて停止させて、ある個表に対する処理を終える
(SP171)。 その後、次の順序にあたる個表のトリミングポ
イントの算出のために、jを1カウントアツプす
る(SP172)。前記の表から明らかなようにjが
n+1になつた時は、全ての処理を終える
(SP173,SP174)。jがn+1に達していない時
は、再びSP167に戻つて、次に実行すべき個表を
指定するマトリクス要素pとqをSEQXとSEQY
からとり出して、以下前述と同様の制御をくり返
して、次々と指定された順序で指定された個表を
1つずつトリミング出力してゆく。 以上では、主走査方向にも、副走査方向にも個
表が並んでいる例について説明したが、SEQXj
を1に固定して、SEQYjのみ入力すれば副走査
方向に個表の並んだ親表を、又SEQYjを1に固
定して、SEQXjのみ入力するようにすれば、主
走査方向の個表に並んだ親表をもつと簡単に扱え
ることも第15−2図から明らかである。その場
合基準オフセツト値xs,ysもどちらか一方のみ設
定し、一方を0に固定すればよい。 又、原稿を主走査方向,副走査方向のそれぞれ
について2等分割してできる領域のランダムな出
力も同様の手段で実行できる。 さらに、前述の説明におてはトリミングの場合
を挙げたが、例えば第15−1図の各個表部分の
うち任意の部分を、任意の順序でマスキングし
て、1度の出力要求に対して出力することも同様
の手段で可能である。 またトリミングした個表をコピー用紙上の任意
の位置に出力できることから、あらかじめフオー
マツトの印刷された用紙をカセツトにセツトして
おけばフオームオーバーレイも簡単である。 以上、述べた様に本実施例により、親表の中の
任意の個表を任意の順序で一度の出力要求に対し
て出力可能な画像処理装置を提供できた。また、
本実施例により複数の画像領域を前記数に対応し
た複数の入力動作に基づいて、前記入力動作毎に
1つの紙葉体に複数の画像領域から所望の領域を
所望の形式で出力することが可能となつた。 [効果] 以上、詳述した様に、本発明により、複数の画
像領域のそれぞれに対する入力の動作毎に1つの
紙葉体に出力する処理を、前記数に対応した回数
分、繰り返すことにより、少ない記憶容量で、高
度な処理を行うことができる画像処理装置を提供
することが可能となつた。
[Table] Next, the moving points TXM and TYM for determining where on the output paper as shown in FIG. 15-3 is to output the individual table trimmed from the main table are input from the operation unit (SP163). It goes without saying that a mode for automatic calculation like the above-mentioned centering may be selected without directly specifying the movement point. Since the movement has been described above, I will omit the explanation here. Next, input the magnification mx and my from the operation panel (SP164). Of course, it is also possible to select one of the two automatic magnification modes described above without directly inputting the magnification. Now that the operator has completed the settings, wait for the copy start key to be input (SP165). If there is a copy start request, j is set to 0 in order to process from the beginning of the execution order described above (SP166). Next, the matrix element designated by the individual table corresponding to j is set in areas p and q on the RAM from the aforementioned areas SEQX and SEQY as p=SEQX j and q=SEQY j , respectively. As is clear from the table, when j=0, p=2 and q=2. (SP167).
Next, check that neither p nor q is 0 (SP168). If it is 0, it is understood that all output requests from the operator have been executed, and the process ends (SP168, SP174). This is clear from the j=5 portion of the table above.
Therefore, when setting SEQX and SEQY (SP162), SEQX j and SEQY j for unspecified j
It is necessary to clear all of them to 0. Now, once we know the elements p and q that specify the individual table corresponding to the execution order j, we can set the trimming point of that individual table as xi=Bxi+(p-1)×x s , yi=Byi+(q-
1) Calculate by xy s (SP169). When j = 0, xi = Bxi + (2-1) x x s , yi = Byi + (2-1) x y s , and this is the trimming point below the individual table that should be output first, as shown in the 15th This is clear from Figure -1. Next, the calculated xi, yi (i=0,...,5), and
From TXM, TYM, mx, and my, calculate the preset values of the address counters to control the image in the main scanning direction, set them in the RAM area, and further control the operation of the optical system and image output in the sub-scanning direction. Calculation of preset values and RAM for
Set to the upper area (SP170). and,
Thereafter, scanning by the optical system is started and after the required number of images are formed, the optical system is stopped at the home position and the processing for a certain table is completed (SP171). Thereafter, in order to calculate the trimming point of the next individual table, j is counted up by 1 (SP172). As is clear from the above table, when j reaches n+1, all processing is completed (SP173, SP174). If j has not reached n+1, return to SP167 again and set matrix elements p and q that specify the next table to be executed to SEQX and SEQY.
Then, the same control as described above is repeated to trim and output the specified tables one by one in the specified order. Above, we have explained an example where the individual tables are lined up in both the main scanning direction and the sub-scanning direction, but SEQX j
If you fix SEQY j to 1 and input only SEQY j , you can create a parent table with individual tables lined up in the sub-scanning direction. If you fix SEQY j to 1 and input only SEQX j , you can create a parent table with individual tables in the main scanning direction. It is also clear from Figure 15-2 that it can be easily handled by having parent tables arranged in individual tables. In that case, only one of the reference offset values x s and y s may be set, and one may be fixed to 0. Furthermore, random output of regions created by dividing the document into two equal parts in each of the main scanning direction and the sub-scanning direction can also be performed by the same means. Furthermore, in the above explanation, the case of trimming was given, but for example, any part of each individual table part in Figure 15-1 can be masked in any order to respond to one output request. It is also possible to output by similar means. Furthermore, since the trimmed individual sheets can be output at any position on the copy paper, form overlay is easy if the paper with the format printed on it is set in the cassette in advance. As described above, according to this embodiment, it is possible to provide an image processing apparatus capable of outputting any individual table in a parent table in any order in response to a single output request. Also,
According to this embodiment, it is possible to output a desired area from a plurality of image areas on one sheet of paper in a desired format for each input operation based on a plurality of input operations corresponding to the number of image areas. It became possible. [Effects] As described in detail above, according to the present invention, by repeating the process of outputting to one paper sheet for each input operation for each of a plurality of image areas a number of times corresponding to the number, It has become possible to provide an image processing device that can perform advanced processing with a small storage capacity.

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

第1−1図は複写装置の外観を示す図である。
第1−2図はリーダ、プリンタの構造断面図であ
る。第2−1図、第2−2図は、リーダ及びプリ
ンタの主走査方向と出力される画像を示す図であ
る。第3図は、インテリジエント機能を組合せた
複合機能を示す図である。第4図は、操作部の詳
細図を示す図である。第5図はリーダユニツトの
システムブロツク図である。第6図,第7図はコ
ネクタのインタフエース信号のタイミングを示す
図である。第8図は、リーダの走査光学系上のセ
ンサを示す図である。第9図は、原稿像の拡大/
縮小の方法を示す図である。第10−A図〜第1
0−F図はトリミングの様子を示す図である。第
10−G図はカウントデータを示す図である。第
10−H図はスタートビツトカウンタとエンドビ
ツトカウンタのプリセツト値を示す図である。第
10−図は読出し開始アドレスの点を示す図で
ある。第10−J図,第10−K図,第10−L
図はトリミング、変倍、シフトの手順を示すフロ
ーチヤートである。第11図はシフトメモリに係
る回路を示す図である。第12−1図は原稿台ガ
ラス3上に原稿が、置かれている様子を示す図で
ある。第12−2図は座標検出回路図を示す図で
ある。第12−3図はカセツトと原稿のサイズ比
率を検出するフローチヤートである。第12−4
図はカセツトと原稿のX,Y方向それぞれのサイ
ズ比率を検出するフローチヤートである。第13
−1図、第13−2図はセンタリングの説明図で
ある。第14−1図,第14−2図,第14−3
図はブツクモードの説明図である。第15−1
図,第15−2図,第15−3図,第16図は親
表から個表を作成する場合の説明図である。 514……CPU、A……リーダ、B……プリ
ンタ、101……スタートキー。
FIG. 1-1 is a diagram showing the appearance of the copying apparatus.
FIGS. 1-2 are structural sectional views of the reader and printer. FIGS. 2-1 and 2-2 are diagrams showing the main scanning direction of the reader and printer and the output images. FIG. 3 is a diagram showing a composite function that combines intelligent functions. FIG. 4 is a diagram showing a detailed view of the operating section. FIG. 5 is a system block diagram of the reader unit. FIGS. 6 and 7 are diagrams showing the timing of connector interface signals. FIG. 8 is a diagram showing a sensor on the scanning optical system of the reader. Figure 9 shows an enlarged image of the original.
It is a figure which shows the method of reduction. Figure 10-A ~ 1st
The diagram 0-F is a diagram showing the state of trimming. FIG. 10-G is a diagram showing count data. FIG. 10-H is a diagram showing preset values of the start bit counter and end bit counter. FIG. 10 is a diagram showing the point of the read start address. Figure 10-J, Figure 10-K, Figure 10-L
The figure is a flowchart showing the steps of trimming, scaling, and shifting. FIG. 11 is a diagram showing a circuit related to a shift memory. FIG. 12-1 is a diagram showing a state in which an original is placed on the original platen glass 3. As shown in FIG. FIG. 12-2 is a diagram showing a coordinate detection circuit diagram. FIG. 12-3 is a flowchart for detecting the size ratio of the cassette and original. No. 12-4
The figure is a flowchart for detecting the size ratio of the cassette and original in the X and Y directions. 13th
Fig.-1 and Fig. 13-2 are explanatory diagrams of centering. Figure 14-1, Figure 14-2, Figure 14-3
The figure is an explanatory diagram of book mode. No. 15-1
15-2, 15-3, and 16 are explanatory diagrams for creating individual tables from parent tables. 514...CPU, A...Reader, B...Printer, 101...Start key.

【特許請求の範囲】[Claims]

1 デイザ法によつて2値化されたデイザ画像
(凝似中間調画像)を複数の2値画素からなるブ
ロツクに分割する処理と、各ブロツク内の画素パ
ターンの種類別に分類する処理と、分類されたブ
ロツクの配置状態を上記画素パターンの種類別に
2値画像化した複数のパターン平面を形成する処
理と、複数のパターン平面をあらかじめ求められ
た画素パターンの出現頻度順に主走査方向に並べ
て連結パターン平面を形成する処理と、出現頻度
が低い画素パターンのブロツクに含まれる画素を
0に近似させる処理と、上記連結パターン平面上
の2値画像を構成する画素の副走査方向での相対
位置関係に上記デイザ画像の2値化処理単位であ
るデイザ画素の副走査方向での相対位置関係が反
映されるように上記連結パターン平面内のライン
を入れ替える処理と、この入れ替え処理を行つた
2値画像を冗長度抑圧のために符号化する処理と
を行うデイザ画像の符号化方法。
1 Processing to divide a dithered image (condensed halftone image) binarized by the dithering method into blocks consisting of a plurality of binary pixels, processing to classify each block by type of pixel pattern, and classification. A process of forming a plurality of pattern planes by converting the arranged state of the blocks into binary images for each type of pixel pattern, and a process of arranging the plurality of pattern planes in the main scanning direction in the order of the appearance frequency of the pixel patterns determined in advance to form a connected pattern. A process for forming a plane, a process for approximating pixels included in a block of pixel patterns with low appearance frequency to 0, and a process for determining the relative positional relationship in the sub-scanning direction of pixels constituting a binary image on the connected pattern plane. A process of replacing the lines in the connected pattern plane so as to reflect the relative positional relationship in the sub-scanning direction of the dither pixels, which are the binarization processing unit of the dither image, and a binary image that has undergone this replacement process. A dither image encoding method that performs encoding processing to reduce redundancy.

JP58222837A 1983-11-25 1983-11-25 Picture processing device Granted JPS60114081A (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP58222837A JPS60114081A (en) 1983-11-25 1983-11-25 Picture processing device
DE3448404A DE3448404C2 (en) 1983-11-25 1984-11-23 Photocopier with selective zone copying facility
GB08429653A GB2152323B (en) 1983-11-25 1984-11-23 An image processing apparatus
DE19843442793 DE3442793A1 (en) 1983-11-25 1984-11-23 IMAGE PROCESSING DEVICE
DE3448540A DE3448540C2 (en) 1983-11-25 1984-11-23 Image processing device
DE3448469A DE3448469C2 (en) 1983-11-25 1984-11-23 Photocopier with selective zone copying facility
US07/166,801 US4920502A (en) 1983-11-25 1988-03-03 Image processing apparatus which selectably outputs image information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58222837A JPS60114081A (en) 1983-11-25 1983-11-25 Picture processing device

Publications (2)

Publication Number Publication Date
JPS60114081A JPS60114081A (en) 1985-06-20
JPH0557794B2 true JPH0557794B2 (en) 1993-08-24

Family

ID=16788679

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58222837A Granted JPS60114081A (en) 1983-11-25 1983-11-25 Picture processing device

Country Status (1)

Country Link
JP (1) JPS60114081A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2178923B (en) * 1985-07-31 1989-12-28 Canon Kk Image processing apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56120256A (en) * 1980-02-28 1981-09-21 Toshiba Corp Facsimile device
JPS56149864A (en) * 1980-04-23 1981-11-19 Toshiba Corp Picture editing equipment
JPS5735464A (en) * 1980-08-11 1982-02-26 Toshiba Corp Facsimile device

Also Published As

Publication number Publication date
JPS60114081A (en) 1985-06-20

Similar Documents

Publication Publication Date Title
US4920502A (en) Image processing apparatus which selectably outputs image information
JPH0574262B2 (en)
US5794104A (en) Method and apparatus for image processing capable of generating multiple images of varying dimensions
GB2178923A (en) Image processing apparatus
JPH0564506B2 (en)
JPH0519863B2 (en)
JPH0557794B2 (en)
JPH0354502B2 (en)
JPS59189781A (en) Picture processing device
JPH084293B2 (en) Image processing device
JPH0754958B2 (en) Image processor
JP2537192B2 (en) Image playback device
JPH0646240A (en) Picture processor
JP2575301B2 (en) Image processing device
JPH0363271B2 (en)
JPH0779417B2 (en) Image processing device
JP2538571B2 (en) Copying device
JP2575300B2 (en) Image processing device
JP2547748B2 (en) Image processing device
JPS6230236A (en) Image processor
JPS6390956A (en) Image processor
JPH07240832A (en) Digital copying machine
JP2007225816A (en) Image forming apparatus and computer program
JPH07245695A (en) Digital copying machine
JPH09247425A (en) Image forming device