JP3082935B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP3082935B2
JP3082935B2 JP02273925A JP27392590A JP3082935B2 JP 3082935 B2 JP3082935 B2 JP 3082935B2 JP 02273925 A JP02273925 A JP 02273925A JP 27392590 A JP27392590 A JP 27392590A JP 3082935 B2 JP3082935 B2 JP 3082935B2
Authority
JP
Japan
Prior art keywords
document
image
documents
image processing
originals
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 - Fee Related
Application number
JP02273925A
Other languages
Japanese (ja)
Other versions
JPH04150560A (en
Inventor
昌敬 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP02273925A priority Critical patent/JP3082935B2/en
Publication of JPH04150560A publication Critical patent/JPH04150560A/en
Application granted granted Critical
Publication of JP3082935B2 publication Critical patent/JP3082935B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、画像編集機能を有する画像処理装置に関す
る。
Description: TECHNICAL FIELD The present invention relates to an image processing apparatus having an image editing function.

〔従来の技術〕[Conventional technology]

従来一部の複写装置においては、原稿台ガラス上に載
置された原稿の位置やサイズを自動的に検知して、最適
なサイズの用紙を自動的に選択する機能や、選択された
用紙に合わせて自動的に変倍する機能が搭載されてい
る。
Conventionally, some copying machines have a function to automatically detect the position and size of the original placed on the platen glass and automatically select the optimal size paper. It is equipped with a function that automatically changes the magnification.

〔発明が解決しようとしている課題〕[Problems to be solved by the invention]

しかしながら、上記従来例では原稿台ガラス上に1枚
の原稿が載置されることしか考慮されておらず、たとえ
ば複写枚の原稿を載置しても、1枚の原稿として処理さ
れてしまう為、次のような欠点があった。
However, in the above-described conventional example, only one document is placed on the platen glass. For example, even if a copy document is placed, the document is processed as one document. However, there are the following disadvantages.

例えば複数枚の原稿を1枚の用紙に複写する場合、丁
寧に原稿載置しないと、原稿間のすき間が暗くかげった
り、並び方が不揃いだったりし、これにより、正確な原
稿検知ができないことがあった。また、サイズの異なる
複数の原稿や原稿自動給送装置で搬送の難しい複数の小
さな原稿等を複写する時に、1枚ずつ原稿を交換しては
スタートキーを押す必要があった。
For example, when copying a plurality of originals on a single sheet, if the originals are not carefully placed, the gaps between the originals may be dark or uneven, and the arrangement may not be uniform. there were. Further, when copying a plurality of documents having different sizes or a plurality of small documents which are difficult to be conveyed by the automatic document feeder, it is necessary to replace the documents one by one and press the start key.

〔課題を解決するための手段〕[Means for solving the problem]

本発明は以上の点に鑑みてなされたもので、原稿台上
に隙間をもって載置された複数枚の原稿の原稿台上にお
ける載置位置を夫々検出する位置検出手段と、前記複数
枚の原稿が載置された前記原稿台を走査することにより
画像信号を出力する走査手段と、前記位置検出手段によ
る前記複数枚の原稿の装置位置の検出出力に基づいて、
前記走査手段から出力された画像信号から前記複数枚の
原稿の夫々に対応する画像信号を抜き出す抜出手段と、
前記抜出手段により抜き出された前記複数枚の原稿の夫
々に対応する画像信号に異なる画像処理を行なう処理手
段とを有する画像処理装置を提供するものである。
The present invention has been made in view of the above points, and a position detecting unit that detects a mounting position of a plurality of documents placed on a document table with a gap on the document table, and the plurality of documents. Scanning means for outputting an image signal by scanning the platen on which is placed, based on the detection output of the device position of the plurality of documents by the position detection means,
Extracting means for extracting an image signal corresponding to each of the plurality of originals from an image signal output from the scanning means,
It is an object of the present invention to provide an image processing apparatus having processing means for performing different image processing on image signals corresponding to each of the plurality of originals extracted by the extracting means.

これにより、例えば1回のスタートキーで各原稿を別
の用紙に複写したり、また複数原稿の間をつめたり、サ
イズや位置を整えて1枚の用紙に複写する機能を実現す
べく構成したものである。
Thus, for example, it is configured to realize a function of copying each original on another sheet by one start key, filling a plurality of originals, adjusting the size and position, and copying on one sheet. Things.

〔実施例〕〔Example〕

第1図に本発明を適用した複写装置の構造図を示す。
本装置は原稿画像を読取るリーダA及び画像を記録材上
に再生するプリンタBの2つのユニツトから構成され
る。
FIG. 1 shows a structural diagram of a copying apparatus to which the present invention is applied.
This apparatus comprises two units, a reader A for reading a document image and a printer B for reproducing an image on a recording material.

原稿は原稿台ガラス3上に下向きに置かれ、原稿カバ
ー4によってガラス3上に押えつけられる。原稿は蛍光
灯ランプ2により照射され、その反射光はミラー5、7
とレンズ6を介してCCD1の面上に集光される。
The document is placed downward on the platen glass 3 and pressed down on the glass 3 by the document cover 4. The original is illuminated by a fluorescent lamp 2 and the reflected light is reflected by mirrors 5 and 7.
The light is condensed on the surface of the CCD 1 via the lens 6.

ミラー7とミラー5は2:1の相対速度で移動する。こ
れらの光学系はパルスモータ26によりPPLをかけながら
一定速度で往復移動する。等倍時往路(左から右へ)は
180mm/secであり、往復(右から左へ)は倍率に依らず8
00mm/secである。処理できる原稿サイズ最大A3で、解像
℃は400dots/inchなので、CCD1のビツト数としては、 ビツト必要である。
The mirror 7 and the mirror 5 move at a relative speed of 2: 1. These optical systems reciprocate at a constant speed while applying PPL by the pulse motor 26. Outbound at 1: 1 (from left to right)
180mm / sec, round trip (from right to left) is 8 regardless of magnification
00 mm / sec. The maximum document size that can be processed is A3 and the resolution is 400 dots / inch, so the number of bits for CCD1 is Bit required.

従って、リーダAには5000ビツトのCCDを用いてい
る。また主走査周期は、 である。
Therefore, a 5000-bit CCD is used for the reader A. The main scanning cycle is It is.

このCCD1により原稿画像をライン走査して、画像濃淡
を示す画像信号を得る。
An original image is line-scanned by the CCD 1 to obtain an image signal indicating image density.

リーダAでビツトシリアルに処理された画像信号はプ
リンタBのレーザ走査光学系ユニツト25に入力される。
このユニツト25は半導体レーザコリメータレンズ、回転
多面体ミラー、Fθレンズ、倒れ補正光学系により成
る。
The image signal processed bit-serial by the reader A is input to the laser scanning optical system unit 25 of the printer B.
The unit 25 includes a semiconductor laser collimator lens, a rotating polygon mirror, an Fθ lens, and a tilt correction optical system.

リーダAからの画像信号は半導体レーザに印加されて
電気−光変換され、コリメータレンズを介して高速回転
する多面体ミラーに照射され、その反射光が感光体8に
入射、走査される。感光体8に像形成を可能とするプロ
セスコンポーネントとして前除電器9、前除電ランプ1
0、一時帯電器11、二次帯電器12、前面露光ランプ13、
現像器14、給紙カセツト15、給紙ローラ16、給紙ガイド
17、レジストローラ18、転写帯電器19、分離ローラ20、
搬送ガイド21、定着器22、トレー23が配置されている。
感光体8及び搬送系の速度は180mm/secである。プリン
タBはいわゆるレーザプリンタである。
The image signal from the reader A is applied to a semiconductor laser, is subjected to electro-optical conversion, is irradiated to a high-speed rotating polyhedral mirror via a collimator lens, and the reflected light is incident on the photosensitive member 8 and scanned. The pre-discharger 9 and the pre-discharge lamp 1 as process components that enable image formation on the photoconductor 8
0, temporary charger 11, secondary charger 12, front exposure lamp 13,
Developing unit 14, paper feed cassette 15, paper feed roller 16, paper feed guide
17, registration roller 18, transfer charger 19, separation roller 20,
A transport guide 21, a fixing device 22, and a tray 23 are arranged.
The speed of the photoconductor 8 and the transport system is 180 mm / sec. Printer B is a so-called laser printer.

本例の複写装置は画像編集等のインテリジエンシを持
ち、その機能として0.35→4.0倍の範囲の1%きざみの
任意倍率の変倍、指定領域のみの画像を抜き出すトリミ
ングやトリミングされた像を用紙上の任意の位置に移動
させる移動機能、原稿台3上に置かれた原稿の位置座標
検出機能等をもつ。各機能の詳細は後述する。
The copying apparatus of this example has intelligence for image editing and the like, and its function is to change the magnification at an arbitrary magnification in the range of 0.35 to 4.0 times in 1% increments, to trim the image of only the specified area, and to print the trimmed image on paper. It has a moving function of moving the document to an arbitrary position above, a position coordinate detecting function of a document placed on the document table 3, and the like. Details of each function will be described later.

第2図にリーダAのシステムブロツク図を示す。 FIG. 2 shows a system block diagram of the reader A.

CCD読取部301にはCCD、CCDのクロツクドライバ、CCD
からの信号増巾器、それをアナログデジタル変換するA/
Dコンバータ等が内蔵されている。CCD読取部301から6
ビツト(64階調)のデジタル信号に変換された画像デー
タが出力され、シエーデイング補正部302に入力され
る。
The CCD reading unit 301 includes a CCD, a CCD clock driver, and a CCD.
A / A to convert it from analog to digital
A D converter and the like are built in. CCD reading units 301 to 6
Image data converted to a digital signal of 64 bits (64 gradations) is output and input to the shading correction unit 302.

シエーデイング補正部302で、光源及びレンズ等のシ
エーデイング量の検出及びその補正を行なった後、画像
信号はシフトメモリ部303に一時的に蓄えられる。シフ
トメモリ部303にはシフトメモリが2ライン分あり、N
ライン目の画像データを第1メモリに書き込んでいる時
には第2メモリからN−1ライン目の画像データを読み
出す。シフトメモリ部202にはこの他、シフトメモリに
画像データを書き込む為のライトアドレスカウンタ、画
像データを読み出す為のリードアドレスカウンタとこの
2つのカンウンタからのアドレス信号を切換える為のア
ドレスセレクタ回路がある。
After the shading correction unit 302 detects and corrects the amount of shading of the light source, lens, and the like, the image signal is temporarily stored in the shift memory unit 303. The shift memory unit 303 has two lines of shift memories.
When the image data of the line is being written to the first memory, the image data of the (N-1) th line is read from the second memory. The shift memory unit 202 further includes a write address counter for writing image data to the shift memory, a read address counter for reading image data, and an address selector circuit for switching address signals from the two counters.

また、変倍/移動処理部304では画像信号をシフトメ
モリ部303に書き込むクロツクやシフトメモリ部303から
読み出すクロツク及び読み出すタイミングを変えること
で、主走査方向の変倍や移動を行なう。
Further, the scaling / movement processing unit 304 performs scaling or movement in the main scanning direction by changing the clock for writing the image signal to the shift memory unit 303 and the clock for reading from the shift memory unit 303 and the read timing.

シフトメモリ部303から出力された画像信号は濃度処
理部305に入力され、オペレータの所望の濃度に変換さ
れて、トリミング処理部306に出力される。トリミング
処理部306では主走査ライン画像データの任意の区間を
強制的に“0"に加工し、画像のトリミング編集を可能な
らしめている。
The image signal output from the shift memory unit 303 is input to the density processing unit 305, converted into a density desired by the operator, and output to the trimming processing unit 306. The trimming processing unit 306 forcibly processes an arbitrary section of the main scanning line image data to “0”, thereby enabling trimming and editing of the image.

また濃度処理部305から出力された画信号は2値化さ
れた後原稿位置検知部307にも入力される。
The image signal output from the density processing unit 305 is also input to the document position detection unit 307 after being binarized.

CPU部308はCPU、ROM、RAM、タイマ回路、I/Oインター
フエースで構成される周知のマイクロコンピユータから
なる。CPU部308は操作部310を制御し、オペレータから
の設定に応じてリーダAの制御を行なうとともにシリア
ル通信によりプリンタBを制御する。311はミラー7と
ミラー5を移動させるためのパルスモータ26を駆動する
パルスモータドライバであり、CPU308は倍率に応じた速
度データをプリセツトする。312は蛍光灯ドライバーで
蛍光灯2のON/OFFや点灯時の光量制御を行なう。313は
光学系の位置をCPU308が知るための位置センサである。
The CPU unit 308 includes a well-known micro computer including a CPU, a ROM, a RAM, a timer circuit, and an I / O interface. The CPU unit 308 controls the operation unit 310, controls the reader A according to the setting from the operator, and controls the printer B by serial communication. Reference numeral 311 denotes a pulse motor driver for driving a pulse motor 26 for moving the mirror 7 and the mirror 5, and the CPU 308 presets speed data according to the magnification. Reference numeral 312 denotes a fluorescent light driver which controls ON / OFF of the fluorescent light 2 and light quantity control at the time of lighting. A position sensor 313 allows the CPU 308 to know the position of the optical system.

プリンタBとはコネクタJR1によりプリンタBのコネ
クタJP1を介して接続される。リーダA、プリンタB間
では、画像データ通信やシリアル通信に必要な制御信号
がやりとりされる。
The printer B is connected to the printer B through a connector JP1 of the printer B. Control signals necessary for image data communication and serial communication are exchanged between the reader A and the printer B.

プリンタBからは水平周期信号BDがJR1を介してとり
こまれ、クロツクジエネレータ309に入力される。クロ
ツクジエネレータ309では水平同期信号BDに同期してCCD
信号の伝送クロツクやシフトメモリのリード/ライトク
ロツク等が生成される。また、プリンタBからはプリン
タBに接着されている用紙サイズを示すサイズ信号もコ
ネクタJP1、JR1を介してリーダAに出力される。
The horizontal period signal BD is fetched from the printer B via JR1 and input to the clock generator 309. In the clock generator 309, the CCD is synchronized with the horizontal synchronization signal BD.
A signal transmission clock, a shift memory read / write clock, and the like are generated. Further, a size signal indicating the size of the sheet adhered to the printer B is also output from the printer B to the reader A via the connectors JP1 and JR1.

第3図にシフト・メモリ部303に係る回路図を示す。
尚、前述の様にシフト・メモリ部303には2ライン分の
シフトメモリが設けられるが、その制御は共通なので、
第3図には一方のシフトメモリに関してのみ、その制御
構成を示す。ライトアドレスカウンタ904はシフトメモ
リ907にデータを書込む時のアドレスカウンタで、リー
ドアドレスカウンタ905はシフトメモリ907からデータを
読み出す時のアドレスカウンタである。アドレスセレク
タ906はCPU308からの指令をI/Oポート901を介して受け
てライトアドレスカウンタ904のアドレス信号とリード
アドレスカウンタ905のアドレス信号のいずれかを選択
しシフトメモリ907をアドレシングするためのものであ
る。
FIG. 3 shows a circuit diagram of the shift memory unit 303.
As described above, the shift memory unit 303 is provided with a shift memory for two lines, but since the control is common,
FIG. 3 shows a control configuration of only one shift memory. The write address counter 904 is an address counter for writing data to the shift memory 907, and the read address counter 905 is an address counter for reading data from the shift memory 907. The address selector 906 receives a command from the CPU 308 via the I / O port 901 and selects either the address signal of the write address counter 904 or the address signal of the read address counter 905 to address the shift memory 907. is there.

I/Oレジスタ902、903はライトアドレスカウンタ904、
リードアドレスカウンタ905に夫々プリセツト値をCPU30
8が与えるためのレジスタである。
I / O registers 902 and 903 are write address counters 904,
The read address counter 905 stores the preset values in the CPU 30 respectively.
8 is a register to give.

ライドアドレスカウンタ904、リードアドレスカウン
タ905は共にダウンカウンタで夫々にカウント動作の開
始を指令するWST信号及びRST信号が入力され、またシフ
トメモリ907へ書込みクロツクWCLKとシフトメモリから
の読み出しクロツクRCLKが入力される。
The ride address counter 904 and the read address counter 905 are both down counters, each receiving a WST signal and an RST signal for instructing the start of a count operation, and inputting a write clock WCLK to the shift memory 907 and a read clock RCLK from the shift memory. Is done.

306は第3図示のトリミング処理部306であり、STカウ
ンタ912、ENカウンタ913で決まる枠内を出力画像とし枠
外をマスクする。
Reference numeral 306 denotes a trimming processing unit 306 shown in FIG. 3, which sets the inside of the frame determined by the ST counter 912 and the EN counter 913 as an output image and masks the outside of the frame.

910はシフトメモリ907から出力され濃度処理部908を
経た画像データを出力制御しVIDEOとして出力するアン
ドゲートである。
An AND gate 910 controls the output of the image data output from the shift memory 907 and passed through the density processing unit 908 and outputs it as VIDEO.

STカウンタ912及びENカウンタ913は各々決められた領
域のみに画像を出力するためのスタートビツトカウンタ
及びエンドビツトカウンタで、これらにはI/Oを介してC
PU308がゲートの為のカウントデータをプリセツトす
る。
An ST counter 912 and an EN counter 913 are a start bit counter and an end bit counter for outputting an image only to a predetermined area, respectively.
PU308 presets the count data for the gate.

フリツプフロツプ914はSTカウンタ912のカウントアツ
プでセツトされ、ENカウンタ913のカウントアツプでリ
セツトされたアンドゲート910にゲート信号を出力す
る。
The flip-flop 914 is set at the count-up of the ST counter 912 and outputs a gate signal to the AND gate 910 reset at the count-up of the EN counter 913.

次に変倍の原理を説明する。 Next, the principle of zooming will be described.

副走査方向の変倍は光学系のスキヤン速度を可変にす
ることで行なう。CPU308がオペレータの指定した倍率か
らパルスモータ26の速度を計算しその速度に対応するパ
ルス周波数を算出し、第2図311のモータドライバ311に
走査前にプリセツトしておく。プリンタBの搬送速度は
常に180mm/secなので2倍に拡大する時は等倍時の速度1
80mm/secに対し1/2の速度90mm/secで光学系を動かし、1
/2に縮小する時は2倍の速度360mm/secで動かす。
Zooming in the sub-scanning direction is performed by making the scan speed of the optical system variable. The CPU 308 calculates the speed of the pulse motor 26 from the magnification designated by the operator, calculates a pulse frequency corresponding to the speed, and presets it to the motor driver 311 in FIG. 311 before scanning. The transport speed of the printer B is always 180mm / sec.
Move the optical system at a speed of 90 mm / sec, which is 1/2 the speed of 80 mm / sec.
When reducing to / 2, move at twice the speed of 360mm / sec.

主走査方向の変倍を第4図をもとに説明する。 The scaling in the main scanning direction will be described with reference to FIG.

一定周波数で出力されてくるCCD1からのA/D変換後の
シリアル信号を倍率に応じたクロツクレートでサンプリ
ングする。等倍の時は第4図(A)に示す様にCCDから
の転送クロツクCLKと等しい書込みクロツクWCLKでシフ
トメモリ907にデータを書込み又第4図(B)に示すよ
うにプリンタBへの出力クロツクVCLKと等しい読み出し
クロツクRCLKでシフトメモリから読み出す。
A / D-converted serial signals from CCD1 output at a constant frequency are sampled at a clock rate corresponding to the magnification. At the same magnification, data is written in the shift memory 907 with a write clock WCLK equal to the transfer clock CLK from the CCD as shown in FIG. 4A, or output to the printer B as shown in FIG. 4B. Read from shift memory with read clock RCLK equal to clock VCLK.

例えば1/2縮小の時はシフトメモリ907への書込みクロ
ツクWCLKを第4図(C)のように転送クロツクCLKの1/2
として、原情報を2ビツトについて1ビツトずつサンプ
リングしてシフトメモリ907で書込む。そして、第4図
(B)のように出力クロツクVCLKと同じ読み出しクロツ
クRCLKで読み出して1/2縮小を実行する。
For example, at the time of 1/2 reduction, the write clock WCLK to the shift memory 907 is reduced to 1/2 of the transfer clock CLK as shown in FIG.
The original information is sampled one bit at a time for two bits and written in the shift memory 907. Then, as shown in FIG. 4 (B), the read clock RCLK which is the same as the output clock VCLK is read out and the half reduction is performed.

また、2倍に拡大する時は、シフトメモリ907への書
込み時は等倍時と同じく第4図(A)のように書込み、
シフトメモリ907からの読み出し時に第4図(D)のよ
うにプリンタBへの出力クロツクVCLKに対して1/2のク
ロツクレートの読み出しクロツクRCLKで読み出せば、原
情報1ビツトにつき1ビツトずつ水増しされて2倍拡大
が実行できる。
When the data is enlarged twice, writing to the shift memory 907 is performed as shown in FIG.
At the time of reading from the shift memory 907, as shown in FIG. 4 (D), if the read clock RCLK having a clock rate 1/2 that of the output clock VCLK to the printer B is read, one bit is added to each bit of the original information. Thus, a two-fold enlargement can be performed.

画像移動の原理を第5図及び第6図を用いて説明す
る。
The principle of image movement will be described with reference to FIGS.

副走査方向については第5図に示すように原稿画像ス
キヤンとプリンタBへのVSYNC出力タイミングを変える
ことで実行する。
The sub-scanning direction is executed by changing the document image scan and the VSYNC output timing to the printer B as shown in FIG.

画像読取り時光学系が原稿に対して1の位置に到達し
た時にVSYNCと共にVIDEO出力すると、(1)の図のよう
に移動しない出力が得られる。2の位置に光学系が到達
した時にVSYNCと共にVIDEO出力すると、(2)のように
後方へ移動した出力が得られ、また3の位置に光学系が
到達した時にVSYNCとVIDEOを出力すると、(3)のよう
に前方へ移動した出力が得られる。
If the video system outputs VIDEO together with VSYNC when the optical system reaches the position 1 with respect to the document at the time of image reading, an output that does not move is obtained as shown in FIG. When VIDEO is output together with VSYNC when the optical system reaches the position 2, an output moved backward as shown in (2) is obtained. When VSYNC and VIDEO are output when the optical system reaches the position 3, ( An output moved forward as in 3) is obtained.

主走査方向については第6図に示すように第3図のI/
Oレジスタ902、903を介して、ライトアドレスカウンタ9
04とリードアドレスカウンタ905に与えるダウンカウン
ト開始アドレスを相対的に変えることで行なう。
As for the main scanning direction, as shown in FIG.
Write address counter 9 via O registers 902 and 903
This is performed by relatively changing the down count start address given to 04 and the read address counter 905.

例えば、シフトメモリ907への書込み開始アドレスWAD
Rに対し、読み出し開始アドレスをRADR1すると、(1)
のように出力主走査巾VIDEO ENABLEに対しアドレスWADR
に相当する画像データX0が右へ移動する。また、読み出
し開始アドレスをRADR2とすると、(2)のようにシフ
トメモリアドレス0に相当するデータX3がやはりVIDEO
ENABLEに対し左へ移動する。第6図に示される有効画像
区間信号VIDEO ENABLEとは第3図のSTカウンタ912とEN
カウンタ913及びF/F914、ゲート915、916、917、910、9
11で構成されるトリミング区間信号であり、第6図のシ
フトメモリ907においてアドレス0からWADR間より外の
無効画像については白信号とするために必要である。
For example, the write start address WAD to the shift memory 907
If the read start address for R is RADR1, (1)
The output main scan width is VIDEO ENABLE and the address is WADR.
Image data X 0 is moved to the right, which corresponds to. Further, when the read start address and RADR2, also the data X 3 corresponding to the shift memory address 0 as (2) VIDEO
Move left to ENABLE. The effective image section signal VIDEO ENABLE shown in FIG. 6 is equivalent to the ST counter 912 in FIG.
Counter 913 and F / F914, gates 915, 916, 917, 910, 9
This is a trimming section signal composed of 11 and is necessary for making an invalid image outside the area between address 0 and WADR in the shift memory 907 in FIG. 6 a white signal.

原稿座標検出の考え方を述べる。 The concept of document coordinate detection will be described.

圧板4は鏡面処理されており、圧板4を照明して得ら
れる反射光は正反射され画像読取り用センサーであるCC
D1には集光されず、輝度的には黒レベルとなる。
The pressure plate 4 is mirror-finished, and the reflected light obtained by illuminating the pressure plate 4 is specularly reflected, and the image reading sensor CC
It is not condensed on D1 and has a black level in luminance.

また通常の原稿の地肌は白く、その画信号は輝度的に
は白レベルとなる。
In addition, the background of a normal document is white, and its image signal has a white level in terms of luminance.

従って、第8図に示すようにプラテン上に置かれた原
稿の位置を検出することは斜線部で示す黒信号の中の白
信号の位置を検出することで実現できる。
Therefore, as shown in FIG. 8, detecting the position of the document placed on the platen can be realized by detecting the position of the white signal in the black signal indicated by the hatched portion.

即ち光学系がプラテン上を基準点SPから後端EPまで副
走査方向に走査しながら任意の副走査位置Yiにおける原
稿の主走査位置XSとXEを検出する。
That is, the optical system detects the main scanning positions XS and XE of the document at an arbitrary sub-scanning position Yi while scanning the platen from the reference point SP to the rear end EP in the sub-scanning direction.

第7図に前記座標を検出する論理を示し以下に説明す
る。
FIG. 7 shows the logic for detecting the coordinates and will be described below.

主走査カウンタ401はアツプカウンタであり、主走査
1ライン中における走査位置を表わす。このカウンタ40
1は各主走査の初めに発生する水平同期信号HSYNCでリセ
ツトされ、画像データクロツクCLKが入力される毎にカ
ウントアツプする。シエーデイング補正後の2値化され
た画像データVIDEOはシフトレジスタ402に画像データク
ロツクCLKに同期して8ビツト単位で入力される。8ビ
ツト入力が完了した時点でゲート回路403は8ビツト全
てが白画像か否かのチエツクを行ない、YESならば信号
線411に“1"を出力する。
The main scanning counter 401 is an up counter, and indicates a scanning position in one main scanning line. This counter 40
1 is reset by the horizontal synchronizing signal HSYNC generated at the beginning of each main scan, and counts up every time the image data clock CLK is input. The binarized image data VIDEO after the shading correction is input to the shift register 402 in units of 8 bits in synchronization with the image data clock CLK. When the input of 8 bits is completed, the gate circuit 403 checks whether or not all the 8 bits are white images. If YES, the gate circuit 403 outputs "1" to the signal line 411.

各主走査ラインにおいて最初の8ビツト白が現われた
時フリツプフロツプ410がセツトする。このフリツプフ
ロツプはあらかじめHSYNC信号でリセツトされている。
The flip-flop 410 is set when the first 8-bit white appears on each main scan line. This flip-flop is reset by the HSYNC signal in advance.

以後次のHSYNCが来る迄セツトしっ放しである。フリ
ツプフロツプ410がセツトした時にCPU308の出力するEN
信号が“1"ならばゲート404が“1"を出力するので、ラ
ツチ409にその時点の主走査カウンタ401の値がロードさ
れ、これがXS座標値になる。
After that, the setting is left until the next HSYNC comes. EN output from CPU 308 when flip-flop 410 is set
If the signal is "1", the gate 404 outputs "1", so that the latch 409 is loaded with the value of the main scanning counter 401 at that time, and this becomes the XS coordinate value.

またゲート403が1を出力する度に主走査カウンタ401
の値がラツチ405にロードされる。最初の8ビツト白が
現れた時の主走査カウンタ401からの値がラツチ405にロ
ードされるとラツチ408のデータとコンパレータ406で大
小比較され、ラツチ405のデータの方が大きくてCPU308
の出力する信号ENが1の時にラツチ405のデータがラツ
チ408にロードされる。この動作は次に8ビツトの画像
データVIDEOがシフトレジスタ402に入る迄に処理され
る。
Each time the gate 403 outputs 1, the main scanning counter 401
Is loaded into the latch 405. When the value from the main scan counter 401 when the first 8-bit white appears is loaded into the latch 405, the data of the latch 408 is compared in magnitude with the comparator 406, and the data of the latch 405 is larger than the CPU 308.
When the signal EN output from the latch is 1, the data of the latch 405 is loaded into the latch 408. This operation is processed until the next 8-bit image data VIDEO enters the shift register 402.

このラツチ405と408の比較動作を1主走査ライン中続
ければ、ラツチ408には主走査方向で最後に8ビツト白
が現われた時点の主走査座標が残りこれがXE座標値とな
る。
If the comparison operation between the latches 405 and 408 is continued during one main scanning line, the main scanning coordinate at the time when the last 8-bit white appears in the main scanning direction remains on the latch 408, and this becomes the XE coordinate value.

第9図に座標検出にかかわるタイミング図の例を示
す。
FIG. 9 shows an example of a timing chart relating to coordinate detection.

水平同期信号HSYNCは同時に画像の有効区間、即ち、
この場合はプラテンの主走査区間に相当する。このHSYN
Cの各立ち下がりでCPU308に対し、割り込み信号INT1が
発生するように構成されている。
The horizontal synchronizing signal HSYNC is simultaneously in the effective section of the image, that is,
This case corresponds to the main scanning section of the platen. This HSYN
The CPU 308 is configured to generate an interrupt signal INT1 at each falling edge of C.

CPU308は光学系を副走査方向に移動させ、基準点SPに
達したことを検出したら、EN信号をONする。前述第7図
の検出回路はEN信号のON区間でHSYNC区間単位で検出動
作を行なう。
The CPU 308 moves the optical system in the sub-scanning direction, and when detecting that the optical system has reached the reference point SP, turns on the EN signal. The detection circuit shown in FIG. 7 performs the detection operation in units of HSYNC during the ON period of the EN signal.

一方CPU308は、EN信号がONしたら、HSYNC割り込みINT
1を2回カウントしてEN信号をOFFする。これはEN信号の
ONタイミングがHSYNCに同期する保証がなく、EN信号ON
後最初の割り込みINT1迄の検出区間であるPでは主走査
区間全域にわたる正しい検出ができないためである。EN
信号ON後、2回目のINT1割り込みで取り込んだ前述の座
標値XS、XEは主走査区間全域にわたる検出区間Qにおけ
る検出座標なので信用できる。検出座標を取り込んだら
EN信号をONして、次のINT1を待ち、以後くり返す。
On the other hand, when the EN signal is turned on, the CPU 308 outputs the HSYNC interrupt INT
Count 1 twice and turn off the EN signal. This is the EN signal
There is no guarantee that the ON timing will be synchronized with HSYNC.
This is because correct detection over the entire main scanning section cannot be performed in P, which is a detection section until the first interrupt INT1. EN
After the signal is turned on, the above-mentioned coordinate values X S and X E fetched in the second INT1 interrupt can be trusted because they are detected coordinates in the detection section Q over the entire main scanning section. After capturing detection coordinates
Turn on the EN signal, wait for the next INT1, and repeat thereafter.

以上のような構成と制御によって副走査の任意位置Yi
における原稿の主走査区間XS、XEが検出できる。
With the above configuration and control, the arbitrary position Yi
The main scanning section of the document in the X S, X E can be detected.

第10図に原稿ガラス3上に載置された複数の原稿の枚
数及び各原稿の位置とサイズを検出する為の制御フロー
チヤートを示し以下に説明する。
FIG. 10 shows a control flow chart for detecting the number of a plurality of documents placed on the document glass 3 and the position and size of each document, and will be described below.

まず、以後の制御で用いるRAM上のカウンタ類を初期
化する(SP101)。ランプ2を点灯し光学系をスタート
させる。(SP102)。
First, the counters on the RAM used in the subsequent control are initialized (SP101). The lamp 2 is turned on to start the optical system. (SP102).

光学系が原稿台基準点SPに到達したら(SP103)、前
述のEN信号をONし(SP104)。同じく前述のHSYNCによる
割り込み信号INT1の2回目を待ち(SP105)、EN信号をO
FFし(SP106)、副走査位置を示すRAM上のカウンタCNT
を2だけ加算する(SP107)。
When the optical system reaches the platen reference point SP (SP103), the aforementioned EN signal is turned on (SP104). Wait for the second interrupt signal INT1 by HSYNC (SP105).
FF (SP106), counter CNT on RAM indicating sub-scanning position
Is added by 2 (SP107).

次に前述の原稿座標検出回路に示したラツチから原稿
座標値を読み出しRAM上のエリアXS、XEにセツトする(S
P108)。もしXS≧XEならば原稿が存在しないと判定し、
XS<XEならば原稿が存在したと判定する(SP109)。
Next area X S in the RAM reading an original coordinate value from the latch shown in the aforementioned document coordinate detection circuit, and excisional to X E (S
P108). If X S ≧ X E , it is determined that the document does not exist,
X S <determines that the manuscript if X E is present (SP109).

一方、前副走査位置迄に原稿が存在したか否かを示す
RAM上のフラグEが用意されており、初期化で0にセツ
トされ、副走査スキヤンに伴ない、原稿が無い状態か
ら、有る状態に変化した時に1となり、逆に有る状態か
ら無い状態に変化した時0となる。
On the other hand, indicates whether or not the document was present up to the previous sub-scanning position.
A flag E in the RAM is prepared, and is set to 0 at initialization, and becomes 1 when the state changes from the absence of the original to the presence of the original due to the sub-scanning, and changes from the existing state to the absence state. When it does, it becomes 0.

従って原稿が検出できる迄は(SP104)から(SP110)
の動作をくり返す。
Therefore, from (SP104) to (SP110) until the original can be detected.
Repeat the operation of

(SP109)において原稿有りと判定された時、前副走
査位置でも有りと判定されたか否かをフラグEにより判
定し(SP119)、もしE=0ならばEに1をセツトする
と共に、その時の副走査位置CNTをその原稿の副走査先
端座標としてRAM上のエリアYBSにセツトする(SP12
1)。
When it is determined in step (SP109) that there is a document, it is determined by the flag E whether or not it is determined in the previous sub-scanning position as well (SP119). If E = 0, 1 is set to E, and to excisional the area Y BS in the RAM of the sub-scanning position CNT sub-scanning tip coordinates of the document (SP 12
1).

次に同じくCNT値を原稿の副走査後端座標としてRAM上
のエリアYBEにセツトする(SP122)。YBE値は原稿が有
る間、割り込み処理毎に更新される。また、主走査座標
については、リード値XSとXEを、RAM上のエリアに格納
されている。前回までの最小値XBSと最大値XBEと比較
し、新たな最小値及び最大値が各々格納される(SP123
〜SP126)。XBS及びXBEは初期化及び後述するように、
原稿がなくなった時に、例えばXBSには最大値FFFFHEXX
BEには最小値0がセツトされている。
Then similarly excisional the area Y BE in the RAM of the CNT value as the subscanning rear coordinates of the document (SP122). The Y BE value is updated every interruption process while the document is present. Further, the main scanning coordinates, the read value X S and X E, are stored in the area on the RAM. Compared to the minimum value X BS and a maximum value X BE up to the previous, stored new minimum value and maximum value of each (SP 123
~ SP126). X BS and X BE are initialized and as described later,
When the document is no longer, for example, the maximum value FFFF HEX X is the X BS
BE is set to a minimum value of 0.

以上一旦原稿を検出した後(SP119)から(SP126)の
動作をくり返し、原稿の後端に迄光学系走査が進み、原
稿がなくなった時には(SP109)と(SP110)を経て、
(SP119)〜(SP126)で検出した原稿座標値をi番目の
原稿の位置座標としてRAM上のエリアXSi、XEi、YSi、YE
iに格納する(SP111)。
After the document is once detected, the operations from (SP119) to (SP126) are repeated, and the optical system scan proceeds to the rear end of the document. When the document is exhausted, the process goes through (SP109) and (SP110).
Areas XSi, XEi, YSi, and YE on the RAM are determined using the document coordinate values detected in (SP119) to (SP126) as the position coordinates of the i-th document.
Stored in i (SP111).

iはRAM上のカウンタであり初期化で0にセツトされ
ており、原稿が途切れる度に1ずつインクリメントされ
(SP113)、原稿枚数をカウントする。
i is a counter on the RAM, which is set to 0 at initialization, and is incremented by one each time a document is interrupted (SP113), and counts the number of documents.

検出座標を格納したら前述のように主座標座標検出用
のRAM上のバツフアXBSとXBEを初期化し(SP112)、次の
原稿の検出の為にフラグEを0にセツトする(SP11
4)。
The buffer X BS and X BE in the RAM for the main coordinate coordinate detection as After storing the detected coordinates above initialization (SP112), which excisional flag E to 0 for the detection of the next original (SP11
Four).

以上の動作を原稿台後端EPに達する迄くり返し、EPに
到達したら(SP115)、ランプ2を消灯し、光学系を停
止する(SP116)。EPにおいてもしフラグEが1ならば
(SP117)、最後の原稿座標検出が未完了である為(SP1
11)へ戻って強制的に終了させる。最後に検出した原稿
枚数i−1をRAM上のエリアNに格納して(SP118)、検
出作業を全て終了する。
The above operation is repeated till the rear end EP of the document table is reached. When the EP is reached (SP115), the lamp 2 is turned off and the optical system is stopped (SP116). If the flag E is 1 in the EP (SP117), the last document coordinate detection is not completed (SP1).
Return to 11) to force termination. Finally, the number i-1 of detected originals is stored in the area N on the RAM (SP118), and the detection operation is completed.

第11図に第1の編集処理実施例の考え方を示し説明す
る。
FIG. 11 shows and explains the concept of the first editing processing embodiment.

本例は(A)図に示すように原稿台ガラス3上に適当
に載置された3枚の原稿OR1、OR2、OR3を(B)に示す
ように別の用紙にCP1、CP2、CP3の如くコピー出力する
ものである。従来ならば(A)のように載置した場合は
(C)のようなコピー出力CPしか得られなかったが、本
例によれば、同時に載置したサイズの異なる3枚の原稿
を同じサイズの用紙に各々変倍コピーしたり、各原稿毎
に所望の倍率を乗じて得られる最適の用紙を自動的に選
択したりできる。
In this example, three originals OR1, OR2, and OR3 appropriately placed on the original platen glass 3 as shown in FIG. 3A are transferred onto separate sheets of CP1, CP2, and CP3 as shown in FIG. Copy output is performed as follows. Conventionally, when a document was placed as shown in (A), only a copy output CP as shown in (C) was obtained, but according to this example, three documents of different sizes placed simultaneously were placed in the same size. , And the optimum paper obtained by multiplying each original by a desired magnification can be automatically selected.

第12図に第11図示の編集処理実行のためのCPU308の制
御フローチヤートを示し以下に説明する。
FIG. 12 shows a control flowchart of the CPU 308 for executing the editing process shown in FIG. 11, and will be described below.

まず光学系ホームポジシヨンに復帰させ(SP201)、
前述の手順で原稿台上の原稿枚数と各位置座標を検出後
(SP202)、再び光学系をホームポジシヨンに復帰させ
(SP203)、以後複写動作に入る。
First, return to the optical system home position (SP201)
After detecting the number of documents on the platen and the respective position coordinates in the above-described procedure (SP202), the optical system is returned to the home position again (SP203), and the copying operation starts thereafter.

まず、処理原稿枚数をカウントするRAM上のカウンタ
iを0クリアし(SP20)、カウンタ値iに対応する原稿
の座標XSi、XEi、YSi、YEiをトリミングすべき領域とす
る(SP205)。
First, the counter i on the RAM that counts the number of processed documents is cleared to 0 (SP20), and the coordinates XSi, XEi, YSi, and YEi of the document corresponding to the counter value i are set as areas to be trimmed (SP205).

次に設定されたモードがオート用紙選択かオート変倍
かいずれでもないかを判定する(SP206、SP207)。
Next, it is determined whether the set mode is either the automatic paper selection or the automatic scaling (SP206, SP207).

まず、オート用紙選択の場合は、設定されている主走
査及び副走査倍率をMX、MYにセツトし(SP208)、出力
すべきサイズCX、CYを先の領域座標からCX=(XEi−XS
i)×MX、CY=(YEi−YSi)×MYから演算して求め(SP2
09)、これに基づいてCX≦PX、CY≦PYを満足する用紙サ
イズでPX、PYを求める(SP210)。
First, in the case of automatic paper selection, the set main scanning and sub-scanning magnifications are set to MX and MY (SP208), and the sizes CX and CY to be output are set to CX = (XEi−XS
i) × MX, CY = (YEi-YSi) × MY
09), and based on this, PX and PY are obtained with a paper size satisfying CX ≦ PX and CY ≦ PY (SP210).

オート変倍の時はまず選択されている用紙のサイズを
RAM上のエリアPX、PYにセツトし(SP211)、次に主、副
各走査倍率を、MX=PX/(XEi−XSi)、MY=PY/(YEi−Y
Si)より求める(SP212)。主副各走査方向に同じ倍率
を設定したい時はMXとMYの小さい方を両方にセツトし直
す。最後に(SP209)と同じく出力サイズCX、CYを求め
ておく(SP213)。
When using auto scaling, first select the size of the selected paper.
Set in the areas PX and PY on the RAM (SP211), then set the main and sub scanning magnifications as MX = PX / (XEi-XSi), MY = PY / (YEi-Y
Si) (SP212). To set the same magnification in each of the main and sub scanning directions, reset the smaller of MX and MY to both. Finally, the output sizes CX and CY are obtained as in (SP209) (SP213).

オート用紙選択でもオート変倍でもない時は、倍率も
用紙もすでに設定されているので、出力サイズのみ演算
する。(SP214、SP215、SP216)。
When neither auto paper selection nor auto scaling is performed, only the output size is calculated because the magnification and paper are already set. (SP214, SP215, SP216).

以上各ケースについて用紙サイズPX、PYと出力サイズ
CX、CYが求まったら、それに基づき、用紙上に設ける上
下、左右の余白量SX、SYをSX=(PX−CX)/2、SY=(PY
−CY)/2より求める(SP217)。余白量とは前述の移動
機能に必要なパラメータで画像の移動量にあたる。また
本例では画像は用紙の中央にコピーするものとする。
Paper size PX, PY and output size for each case
Once CX and CY are determined, the top and bottom and left and right margins SX and SY to be provided on the paper are calculated based on the SX = (PX-CX) / 2, SY = (PY
−CY) / 2 (SP217). The margin amount is a parameter necessary for the above-described moving function, and corresponds to the moving amount of the image. In this example, the image is copied at the center of the sheet.

以上の手順で求めた編集処理に必要なパラメータに基
づいて、前述のトリミング、移動、変倍の処理を第i番
目の原稿に施しつつ、複写動作を行ない(SP218)、さ
らに(SP205)〜(SP218)の動作をカウンタiを1ずつ
インクリメントしながら、検出した原稿枚数Nに等しく
なる迄(SP219)、続けた後、処理を終了する。
Based on the parameters necessary for the editing process obtained in the above procedure, a copying operation is performed while performing the above-described trimming, moving, and scaling processes on the i-th document (SP218), and further (SP205) to (SP205). The operation of (SP218) is continued while incrementing the counter i by one until it becomes equal to the detected number N of documents (SP219), and then the process is terminated.

以上のようにして、複数枚の原稿を原稿台ガラス3上
に同時にかつ適当な位置に載置しても、自動的に各原稿
を独立に処理できる。
As described above, even if a plurality of originals are placed on the original platen glass 3 simultaneously and at appropriate positions, each original can be automatically processed independently.

第13図に第2の編集処理の例を示し、説明する。 FIG. 13 shows an example of the second editing process, which will be described.

第2の例は(A)のように適当に載置した2枚の原稿
L、Rの各辺が揃っていない場合に有効である。このよ
うな時従来ならば(C)のようにしかコピーCR出力が得
られず、大変見苦しいものになっていた。
The second example is effective when the sides of two appropriately placed originals L and R are not aligned as shown in FIG. In such a case, conventionally, a copy CR output was obtained only as in (C), which was very unsightly.

本例ではこのような時に、(B−1)から(B−3)
に示すように各原稿の中央を揃えたコピー出力CR1(タ
イプ1)、上辺を揃えたコピー出力CR2(タイプ2)、
下辺を揃えたコピー出力CR3(タイプ3)を得るもの
で、美しく整ったコピー出力を与えるものである。
In this example, in such a case, (B-1) to (B-3)
Copy output CR1 (type 1) with the center of each document aligned, copy output CR2 (type 2) with the top side aligned, as shown in
This is to obtain a copy output CR3 (type 3) in which the lower sides are aligned, and to give a beautifully arranged copy output.

つまり原稿毎に検出した座標に基づいて、原稿毎に主
走査方向に画像を移動して実現する。
That is, it is realized by moving an image in the main scanning direction for each document based on the coordinates detected for each document.

第14図(A)、(B)に第13図示の第2の編集処理の
制御フローチヤートを示し、説明する。
FIGS. 14 (A) and (B) show and explain a control flow chart of the second editing process shown in FIG.

まず前述の方法により原稿の枚数Nと各原稿の位置座
標XSi、XEi、YSi、YEi(i=0、…、N)を求める(SP
301〜SP304)。
First, the number N of documents and the position coordinates XSi, XEi, YSi, YEi (i = 0,..., N) of each document are obtained by the above-described method (SP
301-SP304).

次に各原稿毎のサイズXLi、YLiをXLi=XEi−XSi、YLi
=YEi−YSiより求める(SP305)。
Next, the size XLi, YLi of each document is calculated by XLi = XEi−XSi, YLi.
= YEi-YSi (SP305).

第13図(B−1、2、3)に示したように第2の編集
例では複数枚の原稿を1枚の原稿として処理するのであ
るが、1枚の原稿と見なした時の副走査長さDYは原稿台
ガラス3上の左端の原稿の先端座標YSOと右端の原稿の
後端座標YENの距離に等しく、DY=YEN−YSOである。ま
た、主走査長DXは各原稿の辺なり中央を揃える為に最も
大きな原稿の主走査長と等しくなり、DX=max(XLO
…、XLN)である(SP306)。
As shown in FIG. 13 (B-1, 2, 3), in the second editing example, a plurality of documents are processed as one document. scanning length DY is equal to the distance rear end coordinate YE N tip coordinates YS O and the right edge of the document of the leftmost document on the platen glass 3, a DY = YE N -YS O. The main scanning length DX is equal to the main scanning length of the largest document in order to align the sides and the center of each document, and DX = max (XL O ,
…, XL N ) (SP306).

以上のように原稿領域に相当するサイズDX、XYが得ら
れたら、これに基づいて、第1の編集例と同様にオート
用紙選択、オート変倍等のモードを考慮しつつ倍率MX、
MY、用紙サイズPX、PY、出力サイズCX、CYを求める(SP
307〜SP317)。
When the sizes DX and XY corresponding to the document area are obtained as described above, based on these, as in the first editing example, the magnification MX,
Find MY, paper size PX, PY, output size CX, CY (SP
307-SP317).

さらにPYとCYより副走査余白量SYつまり副走査方向の
画像の移動量をSY=(PY−CY)/2より求める(SP31
8)。本例では画像は用紙の中央にコピーするようにな
っている為である。
Further, the sub-scanning margin SY, that is, the moving amount of the image in the sub-scanning direction, is obtained from SY = (PY-CY) / 2 from PY and CY (SP31).
8). This is because the image is copied in the center of the sheet in this example.

次に原稿枚数カウンターiを0クリアした後(SP31
9)、ランプ2を点灯し光学系をスタートする(SP32
0)。
Next, after clearing the document number counter i to 0 (SP31
9) Turn on lamp 2 and start the optical system (SP32
0).

光学系のスタートタイミングとプリンタにおける給紙
のタイミングが副走査余白量SYにより調整されることは
云うまでもない。
Needless to say, the start timing of the optical system and the timing of paper feeding in the printer are adjusted by the sub-scan margin SY.

光学系がi番目の原稿の先端YSiに到達したら(SP32
1)、原稿部分のみをトリミングする為に画像出力区間
として原稿の主走査座標XSi、XEiをセツトする(SP32
2)。
When the optical system reaches the leading edge YSi of the i-th document (SP32
1) The main scanning coordinates XSi and XEi of the document are set as an image output section to trim only the document portion (SP32).
2).

次に主走査余白量つまり主走査方向の画像の移動量SX
を求める(SP323)。SXは、第13図(B−1〜3)に示
すように、3つのタイプ毎に異なる。タイプ1の時は主
走査の中央にコピーするためSX=(PX−XLi×MX)/2と
なり(SP329)、タイプ2の時は最大主走査長の原稿と
原稿台上での下辺を揃えるため、 SX=(PX−DX・MX)/2+(DX−XLi)×MXより、 CX=DX・MXなので、 SX=(PX+CX)/2−XLi・MXとなり(SP330)となる。
Next, the main scanning margin amount, that is, the moving amount SX of the image in the main scanning direction.
(SP323). SX differs for each of the three types, as shown in FIG. 13 (B-1 to 13). SX = (PX-XLi x MX) / 2 for Type 1 because the image is copied to the center of the main scan (SP329). For Type 2 the original with the maximum main scan length is aligned with the lower side on the platen. From SX = (PX−DX · MX) / 2 + (DX−XLi) × MX, since CX = DX · MX, SX = (PX + CX) / 2−XLi · MX, which is (SP330).

さらにタイプ3では最大主走査長の原稿と原稿台上で
上辺を揃えるためSX=(PX−CX)/2となる(SP331)。
以上のようにして求めた第i番目の原稿に対する主走査
の画像移動量SXに従って前述の移動処理回路を制御す
る。
Further, in Type 3, SX = (PX−CX) / 2 because the upper side of the original having the maximum main scanning length and the original table are aligned (SP331).
The above-described movement processing circuit is controlled in accordance with the image movement amount SX of the main scanning for the i-th document obtained as described above.

光学系が第i番目原稿の後端YEiに到達したら(SP32
4)、前述のトリミング回路にて画像の出力を禁止して
(SP325)、カウンタiを1インクリメントし(SP32
7)、次に原稿の先端座標を待つ。
When the optical system reaches the rear end YEi of the i-th document (SP32
4) The output of the image is inhibited by the trimming circuit (SP325), and the counter i is incremented by 1 (SP32).
7) Then wait for the coordinates of the leading edge of the document.

以上の動作を第N番目の原稿迄くり返した後(SP32
6)、ランプを消灯し、光学系をホームポジシヨンに戻
してコピー処理を終了する(SP328)。
After repeating the above operation up to the Nth original (SP32
6) Turn off the lamp, return the optical system to the home position, and end the copy processing (SP328).

以上のように複数原稿の各々について主走査移動量を
制御して、適当においた複数原稿も美しくコピーでき
る。
As described above, the main scanning movement amount is controlled for each of a plurality of originals, so that an appropriately arranged plurality of originals can be copied beautifully.

第15図に第3の編集処理の例の考え方を示し説明す
る。
FIG. 15 shows and explains the concept of the example of the third editing process.

第3の編集例は(A)の様にガラス3上に適当に載置
された3枚の原稿OG1〜3を(B−4)のように原稿間
のすき間をつめて、かつ、主走査位置も揃えるものであ
る。
In the third editing example, the three originals OG1 to OG3 appropriately placed on the glass 3 as shown in (A) are filled with a gap between the originals as shown in (B-4) and the main scanning is performed. The positions are also aligned.

この場合、光学系は(B−1)のようにスキヤン動作
を行なう。つまり、まず原稿台全域について原稿座標を
検知する為のスキヤンCPSを行なった後、ホームポジシ
ヨンに復帰し、予備前進PFWの後に第1の原稿のスキヤ
ンCPSを行ない(B−2)のようなコピー出力を一旦
得た後、第2の原稿のスキヤンCPSを行ない再び(B
−3)のようなコピー出力を得、さらに第3の原稿のス
キヤンCPSを行ない最終的なコピー出力(B−4)を
得るものである。
In this case, the optical system performs a scan operation as shown in (B-1). That is, first, the scan CPS for detecting the document coordinates is performed on the entire document table, and then the home position is returned. After the preliminary forward PFW, the scan CPS of the first document is performed (B-2). Once the copy output is obtained, the scan CPS of the second original is performed and (B
A copy output as shown in -3) is obtained, and a scan CPS of the third document is further performed to obtain a final copy output (B-4).

尚、STPはスキヤンの停止を示す。 Note that STP indicates that the scan has stopped.

第3の編集例は複数枚の原稿画像を1枚の用紙に多重
プリントする必要がある。すなわち第15図(B−2)、
(B−3)のコピー出力を一旦貯える機構が必要であ
る。
In the third editing example, multiple original images need to be multiplex-printed on one sheet. That is, FIG. 15 (B-2),
A mechanism for temporarily storing the copy output of (B-3) is required.

このような機構自体はすでに多く製品化されている
が、ここではそのうちの2つを第16図(A)、(B)に
示し説明する。
Although many such mechanisms have already been commercialized, two of them are shown and described in FIGS. 16 (A) and 16 (B).

第16図については、電子写真プロセスに必要な帯電
器、除電器、露光ランプ等は省略してある。
In FIG. 16, a charger, a static eliminator, an exposure lamp, and the like necessary for the electrophotographic process are omitted.

第16図(A)は貯蔵部として転写ドラムを有するもの
である。
FIG. 16A has a transfer drum as a storage unit.

カセツト15から給紙された用紙は搬送ベルト30を通っ
て転写ドラム32に吸着された後、感光ドラム8上で現像
器14によって現像された像を用紙に転写する。
The paper fed from the cassette 15 passes through the conveyor belt 30 and is attracted to the transfer drum 32, and then the image developed by the developing device 14 on the photosensitive drum 8 is transferred to the paper.

転写後用紙は転写ドラム32上に巻きつけられたまま必
要回数分の現像を転写された後、搬送ベルト31を通って
定着器22で定着された後排紙される。
After the transfer, the sheet is developed by a required number of times while being wound on the transfer drum 32, and then is fixed by the fixing device 22 through the transport belt 31 before being discharged.

第16図(B)は貯蔵部として中間トレイ36を有するも
のである。
FIG. 16B has an intermediate tray 36 as a storage unit.

カセツト15から給紙された用紙は最初の像を転写後、
定着器22で定着し、その後、すぐには排紙されずガイド
33がB方向を選択することで搬送ルート34を通って中間
トレー36に一旦貯えられた後、中間トレーのレジストロ
ーラ40により搬送ルート37へ送り出され、ガイド38によ
り再び感光体上の第2の像を転写される。
The paper fed from cassette 15 transfers the first image,
The image is fixed by the fixing unit 22, and thereafter, the sheet is not ejected immediately and is guided.
33 is temporarily stored in the intermediate tray 36 through the transport route 34 by selecting the direction B, is sent out to the transport route 37 by the registration rollers 40 of the intermediate tray, and is again returned to the second route on the photoconductor by the guide 38. The image is transferred.

以上の動作を必要回数(原稿ガラス3上の原稿枚数
分)くり返した後、ガイド33により搬送ルート35を介し
て排紙される。このようにして複数回スキヤン分の画像
を第15図(B−2〜4)に示す如く、1枚の用紙に多重
コピーできる。
After the above operation is repeated the required number of times (for the number of originals on the original glass 3), the paper is discharged by the guide 33 via the transport route 35. In this way, multiple scan images can be multiplex-copied on one sheet as shown in FIG. 15 (B-2 to 4).

第17図(A)、(B)に第3の編集処理の制御フロー
チヤートを示し説明する。
FIGS. 17A and 17B show a control flowchart of the third editing process, which will be described.

まず前述の手順で原稿台ガラス上の原稿枚数と各々の
位置座標を検出し(SP401〜SP404)、各原稿毎のサイズ
XLi、YLiを求める(SP405)。
First, the number of originals on the platen glass and the position coordinates of each original are detected by the above-described procedure (SP401 to SP404), and the size of each original is determined.
Find XLi and YLi (SP405).

第3の編集例では原稿間隔を詰めるので、1枚の原稿
と見なした時の原稿の副走査長DYはYLOからYLNまでの和
となり、主走査長DXはXLiの最大長となる(SP406)。
In the third editing example, the document interval is reduced, so that the sub-scanning length DY of the document assuming one document is the sum of YL O to YL N , and the main scanning length DX is the maximum length of XLi. (SP406).

次にオート用紙選択やオート変倍のモードを考慮して
倍率MX、MY、用紙サイズPX、PY、出力サイズCX、CYを求
め(SP407〜SP417)、最初の原稿の為の副走査余白量SY
をセツトする(SP418)。
Next, taking into account the auto paper selection and the auto scaling mode, the magnifications MX and MY, the paper sizes PX and PY, and the output sizes CX and CY are obtained (SP407 to SP417), and the sub-scan margin SY for the first original document is obtained.
Is set (SP418).

原稿枚数カウンタiを0クリアして(SP419)、光学
系をスタートする(SP420)。光学系が第i番目の原稿
先端YSiに到達したら(SP421)、一旦光学系を停止させ
て(SP422)、用紙先端に相当する信号を待つ(SP42
3)。
The document counter i is cleared to 0 (SP419), and the optical system is started (SP420). When the optical system reaches the i-th document leading end YSi (SP421), the optical system is temporarily stopped (SP422), and a signal corresponding to the leading end of the sheet is waited for (SP42).
3).

用紙先端を検出したらその時点か副走査余白量SYだけ
経過するのを待ってから(SP424)、ランプ2が点灯し
光学系をスタートさせ(SP425)かつ原稿領域に対応す
る画像出力区間XSi、XEiで前述のトリミング回路を制御
し、(SP426)、さらに第i番目の原稿に対する主走査
余白量SXを第2の編集例と同じ要領で求め、前述の移動
回路を制御する(SP427)。
When the leading edge of the sheet is detected, it waits for the time or the elapse of the sub-scan margin SY (SP424), then the lamp 2 is turned on to start the optical system (SP425), and the image output sections XSi and XEi corresponding to the document area. Then, the trimming circuit is controlled (SP426), and the main scanning margin SX for the i-th document is obtained in the same manner as in the second editing example, and the moving circuit is controlled (SP427).

以上のようにして第i番目の原稿のコピーを行ない、
光学系が原稿後端YEiに到達したら(SP428)、画像出力
を禁止し(SP429)。ランプ2を消灯し、光学系を停止
する(SP430)。
The i-th original is copied as described above,
When the optical system reaches the rear end YEi of the document (SP428), the image output is prohibited (SP429). The lamp 2 is turned off, and the optical system is stopped (SP430).

次に原稿枚数カウンタiをインクリメントし(SP43
2)、次の原稿の為に副走査余白量SYを更新し(SP43
3)、再び光学系を次の原稿の先端まで前もって移動さ
せておいて(SP420〜SP422)、次の用紙先端を待つ。
Next, the document number counter i is incremented (SP43
2) Update the sub-scan margin SY for the next original (SP43
3) The optical system is again moved to the front end of the next original document in advance (SP420 to SP422), and the next paper front end is awaited.

以上のように多重コピーを原稿枚数N回、くり返して
(SP431)、コピーを終了する。
As described above, the multiplex copy is repeated N times the number of documents (SP431), and the copy ends.

以上のように原稿台ガラス上の複数の原稿の枚数と各
位置座標を検出する手段と多重コピーの機構を組み合わ
せることで有用な機能を提供できる。
As described above, a useful function can be provided by combining the means for detecting the number of sheets of a plurality of documents on the platen glass and the respective position coordinates with the mechanism for multiplex copying.

第3の編集例では全ての原稿を同じ倍率で処理したが
各原稿毎に変倍率を変えてやることで第18図のような処
理も可能となる。
In the third editing example, all the originals are processed at the same magnification, but by changing the magnification for each original, the processing shown in FIG. 18 is also possible.

すなわち、大きさの異なる原稿を用紙上の同じサイズ
の領域へ変倍してかつ揃えてコピーするものであり、そ
の制御方法についてはすでに述べた内容を若干変更する
ことにより容易に実行できる。
That is, originals having different sizes are scaled and copied to an area of the same size on paper, and the copy method is easily performed by slightly changing the contents described above.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明によると、原稿台上に隙
間をもって載置された複数枚の原稿の夫々に対応する画
像信号を、面倒な位置指定を行なうことなしに抜き出す
ことができ、複数枚の原稿の夫々に対応する画像信号に
異なる画像処理を良好に実行することが可能となる。
As described above, according to the present invention, it is possible to extract image signals corresponding to each of a plurality of documents placed on a document table with a gap without performing a troublesome position designation. It is possible to satisfactorily execute different image processing on image signals corresponding to each of the originals.

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

第1図は本発明を適用した複写装置の構成図、 第2図は複写装置の回路構成を示すブロツク図、 第3図は画像処理部の要部を示すブロツク図、 第4図は変倍の手順を示すタイミングチヤート図、 第5図及び第6図は画像の移動の手順を示す図、 第7図は座標検知部ブロツク図、 第8図及び第9図は原稿座標及び枚数検知動作を示す
図、 第10図は原稿座標及び枚数検知のための手順を示すフロ
ーチヤート図、 第11図、第13図、第15図及び第18図は編集処理例を示す
図、 第12図、第14図及び第17図は編集処理手順を示すフロー
チヤート図、 第16図は複写装置の他の構成を示す図である。 2……ランプ 3……原稿台ガラス 1……CCD 307……原稿位置検出部 308……CPU
FIG. 1 is a block diagram of a copying apparatus to which the present invention is applied, FIG. 2 is a block diagram showing a circuit configuration of the copying apparatus, FIG. 3 is a block diagram showing a main part of an image processing unit, and FIG. 5 and 6 are diagrams showing a procedure of moving an image, FIG. 7 is a block diagram of a coordinate detecting unit, and FIGS. 8 and 9 are diagrams showing a document coordinate and sheet number detecting operation. 10, FIG. 10 is a flowchart showing a procedure for detecting document coordinates and the number of sheets, FIG. 11, FIG. 13, FIG. 15, and FIG. 18 are views showing an example of editing processing, FIG. 12, FIG. 14 and 17 are flowcharts showing the editing processing procedure, and FIG. 16 is a view showing another configuration of the copying apparatus. 2 Lamp 3 Document platen 1 CCD 307 Document position detector 308 CPU

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】原稿台上に隙間をもって載置された複数枚
の原稿の原稿台上における載置位置を夫々検出する位置
検出手段と、 前記複数枚の原稿が載置された前記原稿台を走査するこ
とにより画像信号を出力する走査手段と、 前記位置検出手段による前記複数枚の原稿の載置位置の
検出出力に基づいて、前記走査手段から出力された画像
信号から前記複数枚の原稿の夫々に対応する画像信号を
抜き出す抜出手段と、 前記抜出手段により抜き出された前記複数枚の原稿の夫
々に対応する画像信号に異なる画像処理を行なう処理手
段とを有することを特徴とする画像処理装置。
1. A position detecting means for respectively detecting a mounting position of a plurality of documents placed on a platen on a platen with a gap, and a position detecting means for detecting the position of the plurality of documents placed on the platen. Scanning means for outputting an image signal by scanning, based on a detection output of the mounting position of the plurality of documents by the position detecting means, based on the image signal output from the scanning means, Extracting means for extracting image signals corresponding to each of the plurality of originals, and processing means for performing different image processing on the image signals corresponding to each of the plurality of originals extracted by the extracting means. Image processing device.
【請求項2】請求項1において、前記処理手段により異
なる画像処理が行われた前記複数枚の原稿の夫々に対応
する画像信号に基づいて、前記複数枚の原稿の画像を用
紙に複写する複写手段を有することを特徴とする画像処
理装置。
2. A copying apparatus according to claim 1, wherein said plurality of original images are copied onto paper based on image signals corresponding to each of said plurality of original documents, which have been subjected to different image processing by said processing means. An image processing apparatus comprising:
【請求項3】請求項2において、前記複写手段により、
前記複数枚の原稿の画像を各々別の用紙に複写すること
を特徴とする画像処理装置。
3. The copying machine according to claim 2, wherein
An image processing apparatus, wherein the images of the plurality of originals are respectively copied on different sheets.
【請求項4】請求項2において、前記複写手段により、
前記複数枚の原稿の画像を1枚の用紙に複写することを
特徴とする画像処理装置。
4. The copying machine according to claim 2, wherein:
An image processing apparatus, wherein the images of the plurality of originals are copied on one sheet.
【請求項5】請求項2において、前記複数枚の原稿の夫
々のサイズを検出するサイズ検出手段を有することを特
徴とする画像処理装置。
5. An image processing apparatus according to claim 2, further comprising a size detecting means for detecting a size of each of the plurality of originals.
【請求項6】請求項5において、前記サイズ検出手段に
よる前記複数枚の原稿の夫々のサイズの検出出力に従っ
て、前記複数枚の原稿の画像を複写すべき変倍率を決定
することを特徴とする画像処理装置。
6. A magnification according to claim 5, wherein a magnification for copying images of said plurality of documents is determined in accordance with a detection output of each size of said plurality of documents by said size detecting means. Image processing device.
【請求項7】請求項5において、前記サイズ検出手段に
よる前記複数枚の原稿の夫々のサイズの検出出力に従っ
て、前記複数枚の原稿の画像を複写すべき用紙のサイズ
を決定することを特徴とする画像処理装置。
7. The apparatus according to claim 5, wherein the size of the paper on which the images of the plurality of documents are to be copied is determined according to the detection output of the size of each of the plurality of documents by the size detecting means. Image processing device.
JP02273925A 1990-10-13 1990-10-13 Image processing device Expired - Fee Related JP3082935B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02273925A JP3082935B2 (en) 1990-10-13 1990-10-13 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02273925A JP3082935B2 (en) 1990-10-13 1990-10-13 Image processing device

Publications (2)

Publication Number Publication Date
JPH04150560A JPH04150560A (en) 1992-05-25
JP3082935B2 true JP3082935B2 (en) 2000-09-04

Family

ID=17534485

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02273925A Expired - Fee Related JP3082935B2 (en) 1990-10-13 1990-10-13 Image processing device

Country Status (1)

Country Link
JP (1) JP3082935B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09163121A (en) * 1995-12-12 1997-06-20 Minolta Co Ltd Digital image forming device
JP4759181B2 (en) * 2001-08-02 2011-08-31 キヤノン株式会社 Image reading method, apparatus, program, and medium storing program
JP4297890B2 (en) 2005-06-29 2009-07-15 シャープ株式会社 Image reading apparatus and image recording apparatus
JP4865647B2 (en) * 2007-06-29 2012-02-01 キヤノン株式会社 Document reading apparatus and method for controlling document reading apparatus
JP4500865B2 (en) * 2008-04-30 2010-07-14 キヤノン株式会社 Image processing apparatus, image processing method, program, and storage medium
JP4653194B2 (en) * 2008-04-30 2011-03-16 キヤノン株式会社 Image processing apparatus, image processing apparatus control method, program, and computer-readable storage medium
JP6494166B2 (en) * 2014-03-12 2019-04-03 キヤノン株式会社 Image processing apparatus, image processing method, and program

Also Published As

Publication number Publication date
JPH04150560A (en) 1992-05-25

Similar Documents

Publication Publication Date Title
US5001574A (en) Image processing system
US4899227A (en) Image processing apparatus detecting the size or position of an information portion of an original
US5040079A (en) Image forming system
US4905095A (en) Image processing apparatus
JP3670692B2 (en) Image reading device
JP3082935B2 (en) Image processing device
US5276533A (en) Image processing system
JP2635319B2 (en) Image magnification device
US5282064A (en) Apparatus for simultaneous reading of reflective and light conductive portions of an original
JPH0564506B2 (en)
JPH0638028A (en) Image reader
JP2537192B2 (en) Image playback device
JPH0519863B2 (en)
JP2538571B2 (en) Copying device
JPH07245680A (en) Image reader and copying machine incorporating it
JP2694832B2 (en) Image processing device
JP2547748B2 (en) Image processing device
JP2575301B2 (en) Image processing device
JP2575300B2 (en) Image processing device
JP2547759B2 (en) Image processing device
JPH0771182B2 (en) Image processing device
JPH0557794B2 (en)
JP2898976B2 (en) Image processing device
JP2862237B2 (en) Storage device
JPH0771183B2 (en) Image processing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees