JP2958981B2 - Document detection device - Google Patents

Document detection device

Info

Publication number
JP2958981B2
JP2958981B2 JP1188816A JP18881689A JP2958981B2 JP 2958981 B2 JP2958981 B2 JP 2958981B2 JP 1188816 A JP1188816 A JP 1188816A JP 18881689 A JP18881689 A JP 18881689A JP 2958981 B2 JP2958981 B2 JP 2958981B2
Authority
JP
Japan
Prior art keywords
document
color
circuit
density
data
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
JP1188816A
Other languages
Japanese (ja)
Other versions
JPH0354966A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP1188816A priority Critical patent/JP2958981B2/en
Publication of JPH0354966A publication Critical patent/JPH0354966A/en
Application granted granted Critical
Publication of JP2958981B2 publication Critical patent/JP2958981B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、複写機、ファクシミリ等、プラテン上に載
置された原稿を光学的に走査して得られた画像情報を処
理する画像処理装置にあって、画像処理の対象となる原
稿領域を検知する原稿検知装置に関する。
Description: BACKGROUND OF THE INVENTION The present invention relates to an image processing apparatus for processing image information obtained by optically scanning a document placed on a platen, such as a copying machine and a facsimile. And a document detection device for detecting a document area to be subjected to image processing.

[従来の技術] プラテン上に載置された原稿を光学的に走査して読取
られる画像情報の処理を行なう画像処理装置、例えば、
複写機においては自動用紙選択機能(APS機能)、自動
倍率選択機能(AMS機能)等、ファクシミリにおいては
相手局側での同機能等を実現するため画像処理の対象と
なる原稿のサイズの検出が必要となる。また、プラテン
上の任意の位置に原稿を載置しても常に正常な画像再現
を行ない得る等、いわゆるフリーレジスト機能を実現す
るために画像処理の対象となる原稿のプラテン上での位
置の検出が必要となる。これら、画像処理の対象となる
原稿のサイズ、位置を検出する原稿検知装置は、従来次
のようなものであった。
2. Description of the Related Art An image processing apparatus that optically scans a document placed on a platen and processes image information to be read, for example,
For copiers, the automatic paper selection function (APS function), automatic magnification selection function (AMS function), etc. Required. In addition, in order to realize a so-called free registration function, a position of an original to be subjected to image processing is detected on the platen so that a normal image can always be reproduced even if the original is placed at an arbitrary position on the platen. Is required. Conventionally, the following document detecting devices detect the size and position of a document to be subjected to image processing.

例えば、特公昭62−47026号公報に開示されるよう
に、原稿の背景部に黒情報を与える手段を設け、原稿と
背景部での光学的な反射率の差、即ち、濃度差に基づい
て原稿エッジを検出し、その検出原稿エッジから原稿サ
イズを認識している。また、特開昭62−220946号公報に
開示されるように、原稿カバーの原稿押え面を特殊な色
にて着色し、原稿と原稿カバーとの色差に基づいて原稿
エッジを検出し、その検出原稿エッジにより原稿サイズ
を認識している。
For example, as disclosed in Japanese Patent Publication No. Sho 62-47026, a means for giving black information to the background portion of a document is provided, and a difference in optical reflectance between the document and the background portion, that is, based on a density difference, is provided. The document edge is detected, and the size of the document is recognized from the detected document edge. Also, as disclosed in Japanese Patent Application Laid-Open No. 62-220946, the original pressing surface of the original cover is colored with a special color, and the original edge is detected based on the color difference between the original and the original cover. The document size is recognized by the document edge.

[発明が解決しようとする課題] 上記従来の原稿検知装置、背景部との濃度差に基づい
て原稿検知を行なうものでは、原稿カバー(プラテンカ
バー)を閉じた状態で画像読取りを行なう場合、原稿押
え面を黒く着色することから、画像処理の対象となる原
稿が薄いと背景の黒色が当該原稿を通して透けてしまう
ため、原稿地肌が忠実な状態で処理されない。
[Problems to be Solved by the Invention] In the above-mentioned conventional document detection apparatus, which detects a document based on a density difference from a background portion, when an image is read with a document cover (platen cover) closed, the document is not read. Since the pressing surface is colored black, if the original to be subjected to image processing is thin, the background black is transparent through the original, so that the original background is not processed in a faithful state.

また、原稿カバーを特殊な色にて着色し、原稿と原稿
カバーとの色差に基づいて原稿検知を行なうものでは、
例えば、画像処理の対象原稿が本のように厚みがある場
合、原稿カバーが浮上ってしまうため、精度の良い色差
の検出ができない。更に、原稿カバーを開放した状態で
画像読取りを行なおうとすると、全くその機能が発揮で
きない。
Also, if the original cover is colored with a special color and the original is detected based on the color difference between the original and the original cover,
For example, if the target document to be subjected to image processing is thick like a book, the document cover will float up, so that accurate color difference detection cannot be performed. Further, if an image is to be read while the original cover is open, the function cannot be exhibited at all.

そこで、本発明の課題は、原稿地肌への影響を極力小
さいものにしつつ、原稿カバー(プラテンカバー)の開
閉状態に係わりなく精度の良い原稿検知を可能にするこ
とである。
SUMMARY OF THE INVENTION It is an object of the present invention to enable accurate document detection regardless of the open / close state of a document cover (platen cover) while minimizing the influence on the background of the document.

[課題を解決するための手段] 本発明は、第1図に示すように、プラテン1上に載置
された原稿2を光学的に走査して読取られる画像情報の
処理を行なう画像処理装置にあって、画像情報の対象と
なる原稿2領域を検知する原稿検知装置を前提としてお
り、当該原稿検知装置において、上記課題を解決するた
めの技術的手段は、第1図(a)に示すように、プラテ
ン1上にて開閉可能なプラテンカバー3の当該原稿押え
面3aを対象となる原稿1の色と異なる色にて着色し、プ
ラテンカバー3の開放状態(OP)と閉鎖状態(CL)を判
別するプラテン開閉判別手段4と、プラテン開閉判別手
段4がプラテンカバー3の開放状態(OP)を判別すると
きに原稿2とその背景部との濃度差に基づいて原稿エッ
ジ部を検出する第一の原稿エッジ検出手段5と、プラテ
ン開閉判別手段4がプラテンカバーの閉鎖状態を判別す
るときに原稿2とプラテンカバー3の原稿押え面3aの色
差に基づいて原稿エッジを検出する第二の原稿エッジ検
出手段6と、第一または第二の原稿エッジ検出手段5,6
にて検出された原稿エッジ部を含む所定領域を原稿2領
域として特定する原稿領域特定手段7とを備えたもので
ある。
[Means for Solving the Problems] As shown in FIG. 1, the present invention relates to an image processing apparatus for optically scanning a document 2 placed on a platen 1 and processing image information read. In this case, it is assumed that a document detecting apparatus detects two areas of a document to be subjected to image information. In the document detecting apparatus, technical means for solving the above-described problem is as shown in FIG. Then, the original pressing surface 3a of the platen cover 3 that can be opened and closed on the platen 1 is colored with a color different from the color of the target original 1, and the platen cover 3 is opened (OP) and closed (CL). Platen open / close determining means 4 for determining whether the document 2 is open or not (OP) when the platen open / close determining means 4 determines the open state (OP) of the platen cover 3 based on the density difference between the document 2 and its background. One document edge detecting means 5 A second document edge detecting means 6 for detecting a document edge based on a color difference between the document 2 and the document pressing surface 3a of the platen cover 3 when the platen open / close determining means 4 determines the closed state of the platen cover; Second document edge detecting means 5, 6
And a document area specifying means 7 for specifying a predetermined area including the document edge portion detected in step 2 as a document 2 area.

上記プラテンカバー3の原稿押え面3aの色は、薄紙原
稿を対象とした場合の原稿地肌に与える影響と、原稿と
の色差判別の能力との兼合いから決められる。色差判別
できる範囲内で極力淡い色にすることが薄紙原稿を対象
としても原稿地肌に与える影響が少ない点で好ましい。
The color of the document pressing surface 3a of the platen cover 3 is determined based on a balance between the effect on the document background when a thin paper document is targeted and the ability to discriminate the color difference from the document. It is preferable to make the color as light as possible within the range in which the color difference can be determined, since the influence on the background of the original is small even when the original is a thin paper.

第一の原稿エッジ検出手段5での原稿エッジ検出の基
礎となる濃度差は光学的な反射率の差に対応したもので
ある。
The density difference, which is the basis for document edge detection by the first document edge detecting means 5, corresponds to the difference in optical reflectance.

上記第一の原稿エッジ検出手段5、第二の原稿エッジ
検出手段6等、各構成要件は画像情報の読取り系とは独
立に設けることも可能であるが、特に画像処理の対象と
なる画像情報を所定の画素単位に濃度情報(D)と色情
報(C)とに区別して読取る画像読取り手段8を備えた
画像処理装置にあっては、この画像読取り手段8にて読
取られる濃度情報(D)と色情報(C)とを利用してそ
の構成を簡略化する観点から第1図(b)に示すような
構成態様となる。即ち、上記第一の原稿エッジ検出手段
5は、画像読取り手段8での原稿走査の過程で、得られ
る濃度情報(D)を原稿2とその背景部の各読取り濃度
の間で予め定めた基準濃度に基づいて二値化する濃度情
報二値化手段5aと、濃度情報二値化手段5aにて得られる
二値化情報の変化位置を検出する濃度変化位置検出手段
5bと、濃度変化位置検出手段5bでの検出位置に基づいて
原稿エッジ位置を判別する原稿エッジ判別手段5cとを備
えたものとなる。
The respective components such as the first document edge detecting means 5 and the second document edge detecting means 6 can be provided independently of the image information reading system. In the image processing apparatus provided with the image reading means 8 for reading the image data in a predetermined pixel unit separately into density information (D) and color information (C), the density information (D) read by the image reading means 8 is used. ) And the color information (C), the configuration is simplified as shown in FIG. 1B from the viewpoint of simplifying the configuration. That is, the first document edge detecting means 5 converts the density information (D) obtained in the course of scanning of the document by the image reading means 8 into a predetermined reference between the document 2 and each reading density of its background. Density information binarization means 5a for binarizing based on density, and density change position detection means for detecting a change position of the binarization information obtained by density information binarization means 5a
5b, and a document edge discriminating means 5c for discriminating the document edge position based on the position detected by the density change position detecting means 5b.

この場合、濃度情報二値化手段5aでの基準濃度は、対
象となる原稿とその背景部の各読取り濃度の間の濃度に
決定されるが、対象となる原稿濃度側(白濃度側)に近
付けると、対象とする原稿の濃度ばらつきあるいは汚れ
等で原稿エッジ誤検出の原因となり、また、背景部の読
取り濃度側(黒濃度側)に近付けると、外部光の侵入等
(プラテンカバー3が開放状態)による誤検出の原因と
なることから、それらの兼合いから決定される。一般的
には、通常対象とする原稿では想定され得ない程度の高
い濃度に決定される。
In this case, the reference density in the density information binarizing means 5a is determined to be a density between the target document and each reading density of the background portion thereof, but the density is closer to the target document density side (white density side). If it is close to the original document, it may cause erroneous detection of the original edge due to density variation or smudge of the target document. Also, if it is close to the reading density side (black density side) of the background portion, external light may enter (open the platen cover 3). State) may cause an erroneous detection. In general, the density is determined to be so high that it cannot be assumed for a document to be usually targeted.

更に第二の原稿エッジ検出手段6の構成要素と第一の
原稿エッジ検出手段5構成要素との共用化を図ってその
構成の簡略化を図る観点から、上記第一の原稿エッジ検
出手段5の構成を前提に、上記第二の原稿エッジ検出手
6は、同第1図(b)に示すように、プラテンカバー3
の原稿押え面3aの色を検出する色検出手段6aと、色検出
手段6aにて当該色検出のなされた画素の対応する濃度情
報(D)を上記背景部の読取り濃度に対応した濃度(D
a)に変換する濃度変換手段6bを備えると共に、この濃
度変換手段6bにて得られる濃度情報に基づいて原稿エッ
ジを検出すべく上記第一の原稿エッジ検出手段5におけ
る濃度情報二値化手段5aと、濃度変化位置検出手段5b
と、原稿エッジ判別手段5cとを共用化したものとなる。
Furthermore, from the viewpoint of sharing the components of the second document edge detecting means 6 and the components of the first document edge detecting means 5 to simplify the configuration, the first document edge detecting means 5 is used. Assuming the configuration, the second document edge detecting hand 6 has a platen cover 3 as shown in FIG.
Color detection means 6a for detecting the color of the original pressing surface 3a, and density information (D) corresponding to the pixel for which the color detection has been performed by the color detection means 6a.
a) a density conversion means 6b for converting the density information into binary information 5a in the first document edge detection means 5 to detect a document edge based on the density information obtained by the density conversion means 6b. And the density change position detecting means 5b
And the document edge discriminating means 5c.

上記原稿領域特定手段7での原稿領域特定の態様は、
原稿エッジ部にて画される領域そのものを特定するもの
でも、また、原稿エッジ部を含むある程度の広がりを有
した領域を特定するものでもよい。一般に行なうべき画
像処理に適した態様での領域特定がなされる。原稿領域
特定の容易性の観点からは、プラテン1上に読取り主走
査に沿った方向がY方向、同副走査に沿った方向がX方
向となるX−Y座標系を設定し、原稿領域特定手段7
が、X方向の最大及び最小の原稿エッジ位置にてX方向
の領域特定を行なうX方向領域特定手段と、Y方向の最
大及び最小の原稿エッジ位置にてY方向の領域特定を行
なうY方向領域特定手段とを備えるものとなる。
The mode of specifying the document area in the document area specifying means 7 is as follows.
It may specify the region itself defined by the document edge portion, or may specify a region having a certain extent including the document edge portion. In general, an area is specified in a mode suitable for image processing to be performed. From the viewpoint of easiness of specifying the document area, an XY coordinate system is set on the platen 1 so that the direction along the main scanning direction is the Y direction and the direction along the sub-scanning direction is the X direction. Means 7
X-direction area specifying means for specifying the X-direction area at the maximum and minimum document edge positions in the X direction, and Y-direction area specifying the Y-direction area at the maximum and minimum document edge positions in the Y direction And a specifying means.

[作用] 本等の厚い原稿2を対象としてプラテンカバー3が開
閉状態にて画像情報の読取り更にその処理を行なうに先
立って、プラテン開閉判別手段4がプラテンカバー3の
開放状態を判別すると、プラテン1上の原稿2の背景部
では光学的な反射がないことから第一の原稿エッジ検出
手段5が原稿2とその背景部との濃度差に基づいて原稿
エッジ部を検出する。そして、原稿領域特定手段7は検
出された原稿エッジ部を含む所定領域を原稿領域として
特定する。
[Operation] The platen open / close determining means 4 determines the open state of the platen cover 3 before reading the image information and performing the processing on the thick original 2 such as a book while the platen cover 3 is open / closed. Since there is no optical reflection in the background portion of the document 2 on the first document 1, the first document edge detecting means 5 detects the document edge portion based on the density difference between the document 2 and the background portion. Then, the document area specifying means 7 specifies a predetermined area including the detected document edge as a document area.

一方、シート状の原稿2を対象としてプラテンカバー
3が閉鎖状態にて画像情報の読取り更にその処理を行な
うに先立って、プラテン開閉判別手段4がプラテンカバ
ー3の閉鎖状態を検出すると、第二の原稿エッジ検出手
段6が原稿2とプラテンカバー3の原稿押え面3aの色差
に基づいて原稿エッジ部を検出する。そして、原稿領域
特定手段7は検出された原稿エッジ部を含む所定領域を
原稿領域としてし特定する。
On the other hand, before the platen cover 3 is closed and the platen open / close determining means 4 detects the closed state of the platen cover 3 before the image information is read and the processing is performed with the platen cover 3 closed, the second The document edge detecting means 6 detects a document edge based on the color difference between the document 2 and the document pressing surface 3a of the platen cover 3. Then, the document area specifying means 7 specifies a predetermined area including the detected document edge as a document area.

上記各場合において、光学的な走査の過程で各特定さ
れた原稿領域について得られる画像情報が処理の対象と
なる。
In each of the above cases, image information obtained for each specified document area in the process of optical scanning is to be processed.

[実施例] 以下、目次の順に従って本発明の実施例を説明する。Examples Examples of the present invention will be described below in the order of the table of contents.

目次 I.基本構成 II.画像入力部 III.色画像情報生成部 IV.原稿検知部 V.処理部 VI.画像形成部 VII.まとめ I.基本構成 走査系の基本的な構造は、例えば、第2図に示すよう
になっている。
Table of contents I. Basic configuration II. Image input unit III. Color image information generation unit IV. Original detection unit V. Processing unit VI. Image formation unit VII. Summary I. Basic configuration The basic structure of the scanning system is, for example, It is as shown in FIG.

これは、原稿13が載置されるプラテン12の上部に開閉
可能なプラテンカバー14が設けられる一方、その下方部
に光源15とセルフォックレンズを含む光導部材16とCCD
等の1次元イメージセンサ10が配置されこれらが一体と
なって走査部を構成している。そして、この走査部が平
行移動(図中矢印方向)を行なって原稿13の光学的走査
を行なう過程で、イメージセンサ10から出力される受光
光量に対応したセル単位の検出信号に基づいて原稿13に
描かれた濃淡像、線図、文字等に対応した所定画素単位
の画像情報が生成される。
An openable / closable platen cover 14 is provided above a platen 12 on which a document 13 is placed, and a light guide member 16 including a light source 15 and a selfoc lens and a CCD are provided below the platen cover 14.
And the like, and a one-dimensional image sensor 10 is arranged, and these constitute an integral scanning unit. When the scanning unit performs a parallel movement (in the direction of the arrow in the figure) and optically scans the document 13, the scanning of the document 13 is performed based on a detection signal in cell units corresponding to the amount of received light output from the image sensor 10. , Image information of a predetermined pixel unit corresponding to the grayscale image, the diagram, the character, and the like drawn in FIG.

上記開閉可能なプラテンカバー14に対してその開放状
態及び閉鎖状態を検出する開閉検出器18が設けられてい
る。この開閉検出器18は、例えばリードスイッチにて構
成され、プラテンカバー14側に設けられた磁石の当該開
放状態、閉鎖状態での位置に応じてオン、オフ動作を行
なうようになっている。例えば、プラテンカバー14が開
放状態のとき開閉検出器(リードスイッチ)18がオン状
態、プラテンカバー14が閉鎖状態とのとき開閉検出器18
がオフ状態となる。このリードスイッチにて構成された
開閉検出器18のオン・オフ状態に基づいてプラテンカバ
ー14の開放状態と閉鎖状態を判別するプラテン開閉判別
回路の具体的な構成は、例えば第3図に示すようになっ
ている。これは、リードスイッチ18のオン・オフによっ
てコンデンサC1が抵抗R1,抵抗R2を介して充電、抵抗R2
を介して放電する構成となっている。リードスイッチ18
がオン状態のときにはコンデンサC1が放電状態となって
インバータ19の出力がHレベル、リードスイッチ18がオ
フ状態のときはコンデンサC1が充電状態となってインバ
ータ19の出力がLレベルとなり、このインバータ19出力
がプラテンカバー14の開閉状態の判別出力(PLTINT)と
なる。即ち、プラテンカバー14が開放状態のときにイン
バータ19出力がHレベル、プラテンカバー14が閉鎖状態
のときにインバータ19出力がLレベルとなる。
An open / close detector 18 for detecting the open state and the closed state of the openable / closable platen cover 14 is provided. The open / close detector 18 is configured by, for example, a reed switch, and performs an on / off operation according to the position of the magnet provided on the platen cover 14 in the open state and the closed state. For example, the open / close detector (reed switch) 18 is turned on when the platen cover 14 is open, and the open / close detector 18 is turned on when the platen cover 14 is closed.
Is turned off. A specific configuration of a platen open / close determination circuit for determining the open state and the closed state of the platen cover 14 based on the on / off state of the open / close detector 18 constituted by the reed switch is shown in FIG. 3, for example. It has become. This is because the capacitor C1 is charged via the resistors R1 and R2 by turning on and off the reed switch 18, and the resistor R2
And discharges through the device. Reed switch 18
Is on, the capacitor C1 is discharged and the output of the inverter 19 is at the H level. When the reed switch 18 is off, the capacitor C1 is charged and the output of the inverter 19 is at the L level. The output is a determination output (PLTINT) of the open / closed state of the platen cover 14. That is, when the platen cover 14 is open, the output of the inverter 19 becomes H level, and when the platen cover 14 is closed, the output of the inverter 19 becomes L level.

上記プラテンカバー14の原稿押え面は想定する原稿の
色とは異なる比較的淡い色にて着色されている(対象と
なる原稿の画像色、マーカに使用されない色、例えば、
黄色等)。
The original pressing surface of the platen cover 14 is colored with a relatively light color different from the assumed original color (the image color of the target original, a color not used for the marker, for example,
Yellow, etc.).

次に、画像処理装置全体の基本的な構成は、例えば、
第4図に示すようになっている。
Next, the basic configuration of the entire image processing apparatus is, for example,
As shown in FIG.

この例は、二色の画像処理、例えば、黒(メインカラ
ー)と赤(サブカラー)の画像再現を前提とした画像処
理装置である。
This example is an image processing apparatus on the premise of two-color image processing, for example, image reproduction of black (main color) and red (sub-color).

第4図において、10は原画を光学的に走査するフルカ
ラーセンサ(第2図におけるイメージセンサに相当)、
20はフルカラーセンサ10からセル単位に時分割にて順次
出力される読取り信号を所定画素単位の色成分データ
(緑:G、青:B、赤:R)に変換してそれらを並列的に出力
するセンサインタフェース回路であり、このフルカラー
センサ10及びセンサインタフェース回路20にて原画入力
部が構成されている。50は上記センサインタフェース回
路20からの各色成分データ(GBR)から画素単位に濃度
情報と色情報を生成する色画情報生成回路であり、この
色画情報生成回路50は256階調の濃度情報Dと色情報と
してサブカラー“赤”に対応したサブカラーフラグSCF
とメインカラー“黒”に対応したメインカラーフラグMC
Fを生成している。70は色画情報生成回路50からの濃度
情報D及び色情報(SCF,MCF)に対して各種の補正及び
フィルタ処理を行なう補正・フィルタ回路、100は補正
・フィルタ回路70を経た濃度情報D及び色情報(SCF,MC
F)に対して拡大、縮小、色反転等の編集、加工等の処
理を行なう編集・加工回路である。
In FIG. 4, reference numeral 10 denotes a full-color sensor for optically scanning an original image (corresponding to the image sensor in FIG. 2);
Numeral 20 converts read signals sequentially output from the full-color sensor 10 in cell units in a time division manner into color component data (green: G, blue: B, red: R) in predetermined pixel units and outputs them in parallel. The full-color sensor 10 and the sensor interface circuit 20 constitute an original image input unit. Reference numeral 50 denotes a color image information generating circuit which generates density information and color information on a pixel basis from each color component data (GBR) from the sensor interface circuit 20. The color image information generating circuit 50 has density information D of 256 gradations. And sub color flag SCF corresponding to sub color "red" as color information
And main color flag MC corresponding to main color "black"
F is being generated. 70 is a correction / filter circuit for performing various corrections and filter processing on the density information D and the color information (SCF, MCF) from the color image information generation circuit 50, and 100 is density information D and Color information (SCF, MC
An editing / processing circuit for performing processing such as editing, processing such as enlargement, reduction, and color inversion on F).

上記のようにして、補正・フィルタ回路70及び編集・
加工回路100にて各種の処理を経た濃度情報D及び色情
報(SCF,MCF)はインタフェース回路140を介して具体的
な画像形成機器に供されるようになっている。この画像
形成機器としては、2色再現を行なうレーザプリンタ15
0、画像送受信機170等があり、更に、濃度情報D及び色
情報はコンピュータ180に供され、当該コンピュータ180
の補助記憶装置(磁気ディスク装置等)内に蓄えて、各
種の端末装置にて当該情報を利用するシステム態様も可
能である。上記レーザプリンタ150を接続する場合には
全体として2色複写機が構成され、また、画像送受信機
170を接続する場合には全体としてファクシミリが構成
される。
As described above, the correction / filter circuit 70 and the editing /
The density information D and the color information (SCF, MCF) that have been subjected to various processes in the processing circuit 100 are provided to specific image forming equipment via the interface circuit 140. The image forming apparatus includes a laser printer 15 for performing two-color reproduction.
0, an image transceiver 170, etc., and further, density information D and color information are provided to a computer 180,
A system form in which the information is stored in an auxiliary storage device (such as a magnetic disk device) and various terminals use the information is also possible. When the above laser printer 150 is connected, a two-color copying machine is configured as a whole,
When 170 is connected, a facsimile is configured as a whole.

II.画像入力部 この画像入力部と次項IIIにて説明する色画情報生成
部が一体となって本発明の具体的な構成要件たる画像読
取り手段を具体化している。
II. Image Input Unit This image input unit and the color image information generation unit described in the following section III are integrated to realize an image reading unit as a specific component of the present invention.

フルカラーセンサ10は、例えば、第5図に示すように
所定のドット密度(15.748ドット/mm)となる5つのCCD
センサチップ10(1)〜10(5)が原稿走査方向Sに対
して交互に前後しながら、いわゆる千鳥状に配置され一
体となった構造となっている。各CCDセンサチップ10
(1)〜10(5)は、第6図に示すように、斜めに仕切
られた各セル(光電変換素子)の各受光面に対して緑
G、青B、赤Rのフィルタ(ゼラチンフィルタ等)が順
番に設けられている。そして、隣接した緑フィルタのセ
ル11gと青フィルタのセル11bと赤フィルタのセル11rが
1組となって各セルからの受光量(原稿反射率に対応)
に応じたレベルの出力信号が1画素P分の信号として処
理される。
The full-color sensor 10 includes, for example, five CCDs each having a predetermined dot density (15.748 dots / mm) as shown in FIG.
The sensor chips 10 (1) to 10 (5) are arranged alternately back and forth with respect to the document scanning direction S, and are arranged in a so-called zigzag pattern and integrated. Each CCD sensor chip 10
As shown in FIG. 6, (1) to (5) show green G, blue B, and red R filters (gelatin filters) for each light receiving surface of each diagonally partitioned cell (photoelectric conversion element). Etc.) are provided in order. The adjacent green filter cell 11g, blue filter cell 11b, and red filter cell 11r form a set and receive light from each cell (corresponding to the document reflectance).
Is processed as a signal for one pixel P.

センサインタフェース回路20は、基本的に、千鳥配置
された各CCDセンサチップ10(1)〜10(5)からの出
力信号に基づく色成分信号(G,B,R)を1ラインに揃え
るための補正機能、CCDセンサチップの各セルからの信
号としてシリアルに処理された各色成分信号(G,B,R)
を上記画素P単位のパラレル信号に変換する機能、1画
素Pにおける各色成分信号(G,B,R)の検出位置のずれ
に関する補正機能等を有している。
The sensor interface circuit 20 basically arranges the color component signals (G, B, R) based on the output signals from the staggered CCD sensor chips 10 (1) to 10 (5) into one line. Correction function, each color component signal (G, B, R) processed serially as a signal from each cell of the CCD sensor chip
Is converted into a parallel signal for each pixel P, and a correction function for a shift in the detection position of each color component signal (G, B, R) in one pixel P is provided.

第7図に示す回路は千鳥配置されたCCDセンサチップ
からの出力を1ラインに揃える機能を実現する回路であ
る。
The circuit shown in FIG. 7 is a circuit for realizing the function of aligning the outputs from the staggered CCD sensor chips into one line.

同図において、各CCDセンサチップ10(1)〜10
(5)からセル単位に順次シリアルに出力される信号が
増幅回路21(1)〜21(5)を介してA/D変換回路22
(1)〜22(5)に入力されている。各A/D変換回路22
(1)〜22(5)では上記受光量に応じた各セル単位の
センサ出力信号を例えば8ビットデータとして出力して
いる。この各A/D変換回路22(1)〜22(5)の後段に
はタイミング調整用のラッチ回路23(1)〜23(5)が
設けられ、特に、原稿走査方向S(第5図参照)に対し
て他のCCDセンサチップより前方に配置されたCCDセンサ
チップ10(2)及び同10(4)の系統については当該ラ
ッチ回路23(2),23(4)の後段に先入れ先出し方式
のFIFOメモリ24,25が設けられている。このFIFOメモリ2
4,25はCCDセンサチップ10(2)及び同10(4)の系統
についての色成分信号の出力タイミングを遅延させて他
のCCDセンサチップ10(1),10(3),10(5)の系統
についての同一ライン信号の出力タイミングに揃えるた
めのものである。従って、その書込みタイミングが所定
のタイミングに決定される一方、その読出しタイミング
(遅延量)はCCDセンサチップ10(2)及び10(4)の
走査ラインと他のCCDセンサチップの走査ライン間の距
離(例えば、62.5μm)と当該フルカラーセンサ10の原
稿走査速度に基づいて決定される。例えば、形成される
画像の倍率に応じて走査速度が異なる場合には、その倍
率に応じて読出しタイミングが制御される。このよう
に、倍率等により読出しタイミングを可変にする場合に
は、読出しタイミングが最も遅くなる場合を想定してFI
FOメモリ24,25の容量が決められる(メモリ容量が許容
遅延量に対応する)。この各FIFOメモリ24,25の後段に
ラッチ回路26(2),26(4)が設けられる一方、CCDセ
ンサチップ10(1),10(3)、10(5)の系統につい
ては上記ラッチ回路23(1),23(3),23(5)の後段
には直接次のラッチ回路26(1),26(3),26(5)が
接続され、FIFO24,25を介した先行するCCDセンサチップ
10(2),10(4)の系統の色成分信号と他のセンサチ
ップの系統の色成分信号とが各ラッチ26(1)〜26
(6)にて同一走査ラインのものとして揃えられ、所定
のタイミングにて後段に転送される。各ラッチ26(1)
〜26(6)をみると、色成分信号が各CCDセンサチップ
のセル配置に対応してG→B→R→G→B→R→……の
順にシリアルに転送されるこにとなる。
In the figure, each CCD sensor chip 10 (1) to 10
Signals serially output from (5) in units of cells are sequentially transmitted to the A / D conversion circuit 22 via the amplification circuits 21 (1) to 21 (5).
(1) to (22) are input. Each A / D conversion circuit 22
In (1) to (5), the sensor output signal in each cell according to the light receiving amount is output as, for example, 8-bit data. At the subsequent stage of each of the A / D conversion circuits 22 (1) to 22 (5), latch circuits 23 (1) to 23 (5) for timing adjustment are provided, and particularly, in the original scanning direction S (see FIG. 5). ), The CCD sensor chips 10 (2) and 10 (4) arranged ahead of the other CCD sensor chips are provided with a first-in first-out system after the latch circuits 23 (2) and 23 (4). FIFO memories 24 and 25 are provided. This FIFO memory 2
Reference numerals 4 and 25 denote output timings of color component signals for the CCD sensor chips 10 (2) and 10 (4) to delay the other CCD sensor chips 10 (1), 10 (3) and 10 (5). This is for adjusting the output timing of the same line signal for the system of FIG. Therefore, while the write timing is determined to be a predetermined timing, the read timing (delay amount) is the distance between the scan lines of the CCD sensor chips 10 (2) and 10 (4) and the scan lines of the other CCD sensor chips. (For example, 62.5 μm) and the document scanning speed of the full-color sensor 10. For example, when the scanning speed is different according to the magnification of the image to be formed, the readout timing is controlled according to the magnification. As described above, when the read timing is made variable by the magnification or the like, the FI is assumed to be the slowest in the read timing.
The capacity of the FO memories 24 and 25 is determined (the memory capacity corresponds to the allowable delay amount). Latch circuits 26 (2) and 26 (4) are provided at the subsequent stage of each of the FIFO memories 24 and 25, while the CCD sensor chips 10 (1), 10 (3) and 10 (5) The next latch circuit 26 (1), 26 (3), 26 (5) is directly connected to the subsequent stage of 23 (1), 23 (3), 23 (5), and the preceding CCD via FIFO 24, 25 is connected. Sensor chip
The latches 26 (1) to 26 (1) to 26 (1) to 26 (1) to 26 (1)
In (6), they are aligned as those of the same scanning line, and transferred to the subsequent stage at a predetermined timing. Each latch 26 (1)
26 (6), the color component signals are serially transferred in the order of G → B → R → G → B → R →... Corresponding to the cell arrangement of each CCD sensor chip.

第8図に示す回路は上記のように各CCDセンサチップ
の系統においてシリアルに転送される各色成分信号を画
素単位のパラレル信号に変換する機能を実現する回路で
ある。
The circuit shown in FIG. 8 is a circuit for realizing the function of converting each color component signal serially transferred in the system of each CCD sensor chip into a parallel signal for each pixel as described above.

同図において、上記各CCDセンサチップ10(1)〜10
(5)に対応してシリアルパラレル変換回路30(1)〜
30(5)が設けられている。この各シリアルパラレル変
換回路30(i)(i=1,…,5)は上記のようにしてシリ
アルに転送される色成分信号(G,B,R)が並列的に入力
するラッチ回路31g,31b,31rを備え、この各ラッチ回路
は、31gが色成分信号G(緑)の転送時にアクティブと
なるクロック信号(Gクロックに同期し、31bが色成分
信号B(青)の転送時にアクティブとなるクロック信号
(Bクロック)に同期し、更に31rが色成分信号R
(赤)の転送時にアクティブとなるクロック(Rクロッ
ク)に同期して各色成分信号をラッチするようになって
いる。また、上記各ラッチ回路31g,31b,31rの後段には
転送タイミングを調整するためにもう一度画素単位にラ
ッチするトライステートラッチ回路32g,32b,32rが設け
られており、各トライステートラッチ32g,32b,32rは上
記Rクロックの立下がりのタイミングにて前段のラッチ
データ(色成分信号)が同時に再ラッチされるようにな
っている。更に、このトライステートラッチ回路32g,32
b,32rはイネーブル信号(i)(i=1,…,5)にてその
出力の駆動/非駆動が制御される。
In the figure, each of the above CCD sensor chips 10 (1) to 10 (1) to 10
Serial-to-parallel conversion circuit 30 (1) to (5)
30 (5) are provided. Each of the serial / parallel conversion circuits 30 (i) (i = 1,..., 5) is a latch circuit 31g to which the color component signals (G, B, R) serially transferred as described above are input in parallel. Each of the latch circuits includes a clock signal (in synchronization with the G clock) in which 31g is activated when the color component signal G (green) is transmitted, and 31b which is activated when the color component signal B (blue) is transmitted. In synchronization with the clock signal (B clock).
Each color component signal is latched in synchronization with a clock (R clock) that becomes active at the time of transfer of (red). Further, at the subsequent stage of each of the latch circuits 31g, 31b, 31r, there is provided a tri-state latch circuit 32g, 32b, 32r for latching again for each pixel in order to adjust the transfer timing, and each tri-state latch 32g, 32b , 32r, the latch data (color component signal) of the preceding stage is simultaneously re-latched at the falling timing of the R clock. Further, the tri-state latch circuits 32g and 32g
The b / 32r has its enable / non-drive controlled by an enable signal (i) (i = 1,..., 5).

上記シリアルパラレル変換回路30(1)〜30(5)の
後段にはメモリ回路34とこのメモリ回路34の書込み及び
読出しの制御を行なうタイミング制御回路が設けられて
いる。メモリ回路34は各色成分(G,B,R)毎に専用のメ
モリを有しており、各色成分のメモリに対する書込みに
際して上記イネーブル信号を(1)→(2)→(3)→
(4)→(5)の順番にそのアクティブ状態を切換え、
かつその書込みアドレスを所定の規則に従って制御する
ことにより、各色成分(G,B,R)毎にメモリ内に1ライ
ン分のデータが順次配列されるようになっている。そし
て、各色成分のデータを各専用メモリから順次パラレル
に読出すことにより画素単位の色成分データが1ライン
の端から端まで順次後段に転送される。
A memory circuit 34 and a timing control circuit for controlling writing and reading of the memory circuit 34 are provided at the subsequent stage of the serial / parallel conversion circuits 30 (1) to 30 (5). The memory circuit 34 has a dedicated memory for each color component (G, B, R). When writing each color component to the memory, the enable signal is converted from (1) → (2) → (3) →
The active state is switched in the order of (4) → (5),
In addition, by controlling the write address according to a predetermined rule, one line of data is sequentially arranged in the memory for each color component (G, B, R). Then, by reading the data of each color component from each dedicated memory sequentially in parallel, the color component data of each pixel is sequentially transferred from the end of one line to the subsequent stage.

なお、上記タイミング制御回路36での書込みタイミン
グと読出しタイミングの差によりこのメモリ回路34を境
に解像度の変換がなされる。例えば、メモリ回路34以降
の系での解像度が400SPIとなるようタイミング制御回路
36はその読出しタイミングを制御している。
It should be noted that the resolution is converted at the boundary of the memory circuit 34 by the difference between the write timing and the read timing in the timing control circuit 36. For example, a timing control circuit so that the resolution in the system after the memory circuit 34 is 400 SPI
Reference numeral 36 controls the read timing.

第9図に示す回路図は1画素における各色成分(G,B,
R)の検出位置のずれに関する補正機能を実現する回路
である。
The circuit diagram shown in FIG. 9 shows each color component (G, B,
R) is a circuit that implements a correction function for the displacement of the detection position.

第6図に示すように、フルカラーセンサ10の構造上1
画素内で各色成分G,B,Rの読取り位置が空間的にずれて
いることから、各セルからの信号をそのまま色成分信号
として処理すると黒画像の境界部分に他の色画素が発生
してしまう現象、いわゆるゴースト発生等の問題が生ず
る。そこで、この補正回路は、このようなゴースト発生
等を防止するため、各色成分の読取り位置を見掛け上一
致させるようにしたものである。具体的には、第10図に
示す各セルの配列において、画素Pnに注目したときに各
色成分の読取り位置を仮想的にセルGnの位置となるよう
補正するものである。その補正の手法は、隣接画素Pn-1
を考慮して各色成分の読取り位置をセルGnの位置となる
よう加重平均するものである。即ち、 Gn=Gn …(1) Bn=(Bn-1+2Bn)/3 …(2) Rn=(2Rn-1+Rn)/3 …(3) の演算により各色成分データ(Gn,Bn,Rn)を得るように
している。
As shown in FIG.
Since the reading position of each color component G, B, R is spatially shifted within the pixel, if the signal from each cell is processed as it is as a color component signal, other color pixels will occur at the boundary of the black image. This causes a problem such as ghosting. In order to prevent such a ghost or the like, the correction circuit makes the reading positions of the respective color components seemingly coincide with each other. Specifically, in the arrangement of each cell shown in FIG. 10, when the pixel Pn is focused on, the reading position of each color component is corrected to be virtually the position of the cell Gn. The method of the correction is that the adjacent pixel P n-1
In consideration of the above, weighted averaging is performed so that the reading position of each color component becomes the position of the cell Gn. That is, Gn = Gn ... (1) Bn = (Bn -1 + 2Bn) / 3 ... (2) Rn = (2Rn -1 + Rn) / 3 ... (3) Each color component data (Gn, Bn, Rn).

上記のような演算を実現する回路として例えば第9図
に示す回路がある。
As a circuit for realizing the above-mentioned operation, for example, there is a circuit shown in FIG.

第8図に示す回路にて画素単位に出力される色成分デ
ータがパラレルに当該補正回路に入力するようになって
いる。そして、G成分の系統についてはラッチ回路38g
が設けられ、B成分の系統についてはラッチ回路38bの
後段に次のラッチ回路41とラッチ回路38bにラッチされ
たデータを1ビットシフトするシフタ42が設けられると
共に、ラッチ回路41のラッチデータとシフタ42でのシフ
トデータを加算する加算器43及びこの加算器43での加算
結果をアドレス入力としてその1/3を出力するルックア
ップテーブル(ROM)44が設けられている。また、R成
分の系統についてはラッリ回路38rの後段に次のラッチ
回路45とラッチ回路45にラッチされたデータを1ビット
シフトするシフタ46が設けられると共に、ラッチ回路38
rのラッチデータとシフタ46でのシフトデータを加算す
る加算器47及びこの加算器47の加算結果をアドレス入力
として上記同様その1/3を出力するルックアップテーブ
ル(ROM)48が設けられている。このような構成によ
り、G成分の系統では上記(1)式を実現し、1ビット
シフトすることが2倍の演算を意味することから、B成
分の系統では上記(2)式、R成分の系統では上記
(3)式を実現している。
The color component data output for each pixel in the circuit shown in FIG. 8 is input to the correction circuit in parallel. Then, for the G component system, the latch circuit 38g
For the system of the B component, a subsequent latch circuit 41 and a shifter 42 for shifting the data latched by the latch circuit 38b by one bit are provided at the subsequent stage of the latch circuit 38b, and the latch data of the latch circuit 41 and the shifter An adder 43 for adding the shift data at 42 and a look-up table (ROM) 44 for taking the result of addition at the adder 43 as an address input and outputting 1/3 thereof are provided. As for the system of the R component, a next latch circuit 45 and a shifter 46 for shifting the data latched by the latch circuit 45 by one bit are provided at the subsequent stage of the rally circuit 38r.
There is provided an adder 47 for adding the latch data of r and the shift data in the shifter 46, and a look-up table (ROM) 48 for using the addition result of the adder 47 as an address input and outputting 1/3 thereof as described above. . With such a configuration, the above-described equation (1) is realized in the G component system, and shifting by one bit means a double operation. Therefore, in the B component system, the above equation (2) and the R component In the system, the above equation (3) is realized.

以上がフルカラーセンサ10及びセンサインタフェース
回路20にて構成される原画入力部の基本的な構成であ
り、原画となる原稿をフルカラーセンサ10にて走査する
際に、1ラインずつ所定の画素単位に各色成分データ
(G,B,R)が順次出力される。
The above is the basic configuration of the original image input section composed of the full-color sensor 10 and the sensor interface circuit 20. When scanning the original document as the original image with the full-color sensor 10, each color is provided in a predetermined pixel unit for each line. The component data (G, B, R) is sequentially output.

上記のように原画入力部での処理を終了した各色成分
信号は、一般的に行なわれるシェーディング補正等の処
理を経て次に説明する色画情報生成部に転送される。
Each color component signal that has been processed by the original image input unit as described above is transferred to a color image information generation unit described below through a process such as shading correction that is generally performed.

III.色画情報生成部 この色画像生成部では濃度情報と色情報とを区別して
読取る画像読取り手段が具体化されると共に、更に本発
明の構成要件たる第二の原稿エッジ検出手段の一部の機
能、濃度変換手段が具体化される。
III. Color Image Information Generating Unit In this color image generating unit, an image reading means for reading the density information and the color information separately is embodied, and a part of the second document edge detecting means which is a constituent element of the present invention. And the density conversion means are embodied.

第11図及び第12図は第4図における色画情報生成回路
50の具体的な構造を示している。
11 and 12 show the color image information generating circuit in FIG.
50 specific structures are shown.

第11図において、上記センサインタフェース回路20か
ら画素単位に転送される色成分データのうちG成分デー
タとR成分データを入力してその差(R−G)を演算す
る減算回路51と、B成分データとR成分データを入力し
てその差(R−B)を演算する減算回路52が設けられて
いる。各減算回路51,52での減算結果はパラレルにルッ
クアップテーブル53のアドレス端に入力している。ルッ
クアップテーブル53は上記各減算結果に基づいて当該画
素の彩度C、色相Hの積(H×C)と色判別の出力を行
なうものであり、その読出しは8ビット単位で行なわ
れ、例えば、上位5ビットが(H×C)の結果、下位3
ビットが色判定出力に割付けられている。
In FIG. 11, a subtraction circuit 51 for inputting G component data and R component data of the color component data transferred from the sensor interface circuit 20 in pixel units and calculating a difference (R−G) between them, and a B component A subtraction circuit 52 is provided for inputting data and R component data and calculating the difference (R−B). The result of the subtraction by each of the subtraction circuits 51 and 52 is input to the address end of the look-up table 53 in parallel. The look-up table 53 outputs the product (H × C) of the saturation C and the hue H of the pixel and the color discrimination based on each of the subtraction results. The reading is performed in units of 8 bits. , The upper 5 bits are (H × C), and the lower 3
Bits are assigned to the color judgment output.

上記ルックアップテーブル53の内容は例えば次のよう
に定められている。
The contents of the lookup table 53 are determined, for example, as follows.

第13図に示すように、赤(R)の色成分と緑(G)の
色成分との差(R−G)を縦軸、赤(R)の色成分と青
(B)の色成分との差(R−B)を横軸とした色空間を
設定すると、原点Oからの距離rと回転角θにて任意の
色の特定がなされる。距離rは主に彩度Cを決めるファ
クターとなり、当該色空間において原点Oに近付く程無
彩色に近付く。また、回転角θは主に色相Hを決めるフ
ァクターとなっている。例えば、“赤”“マゼンタ”
“青”“シアン”“緑”“黄”は夫々当該色空間におい
て第13図の破線で囲まれた位置に分布している。
As shown in FIG. 13, the vertical axis represents the difference (RG) between the red (R) color component and the green (G) color component, and the red (R) color component and the blue (B) color component. When the color space is set with the difference (R−B) as the horizontal axis, an arbitrary color is specified by the distance r from the origin O and the rotation angle θ. The distance r is a factor mainly determining the saturation C, and the closer to the origin O in the color space, the closer to the achromatic color. The rotation angle θ is a factor mainly determining the hue H. For example, "red""magenta"
“Blue”, “cyan”, “green”, and “yellow” are distributed at positions surrounded by broken lines in FIG. 13 in the color space.

上記のような関係から、(R−G)データと(R−
B)データから r={(R−G)2+(R−B)21/2 に従って求められる原点からの距離rと、同(R−G)
データと(R−B)データから θ=tan-1{(R−G)/(R−B)} に従って求められる回転角θとによって特定される当該
色空間内の位置にて色判定がなされる。
From the relationship described above, (RG) data and (R-
B) The distance r from the origin obtained from the data in accordance with r = {(RG) 2 + (RB) 2 } 1/2 and the same as (RG)
A color determination is made at a position in the color space specified by the rotation angle θ obtained from the data and the (RB) data in accordance with θ = tan -1 {(RG) / (RB)}. You.

また、彩度Cは、(R−G)データと(R−B)デー
タから上記式にて決る原点からの距離rと彩度Cとの関
係、例えば、実験的に定めた第14図に示すような関係に
従って求められる。なお、第14図において、距離rが所
定値r0より小さくなると、無彩色となって彩度Cが“0"
となる。
The saturation C is calculated from the relationship between the distance r from the origin determined from the (RG) data and the (RB) data by the above equation and the saturation C, for example, as shown in FIG. It is determined according to the relationship shown. In FIG. 14, when the distance r becomes smaller than the predetermined value r 0 , the color becomes achromatic and the saturation C becomes “0”.
Becomes

更に、色相Hは、(R−G)データと(R−B)デー
タから上記式にて決る回転角θと色相Hとの関係、例え
ば、実験的に定めた第15図に示すような関係に従って求
められる。なお、第15図において、回転角θが所定値θ
0より小さいときは、色相Hを強制的に“0"とした。
Further, the hue H is a relationship between the rotation angle θ and the hue H determined by the above equation from the (RG) data and the (RB) data, for example, a relationship as shown in FIG. Is required in accordance with In FIG. 15, the rotation angle θ is a predetermined value θ.
When it is smaller than 0 , the hue H is forcibly set to "0".

このように、色判別結果、彩度C及び色相Hは共に
(R−G)データ及び(R−B)データに基づいて求め
られることから、各減算回路51,52からの(R−G)及
び(R−B)をアドレス入力とするルックアップテーブ
ル53は上記演算、判定等の処理を実現してその色判別出
力及び彩度Cと色相Hの積(C×H)の出力を行なうよ
う構成されている。そして、上述したように(C×H)
の値が5ビットで表現され、色判別結果が3ビットにて
例えば、 上記表1のように表現される。
As described above, since the color discrimination result, the saturation C and the hue H are both obtained based on the (RG) data and the (RB) data, the (RG) from each of the subtraction circuits 51 and 52 is obtained. And a lookup table 53 having (RB) as an address input realizes the above-described operations such as calculation and determination, and outputs the color determination and the product (C × H) of the saturation C and the hue H. It is configured. Then, as described above, (C × H)
Is represented by 5 bits, and the color discrimination result is represented by 3 bits. It is expressed as shown in Table 1 above.

なお、上記彩度C及び色相Hを決める上記第14図、第
15図に示す関係は、システムに要求される色分離に係る
能力等によって種々定められる。
14 and FIG. 14 which determine the saturation C and the hue H.
The relationship shown in FIG. 15 is determined variously depending on the ability related to color separation required for the system.

また第11図において、画素単位に並列的に入力される
各色成分データは、G成分データが0.6倍の乗算回路54
に入力し、B成分データが0.1倍の乗算回路55入力し、
R成分データが0.3倍の乗算回路56に入力している。各
乗算回路54,55,56での乗算結果は夫々加算回路57に入力
し、この加算回路57での加算結果V V=0.6G+0.3R+0.1B が当該画素の明度データとして後段に転送される。
In FIG. 11, each of the color component data input in parallel on a pixel-by-pixel basis has a
And the B component data is input to the multiplying circuit 55 of 0.1 times,
The R component data is input to a multiplication circuit 56 of 0.3 times. The multiplication results of the multiplication circuits 54, 55 and 56 are respectively input to an addition circuit 57, and the addition result VV = 0.6G + 0.3R + 0.1B of the addition circuit 57 is transferred to the subsequent stage as brightness data of the pixel. .

上記明度データVは色成分データGBRのうちG成分デ
ータを基にしてその値にB成分データとR成分データの
値を加味して生成している。これは、イメージセンサ
(フルカラーセンサ10)におけるG成分信号の分光感度
曲線が人間の比視感度曲線に近い特性をもっているから
である。上記明度Vを決定する式における各係数(各乗
算回路における乗算値)は、イメージセンサの分光感度
特性、露光ランプの分光分布等ににより最終的に決定さ
れるものである。
The brightness data V is generated based on the G component data of the color component data GBR, taking into account the values of the B component data and the R component data. This is because the spectral sensitivity curve of the G component signal in the image sensor (full color sensor 10) has characteristics close to the human luminous efficiency curve. Each coefficient (multiplied value in each multiplication circuit) in the expression for determining the brightness V is finally determined by the spectral sensitivity characteristics of the image sensor, the spectral distribution of the exposure lamp, and the like.

なお、上記のようにG成分信号の分光感度特性が人間
の比視感度特性に近いことから、当該システムに要求さ
れる能力に応じ、この明度データVとしてG成分データ
だけを使用することも可能である。
Since the spectral sensitivity characteristic of the G component signal is close to the human relative luminous efficiency characteristic as described above, it is also possible to use only the G component data as the brightness data V according to the capability required for the system. It is.

上記ルックアップテーブル53からの彩度及び色相に関
する出力(H×C)と色判別データ及び加算回路57から
の明度データVは次のルックアップテーブル58のアドレ
ス入力となり、このルックアップテーブル58はアドレス
入力に対応した色濃度データDcを出力する機能を有して
いる。具体的には、上記各入力に対して Dc=K×C×H×V に従って決定する色濃度データDcを出力する。ここでK
は、色判定データに応じて異なる係数である。この係数
Kは、有彩色と無彩色では有彩色の方が明るく感じるこ
とから、この有彩色と無彩色の明度レベルを合せるため
のものであり、各判別色に応じて予め実験的に定めら
れ、その値は、例えば1.1〜1.3程度の範囲内の値に設定
される。
The output (H × C) relating to saturation and hue from the look-up table 53, the color discrimination data and the brightness data V from the adder circuit 57 become the address input of the next look-up table 58, and the look-up table 58 It has a function of outputting color density data Dc corresponding to the input. Specifically, it outputs color density data Dc determined according to Dc = K × C × H × V with respect to each of the above inputs. Where K
Is a coefficient that varies depending on the color determination data. The coefficient K is used to match the lightness level between the chromatic color and the achromatic color because the chromatic color and the achromatic color seem brighter, and is determined experimentally in advance in accordance with each discrimination color. Is set to a value within a range of, for example, about 1.1 to 1.3.

上記ルックアップテーブル53からの色判別出力(3ビ
ット)とラッチ回路60に設定される色選択データが一致
回路59に入力しており、色判別出力と色選択データとが
一致したときに一致回路59の出力がHレベルに立上がる
ようになっている。この色選択データはオペレータの操
作入力あるいは、ディップスイッチ等による設定入力に
基づいて上記ラッチ回路60にセットされるもので、サブ
カラーとして再現する色に対応した3ビットデータ(上
記表1参照)となる。そして、一致回路59の出力は、色
選択にて設定されたサブカラー(例えば、赤)であるか
否かを示すサブカラーフラグSCF(色情報)となる。
The color discrimination output (3 bits) from the lookup table 53 and the color selection data set in the latch circuit 60 are input to the matching circuit 59, and the matching circuit is used when the color discrimination output matches the color selection data. The output of 59 rises to H level. The color selection data is set in the latch circuit 60 based on an operation input by an operator or a setting input by a dip switch or the like, and includes 3-bit data (see Table 1) corresponding to a color to be reproduced as a sub color. Become. The output of the matching circuit 59 is a sub color flag SCF (color information) indicating whether or not the color is a sub color (for example, red) set by the color selection.

上記のように生成された色濃度データDc、明度データ
V、サブカラーフラグSCFは更に第12図に示す後段の回
路に転送される。
The color density data Dc, lightness data V, and sub-color flag SCF generated as described above are further transferred to the subsequent circuit shown in FIG.

第12図において、プラテンカバー14の原稿押え面の色
(プラテン色)が設定され(A入力)上記色判定データ
(B入力)との一致判定を行なう一致回路61と、原稿上
にて領域を指定すためのマーカの色(領域認識色)が設
定され(A入力)上記色判定データ(B入力)との一致
判定を行なう一致回路62が設けられている。この各一致
回路61,62からの一致信号は前段からのサブカラーフラ
グSCFと共にオアゲート63を介して選択回路64の出力選
択信号(SEL)となり、また、サブカラーフラグSCFが後
述する領域検知モードフラグの反転信号にてゲートコン
トロールされるアンドゲート69を介して選択回路65の出
力選択信号(SEL)となっている。選択回路64は、選択
信号の状態に応じて前段からの明度データVと“0"デー
タとを切換える機能を有しており、選択信号がHレベル
のときに“0"データを、同選択信号がLレベルのときに
明度データVを出力するようになっている。選択回路65
は選択信号の状態に応じて前段からの色濃度データDcと
上記選択回路64からのデータとを切換える機能を有して
おり、選択信号がHレベルのときに色濃度データDcを、
同選択信号がLレベルのときに選択回路64からのデータ
を出力するようになっている。また、選択回路64の出力
ビットはそのままオア回路66に入力しており、このオア
回路66の出力がメインカラー(例えば、黒)であるか否
かを示すメインカラーフラグMCF(色情報)となる。
In FIG. 12, the color of the original pressing surface (platen color) of the platen cover 14 is set (A input), and a matching circuit 61 for determining a match with the color determination data (B input) is provided. A matching circuit 62 for setting a marker color (area recognition color) for designation (A input) and performing a match determination with the color determination data (B input) is provided. The coincidence signal from each of the coincidence circuits 61 and 62 becomes an output selection signal (SEL) of the selection circuit 64 via the OR gate 63 together with the sub-color flag SCF from the previous stage. An output selection signal (SEL) of the selection circuit 65 via an AND gate 69 that is gate-controlled by an inverted signal of. The selection circuit 64 has a function of switching between brightness data V and “0” data from the preceding stage according to the state of the selection signal, and outputs “0” data when the selection signal is at the H level. Is output at a low level. Selection circuit 65
Has a function of switching between the color density data Dc from the preceding stage and the data from the selection circuit 64 in accordance with the state of the selection signal. When the selection signal is at the H level, the color density data Dc is
When the selection signal is at the L level, data from the selection circuit 64 is output. The output bit of the selection circuit 64 is directly input to the OR circuit 66, and the output of the OR circuit 66 becomes a main color flag MCF (color information) indicating whether or not the output is a main color (for example, black). .

上記のような構成では、原稿上のメインカラー(黒)
領域においては、一致回路59の出力(サブカラーフラ
グ)、一致回路61,62の各出力(プラテン色、領域認識
色)が全てLレベルとなって、加算回路57からの明度デ
ータVがそのまま選択回路64、同65を経て出力される。
このとき、明度データVが“0"でないことからメインカ
ラーフラグMCFがHレベルとなり、一致回路59の出力が
LレベルであることからサブカラーフラグSCFがLレベ
ルとなる(第16図におけるメインカラー領域Em参照)。
また、原稿上のサブカラー領域(例えば、赤)において
は、一致回路59の出力(SCF)がHレベルとなって、ル
ックアップテーブル58からの色濃度データDcが選択回路
65から出力される。このとき、選択回路64の出力が“0"
となることからメインカラーフラグMCFがLレベルとな
り、一致回路59の出力がHレベルであることからサブカ
ラーフラグSCFがHレベルとなる(第16図にけるサブカ
ラー領域Es参照)。原画の背景領域(濃度“0")におい
ては、一致回路59,61,62すべての出力がLレベルとなる
から、装置回路64を介した“0"の明度データVが選択回
路65からそのまま“0"データとして出力され、メインカ
ラーフラグMCF及びサブカラーフラグSCFともにLレベル
となる(第16図における背景領域En参照)。更に、プラ
テンカバー14の原稿押え面領域(例えば、黄色)または
領域指定のマーク上においては、一致回路61,62のいず
れかがHレベルとなって選択回路64の出力が“0“を維
持し、この“0"データが更に選択回路65を介して出力さ
れる。即ち、これらの領域では濃度が削除されることに
なる。
In the above configuration, the main color (black) on the original
In the area, the output of the matching circuit 59 (sub color flag) and the outputs of the matching circuits 61 and 62 (platen color and area recognition color) all become L level, and the brightness data V from the adding circuit 57 is directly selected. It is output via circuits 64 and 65.
At this time, since the brightness data V is not "0", the main color flag MCF becomes H level, and since the output of the matching circuit 59 is L level, the sub color flag SCF becomes L level (the main color flag in FIG. 16). See area Em).
In a sub-color area (for example, red) on the original, the output (SCF) of the matching circuit 59 becomes H level, and the color density data Dc from the lookup table 58 is selected by the selection circuit.
Output from 65. At this time, the output of the selection circuit 64 is “0”
, The main color flag MCF goes low, and the output of the matching circuit 59 is high, so that the sub color flag SCF goes high (see the sub-color area Es in FIG. 16). In the background area of the original image (density “0”), the outputs of all of the coincidence circuits 59, 61, and 62 are at L level. The data is output as "0" data, and both the main color flag MCF and the sub color flag SCF are at the L level (see the background area En in FIG. 16). Further, on the document pressing surface area (for example, yellow) of the platen cover 14 or on the mark for specifying the area, one of the coincidence circuits 61 and 62 becomes H level, and the output of the selection circuit 64 maintains “0”. This "0" data is further output via the selection circuit 65. That is, the density is deleted in these areas.

また、第12図において、68は原稿/領域検知制御回路
で、上記プラテン色、領域認識色に係る一致回路61,62
の判定出力が入力する他、後述するように上記走査部が
正規の読取り動作を開始する前に逆方向から走査を行な
う時にCPU(図示略)から出力される反副走査信号(BSC
AN)と、前述したプラテンカバー14の開閉判別信号(PL
TINT)及び後述する原稿検知機能と領域検知機能のいず
れかの機能を選択するかのモード切換信号が入力してい
る。そして、この原稿/領域検知制御回路68は、原稿検
知機能(モード切換信号Lレベル)において、プラテン
カバー14が閉鎖状態となって走査部が反副走査(BSCA
N)を行なう際に、上記一致回路61の判定出力がなされ
たときにHレベルとなる原稿/領域フラグを出力する一
方、領域検知機能(モード切換信号Hレベル)におい
て、領域検知モードのフラグを立上げてアンドゲート63
を介して選択回路64の選択信号(SEL)として供給する
と共に、走査部が反副走査を行なう際に、上記一致回路
62の判定出力がなされたときに原稿/領域フラグを立上
げるようなっている。そして、原稿/領域検知制御回路
68からの原稿/領域フラグ出力が選択回路65の選択信号
(SEL)となる。選択回路67は最大値(+V:FFH)と前段
の選択回路65からの出力濃度データとを切換える機能を
有しており、選択信号がHレベルのときに最大値を選択
し、同信号がLレベルのときに前段の選択回路65からの
出力濃度データをそのまま出力する。そして、この選択
回路67の出力が最終的な濃度データDとして後段に転送
される。
In FIG. 12, reference numeral 68 denotes a document / area detection control circuit, which is a matching circuit 61, 62 for the platen color and the area recognition color.
In addition to the input of the judgment output of (BSC), as will be described later, an anti-sub-scanning signal (BSC) output from a CPU (not shown) when the scanning unit scans in the reverse direction before starting the normal reading operation.
AN) and the open / close determination signal (PL
TINT) and a mode switching signal for selecting any one of a document detection function and an area detection function to be described later. In the original / area detection control circuit 68, in the original detection function (mode switching signal L level), the platen cover 14 is in the closed state, and the scanning unit performs anti-sub scanning (BSCA).
In performing N), the document / area flag which becomes H level when the determination output of the matching circuit 61 is output is output, while the area detection mode flag (mode switching signal H level) is used to set the area detection mode flag. Start up and gate 63
As a selection signal (SEL) of the selection circuit 64 via the scanning circuit.
The document / area flag is raised when the judgment output of 62 is made. And a document / area detection control circuit
The document / area flag output from 68 becomes the selection signal (SEL) of the selection circuit 65. The selection circuit 67 has a function of switching between the maximum value (+ V: FFH) and the output density data from the selection circuit 65 at the preceding stage. When the selection signal is at the H level, the maximum value is selected. When the level is at the level, the output density data from the selection circuit 65 at the preceding stage is output as it is. Then, the output of the selection circuit 67 is transferred to the subsequent stage as final density data D.

上記選択回路67に入力している最大値(+V:FFH)は
最大濃度(FFH=255階調)であり、プラテンカバー14の
開放状態における原稿以外の背景部分の濃度(反射
“0")に対応した濃度となる。即ち、上記原稿/領域フ
ラグ作成回路68及び選択回路67の機能にて本発明の具体
的な構成要件となる濃度変換手段が具体化される。
The maximum value (+ V: FFH) input to the selection circuit 67 is the maximum density (FFH = 255 gradations), and is the density (reflection “0”) of the background portion other than the original when the platen cover 14 is open. The corresponding concentration is obtained. That is, the functions of the original / area flag creating circuit 68 and the selecting circuit 67 realize the density converting means which is a specific component of the present invention.

なお、上記各演算回路はタイミング制御回路(図示
略)の制御下において画素単位に同期がとられて駆動し
ており、濃度データD及びカラーフラグ(MSF,SMF)は
同一画素の対となるデータとして後段に転送される。
Each of the arithmetic circuits is driven synchronously on a pixel-by-pixel basis under the control of a timing control circuit (not shown), and the density data D and the color flags (MSF, SMF) are data of the same pixel pair. Is transferred to the subsequent stage.

IV.原稿検知部 この原稿検知部にて、本発明の構成要件たる第一の原
稿エッジ検出手段、第2の原稿エッジ検出手段、原稿領
域特定手段が具体化され、第2の原稿エッジ検出手段
は、特に第一の原稿エッジ検出手段との共用化部分が具
体化されている。
IV. Original Document Detecting Unit In this original document detecting unit, a first original document edge detecting unit, a second original document edge detecting unit, and an original region specifying unit which are constituent elements of the present invention are embodied. In particular, a portion shared with the first document edge detecting means is embodied.

第17図は原稿検知回路の基本構成を示しており、この
原稿検知回路は第4図における編集・加工回路100内に
構成されるもので、CPU等からの各種の信号が供給され
ると共に、上述した色画情報生成回路50からの濃度デー
タDが補正・フィルタ回路70を介して供給されている。
FIG. 17 shows a basic configuration of a document detection circuit. The document detection circuit is configured in the editing / processing circuit 100 in FIG. 4, and is supplied with various signals from a CPU or the like. The density data D from the color image information generation circuit 50 described above is supplied via a correction / filter circuit 70.

第17図において、71はデータ制御回路であり、このデ
ータ制御回路71はラインメモリを備え、画素単位に供給
される濃度データDを主走査方向の読取りタイミングに
同期してラインメモリに書込み、また、次のラインにつ
いて同様に主走査方向の読取りタイミングに同期してラ
インメモリ内の濃度データDを各画素毎に読出すように
なっている。そして、データ制御回路71から上記濃度デ
ータDの書込み時にその書込みデータ(Write Data)及
び書込みアドレス(Write ADD)が出力され、上記濃度
データDの読出し時にその読出しデータ(Read Data)
及び読出しアドレス(Read ADD)が出力される。
In FIG. 17, reference numeral 71 denotes a data control circuit. The data control circuit 71 includes a line memory, and writes density data D supplied to each pixel into the line memory in synchronization with a read timing in the main scanning direction. Similarly, for the next line, the density data D in the line memory is read for each pixel in synchronization with the reading timing in the main scanning direction. When the density data D is written, the write data (Write Data) and the write address (Write ADD) are output from the data control circuit 71. When the density data D is read, the read data (Read Data) is read.
And a read address (Read ADD).

一方、プラテン12上には第18図に示すように主走査に
沿った方向がY方向、副走査に沿った方向、特に正規の
原稿読取り時の方向Sとは逆の方向Sb(反副走査方向、
BSCAN方向)がX方向となるX−Y座標系が設定されて
いる。なお、このX−Y座標系はプラテン12上で任意に
設定できるもので、例えば、X方向は副走査に沿った方
向でも上記とは逆に特に正規の原稿読取り時の方向Sと
同方向に設定してもよいし、Y方向についてもまた、主
走査に沿った方向でも上記とは逆に正規の原稿読取り時
の方向とは逆の方向に設定してもよい。
On the other hand, as shown in FIG. 18, the direction along the main scanning is the Y direction on the platen 12, the direction along the sub-scanning, and particularly the direction Sb (the reverse direction,
An XY coordinate system in which the X direction is the BS direction) is set. The XY coordinate system can be arbitrarily set on the platen 12. For example, the X direction is the same as the direction S when reading a regular original, even in the direction along the sub-scanning, contrary to the above. The direction may be set, and the Y direction may be set in a direction along the main scanning, which is opposite to the direction at the time of reading a normal document.

更に第17図において、72はY検出回路であり、このY
検出回路72は、第18図に示すようにプラテン12上に載置
された原稿13のY方向についての原稿エッジ位置の最小
値Ymin及び最大値Ymaxを演算する機能を有し、各機能を
実現するYmin検出回路72aとYmax検出回路72bとを備えて
いる。Ymin検出回路72aはデータ制御回路71から供され
る書込み濃度データD(Write Data)に基づいて原稿エ
ッジ部であることを検出し、そのエッジ部に対応した濃
度データDの書込みアドレス(Write ADD)にてエッジ
位置を特定している。また、Ymax検出回路72bはデータ
制御回路71から供される読出し濃度データD(Read Dat
a)に基づいて原稿エッジ部であることを検出し、その
エッジ部に対応した濃度データDの読出しアドレスに
(Read ADD)に基づいて原稿エッジ部を特定している。
74はX検出回路であり、このX検出回路74は、プラテン
12上に載置された原稿13のX方向についての原稿エッジ
位置の最小値Xmin及び最大値Xmaxを演算する機能を有し
ている。そして、X検出回路74は上記Y検出回路74での
始めての原稿エッジ検出にてX方向の最小原稿エッジ位
置であること及び同最後の原稿エッジにてX方向の最大
原稿エッジ位置であることを夫々検出し、そのエッジ部
に対応した走査部駆動用のパルスモータの駆動パルス
(Motor Clock)数に基づいて原稿エッジ位置の最小及
び最大値を特定している。
Further, in FIG. 17, reference numeral 72 denotes a Y detection circuit.
The detection circuit 72 has a function of calculating the minimum value Ymin and the maximum value Ymax of the document edge position in the Y direction of the document 13 placed on the platen 12 as shown in FIG. And a Ymin detection circuit 72a and a Ymax detection circuit 72b. The Ymin detection circuit 72a detects that the document is an original edge based on the write density data D (Write Data) supplied from the data control circuit 71, and writes the write address (Write ADD) of the density data D corresponding to the edge. Indicates the edge position. The Ymax detection circuit 72b outputs the read density data D (Read Dat
The edge of the document is detected based on a), and the edge of the document is specified based on the read address (Read ADD) of the density data D corresponding to the edge.
74 is an X detection circuit.
It has a function of calculating the minimum value Xmin and the maximum value Xmax of the document edge position in the X direction of the document 13 placed on the document 12. The X detection circuit 74 determines that the first document edge detection by the Y detection circuit 74 is the minimum document edge position in the X direction and that the last document edge is the maximum document edge position in the X direction. Each of them is detected, and the minimum and maximum values of the document edge position are specified based on the number of drive pulses (Motor Clock) of the pulse motor for driving the scanning unit corresponding to the edge portion.

76は信号制御回路であり、この信号制御回路76はCPU
等からの各種信号、例えば、画素単位の読取りタイミン
グを規定するビデオクロック信号(V.Clock)、有効な
主走査のタイミングを規定するビデオバリッド信号(V.
VAD)、走査部が原稿レジストレーション位置に達した
ことを検出するレジセンサからの当該検出信号に基づい
たレジ位置信号(Regi Sens)、走査部駆動用のパルス
モータの駆動パルス信号(Motor CLOCK)、原稿検知機
能と領域検知機能(本来の原稿検知機能に対する付加機
能として後述する)のモード指定を行なうモード切換信
号等が入力し、各信号のタイミングをとりつつ必要に応
じて上記Y検出回路72とX検出回路74に振分けている。
76 is a signal control circuit.
And the like, for example, a video clock signal (V.Clock) that specifies a pixel-unit read timing, and a video valid signal (V.Clock) that specifies an effective main scanning timing.
VAD), a registration position signal (Regi Sens) based on the detection signal from the registration sensor that detects that the scanning unit has reached the document registration position, a driving pulse signal (Motor CLOCK) of a pulse motor for driving the scanning unit, A mode switching signal or the like for designating a mode of a document detection function and an area detection function (to be described later as an additional function to the original document detection function) is input. It is distributed to the X detection circuit 74.

この原稿検知回路では、第18図に示すように、プラテ
ン12上での原稿13の位置をY方向について原稿エッジ位
置の最小値Ymin、最大値Ymaxにて特定し、X方向につい
て原稿エッジ位置の最小値Xmin、最大値Xmaxにて特定し
ていることから、実際に画像処理装置内で認識される画
像処理対象の原稿領域は原稿13に外接する四角形領域E
(第18図における二点鎖線)となる。
In this document detection circuit, as shown in FIG. 18, the position of the document 13 on the platen 12 is specified by the minimum value Ymin and the maximum value Ymax of the document edge position in the Y direction, and the position of the document edge position in the X direction is specified. Since the document area is specified by the minimum value Xmin and the maximum value Xmax, the document processing target document area actually recognized in the image processing apparatus is a rectangular area E circumscribing the document 13.
(Two-dot chain line in FIG. 18).

上記Ymin検出回路72の具体的な構成は例えば第19図に
示すようになっている。
The specific configuration of the Ymin detection circuit 72 is, for example, as shown in FIG.

同図において、81は基準値設定器であり、この基準値
設定器81には原稿濃度と背景濃度との間の所定濃度、例
えば最大256階調(8ビット)表現の場合、例えば中間
の階調“128"が基準値として設定される。この基準値は
想定される原稿濃度より大きな濃度値となる。82は上記
基準値設定器81からの基準値(Q入力)と前述したデー
タ制御回路71からの書込み濃度データD(P入力)とを
比較する比較回路であり、この比較回路82は上記入力の
関係がP>Qのときに判定出力がLレベルとなり、同関
係がP≦Qのときに判定出力がHレベルとなる。83はビ
デオクロック信号(V.Clock)を1/4に分周する1/4分周
器、85は例えば3段のシフトレジスタであり、このシフ
トレジスタ85は、モード切換信号にてゲートコントロー
ルされるイクスクルーシブオア(EOR)ゲート84を介し
た上記比較回路82の判定出力結果を1/4分周器83からの
信号に同期して順次シフトするようになっている。な
お、モード切換信号は、原稿検知機能が選択された場合
には“Lレベル”、領域検知機能が選択された場合には
“Hレベル”の状態となる。シフトレジスタ85の各段の
出力がナンド回路86に入力し、このナンド回路68出力が
後に詳述するような原稿検出信号Xdataとなっている。
このナンド回路86の出力、即ち、原稿検出信号Xdataは
シフトレジスタ85のD入力が1/4分周器83からの1/4クロ
ックで3クロック分連続してHレベルとなるとき(原稿
検知モードで比較回路82入力がP≦Qとなるとき、領域
検知モードで同入力がP>Qとなるとき)にアクティブ
な状態(Lレベル)となる。
In the figure, reference numeral 81 denotes a reference value setting device. The reference value setting device 81 has a predetermined density between the document density and the background density, for example, in the case of expressing 256 gradations (8 bits) at the maximum, for example, an intermediate floor. The key “128” is set as the reference value. This reference value is a density value larger than the assumed document density. A comparison circuit 82 compares the reference value (Q input) from the reference value setting device 81 with the write density data D (P input) from the data control circuit 71 described above. When the relationship is P> Q, the judgment output becomes L level, and when the relationship is P ≦ Q, the judgment output becomes H level. 83 is a 1/4 frequency divider for dividing the video clock signal (V.Clock) by 1/4, and 85 is, for example, a three-stage shift register. The shift register 85 is gate-controlled by a mode switching signal. The determination output result of the comparison circuit 82 via an exclusive OR (EOR) gate 84 is sequentially shifted in synchronization with a signal from the 1/4 frequency divider 83. The mode switching signal is at "L level" when the document detection function is selected, and at "H level" when the area detection function is selected. The output of each stage of the shift register 85 is input to a NAND circuit 86, and the output of the NAND circuit 68 is a document detection signal Xdata, which will be described in detail later.
The output of the NAND circuit 86, that is, the document detection signal Xdata, is when the D input of the shift register 85 is at the H level for three consecutive clocks of 1/4 clock from the 1/4 frequency divider 83 (document detection mode When the input of the comparison circuit 82 satisfies P ≦ Q, the input becomes P> Q in the area detection mode), and becomes active (L level).

88は予め設定した初期データYin(Do入力)と前述し
たデータ制御回路71からの書込みアドレス(D1入力)と
を選択的に出力するマルチプレクサであり、上記ナンド
回路86からの原稿検出信号Xdataがインバータ87を介し
てマルチプレクス88の選択信号Sになっている。このマ
ルチプレクサ88は選択信号がLレベルのときにDoを、同
選択信号がHレベルのときにD1を夫々選択的に出力する
ようになっている。89はマルチプレクサ88を介したデー
タをラッチするラッチ回路、90はラッチ回路89のラッチ
データ(P入力)とマルチプレクサ88からのデータ(Q
入力)とを比較し、P>QのときにHレベルとなる判別
出力を行なう比較回路であり、この比較回路90からの判
別出力が上記ラッチ回路89のラッチ信号(T)になって
いる。91はラッチ回路で、このラッチ回路91は上記ラッ
チ回路89に順次ラッチされるデータをレジ位置信号(Re
gi Sens)の立上がりで最終的にラッチしており、その
ラッチデータがY方向の最小原稿エッジ位置Yminにな
る。
Reference numeral 88 denotes a multiplexer for selectively outputting preset initial data Yin (Do input) and the write address (D1 input) from the data control circuit 71 described above. The original detection signal Xdata from the NAND circuit 86 is connected to an inverter. A selection signal S for the multiplex 88 is provided via the signal 87. The multiplexer 88 selectively outputs Do when the selection signal is at the L level and D1 when the selection signal is at the H level. Reference numeral 89 denotes a latch circuit for latching data via the multiplexer 88, and reference numeral 90 denotes latch data (P input) of the latch circuit 89 and data (Q
), And outputs a determination output that becomes H level when P> Q. The determination output from the comparison circuit 90 is a latch signal (T) of the latch circuit 89. Reference numeral 91 denotes a latch circuit. The latch circuit 91 transmits data sequentially latched by the latch circuit 89 to a registration position signal (Re).
gi Sens) is finally latched, and the latched data becomes the minimum document edge position Ymin in the Y direction.

また、92はビデオバリッド信号(V.VAD)をカウント
アップし、例えば、15カウント目にキャリ信号を出力す
るカウンタ、93はカウンタ92からのキャリ信号の立上り
にてセットされるフリップフロップであり、このフリッ
プフロップ93の二系統の出力Q,が夫々反副走査(バッ
クスキャン)のタイミング信号となっている(Q:BSCAN1
H,:BSCAN2L)そして、上記マルチプレクサ88、ラッチ
回路89,91、比較回路90は反副走査のタイミング信号が
アクティブとなるときに夫々有効となる。これは、反副
走査(バックスキャン)を開始してから、例えば、15ラ
イン分の読取りデータは各種補正処理の関係から当該原
稿検知処理において無視するためである。
Reference numeral 92 denotes a counter that counts up a video valid signal (V.VAD) and outputs, for example, a carry signal at the 15th count. Reference numeral 93 denotes a flip-flop that is set when the carry signal from the counter 92 rises. The outputs Q of the two systems of the flip-flop 93 are timing signals for anti-sub-scanning (back scan), respectively (Q: BSCAN1
H,: BSCAN2L) The multiplexer 88, the latch circuits 89, 91, and the comparison circuit 90 are each enabled when the anti-sub-scanning timing signal becomes active. This is because, for example, 15 lines of read data are ignored in the original detection process due to various correction processes after the start of the anti-sub-scan (back scan).

Ymax検出回路の具体的な構成は例えば第20図に示すよ
うになっている。
The specific configuration of the Ymax detection circuit is, for example, as shown in FIG.

この回路構成は、上述したYmin検出回路と同様に、基
準値設定器81、比較回路82、1/4分周器83、EORゲート8
4、シフトレジスタ85を備えると共に、ナンド回路86、
インバータ87、更に反副走査のタイミング信号がアクテ
ィブとなるときに有効となるマルチプレクサ88、ラッチ
回路89,91、比較回路90を備えたものとなっている。た
だし、上記比較回路82は、データ制御回路71からの書込
みデータ(Write Data)の代りに読出しデータ(Read D
ata)と基準値との比較を行ない、マルチプレクサ88は
データ制御回路71からの書込みアドレス(Write ADD)
の代りに読出しアドレス(Read ADD)と初期データYin
との選択切換えを行なっている。また、比較回路90は、
上記Ymin検出回路の場合と入力関係が逆になっており、
マルチプレクサ88からのデータがP入力、ラッチ回路89
のラッチデータがQ入力となって、P>Qの状態にて比
較判別出力を立上げるようになっている。そして、最終
段のラッチ回路91のラッチデータが最大原稿エッジ位置
Ymaxになる。
This circuit configuration includes a reference value setting unit 81, a comparison circuit 82, a 1/4 frequency divider 83, and an EOR gate 8 similarly to the above-described Ymin detection circuit.
4, equipped with a shift register 85, a NAND circuit 86,
An inverter 87, a multiplexer 88 which is effective when an anti-sub-scanning timing signal becomes active, latch circuits 89 and 91, and a comparison circuit 90 are provided. However, the comparison circuit 82 reads out the read data (Read D) instead of the write data (Write Data) from the data control circuit 71.
ata) is compared with the reference value, and the multiplexer 88 outputs the write address (Write ADD) from the data control circuit 71.
Instead of the read address (Read ADD) and the initial data Yin
Is switched. Also, the comparison circuit 90
The input relationship is reversed with the case of the above Ymin detection circuit,
The data from the multiplexer 88 is P input, and the latch circuit 89
Becomes the Q input, and the comparison determination output rises when P> Q. Then, the latch data of the last-stage latch circuit 91 is set to the maximum document edge position.
It becomes Ymax.

更に、X検出回路の具体的な構成は例えば、第21図に
示すようになっている。
Further, a specific configuration of the X detection circuit is, for example, as shown in FIG.

同図において、101は走査部の駆動用パルスモータの
駆動パルス(Motor Clock)をカウントするカウンタ、1
02は上記Y検出回路からの原稿検出信号Xdataの立上り
にてセットされるフリップフロップ、103はフリップフ
ロップ102のセットにより上記カウンタ101のカウント値
をラッチするラッチ回路、104は上記原稿検出信号Xdata
の立上り毎にカウンタ101のカウント値をラッチするラ
ッチ回路である。また、105は上記ラッチ回路103にラッ
チされたカウント値をレジ位置信号(Regi Sens)の立
上りにて再度ラッチするラッチ回路、106は上記ラッチ
回路104にラッチされたカウント値を同レジ位置信号(R
egi Sens)の立上りにて再度ラッチするラッチ回路であ
り、このラッチ回路105に最終的にラッチされたカウン
ト値がX方向の最小原稿エッジ位置Xmin、ラッチ回路10
6に最終的にラッチされるたカウント値がX方向の最大
原稿エッジ位置Xmaxになる。
In the figure, reference numeral 101 denotes a counter for counting a driving pulse (Motor Clock) of a pulse motor for driving a scanning unit;
02 is a flip-flop that is set at the rising edge of the document detection signal Xdata from the Y detection circuit, 103 is a latch circuit that latches the count value of the counter 101 by setting the flip-flop 102, and 104 is the document detection signal Xdata
Is a latch circuit that latches the count value of the counter 101 every time the signal rises. A latch circuit 105 latches the count value latched by the latch circuit 103 again at the rise of the registration position signal (Regi Sens), and a latch circuit 106 stores the count value latched by the latch circuit 104 in the same registration position signal (Regi Sens). R
The count value finally latched by the latch circuit 105 is the minimum document edge position Xmin in the X direction and the latch circuit 10
The count value finally latched at 6 becomes the maximum document edge position Xmax in the X direction.

次に、原稿エッジ位置の検出動作を具体的に説明す
る。
Next, the operation of detecting the document edge position will be specifically described.

なお、走査系等の条件は例えば次のように想定する。 The conditions of the scanning system and the like are assumed as follows, for example.

最大走査領域:296.7×434(mm) 反副走査速度(バックスキャン速度):通常の副走査速
度のk倍(例えば4倍) 走査密度:15.748ドット/mm まず、当該画像処理装置の電源を投入すると、光源1
5、イメージセンサ10、各種光学部品にて構成される走
査部は、正規の原稿走査開始前の待機位置(ホームポジ
ション)からプラテン12の逆側端部の所定位置(バック
スキャン待機位置)まで移動し、その位置で待機する。
このとき、走査部の駆動制御系は、走査部の位置をレジ
センサ出力時からの駆動用パルスモータに対する駆動パ
ルスのクロック数にて認識しており、予め定めた待機位
置(バックスキャン待機位置)に対応したクロック数ま
で移動制御を行なう。
Maximum scanning area: 296.7 × 434 (mm) Anti-sub-scanning speed (back scan speed): k times (for example, 4 times) the normal sub-scanning speed Scan density: 15.748 dots / mm First, turn on the power of the image processing apparatus. Then, light source 1
5. The scanning unit composed of the image sensor 10 and various optical components moves from a standby position (home position) before the start of regular document scanning to a predetermined position at the opposite end of the platen 12 (back scan standby position). And wait at that position.
At this time, the drive control system of the scanning unit recognizes the position of the scanning unit by the number of clock pulses of the driving pulse to the driving pulse motor from the time of output of the registration sensor, and moves to a predetermined standby position (back scan standby position). Movement control is performed up to the corresponding clock number.

上記のように走査部がバックスキャン待機位置にて待
機した状態で、オペレータが原稿13をプラテン12上の任
意の位置にセットし、プラテンカバー14を閉鎖状態にし
てスタート操作を行なうと、走査部がバックスキャン待
機位置から通常の読取り走査とは逆方向(第18図におけ
る方向Sb:反副走査方向)に移動して原稿走査を開始す
る。このとき、第2図に示すプラテン開閉判別回路はプ
ラテンカバー14の閉鎖状態を判別してその出力(PLTIN
T)がLレベルとなった状態にあり、この状態にて反副
走査信号(BSCAN)が立上がる。そして、この逆方向か
らの原稿走査の過程で、第11図、第12図に具体的な構成
を示す色画情報生成回路50からは各画素単位に濃度デー
タDが出力されるが、特に、プラテンカバー14の原稿押
え面の色(プラテン色)の画素については第12図におけ
る原稿/領域検知制御回路68からの原稿/領域フラグが
立上がった状態となって実際の読取り濃度に係わらず最
大値255の濃度データDが出力される。
When the operator sets the document 13 at an arbitrary position on the platen 12 with the scanning unit waiting at the back scan standby position as described above, and performs a start operation with the platen cover 14 closed, the scanning unit Moves from the back scan standby position in the direction opposite to the normal scanning (direction Sb in FIG. 18: anti-sub-scanning direction) to start document scanning. At this time, the platen open / close determination circuit shown in FIG. 2 determines the closed state of the platen cover 14 and outputs its output (PLTIN
T) is at the L level, and the anti-sub-scanning signal (BSCAN) rises in this state. In the process of scanning the document from the opposite direction, the density data D is output for each pixel from the color image information generation circuit 50 having a specific configuration shown in FIGS. 11 and 12. Regarding the pixel of the color of the original pressing surface (platen color) of the platen cover 14, the original / area flag from the original / area detection control circuit 68 in FIG. The density data D having a value of 255 is output.

1ラインの走査(主走査)の過程で色画情報生成回路
50から出力される濃度データDはデータ制御回路71に順
次入力し、ラインメモリに順次格納され、このラインメ
モリに濃度データDを書込む際に、書込みデータ(Writ
e Data)とそれと対になる同アドレス(Write ADD)がY
min検出回路72aに供給される。ここで、データ制御回路
71内のラインメモリはプラテン12の走査領域幅296.7(m
m)に対応した画素分の容量を備えており、記録密度が1
5.748ドット/mmの本実施例では、1主走査ラインが296.
7×15.748=4672ドットとなって、対応するアドレスカ
ウンタは0〜4672までのアップカウントを行なう。そし
て、各アドレス値がそのまま当該X−Y座標系でのY座
標データとなる。
Color image information generation circuit in the process of scanning one line (main scanning)
The density data D output from 50 is sequentially input to a data control circuit 71 and sequentially stored in a line memory. When writing the density data D into this line memory, the write data (Writ
e Data) and its corresponding address (Write ADD) are Y
It is supplied to the min detection circuit 72a. Where the data control circuit
The line memory in 71 is the scanning area width 296.7 (m
m), and has a capacity for pixels corresponding to
In this embodiment of 5.748 dots / mm, one main scanning line has 296.
7 × 15.748 = 4672 dots, and the corresponding address counter counts up from 0 to 4672. Then, each address value becomes Y coordinate data in the XY coordinate system as it is.

上記1ラインの走査が終了して次のライン(通常の走
査速度のk=4倍の速度での走査であることから実際に
はk=4ライン後)の走査を行なう過程では、データ制
御回路71は色画情報生成回路50からの濃度データDの入
力を行なわず、前ライン走査にてラインメモリに書込ん
だ濃度データDを読出し、この読出しデータ(Read Dat
a)とそれと対になる同アドレス(Read ADD)とを順次Y
max検出回路72bに供給する。このとき、ラインメモリの
読出しは書込みとは逆方向(反主走査方向)に行なわ
れ、対応するアドレスカウンタは4672〜0までのダウン
カウントを行なう。以後、同様に1ラインについて主走
査方向に順次書込みデータとそのアドレスがYmin検出回
路72aに供給され、反主走査方向に順次読出しデータと
そのアドレスがYmax検出回路72bに供給される。即ち、
1ラインについて主走査方向から最小原稿エッジ位置Ym
inの検出、反主走査方向から最大原稿エッジ位置Ymaxの
検出が行なわれ、それと同様の処理が1読取りラインお
きに行なわれる。
In the process of completing the scanning of one line and scanning the next line (actually after k = 4 lines since the scanning is at k = 4 times the normal scanning speed), the data control circuit Reference numeral 71 does not input the density data D from the color image information generating circuit 50, reads the density data D written in the line memory in the previous line scan, and reads the read data (Read Data).
a) and its companion address (Read ADD) are sequentially Y
It is supplied to the max detection circuit 72b. At this time, reading from the line memory is performed in the direction opposite to the writing (in the opposite main scanning direction), and the corresponding address counter performs down-counting from 4672 to 072. Thereafter, similarly, for one line, the write data and its address are sequentially supplied to the Ymin detection circuit 72a in the main scanning direction, and the read data and its address are sequentially supplied to the Ymax detection circuit 72b in the anti-main scanning direction. That is,
Minimum original edge position Ym from main scanning direction for one line
The detection of in and the detection of the maximum document edge position Ymax from the anti-main scanning direction are performed, and the same processing is performed every other reading line.

上記のようにデータ制御回路71から書込みデータ(Wr
ite Data)とそのアドレス(Write ADD)が供給されるY
min検出回路72aでは、まず、マルチプレクサ88(第19図
参照)に対する初期値Yin入力(Do)が最大アドレス値
“4672"にセットされる。この状態において、上記各ラ
イン0ドットから4672ドットまでの主走査の過程で、そ
の走査が原稿13部分に達しない場合、即ち、プラテンカ
バー14の原稿押え面を走査している間は、データ制御回
路71からの書込みデータ(Write Data)は最大濃度値25
5となって比較回路82の出力はLレベルを維持する(P
>Q)。その結果、ラッチ回路89にはマルチプレクサ88
からの初期値Yin=“4672"がラッチされた状態となる。
ここで、走査が原稿13部分に達すると(原稿エッジ)、
上記書込みデータDが原稿13濃度(白濃度に近い)に対
応した値となり、基準値128以下になって(P≦Q)比
較回路82の出力が第22図に示すように立上がり、この状
態が1/4クロックで3クロック分継続するとナンド回路8
6出力が立下がる。即ち、基準値以下となる原稿濃度に
対応した画素が0.75mm分(1/4クロックで3クロック分:
12画素分)連続したときに真の原稿エッジあることを認
識している。このためプラテンカバー14の原稿押え面上
に付着した反射率の高いホコリあるいは信号ノイズ等に
起因して一時的に比較回路82の出力が立上ってもナンド
回路86はHレベルを維持することから、第23図に示すよ
うに一時的な比較回路82の立上りについては誤ったデー
タとして原稿エッジであることの認識はなされない。な
お、ナンド回路86の出力は原稿部分を示す信号Xdata
(Lレベルのとき原稿部分)としてX検出回路74に供給
されている。
As described above, the write data (Wr
ite Data) and its address (Write ADD) are supplied Y
In the min detection circuit 72a, first, the initial value Yin input (Do) to the multiplexer 88 (see FIG. 19) is set to the maximum address value "4672". In this state, if the scanning does not reach the document 13 in the main scanning process from the 0 dot to 4672 dots of each line, that is, while the document pressing surface of the platen cover 14 is being scanned, the data control is performed. The write data from the circuit 71 has a maximum density value of 25.
5, and the output of the comparison circuit 82 maintains the L level (P
> Q). As a result, the multiplexer 88 is provided in the latch circuit 89.
, The initial value Yin = “4672” is latched.
Here, when the scanning reaches the document 13 (document edge),
The write data D becomes a value corresponding to the density of the original 13 (close to white density), becomes less than the reference value 128 (P ≦ Q), and the output of the comparison circuit 82 rises as shown in FIG. NAND circuit 8 when 1/4 clock continues for 3 clocks 8
6 Output falls. That is, a pixel corresponding to a document density equal to or less than the reference value is 0.75 mm (1/4 clock for 3 clocks:
It recognizes that there is a true document edge when continuous (12 pixels). Therefore, even if the output of the comparison circuit 82 rises temporarily due to dust or signal noise having a high reflectance adhered to the original pressing surface of the platen cover 14, the NAND circuit 86 must maintain the H level. Therefore, as shown in FIG. 23, the rising edge of the temporary comparison circuit 82 is not recognized as erroneous data that is a document edge. The output of the NAND circuit 86 is a signal Xdata indicating the original portion.
It is supplied to the X detection circuit 74 as (original portion when L level).

上記のように原稿エッジの認識がなされると、マルチ
プレクサ88の選択信号入力が立上ってその時点での書込
みアドレス(Write ADD)出力に切換わる。この原稿エ
ッジ認識時のアドレス値は最大アドレス値“4672"より
小さいことから、比較回路90の出力が立上って(P>
Q)そのアドレス値が新たにラッチ回路89にラッチされ
る。そして、以後、同一ラインにおいては書込みアドレ
ス(Write ADD)がインクリメントされて順次大きくな
ること、また、原稿部分から外れてナンド回路86出力が
立上るとマルチプレクサ88の出力が最大アドレス値“46
72"に再度切換わることから、比較回路90の出力はLレ
ベルを維持してラッチ回路89の更新はなされない。即
ち、ラッチ回路89には当該ラインの主走査方向からみて
背景部から原稿部へ変る原稿エッジのY座標値(アドレ
ス値)が保存されたことになる。
When the document edge is recognized as described above, the selection signal input of the multiplexer 88 rises, and the output is switched to the write address (Write ADD) output at that time. Since the address value at the time of document edge recognition is smaller than the maximum address value "4672", the output of the comparison circuit 90 rises (P>
Q) The address value is newly latched by the latch circuit 89. Thereafter, in the same line, the write address (Write ADD) is incremented and sequentially increased, and when the output of the NAND circuit 86 rises outside the original portion, the output of the multiplexer 88 changes to the maximum address value "46".
72 ", the output of the comparison circuit 90 is maintained at the L level, and the latch circuit 89 is not updated. That is, the latch circuit 89 is provided with the background portion and the document portion as viewed from the main scanning direction of the line. This means that the Y coordinate value (address value) of the document edge that changes to is stored.

次にYmin検出回路72aの対象となるラインでは、ラッ
チ回路89に上記前の原稿エッジに対応したアドレス値が
ラッチされた状態で、主走査が当該ラインの原稿エッジ
に達するまでは、マルチプレクサ88出力が全ビット“1"
のアドレス値となってラッチ回路89の内容はそのまま保
存される。そして、主走査が当該ラインの原稿エッジ部
に達すると、ナンド回路86の出力が上記と同様に立下が
ってマルチプレクサ88からその時点でのアドレス値が出
力される。ここで、このアドレス値がラッチ回路89に既
にラッチされているアドレス値(前の読取りラインのも
の)より小さければ、比較回路90の判別出力が立上って
(P>Q)この新たなアドレス値がラッチ回路89にラッ
チされ内容の更新がなされる。以後このように対象とな
るライン毎に原稿エッジに対応したアドレス値のより小
さい値のものがラッチ回路89にラッチされ、走査範囲全
体の走査が終了してレジ位置信号(Regi Sens)が立上
った時点でラッチ回路89に保持されたアドレス値が次段
のラッチ回路91にラッチされ、そのアドレスデータが最
小原稿エッジ位置Yminデータとなって後段に転送され
る。
Next, in the line targeted by the Ymin detection circuit 72a, with the address value corresponding to the previous document edge latched by the latch circuit 89, the multiplexer 88 outputs until the main scan reaches the document edge of the line. Is all bits “1”
And the contents of the latch circuit 89 are stored as they are. When the main scanning reaches the document edge portion of the line, the output of the NAND circuit 86 falls in the same manner as described above, and the address value at that time is output from the multiplexer 88. Here, if this address value is smaller than the address value already latched by the latch circuit 89 (the one of the previous read line), the discrimination output of the comparison circuit 90 rises (P> Q) and this new address The value is latched by the latch circuit 89 and the contents are updated. Thereafter, the smaller one of the address values corresponding to the document edge for each target line is latched by the latch circuit 89, and the scanning of the entire scanning range is completed and the registration position signal (Regi Sens) rises. At this point, the address value held in the latch circuit 89 is latched by the next-stage latch circuit 91, and the address data is transferred to the subsequent stage as minimum document edge position Ymin data.

上記Ymin検出回路72aでの処理と交互にYmax検出回路7
2bでの処理が実行される。このYmax検出回路72bでは、
まず、マルチプレクサ88(第20図参照)に対する初期値
Yin入力(Do)が最小アドレス値“0"にセットされる。
この状態において、上記Ymin検出回路72aでの処理の際
にデータ制御回路71内のラインメモリに書込まれた濃度
データDが最終アドレス“4672"〜“0"の順、即ち、反
主走査方向の順に読出されて供給される。この過程で、
原稿13部分に達しない領域の画素については、データ制
御回路71からの読出しデータ(Read Data)が最大濃度
値255となって比較回路82の出力はLレベルを維持する
(P>Q)。その結果、ラッチ回路89にはマルチプレク
サ88からの初期値Yin=“0"がラッチされた状態とな
る。ここで、対象となる画素が原稿13部分に達すると
(原稿エッジ)、上記読出しデータD(read Data)が
原稿13濃度(白濃度に使い)に対応した値となり、基準
値128以下となって(P≦Q)比較回路82の出力が立上
がり(第22図参照)、この状態がYin検出の場合と同様1
/4クロックで3クロック分継続するとナンド回路86出力
が立下がり、原稿エッジを認識する。
The Ymax detection circuit 7 alternates with the processing in the Ymin detection circuit 72a.
The processing in 2b is executed. In this Ymax detection circuit 72b,
First, the initial values for multiplexer 88 (see FIG. 20)
The Yin input (Do) is set to the minimum address value “0”.
In this state, the density data D written in the line memory in the data control circuit 71 during the processing in the Ymin detection circuit 72a is in the order of the final addresses "4672" to "0", that is, in the anti-main scanning direction. , And supplied. In this process,
For pixels in an area that does not reach the portion of the document 13, the read data (Read Data) from the data control circuit 71 becomes the maximum density value 255, and the output of the comparison circuit 82 maintains the L level (P> Q). As a result, the latch circuit 89 is in a state where the initial value Yin = "0" from the multiplexer 88 is latched. Here, when the target pixel reaches the document 13 portion (document edge), the read data D (read Data) becomes a value corresponding to the document 13 density (used for white density) and becomes a reference value 128 or less. (P ≦ Q) The output of the comparison circuit 82 rises (see FIG. 22), and this state is 1 as in the case of Yin detection.
When ク ロ ッ ク clocks continue for three clocks, the output of the NAND circuit 86 falls to recognize the document edge.

このように反主走査方向からみて背景部から原稿部に
変化する原稿エッジの認識がなされると、マルチプレク
サ88の選択入力が立上ってその時点での読出しアドレス
(Read ADD)出力に切換わる。この原稿エッジ認識時の
アドレス値は最小アドレス値“0"より大きいことから、
比較回路90の出力が立上って(P>Q)そのアドレス値
が新たにラッチ回路89にラッチされる。そして、以後、
同一ラインにおいては読出しアドレス(Read ADD)がデ
ィクリメントして順次小さくなること、また、原稿部分
から外れてナンド回路86出力が立上がるとマルチプレク
サ88の出力が最小アドレス値“0"に再度切換わることか
ら、比較回路90の出力はLレベルを維持してラッチ回路
89の更新はなされない。即ち、ラッチ回路89には当該ラ
インの反主走査方向からみて背景部から原稿部へ変る原
稿エッジのY座標値(アドレス値)が保存されたことに
なる。
When the document edge changing from the background portion to the document portion in the anti-main scanning direction is recognized, the selection input of the multiplexer 88 rises, and the output is switched to the read address (Read ADD) output at that time. . Since the address value at the time of this document edge recognition is larger than the minimum address value “0”,
When the output of the comparison circuit 90 rises (P> Q), the address value is newly latched by the latch circuit 89. And after that,
In the same line, the read address (Read ADD) is decremented and sequentially decreased, and when the output of the NAND circuit 86 rises outside the original portion, the output of the multiplexer 88 switches again to the minimum address value "0". Therefore, the output of the comparison circuit 90 is maintained at L level and the latch circuit
89 updates will not be made. That is, the latch circuit 89 stores the Y coordinate value (address value) of the document edge that changes from the background portion to the document portion as viewed from the anti-main scanning direction of the line.

次にYmax検出回路72bの対象となるラインでは、ラッ
チ回路89に上記前の原稿エッジに対応したアドレス値が
ラッチされた状態で、反主走査方向へのメモリ読出しが
当該ラインの原稿エッジに達するまでは、マルチプレク
サ88出力が最小アドレス値“0"となってラッチ回路89の
内容はそのまま保持される。そして、読出しが当該ライ
ンの原稿エッジ部に達すると、ナンド回路86の出力が上
記と同様に立下がってマルチプレクサ88からその時点で
の読出しアドレス(Read ADD)が出力される。ここで、
このアドレス値がラッチ回路89に既にラッチされている
アドレス値より大きければ、比較回路90の判別出力が立
上って(P>Q)この新たなアドレス値がラッチ回路89
にラッチされ内容の更新がなされる。以後このように対
象となるライン毎に原稿エッジに対応したアドレス値の
より大きい値のものがラッチ回路89にラッチされ、走査
範囲全体の走査が終了してレジ位置信号(Regi Sens)
が立上った時点でラッチ回路89に保持されたアドレス値
が次段のラッチ回路91にラッチされ、このアドレスデー
タが最大原稿エッジ位置Ymaxデータとなって後段に転送
される。
Next, in the line targeted by the Ymax detection circuit 72b, in the state where the address value corresponding to the previous document edge is latched by the latch circuit 89, the memory read in the anti-main scanning direction reaches the document edge of the line. Until then, the output of the multiplexer 88 becomes the minimum address value “0” and the contents of the latch circuit 89 are held as it is. When the read reaches the document edge portion of the line, the output of the NAND circuit 86 falls in the same manner as described above, and the read address (Read ADD) at that time is output from the multiplexer 88. here,
If this address value is larger than the address value already latched in the latch circuit 89, the judgment output of the comparison circuit 90 rises (P> Q) and this new address value is stored in the latch circuit 89.
And the contents are updated. Thereafter, the larger address value corresponding to the document edge for each target line is latched by the latch circuit 89, and scanning of the entire scanning range is completed, and the registration position signal (Regi Sens)
When the signal rises, the address value held by the latch circuit 89 is latched by the next-stage latch circuit 91, and this address data is transferred to the subsequent stage as the maximum document edge position Ymax data.

以上のようにしてバックスキャン待機位置からの逆方
向の走査が終了するまでに最小原稿エッジ位置Yminと最
大原稿エッジ位置Ymaxが決定される(第18図参照)。こ
のY方向の原稿エッジ位置に関する処理と並行してX検
出回路74ではX方向の原稿エッジ位置に関する処理が行
なわれる。
As described above, the minimum document edge position Ymin and the maximum document edge position Ymax are determined before the scanning in the reverse direction from the back scan standby position ends (see FIG. 18). In parallel with the processing relating to the document edge position in the Y direction, the X detection circuit 74 performs processing relating to the document edge position in the X direction.

走査部の駆動用パルスモータに対する駆動パルス(Mo
tor Clock)がX検出回路74に入力しており、走査部が
バックスキャン待機位置から移動を開始し、反副走査の
タイミング信号(BSCAN1H)が立上がるとカウンタ101
(第21図参照)が入力する駆動パルスのカウントを開始
する。そして、上記Ymin検出回路72aにおいては、その
ナンド回路86の出力、即ち、原稿検出信号Xdataが各走
査ラインについて背景部分を走査している間Hレベルと
なる一方、原稿13部分を走査している間Lレベルに立下
がった状態となる。このような状態にあって、走査ライ
ンが初めて原稿部分に達して原稿検出信号Xdataが初め
てHレベルからLレベルに立上がるタイミングにてフリ
ップフロップ102が第24図に示すようにセットされる
(Hレベルに立上る)。このフリップフロップ102のセ
ット信号によりラッチ回路103がその時点でのカウンタ1
01でのカウント値をラッチする一方、フリップフロップ
102のセット信号となった上記原稿検出信号Xdataの立上
りにて同カウント値がラッチ回路104にラッチされる。
このように走査ラインが初めて原稿部分に達した以後
は、フリップフロップ102はセット状態を維持すること
からラッチ回路103のデータの更新は行なわれないが、
kライン毎に行なわれる主走査の各走査ラインにおいて
原稿検出信号Xdataが立上る毎にラッチ回路104はその時
点のカウント値を新たにラッチして内容を更新する。こ
のような処理を繰り返して走査範囲全体の走査が終了し
てレジ位置信号(Regi Sens)が立上った時点でラッチ
回路103に保存されたデータが次段のラッチ回路105にセ
ットされると共に、ラッチ回路104に保存されたデータ
が次段のラッチ回路106にセットされる。ここで、ラッ
チ回路105に保持されるデータは最初の原稿検出信号Xda
taの立上りタイミングでのカウント値、即ち、X方向の
最小原稿エッジ位置Xminであり、ラッチ回路106に保存
されたデータは最後の原稿検出信号Xdataの立上りタイ
ミングでのカウント値、即ち、X方向の最大原稿エッジ
位置Xmaxである(第24図参照)。そして、このラッチ回
路105に格納された最小原稿エッジ位置Xminデータとラ
ッチ回路106に格納された最大原稿エッジ位置Xmaxデー
タが対になって後段に転送される。
The drive pulse (Mo
tor Clock) is input to the X detection circuit 74, the scanning unit starts moving from the back scan standby position, and when the anti-sub-scanning timing signal (BSCAN1H) rises, the counter 101
(See FIG. 21). In the Ymin detection circuit 72a, the output of the NAND circuit 86, that is, the document detection signal Xdata is at the H level while the background portion is being scanned for each scanning line, while scanning the document 13 portion. During this time, the state falls to the L level. In such a state, the flip-flop 102 is set as shown in FIG. 24 at the timing when the scanning line first reaches the document portion and the document detection signal Xdata first rises from the H level to the L level (H Rise to the level). By the set signal of the flip-flop 102, the latch circuit 103 causes the current counter 1
Latch the count value at 01 while flip-flop
The count value is latched by the latch circuit 104 at the rise of the document detection signal Xdata which has become the set signal of 102.
After the scanning line reaches the document portion for the first time, the flip-flop 102 maintains the set state, so that the data of the latch circuit 103 is not updated.
Each time the document detection signal Xdata rises in each scanning line of the main scanning performed every k lines, the latch circuit 104 newly latches the count value at that time and updates the content. By repeating such processing, when the scanning of the entire scanning range is completed and the registration position signal (Regi Sens) rises, the data stored in the latch circuit 103 is set in the next-stage latch circuit 105 and Then, the data stored in the latch circuit 104 is set in the next-stage latch circuit 106. Here, the data held in the latch circuit 105 is the first original detection signal Xda
The count value at the rising timing of ta, that is, the minimum document edge position Xmin in the X direction, and the data stored in the latch circuit 106 is the count value at the rising timing of the last document detection signal Xdata, that is, the value in the X direction. This is the maximum document edge position Xmax (see FIG. 24). Then, the minimum document edge position Xmin data stored in the latch circuit 105 and the maximum document edge position Xmax data stored in the latch circuit 106 are paired and transferred to the subsequent stage.

上記のようにしてバックスキャン待機位置から逆方向
の走査により原稿13のプラテン上に設定したX−Y座標
系での最小原稿エッジ位置Ymin,Xminと最大原稿エッジ
位置Ymax,Xmaxが検出され、当該画像処理装置は第18図
に示すようにこの各エッジ位置で特定される矩形領域E
を原稿領域と認識する。そして、上記逆方向からの走査
に続いて開始される正規の読取り走査においては当該原
稿領域Eの画像情報のみを処理の対象とする(具体的に
は後述する)。
As described above, the minimum document edge position Ymin, Xmin and the maximum document edge position Ymax, Xmax in the XY coordinate system set on the platen of the document 13 by scanning in the reverse direction from the back scan standby position are detected. As shown in FIG. 18, the image processing device performs the rectangular area E specified at each edge position.
Is recognized as the document area. Then, in the normal reading scanning started after the scanning in the reverse direction, only the image information of the document area E is to be processed (specifically, described later).

上記処理はプラテンカバー14が閉鎖状態の場合である
が、例えば、本等の厚い原稿を処理の対象とした場合
等、プラテンカバー14が開放状態のときには第2図に示
すプラテン開閉判別回路の出力(PLTINT)がHレベル状
態になり、上記と同様のバックスキャン待機位置からの
逆方向の走査に際して(BSCAN)、色画情報生成回路50
における原稿/領域検知制御回路68からの原稿/領域フ
ラグは立下がった状態(Lレベル)を維持する(第12図
参照)。このため、選択回路67はB入力を選択すること
から、色画情報生成回路50からは、通常の場合と同様、
メインカラー(黒)領域では明度データVがそのまま濃
度データDとなって出力し、サブカラー領域では明度デ
ータVの補正により得られる色濃度データDcが濃度デー
タDとして出力される。そして、原稿13の背景部はプラ
テン14が無く、光源15からの光がそのままプラテン12を
透過してイメージセンサ10に対する入射光が遮断される
ことから、その部分では色画情報生成回路50から出力さ
れる濃度データDは最大値255になる。
The above processing is performed when the platen cover 14 is in the closed state. For example, when the platen cover 14 is in the open state, such as when a thick document such as a book is to be processed, the output of the platen open / close determination circuit shown in FIG. (PLTINT) goes to the H level state, and when scanning in the reverse direction from the back scan standby position similar to the above (BSCAN), the color image information generation circuit 50
The document / area flag from the document / area detection control circuit 68 in (1) maintains the falling state (L level) (see FIG. 12). For this reason, since the selection circuit 67 selects the B input, the color image information generation circuit 50 outputs the same as in the normal case.
In the main color (black) area, the brightness data V is output as the density data D as it is, and in the sub-color area, the color density data Dc obtained by correcting the brightness data V is output as the density data D. The background portion of the original 13 does not have the platen 14, and the light from the light source 15 passes through the platen 12 as it is and the light incident on the image sensor 10 is blocked, so that the color image information generation circuit 50 outputs The density data D obtained has a maximum value of 255.

このように原稿13の背景部から得られる濃度データD
が常に最大値255になることから、Y検出回路72及びX
検出回路74では上述した場合と同様にこの背景部の濃度
(255)と原稿13部分の濃度(白濃度に近い)との差、
即ち、比較回路82(第19図及び第20図参照)の出力変化
(LレベルからHレベル)に基づいて原稿エッジが検出
され、最小原稿エッジ位置Ymin,Xmin及び最大原稿エッ
ジ位置Ymax,Xmaxが後段に転送される。
Thus, the density data D obtained from the background portion of the original 13
Always has a maximum value of 255, the Y detection circuit 72 and X
The detection circuit 74 calculates the difference between the density (255) of the background portion and the density (close to white density) of the document 13 as in the case described above.
That is, the document edge is detected based on the output change (from the L level to the H level) of the comparison circuit 82 (see FIGS. 19 and 20), and the minimum document edge position Ymin, Xmin and the maximum document edge position Ymax, Xmax are determined. Transferred to the subsequent stage.

上述したように、プラテンカバー14が閉鎖状態となる
場合は、プラテンカバー14の原稿押え面の色を濃度情報
に変換してその濃度と原稿濃度との差に基づいて原稿検
知処理がなされる。即ち、プラテンカバー14の原稿押え
面の色と原稿の色との違いによってプラテン上での当該
原稿領域の特定がなされる。一方、プラテンカバー14が
開放状態となる場合は、原稿の背景部に対応した濃度情
報と原稿部に対応した濃度情報との差に基づいてプラテ
ン上での当該原稿領域の特定がなされる。
As described above, when the platen cover 14 is in the closed state, the color of the document pressing surface of the platen cover 14 is converted into density information, and a document detection process is performed based on the difference between the density and the document density. That is, the document area on the platen is specified by the difference between the color of the document pressing surface of the platen cover 14 and the color of the document. On the other hand, when the platen cover 14 is open, the document area on the platen is specified based on the difference between the density information corresponding to the background portion of the document and the density information corresponding to the document portion.

なお、当該画像処理装置では、上記原稿検知機能の
他、領域検知機能の実現も可能となっている。この領域
検知機能とは、原稿上に特定色(領域認識色)のマーカ
にて所定の領域を囲んだ場合にその囲んだ領域を特定す
る機能であり、画像処理装置においてはユーザの指令等
に従ってこの特定された領域を他の領域と区別して処理
する。
In the image processing apparatus, an area detection function can be realized in addition to the document detection function. This area detection function is a function of specifying a surrounding area when a predetermined area is surrounded by a marker of a specific color (area recognition color) on a document. The specified area is processed separately from the other areas.

この領域検知は、第25図に示すようにプラテン12上に
載置された原稿13内に領域認識色のマーカにて描かれた
閉ループCのエッジを検出するもので、上記原稿検知の
場合と同様に、プラテン12上に設定されたX−Y座標系
において、当該閉ループCの最小エッジ位置Ymin,Xmin
と最大エッジ位置Ymax,Xmaxにて認識領域Ecを特定する
ことになる。その具体的な処理は次のようになる。
This area detection is to detect the edge of the closed loop C drawn by the area recognition color marker in the document 13 placed on the platen 12 as shown in FIG. Similarly, in the XY coordinate system set on the platen 12, the minimum edge positions Ymin, Xmin
Then, the recognition area Ec is specified by the maximum edge positions Ymax and Xmax. The specific processing is as follows.

特定色(領域認識色)のマーカにより閉ループCが描
かれた原稿13をプラテン12上に載置して領域検知機能の
選択操作を行なう。すると、モード切換信号がHレベル
に切換わり、色画情報生成回路50における原稿/領域検
知制御回路68からの領域検知フラグが立上って選択回路
64出力が“0"に固定される(第12図参照)と共にY検出
回路72におけるEORゲート84が反転ゲートの状態となる
(第19図、第20図参照)。この状態で、原稿検知の場合
と同様にバックスキャン待機位置から逆方向に走査する
過程で、当該領域認識色の閉ループCに位置する読取り
画素については色画情報生成回路50における一致回路62
(第12図参照)の出力が立上がり、原稿/領域検知制御
回路68からの原稿/フラグが立上って選択回路67からの
濃度データDが最大濃度値255となる。また、この閉ル
ープ以外の読取り画素については“0"に固定された選択
回路64の出力がそのまま選択回路65,67を介して出力さ
れる。従って、この逆方向からの走査の過程で、各走査
ラインでは、例えば、第26図に示すように、実際の読取
り濃度が種々変化しても色画情報生成回路50から出力さ
れる濃度データDは閉ループC部分の画素については最
大値255、その他の画素については“0"となる。そし
て、このような状態の濃度データDがデータ制御制御回
路71を介してY検出回路72に入力すると、上記原稿検知
機能の場合と同様に、比較回路82の出力 が変化し(シフトレジスタ85に対する入力はその反転状
態となる)、その信号変化に基づいてY方向の最小及び
最大の閉ループエッジ位置Ymin,Ymax(アドレス値)が
求められる。また、X検出回路74においても上記原稿検
知機能の場合と同様、Y検出回路72からのXdata信号に
基づいてX方向の最小及び最大の閉ループエッジ位置Xm
in,Xmaxが求められる。
The document 13 on which the closed loop C is drawn by the marker of the specific color (area recognition color) is placed on the platen 12, and the selection operation of the area detection function is performed. Then, the mode switching signal is switched to the H level, and the area detection flag from the original / area detection control circuit 68 in the color image information generation circuit 50 rises to select the circuit.
The output 64 is fixed to "0" (see FIG. 12), and the EOR gate 84 in the Y detection circuit 72 becomes an inverting gate (see FIGS. 19 and 20). In this state, in the process of scanning in the reverse direction from the back scan standby position as in the case of document detection, for the read pixels located in the closed loop C of the area recognition color, the matching circuit 62 in the color image information generation circuit 50.
The output of (see FIG. 12) rises, the document / flag from the document / area detection control circuit 68 rises, and the density data D from the selection circuit 67 becomes the maximum density value 255. For the read pixels other than the closed loop, the output of the selection circuit 64 fixed to “0” is output as it is via the selection circuits 65 and 67. Accordingly, in the process of scanning from the opposite direction, in each scanning line, for example, as shown in FIG. Has a maximum value of 255 for the pixels in the closed loop C portion, and is "0" for the other pixels. When the density data D in such a state is input to the Y detection circuit 72 via the data control control circuit 71, the output of the comparison circuit 82 is output in the same manner as in the case of the original detection function. (The input to the shift register 85 is in an inverted state), and the minimum and maximum closed-loop edge positions Ymin and Ymax (address values) in the Y direction are obtained based on the signal change. In the X detection circuit 74, as in the case of the original detection function, the minimum and maximum closed loop edge positions Xm in the X direction based on the Xdata signal from the Y detection circuit 72.
in and Xmax are determined.

このようにしてバックスキャン待機位置から逆方向の
走査により閉ループCの最小エッジ位置Ymin,Xminと最
大エッジ位置Ymax,Xmaxが検出され、これらの検出デー
タにより認識領域Ecが特定されると、この逆方向からの
走査に続いて開始される正規の読取り走査においては当
該認識領域Ecが他の領域と区別して処理される。
In this manner, the minimum edge position Ymin, Xmin and the maximum edge position Ymax, Xmax of the closed loop C are detected by scanning in the reverse direction from the back scan standby position, and when the recognition area Ec is specified by the detected data, the reverse is performed. In the normal reading scan started after the scanning from the direction, the recognition area Ec is processed while being distinguished from other areas.

V.処理部 上記のように出力される最小原稿エッジ位置Ymin,Xmi
nと最大原稿エッジ位置Ymax,Xmaxにて原稿領域が特定さ
れると、これらのデータに基づいた具体的な処理が行な
われる。例えば、複写機を想定し、原稿のプラテン上で
の位置にかかわらず常に用紙との位置関係を合せた画像
再現を行なう機能(フリーレジストレーション)、ま
た、指定領域の原稿上での位置にかかわらず用紙の中央
に画像再現を行なう機能(領域センタリング)は、次の
ようにして実現される。
V. Processing section Minimum document edge position Ymin, Xmi output as described above
When a document area is specified by n and the maximum document edge positions Ymax and Xmax, specific processing based on these data is performed. For example, assuming a copier, a function that always reproduces the image in accordance with the positional relationship with the paper regardless of the position of the document on the platen (free registration). The function of reproducing an image at the center of a sheet (area centering) is realized as follows.

第27図は上記フリーレジストレーション及び領域セン
タリングの各機能を実現する処理回路の全体構成例を示
すブロック図である。
FIG. 27 is a block diagram showing an example of the overall configuration of a processing circuit for realizing the functions of the free registration and the area centering.

同図において、110はシステム制御回路であり、この
システム制御回路110は上述したようなX方向の最小エ
ッジ位置Xmin、最大エッジ位置Xmax及びY方向の最小エ
ッジ位置Ymin、最大エッジ位置Ymaxを入力し、この入力
データに基づいた制御情報をデータ出力回路120、走査
系駆動制御回路145、給紙系駆動制御回路148に供給して
いる。
In the figure, reference numeral 110 denotes a system control circuit. The system control circuit 110 inputs the minimum edge position Xmin and maximum edge position Xmax in the X direction and the minimum edge position Ymin and maximum edge position Ymax in the Y direction as described above. The control information based on the input data is supplied to the data output circuit 120, the scanning drive control circuit 145, and the paper feed drive control circuit 148.

データ出力回路120の具体的な構成は、例えば、第28
図に示すようになっている。
A specific configuration of the data output circuit 120 is, for example, a twenty-eighth
It is as shown in the figure.

このデータ出力回路120は、第11図及び第12図に示す
色画情報生成回路50からの画像データ(濃度データD及
び各カラーフラグデータMCF,SCF)の画像形成装置135
(詳細は後述する)に対する出力タイミングを制御する
ものである。
This data output circuit 120 is an image forming apparatus 135 for outputting image data (density data D and each color flag data MCF, SCF) from the color image information generation circuit 50 shown in FIGS. 11 and 12.
(The details will be described later).

第28図において、127及び128は夫々1走査ライン分の
容量を有するメモリ(S RAM)であり、このメモリ127,1
28は画素単位に画像データ(濃度データD、カラーフラ
グMCF,SCF)の書込み及び読出しがなされるようになっ
ている。121は初期リードアドレスを設定するレジス
タ、122はリードアドレスカウンタであり、レジスタ121
には上記Y方向(主走査方向)の最小原稿エッジ位置Ym
inに基づいたアドレス値(システム制御回路110から出
力)が初期リードアドレスとして格納されている。この
レジスタ121に格納された初期リードアドレスが各走査
ライン毎に出力されるビデオバリッド信号(V.VAD)の
立下がりに同期してリードアドレスカウンタ122にロー
ドされ、リードアドレスカウンタ122がこの初期リード
アドレスからビデオクロックに基づいて作成されるリー
ドクロック(RD CLK)に同期して順次インクリメントす
るようになっている。また、123は初期ライトアドレス
を設定するレジスタ、124はライトアドレスカウンタで
あり、レジスタ123には走査ライン(有効部分)の先頭
画素に対応したアドスレ値(システム制御回路110が出
力)が初期ライトアドレスとして格納されている。この
レジスタ123に格納された初期ライトアドレスがビデオ
バリッド信号(V.VAD)の立下がりに同期してライトア
ドレスカウンタ124にロードされ、ライトアドレスカウ
ンタ124がこの初期ライトアドレスからビデオクロック
に基づいて作成されるライトクロック(WR CLK)に同期
して順次インクリメントするようになっている。
In FIG. 28, 127 and 128 are memories (SRAM) each having a capacity of one scanning line.
Reference numeral 28 denotes writing and reading of image data (density data D, color flags MCF and SCF) in pixel units. 121 is a register for setting an initial read address, and 122 is a read address counter.
Is the minimum document edge position Ym in the Y direction (main scanning direction).
An address value (output from the system control circuit 110) based on in is stored as an initial read address. The initial read address stored in the register 121 is loaded into the read address counter 122 in synchronization with the fall of the video valid signal (V.VAD) output for each scanning line, and the read address counter 122 reads the initial read address. The address is sequentially incremented in synchronization with a read clock (RD CLK) created based on the video clock from the address. Reference numeral 123 denotes a register for setting an initial write address, and reference numeral 124 denotes a write address counter. The register 123 stores an address value (output from the system control circuit 110) corresponding to the first pixel of the scanning line (effective portion) in the initial write address. Is stored as The initial write address stored in the register 123 is loaded into the write address counter 124 in synchronization with the fall of the video valid signal (V.VAD), and the write address counter 124 is created based on the video clock from the initial write address. The write clock (WR CLK) is sequentially incremented in synchronization with the write clock (WR CLK).

125及び126は夫々選択信号入力SがHレベルのときに
A側入力を、同選択信号SがLレベルのときにB側入力
を選択出力Yするマルチプレクサであり、マルチプレク
サ125はA側にリードアドレスカウンタ122からのカウン
ト値、B側にライトアドレスカウンタ124からのカウン
ト値が入力し、マルチプレクサ126はリードアドレスカ
ウンタ122とライトアドレスカウンタ124の各カウント値
が上記とは逆の関係で入力している。そして、走査ライ
ンが1ライン移行する毎に反転するメモリ切換信号(ME
M.SW)(システム制御回路110から出力)が各マルチプ
レクサ125,126の選択信号Sとして入力している。マル
チプレクサ125の出力Yがメモリ127のアドレス(ADDR)
バスに接続され、また、マルチプレクサ126の出力Yが
メモリ128のアドレス(ADDR)バスに接続されている。
各メモリ127,128のデータ(DATA)バスには夫々バッフ
ァ129,130が接続され、上述した色画情報生成回路50
(第11図、第12図参照)からの画像データがバッファ12
9,130を介してメモリ127,128に供給されている。また、
メモリ127からの読出しデータはマルチプレクサ131のA
側入力端に、メモリ128からの読出しデータは同マルチ
プレクサ131のB側入力端に夫々入力している。このマ
ルチプレクサ131は上述した他のマルチプレクサ125,126
と同様に、メモリ切換信号(MEM SW)がHレベルのとき
にA側入力を、同メモリ切換信号がLレベルのときにB
側入力を夫々出力Yするようになっており、更に、制御
端子(G)を有し、この制御端子(G)がLレベル状態
となるときに出力Yが“0"に固定されるようになってい
る。マルチプレクサ131の制御端子(G)には有効エリ
ア信号生成回路132からの有効エリア信号が入力してい
る。この有効エリア信号生成回路132は、Y方向の最小
エッジ位置Yminと最大エッジ位置Ymaxの各情報(システ
ム制御回路110から出力)に基づいて特に読出し画素が
当該最小エッジ位置Yminと最大エッジ位置Ymaxに対応し
たものとなるときにHレベルとなる有効エリア信号を生
成している。
Reference numerals 125 and 126 denote multiplexers for selecting and outputting the A side input when the selection signal input S is at the H level and selecting the B side input when the selection signal S is at the L level, respectively. The count value from the counter 122 and the count value from the write address counter 124 are input to the B side, and the multiplexer 126 inputs the count values of the read address counter 122 and the write address counter 124 in a reverse relationship to the above. . Then, the memory switching signal (ME
M.SW) (output from the system control circuit 110) is input as the selection signal S of each of the multiplexers 125 and 126. The output Y of the multiplexer 125 is the address of the memory 127 (ADDR)
The output Y of the multiplexer 126 is connected to the address (ADDR) bus of the memory 128.
Buffers 129 and 130 are connected to the data (DATA) buses of the memories 127 and 128, respectively.
(See FIGS. 11 and 12)
It is supplied to memories 127 and 128 via 9,130. Also,
The read data from the memory 127 is stored in the A of the multiplexer 131.
The read data from the memory 128 is input to the B-side input terminal of the multiplexer 131 at the side input terminal. This multiplexer 131 is similar to the other multiplexers 125 and 126 described above.
Similarly, when the memory switching signal (MEM SW) is at the H level, the A-side input is applied.
Each side input outputs Y, and further has a control terminal (G) so that when the control terminal (G) is at the L level, the output Y is fixed to “0”. Has become. The effective area signal from the effective area signal generation circuit 132 is input to the control terminal (G) of the multiplexer 131. The effective area signal generation circuit 132 determines, based on each information (output from the system control circuit 110) of the minimum edge position Ymin and the maximum edge position Ymax in the Y direction, that the readout pixel is set to the minimum edge position Ymin and the maximum edge position Ymax. An effective area signal which becomes H level when it becomes a corresponding one is generated.

一方、走査系駆動制御回路145はシステム制御回路110
から出力されるX方向(副走査方向)の最小エッジ位置
Xminと最大エッジ位置Xmaxに対応した位置情報に基づい
て走査系146、特に走査ユニット(光源、フルカラーラ
センサ、光学系等)を上記各位置の間にて往復動するす
るよう制御するものである。具体的には、走査ユニット
を駆動するパルスモータの駆動パルスを計数し、その計
数値が上記最小エッジ位置と最大エッジ位置に対応した
値の間にて正逆回転駆動を行なうように制御している。
On the other hand, the scanning system drive control circuit 145 is
Edge position in X direction (sub-scan direction) output from
Based on the position information corresponding to Xmin and the maximum edge position Xmax, the scanning system 146, in particular, the scanning unit (light source, full-color sensor, optical system, etc.) is controlled to reciprocate between the above positions. . Specifically, the number of drive pulses of the pulse motor for driving the scanning unit is counted, and the count value is controlled so as to perform forward / reverse rotation drive between values corresponding to the minimum edge position and the maximum edge position. I have.

また、給紙系駆動制御回路148は後述する画像形成装
置における画像形成用記録シートを搬送する給紙系149
を制御するもので、特に「領域センタリング」の機能を
実現する場合に、対象となる領域を記録シートの搬送方
向中心に再現するように給紙系149、具体的には記録用
紙の搬送タイミングを制御している。
Further, a paper feed system drive control circuit 148 is provided in a paper feed system 149 for conveying a recording sheet for image formation in an image forming apparatus described later.
In particular, when realizing the function of "area centering", the paper feed system 149, specifically, the recording paper conveyance timing is set so that the target area is reproduced at the center of the recording sheet conveyance direction. Controlling.

次に、「フリーレジストレーション」機能について説
明する。
Next, the “free registration” function will be described.

第29図に示すように、プラテン12上の任意の位置に原
稿を載置した状態で、レジ位置(Regi)とは逆側からの
走査(バックスキャン)の過程で上述したような原稿13
の最小原稿エッジ位置Ymin、Xminと最大原稿エッジ位置
Ymax、Xmaxとが得られる。
As shown in FIG. 29, in a state where the original is placed at an arbitrary position on the platen 12, the original 13 as described above is scanned in the process (back scan) from the side opposite to the registration position (Regi).
Minimum document edge position Ymin, Xmin and maximum document edge position
Ymax and Xmax are obtained.

この状態で、スタート走査がなされると、まず、シス
テム制御回路110がX方向の最小原稿エッジ位置Xmin及
び最大原稿エッジ位置Xmaxに基づいてレジ位置(Regi)
位置側を基準とした走査方向における原稿位置Smin(先
端位置)とSmax(後端位置)を演算する。そして、この
原稿位置情報(Smin,Smax)を走査系駆動制御回路145に
供給する。すると、走査系駆動制御回路145は走査ユニ
ットを原稿先端位置Sminまで移動させ、そこから、原稿
後端位置Smaxまでの走査が行なわれる。複数の画像再現
を行なう場合には、走査ユニットはこの原稿先端位置Sm
inと同後端位置Smaxとの間の往復動を繰り返す。
When a start scan is performed in this state, first, the system control circuit 110 determines a registration position (Regi) based on the minimum document edge position Xmin and the maximum document edge position Xmax in the X direction.
The document position Smin (front end position) and Smax (rear end position) in the scanning direction based on the position side are calculated. The document position information (Smin, Smax) is supplied to the scanning system drive control circuit 145. Then, the scanning system drive control circuit 145 moves the scanning unit to the leading edge position Smin of the document, and scans from there to the trailing edge position Smax of the document. When performing multiple image reproductions, the scanning unit uses
The reciprocating motion between in and the rear end position Smax is repeated.

一方、主走査方向についてみると、システム制御回路
110は最小原稿エッジ位置Ymin及び最大原稿エッジ位置Y
maxの各情報をデータ出力回路120に供給する。すると、
最小原稿エッジ位置Yminに対応したアドレス値ADDR(Ym
in)がレジスタ121に格納されると共に、走査ラインの
先頭画素に対応したアドレス値ADDR(0)がレジスタ12
3に格納される。この状態で、上述した位置(SminとSma
x間)での走査が開始すると、メモリ切換信号(MEM S
W)がHレベルとなって走査の過程で上記アドレス値ADD
R(0)から順次カウントアップするライトアドスカウ
ンタ124からのアドレス値がメモリ128に供給される。そ
して、当該走査ラインに関して色画情報生成回路50から
出力される画像データがメモリ128に1走査ライン分順
次書込まれる。走査ユニットが次の走査ラインに移行す
ると、リードアドレスカウンタ122及びライトアドレス
カウンタ124が共に初期アドレス値にリセットされる。
この状態で、メモリ切換信号(MEM SW)がLレベルに切
換ってライトカウンタ124からのライトアドレスが前ラ
インとは逆にメモリ127に供給され、リードカウンタ122
からのリードアドレスがメモリ128に供給される。する
と、メモリ127に対して当該走査ラインにおける画像デ
ータの書込みが上記と同様に行なわれる一方、メモリ12
8から前走査ラインにて書込んだ画像データが画素単位
に読出される。このメモリ128からの画像データ読出し
は、最小原稿エッジ位置Yminに対応したアドレス値から
順にアクセスされる。そして、マルチプレクサ131を介
して当該読出し画像データが画像形成装置に供給され
る。ここで、有効エリア信号生成回路132からは、各走
査ラインにおいて最小原稿エッジ位置Yminと最大原稿エ
ッジ位置Ymaxとの間にてHレベルとなる有効エリア信号
が出力されていることから、マルチプレクサ131は同間
以外ではその出力が“0"に固定され、当該間だけ上記メ
モリ128から読出された画像データが出力される。
On the other hand, in the main scanning direction, the system control circuit
110 is the minimum document edge position Ymin and the maximum document edge position Y
Each information of max is supplied to the data output circuit 120. Then
Address value ADDR (Ym
in) is stored in the register 121, and the address value ADDR (0) corresponding to the first pixel of the scan line is stored in the register 12
Stored in 3. In this state, the positions (Smin and Sma
When scanning in x interval starts, the memory switching signal (MEM S
W) becomes H level and the above address value ADD is added during the scanning process.
The address value from the write address counter 124 that sequentially counts up from R (0) is supplied to the memory 128. Then, the image data output from the color image information generation circuit 50 for the scanning line is sequentially written into the memory 128 for one scanning line. When the scanning unit shifts to the next scanning line, both the read address counter 122 and the write address counter 124 are reset to the initial address value.
In this state, the memory switching signal (MEM SW) switches to the L level, and the write address from the write counter 124 is supplied to the memory 127 in the opposite direction to the previous line, and the read counter 122
Is supplied to the memory 128. Then, while writing the image data in the scan line to the memory 127 in the same manner as described above, the memory 12
Image data written in the pre-scanning line from 8 is read out in pixel units. The image data is read from the memory 128 in order from the address value corresponding to the minimum document edge position Ymin. Then, the read image data is supplied to the image forming apparatus via the multiplexer 131. Here, since the effective area signal generation circuit 132 outputs an effective area signal that is at H level between the minimum document edge position Ymin and the maximum document edge position Ymax in each scanning line, the multiplexer 131 At other times, the output is fixed at “0”, and the image data read from the memory 128 is output only during that time.

以後、同様に走査ラインが移動する毎にメモリ127と
メモリ128で書込みと読出しが切換わり、その書込みで
は1走査ライン分の画像データが書込まれ、読出しで
は、最小原稿エッジ位置Ymin以降の画像データが読出さ
れる。そして、更に、マルチプレクサ131からは当該読
出された最小原稿エッジ位置Ymin以降の画像データのう
ち最大原稿エッジ位置Ymax以降の画像データは“0"に固
定される。
Thereafter, similarly, each time the scanning line moves, writing and reading are switched between the memory 127 and the memory 128. In the writing, image data for one scanning line is written. In reading, the image after the minimum document edge position Ymin is read. Data is read. Further, from the multiplexer 131, the image data after the maximum document edge position Ymax among the read image data after the minimum document edge position Ymin is fixed to “0”.

上記のように、走査系と画像データの読出しを特に制
御することにより、主走査方向が最小原稿エッジ位置Ym
inと最大原稿エッジ位置Ymaxとの間、副走査方向が原稿
先頭位置Sminと原稿終端位置Smaxとの間の画像データが
通常タイミングと同様のタイミングにて画像形成装置側
に転送されることから、レジ位置(Regi)に原稿をセッ
トした場合と同様に記録シート上への画像形成がなされ
る。
As described above, by particularly controlling the scanning system and the reading of image data, the main scanning direction is set to the minimum document edge position Ym.
between in and the maximum document edge position Ymax, since the image data in the sub-scanning direction between the document head position Smin and the document end position Smax is transferred to the image forming apparatus at the same timing as the normal timing, An image is formed on a recording sheet in the same manner as when a document is set at the registration position (Regi).

更に、「領域センタリング」の機能について説明す
る。
Further, the function of “area centering” will be described.

上述したように画像形成に係る走査の前に行なわれる
逆側からの走査の過程で原稿上に描かれた領域Eの最小
エッジ位置Ymin,Xmin及び最大エッジ位置Ymax,Xmaxがシ
ステム制御回路110に供給されると、システム制御回路1
10は当該各データに基づいて領域Eの記録シート搬送方
向(副走査方向)についての中心位置Dp(レジ位置を基
準)を演算する。また、画像を形成すべき記録シートが
選択されると(原稿サイズに応じた自動選択及びユーザ
指定のどちらでもよい)記録シートの搬送方向について
の中心位置PDcが演算される。
As described above, the minimum edge position Ymin, Xmin and the maximum edge position Ymax, Xmax of the area E drawn on the original in the process of scanning from the opposite side performed before the scanning related to image formation are sent to the system control circuit 110. When supplied, the system control circuit 1
Numeral 10 calculates the center position Dp (with reference to the registration position) of the area E in the recording sheet conveyance direction (sub-scanning direction) based on the data. When a recording sheet on which an image is to be formed is selected (either automatic selection according to the document size or user designation), a center position PDc in the transport direction of the recording sheet is calculated.

ここで、記録シートshの中心位置DPcと領域Eの中心
位置Dpとの関係が、例えば、第30図(a)示すように、 PDc>Dp となると、その差値(PDc−Dp)が給紙系駆動制御回路1
48に転送される。
Here, if the relationship between the center position DPc of the recording sheet sh and the center position Dp of the area E satisfies, for example, PDc> Dp as shown in FIG. 30 (a), the difference value (PDc−Dp) is supplied. Paper drive control circuit 1
Transferred to 48.

この状態で、原稿を走査する過程で、給紙系駆動制御
回路148が給紙系149を通常のタイミングより上記差値
(PDc−Dp)だけ記録シートが先行するタイミングとな
るよう制御する。
In this state, in the process of scanning the original, the paper feed system drive control circuit 148 controls the paper feed system 149 so that the recording sheet comes ahead of the normal timing by the difference value (PDc-Dp).

一方、画像データについては、データ出力回路120に
対して、原稿走査の過程で読取られた画像データが当該
領域E以外についてはマスキングされた状態で供給され
る(マスキング回路は図示略)。そして、このデータ出
力回路120がこの領域Eを対象として上記「フリーレジ
ストレーション」と同様の処理を行なう。
On the other hand, with respect to the image data, the image data read in the course of scanning the original is supplied to the data output circuit 120 in a masked state except for the area E (a masking circuit is not shown). Then, the data output circuit 120 performs the same processing as the above-mentioned “free registration” on the area E.

このように記録シートを先行して供給すると共に画像
データの転送タイミングを上記「フリーレジストレーシ
ョン」と同様に制御することにより、第30図(a)に示
すように指定領域Eが比較的レジ位置(Regi)に近い場
合において、当該領域Eの画像が記録シートの中心に形
成されることになる。
By controlling the transfer timing of the image data in the same manner as in the above-mentioned "free registration" in such a manner that the recording sheet is supplied in advance, the designated area E is relatively positioned at the registration position as shown in FIG. When the position is close to (Regi), the image of the area E is formed at the center of the recording sheet.

また、記録シートshの中心位置DPcと領域Eの中心位
置Dpとの関係が、例えば、第30図(b)示すように、 PDc≦Dp となると、その差値(Dp−PDc)が走査系駆動回路145に
転送される。
When the relationship between the center position DPc of the recording sheet sh and the center position Dp of the area E satisfies, for example, PDc ≦ Dp as shown in FIG. 30 (b), the difference value (Dp−PDc) is used as the scanning system. The data is transferred to the drive circuit 145.

すると、スタート操作により、走査ユニットがレジ位
置(Regi)から更に上記差値(Dp−PDc)だけ先行した
位置まで移動制御される。この状態で選択された記録シ
ートに対応する原稿走査がなされる。
Then, by the start operation, the scanning unit is controlled to move from the registration position (Regi) to a position further preceding by the difference value (Dp-PDc). In this state, scanning of the original corresponding to the selected recording sheet is performed.

このとき、画像データについては上記と同様に出力さ
れる。
At this time, the image data is output in the same manner as described above.

このように走査ユニットを予め先行した位置に待機し
た状態から記録シートに応じた走査を開始することによ
り(画像データの出力タイミングは上記と同様)、第30
図(b)に示すように、指定領域が比較的レジ位置(Re
gi)から離れている場合において、当該領域Eの画像が
記録シートの中心に形成されることになる。
By starting scanning according to the recording sheet from a state where the scanning unit is in a standby state at the preceding position in advance (the output timing of the image data is the same as described above), the 30th
As shown in FIG. 6B, the designated area is relatively located at the registration position (Re
gi), the image of the area E is formed at the center of the recording sheet.

VII.画像形成部 上記のようにして出力制御のなされた画像データ(濃
度データ、メインカラーフラグMCF、サブカラーフラグS
CF)に基づいて画像形成を行なう画像形成装置の具体的
な構成は、例えば、次のようになっている。
VII. Image Forming Unit Image data (density data, main color flag MCF, sub color flag S
A specific configuration of an image forming apparatus that forms an image based on CF) is, for example, as follows.

対象となる画像形成装置は、レーザプリンタ150、フ
ァックス等の画像送受信機170等種々あるが、レーザプ
リンタ150を例に以下説明する。この場合、前述したよ
うに全体として複写機が構成される。
There are various image forming apparatuses such as a laser printer 150 and an image transceiver 170 such as a facsimile, and the laser printer 150 will be described below as an example. In this case, a copying machine is configured as a whole as described above.

上記濃度データD及びカラーフラグに基づいて2色画
像形成を行なうレーザプリンタ150の基本的な構成は例
えば第31図に示すようになっている。ここに示す2色画
像形成のレーザプリンタは電子写真方式を用いたもので
メインカラー黒の画像形成とサブカラー赤の画像形成と
を1回の画像形成サイクルにて実現するもので、全体と
していわゆる1パス2カラー(1P2C)タイプの複写機で
ある。
The basic configuration of the laser printer 150 that forms a two-color image based on the density data D and the color flag is, for example, as shown in FIG. The two-color image forming laser printer shown here uses an electrophotographic system, and realizes main color black image forming and sub-color red image forming in one image forming cycle. This is a one-pass two-color (1P2C) type copying machine.

第31図において、感光ドラム200の周囲に画像形成プ
ロセスを実行すべく帯電器201、サブカラー(赤)用の
現像機202、メインカラー(黒)用の現像機203、転写用
コロトロン208,クリーニング装置206が夫々配置される
と共に、サブカラー用の現像機202の直前にサブカラー
の露光位置Psが、メインカラー用の現像機203の直前に
メインカラーの露光位置Pmが夫々設定されている。露光
系についてみると、メインカラーについての画像書込み
用レーザダイオード161からの照射光がサーボモータ163
にて定速回転するポリゴンミラー164及びf−θレンズ1
65、反射鏡167,168等の光学系を介してメインカラーの
露光位置Pmに至るよう設定され、サブカラーについての
画像書込み用レーザダイオード160からの照射光が同様
にポリゴンミラー164及びf−θレンズ165、更に反射鏡
166等の光学系を介してサブカラーの露光位置Psに至る
よう設定されている。また、感光ドラム200周囲におけ
る転写位置には転写用のコロトロン204及び記録シート
剥離用のディタック205が配置され、この位置にて上記
各現像機202,203により感光体ドラム200上に形成された
赤トナー像及び黒トナー像が給紙系より搬送される記録
シート210に一括転写されるようになっている。そし
て、像転写のなされた記録シート210が更に定着器207で
の像定着を経た後に例えばトレー上に排出されるよう構
成されている。
In FIG. 31, a charger 201, a developing device 202 for a sub-color (red), a developing device 203 for a main color (black), a corotron 208 for transfer, and a cleaning device for executing an image forming process around the photosensitive drum 200. Each of the devices 206 is arranged, and the sub-color exposure position Ps is set immediately before the sub-color developing device 202, and the main color exposure position Pm is set immediately before the main-color developing device 203. Regarding the exposure system, the irradiation light from the image writing laser diode 161 for the main color is
Polygon mirror 164 and f-θ lens 1 rotating at a constant speed
65, it is set to reach the exposure position Pm of the main color through an optical system such as the reflecting mirrors 167 and 168, and the irradiation light from the image writing laser diode 160 for the sub-color is similarly set to the polygon mirror 164 and the f-θ lens 165. And a reflector
The sub-color exposure position Ps is set via an optical system such as 166. Further, a transfer corotron 204 and a recording sheet peeling detack 205 are arranged at a transfer position around the photosensitive drum 200. At this position, the red toner image formed on the photosensitive drum 200 by the developing units 202 and 203 described above. The black toner image and the black toner image are collectively transferred to a recording sheet 210 conveyed from a paper feeding system. Then, the recording sheet 210 on which the image has been transferred is further discharged through, for example, a tray after the image is further fixed by the fixing unit 207.

記録シート210は上述した給紙系制御回路148の制御に
基づく給紙系149の駆動によりカセットから転写位置、
定着器207、更にトレーへと搬送される。
The recording sheet 210 is transferred from the cassette by the driving of the sheet feeding system 149 based on the control of the above-described sheet feeding system control circuit 148,
The fixing device 207 is further transported to a tray.

一方、上記画像書込み用のレーザダイオード160,161
の制御系についてみると、次のようになる。
On the other hand, the image writing laser diodes 160 and 161
Looking at the control system of

前述した画像処理系のインタフェース回路140を介し
て濃度データDmとカラーフラグCFが画素単位に供給さ
れ、そして、当該カラーフラグCFに基てメインカラー濃
度データDm(黒濃度)とサブカラー濃度Ds(赤濃度)を
分離する切換回路151が設けられている。なお、上記処
理部においてはカラーフラグがメインカラーフラグMCF
とサブカラーフラグSCFの2ビットで構成されていた
が、上記切換回路151に供されるカラーフラグCFは上記
インタフェース回路140にてサブカラーとそれ以外を表
現する1ビット構成に変えられる。具体的には、上記サ
ブカラーフラグSCFだけがインタフェース回路140から後
段に転送される。即ち、背景領域の画素をメインカラー
領域に含めて扱うこととし、この切換回路151を制御す
るカラーフラグCFがサブカラー領域の画素ではHレベル
となり、それ以外の領域の画素ではLレベルとなるよう
にしている。
The density data Dm and the color flag CF are supplied for each pixel via the above-described image processing system interface circuit 140, and the main color density data Dm (black density) and the sub color density Ds ( A switching circuit 151 for separating red density) is provided. In the above processing section, the color flag is set to the main color flag MCF.
However, the color flag CF provided to the switching circuit 151 is changed to a 1-bit configuration representing the sub-color and the rest by the interface circuit 140. Specifically, only the sub-color flag SCF is transferred from the interface circuit 140 to a subsequent stage. That is, the pixels in the background area are handled as being included in the main color area, and the color flag CF for controlling the switching circuit 151 is set to the H level in the pixels in the sub color area and to the L level in the pixels in the other areas. I have to.

切換回路151の具体的な構成は例えば、第32図に示す
ようになっている。即ち、カラーフラグの状態によりそ
の出力を2系統の入力信号(A,B)から選択する2つの
選択回路171,172が設けられ、濃度データDが選択回路1
71の入力端B及び選択回路172の入力端Aに夫々入力す
ると共に、選択回路171の反対側の入力端A及び選択回
路172の同反対側の入力端Bには“0"データが夫々入力
している。これらの選択回路171,172はLレベルの制御
入力にてA側、Hレベルの制御入力にてB側の入力信号
が夫々選択されるもので、カラーフラグCFが当該制御入
力となっている。そして、一方の選択回路171の出力が
サブカラー濃度データDs、他方の選択回路172の出力が
メインカラー濃度データDmとして画素単位にて後段に転
送されるよう構成されている。このような構成の切換回
路151では、サブカラー領域の画素については対応する
サブカラー濃度データDsが後段に転送される一方、それ
以外の領域(メインカラー領域及び背景領域)の画素に
ついては対応するメインカラー濃度データDmが後段に転
送される。
The specific configuration of the switching circuit 151 is, for example, as shown in FIG. That is, two selection circuits 171 and 172 are provided for selecting the output from two systems of input signals (A and B) according to the state of the color flag, and the density data D is selected by the selection circuit 1.
Data is input to an input terminal B of the selection circuit 171 and an input terminal A of the selection circuit 172, and "0" data is input to an input terminal A on the opposite side of the selection circuit 171 and an input terminal B on the opposite side of the selection circuit 172, respectively. doing. These selection circuits 171 and 172 select an input signal on the A side by an L level control input and an input signal on the B side by an H level control input, and the color flag CF is the control input. The output of one selection circuit 171 is transferred to the subsequent stage as sub-color density data Ds, and the output of the other selection circuit 172 is transferred to the subsequent stage as main color density data Dm in pixel units. In the switching circuit 151 having such a configuration, the corresponding sub-color density data Ds is transferred to the subsequent stage for the pixels in the sub-color area, while the pixels in the other areas (the main color area and the background area) are correspondingly transferred. The main color density data Dm is transferred to the subsequent stage.

この切換回路151にて分離されたメインカラー濃度デ
ータDm及びサブカラー濃度データDsは、夫々サブカラー
濃度データDsが第一スクリーンジェネレータ152に、メ
インカラー濃度データDmが第二スクリーンジェネレータ
153に入力している。
The main color density data Dm and the sub color density data Ds separated by the switching circuit 151 are such that the sub color density data Ds is provided to the first screen generator 152, and the main color density data Dm is provided to the second screen generator.
153 has been entered.

各スクリーンジェネレータ152,153は、8ビットにて2
56階調表現された上記切換回路151を介した各濃度デー
タDm,Dsを各画素毎にレーザダイオードの変調コードに
変換するものである。具体的には256階調表現された濃
度データDを各画素のレーザ点灯領域量に変換するもの
で、例えば、第33図に示すように、1つの画素Pに対し
て予め3つの分割画素(サブピクセル)SP1〜SP3が設定
され、濃度データDに応じてレーザの点灯領域を分割画
素数にて決定している。このスクリーンジェネレータ15
2,153から出力される変調コードは例えば表2のように
設定されている。
Each screen generator 152, 153 has 2
Each of the density data Dm and Ds through the switching circuit 151 expressed in 56 gradations is converted into a laser diode modulation code for each pixel. Specifically, it converts the density data D expressed in 256 gradations into the laser lighting area amount of each pixel. For example, as shown in FIG. The sub-pixels SP1 to SP3 are set, and the laser lighting area is determined by the number of divided pixels according to the density data D. This screen generator 15
The modulation codes output from 2,153 are set, for example, as shown in Table 2.

この表2に従えば、例えば第34図(a)〜(d)に示
すように各画素について4段階の濃度表現が可能とな
る。
According to Table 2, for example, as shown in FIGS. 34 (a) to (d), four levels of density expression can be achieved for each pixel.

また、上記のように256階調の濃度データDを4段階
のコードに変換する際のその各段階の閾値は、各色の色
再現特性(現像特性)に基づいて、入力濃度データに忠
実な色再現がなされるように設定される。従って、第一
スクリーンジェネレータ152はサブカラー(赤)の色再
現特性、第二スクリーンジェネレータ153はメインカラ
ー(黒)の色再現特性に基づいて夫々別々の閾値が設定
される。
When the density data D of 256 gradations is converted into a four-step code as described above, the threshold value of each step is determined based on the color reproduction characteristics (development characteristics) of each color. It is set so that it is reproduced. Therefore, different thresholds are set for the first screen generator 152 based on the color reproduction characteristics of the sub color (red), and for the second screen generator 153 based on the color reproduction characteristics of the main color (black).

上記第一スクリーンジェネレータ152からのサブカラ
ー変調コードSCは1ライン分のFIFOメモリ(先入れ先出
し)154を介して、また、上記第二スクリーンジェネレ
ータ153からのメインカラー変調コードMCはギャップメ
モリ156を介して夫々対応する第一ROS制御回路155、第
二ROS制御回路157に入力している。上記ギャップメモリ
156は、上述したように、サブカラー露光位置Psとメイ
ンカラー露光位置Pmが各現像機202,203の配置の関係か
ら感光ドラム200上でギャップGpだけ離れていることか
らサブカラー画像とメインカラー画像の形成位置を合わ
せるためにメインカラーの変調コードの転送タイミング
を上記ギャップGpに相当する分だけ遅らせるためのもの
である。従って、ギャップメモリ156の書込み及び読出
しのタイミングは上記各露光位置Ps,PmのギャップGp及
び感光ドラムの回転速度等にて決定される。
The sub-color modulation code SC from the first screen generator 152 is transmitted via a one-line FIFO memory (first-in first-out) 154, and the main color modulation code MC from the second screen generator 153 is transmitted via a gap memory 156. The signals are input to the corresponding first ROS control circuit 155 and second ROS control circuit 157, respectively. The above gap memory
156, as described above, the sub-color exposure position Ps and the main color exposure position Pm are separated from each other by the gap Gp on the photosensitive drum 200 due to the arrangement of the developing devices 202 and 203. This is for delaying the transfer timing of the modulation code of the main color by an amount corresponding to the gap Gp in order to match the formation position. Therefore, the timing of writing and reading of the gap memory 156 is determined by the gap Gp of each of the exposure positions Ps and Pm, the rotation speed of the photosensitive drum, and the like.

上記第一ROS制御回路155はサブカラー変調コードSCに
基づいて対応する系統のレーザ変調信号を生成すると共
に、ポリゴンミラー164回転用のサーボモータ163に対す
る制御信号を生成している。また、上記第二ROS制御回
路157は第一ROS制御回路155からの同期信号を受けてメ
インカラー変調コードMCに基づいて対応する系統のレー
ザ変調信号を生成している。上記第一ROS制御回路155か
らの制御信号に基づいてモータドライバ162がポリゴン
ミラー用のサーボモータ163を定速駆動すると共に、同
第一ROS制御回路155からのサブカラー変調信号に基づい
てレーザドライバ158がサブカラーについての画像書込
み用レーザダイオード160のオン・オフ駆動を行ない、
上記第二ROS制御回路157からのメインカラー変調信号に
基づいてレーザドライバ159がメインカラーについての
画像書込み用レーザダイオード161のオン・オフ駆動を
行なっている。
The first ROS control circuit 155 generates a laser modulation signal of a corresponding system based on the sub-color modulation code SC, and also generates a control signal for a servo motor 163 for rotating the polygon mirror 164. The second ROS control circuit 157 receives the synchronization signal from the first ROS control circuit 155 and generates a laser modulation signal of a corresponding system based on the main color modulation code MC. A motor driver 162 drives a polygon mirror servo motor 163 at a constant speed based on a control signal from the first ROS control circuit 155, and a laser driver based on a sub-color modulation signal from the first ROS control circuit 155. 158 turns on and off the image writing laser diode 160 for the sub-color,
On the basis of the main color modulation signal from the second ROS control circuit 157, the laser driver 159 turns on and off the image writing laser diode 161 for the main color.

上記のようなメインカラーの画像書込み用レーザダイ
オード161及びサブカラーの画像書込み用レーザダイオ
ード160のオン・オフ制御により、帯電器201により一様
帯電された感光ドラム200上に各色に対応した電位状態
での静電潜像が形成され、各静電潜像に対してサブカラ
ーについては現像機202により赤トナー現像、メインカ
ラーについては現像機203により黒トナー現像が行なわ
れる。そして、感光ドラム200上に形成された当該赤及
び黒のトナー像が給紙系より供給される記録シート210
上に転写され、更に像定着を経て二色の色再現のなされ
た記録シートが排出される。
The on / off control of the main-color image writing laser diode 161 and the sub-color image writing laser diode 160 as described above causes the potential state corresponding to each color on the photosensitive drum 200 uniformly charged by the charger 201. , An electrostatic latent image is formed, and for each of the electrostatic latent images, red toner development is performed by the developing device 202 for the sub-color and black toner development is performed by the developing device 203 for the main color. Then, the red and black toner images formed on the photosensitive drum 200 are supplied to the recording sheet 210 supplied from the paper feeding system.
The recording sheet is transferred onto the recording sheet, and after the image is fixed, the recording sheet on which two colors are reproduced is discharged.

なお、上記サブカラーの像形成においては、第35図
(a)に示すような露光部が画像部となる潜像Z1が形成
され、この潜像Z1が現像機202にて第一現像バイアスVB1
のもとに現像されてサブカラー(赤)のトナー像T1が形
成される。上記メインカラーの像形成においては、第35
図(b)に示すような非露光部が画像部となる潜像Z2が
形成され、この潜像Z2が現像機203にて第二現像バイア
スVB2のもとに現像されてメインカラー(黒)のトナー
像T2が形成される。そして、具体的には、これらのトナ
ー像T1,T2は転写前コロトロン208にて極性が揃えられた
後、転写コロトロン204にて記録シート210上に一括転写
される。
In the sub-color image formation, a latent image Z1 having an exposed portion as an image portion is formed as shown in FIG. 35 (a), and this latent image Z1 is developed by a developing device 202 into a first developing bias VB1.
And a sub-color (red) toner image T1 is formed. In the main color image formation, the 35th
A latent image Z2 having an unexposed portion as an image portion as shown in FIG. 2B is formed, and the latent image Z2 is developed by the developing device 203 under a second developing bias VB2 to form a main color (black). Is formed. More specifically, the toner images T1 and T2 are batch-transferred on the recording sheet 210 by the transfer corotron 204 after their polarities are aligned by the pre-transfer corotron 208.

VII.まとめ 上記実施例では、バックスキャン待機位置から通常の
走査方向とは逆方向への走査の過程で得られる画像情報
(色、濃度)に基づいて原稿エッジ位置を検出してい
る。特にプラテンカバーが閉鎖状態のときはその原稿押
え面の色(黄色)と同一色の画素については強制的に濃
度を最大値255に修正し、その濃度と原稿濃度(白濃度
に近い)との差に基づいて原稿エッジを検出する一方、
プラテンカバーが開放状態のときは背景部からの反射光
がないことからその部分での濃度データと原稿温度との
差に基づいて原稿エッジ検出を行なっている。そして、
プラテン上に設定したX−Y座標系において、最小原稿
エッジ位置Ymin,Xminと最大原稿エッジ位置Ymax,Xmaxに
て原稿領域を特定している。上記のようにプラテンカバ
ーの原稿押え面の色データ強制的に最大濃度データに変
換することにより色差の処理が濃度差の処理に変換さ
れ、プラテンカバーの閉鎖時と開放時の処理系が共用化
できることになる。また、X−Y座標系において、夫々
の方向での最大、最小の原稿エッジ位置4点のみにて原
稿領域の特定がなされ、領域特定の処理がより容易なも
のとなっている。また、通常の走査とは逆方向からの走
査の過程で原稿検知を行ない、引続きそのまま正常走査
の過程で当該特定された原稿領域を画像処理の対象とし
ていることから、走査部の無駄な移動がなく、効率的な
処理が実現されている。
VII. Conclusion In the above embodiment, the document edge position is detected based on image information (color and density) obtained in the process of scanning from the back scan standby position in the direction opposite to the normal scanning direction. In particular, when the platen cover is in the closed state, for pixels of the same color as the color of the original pressing surface (yellow), the density is forcibly corrected to the maximum value of 255, and the density and the original density (close to white density) are compared. While detecting the document edge based on the difference,
When the platen cover is in the open state, there is no reflected light from the background portion. Therefore, the document edge detection is performed based on the difference between the density data and the document temperature at that portion. And
In the XY coordinate system set on the platen, the document area is specified by the minimum document edge position Ymin, Xmin and the maximum document edge position Ymax, Xmax. By forcibly converting the color data on the original holding surface of the platen cover to the maximum density data as described above, the color difference processing is converted to the density difference processing, and the processing system for closing and opening the platen cover is shared You can do it. Further, in the XY coordinate system, the document area is specified only at the four maximum and minimum document edge positions in each direction, and the area specifying process is easier. In addition, since the original is detected in the process of scanning from the opposite direction to the normal scanning, and the specified original region is continuously subjected to image processing in the process of normal scanning, useless movement of the scanning unit is prevented. And efficient processing is realized.

なお、プラテンカバーの原稿押え面の色と原稿色との
差を直接判別することも可能である。この場合、プラテ
ンカバーが開放状態の時と閉鎖状態の時とで夫々独立し
た系(濃度、色)での処理が行なわれることになる。ま
た、逆方向からの走査過程での処理でなく、通常の走査
と同方向の走査にて原稿検知処理を行なうことも勿論可
能である。
It is also possible to directly determine the difference between the color of the original pressing surface of the platen cover and the original color. In this case, independent processing (density and color) is performed when the platen cover is open and closed. Further, it is of course possible to perform the document detection processing by scanning in the same direction as normal scanning, instead of processing in the scanning process from the reverse direction.

上記実施例では、原稿検知機能と領域検知機能につい
て個別的に説明したが、双方の機能を一連の処理に実現
することも可能である。例えば、正規の画像読取り走査
の前に、逆方向からの走査を2度、即ち、原稿検知機能
に係る走査と領域検知機能に係る走査を夫々行ない、正
規の走査の過程で、特定された原稿領域を処理の対象と
し、特に特定された領域については他の領域と区別した
処理、例えば、領域センタリング処理、色の変換処理等
を行なう。
In the above embodiment, the document detection function and the area detection function are individually described. However, both functions can be realized in a series of processes. For example, before the normal image reading scan, scanning from the reverse direction is performed twice, that is, scanning related to the document detection function and scanning related to the area detection function are performed, respectively, and the document specified in the process of the regular scanning is The area is set as an object to be processed, and processing for distinguishing the specified area from other areas, such as area centering processing and color conversion processing, is performed.

[発明の効果] 以上説明してきたように本発明によれば、原稿カバー
が開放状態のときには原稿とその背景部の濃度差に基づ
いて原稿エッジ部を検出し、原稿カバーが閉鎖状態のと
きには原稿と原稿カバーの原稿押え面の色差に基づいて
原稿エッジ部を検出し、その検出エッジ部に基づいて原
稿領域を特定するようにしたため、原稿カバーが閉鎖状
態でも原稿地肌への影響が極力小さくなり、かつ、原稿
カバーの開閉状態に係わりなくより精度の良い原稿検知
が可能となる。
[Effects of the Invention] As described above, according to the present invention, when the document cover is open, the document edge is detected based on the density difference between the document and its background, and when the document cover is closed, the document is detected. And the document edge is detected based on the color difference between the document pressing surface of the document cover and the document area is specified based on the detected edge, so that the effect on the document background is minimized even when the document cover is closed. Further, regardless of the open / close state of the document cover, more accurate document detection can be performed.

特に、画像処理の対象となる画像情報を所定の画素単
位に濃度情報と色情報とに区別して読取る画像読取り手
段を備えた画像処理装置では、この画像読取り手段から
の読取り情報を利用し、更にな第一の原稿エッジ検出手
段と、第二の原稿エッジ検出手段とでその構成要素の共
通化を図ることにより、その構成がより簡略されたもの
となる。
In particular, in an image processing apparatus provided with an image reading unit that reads image information to be subjected to image processing while discriminating density information and color information in a predetermined pixel unit, the read information from the image reading unit is used. By sharing the constituent elements between the first document edge detecting means and the second document edge detecting means, the structure is further simplified.

また、プラテン上に読取り主走査に沿った方向がY方
向、同副走査に方向に沿った方向がX方向となるX−Y
座標系を設定し、この座標系にて原稿エッジの最大、最
小位置にて原稿領域を特定するようにしたため、原稿エ
ッジを細かく特定しなくて済む分その特定が容易にな
る。
An XY direction in which the direction along the main scanning direction on the platen is the Y direction, and the direction along the sub-scanning direction is the X direction.
Since the coordinate system is set and the document area is specified at the maximum and minimum positions of the document edge in the coordinate system, the specification becomes easy because the document edge does not need to be specified finely.

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

第1図(a)及び同図(b)は本発明の構成を示すブロ
ック図、第2図は走査系の構造例を示す図、第3図はプ
ラテンカバーの開閉状態を検出する回路の構成例を示す
図、第4図は本発明に係る原稿検知装置が適用される画
像処理装置の全体構成例を示す図、第5図はフルカラー
センサの構造例を示す図、第6図はフルカラーセンサの
各セル配置の一例を示す図、第7図乃至第9図はセンサ
インタフェース回路の構成例を示す回路図、第10図は画
素単位のセル構成の一例を示す図、第11図乃至第12図は
色画情報生成回路の構成例を示す回路図、第13図は色空
間上での判別色の状態を示す図、第14図は色空間におけ
る原点からの距離rと彩度Cとの関係を示す図、第15図
は色空間における角度θと色相Hとの関係を示す図、第
16図は濃度データとカラーフラグとの対応関係を示す
図、第17図は原稿検知回路の基本構成例を示す図、第18
図はプラテン上での原稿のセット状態を示す図、第19図
はYmin検出回路の具体的な構成例を示す回路図、第20図
はYmax検出回路の具体的な構成例を示す回路図、第21図
はX検出回路の具体的な構成例を示す回路図、第22図は
濃度データと検出原稿エッジの関係を示す図、第23図は
Y方向の原稿エッジ位置の検出処理の過程を示すタイミ
ングチャート、第24図はX方向の原稿エッジ位置の検出
処理の過程を示すタイミングチャート、第25図は原稿上
の指定領域の状態を示す図、第26図は原稿上に指定され
た領域と読取り画像濃度データ、検出エッジの各関係を
示す図、第27図は検出原稿エッジデータに基づいた制御
系の基本構成例を示すブロック図、第28図はデータ出力
回路の具体的な構成例を示す図、第29図は最小原稿エッ
ジ位置、最大原稿エッジ位置と原稿先頭位置、原稿終端
位置との関係を示す図、第30図は指定領域の位置管理を
示す図、第31図は電子写真方式の2色プリンタの基本構
成例を示す図、第32図は濃度データをカラーフラグにて
分離する回路の構成例を示す図、第33図は1画素を構成
する分割画素の例を示す図、第34図は濃度データに対応
したレーザ変調コードとレーザ点灯状態との関係を示す
図、第35図はメインカラーとサブカラーの現像特性の一
例を示す図である。 [符号の説明] 1,12……プラテン 2,13……原稿 3,14……プラテンカバー 3a……原稿押え面 4……プラテン開閉判別手段 5……第一の原稿エッジ検出手段 5a……濃度情報二値化手段 5b……濃度変化位置検出手段 5c……原稿エッジ判別手段 6……第二の原稿エッジ検出手段 6a……色検出手段 6b……濃度変換手段 7……原稿領域特定手段 10……フルカラーセンサ 20……センサインタフェース回路 50……色画情報生成回路 70……補正・フィルタ回路 100……編集・加工回路 140……インタフェース回路 150……レーザプリンタ 170……画像送受信機 180……コンピュータ
1 (a) and 1 (b) are block diagrams showing the configuration of the present invention, FIG. 2 is a diagram showing an example of the structure of a scanning system, and FIG. 3 is a configuration of a circuit for detecting the open / closed state of a platen cover. FIG. 4 shows an example of the overall configuration of an image processing apparatus to which the document detection device according to the present invention is applied, FIG. 5 shows a structural example of a full-color sensor, and FIG. 6 shows a full-color sensor. FIG. 7 to FIG. 9 are circuit diagrams showing an example of the configuration of a sensor interface circuit, FIG. 10 is a diagram showing an example of a cell configuration in pixel units, and FIG. 11 to FIG. FIG. 13 is a circuit diagram illustrating a configuration example of a color image information generation circuit. FIG. 13 is a diagram illustrating a state of a discrimination color in a color space. FIG. 14 is a diagram illustrating a relationship between a distance r from an origin and a saturation C in a color space. FIG. 15 is a diagram showing the relationship between the angle θ and the hue H in the color space.
FIG. 16 is a diagram showing a correspondence relationship between density data and a color flag, FIG. 17 is a diagram showing a basic configuration example of a document detection circuit, and FIG.
FIG. 19 is a diagram showing a setting state of an original on a platen, FIG. 19 is a circuit diagram showing a specific configuration example of a Ymin detection circuit, FIG. 20 is a circuit diagram showing a specific configuration example of a Ymax detection circuit, FIG. 21 is a circuit diagram showing a specific configuration example of the X detection circuit, FIG. 22 is a diagram showing a relationship between density data and a detected document edge, and FIG. 23 is a diagram showing a process of detecting a document edge position in the Y direction. FIG. 24 is a timing chart showing a process of detecting a document edge position in the X direction, FIG. 25 is a diagram showing a state of a designated area on the document, and FIG. 26 is a area designated on the document. FIG. 27 is a block diagram showing a basic configuration example of a control system based on detected document edge data, and FIG. 28 is a specific configuration example of a data output circuit. Figure 29 shows the minimum document edge position and the maximum document edge position FIG. 30 is a diagram showing a relationship between a document leading position and a document end position, FIG. 30 is a diagram showing position management of a designated area, FIG. 31 is a diagram showing a basic configuration example of an electrophotographic two-color printer, and FIG. FIG. 33 is a diagram showing a configuration example of a circuit for separating density data by a color flag, FIG. 33 is a diagram showing an example of divided pixels forming one pixel, and FIG. 34 is a laser modulation code and laser lighting state corresponding to the density data. FIG. 35 is a diagram showing an example of the development characteristics of the main color and the sub color. [Explanation of Symbols] 1,12 Platen 2,13 Document 3,14 Platen cover 3a Document holding surface 4 Platen open / close determining means 5 First document edge detecting means 5a Density information binarizing means 5b density change position detecting means 5c document edge discriminating means 6 second document edge detecting means 6a color detecting means 6b density converting means 7 document area specifying means 10 Full color sensor 20 Sensor interface circuit 50 Color information generation circuit 70 Correction / filter circuit 100 Editing / processing circuit 140 Interface circuit 150 Laser printer 170 Image transceiver 180 ……Computer

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】プラテン(1)上に載置された原稿(2)
を光学的に走査して読取られる画像情報の処理を行なう
画像処理装置にあって、 画像処理の対象となる原稿(2)領域を検知する原稿検
知装置において、 プラテン(1)上にて開閉可能なプラテンカバー(3)
の当該原稿押え面(3a)を対象となる原稿の色と異なる
色にて着色し、 プラテンカバー(3)の開放状態(OP)と閉鎖状態(C
L)を判別するプラテン開閉判別手段(4)と、 プラテン開閉判別手段(4)がプラテンカバー(3)の
開放状態(OP)を判別するときに原稿(2)とその背景
部との濃度差に基づいて原稿エッジ部を検出する第一の
原稿エッジ検出手段(5)と、 プラテン開閉判別手段(4)がプラテンカバー(3)の
閉鎖状態(CL)を判別するときに原稿(2)とプラテン
カバー(3)の原稿押え面(3a)の色差に基づいて原稿
エッジ部を検出する第二の原稿エッジ検出手段(6)
と、 第一または第二の原稿エッジ検出手段(5)(6)にて
検出された原稿エッジ部を含む所定領域を原稿領域とし
て特定する原稿領域特定手段(7)とを備えたことを特
徴とする原稿検知装置。
An original (2) placed on a platen (1)
An image processing device that processes image information that is read by optically scanning a document, and that can be opened and closed on a platen (1) in a document detection device that detects the area of the document (2) to be subjected to image processing Na platen cover (3)
The original pressing surface (3a) of the platen cover (3) is colored in a color different from the color of the target original, and the open state (OP) and the closed state (C
Platen open / close determining means (4) for determining L) and the density difference between the document (2) and its background when the platen open / close determining means (4) determines the open state (OP) of the platen cover (3). A first document edge detecting means (5) for detecting a document edge portion based on the document, and a document (2) when the platen open / close determining means (4) determines the closed state (CL) of the platen cover (3). Second document edge detecting means (6) for detecting a document edge portion based on a color difference of the document pressing surface (3a) of the platen cover (3).
And document area specifying means (7) for specifying a predetermined area including the document edge detected by the first or second document edge detecting means (5) (6) as a document area. Document detection device.
【請求項2】画像処理の対象となる画像情報を所定の画
素単位に濃度情報(D)と色情報(C)とに区別して読
取る画像読取り手段(8)を備えた画像処理装置にあっ
て、 第一の原稿エッジ検出手段(5)は、 画像読取り手段(8)での原稿走査の過程で得られる濃
度情報(D)を原稿(2)とその背景部の各読取り濃度
の間で予め定めた基準濃度に基づいて二値化する濃度情
報二値化手段(5a)と、 濃度情報二値化手段(5a)にて得られる二値化情報の変
化位置を検出する濃度変化位置検出手段(5b)と、 濃度変化位置検出手段(5b)での検出位置に基づいて原
稿エッジ位置を判別する原稿エッジ判別手段(5c)とを
備えたことを特徴とする請求項1記載の原稿検知装置。
2. An image processing apparatus comprising image reading means (8) for reading out image information to be subjected to image processing in a predetermined pixel unit while distinguishing between density information (D) and color information (C). The first document edge detecting means (5) converts the density information (D) obtained in the course of the document scanning by the image reading means (8) between the document (2) and each reading density of the background portion thereof in advance. Density information binarization means (5a) for binarizing based on the determined reference density, and density change position detection means for detecting a change position of the binary information obtained by the density information binarization means (5a) 2. The document detecting apparatus according to claim 1, further comprising: (5b) and document edge determining means (5c) for determining a document edge position based on a position detected by the density change position detecting means (5b). .
【請求項3】第二の原稿エッジ検出手段(6)は、 プラテンカバー(3)の原稿押え面(3a)の色を検出す
る色検出手段(6a)と、 色検出手段(6a)にて当該色検出のなされた画素の対応
する濃度情報(D)を上記背景部の読取り濃度に対応し
た濃度(Da)に変換する濃度変換手段(6b)とを備える
と共に、 この濃度変換手段(6b)にて得られる濃度情報(Da)に
基づいて原稿エッジを検出すべく上記第一の原稿エッジ
検出手段(5)における濃度情報二値化手段(5a)と、
濃度変化位置検出手段(5b)と、原稿エッジ判別手段
(5c)とを共用化したことを特徴とする請求項2記載の
原稿検知装置。
3. A second document edge detecting means (6) comprising: a color detecting means (6a) for detecting a color of a document pressing surface (3a) of a platen cover (3); and a color detecting means (6a). Density conversion means (6b) for converting the density information (D) corresponding to the color-detected pixel into a density (Da) corresponding to the read density of the background portion, and the density conversion means (6b) Density information binarization means (5a) in the first document edge detection means (5) for detecting a document edge based on the density information (Da) obtained in
3. The document detecting apparatus according to claim 2, wherein the density change position detecting means (5b) and the document edge discriminating means (5c) are shared.
【請求項4】プラテン(1)上に読取り主走査に沿った
方向がY方向、同副走査に沿った方向がX方向となるX
−Y座標型を設定し、 原稿領域特定手段(7)が、X方向の最大及び最小の原
稿エッジ位置にてX方向の領域特定を行なうX方向領域
特定手段と、Y方向の最大及び最小の原稿エッジ位置に
てY方向の領域特定を行なうY方向領域特定手段とを備
えたことを特徴とする請求項1乃至3いずれか記載の原
稿検知装置。
4. A X direction in which the direction along the main scanning direction is the Y direction and the direction along the sub scanning direction is the X direction on the platen (1).
A Y-coordinate type is set, and a document area specifying means (7) specifies an X-direction area at the maximum and minimum document edge positions in the X direction; 4. The document detecting apparatus according to claim 1, further comprising a Y-direction area specifying unit configured to specify a Y-direction area at a document edge position.
JP1188816A 1989-07-24 1989-07-24 Document detection device Expired - Fee Related JP2958981B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1188816A JP2958981B2 (en) 1989-07-24 1989-07-24 Document detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1188816A JP2958981B2 (en) 1989-07-24 1989-07-24 Document detection device

Publications (2)

Publication Number Publication Date
JPH0354966A JPH0354966A (en) 1991-03-08
JP2958981B2 true JP2958981B2 (en) 1999-10-06

Family

ID=16230319

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1188816A Expired - Fee Related JP2958981B2 (en) 1989-07-24 1989-07-24 Document detection device

Country Status (1)

Country Link
JP (1) JP2958981B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10075614B2 (en) 2016-11-30 2018-09-11 Fuji Xerox Co., Ltd. Image processing apparatus and non-transitory computer readable medium
US10318801B2 (en) 2016-11-25 2019-06-11 Fuji Xerox Co., Ltd. Image processing apparatus and non-transitory computer readable medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6087466A (en) * 1997-03-27 2000-07-11 Kyowa Yuka Co., Ltd. Polyurethane and polyester polyol
JP2009246620A (en) * 2008-03-31 2009-10-22 Brother Ind Ltd Image data generating device
JP5939017B2 (en) * 2012-04-27 2016-06-22 ブラザー工業株式会社 Image reading apparatus and document presence / absence determination program
JP5949173B2 (en) * 2012-05-31 2016-07-06 ブラザー工業株式会社 Image reading apparatus and document presence / absence determination program
KR101623549B1 (en) * 2015-04-17 2016-06-07 주식회사 세롬 A tube for packing and its manufacturing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10318801B2 (en) 2016-11-25 2019-06-11 Fuji Xerox Co., Ltd. Image processing apparatus and non-transitory computer readable medium
US10075614B2 (en) 2016-11-30 2018-09-11 Fuji Xerox Co., Ltd. Image processing apparatus and non-transitory computer readable medium

Also Published As

Publication number Publication date
JPH0354966A (en) 1991-03-08

Similar Documents

Publication Publication Date Title
JPH0250176A (en) Recording distortion correcting device for laser printer
JP2958981B2 (en) Document detection device
US7054490B2 (en) Image processing apparatus and image processing system
US6233000B1 (en) Image forming system having an improved imaging data generator
JP3094413B2 (en) Image processing device
JP2887483B2 (en) Multicolor image information generating apparatus and image processing apparatus using the same
JP3003133B2 (en) Image outline extraction device
JP2958984B2 (en) Image processing device
JP2906459B2 (en) Image shadow line extraction device and image processing device using the same
JP2861056B2 (en) Image processing device
JP3313748B2 (en) Copying apparatus having additional information synthesizing function and additional information synthesizing method
US6462843B2 (en) Image processing apparatus, and processing method in the image processing apparatus
JP2893732B2 (en) Image forming device
JP2001036733A (en) Color image processor
JPH09321989A (en) Edge area detector
JP3010639B2 (en) Image processing device
JP2000341511A (en) Image processor
JPH0514690A (en) Picture editer
JP2008164939A (en) Optical scanner
JPH0392975A (en) Area recognizing device
JP2001057633A (en) Image data processing unit using image area separation processing
JPH07184038A (en) Image processor
JPH01194665A (en) Picture processor
JPH0514630A (en) Marker area detector and detecting method
JPH0354969A (en) Image processor

Legal Events

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