JPH03170924A - Original size detecting device - Google Patents

Original size detecting device

Info

Publication number
JPH03170924A
JPH03170924A JP1311444A JP31144489A JPH03170924A JP H03170924 A JPH03170924 A JP H03170924A JP 1311444 A JP1311444 A JP 1311444A JP 31144489 A JP31144489 A JP 31144489A JP H03170924 A JPH03170924 A JP H03170924A
Authority
JP
Japan
Prior art keywords
document
original
band
pulses
total number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1311444A
Other languages
Japanese (ja)
Inventor
Shuji Hayashi
修司 林
Hiroyuki Deguchi
出口 裕行
Tetsuya Kagawa
哲也 香川
Hideyuki Tanaka
秀幸 田中
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.)
Kyocera Mita Industrial Co Ltd
Original Assignee
Mita Industrial Co Ltd
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 Mita Industrial Co Ltd filed Critical Mita Industrial Co Ltd
Priority to JP1311444A priority Critical patent/JPH03170924A/en
Publication of JPH03170924A publication Critical patent/JPH03170924A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate detection processing and simplify circuit constitution for that by displaying a specific function pattern for an original presser, band by band, and finding original size from the change point of the total number of original area pulses and function pattern pulses in an image memory. CONSTITUTION:An image processing part 5 performs a process wherein image area pulses are generated from a signal inputted to the image memory 4, a process wherein the address (coordinate) at the point of time of the change in the total number of image area pulses appearing in one scan, band by band, and the number of function pattern pulses is stored, and a process wherein the original size is detected. Then the coordinate data at the time of the change in the total number of both pulses appearing in one scan by the bands, the starting and ending changes in the total number are based upon original area pulses and correspond to diagonal points of the original, and the change in the total number obtained between them corresponds to the intersection of the original and function pattern. Then the inclination of the original is calculated from the coordinates of the intersection and the size of the original and the original size is determined according to the inclination and the original size. Thus, the original size is detected by the simple processing method with the simple circuit constitution.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、デジタルPPC等の画像形成装置に適用して
好適な載置原稿の原稿サイズを検知する装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a device for detecting the document size of a placed document, which is suitable for application to an image forming apparatus such as a digital PPC.

〔従来の技術〕[Conventional technology]

従来、光学系で面走査(主走査及び副走査)して得られ
た載置原稿の画像信号から複写等画像形或する場合に、
原稿の載置状態が適切でないと、原稿画像が位置ずれを
起したり、傾いたりし、更には原稿の一部が途切れた状
態で転写紙に画像形威されるという問題があった。
Conventionally, in some cases, such as copying, etc., an image is formed from an image signal of a placed original obtained by surface scanning (main scanning and sub-scanning) with an optical system.
If the document is not placed in an appropriate state, there is a problem that the document image may be misaligned or tilted, and furthermore, a portion of the document may be cut off and the image may be imprinted on the transfer paper.

このため、近年、原稿及びその載置状態を検知し、画像
修正を施して上記画像形成する装置が提供されている。
For this reason, in recent years, apparatuses have been provided that detect the document and its placement state, perform image correction, and form the above-mentioned image.

かかる載董原稿のサイズを検知する方法として、原稿押
えに所定のパターンを設け、光学系による原稿走査時に
原稿領域とパターンの描かれた非原稿領域とを識別する
ようにしたものが提案されている(特開昭55−490
68号公報、特開昭56−120264号公報)。すな
わち特開昭55−49068号公報に記載のものは、原
稿押えに周期的、且つ規則性を有するパターンを設けて
おき、このパターンをフィルタ手段で検出して原稿押え
領域であることを認識するようにしたものである。
As a method for detecting the size of a document placed on a document, a method has been proposed in which a predetermined pattern is provided on the document holder so that when the document is scanned by an optical system, the document area and the non-document area on which the pattern is drawn are distinguished. (Unexamined Japanese Patent Publication No. 55-490
No. 68, JP-A-56-120264). That is, in the method described in Japanese Patent Application Laid-Open No. 55-49068, a periodic and regular pattern is provided on the document presser, and this pattern is detected by a filter means to recognize the document presser area. This is how it was done.

また、特開昭56−120264号公報に記載のものも
、やはり原稿押えに特有のパターンを設けておき、取り
込まれた画像内容からこのパタンを画像処理により検出
して、原稿押え領域であることを検知するようにし、こ
の処理が終了した後に原稿の各コーナを求め、これから
原稿サイズを検知するものである。
Also, in the method described in Japanese Patent Application Laid-Open No. 56-120264, a unique pattern is provided for the document presser, and this pattern is detected from the captured image content through image processing to identify the document presser area. After this process is completed, each corner of the document is determined, and the size of the document is detected from this.

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

ところで、前者の技術では、原稿領域を求める事は出来
るが、原稿サイズの検知については何等記載されていな
い。
By the way, in the former technique, although it is possible to obtain the document area, there is no description about detecting the document size.

また、後者の技術では、原稿の各コーナから原稿サイズ
を検知する方法であるため、各コーナを求める際に、再
度画像メモリを走査して各画素信号から各コーナを求め
なければならないため、その処理に多大の時間を要する
ことになるとともに、解析処理のための回路構成も複雑
になる。
In addition, in the latter technology, the document size is detected from each corner of the document, so when determining each corner, the image memory must be scanned again to determine each corner from each pixel signal. The processing will take a lot of time, and the circuit configuration for the analysis processing will also become complicated.

更に、上記各従来技術では、原稿押え面のパターンが比
較的細かいために類似したパターンが原稿上に描かれて
いる場合も少なくなく、かかる場合には原稿サイズを誤
検知する可能性が高くなる。
Furthermore, in each of the above-mentioned conventional techniques, since the pattern on the document holding surface is relatively fine, similar patterns are often drawn on the document, and in such cases, there is a high possibility of misdetecting the document size. .

本発明は、上記に鑑みてなされたもので、比較的簡単な
回路構成及び処理方法で原稿サイズの検知を行う原稿サ
イズ検知装置を提供することを目的とする。
The present invention has been made in view of the above, and an object of the present invention is to provide a document size detection device that detects the document size with a relatively simple circuit configuration and processing method.

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

本発明は、光学系による面走査で読み取った画像信号を
一旦画像メモリに記憶し、この画像信号から原稿サイズ
を検知する原稿サイズ検知装置において、少なくとも載
置原稿と重複する部分を有し、かつ上記光学系による走
査面上一方の走査方向に設けられたnバンドの各々に対
応してひとつのパターンが包含されるようにn本の関数
パターンが鏡面シート上に光学系で読み取り可能に表示
された原稿押えと、上記各関数パターンの座標データを
記憶した第1の記憶手段と、取り込んだ画像信号から原
稿領域パルスを作成する画像処理手段と、1走査内にお
ける上記各バンド内の上記原稿領域パルス数と関数パタ
ーンパルス数の合計数が変化する時点の座標データを記
憶する第2の記憶手段と、該第2の記憶手段の座標デー
タの内、関数パターンの座標と一致する座標データから
原稿の傾きを算出する第1の算出手段と、上記第2の記
憶手段の座標データの内、前記合計数の最初と最後の変
化時点の座標データと第1の算出手段の算出値とから原
稿サイズを算出する第2の算出手段とを備えたものであ
る。
The present invention provides a document size detection device that temporarily stores an image signal read by surface scanning using an optical system in an image memory and detects the document size from this image signal, which has at least a portion that overlaps with the placed document, and n function patterns are displayed on the mirror sheet so that they can be read by the optical system so that one pattern is included in each of the n bands provided in one scanning direction on the scanning surface by the optical system. a first storage means that stores coordinate data of each of the function patterns; an image processing means that creates a document area pulse from the captured image signal; and a document area within each of the bands within one scan. a second storage means for storing coordinate data at a point in time when the total number of pulses and function pattern pulses changes; and a document is stored from coordinate data that matches the coordinates of the function pattern among the coordinate data stored in the second storage means. A first calculation means for calculating the inclination of the document size, coordinate data at the first and last change points of the total number among the coordinate data stored in the second storage means, and a calculated value of the first calculation means. and second calculation means for calculating.

また、請求項2記載の構成によれば、nが3以上の場合
に前記合計数が最初に変化するバンドに応じて第1の算
出手段による算出に用いられる座標データを異なるバン
ドから選出するようにしている。
Further, according to the configuration of claim 2, when n is 3 or more, the coordinate data used for calculation by the first calculation means is selected from different bands according to the band in which the total number changes first. I have to.

〔作用〕[Effect]

上記構成によれば、原稿が載置された状態で光学系が主
走査及び副走査方向に面走査されると、Rm信号と関数
パターンパルスが得られる走査ラインがある。この原稿
信号は画像の連続性及び関数パターンの記憶されている
座標データを利用して、原稿領域パルスに画像処理され
る。従って、かかる走査ラインには原稿領域パルスと関
数パターンパルスが現れる。
According to the above configuration, when the optical system performs surface scanning in the main scanning and sub-scanning directions with the original placed thereon, there is a scanning line from which the Rm signal and the function pattern pulse are obtained. This original signal is image-processed into original area pulses using image continuity and stored coordinate data of the function pattern. Therefore, document area pulses and function pattern pulses appear on such scanning lines.

また、n本の関数パターンパルスは設定されたn本のバ
ンドの各バンドに対応して発生する。そして、■走査ラ
イン内に現れる上記両パルスの各バンド毎の合計数の変
化時点の座標データが取り込まれる。
Further, n function pattern pulses are generated corresponding to each of the set n bands. Then, the coordinate data at the time of change in the total number of both pulses appearing in the scanning line for each band is captured.

かかる合計数の最初と最後の変化は原稿領域パルスによ
るもので、原稿の対角点に該当する。
The first and last changes in this total number are due to document area pulses and correspond to diagonal points of the document.

方、その間で得られる合計数の変化は原稿と関数パター
ンとの交点に該当する。
On the other hand, the change in the total number obtained during that time corresponds to the intersection between the manuscript and the function pattern.

この交点の座標から原稿の傾きが算出され、更にこの傾
きと原稿の対角点の座標とから原稿のサイズが決定され
る。
The inclination of the document is calculated from the coordinates of this intersection point, and the size of the document is further determined from this inclination and the coordinates of the diagonal point of the document.

請求項2の記載によれば、nが3以上の場合前述した交
点は3点以上得られる。傾きは2つの交点から算出可能
であり、この場合、原稿の最初のコーナーがどのバンド
で得られたかによって、原稿の傾き方向を判断し、その
判別結果に応じて原稿の1辺上に位置する可能性の高い
2点を変更して原稿の傾きを算出する。この変更により
、原稿のl辺上の2点が確実に選択されて原稿の傾きが
求まる。
According to claim 2, when n is 3 or more, three or more of the above-mentioned intersection points can be obtained. The inclination can be calculated from the two intersection points, and in this case, the direction of inclination of the document is determined based on which band the first corner of the document was obtained, and the position is placed on one side of the document according to the determination result. Calculate the inclination of the document by changing two points with high probability. This change ensures that two points on the l side of the document are selected and the inclination of the document is determined.

〔実施例〕〔Example〕

第2図は、本発明が適用される画像形成装置の−実施例
を示す全体構成図である。
FIG. 2 is an overall configuration diagram showing an embodiment of an image forming apparatus to which the present invention is applied.

同図において、画像形成装置本体8の上部には原稿が載
置されるコンタクトガラス9が配置されており、その上
面には原稿押え10が開閉自在に設けられている。原稿
押え10はその下面が鏡面状に、例えばコーティングさ
れている。
In the figure, a contact glass 9 on which a document is placed is disposed at the top of an image forming apparatus main body 8, and a document presser 10 is provided on the top surface of the contact glass 9 so as to be openable and closable. The lower surface of the document presser 10 is coated with a mirror surface, for example.

コンタクトガラス9の下方位置には該コンタクトガラス
9と平行して矢印A方向に往復移動し、この往動の間に
載置原稿を走査するように構成された光学系Lが設けら
れている。
An optical system L is provided below the contact glass 9 and is configured to reciprocate in parallel with the contact glass 9 in the direction of arrow A and scan the placed original during this forward movement.

光学系Lは、白色光を発光する、例えばハロゲンランプ
11、反射鏡12、原稿面及び後述の関数パターンから
の反射光を集束させるセルフオックレンズ13、集束光
を受光するCCDI及び該光学系Lを往復移動させる不
図示の駆動機構とから構威されている。なお、図には示
していないが、CCD 1を構成するセンサアレイの前
面には各センサアレイのピッチと等寸法でR,G,B色
が順番に付された1枚のフィルタが配設されている。
The optical system L includes, for example, a halogen lamp 11 that emits white light, a reflecting mirror 12, a self-occurring lens 13 that focuses reflected light from the document surface and a function pattern described below, a CCDI that receives the focused light, and the optical system L. It consists of a drive mechanism (not shown) that reciprocates. Although not shown in the figure, one filter is arranged in front of the sensor array constituting CCD 1, with the same dimensions as the pitch of each sensor array and sequentially colored R, G, and B. ing.

この光学系Lは、図に示す位置であるホームポンション
(実線で示す)から走査を開始し、所定の位置(鎖線で
示す)まで走査して、再びホームポジションに復帰する
ように駆動されるようになされている。
This optical system L is driven to start scanning from the home position shown in the figure (indicated by a solid line), scan to a predetermined position (indicated by a chain line), and then return to the home position again. It is done like this.

なお、この走査によってRGB各色毎に取り込まれた原
稿画像の信号は、不図示の信号処理手段に導かれて、こ
こでシアン、マゼンダ、イエロー及びブラックの4色に
レベル変換されるようになされている。そして、この処
理された各色信号は各色毎に順次レーザ発光手段7から
光変調されたレーサ光が出力され、後述する感光体ドラ
ム14に導かれる。
Note that the signals of the original image captured for each RGB color by this scanning are guided to a signal processing means (not shown), and level-converted there into four colors: cyan, magenta, yellow, and black. There is. Then, the processed color signals are sequentially outputted as optically modulated laser light from the laser emitting means 7 for each color, and guided to the photosensitive drum 14, which will be described later.

本体8の内部には、上記感光体ドラム14が配置されて
おり、この感光体ドラム14の周囲には、帯電装置15
、現像装置16、転写装置l7、分離装置l8及びクリ
ーニング装119が配設されている。上記現像装置16
は上下方向に4個の現像器16a〜16dが並べて配置
されており、各現像器16a〜16dの配置は上方から
、例えばン7ン、マゼンダ、ブラック及びイエローとな
っている。これらの現像器16a〜16dは昇降可能な
移動枠体20に固定されており、不図示の昇降手段によ
ってカラー複写の際に、順次各色の現像剤が感光体ドラ
ム14に供給されるようになっている。各現像器16a
〜16dとレーザ発光手段7とは同期が取られており、
これにより各色のレーザ光に応じた現像器が感光体ドラ
ム{4に対向すべく順次駆動されるようになされている
The photosensitive drum 14 is arranged inside the main body 8, and a charging device 15 is arranged around the photosensitive drum 14.
, a developing device 16, a transfer device 17, a separating device 18, and a cleaning device 119 are provided. The developing device 16
Four developing devices 16a to 16d are arranged side by side in the vertical direction, and the developing devices 16a to 16d are arranged in, for example, N7, magenta, black, and yellow from the top. These developing devices 16a to 16d are fixed to a movable frame 20 that can be raised and lowered, and developer of each color is sequentially supplied to the photoreceptor drum 14 during color copying by means of raising and lowering means (not shown). ing. Each developer 16a
~16d and the laser emitting means 7 are synchronized,
As a result, the developing devices corresponding to the laser beams of each color are sequentially driven so as to face the photosensitive drum {4.

本体8の下方には、用紙供給機構が配設されている。該
用紙供給機構としては、それぞれサイズの異なる給紙カ
セット21a,2lb,手差しトレイ21c1搬送ロー
ラ対22a〜22d及びレジストローラ対23が設けら
れ、該レジストローラ対23から搬送された用紙は転写
ドラム24に供給される。
A paper supply mechanism is provided below the main body 8. The paper supply mechanism includes paper feed cassettes 21a and 2lb of different sizes, a manual feed tray 21c1, transport roller pairs 22a to 22d, and a registration roller pair 23, and the paper transported from the registration roller pair 23 is transferred to a transfer drum 24. is supplied to

転写ドラム24は感光体ドラム14に近接して配設され
、同期回転するように制御されるようになされている。
The transfer drum 24 is disposed close to the photosensitive drum 14 and is controlled to rotate synchronously.

この転写ドラム24は搬送されて来た用紙を該転写ドラ
ム24の4回転の期間中、一体回転させるものである。
The transfer drum 24 rotates the conveyed paper integrally during the four rotations of the transfer drum 24.

すなわち、この4回転の各回転毎に、各色の転写処理が
4回行われる。
That is, for each of these four rotations, the transfer process for each color is performed four times.

そして、4回の転写処理が終了すると、分離装置18に
より分離されて搬送ベルト25側に導かれるようになさ
れている。
When the four transfer processes are completed, the paper is separated by a separating device 18 and guided to the conveyor belt 25 side.

排出機構としては、上記搬送ベルト25の下流側に定着
装置26、排出口−ラ対27及び排紙トレイ28が設け
られている。
As a discharge mechanism, a fixing device 26, a discharge port-ra pair 27, and a paper discharge tray 28 are provided downstream of the conveyor belt 25.

第1図は原稿サイズを検知する部分のブロック図を示す
ものである。図において、1はCCD,2は該CCDI
に取込まれた原稿信号をA/D変換して一旦記憶し、所
定の周期で順次読み出すラインメモリである。3は内部
に比較のための所定のしきい値が設定された判定部で、
ラインメモリ2からの出力信号のレベルと比較し、出力
レベルがしきい値以上のときはハイを出力し、逆のとき
は口−を出力するものである。この判定部3により、原
稿内の文字、図形部分を除いた原稿面全体及び原稿押え
10上の所定の関数パターンの部分の信号がハイを出力
し、それ以外の部分がローを出力する。
FIG. 1 shows a block diagram of a portion that detects the document size. In the figure, 1 is the CCD, 2 is the CCDI
It is a line memory that A/D converts the original signal taken in, temporarily stores it, and sequentially reads it out at a predetermined cycle. 3 is a determination unit in which a predetermined threshold value for comparison is set;
It compares the level of the output signal from the line memory 2, and when the output level is equal to or higher than the threshold value, a high signal is output, and when the opposite occurs, a low signal is output. This determination unit 3 outputs high signals for the entire document surface excluding characters and graphic portions in the document and a portion of a predetermined function pattern on the document presser 10, and outputs low signals for other portions.

4は光学系Lによる走査面に相当する容量を有する画像
メモリで、判定部3からのハイ、ロー信号を取込むもの
である。この画像メモリ4は取込んだ信号から1走査線
内に現われる原稿面からの離散的なハイ信号を連続する
ハイ信号に画像処理して原稿領域信号(以下、原稿領域
パルスという)を形成するために、下記画像処理部5と
信号のやり取りを行う。そして、画像処理後の信号から
後述の処理を施して、原稿サイズ(傾き含む)を求め、
このデータに基づいて画像メモリ4内の画像信号を修正
すべく更新的に書換える。書換えられた画像信号はレー
ザ発光手段7へ読み出されるようになされている。6は
この画像メモリ4への信号の書込み及び読出しのための
主走査方向及び副走査方向のアドレス(座標)指定を行
う書込読出手段である。
Reference numeral 4 denotes an image memory having a capacity corresponding to the scanning surface of the optical system L, which receives high and low signals from the determination section 3. This image memory 4 processes discrete high signals from the document surface that appear within one scanning line into continuous high signals to form a document area signal (hereinafter referred to as document area pulse) from the captured signal. Then, signals are exchanged with the image processing section 5 described below. Then, the document size (including tilt) is determined by performing the processing described below from the image-processed signal.
Based on this data, the image signal in the image memory 4 is updated and rewritten to correct it. The rewritten image signal is read out to the laser emitting means 7. Reference numeral 6 denotes a write/read means for specifying addresses (coordinates) in the main scanning direction and the sub-scanning direction for writing and reading signals to and from the image memory 4.

5は画像メモリ4に取込まれた信号から画像領域パルス
を形成する処理、1走査内に現われる、後述する各バン
ド毎の、画像領域パルスの数と関数パターンパルスの数
の合計数の変化時点のアドレス(座標)を記憶する処理
及び原稿サイズを検知するための処理を行う画像処理部
である。画像処理手段51は上述の各処理を実行すると
ともに、これらの処理のために上記画像メモリ4と同容
量の不図示の画像メモリを有している。52は原稿サイ
ズに関するデータが予め記憶された原稿サイズROMで
、53は各関数パターンを表わす主走査、副走査のアド
レス(座標)が、あるいは関数パターンの関数式がその
まま予め記憶された関数パターンROMである。
5 is the process of forming image area pulses from the signals taken into the image memory 4, and the time point at which the total number of image area pulses and function pattern pulses appears within one scan for each band (to be described later) changes. This is an image processing unit that performs processing to store the address (coordinates) of the document and detect the document size. The image processing means 51 executes each of the above-mentioned processes, and has an image memory (not shown) having the same capacity as the image memory 4 for these processes. 52 is a document size ROM in which data regarding the document size is stored in advance; 53 is a function pattern ROM in which main scanning and sub-scanning addresses (coordinates) representing each function pattern or the function formula of the function pattern is stored in advance. It is.

上記構成において、原稿信号から原稿領域パルスの形成
は、例えば次のように画像メモリ4の記憶内容を処理す
ることにより行われる。すなわち、画像メモリ4から順
次読み出される1走査分の信号から、先ず関数パターン
パルスが区別される。
In the above configuration, the document area pulse is formed from the document signal by processing the stored contents of the image memory 4, for example, as follows. That is, first, function pattern pulses are distinguished from one scan's worth of signals sequentially read out from the image memory 4.

この関数パターンに該当するパルス分の区別は、関数パ
ターンROM5 3に記憶された各関数パターンのアド
レスと1走査分の信号のアドレスとを比較して一致する
信号は原稿信号ではないと判断するものである。そして
、残りの離散的な信号を原稿信号と見なして連続させる
処理を施す。連続処理は上記離散度合に冗長度を与え、
その範囲内のローレベルを全てハイレベルに変換するこ
とにより連続させることができる。なお、画像処理の方
法については、特にこの方法に限定されるものではなく
、従来の方法を採用してもよい。
The pulses corresponding to this function pattern are distinguished by comparing the address of each function pattern stored in the function pattern ROM 53 with the address of the signal for one scan, and determining that a signal that matches is not an original signal. It is. Then, the remaining discrete signals are treated as original signals and processed to be continuous. Continuous processing gives redundancy to the above discrete degree,
Continuity can be achieved by converting all low levels within that range to high levels. Note that the image processing method is not particularly limited to this method, and any conventional method may be used.

このように、連続処理された原稿領域パルスと元の関数
パターンパルスは画像処理手段51内の画像メモリに書
込まれる。
In this way, the continuously processed original area pulses and the original function pattern pulses are written into the image memory in the image processing means 51.

かかる画像処理の後、原稿サイズ検知のための処理が行
われる。以下、この処理を第1実施例を示す第3図乃至
第5図及び第2実施例を示す第6図を用いて説明する。
After such image processing, processing for detecting the document size is performed. This process will be explained below with reference to FIGS. 3 to 5 showing the first embodiment and FIG. 6 showing the second embodiment.

第1実施例は関数パターンが3本(n=3)の場合であ
る。この関数パターンは主走査方向をy軸とし、副走査
方向をX軸したとき、 y=bSy=ax+b,y=−ax十b但し、bは主走
査方向の中心値 の直線とする。
The first example is a case where there are three function patterns (n=3). In this function pattern, when the main scanning direction is the y-axis and the sub-scanning direction is the X-axis, y=bSy=ax+b, y=-ax+b, where b is a straight line at the center value in the main scanning direction.

なお、上記各関数パターンの内、破線で示される部分の
パターンは削除されている。これは、第3図や第4図の
ように載置原稿がy軸から多少離間した場合でもy軸に
正確に載置された場合でも、最初に原稿領域パルスが検
出されるようにするためである。
Note that among the above function patterns, the patterns indicated by broken lines have been deleted. This is to ensure that the original area pulse is detected first, even if the placed original is placed somewhat away from the y-axis or placed accurately on the y-axis, as shown in Figures 3 and 4. It is.

そして、この各パターンは関数パターンROM53にア
ドレス{座標(x.y)} として予め記憶されている
Each of these patterns is stored in advance in the function pattern ROM 53 as an address {coordinates (x, y)}.

また、画像処理手段5工は光学系Lによる走査面上の主
走査方向に第3図及び第4図に示されるように、3つの
領域に分離された各バンド毎に、前述した原稿領域パル
ス数と関数パターンパルス数との合計数の変化点を検出
するようにプログラムされている。
The image processing means 5 also processes the document area pulses described above for each band separated into three areas in the main scanning direction on the scanning surface by the optical system L, as shown in FIGS. 3 and 4. It is programmed to detect a change point in the total number of pulses and the number of function pattern pulses.

なお、各バンドは、 バンド■・・・y<b−db バンド■・・・b−db<y<b+dbバンド■・・・
b+ab<y 但し、dbは勾配aにより変更可 能で、実際の走査面上で数cm程度 とする。
In addition, each band is Band■...y<b-db Band■...b-db<y<b+db Band■...
b+ab<y However, db can be changed by the slope a, and is set to about several cm on the actual scanning plane.

これにより、Y=−ax+bの関数パターンの大部分は
バンドエに、y=bの関数パターンはバンド■に、y=
ax+bの関数パターンの大部分はバンド■にそれぞれ
包含される。このため、関数パターンパルス数の変化は
それぞれ対応するバンド内で生じることになる。
As a result, most of the function pattern of Y=-ax+b is in Band E, the function pattern of y=b is in Band ■, and y=
Most of the function patterns of ax+b are included in band (2). Therefore, changes in the number of function pattern pulses occur within each corresponding band.

第3図は原稿が反時計回りに傾いている場合で、第4図
は時計回りに傾いている場合である。
FIG. 3 shows the case where the document is tilted counterclockwise, and FIG. 4 shows the case where the document is tilted clockwise.

(1)第3図について 第3図(a)は載置原稿及び載置原稿と関数パターンと
の交点の関係を説明する図、第3図(b)は各バンドの
出力パルスの波形図である。
(1) About Figure 3 Figure 3 (a) is a diagram explaining the relationship between the placed original and the intersection between the placed original and the function pattern, and Figure 3 (b) is a waveform diagram of the output pulse of each band. be.

前述したように、画像処理手段5内の画像メモリに書込
まれた信号は、書込読出手段6により、例えばアドレス
(0,O)から(0.1)、(0,2)・・・(0,2
b)のように1走査分読み出され、引き続き各走査線が
(1.0)・・・(1,2b)、(2.0) ・= (
2.2 b) ・・・、(Xend .  0) −(
Xend ,  2 b)のように読み出され、各X軸
に対してハイ信号の数、すなわち原稿領域パルス数と関
数パターンパルス数の合計数の変化時点とその時点の座
標が各バンド毎に求められる。
As mentioned above, the signals written in the image memory in the image processing means 5 are processed by the writing/reading means 6, for example, from address (0, O) to (0.1), (0,2), . . . (0,2
As shown in b), one scanning line is read out, and each scanning line is (1.0)... (1, 2b), (2.0) ・= (
2.2 b) ..., (Xend.0) -(
Xend. It will be done.

以下、第5図のフローチャートを用いて説明する。The process will be explained below using the flowchart shown in FIG.

なお、J・・・前記合計数の2回目以降の変化数で0〜
3の値を取る。
In addition, J...the number of changes from the second time onwards in the above total number from 0 to
Takes a value of 3.

h・・・前記合計数の最初の変化がバンドIで起こった
とき「1」、バンド■で 起こったとき「0」の値を取る。
h...Takes the value "1" when the first change in the total number occurs in band I, and takes the value "0" when it occurs in band ■.

また、上記数値は初期設定により、J =h=0とされ
ている。
Further, the above numerical value is set to J = h = 0 by initial setting.

先ず、ステップSエとステップS2において、X軸の走
査中、上記合計数の最初の変化がバンド■で生しるか、
バンド■で生じるかの判別が行われる。
First, in steps SE and S2, during the X-axis scan, determine whether the first change in the above total number occurs in band ■.
A determination is made as to whether this occurs in band ■.

X=O軸の走査では全て原稿押え21の領域であり(原
稿はy軸から多少離間している)、J=h=oである。
In the scanning of the X=O axis, the entire region is the document presser 21 (the document is somewhat separated from the y axis), and J=h=o.

そして、順次走査が行われ、x=x○になると、?標(
Xo,To)で最初にパルス数に変化が生じる。この点
■は、第3図のように原稿が反時計回りに載置されてい
ることから、バンドエに表われる(ステップS1でYE
S)。この点■の座標(x’0 ,  yo )は不図
示のメモリに記憶される(ステップS3)。続いて、ス
テップS4で、hをOから1にセットする。
Then, sequential scanning is performed and when x=x○, ? Mark (
A change in the number of pulses first occurs at Xo, To). This point ■ appears in the band because the original is placed counterclockwise as shown in Figure 3 (YE in step S1).
S). The coordinates (x'0, yo) of this point (2) are stored in a memory (not shown) (step S3). Subsequently, in step S4, h is set from O to 1.

その後、xO <x<x1の範囲では、どのバンドにも
パルス数に変化は生じない。従って、この間の各走査に
おいて、Jの値はOのままとなり(ステップS7、ステ
ップSIO及びステップS03で共にNo) 、かつX
 < x endであるから(ステップS 16でNO
)、ステップS tVを経てステップS7に移行する処
理を繰返す。第3図(b)の波形■〜■はこの間のバン
ド■における出力パルスの状態を示している。この図に
おいて、斜線が施されたパルスは原稿領域パルスを示す
Thereafter, within the range of xO <x<x1, no change occurs in the number of pulses in any band. Therefore, in each scan during this period, the value of J remains O (No in step S7, step SIO, and step S03), and
<x end (NO in step S16)
), the process of moving to step S7 via step S tV is repeated. Waveforms ``■'' to ``■'' in FIG. 3(b) show the state of the output pulse in band ``during this period. In this figure, the shaded pulses indicate document area pulses.

x=x■に達すると、第3図(b)の波形■に示すよう
に、走査線に新たに関数パターンパルスが生じる。この
関数パターンパルスは関数y=?ax+b上の点、すな
わちバンドIに表われる(ステップS7でYES)。従
って、ステップS8に移行して、この点■の座標(Xエ
、y■)= (xt )−aXl +b)がメモリに記
憶され、更にステップS9でJをOから1にインクリメ
ントする。
When x=x■ is reached, a new function pattern pulse is generated on the scanning line, as shown by waveform ■ in FIG. 3(b). This function pattern pulse is a function y=? It appears at a point on ax+b, that is, in band I (YES in step S7). Therefore, the process moves to step S8, and the coordinates (Xe, y■)=(xt)-aXl+b) of this point (2) are stored in the memory, and further, J is incremented from 0 to 1 in step S9.

その後、xl<x<x3の範囲では、どのバンドにもパ
ルス数に変化は生じない。従って、この間の各走査にお
いて、Jの値は1のままで(ステップS7、ステップS
 10及びステップS13で共にNo)、かっx < 
x endであるから(ステップS tSでNO)、ス
テップS17を経てステップS7に移行する処理を繰返
す。
Thereafter, within the range of xl<x<x3, no change occurs in the number of pulses in any band. Therefore, in each scan during this period, the value of J remains 1 (step S7, step S
10 and step S13), x <
Since it is x end (NO in step S tS), the process of moving to step S7 via step S17 is repeated.

X =X 3に達すると、第3図(b)の波形■に示す
ように、走査線に新たに関数パターンパルスが生じ、パ
ルス数が変化する。この関数パターンパルスは関数y=
ax+b上の点、すなわちバンド■に表われる(ステッ
プS tOでYES)。従って、ステップS1■に移行
して、この点■の座標(X3 、73 )= (X3 
、aX3 +b)がメモリ?記憶され、更にステップS
 L2でJを1から2にインクリメントする。
When X = X 3 is reached, a new function pattern pulse is generated on the scanning line, and the number of pulses changes, as shown by waveform 3 in FIG. 3(b). This function pattern pulse is the function y=
It appears at a point on ax+b, that is, at band ■ (YES at step S tO). Therefore, the process moves to step S1■, and the coordinates of this point ■ (X3, 73) = (X3
, aX3 +b) is memory? stored and further step S
J is incremented from 1 to 2 in L2.

その後、X3<X<X2の範囲では、どのバンドにもパ
ルス数に変化は生じない。従って、この間の各走査にお
いて、Jの値は2のままで(ステップS7、ステップS
 10及びステップS 13で共にNO)、かつX<x
!lIdであるから(ステップStaでNo)、ステッ
プS17を経てステップS7に移行する処理を繰返す。
Thereafter, within the range of X3<X<X2, no change occurs in the number of pulses in any band. Therefore, in each scan during this period, the value of J remains 2 (step S7, step S
10 and step S13), and X<x
! Since it is lId (No in step Sta), the process of moving to step S7 via step S17 is repeated.

x=x2に達すると、第3図(b)の波形■に示すよう
に、走査線に新たに関数パターンパルスが生じ、パルス
数が変化する。この関数パターンパルスは関数y=b上
の点、すなわちバンドHに表われる(ステップS■3で
YES)。従って、ステップSエ.に移行して、この点
■の座標(x2、y2 )= (x2 、b)がメモリ
に記憶され、更にステップS15でJを2から3にイン
クリメントする。
When x=x2 is reached, a new function pattern pulse is generated in the scanning line, and the number of pulses changes, as shown by the waveform (2) in FIG. 3(b). This function pattern pulse appears at a point on the function y=b, that is, at band H (YES at step S3). Therefore, step S. The coordinates (x2, y2)=(x2, b) of this point (2) are stored in the memory, and J is incremented from 2 to 3 in step S15.

この時点ではx < x endであるが(ステップS
taでNo)、J=3であるため(ステップS17でY
ES)、ステップ8 18に移行する。hはステップS
4で得たように1であるから(ステップSエ8でNO)
、引続いてバンド■におけるパルス数の変化を検出する
。すなわち、X2<X<X4の範囲では、原稿領域パル
ス及び関数パターンパルス共に生じているためパルス数
に変化は生じず、ステップS19で待機状態にある(ス
テップS19でNo)。
At this point, x < x end (step S
ta), and J=3 (Y in step S17).
ES), move to step 8 18. h is step S
Because it is 1 as obtained in step 4 (NO in step SE8)
, and then detect the change in the number of pulses in band (■). That is, in the range of X2 <

そして、x=x4に達すると、第3図(b)の波形■に
示すように、原稿領域パルスが得られなくなり、パルス
数が変化する(ステップSエ9でYES)。従って、こ
の点■の座標(X4%V4)がメモリに記憶される(ス
テップS 20 )。
When x=x4 is reached, the document area pulse is no longer obtained and the number of pulses changes (YES in step SE9), as shown by waveform (2) in FIG. 3(b). Therefore, the coordinates of this point (X4%V4) are stored in the memory (step S20).

このようにして、点■〜■までの座標が取込まれる。In this way, the coordinates of points ■ to ■ are captured.

続いて、ステップS 24で、点■、■の座標からta
nθ= (X2 −Xi ) / 0’2  Vx )
を演算して、傾き角θを算出する。θがOでなければ(
ステップS 26でNO)、ステップS 27に移行す
る。ステップS 27では、画像メモリ4に書込まれて
いる原稿信号を、傾き角θがOになるように補正を行う
。更に、ステップ3 28で、求めた傾き角θと原稿の
対角点となる点■、■の座標から原稿の寸法.X,Yを
求め、かかる寸法と原稿サイズROM5 2とから原稿
サイズを求める。
Next, in step S24, ta is calculated from the coordinates of points ■ and ■.
nθ= (X2 - Xi) / 0'2 Vx)
is calculated to calculate the tilt angle θ. If θ is not O (
(NO in step S26), the process moves to step S27. In step S27, the original signal written in the image memory 4 is corrected so that the tilt angle θ becomes O. Furthermore, in step 328, the dimensions of the original are determined from the obtained inclination angle θ and the coordinates of points ■ and ■, which are the diagonal points of the original. X and Y are determined, and the document size is determined from these dimensions and the document size ROM 52.

そして、求めた原稿サイズに一致する転写紙を有する転
写紙カセットを選択し、一方、画像メモリ4の補正され
た記憶内容をレーザ発光手段7に読み出して、画像形成
を行う(ステップS29)。
Then, a transfer paper cassette having a transfer paper matching the determined original size is selected, and the corrected storage contents of the image memory 4 are read out to the laser emitting means 7 to form an image (step S29).

(2)第4図について 第4図(a)は載置原稿及び載置原稿と関数パターンと
の交点との関係を示す図、第4図(b)は各バンドの出
力パルスの波形図である。
(2) About Figure 4 Figure 4 (a) is a diagram showing the relationship between the placed original and the intersection of the placed original and the function pattern, and Figure 4 (b) is a waveform diagram of the output pulse of each band. be.

以下、第5図のフローチャートで説明する。The process will be explained below using the flowchart shown in FIG.

走査が開始されると、原稿は第4図のように時計回りに
載置されていることから、パルス数が最初に変化する点
■はバンド■に表われる(ステップS2でYES)  
そして、この点■の座標(Xo −. yo )がメモ
リに記憶される(ステップSs)。一方、hは点■がバ
ンド■であるから、0のままである(ステップSs)。
When scanning starts, since the original is placed clockwise as shown in Figure 4, the point ■ where the pulse number first changes appears in the band ■ (YES in step S2).
Then, the coordinates (Xo -.yo) of this point (2) are stored in the memory (step Ss). On the other hand, h remains at 0 since the point ■ is in the band ■ (step Ss).

続いて、X軸の走査が繰返されるに従って、前述したよ
うに順次点■、■及び■が第3図の場合と同一のバンド
にそれぞれ表われる(ステップ87〜ステップSエ7)
Subsequently, as the X-axis scan is repeated, the points ■, ■, and ■ appear in the same band as in the case of FIG. 3, respectively, as described above (steps 87 to S7).
.

そして、h=0なので(ステップSエ.でYES)ステ
ップS 21に移行する。この後、バンドIで原稿領域
パルスが得られなくなり、パルス数が変化すると(ステ
ップS 21でYES)、この変化点■の座標がメモリ
に記憶される(ステップS22)。
Then, since h=0 (YES in step Sd.), the process moves to step S21. After this, when the document area pulse is no longer obtained in band I and the number of pulses changes (YES in step S21), the coordinates of this changing point (2) are stored in the memory (step S22).

第4図(b)の波形■はバンドエにおける点■の関数パ
ターンパルスと原稿領域パルスの出力状態を示し、波形
■は同じくバンド■における点■で原稿領域パルスが得
られなくなった時点の出力を示す。
The waveform ■ in FIG. 4(b) shows the output state of the function pattern pulse and document area pulse at the point ■ in the band. The waveform ■ also represents the output at the time when the document area pulse is no longer obtained at the point ■ in the band ■. show.

また、波形■〜■はバンド■における点■〜■の間の原
稿領域パルスの出力状態を示し、波形■は同じくバンド
■における点■の出力パルスを示している。波形■はバ
ンド■における点■の原稿領域パルスと関数パターンパ
ルスの出力を示している。
Further, waveforms ``■'' to ``■'' indicate the output state of document area pulses between points ``■'' and ``■'' in band ``■'', and waveform ``■'' similarly indicates an output pulse at point ``■'' in band ``■''. The waveform (■) shows the output of the document area pulse and the function pattern pulse at the point (■) in the band (■).

このようにして、点■〜■までの座標が取込まれる。In this way, the coordinates of points ■ to ■ are captured.

続いて、ステップS 25で、点■、■の座標からta
nθ= (X3 −X2 )/ 0’3 Y2 )を演
算して、傾き角θを算出する。θが0でなければ(ステ
ップS 26でNO)、ステップS 27に移行する。
Next, in step S25, ta is calculated from the coordinates of points ■ and ■.
The inclination angle θ is calculated by calculating nθ=(X3−X2)/0′3Y2). If θ is not 0 (NO in step S26), the process moves to step S27.

そして、前述同様、画像メモリ4に書込まれている原稿
信号を、傾き角θがOになるように補正し、更に傾き角
θと点■、■の座標から原稿の寸法X,Yを求め、かか
る寸法と原稿サイズROM5 2とから原稿サイズを求
める。そして、求めた原稿サイズに一致する転写紙を有
する転写紙カセットを選択し、一方、画像メモリ4の補
正された記憶内容をレーザ発光手段7に読み出して、画
像形成を行う(ステップS29)。
Then, as described above, the original signal written in the image memory 4 is corrected so that the tilt angle θ becomes O, and the dimensions X and Y of the original are determined from the tilt angle θ and the coordinates of points ■ and ■. , the document size is determined from the dimensions and the document size ROM 52. Then, a transfer paper cassette having a transfer paper matching the determined original size is selected, and the corrected storage contents of the image memory 4 are read out to the laser emitting means 7 to form an image (step S29).

なお、原稿がy軸に平行に載置されている場合(傾き角
θ=O)、それぞれのバンドにおける交点■、■及び■
では共に合計数に変化が表われないため(ステップS7
、ステップS 10及びステッ?S 13で共にNo)
、J=Oのままとなり(ステップS■7でNO)、この
ためx = x endまで走査が行われる(ステップ
S46)。すなわち、X=x endまで走査が行われ
ると(ステップ816でYES)、ステップS 23で
θ一〇と判断し、画像メモリ4の画像信号に傾き補正を
行うことなく (ステップS 26でYES)、点■と
■及びθ=0から原稿サイズを求め、そのまま画像形成
を行う(ステップ3 2B、ステップS29)。
Note that when the original is placed parallel to the y-axis (tilt angle θ=O), the intersection points ■, ■, and ■ in each band
In both cases, there is no change in the total number (step S7).
, step S10 and step? Both No on S 13)
, J=O remains (NO in step S7), and therefore scanning is performed until x = x end (step S46). That is, when scanning is performed until X=x end (YES in step 816), it is determined that θ is 10 in step S23, and the image signal in the image memory 4 is not subjected to tilt correction (YES in step S26). , the document size is determined from points ■ and ■ and θ=0, and image formation is performed as is (step 32B, step S29).

このように、第3図及び第4図より分かるように、点■
が合計数の最初の変化点として表われ、点■が最後の変
化点として表われる。
In this way, as can be seen from Figures 3 and 4, the point ■
appears as the first change point in the total number, and point ■ appears as the last change point.

なお、図では点■〜■が■、■、■の順番で出力されて
いるが、これは原稿サイズや原稿の載置状態及び関数の
勾配a,−aが変更されることにより異なるものであり
固定されたものではない。
Note that in the figure, points ■ to ■ are output in the order of ■, ■, ■, but this differs depending on the document size, document placement status, and function gradients a and -a. Yes, it is not fixed.

また、バンドIと■の関数の勾配は異ならしてもよい。Further, the gradients of the functions in bands I and (2) may be different.

次に、第6図は第2の実施例を説明するための図で、同
図(a)は載置原稿及び載置原稿と関数パターンとの交
点の関係を示す図、同図(b)は各バンドにおける出力
パルスを示す波形図である。
Next, FIG. 6 is a diagram for explaining the second embodiment, and FIG. 6(a) is a diagram showing the relationship between the placed original and the intersection between the placed original and the function pattern, and FIG. 6(b) is a waveform diagram showing output pulses in each band.

すなわち、第2の実施例は、 y=ax+bSy= 一ax+b の2本の関数パターン(n=2)からなるものである。That is, the second example is y=ax+bSy=-ax+b It consists of two function patterns (n=2).

また、この実施例では2本の関数パターンのなす角度は
第1の実施例の場合に比してより狭角(より好ましくは
略30度以下)になるように勾配aが決定されている。
Further, in this embodiment, the slope a is determined so that the angle formed by the two function patterns is narrower (more preferably approximately 30 degrees or less) than in the first embodiment.

これにより、原稿の傾き状態に拘らず(極端に傾いてい
る場合は除いて)、常に特定の2点(第6図の点■と■
)から原稿の傾き角θを求めることが出来る。
As a result, regardless of the tilted state of the document (except when it is extremely tilted), it is possible to always select two specific points (points ■ and ■ in Figure 6).
), the inclination angle θ of the document can be found.

この第2の実施例では、バンドがIと■であるので、合
計数の最初の変化点■の表われるバンドを識別する必要
は特にない。
In this second embodiment, since the bands are I and ■, there is no particular need to identify the band in which the first change point ■ in the total number appears.

従って、順次走査が行われ、先ずバンドIに合計数の最
初の変化点のが表われ(第6図(b)の波形■)、この
点■の座標がメモリに記憶される。
Therefore, sequential scanning is performed, and first, the first change point of the total number appears in band I (waveform 2 in FIG. 6(b)), and the coordinates of this point 2 are stored in the memory.

続いて、バンドIに点■(第6図(b)の波形■))バ
ンド■に点■(第6図(b)の波形■)、点■(第6図
(b)の波形■)が表われ、順次その座標がメモリに記
憶される。
Next, point ■ (waveform ■ in Figure 6(b)) on band I, point ■ (waveform ■ in Figure 6(b)) on band ■, point ■ (waveform ■ in Figure 6(b)) appears, and its coordinates are sequentially stored in memory.

そして、得られた点■と点■とから原稿の傾き角θが、 tanθ= (X2 −Xl )/ (yz −y> 
)のように求められ、更にこのθ及び点■と点■の座標
から原稿サイズが求められる。
Then, from the obtained points ■ and ■, the inclination angle θ of the original is calculated as tanθ= (X2 −Xl )/(yz −y>
), and the document size is determined from this θ and the coordinates of points ■ and ■.

一方、原稿が時計回りに載置されている場合は、点■は
バンド■に表われ、点■はバンドエに表われる。また、
点■と点■の表われるタイミングは前後するが、傾き角
及び原稿サイズを求める処理手順は同一である。
On the other hand, when the original is placed clockwise, the dot ■ appears on the band ■, and the dot ■ appears on the band. Also,
Although the timings at which dots ■ and dots ■ appear are different, the processing procedure for determining the tilt angle and document size is the same.

なお、第1の実施例において、通常の原稿の載置状態に
おいて関数パターンと原稿との交点■、■、■が該原稿
のl辺上に表われるように3本の関数パターンを設定す
れば、原稿の傾き角を求める座標データを原稿の傾き方
向に応じて異なるバンドから選出する処理は特に必要で
はない。但し、原稿が極端に傾いて載置される可能性を
考慮した場合や傾き角の演算精度を向上させるためには
勾配a,−aを大きめに設定するとともに、原稿の載置
状態に応じて異なるバンドから傾き角算出のための座標
データを選出するのが好ましい。
In the first embodiment, if the three function patterns are set so that the intersections ■, ■, ■ between the function pattern and the document appear on the l side of the document when the document is normally placed. , it is not particularly necessary to select coordinate data for determining the inclination angle of the document from different bands depending on the inclination direction of the document. However, in order to take into account the possibility that the document is placed at an extremely tilted angle, or to improve the calculation accuracy of the tilt angle, the slopes a and -a should be set larger, and the slopes should be adjusted according to the document placement condition. It is preferable to select coordinate data for calculating the tilt angle from different bands.

また、第1,第2の実施例では、説明の便宜上各バンド
における出力パルスの合計数が変化した点の座標をメモ
リに記憶するようにしているが、実際の処理では上記合
計数に変化が生じた走査の直前の走査時点の座標がメモ
リに記憶されるようになされている。
Furthermore, in the first and second embodiments, for convenience of explanation, the coordinates of the point at which the total number of output pulses in each band changes are stored in the memory, but in actual processing, the total number changes. It is arranged that the coordinates of the scan instant immediately preceding the scan that occurred are stored in the memory.

更に、本実施例では、関数パターンとして直線の例を示
したが、例えばログ関数その他の曲線パターンであって
もよい。
Further, in this embodiment, a straight line is shown as an example of the function pattern, but it may be a log function or other curved pattern, for example.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、原稿押えに予め
所定の関数パターンを各バンド毎に表示し、画像メモリ
の原稿領域パルスと関数パターンパルスの合計数の変化
点から原稿サイズを求めるようにしたので、単にパルス
数の変化を検出し、該検出結果から演算のみで原稿サイ
ズが検知出来、検知処理及びそのための回路構成を簡略
化し得る。
As described above, according to the present invention, a predetermined function pattern is displayed in advance on the document holder for each band, and the document size is determined from the change point of the total number of document area pulses and function pattern pulses in the image memory. Therefore, the document size can be detected by simply detecting a change in the number of pulses and calculating from the detection result, and the detection process and the circuit configuration therefor can be simplified.

また、原稿の傾き角を求める座標データを原稿の傾き方
向に応じて異なるバンドから選出するようにしたので、
原稿の1辺上の2点を確実に選択することが出来、原稿
サイズを誤りなく求めることが出来る。
In addition, the coordinate data for determining the tilt angle of the manuscript is selected from different bands depending on the tilt direction of the manuscript.
Two points on one side of the document can be selected reliably, and the document size can be determined without error.

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

第1図は本発明に係る原稿サイズを検知する部分のブロ
ック図、第2図は本発明が適用される画像形成装置の一
実施例を示す全体構成図、第3図は第1の実施例を説明
するための図で、同図(a)は反時計回りに載置された
原稿及び載置原稿と関数パターンとの交点の関係を示す
図、同図(b)は各バンドにおける出力パルスを示す波
形図、第4図は同じく第1の実施例を説明するための図
で、同図(a)は反時計回りに載置された原稿及び載置
原稿と関数パターンとの交点の関係を示す図、同図(b
)は各バンドにおける出力パルスを示す波形図、第5図
は第1実施例の動作を説明するフローチャート、第6図
は第2の実施例を説明するための図で、同図(a)は反
時計回りに載置された原稿及び載置原稿と関数パターン
との交点の関係を示す図、同図(b)は各バンドにおけ
る出力パルスを示す波形図である。 1・・・CC.D,3・・・判定部、4・・・画像メモ
リ、5・・・画像処理部、5l・・・画像処理手段、5
2・・・原稿サイズROM,53・・・関数パターンR
OM,6・・・書込読出手段、7・・・レーザ発光手段
、8・・・画像形成装置。
FIG. 1 is a block diagram of a portion that detects the document size according to the present invention, FIG. 2 is an overall configuration diagram showing an embodiment of an image forming apparatus to which the present invention is applied, and FIG. 3 is a first embodiment. This figure (a) shows the relationship between originals placed counterclockwise and the intersections between the placed originals and the function pattern, and (b) shows the output pulses in each band. FIG. 4 is also a diagram for explaining the first embodiment, and FIG. 4 (a) shows the relationship between the manuscript placed counterclockwise and the intersection of the placed manuscript and the function pattern. , the same figure (b
) is a waveform diagram showing output pulses in each band, FIG. 5 is a flowchart explaining the operation of the first embodiment, FIG. 6 is a diagram explaining the second embodiment, and (a) A diagram showing the relationship between originals placed in a counterclockwise direction and the intersections between the originals placed and the function pattern, and (b) of the same figure is a waveform diagram showing output pulses in each band. 1...CC. D, 3... Judgment unit, 4... Image memory, 5... Image processing unit, 5l... Image processing means, 5
2... Original size ROM, 53... Function pattern R
OM, 6... Writing/reading means, 7... Laser emitting means, 8... Image forming device.

Claims (1)

【特許請求の範囲】 1、光学系による面走査で読み取った画像信号を一旦画
像メモリに記憶し、この画像信号から原稿サイズを検知
する原稿サイズ検知装置において、少なくとも載置原稿
と重複する部分を有し、かつ上記光学系による走査面上
一方の走査方向に設けられたnバンドの各々に対応して
ひとつのパターンが包含されるようにn本の関数パター
ンが鏡面シート上に光学系で読み取り可能に表示された
原稿押えと、上記各関数パターンの座標データを記憶し
た第1の記憶手段と、取り込んだ画像信号から原稿領域
パルスを作成する画像処理手段と、1走査内における上
記各バンド内の上記原稿領域パルス数と関数パターンパ
ルス数の合計数が変化する時点の座標データを記憶する
第2の記憶手段と、該第2の記憶手段の座標データの内
、関数パターンの座標と一致する座標データから原稿の
傾きを算出する第1の算出手段と、上記第2の記憶手段
の座標データの内、前記合計数の最初と最後の変化時点
の座標データと第1の算出手段の算出値とから原稿サイ
ズを算出する第2の算出手段とを備えたことを特徴とす
る原稿サイズ検知装置。 2、請求項1記載の原稿サイズ検知装置において、nが
3以上の場合に前記合計数が最初に変化するバンドに応
じて第1の算出手段による算出に用いられる座標データ
を異なるバンドから選出するようになされていることを
特徴とする原稿サイズ検知装置。
[Claims] 1. In a document size detection device that temporarily stores an image signal read by surface scanning using an optical system in an image memory and detects the document size from this image signal, at least a portion that overlaps with the placed document is detected. and n function patterns are read by the optical system on the mirror sheet so that one pattern is included corresponding to each of the n bands provided in one scanning direction on the scanning surface by the optical system. a first storage means that stores the coordinate data of each of the function patterns; an image processing means that creates a document area pulse from the captured image signal; a second storage means for storing coordinate data at a point in time when the total number of the document area pulse number and the function pattern pulse number changes; A first calculation means for calculating the inclination of the document from the coordinate data; coordinate data at the first and last change points of the total number among the coordinate data in the second storage means; and a calculated value by the first calculation means. A document size detection device comprising: second calculation means for calculating a document size from 2. In the document size detection device according to claim 1, when n is 3 or more, the coordinate data used for calculation by the first calculation means is selected from different bands according to the band in which the total number changes first. A document size detection device characterized in that:
JP1311444A 1989-11-29 1989-11-29 Original size detecting device Pending JPH03170924A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1311444A JPH03170924A (en) 1989-11-29 1989-11-29 Original size detecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1311444A JPH03170924A (en) 1989-11-29 1989-11-29 Original size detecting device

Publications (1)

Publication Number Publication Date
JPH03170924A true JPH03170924A (en) 1991-07-24

Family

ID=18017289

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1311444A Pending JPH03170924A (en) 1989-11-29 1989-11-29 Original size detecting device

Country Status (1)

Country Link
JP (1) JPH03170924A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7539344B2 (en) 2002-12-20 2009-05-26 Fujitsu Limited Boundary detection method between areas having different features in image data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7539344B2 (en) 2002-12-20 2009-05-26 Fujitsu Limited Boundary detection method between areas having different features in image data

Similar Documents

Publication Publication Date Title
JP4037512B2 (en) Image reading device
EP0591974A2 (en) Image processing apparatus
JPH0654194A (en) Method for compensation of contaminated or damaged region of manuscript platen and image playback apparatus
US6320673B1 (en) Image forming and color correcting system
JP2005007697A (en) Imaging apparatus
JP6052575B2 (en) Image defect detection device, image processing device, and program
JPH03170924A (en) Original size detecting device
JPH0885235A (en) Image forming device
JP2007049603A (en) Image processing apparatus, image forming apparatus, image processing method and program
JPH0934196A (en) Image forming device
JP2875261B2 (en) Image forming device
JP2000056527A (en) Image forming device
JPH08262823A (en) Image forming device
JP2633222B2 (en) Image processing device
JPH06308795A (en) Image forming device
JP2732816B2 (en) Control device
JPH04337754A (en) Image forming device
JP3044560B2 (en) Image forming device
JP2922135B2 (en) Control method of color image processing apparatus
JP2021027373A (en) Image forming apparatus, image forming system, and program
JP2001111785A (en) Image reader and image reading method
JPH07148970A (en) Digital image forming device
JPH06118751A (en) Color image forming device
JPH063885A (en) Image forming device
JPH01175365A (en) Image processor