JPH10290329A - Original reading method, device therefor and storage medium - Google Patents

Original reading method, device therefor and storage medium

Info

Publication number
JPH10290329A
JPH10290329A JP9108306A JP10830697A JPH10290329A JP H10290329 A JPH10290329 A JP H10290329A JP 9108306 A JP9108306 A JP 9108306A JP 10830697 A JP10830697 A JP 10830697A JP H10290329 A JPH10290329 A JP H10290329A
Authority
JP
Japan
Prior art keywords
document
size
detection
scanning
photoelectric conversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9108306A
Other languages
Japanese (ja)
Inventor
Ryosuke Miyamoto
了介 宮本
Hideaki Shimizu
秀昭 清水
Hiroyuki Yaguchi
博之 矢口
Yasuhiro Takiyama
康弘 瀧山
Katsuya Suzuki
勝也 鈴木
Naotsugu Itou
直紹 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP9108306A priority Critical patent/JPH10290329A/en
Publication of JPH10290329A publication Critical patent/JPH10290329A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an original reading method capable of preventing an original size from being mis-detected due to flaws on a pressure plate. SOLUTION: The reflected light of an original scanned by a scanner mechanism 115 is photoelectric-converted by a CCD 101, an original size detection circuit 106 detects an original size from an output signal from the CCD 101, preliminary scanning is conducted prior to the substantial scanning and a system controller 114 recognizes mis-detected position. Then the mis-detected position is stored in a page memory 111 and the mis-detected position is excluded from a detected area by the system controller 114 at the substantial scanning.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、CCD(撮像素
子)等のラインセンサを用いて原稿を読み取る原稿読取
方法及び装置並びにこれらの原稿読取方法及び装置に使
用する記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an original reading method and apparatus for reading an original using a line sensor such as a CCD (image pickup device) and a storage medium used for the original reading method and apparatus.

【0002】[0002]

【従来の技術】従来、複写機において、原稿台ガラス上
に載置された原稿のサイズを検知する場合には、原稿サ
イズ検知専用のセンサを用いて原稿のサイズを検知する
場合(以下、センサ検知と記述する)と、プリスキャン
を行って、読み取られた画像データから原稿のサイズを
検知する場合(以下、プリスキャン検知と記述する)と
があるが、これらのいずれの検知方式もメリット及びデ
メリットがある。
2. Description of the Related Art Conventionally, in a copying machine, when detecting the size of a document placed on a platen glass, the size of the document is detected using a sensor dedicated to document size detection (hereinafter referred to as a sensor). There is a case where the size of the document is detected from the read image data by performing pre-scanning (hereinafter referred to as pre-scan detection). There are disadvantages.

【0003】前者のセンサ検知の場合には、プリスキャ
ンを行わずに原稿のサイズを検知できるというメリット
がある反面、原稿サイズ検知専用のセンサを必要とし、
一般的に検知する原稿のサイズに応じてセンサが必要に
なるというデメリットがある。
The former sensor detection has the advantage that the size of the document can be detected without performing prescan, but requires a sensor dedicated to document size detection.
There is a demerit that a sensor is required according to the size of a document to be generally detected.

【0004】後者のプリスキャン検知の場合には、原稿
サイズ検知専用のセンサが不要で、定型サイズ以外にも
検知可能であるというメリットがある反面、必ずプリス
キャンを行わなければならないというデメリットがあ
る。
In the latter case of the pre-scan detection, there is an advantage that a sensor dedicated to document size detection is not required, and it is possible to detect a document other than a standard size, but there is a disadvantage that the pre-scan must be performed without fail. .

【0005】また、プリスキャン検知の場合に問題とな
るのが、原稿台ガラス上に載置された原稿を押さえるた
めの圧板上の傷による誤検知がある。
Also, a problem in the case of the pre-scan detection is an erroneous detection due to a flaw on a pressure plate for pressing an original placed on a platen glass.

【0006】以下、図21を用いてプリスキャン検知方
法について説明する。図21は、原稿台ガラスを上から
見た平面図である。同図において、2101は原稿台ガ
ラス、2102は原稿(斜線部分)であり、左上が原稿
基準位置で、その位置を基準に原稿2102が載置され
ていることを示している。
The prescan detection method will be described below with reference to FIG. FIG. 21 is a plan view of the platen glass viewed from above. In the figure, reference numeral 2101 denotes an original platen glass, 2102 denotes an original (hatched portion), and an upper left corner indicates an original reference position, and indicates that the original 2102 is placed based on the position.

【0007】また、図21において、P1,P2,P3
は副走査方向位置、K1は銀圧板上の傷、V−SYNC
は1ページごとの同期信号、V−ENBLは1ページ期
間内の有効ライン区間を示す信号、H−SYNCは1ラ
インごとの同期信号、H−ENBLは1ライン期間内の
有効画像データ区間を示す信号である。
In FIG. 21, P1, P2, P3
Is the position in the sub-scanning direction, K1 is a scratch on the silver pressing plate, V-SYNC
Is a synchronization signal for each page, V-ENBL is a signal indicating an effective line section within one page period, H-SYNC is a synchronization signal for each line, and H-ENBL indicates an effective image data section within one line period. Signal.

【0008】プリスキャン検知では、原稿台ガラス21
01上に原稿2102が載置されていない状態では、原
稿押さえの原稿台ガラス2101に接する側は光を全反
射させて、画像読取用のCCDに光を入射させないよう
に銀圧板(図示省略)を採用している。
In the pre-scan detection, the platen glass 21
In the state where the original 2102 is not placed on the original 01, the side of the original holder that is in contact with the original platen glass 2101 totally reflects the light and prevents the light from being incident on the image reading CCD (not shown). Is adopted.

【0009】そこで、原稿台ガラス2101上に原稿2
102が載置されてプリスキャンが行われると、原稿2
102が載置された位置がスキャンされ、原稿2102
の濃度に応じてCCDへ光が入射される。一方、原稿2
102が載置されない位置では、前述したように光は圧
板(銀圧板)を全反射してCCDには入射しないため、
CCDの出力信号レベルに差が生じる。このレベル差を
利用して原稿2102の位置を求めるというものであ
る。
Therefore, original 2 is placed on original platen glass 2101.
When the pre-scan is performed while the document 102 is placed, the original 2
The position where the document 102 is placed is scanned, and the original 2102 is scanned.
Light is incident on the CCD according to the density of the light. On the other hand, manuscript 2
At the position where the light source 102 is not mounted, the light is totally reflected by the pressure plate (silver pressure plate) and does not enter the CCD as described above.
A difference occurs in the output signal level of the CCD. The position of the document 2102 is obtained using this level difference.

【0010】このことを図21及び図22を用いて説明
する。図21の原稿台ガラス2101上を基準位置から
矢印のスキャン方向へプリスキャンが行われると、副走
査方向位置P1では、図22の信号1のようにCCD出
力信号が読み出される。図22において点線で示したも
のはしきい値レベルで、このしきい値レベルを超えたと
ころは原稿2102の面が読み取られていることを示し
ている。また、副走査方向位置P2では、図22の信号
2のようにCCD出力信号が読み出される。図22にお
いて、CCD出力信号はしきい値レベルを超えていない
ため、この副走査方向位置P2には原稿2102が存在
しないと判断される。このレベル差に基づいて原稿21
02の「Upper−Left」、「Lower−Le
ft」、「Upper−Right」、「Lower−
Right」の座標をそれぞれ求めることにより、原稿
2102のサイズが検知される。
This will be described with reference to FIGS. 21 and 22. When prescanning is performed from the reference position on the original platen glass 2101 in FIG. 21 in the scanning direction indicated by the arrow, a CCD output signal is read at the sub-scanning direction position P1 as signal 1 in FIG. In FIG. 22, a dotted line indicates a threshold level, and a portion exceeding the threshold level indicates that the surface of the document 2102 is being read. At the position P2 in the sub-scanning direction, the CCD output signal is read as signal 2 in FIG. In FIG. 22, since the CCD output signal does not exceed the threshold level, it is determined that the document 2102 does not exist at the sub-scanning direction position P2. Original 21 based on this level difference
02 "Upper-Left", "Lower-Le
ft "," Upper-Right "," Lower-
By obtaining the coordinates of “Right”, the size of the document 2102 is detected.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、上述し
た従来例にあっては、図21の副走査方向位置P3上の
対応した圧板上に傷K1が存在した場合に、図22の信
号3のように原稿面上ではないにも拘らず、CCDの出
力信号はしきい値レベルを超えてしまうために、原稿サ
イズの誤検知が生じてしまうという問題点があった。
However, in the above-mentioned conventional example, when a flaw K1 is present on the corresponding pressure plate on the sub-scanning direction position P3 in FIG. 21, a signal 3 in FIG. However, since the output signal of the CCD exceeds the threshold level even though it is not on the original surface, there is a problem that an erroneous detection of the original size occurs.

【0012】また、圧板に異物が付着したり、原稿台ガ
ラス2101が汚れている場合にも、同様に原稿サイズ
の誤検知が生じてしまうという問題点があった。
Also, when foreign matter adheres to the pressure plate or the document glass 2101 is dirty, there is another problem that the document size is erroneously detected.

【0013】本発明は上述した従来の技術の有するこの
ような問題点に鑑みてなされたものであり、その第1の
目的とするところは、圧板の傷による原稿サイズの誤検
知を生じないようにした原稿読取方法及び装置を提供し
ようとするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems of the prior art, and a first object of the present invention is to prevent an erroneous detection of an original size due to a scratch on a pressure plate. It is an object of the present invention to provide an original reading method and apparatus.

【0014】また、本発明の第2の目的とするところ
は、原稿サイズの誤検知発生の原因が、圧板への異物付
着や原稿台ガラスの汚れといった場合に、ユーザー対応
で原稿サイズの誤検知を回避することを可能にした原稿
読取方法及び装置を提供しようとするものである。
A second object of the present invention is to provide a method for detecting an erroneous document size in response to a user when the erroneous detection of the document size is caused by the adhesion of a foreign substance to a pressure plate or the contamination of a platen glass. It is an object of the present invention to provide a document reading method and apparatus capable of avoiding the problem.

【0015】更に、本発明の第3の目的とするところ
は、上述したような原稿読取装置を円滑に制御すること
ができる記憶媒体を提供しようとするものである。
Further, a third object of the present invention is to provide a storage medium capable of smoothly controlling the above-described document reading apparatus.

【0016】[0016]

【課題を解決するための手段】上記第1の目的を達成す
るために請求項1記載の原稿読取方法は、走査手段によ
り原稿を読み取る原稿読取工程と、前記走査手段によっ
て走査された原稿の反射光を光電変換手段により光電変
換する光電変換工程と、前記光電変換手段からの出力信
号から原稿サイズ検知手段により原稿のサイズを検知す
る原稿サイズ検知工程と、本来の走査の前に予め走査を
行い誤検知位置認識手段により誤検知位置を認識する誤
検知位置認識工程と、前記誤検知位置を誤検知位置記憶
手段により記憶する誤検知位置記憶工程と、本来の走査
時に誤検知位置除外手段により前記誤検知位置を被検知
領域から除外する誤検知位置除外工程とを有することを
特徴とする。
According to a first aspect of the present invention, there is provided an original reading method for reading an original by scanning means, and a method of reflecting the original scanned by the scanning means. A photoelectric conversion step of photoelectrically converting light by photoelectric conversion means, a document size detection step of detecting the size of a document by a document size detection means from an output signal from the photoelectric conversion means, and scanning in advance before the original scanning. An erroneous detection position recognizing step of recognizing the erroneous detection position by the erroneous detection position recognizing means; an erroneous detection position storing step of storing the erroneous detection position by the erroneous detection position storing means; An erroneous detection position excluding step of excluding the erroneous detection position from the detected area.

【0017】また、上記第2の目的を達成するために請
求項2記載の原稿読取方法は、走査手段により原稿を読
み取る原稿読取工程と、前記走査手段によって走査され
た原稿の反射光を光電変換手段により光電変換する光電
変換工程と、前記光電変換手段からの出力信号から原稿
サイズ検知手段により原稿のサイズを検知する原稿サイ
ズ検知工程と、本来の走査の前に予め走査を行い誤検知
位置認識手段により誤検知位置を認識する誤検知位置認
識工程と、前記誤検知位置認識手段により認識された前
記誤検知位置を表示手段により表示する誤検知位置表示
工程とを有することを特徴とする。
According to a second aspect of the present invention, there is provided an original reading method for reading an original by a scanning unit, wherein the reflected light of the original scanned by the scanning unit is photoelectrically converted. Means for performing photoelectric conversion by means, means for detecting the size of the document by means of the document size detection means from the output signal from the photoelectric conversion means, and scanning in advance before the original scanning to recognize erroneously detected positions. A false detection position recognition step of recognizing a false detection position by means, and a false detection position display step of displaying the false detection position recognized by the false detection position recognition means on a display means.

【0018】また、上記第1の目的を達成するために請
求項3記載の原稿読取装置は、原稿を読み取るための走
査手段と、前記走査手段によって走査された原稿の反射
光を光電変換する光電変換手段と、前記光電変換手段か
らの出力信号から原稿のサイズを検知する原稿サイズ検
知手段と、本来の走査の前に予め走査を行い誤検知位置
を認識する誤検知位置認識手段と、前記誤検知位置を記
憶する誤検知位置記憶手段と、本来の走査時に前記誤検
知位置を被検知領域から除外する誤検知位置除外手段と
を有することを特徴とする。
According to a third aspect of the present invention, there is provided an original reading apparatus, comprising: scanning means for reading an original; and photoelectric conversion means for photoelectrically converting reflected light of the original scanned by the scanning means. Converting means; document size detecting means for detecting the size of the document from the output signal from the photoelectric conversion means; erroneous detection position recognizing means for performing scanning before performing original scanning to recognize erroneous detection positions; An erroneous detection position storage unit for storing a detection position, and an erroneous detection position exclusion unit for excluding the erroneous detection position from the detected area during the original scanning.

【0019】また、上記第2の目的を達成するために請
求項4記載の原稿読取装置は、原稿を読み取るための走
査手段と、前記走査手段によって走査された原稿の反射
光を光電変換する光電変換手段と、前記光電変換手段か
らの出力信号から原稿のサイズを検知する原稿サイズ検
知手段と、本来の走査の前に予め走査を行い誤検知位置
を認識する誤検知位置認識手段と、前記誤検知位置認識
手段により認識された前記誤検知位置を表示する誤検知
位置表示手段とを有することを特徴とする。
According to a fourth aspect of the present invention, there is provided an original reading apparatus, comprising: scanning means for reading an original; and photoelectric conversion means for photoelectrically converting reflected light of the original scanned by the scanning means. Converting means; document size detecting means for detecting the size of the document from the output signal from the photoelectric conversion means; erroneous detection position recognizing means for performing scanning before performing original scanning to recognize erroneous detection positions; An erroneous detection position display unit for displaying the erroneous detection position recognized by the detection position recognition unit.

【0020】また、上記第1の目的を達成するために請
求項5記載の原稿読取方法は、走査手段により原稿を読
み取る原稿読取工程と、前記走査手段によって走査され
た原稿の反射光を光電変換手段により光電変換する光電
変換工程と、前記光電変換手段からの出力信号から原稿
サイズ検知手段により原稿のサイズを検知する原稿サイ
ズ検知工程と、領域サイズ制御手段により被検知領域の
サイズを可変にする領域サイズ制御工程とを有すること
を特徴とする。
According to a fifth aspect of the present invention, there is provided an original reading method for reading an original by a scanning unit, and photoelectrically converting reflected light of the original scanned by the scanning unit. Means for performing photoelectric conversion by means, means for detecting document size by means of document size detection means from output signals from the photoelectric conversion means, and means for varying the size of the detected area by means of area size control means And a region size control step.

【0021】また、上記第1の目的を達成するために請
求項6記載の原稿読取方法は、請求項5記載の原稿読取
方法において、原稿サイズ誤検知発生認識手段により原
稿サイズ誤検知が発生したことを認識する原稿サイズ誤
検知発生認識工程と、前記原稿サイズ誤検知発生認識手
段により原稿サイズ誤検知が発生したことを認識した場
合に被検知領域制御手段により誤検知が発生しないよう
に被検知領域を制御する被検知領域制御工程とを有する
ことを特徴とする。
According to a sixth aspect of the present invention, there is provided an original reading method according to the fifth aspect, wherein the erroneous original size detection is generated by the erroneous original size detection occurrence recognizing means. A document size erroneous detection occurrence recognizing step for recognizing that the document size erroneous detection occurrence recognizing means detects that the document size erroneous detection has occurred; And a detected area control step of controlling the area.

【0022】また、上記第1の目的を達成するために請
求項7記載の原稿読取装置は、原稿を読み取るための走
査手段と、前記走査手段によって走査された原稿の反射
光を光電変換する光電変換手段と、前記光電変換手段か
らの出力信号から原稿のサイズを検知する原稿サイズ検
知手段と、被検知領域のサイズを可変にする領域サイズ
制御手段とを有することを特徴とする。
According to a seventh aspect of the present invention, there is provided an original reading apparatus, comprising: scanning means for reading an original; and photoelectric conversion means for photoelectrically converting reflected light of the original scanned by the scanning means. The image processing apparatus further includes a conversion unit, a document size detection unit that detects a size of the document from an output signal from the photoelectric conversion unit, and an area size control unit that changes the size of the detected area.

【0023】また、上記第1の目的を達成するために請
求項8記載の原稿読取装置は、請求項7記載の原稿読取
装置において、原稿サイズ誤検知が発生したことを認識
する原稿サイズ誤検知発生認識手段と、前記原稿サイズ
誤検知発生認識手段により原稿サイズ誤検知が発生した
ことを認識した場合に誤検知が発生しないように被検知
領域を制御する被検知領域制御手段とを有することを特
徴とする。
According to another aspect of the present invention, there is provided a document reading apparatus for detecting a document size error in which the document size error detection has occurred. Generation recognition means, and detection area control means for controlling a detection area so that erroneous detection does not occur when the document size erroneous detection occurrence recognition means recognizes that erroneous document size detection has occurred. Features.

【0024】また、上記第3の目的を達成するために請
求項9記載の記憶媒体は、原稿を読み取る原稿読取装置
を制御するプログラムを格納する記憶媒体であって、走
査手段により原稿を読み取る原稿読取モジュールと、前
記走査手段によって走査された原稿の反射光を光電変換
手段により光電変換する光電変換モジュールと、前記光
電変換手段からの出力信号から原稿サイズ検知手段によ
り原稿のサイズを検知する原稿サイズ検知モジュール
と、本来の走査の前に予め走査を行い誤検知位置認識手
段により誤検知位置を認識する誤検知位置認識モジュー
ルと、前記誤検知位置を誤検知位置記憶手段により記憶
する誤検知位置記憶モジュールと、本来の走査時に誤検
知位置除外手段により前記誤検知位置を被検知領域から
除外する誤検知位置除外モジュールとを有するプログラ
ムを格納したことを特徴とする。
In order to achieve the third object, a storage medium according to a ninth aspect is a storage medium for storing a program for controlling an original reading apparatus for reading an original, wherein the original is read by scanning means. A reading module, a photoelectric conversion module for photoelectrically converting reflected light of the document scanned by the scanning means by photoelectric conversion means, and a document size for detecting the size of the document by document size detection means from an output signal from the photoelectric conversion means A detection module, a misdetection position recognition module for performing scanning before the original scanning and recognizing the misdetection position by the misdetection position recognition means, and a misdetection position storage for storing the misdetection position by the misdetection position storage means A module and an erroneous detection position at which the erroneous detection position is excluded from the detected area by the erroneous detection position elimination means during the original scanning And characterized by storing a program having an outer module.

【0025】また、上記第3の目的を達成するために請
求項10記載の記憶媒体は、原稿を読み取る原稿読取装
置を制御するプログラムを格納する記憶媒体であって、
走査手段により原稿を読み取る原稿読取モジュールと、
前記走査手段によって走査された原稿の反射光を光電変
換手段により光電変換する光電変換モジュールと、前記
光電変換手段からの出力信号から原稿サイズ検知手段に
より原稿のサイズを検知する原稿サイズ検知モジュール
と、本来の走査の前に予め走査を行い誤検知位置認識手
段により誤検知位置を認識する誤検知位置認識モジュー
ルと、前記誤検知位置認識手段により認識された前記誤
検知位置を表示手段により表示する誤検知位置表示モジ
ュールとを有するプログラムを格納したことを特徴とす
る。
In order to achieve the third object, a storage medium according to a tenth aspect is a storage medium for storing a program for controlling a document reading device for reading a document,
A document reading module for reading a document by scanning means,
A photoelectric conversion module that photoelectrically converts reflected light of a document scanned by the scanning unit by a photoelectric conversion unit, a document size detection module that detects a document size by a document size detection unit from an output signal from the photoelectric conversion unit, An erroneous detection position recognition module for performing scanning in advance before the original scanning and recognizing the erroneously detected position by the erroneously detected position recognition means; A program having a detection position display module is stored.

【0026】また、上記第3の目的を達成するために請
求項11記載の記憶媒体は、原稿を読み取る原稿読取装
置を制御するプログラムを格納する記憶媒体であって、
走査手段により原稿を読み取る原稿読取モジュールと、
前記走査手段によって走査された原稿の反射光を光電変
換手段により光電変換する光電変換モジュールと、前記
光電変換手段からの出力信号から原稿サイズ検知手段に
より原稿のサイズを検知する原稿サイズ検知モジュール
と、領域サイズ制御手段により被検知領域のサイズを可
変にする領域サイズ制御モジュールとを有するプログラ
ムを格納したことを特徴とする。
In order to achieve the third object, a storage medium according to claim 11 is a storage medium for storing a program for controlling a document reading device for reading a document,
A document reading module for reading a document by scanning means,
A photoelectric conversion module that photoelectrically converts reflected light of a document scanned by the scanning unit by a photoelectric conversion unit, a document size detection module that detects a document size by a document size detection unit from an output signal from the photoelectric conversion unit, A program having an area size control module for making the size of the detected area variable by the area size control means is stored.

【0027】また、上記第3の目的を達成するために請
求項12記載の記憶媒体は、請求項11記載の記憶媒体
において、前記プログラムは、原稿サイズ誤検知発生認
識手段により原稿サイズ誤検知が発生したことを認識す
る原稿サイズ誤検知発生認識モジュールと、前記原稿サ
イズ誤検知発生認識手段により原稿サイズ誤検知が発生
したことを認識した場合に被検知領域制御手段により誤
検知が発生しないように被検知領域を制御する被検知領
域制御モジュールとを有することを特徴とする。
According to a twelfth aspect of the present invention, in the storage medium according to the twelfth aspect, the program is such that the erroneous document size detection is performed by the erroneous document size detection occurrence recognition means. The document size error detection occurrence recognition module for recognizing the occurrence of the error and the document size error detection occurrence recognition means so that when the document size error detection is recognized to have occurred, the detected area control means does not cause the false detection. And a detected area control module for controlling the detected area.

【0028】[0028]

【発明の実施の形態】以下、本発明の各実施の形態を図
1〜図20に基づき説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to FIGS.

【0029】(第1の実施の形態)まず、本発明の第1
の実施の形態を図1〜図10に基づき説明する。図1
は、本発明の第1の実施の形態に係る原稿読取装置を具
備した画像処理装置であるデジタル複写機の画像処理部
分の構成を示すブロック図である。同図において、ま
ず、CCD(撮像素子)101から読み出された画像信
号(R,G,B)が、サンプル&ホールド回路(S/H
回路)102を経てA(アナログ)/D(デジタル)コ
ンバータ103でデジタル信号に変換される。シェーデ
ィング補正回路104は、原稿をスキャンする前に主走
査方向での画素単位で信号のばらつきを補正するもので
ある。なお、このシェーディング補正回路104のシェ
ーディング補正動作については、従来周知の技術である
から、その説明は省略する。
(First Embodiment) First, the first embodiment of the present invention will be described.
An embodiment will be described with reference to FIGS. FIG.
FIG. 1 is a block diagram illustrating a configuration of an image processing portion of a digital copying machine that is an image processing apparatus including a document reading device according to a first embodiment of the present invention. In the figure, first, an image signal (R, G, B) read from a CCD (image pickup device) 101 is supplied to a sample & hold circuit (S / H).
Circuit) 102, and is converted into a digital signal by an A (analog) / D (digital) converter 103. The shading correction circuit 104 corrects a signal variation for each pixel in the main scanning direction before scanning a document. Note that the shading correction operation of the shading correction circuit 104 is a well-known technique in the related art, and thus the description thereof is omitted.

【0030】マスキング回路105は、CCD101及
びカラーフィルタの特性を考慮して、シェーディング補
正回路104で補正後のRGB信号を標準RGB信号に
変換するものである。原稿サイズ検知回路106は、誤
検知マスク機能付であり且つマスキング回路105の出
力のRGB信号の内で最も高いレベルの信号(以下、M
AX−RGB信号と記述する)を用いて画像信号から原
稿のサイズを検知するものである。これは、原稿の下地
の色に対して検知精度を向上させるためである。
The masking circuit 105 converts the RGB signals corrected by the shading correction circuit 104 into standard RGB signals in consideration of the characteristics of the CCD 101 and the color filters. The original size detection circuit 106 has an erroneous detection mask function and has the highest level signal (hereinafter referred to as M) of the RGB signals output from the masking circuit 105.
AX-RGB signal) to detect the size of the original from the image signal. This is to improve the detection accuracy for the background color of the document.

【0031】データ変換回路107は、RGB信号から
濃度データを生成するものである。このデータ変換回路
107以降は、濃度データに対して画像信号処理が行わ
れるものである。メモリデータコントローラ108は、
データ変換回路107から出力される濃度データの流れ
を、変倍回路109や圧縮伸長回路110や中間調処理
回路112へ、その処理に応じて切り換えるものであ
る。また、メモリデータコントローラ108は、変倍回
路109から出力される濃度データの流れを、圧縮伸長
回路110や中間調処理回路112へ、その処理に応じ
て切り換えたり、圧縮伸長回路110から出力される濃
度データの流れを、変倍回路109や中間調処理回路1
12へ、その処理に応じて切り換えるものである。
The data conversion circuit 107 generates density data from RGB signals. After the data conversion circuit 107, image signal processing is performed on the density data. The memory data controller 108
The flow of the density data output from the data conversion circuit 107 is switched to a scaling circuit 109, a compression / expansion circuit 110, and a halftone processing circuit 112 according to the processing. The memory data controller 108 switches the flow of the density data output from the scaling circuit 109 to the compression / expansion circuit 110 or the halftone processing circuit 112 according to the processing, or outputs the density data from the compression / expansion circuit 110. The flow of the density data is transmitted to the scaling circuit 109 and the halftone processing circuit 1
The process is switched to 12 according to the processing.

【0032】メモリデータコントローラ108から出力
される濃度データは、中間調処理回路112によってス
クリーン処理や誤差拡散処理等のプリンタ113に対応
した処理が施された後に出力される。圧縮伸長回路11
0から出力される濃度データは、ページメモリ111に
格納される。システムコントローラ114は、各処理ブ
ロックに対して設定を行うものである。
The density data output from the memory data controller 108 is output after the halftone processing circuit 112 performs processing such as screen processing and error diffusion processing corresponding to the printer 113. Compression / expansion circuit 11
The density data output from 0 is stored in the page memory 111. The system controller 114 performs settings for each processing block.

【0033】ここで、システムコントローラ114に対
して割り込み信号が出力され、その割り込み処理におい
て、システムコントローラ114で原稿サイズに応じた
設定が行われる。この設定動作については後述する。
Here, an interrupt signal is output to the system controller 114, and in the interrupt processing, the system controller 114 performs setting according to the document size. This setting operation will be described later.

【0034】スキャナメカ(走査系機械部)115は、
走査のためのモータ、ミラー台、光学系案内レール等か
ら構成されるものである。表示部116で、各モード設
定を行ったり、メッセージの表示を行うものである。
The scanner mechanism (scanning mechanical section) 115
It is composed of a motor for scanning, a mirror base, an optical system guide rail, and the like. The display unit 116 sets each mode and displays a message.

【0035】図2は、図1における誤検知マスク機能付
きの原稿サイズ検知回路106の構成を示すブロック図
である。原稿サイズ検知回路106は、コンパレータ2
01、マトリクス処理回路202、FIFO203、タ
イミング発生回路204、H−カウンタ205、V−カ
ウンタ206、誤検知アドレスレジスタ207,20
8,209、原稿アドレスレジスタ210及びマスク信
号発生回路211を有している。
FIG. 2 is a block diagram showing the configuration of the document size detection circuit 106 with the erroneous detection mask function in FIG. The document size detection circuit 106 is a comparator 2
01, matrix processing circuit 202, FIFO 203, timing generation circuit 204, H-counter 205, V-counter 206, misdetection address registers 207, 20
8, 209, a document address register 210 and a mask signal generation circuit 211.

【0036】図2において、MAX−RGBは、図1の
マスキング回路105の出力のRGB信号の内で最も高
いレベルの信号、H−enbは、1ライン期間内におけ
る有効画像データ区間を示す信号、VCLKは、ビデオ
クロック信号、H−syncは、1ラインごとの同期信
号、V−endは、1ページ期間内の有効ライン区間を
示す信号、V−syncは、1ページごとの同期信号、
CPU−DATAは、システムコントローラ114のC
PUからのデータ信号である。
In FIG. 2, MAX-RGB is the highest level signal among the RGB signals output from the masking circuit 105 of FIG. 1, H-enb is a signal indicating an effective image data section within one line period, VCLK is a video clock signal, H-sync is a synchronization signal for each line, V-end is a signal indicating an effective line section within one page period, V-sync is a synchronization signal for each page,
CPU-DATA is the C of the system controller 114.
This is a data signal from the PU.

【0037】図1のマスキング回路105からのMAX
−RGB信号は、コンパレータ201の入力部Aに入力
する。また、このコンパレータ201の入力部Bには、
図1のシステムコントローラ114側から原稿サイズ検
知回路106のレジスタの値としてサイズ検知される原
稿の濃度レベルに応じて、しきい値が設定される。
MAX from masking circuit 105 in FIG.
The RGB signal is input to the input unit A of the comparator 201. Also, the input section B of the comparator 201 has:
A threshold value is set according to the density level of the document whose size is detected as the value of the register of the document size detection circuit 106 from the system controller 114 in FIG.

【0038】コンパレータ201では、図1のCCD1
01の出力信号の1画素ごとに前記しきい値との比較が
行われて、A>Bのとき、”H(High)”が出力さ
れる。マトリクス処理回路202では、コンパレータ2
01の出力から、原稿面上を読んでいるか否かが判別さ
れる。また、このコンパレータ201は、比較動作許可
信号ENB端子を持っている。この比較動作許可信号E
NB端子には、マスク信号発生回路211のMask0
信号端子が接続される。この比較動作許可信号ENB端
子出力が”H”のときは、比較結果が出力され、”L”
のときは、比較出力は常に”L”となる。ここで、コン
パレータ201の出力から原稿面上を読んでいるか否か
が判断される。FIFO203は、マトリクス処理回路
202で副走査方向に複数ライン分のデータを保持する
ものである。
In the comparator 201, the CCD 1 shown in FIG.
The output signal of 01 is compared with the threshold value for each pixel, and when A> B, “H (High)” is output. In the matrix processing circuit 202, the comparator 2
From the output of 01, it is determined whether or not the original is being read. Further, the comparator 201 has a comparison operation permission signal ENB terminal. This comparison operation permission signal E
The NB terminal has Mask0 of the mask signal generation circuit 211.
The signal terminal is connected. When the comparison operation enable signal ENB terminal output is “H”, the comparison result is output and “L”
In this case, the comparison output is always "L". Here, it is determined from the output of the comparator 201 whether or not the original is being read. The FIFO 203 holds data for a plurality of lines in the sub-scanning direction in the matrix processing circuit 202.

【0039】タイミング発生回路204は、マトリクス
処理回路202、FIFO203の制御信号を発生した
り、また、システムコントローラ114への割り込み信
号であるアドレス読み出し要求信号も発生する。H−カ
ウンタ205は、主走査方向のアップカウンタである。
1ラインごとの同期信号H−syncでH−カウンタ2
05がリセットされて、1ライン期間内における有効画
像データ区間を示す信号H−enbが”L(Low)”
のときカウントアップ動作を行う。クロック入力には、
ピクセルクロックのビデオクロック信号VCLKが入力
される。本実施の形態では、解像度600dpiでA4
サイズの原稿の縦(297mm)の場合に、(297/
25.4)*600=7014が最大必要なカウント数
なので、ここでは13ビット(bit)のバイナリカウ
ンタとする。
The timing generation circuit 204 generates a control signal for the matrix processing circuit 202 and the FIFO 203, and also generates an address read request signal which is an interrupt signal to the system controller 114. The H-counter 205 is an up counter in the main scanning direction.
H-counter 2 with synchronization signal H-sync for each line
05 is reset, and the signal H-enb indicating the valid image data section within one line period is set to “L (Low)”.
When, the count-up operation is performed. Clock input:
A video clock signal VCLK of a pixel clock is input. In the present embodiment, A4
In the case of a vertical (297 mm) size original, (297 /
25.4) Since * 600 = 7014 is the maximum required count number, a 13-bit (bit) binary counter is used here.

【0040】V−カウンタ206は、副走査方向のアッ
プカウンタである。1ページごとの同期信号V−syn
cでV−カウンタ206がリセットされて、1ページ期
間内の有効ライン区間を示す信号V−enbが”L(L
ow)”のときカウントアップ動作を行う。そして、前
記信号H−syncの立ち上がりエッジ入力ごとにイン
クリメントされる。副走査方向では、A3サイズの原稿
の縦(420mm)の場合に、(420/25.4)*
600=9921が最大必要なカウント数なので、ここ
では14ビット(bit)のバイナリカウンタとする。
The V-counter 206 is an up counter in the sub-scanning direction. Synchronization signal V-syn for each page
c, the V-counter 206 is reset, and the signal V-enb indicating an effective line section within one page period becomes “L (L
ow) ", the count is incremented every time a rising edge of the signal H-sync is input. In the sub-scanning direction, (420/25) in the case of vertical (420 mm) of an A3-size document. .4) *
Since 600 = 9921 is the maximum required count number, a 14-bit (bit) binary counter is used here.

【0041】誤検知アドレスレジスタ207〜209
は、各々誤検知が発生した際のアドレスレジスタで、こ
れらのレジスタ207〜209の値に基づいて、マスク
信号発生回路211では、Mask0信号端子からコン
パレータ201の動作許可信号Mask0が出力され
る。原稿アドレスレジスタ210は、各々原稿の「Up
per−Left」、「Lower−Left」、「U
pper−Right」、「Lower−Right」
の座標である、H−カウンタ205及びV−カウンタ2
06の値を格納するものである。ここで、原稿アドレス
レジスタ210の書き込み動作については、後述する。
Misdetection address registers 207-209
Is an address register when an erroneous detection occurs. In the mask signal generating circuit 211, an operation permission signal Mask0 of the comparator 201 is output from a Mask0 signal terminal based on the values of these registers 207 to 209. The document address register 210 stores “Up”
per-Left "," Lower-Left "," U
"pper-Right", "Lower-Right"
H-counter 205 and V-counter 2
06 is stored. Here, the writing operation of the document address register 210 will be described later.

【0042】マスク信号発生回路211は、マスク信号
を発生するもので、図3に示すように構成されている。
即ち、図3はマスク信号発生回路211の構成を示すブ
ロック図であり、同図に示すように、マスク信号発生回
路211は、比較器301,302,303,304,
305,306,307,308,309,310,3
11,312、J−K F/F313,314,31
5,316,317,318、ANDゲート319,3
20,321及びORゲート322を有している。
The mask signal generation circuit 211 generates a mask signal, and is configured as shown in FIG.
3 is a block diagram showing the configuration of the mask signal generation circuit 211. As shown in FIG. 3, the mask signal generation circuit 211 includes comparators 301, 302, 303, 304,
305, 306, 307, 308, 309, 310, 3
11,312, JK F / F313,314,31
5,316,317,318, AND gates 319,3
20, 321 and an OR gate 322.

【0043】図2に示すように、マスク信号発生回路2
11には、H−カウンタ205、Vカウンタ206及び
誤検知アドレスレジスタ207〜209の出力信号が各
々入力されている。
As shown in FIG. 2, the mask signal generation circuit 2
To 11, output signals of the H-counter 205, the V counter 206, and the erroneously detected address registers 207 to 209 are respectively input.

【0044】即ち、第1のANDゲート319について
注目すると、第1の誤検知アドレスレジスタ207のV
のレジスタ値とV−カウンタ206の値とが第1の比較
器301により比較され、その比較出力が第1のJ−K
F/F313のJ端子に入力される。また、同様に第
1の誤検知アドレスレジスタ207のVのレジスタ値と
V−カウンタ206の値+マトリクスサイズとが第2の
比較器302により比較され、その比較出力が第1のJ
−K F/F313のK端子に入力される。また、同様
に第1の誤検知アドレスレジスタ207のHのレジスタ
値とH−カウンタ206の値とが第3の比較器303に
より比較され、その比較出力が第2のJ−K F/F3
14のJ端子に入力される。また、同様に第1の誤検知
アドレスレジスタ207のHのレジスタ値+マトリクス
サイズとH−カウンタ206の値とが第4の比較器30
4により比較され、その比較出力が第2のJ−K F/
F314のK端子に入力される。そして、第1及び第2
のJ−K F/F313,314の各出力端子Qからの
比較出力が、第1のANDゲート319の入力端子に入
力される。更に、第1のANDゲート319の入力端子
にはH−enb信号が入力される。第1のANDゲート
319の出力は、H−enb信号が”L”のときには”
H”となり、更に、第1及び第2のJ−K F/F31
3,314の各出力端子Qからの比較出力が”H”のと
きに、マスクされて”L”となる。
That is, focusing on the first AND gate 319, the V of the first false detection address register 207
Is compared with the value of the V-counter 206 by the first comparator 301, and the comparison output is the first JK
The signal is input to the J terminal of the F / F 313. Similarly, the V register value of the first erroneous detection address register 207 and the value of the V-counter 206 + the matrix size are compared by the second comparator 302, and the comparison output is the first J value.
-K Input to the K terminal of F / F 313. Similarly, the H register value of the first false detection address register 207 and the value of the H-counter 206 are compared by the third comparator 303, and the comparison output is used as the second JK F / F3
14 are input to the J terminal. Similarly, the value of the H register value + matrix size of the first false detection address register 207 and the value of the H-counter 206 are stored in the fourth comparator 30.
4 and the comparison output is the second J-K F /
It is input to the K terminal of F314. And the first and second
The comparison output from each output terminal Q of the JK F / Fs 313 and 314 is input to the input terminal of the first AND gate 319. Further, the input terminal of the first AND gate 319 receives the H-enb signal. The output of the first AND gate 319 is “H” when the H-enb signal is “L”.
H ”, and the first and second JK F / F31
When the comparison output from each of the output terminals Q of 3,314 is "H", it is masked to "L".

【0045】同様に、第2のANDゲート320につい
て注目すると、第2の誤検知アドレスレジスタ208の
Vのレジスタ値とV−カウンタ206の値とが第5の比
較器305により比較され、その比較出力が第3のJ−
K F/F315のJ端子に入力される。また、同様に
第2の誤検知アドレスレジスタ208のVのレジスタ値
とV−カウンタ206の値+マトリクスサイズとが第6
の比較器306により比較され、その比較出力が第3の
J−K F/F315のK端子に入力される。また、同
様に第2の誤検知アドレスレジスタ207のHのレジス
タ値とH−カウンタ206の値とが第7の比較器307
により比較され、その比較出力が第4のJ−K F/F
316のJ端子に入力される。また、同様に第2の誤検
知アドレスレジスタ208のHのレジスタ値+マトリク
スサイズとH−カウンタ206の値とが第8の比較器3
08により比較され、その比較出力が第4のJ−K F
/F316のK端子に入力される。そして、第3及び第
4のJ−K F/F315,316の各出力端子Qから
の比較出力が、第2のANDゲート320の入力端子に
入力される。更に、第2のANDゲート320の入力端
子にはH−enb信号が入力される。第2のANDゲー
ト320の出力は、H−enb信号が”L”のときに
は”H”となり、更に、第3及び第4のJ−K F/F
315,316の各出力端子Qからの比較出力が”H”
のときに、マスクされて”L”となる。
Similarly, focusing on the second AND gate 320, the V register value of the second false detection address register 208 and the value of the V-counter 206 are compared by the fifth comparator 305. The output is the third J-
It is input to the J terminal of KF / F315. Similarly, the value of the V register of the second false detection address register 208 and the value of the V−counter 206 plus the matrix size are equal to the sixth.
And the comparison output is input to the K terminal of the third J-K F / F 315. Similarly, the value of the H register of the second false detection address register 207 and the value of the H-counter 206 are compared with the values of the seventh comparator 307.
And the comparison output is the fourth J-K F / F
316 is input to the J terminal. Similarly, the value of the H register value + matrix size of the second false detection address register 208 and the value of the H-counter 206 are the same as those of the eighth comparator 3.
08, and the comparison output is the fourth J-K F
/ F316 is input to the K terminal. The comparison output from each output terminal Q of the third and fourth JK F / Fs 315 and 316 is input to the input terminal of the second AND gate 320. Further, an H-enb signal is input to an input terminal of the second AND gate 320. The output of the second AND gate 320 becomes “H” when the H-enb signal is “L”, and the third and fourth JK F / Fs
The comparison output from each output terminal Q of 315 and 316 is "H".
At this time, it is masked to "L".

【0046】同様に、第3のANDゲート321につい
て注目すると、第3の誤検知アドレスレジスタ209の
Vのレジスタ値とV−カウンタ206の値とが第9の比
較器309により比較され、その比較出力が第5のJ−
K F/F317のJ端子に入力される。また、同様に
第3の誤検知アドレスレジスタ209のVのレジスタ値
とV−カウンタ206の値+マトリクスサイズとが第1
0の比較器310により比較され、その比較出力が第5
のJ−K F/F317のK端子に入力される。また、
同様に第3の誤検知アドレスレジスタ209のHのレジ
スタ値とH−カウンタ206の値とが第11の比較器3
11により比較され、その比較出力が第6のJ−K F
/F318のJ端子に入力される。また、同様に第3の
誤検知アドレスレジスタ209のHのレジスタ値+マト
リクスサイズとH−カウンタ206の値とが第12の比
較器312により比較され、その比較出力が第6のJ−
KF/F318のK端子に入力される。そして、第5及
び第6のJ−K F/F317,318の各出力端子Q
からの比較出力が、第3のANDゲート321の入力端
子に入力される。更に、第3のANDゲート321の入
力端子にはH−enb信号が入力される。第3のAND
ゲート321の出力は、H−enb信号が”L”のとき
には”H”となり、更に、第5及び第6のJ−K F/
F317,318の各出力端子Qからの比較出力が”
H”のときに、マスクされて”L”となる。
Similarly, focusing on the third AND gate 321, the register value of V of the third false detection address register 209 and the value of the V-counter 206 are compared by the ninth comparator 309, and the comparison is performed. The output is the fifth J-
It is input to the J terminal of KF / F317. Similarly, the register value of V of the third false detection address register 209 and the value of V−counter 206 + matrix size are equal to the first.
0 and the comparison output is the fifth
Is input to the K terminal of the J-K F / F 317. Also,
Similarly, the register value of H of the third false detection address register 209 and the value of the H-counter 206 correspond to the values of the eleventh comparator 3.
11 and the comparison output is the sixth JK F
/ F318 is input to the J terminal. Similarly, the twelfth comparator 312 compares the register value of H of the third false detection address register 209 with the matrix size and the value of the H-counter 206, and compares the comparison output with the sixth J-
It is input to the K terminal of KF / F318. Then, each output terminal Q of the fifth and sixth JK F / Fs 317 and 318
Is input to the input terminal of the third AND gate 321. Further, the input terminal of the third AND gate 321 receives the H-enb signal. Third AND
The output of the gate 321 becomes “H” when the H-enb signal is “L”, and further, the fifth and sixth JK F /
The comparison output from each output terminal Q of F317 and 318 is "
At the time of "H", it is masked and becomes "L".

【0047】第1〜第3のANDゲート319〜321
からそれぞれ出力されるマスク信号(Mask01,M
ask02,Mask03)は、ORゲート322に入
力され、Mask0信号として出力される。
First to third AND gates 319 to 321
Mask signals (Mask 01, M
Ask02, Mask03) are input to the OR gate 322 and output as a Mask0 signal.

【0048】次に、原稿サイズ検知回路106の原稿ア
ドレスレジスタ210のアドレス格納動作を図4〜図7
を用いて説明する。図4及び図5は、原稿サイズ検知回
路106の原稿アドレスレジスタ210のアドレス格納
動作をシーケンシャルに説明したフローチャート、図6
及び図7は、原稿サイズ検知回路106の原稿アドレス
レジスタ210のアドレス格納動作を説明するための図
である。
Next, the address storing operation of the document address register 210 of the document size detection circuit 106 will be described with reference to FIGS.
This will be described with reference to FIG. 4 and 5 are flow charts for sequentially explaining the address storing operation of the document address register 210 of the document size detecting circuit 106.
7A and 7B are diagrams for explaining an address storing operation of the document address register 210 of the document size detection circuit 106.

【0049】図4において、まず、ステップS401で
プリスキャンをスタートする。次にステップS402で
マトリクス処理回路202(図2参照)の出力GEN
が”L”から”H”に変わったか否か、即ちスキャン位
置が原稿面に達したか否かを判別する。そして、GEN
=Lの場合には、即ちスキャン位置が原稿面に達しない
場合には、ステップS403へ進んで1ライン分のスキ
ャンが終了したか否かを判別する。そして、1ライン分
のスキャンが終了しない場合は、前記ステップS402
へ戻り、また、1ライン分のスキャンが終了した後もG
EN=Hとならない場合には、ステップS404へ進ん
でV−カウンタ206(図2参照)がインクリメントさ
れた後、前記ステップS402へ戻り、次のラインの出
力GENが”L”から”H”に変わったか否かを判別す
る。
In FIG. 4, first, a prescan is started in step S401. Next, in step S402, the output GEN of the matrix processing circuit 202 (see FIG. 2)
Is changed from "L" to "H", that is, whether the scan position reaches the document surface. And GEN
If L = L, that is, if the scan position does not reach the document surface, the flow advances to step S403 to determine whether the scan for one line has been completed. If the scanning for one line is not completed, the process proceeds to step S402.
Return to G
If EN = H is not satisfied, the process proceeds to step S404, where the V-counter 206 (see FIG. 2) is incremented, and then returns to step S402 to change the output GEN of the next line from "L" to "H". Determine whether it has changed.

【0050】このようにして、前記ステップS402に
おいて、GEN=Hとなった場合には、即ちスキャン位
置が原稿面に達した場合には、ステップS405でその
ときのH−カウンタ205及びV−カウンタ206の値
をLL1(H,V)に格納する。
As described above, if GEN = H in step S402, that is, if the scan position has reached the document surface, in step S405, the H-counter 205 and V-counter at that time are set. The value of 206 is stored in LL1 (H, V).

【0051】次にステップS406でGENが”H”か
ら”L”に変わったか否か、即ちスキャン位置が原稿面
上でなくなったか否かを、スキャン位置が原稿面上でな
くなるまで判別する。そして、GEN=Lの場合には、
即ちスキャン位置が原稿面上でなくなった場合には、ス
テップS407でそのときのH−カウンタ205及びV
−カウンタ206の値をLR1(H,V)に格納する。
そして、ステップS408でこのときのLL1(H,
V)の値を原稿の「Upper−Left」の位置とし
てU−L(H,V)に格納する。そして、ステップS4
09で次のラインのデータを待つためにV−カウンタ2
06をインクリメントした後、ステップS410へ進
む。
Next, in step S406, it is determined whether or not GEN has changed from "H" to "L", that is, whether or not the scan position is no longer on the document surface until the scan position is no longer on the document surface. And when GEN = L,
That is, if the scan position is no longer on the document surface, the H-counter 205 and V
-Store the value of the counter 206 in LR1 (H, V).
Then, in step S408, LL1 (H,
The value of (V) is stored in UL (H, V) as the position of “Upper-Left” of the document. Then, step S4
At 09, the V-counter 2 waits for data of the next line.
After incrementing 06, the process proceeds to step S410.

【0052】このステップS410では、次のラインの
データのマトリクス処理回路202の出力GENが”
L”から”H”に変わったか否か、即ちスキャン位置が
原稿面に達したか否かを判別する。そして、GEN=H
になった場合には、ステップS411でそのときのH−
カウンタ205及びV−カウンタ206の値をLL2
(H,V)に格納する。次にステップS412でマトリ
クス処理回路202の出力GENが”H”から”L”に
変わったか否かを、”H”から”L”に変わるまで判別
する。そして、出力GEN=Lになった場合には、ステ
ップS413でそのときのH−カウンタ205及びV−
カウンタ206の値をLR2(H,V)に格納した後、
図5のステップS501へ進む。
In this step S410, the output GEN of the matrix processing circuit 202 for the data of the next line is "
It is determined whether or not L has changed from "L" to "H", that is, whether or not the scan position has reached the document surface.
, The H- at that time is determined in step S411.
The values of the counter 205 and the V-counter 206 are set to LL2
(H, V). Next, in step S412, it is determined whether or not the output GEN of the matrix processing circuit 202 has changed from “H” to “L” until it changes from “H” to “L”. Then, when the output GEN = L, in step S413, the H-counter 205 and V-
After storing the value of the counter 206 in LR2 (H, V),
The process proceeds to step S501 in FIG.

【0053】このステップS501では、前ラインLL
1のH−カウンタ205の値「LL1(H)」と今のラ
インLL2のH−カウンタ205の値「LL2(H)」
とを比較して、LL2(H)がLL1(H)より大きい
か否か「LL1(H)<LL2(H)」を判別する。そ
して、LL2(H)がLL1(H)より大きい場合は、
ステップS502でUpper−Rightの原稿位置
(U−R)がセット済みか否かを判別する。そして、前
記U−Rがセット済みでない場合は、ステップS503
でUpper−Rightの原稿位置としてU−R
(H,V)を格納した後、ステップS504へ進む。
In this step S501, the previous line LL
1 value of the H-counter 205 “LL1 (H)” and the current value of the H-counter 205 of the line LL2 “LL2 (H)”
LL2 (H) is larger than LL1 (H) to determine whether "LL1 (H) <LL2 (H)". And when LL2 (H) is larger than LL1 (H),
In step S502, it is determined whether the upper-right document position (UR) has been set. If the UR has not been set, the process proceeds to step S503.
Is set to U-R as the upper-right document position.
After storing (H, V), the process proceeds to step S504.

【0054】前記ステップS503における格納動作に
ついて、図6のH−Vカウンタの座標を用いて説明す
る。今、U−L(H,V)が格納されて、次にプリスキ
ャンが進んで、GEN=HのLL2(H)は、常に前ラ
インより小となる。このLL1(H)とLL2(H)と
の関係は、原稿位置の右上(Upper−Right)
まで続く。そして、初めてLL1(H)<LL2(H)
のときにU−R(H,V)が確定することになる。
The storing operation in step S503 will be described using the coordinates of the HV counter in FIG. Now, UL (H, V) is stored, and then the prescan proceeds, and LL2 (H) of GEN = H is always smaller than the previous line. The relationship between LL1 (H) and LL2 (H) is based on the upper right of the document position (Upper-Right).
Continue until. And for the first time, LL1 (H) <LL2 (H)
UR (H, V) is determined at the time of.

【0055】再び図5に戻って、前記ステップS501
においてLL2(H)がLL1(H)より大きくない場
合及び前記ステップS502において前記U−Rがセッ
ト済みの場合は、いずれもステップS504へ進む。
Returning to FIG. 5, the aforementioned step S501 is executed again.
In, if LL2 (H) is not greater than LL1 (H) and if the UR is already set in step S502, the process proceeds to step S504.

【0056】このステップS504では、前ラインLR
1のH−カウンタ205の値「LR1(H)」と今のラ
インLR2のH−カウンタ205の値「LR2(H)」
とを比較して、LR1(H)がLR2(H)より大きい
か否か「LR1(H)<LR2(H)」を判別する。そ
して、LR1(H)がLR2(H)より大きい場合は、
ステップS505でUpper−Leftの原稿位置
(U−L)がセット済みか否かを判別する。そして、前
記U−Lがセット済みでない場合は、ステップS506
でUpper−Leftの原稿位置としてL−L(H,
V)を格納した後、ステップS507へ進む。
In step S504, the previous line LR
The value “LR1 (H)” of the H-counter 205 of “1” and the value “LR2 (H)” of the H-counter 205 of the current line LR2
LR1 (H) is larger than LR2 (H) to determine whether “LR1 (H) <LR2 (H)”. And when LR1 (H) is larger than LR2 (H),
In step S505, it is determined whether or not the Upper-Left original position (UL) has been set. If the UL has not been set, the process proceeds to step S506.
In the upper-left document position, LL (H,
After storing V), the process proceeds to step S507.

【0057】前記ステップS504においてLR1
(H)がLR2(H)より大きくない場合及び前記ステ
ップS505において前記U−Lがセット済みの場合
は、いずれもステップS507へ進む。
In step S504, LR1
If (H) is not greater than LR2 (H) and if the UL has been set in step S505, the process proceeds to step S507.

【0058】このステップS507では、今のラインの
アドレスを前ラインデータとする。即ち、LL1(H,
V)=LL2(H,V)及びLR1(H,V)=LR2
(H,V)とする。次にステップS508で次のライン
のデータを待つためにVカウンタ206をインクリメン
トする。次にステップS509でLower−Left
の原稿位置(L−L)及びUpper−Rightの原
稿位置(U−R)がセット済みか否かを判別する。そし
て、前記L−L及びU−Rがセット済みでない場合は、
前記図4のステップS410へ戻る。そこからは、U−
R,L−Lのどちらもレジスタへ格納されるまで、ここ
の動作を繰り返す。
In step S507, the address of the current line is set as the previous line data. That is, LL1 (H,
V) = LL2 (H, V) and LR1 (H, V) = LR2
(H, V). Next, in step S508, the V counter 206 is incremented to wait for data of the next line. Next, in step S509, the Lower-Left
It is determined whether the original document position (LL) and the original document position (U-R) of Upper-Right have been set. If the LL and UR have not been set,
The process returns to step S410 in FIG. From there, U-
This operation is repeated until both R and LL are stored in the register.

【0059】また、前記ステップS509において、L
−L及びU−Rがセット済みの場合は、ステップS51
0へ進んで、マトリクス処理回路202の出力GEN
が”L”から”H”に変わったか否かを、”L”から”
H”に変わるまで判別する。そして、出力GEN=Hに
なった場合には、ステップS511でそのときのH−カ
ウンタ205及びV−カウンタ206の値をLL1
(H,V)に格納した後、次のステップS512へ進
む。
In step S509, L
If -L and UR have been set, step S51
0, the output GEN of the matrix processing circuit 202
Is changed from "L" to "H".
H ”. If the output GEN = H, the values of the H-counter 205 and V-counter 206 at that time are set to LL1 in step S511.
After storing in (H, V), the process proceeds to the next step S512.

【0060】このステップS512では、マトリクス処
理回路202の出力GENが”H”から”L”に変わっ
たか否かを、”H”から”L”に変わるまで判別する。
そして、出力GEN=Lになった場合には、ステップS
513でそのときのH−カウンタ205及びV−カウン
タ206の値をLR1(H,V)に格納した後、次のス
テップS514で次のラインのデータを待つためにVカ
ウンタ206をインクリメントし後、前記ステップS5
10へ戻る。
In this step S512, it is determined whether or not the output GEN of the matrix processing circuit 202 has changed from "H" to "L" until it changes from "H" to "L".
Then, if the output GEN = L, step S
After storing the values of the H-counter 205 and V-counter 206 at that time in LR1 (H, V) at 513, the V counter 206 is incremented to wait for data of the next line at the next step S514, Step S5
Return to 10.

【0061】一方、前記ステップS510においてマト
リクス処理回路202の出力GENが”L”から”H”
に変わらない場合は、ステップS515で1ライン終了
したか否かを判別する。そして、1ライン終了していな
い場合は、前記ステップS510へ戻り、また、1ライ
ン終了しても原稿が確認されない場合は、ステップS5
16で原稿位置上の右下(L−R)は前ラインであるた
め、LL1(H,V)をL−R(H,V)として格納す
る。次にステップS517でアドレス読み出し要求信号
を出力して、システムコントローラ114にアドレスを
読み出させた後、本処理動作を終了する。
On the other hand, in step S510, the output GEN of the matrix processing circuit 202 changes from "L" to "H".
If not, it is determined in step S515 whether one line has been completed. If one line has not been completed, the process returns to step S510. If the original has not been confirmed after one line has been completed, the process returns to step S5.
At 16, the lower right (LR) above the document position is the previous line, so LL1 (H, V) is stored as LR (H, V). Next, an address read request signal is output in step S517 to cause the system controller 114 to read the address, and then the present processing operation ends.

【0062】このようにして原稿面上の4隅のアドレス
が求められる。
In this manner, the addresses of the four corners on the document surface are obtained.

【0063】実機では、このようにして求められた4つ
のアドレスから、システムコントローラ114は、原稿
のサイズを求めて、この原稿サイズ情報を変倍等の各種
処理に利用するものである。
In the actual machine, the system controller 114 obtains the size of the document from the four addresses thus obtained, and uses this document size information for various processes such as scaling.

【0064】この説明では、フローチャートによりシー
ケンシャルな動作説明を行ったが、論理回路で構成して
も動作は同様である。
In this description, the sequential operation has been described with reference to a flowchart. However, the operation is the same even if it is constituted by a logic circuit.

【0065】また、図6に示すように原稿2002の傾
きが逆になった場合、実際には前記図4のステップS4
08において格納されるアドレスは、U−LではなくL
−Lとなるはずであるが、これはレジスタをシステムコ
ントローラ114で読み出せば判断されることなので、
ここではその説明は省略する。
When the inclination of the original 2002 is reversed as shown in FIG. 6, actually, in step S4 of FIG.
08, the address stored is L instead of UL.
-L, which should be determined by reading the register by the system controller 114,
Here, the description is omitted.

【0066】次にマトリクス処理回路202の出力GE
Nについて、図8及び図9を用いて説明する。図8は、
図2におけるマトリクス処理回路202とFIFO20
3の構成を示すブロック図である。マトリクス処理回路
202は、ANDゲート801、ORゲート802,8
03、DF−F804,805,806,807,80
8を有している。
Next, the output GE of the matrix processing circuit 202
N will be described with reference to FIGS. 8 and 9. FIG.
Matrix processing circuit 202 and FIFO 20 in FIG.
FIG. 3 is a block diagram showing a configuration of No. 3; The matrix processing circuit 202 includes an AND gate 801 and OR gates 802, 8
03, DF-F804, 805, 806, 807, 80
Eight.

【0067】図8において、Co10は副走査方向のマ
トリクスサイズ信号、Row0は主走査方向のマトリク
スサイズ信号、Dinはコンパレータ201における画
像信号(MAX−RGB信号)と所定のスレッショルド
レベルとの比較結果信号で、画像信号がスレッショルド
レベルを超えた場合にハイレベル、スレッショルドレベ
ルを超えていない場合にはローレベルが出力される。P
clkはビデオクロック信号、Clk0は主走査方向の
マトリクスサイズに対応したクロック信号、F−clk
はFIFO203の読み出し、書き込みクロック信号、
F−enbはFIFO203の読み出し、書き込み許可
信号である。
In FIG. 8, Co10 is a matrix size signal in the sub-scanning direction, Row0 is a matrix size signal in the main scanning direction, and Din is a comparison result signal between the image signal (MAX-RGB signal) in the comparator 201 and a predetermined threshold level. When the image signal exceeds the threshold level, a high level is output, and when the image signal does not exceed the threshold level, a low level is output. P
clk is a video clock signal, Clk0 is a clock signal corresponding to the matrix size in the main scanning direction, F-clk
Is a read / write clock signal of the FIFO 203,
F-enb is a read / write permission signal for the FIFO 203.

【0068】また、図9において、Pclkはビデオク
ロック信号、H−syncは1ラインごとの同期信号、
H−enbは1ライン期間内における有効画像データ区
間を示す信号、Dinはコンパレータ201における画
像信号(MAX−RGB信号)と所定のスレッショルド
レベルとの比較結果信号で、画像信号がスレッショルド
レベルを超えた場合にハイレベル、スレッショルドレベ
ルを超えていない場合にはローレベルが出力される。R
ow0は主走査方向のマトリクスサイズ信号、Co10
は副走査方向のマトリクスサイズ信号、Gen0は原稿
サイズ検知結果出力信号、Clk0は主走査方向のマト
リクスサイズに対応したクロック信号、F−clkはF
IFO203の読み出し/書き込みクロック信号、F−
enbはFIFO203の読み出し/書き込み許可信号
である。
In FIG. 9, Pclk is a video clock signal, H-sync is a synchronization signal for each line,
H-enb is a signal indicating an effective image data section within one line period, Din is a comparison result signal between the image signal (MAX-RGB signal) in the comparator 201 and a predetermined threshold level, and the image signal has exceeded the threshold level. In this case, a high level is output, and if the threshold level is not exceeded, a low level is output. R
ow0 is a matrix size signal in the main scanning direction, Co10
Is a matrix size signal in the sub-scanning direction, Gen0 is a document size detection result output signal, Clk0 is a clock signal corresponding to the matrix size in the main scanning direction, and F-clk is F
I / O read / write clock signal, F-
enb is a read / write permission signal for the FIFO 203.

【0069】マトリクスサイズ信号Co10及びRow
0は、原稿有無のマトリクスサイズを決定するもので、
図2のタイミング発生回路204から出力される。信号
Dinは図2のコンパレータ201から出力される。
The matrix size signals Co10 and Row
0 determines the matrix size of the document presence / absence.
It is output from the timing generation circuit 204 of FIG. The signal Din is output from the comparator 201 in FIG.

【0070】このマトリクス処理回路202の動作を図
9のタイミングチャートを用いて説明する。ここでは、
主走査方向に4画素、副走査方向に4ラインの4×4の
マトリクスサイズの場合である。
The operation of the matrix processing circuit 202 will be described with reference to the timing chart of FIG. here,
This is a case of a 4 × 4 matrix size of 4 pixels in the main scanning direction and 4 lines in the sub-scanning direction.

【0071】信号Dinは4ビットシフトレジスタに接
続される。そして、これら4つの出力が全て”H”、即
ちコンパレータ出力で原稿面上と判断されて初めて、A
NDゲート801の出力がHになる。
The signal Din is connected to a 4-bit shift register. Only when all of these four outputs are "H", that is, when the comparator output determines that the output is on the document surface, A
The output of the ND gate 801 becomes H.

【0072】図9(a)に示すように、マトリクスサイ
ズ信号Co10及びRow0がいずれもHで、DF−F
708にクロック信号Clk0によってANDゲート8
01の出力がラッチされる。クロック信号Clk0は、
ビデオクロック信号Pclkの4周期に1発だけ出力さ
れる。このようにして、1ライン中では、4画素ごとに
結果がFIFO203に書き込まれる。そして、副走査
方向には4ライン周期で処理されるため、マトリクスサ
イズ信号Co10は図9(b)に示すような4ライン周
期となる。
As shown in FIG. 9A, when the matrix size signals Co10 and Row0 are both H and the DF-F
708 and the AND gate 8 by the clock signal Clk0
01 is latched. The clock signal Clk0 is
It is output only once in four cycles of the video clock signal Pclk. In this way, the result is written to the FIFO 203 every four pixels in one line. The matrix size signal Co10 has a four-line cycle as shown in FIG. 9B because the processing is performed in a four-line cycle in the sub-scanning direction.

【0073】次に本実施の形態に係る原稿読取装置の圧
板の傷による誤検知除去動作について、図10のフロー
チャートを用いて説明する。
Next, an erroneous detection removal operation due to a scratch on the pressure plate of the document reading apparatus according to the present embodiment will be described with reference to the flowchart of FIG.

【0074】まず、ステップS1001で電源をオンし
て、次のステップS1002でイニシャル制御を行い、
図1におけるシステムコントローラ114は、走査系で
ある図1におけるスキャナメカ115の駆動確認を行
う。次にステップS1003でプリスキャンを行う。こ
のとき当然ながら、原稿台ガラス上に何も載置されてな
く且つ圧板が閉められた状態でなければならない。
First, the power is turned on in step S1001, and initial control is performed in the next step S1002.
The system controller 114 in FIG. 1 confirms driving of the scanner mechanism 115 in FIG. 1 which is a scanning system. Next, a prescan is performed in step S1003. At this time, of course, nothing must be placed on the platen glass and the platen must be closed.

【0075】次にステップS1004で図1におけるシ
ステムコントローラ114は、図1における原稿サイズ
検知回路106の3つの誤検知アドレスレジスタ207
〜209(図2参照)にデータが設定されているか否か
(圧板上に傷があるか否か)を判別する。そして、誤検
知アドレスレジスタ207〜209にデータが設定され
ていない場合は、圧板上に傷が無いと判別され、それに
伴って誤検知もないので、ステップS1005でキー入
力待ち(スキャン待ち)状態に入った後、本処理動作を
終了する。
Next, in step S1004, the system controller 114 in FIG. 1 outputs the three erroneously detected address registers 207 of the original size detecting circuit 106 in FIG.
209 (see FIG. 2) is determined whether data is set (whether there is a flaw on the pressure plate). If no data is set in the erroneous detection address registers 207 to 209, it is determined that there is no flaw on the pressure plate, and there is no erroneous detection. Accordingly, the process waits for a key input (scan wait) in step S1005. After entering, this processing operation ends.

【0076】一方、前記誤検知アドレスレジスタ207
〜209の内の1つにでもデータが設定されている場合
は、圧板上に傷が有ると判別され、ステップS1006
で図3におけるマスク信号発生回路211により、誤検
知されたポイントの信号をマスクした後、前記ステップ
S1003へ戻って再度プリスキャンを行って、圧板上
の傷の有無を確認する。
On the other hand, the false detection address register 207
If data is set in any one of 圧 209, it is determined that there is a flaw on the pressure plate, and step S1006 is performed.
After masking the signal of the erroneously detected point by the mask signal generation circuit 211 in FIG. 3, the process returns to the step S1003 to perform the pre-scan again to confirm the presence or absence of a flaw on the pressure plate.

【0077】本実施の形態では、誤検知アドレスレジス
タを3つ設けて、マスク信号発生回路211により、誤
検知されたポイントの信号をマスクして、本来のスキャ
ンされる原稿のサイズ検知を行う構成としたが、もし、
圧板上に3つ以上の傷が有る場合には、図3におけるマ
スク信号発生回路211のマスク信号発生部を増やすこ
とによって、容易に対処することができる。
In this embodiment, a configuration is provided in which three erroneous detection address registers are provided, and the signal of the erroneously detected point is masked by the mask signal generation circuit 211 to detect the original size of the original to be scanned. But if
When three or more flaws are present on the pressure plate, it can be easily dealt with by increasing the number of mask signal generation units of the mask signal generation circuit 211 in FIG.

【0078】また、図3におけるマスク信号発生回路2
11では、主走査も副走査もマトリクスサイズの幅でマ
スク信号を発生させていたが、要求される検知精度で許
容される範囲で、マトリクスサイズよりも広めにマスク
するようにしても良い。
The mask signal generation circuit 2 shown in FIG.
In 11, the mask signal is generated with a width of the matrix size in both the main scanning and the sub-scanning. However, the masking may be made wider than the matrix size as long as the required detection accuracy allows.

【0079】また、複数のポイントにおいて誤検知が発
生している場合に、隣接している箇所は1つのマスク信
号でマスクできるように、マスク信号発生回路211内
にシステムコントローラ114から任意に設定できるレ
ジスタを設けてマスク信号を発生できるような回路構成
にしても良い。
Further, when an erroneous detection has occurred at a plurality of points, the system controller 114 can arbitrarily set an adjacent portion in the mask signal generation circuit 211 so that the adjacent portion can be masked by one mask signal. A circuit may be provided so that a mask signal can be generated by providing a register.

【0080】(第2の実施の形態)次に、本発明の第2
の実施の形態について、図11及び図12に基づき説明
する。なお、本実施の形態に係る原稿読取装置を具備し
た画像処理装置であるデジタル複写機の基本的な構成
は、上述した第1の実施の形態における図1〜図3と同
一であるから、これらの図を流用して説明する。
(Second Embodiment) Next, a second embodiment of the present invention will be described.
The embodiment will be described with reference to FIGS. 11 and 12. FIG. Note that the basic configuration of a digital copying machine, which is an image processing apparatus provided with the document reading apparatus according to the present embodiment, is the same as that of FIGS. 1 to 3 in the above-described first embodiment. This will be described with reference to FIG.

【0081】本実施の形態は、圧板上に傷が有ると判別
された場合に、その傷と判別される位置を表示部に表示
することにより、ユーザーが傷の位置を確認できるよう
にして、実際には異物が張り付いていたとか、原稿台ガ
ラスが汚れていた等による誤検知を容易にユーザーレベ
ルで取り除くことができるようにしたものである。
In the present embodiment, when it is determined that there is a flaw on the pressure plate, the position of the flaw is displayed on the display unit so that the user can confirm the position of the flaw. In practice, erroneous detections due to foreign matter sticking or dirty platen glass can be easily removed at the user level.

【0082】図11は、本実施の形態に係る原稿読取装
置の誤検知位置を表示部に表示する動作を示すフローチ
ャート、図12は、同誤検知位置を表示している表示部
を示す図である。
FIG. 11 is a flowchart showing the operation of displaying the erroneous detection position of the document reading apparatus according to the present embodiment on the display unit, and FIG. 12 is a diagram showing the display unit displaying the erroneous detection position. is there.

【0083】図11において、まず、ステップS110
1で電源をオンして、次のステップS1102でイニシ
ャル制御を行い、システムコントローラ114(図1参
照)は、走査系であるスキャナメカ115(図1参照)
のメカニカルな駆動確認を行う。次に、ステップS11
03でプリスキャンを行う。このとき当然ながら、原稿
台ガラス上に何も載置されてなく且つ圧板が閉められた
状態でなければならない。次に、ステップS1104で
システムコントローラ114は、原稿サイズ検知回路1
06(図1参照)の3つの誤検知アドレスレジスタ20
7〜209(図2参照)にデータが設定されているか否
か(誤検知があるか否か)を判別する。そして、誤検知
アドレスレジスタ207〜209にデータが設定されて
いない場合は誤検知がないと判別され、次のステップS
1105でキー入力待ち(スキャン待ち)状態に入った
後、本処理動作を終了する。
In FIG. 11, first, at step S110
1, the power is turned on, and initial control is performed in the next step S1102, and the system controller 114 (see FIG. 1) operates as a scanning mechanism 115 (see FIG. 1) which is a scanning system.
Confirm mechanical drive of. Next, step S11
At 03, a prescan is performed. At this time, of course, nothing must be placed on the platen glass and the platen must be closed. Next, in step S1104, the system controller 114 causes the document size detection circuit 1
06 (see FIG. 1)
It is determined whether data is set in 7 to 209 (see FIG. 2) (whether there is an erroneous detection). If no data is set in the erroneous detection address registers 207 to 209, it is determined that there is no erroneous detection, and the next step S
After entering a key input waiting (scan waiting) state in 1105, the present processing operation is ended.

【0084】一方、前記ステップS1104において誤
検知アドレスレジスタ207〜209の内の1つにでも
データが設定されている場合は誤検知が有ると判別さ
れ、次のステップS1106でシステムコントローラ1
14は、誤検知アドレスレジスタ207〜209からデ
ータが格納されている値を読み出す。また、システムコ
ントローラ114は、読み出されたレジスタの値が原稿
台ガラス上のどの辺に当たるかを表示部116(図1参
照)に表示する。更に、システムコントローラ114
は、各々のポイントのアドレスを原稿基準位置を原点と
したXY座標で合わせて表示部116に表示する。この
後、前記ステップS1103へ戻って、再度プリスキャ
ンを行って誤検知の有無の確認を行う。
On the other hand, if data is set in any one of the erroneously detected address registers 207 to 209 in step S1104, it is determined that erroneous detection has been made, and in the next step S1106, the system controller 1
Reference numeral 14 reads a value in which data is stored from the erroneously detected address registers 207 to 209. Further, the system controller 114 displays on the display unit 116 (see FIG. 1) which side of the platen glass the read register value corresponds to. Further, the system controller 114
Is displayed on the display unit 116 by matching the address of each point with XY coordinates with the original reference position as the origin. Thereafter, the process returns to step S1103, and the pre-scan is performed again to confirm whether there is an erroneous detection.

【0085】図12においては、誤検知位置が3ポイン
トの場合について表示している。この表示を見てユーザ
ーは、各ポイントにおいて汚れ、異物付着等が無いか否
かを確認する。
FIG. 12 shows a case where the erroneously detected position is at three points. Looking at this display, the user checks whether or not there is any dirt, foreign matter or the like at each point.

【0086】また、この確認作業において、ユーザーの
レベルでは誤検知除去ができない(異物付着や汚れでは
ない)場合には、その誤検知位置をマスクするように操
作部(図示省略)から設定できるようにしても良い。
In this checking operation, if erroneous detection cannot be removed at the level of the user (no foreign matter is attached or stained), an operation unit (not shown) can be set to mask the erroneously detected position. You may do it.

【0087】(第3の実施の形態)次に、本発明の第3
の実施の形態について、図13〜図16に基づき説明す
る。
(Third Embodiment) Next, a third embodiment of the present invention will be described.
The embodiment will be described with reference to FIGS.

【0088】図13は、本実施の形態に係る原稿読取装
置を具備した画像処理装置であるデジタル複写機の構成
を示すブロック図であり、同図において、上述した第1
の実施の形態における図1と同一部分には、同一符号が
付してある。図13において図1と異なる点は、図1の
構成から表示部116を削除したことである。
FIG. 13 is a block diagram showing the configuration of a digital copying machine which is an image processing apparatus provided with the document reading apparatus according to the present embodiment.
The same reference numerals as in FIG. 1 denote the same parts in the embodiment. 13 differs from FIG. 1 in that the display unit 116 is removed from the configuration in FIG.

【0089】また、図14は、図13における原稿サイ
ズ検知回路の構成を示すブロック図であり、同図におい
て、上述した第1の実施の形態における図2と同一部分
には、同一符号が付してある。図14において図2と異
なる点は、図2の構成から誤検知アドレスレジスタ20
7〜209、原稿アドレスレジスタ210及びマスク信
号発生回路211を削除し、その代わりにU−Lアドレ
スレジスタ1401、L−Lアドレスレジスタ140
2、U−Rアドレスレジスタ1403及びL−Rアドレ
スレジスタ1404を設けたことである。これらの各ア
ドレスレジスタ1401〜1404は、各々原稿の「U
pper−Left」、「Lower−Left」、
「Upper−Right」、「Lower−Righ
t」の座標であるH−カウンタ205及びV−カウンタ
206の値を格納するものである。
FIG. 14 is a block diagram showing the configuration of the original size detecting circuit in FIG. 13. In FIG. 14, the same parts as those in FIG. I have. 14 differs from FIG. 2 in that the configuration of FIG.
7 to 209, the original address register 210 and the mask signal generation circuit 211 are deleted, and the UL address register 1401, the LL address register 140
2. A UR address register 1403 and an LR address register 1404 are provided. These address registers 1401 to 1404 store “U”
paper-Left "," Lower-Left ",
“Upper-Right”, “Lower-Right”
It stores the values of the H-counter 205 and the V-counter 206, which are the coordinates of "t".

【0090】本実施の形態に係る原稿読取装置における
原稿サイズ検知回路の各アドレスレジスタ1401〜1
404の書き込み動作は、上述した第1の実施の形態に
おける原稿アドレスレジスタ210の場合と同様である
から、その説明は省略する。
Each address register 1401-1 of the original size detecting circuit in the original reading apparatus according to the present embodiment.
The write operation of 404 is the same as that of the original address register 210 in the above-described first embodiment, and a description thereof will be omitted.

【0091】図15は、主走査方向に8画素、副走査方
向に8ラインの場合の各信号の出力タイミングを示すタ
イミングチャートである。この場合は当然ながら、1ラ
イン中では8画素周期、副走査方向には8ライン周期で
繰り返されるようになる。そして、この際にはマトリク
スサイズ信号Co10,RowOにより制御される。
FIG. 15 is a timing chart showing the output timing of each signal in the case of eight pixels in the main scanning direction and eight lines in the sub-scanning direction. In this case, of course, the repetition is performed at a cycle of 8 pixels in one line and at a cycle of 8 lines in the sub-scanning direction. In this case, control is performed by the matrix size signals Co10 and RowO.

【0092】上述したように、制御信号のタイミングを
変えることにより、マトリクス処理回路202のマトリ
クスを変えることができる。
As described above, the matrix of the matrix processing circuit 202 can be changed by changing the timing of the control signal.

【0093】次に、本実施の形態に係る原稿読取装置に
おける圧板の傷による誤検知除去動作について、図16
のフローチャートを用いて説明する。
Next, an operation for removing false detection due to a flaw on the pressure plate in the original reading apparatus according to this embodiment will be described with reference to FIG.
This will be described with reference to the flowchart of FIG.

【0094】まず、ステップS1601で電源をオンし
て、次のステップS1602でイニシャル制御を行い、
システムコントローラ114(図13参照)は走査系で
あるスキャナメカ115のメカニカルな駆動確認を行
う。次に、ステップS1603でプリスキャンを行う。
このとき当然ながら、原稿台ガラス上には何も載置され
ておらず且つ圧板が閉められた状態でなければならな
い。このときには、マトリクス処理回路202(図14
参照)のマトリクスサイズは、4×4を初期値とする。
First, the power is turned on in step S1601, and initial control is performed in the next step S1602.
The system controller 114 (see FIG. 13) performs a mechanical drive check of the scanner mechanism 115 that is a scanning system. Next, a prescan is performed in step S1603.
At this time, of course, nothing must be placed on the platen glass and the platen must be closed. At this time, the matrix processing circuit 202 (FIG. 14)
4) is set as an initial value.

【0095】次に、ステップS1604でシステムコン
トローラ114は、原稿サイズ検知回路106(図13
参照)における4つのアドレスレジスタ1401〜14
04にデータが設定されているか否か(傷があるか否
か)を判別する。そして、アドレスレジスタ1401〜
1404にデータが設定されていない場合は、圧板上に
傷がないと判別され、これに伴って誤検知がないので、
ステップS1605でキー入力待ち(スキャン待ち)状
態となった後、本処理動作を終了する。
Next, in step S1604, the system controller 114 causes the document size detection circuit 106 (FIG.
4) address registers 1401 to 14
It is determined whether data is set in 04 (whether or not there is a flaw). Then, the address registers 1401 to 1401
If no data is set in 1404, it is determined that there is no scratch on the pressure plate, and there is no erroneous detection with this.
After entering a key input wait (scan wait) state in step S1605, this processing operation ends.

【0096】一方、前記ステップS1604において4
つのアドレスレジスタ1401〜1404の内の1つに
でもデータが設定されている場合は、圧板上に傷がある
と判別され、ステップS1606でマトリクスサイズを
8×8に拡大した後、前記ステップS1603へ戻って
再度プリスキャンを行う。このような処理を、圧板上の
傷による誤検知が無くなるまで繰り返す。
On the other hand, in step S1604, 4
If data is set in one of the address registers 1401 to 1404, it is determined that there is a flaw on the pressure plate, and the matrix size is increased to 8 × 8 in step S1606, and then the process proceeds to step S1603. Return and perform prescan again. Such processing is repeated until erroneous detection due to a flaw on the pressure plate is eliminated.

【0097】なお、本実施の形態においては、圧板の傷
がなくなるまで、マトリクスサイズを拡大するようにし
たが、実際には要求される原稿サイズの検知精度に応じ
て最大マトリクスサイズを決めておき、それを超えても
誤検知を除去できない場合には、エラーメッセージを出
すようにすることが望ましい。例えば、定型サイズのみ
を判断する場合には、4つのアドレスからシステムコン
トローラが判断するため、検知精度要求は低いためであ
る。
In this embodiment, the matrix size is increased until the pressure plate is no longer damaged. However, the maximum matrix size is actually determined in accordance with the required document size detection accuracy. If the erroneous detection cannot be removed even if the error is exceeded, it is desirable to output an error message. For example, when only the standard size is determined, the system controller determines from four addresses, and thus the detection accuracy requirement is low.

【0098】また、誤検知除去の際にスレショルドレベ
ルも合わせて振るような構成も可能であり、例えば、傷
があると判断された場合には、スレショルドレベルを上
げて再度プリスキャンを行う。
It is also possible to employ a configuration in which the threshold level is also changed when erroneous detection is removed. For example, when it is determined that there is a flaw, the pre-scan is performed again with the threshold level raised.

【0099】(第4の実施の形態)次に、本発明の記憶
媒体について、図17〜図20に基づき説明する。
(Fourth Embodiment) Next, a storage medium according to the present invention will be described with reference to FIGS.

【0100】原稿を読み取る原稿読取装置を制御するプ
ログラムを格納する記憶媒体には、少なくとも図17に
示すように、「原稿読取モジュール」、「光電変換モジ
ュール」、「原稿サイズ検知モジュール」、「誤検知位
置認識モジュール」、「誤検知位置記憶モジュール」、
「誤検知位置除外モジュール」の各モジュールを有する
プログラムを格納すればよい。
As shown in FIG. 17, at least a “document reading module”, a “photoelectric conversion module”, a “document size detecting module”, and a “wrong document” are stored in a storage medium for storing a program for controlling a document reading apparatus for reading a document. Detected position recognition module ”,“ False detected position storage module ”,
What is necessary is just to store the program which has each module of a "false detection position exclusion module".

【0101】ここで、「原稿読取モジュール」は、走査
手段により原稿を読み取るプログラムモジュールであ
る。また、「光電変換モジュール」は、前記走査手段に
よって走査された原稿の反射光を光電変換手段により光
電変換するプログラムモジュールである。また、「原稿
サイズ検知モジュール」は、前記光電変換手段からの出
力信号から原稿サイズ検知手段により原稿のサイズを検
知するプログラムモジュールである。また、「誤検知位
置認識モジュール」は、本来の走査の前に予め走査を行
い誤検知位置認識手段により誤検知位置を認識するプロ
グラムモジュールである。また、「誤検知位置記憶モジ
ュール」は、前記誤検知位置を誤検知位置記憶手段によ
り記憶するプログラムモジュールである。また、「誤検
知位置除外モジュール」は、本来の走査時に誤検知位置
除外手段により前記誤検知位置を被検知領域から除外す
るプログラムモジュールである。
Here, the "document reading module" is a program module for reading a document by the scanning means. The "photoelectric conversion module" is a program module for performing photoelectric conversion of reflected light of the document scanned by the scanning unit by the photoelectric conversion unit. The "document size detection module" is a program module for detecting the size of the document by the document size detection means from the output signal from the photoelectric conversion means. The "erroneously detected position recognition module" is a program module that performs scanning before the original scanning and recognizes the erroneously detected position by the erroneously detected position recognition means. The “erroneous detection position storage module” is a program module that stores the erroneous detection position by an erroneous detection position storage unit. The “erroneous detection position exclusion module” is a program module for excluding the erroneous detection position from the detected area by the erroneous detection position elimination means during the original scanning.

【0102】また、原稿を読み取る原稿読取装置を制御
するプログラムを格納する図17に示す記憶媒体と異な
る記憶媒体には、少なくとも図18に示すように、「原
稿読取モジュール」、「光電変換モジュール」、「原稿
サイズ検知モジュール」、「誤検知位置認識モジュー
ル」、「誤検知位置表示モジュール」の各モジュールを
有するプログラムを格納すればよい。
A storage medium different from the storage medium shown in FIG. 17 for storing a program for controlling an original reading apparatus for reading an original is provided with at least an "original reading module" and a "photoelectric conversion module" as shown in FIG. , A program having respective modules of “document size detection module”, “false detection position recognition module”, and “false detection position display module” may be stored.

【0103】ここで、「原稿読取モジュール」は、走査
手段により原稿を読み取るプログラムモジュールであ
る。また、「光電変換モジュール」は、前記走査手段に
よって走査された原稿の反射光を光電変換手段により光
電変換するプログラムモジュールである。また、「原稿
サイズ検知モジュール」は、前記光電変換手段からの出
力信号から原稿サイズ検知手段により原稿のサイズを検
知するプログラムモジュールである。また、「誤検知位
置認識モジュール」は、本来の走査の前に予め走査を行
い誤検知位置認識手段により誤検知位置を認識するプロ
グラムモジュールである。また、「誤検知位置表示モジ
ュール」は、前記誤検知位置認識手段により認識された
前記誤検知位置を表示手段により表示するプログラムモ
ジュールである。
Here, the "document reading module" is a program module for reading a document by the scanning means. The "photoelectric conversion module" is a program module for performing photoelectric conversion of reflected light of the document scanned by the scanning unit by the photoelectric conversion unit. The "document size detection module" is a program module for detecting the size of the document by the document size detection means from the output signal from the photoelectric conversion means. The "erroneously detected position recognition module" is a program module that performs scanning before the original scanning and recognizes the erroneously detected position by the erroneously detected position recognition means. The “erroneous detection position display module” is a program module that displays the erroneous detection position recognized by the erroneous detection position recognition unit on a display unit.

【0104】また、原稿を読み取る原稿読取装置を制御
するプログラムを格納する図17及び図18に示す記憶
媒体と異なる記憶媒体には、少なくとも図19に示すよ
うに、「原稿読取モジュール」、「光電変換モジュー
ル」、「原稿サイズ検知モジュール」、「領域サイズ制
御モジュール」の各モジュールを有するプログラムを格
納すればよい。
As shown in FIG. 19, at least a “document reading module”, a “photoelectric device”, and a storage medium storing a program for controlling a document reading device for reading a document are different from the storage media shown in FIGS. What is necessary is just to store the program which has each module of a "conversion module", a "document size detection module", and an "area size control module".

【0105】ここで、「原稿読取モジュール」は、走査
手段により原稿を読み取るプログラムモジュールであ
る。また、「光電変換モジュール」は、前記走査手段に
よって走査された原稿の反射光を光電変換手段により光
電変換するプログラムモジュールである。また、「原稿
サイズ検知モジュール」は、前記光電変換手段からの出
力信号から原稿サイズ検知手段により原稿のサイズを検
知するプログラムモジュールである。また、「領域サイ
ズ制御モジュール」は、領域サイズ制御手段により被検
知領域のサイズを可変にするプログラムモジュールであ
る。
Here, the "document reading module" is a program module for reading a document by the scanning means. The "photoelectric conversion module" is a program module for performing photoelectric conversion of reflected light of the document scanned by the scanning unit by the photoelectric conversion unit. The "document size detection module" is a program module for detecting the size of the document by the document size detection means from the output signal from the photoelectric conversion means. The "region size control module" is a program module that makes the size of the detected region variable by the region size control means.

【0106】また、必要に応じて図17に示す記憶媒体
に格納したプログラムに、「原稿サイズ誤検知発生認識
モジュール」、「被検知領域制御モジュール」を付加す
ることが望ましい。
It is desirable to add a “document size error detection occurrence recognition module” and a “detected area control module” to the program stored in the storage medium shown in FIG. 17 as needed.

【0107】ここで、「原稿サイズ誤検知発生認識モジ
ュール」は、原稿サイズ誤検知発生認識手段により原稿
サイズ誤検知が発生したことを認識するプログラムモジ
ュールである。また、「被検知領域制御モジュール」
は、前記原稿サイズ誤検知発生認識手段により原稿サイ
ズ誤検知が発生したことを認識した場合に被検知領域制
御手段により誤検知が発生しないように被検知領域を制
御するプログラムモジュールである。
Here, the "document size error detection occurrence recognition module" is a program module for recognizing that document size error detection has occurred by the document size error detection occurrence recognition means. Also, "Detected area control module"
Is a program module for controlling the detected area so that the erroneous detection does not occur by the detected area control means when the erroneous document size detection is recognized by the erroneous document size detection occurrence recognizing means.

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

【図1】本発明の第1の実施の形態に係る原稿読取装置
を具備した画像処理装置であるデジタル複写機の構成を
示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a digital copying machine that is an image processing apparatus including a document reading device according to a first embodiment of the present invention.

【図2】同デジタル複写機における原稿サイズ検知回路
の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a document size detection circuit in the digital copying machine.

【図3】同原稿サイズ検知回路におけるマスク信号発生
回路の構成を示すブロック図である。
FIG. 3 is a block diagram showing a configuration of a mask signal generation circuit in the original size detection circuit.

【図4】同原稿サイズ検知回路における原稿アドレスレ
ジスタのアドレス格納動作をシーケンシャルに説明する
フローチャートである。
FIG. 4 is a flowchart for sequentially explaining an address storage operation of a document address register in the document size detection circuit.

【図5】同原稿サイズ検知回路における原稿アドレスレ
ジスタのアドレス格納動作シーケンスを説明するフロー
チャートである。
FIG. 5 is a flowchart illustrating an address storage operation sequence of a document address register in the document size detection circuit.

【図6】同原稿サイズ検知回路における原稿アドレスレ
ジスタのアドレス格納動作を説明するための図である。
FIG. 6 is a diagram for explaining an address storage operation of a document address register in the document size detection circuit.

【図7】同原稿サイズ検知回路における原稿アドレスレ
ジスタのアドレス格納動作を説明するための図である。
FIG. 7 is a diagram for explaining an address storing operation of a document address register in the document size detection circuit.

【図8】同原稿サイズ検知回路におけるマトリクス処理
回路の構成を示すブロック図である。
FIG. 8 is a block diagram showing a configuration of a matrix processing circuit in the original size detection circuit.

【図9】同マトリクス処理回路の信号のマトリクスサイ
ズ4×4のときのタイミングを示すタイミングチャート
である。
FIG. 9 is a timing chart showing timings of the matrix processing circuit when the matrix size of the signal is 4 × 4.

【図10】同原稿サイズ検知回路における誤検知除去動
作シーケンスを説明するフローチャートである。
FIG. 10 is a flowchart illustrating an erroneous detection removal operation sequence in the document size detection circuit.

【図11】本発明の第2の実施の形態に係る原稿読取装
置における誤検知位置を表示部に表示する動作シーケン
スを説明するフローチャートである。
FIG. 11 is a flowchart illustrating an operation sequence for displaying an erroneously detected position on a display unit in the document reading apparatus according to the second embodiment of the present invention.

【図12】同原稿読取装置における誤検知位置を表示部
に表示している状態を示す図である。
FIG. 12 is a diagram showing a state where an erroneous detection position in the document reading apparatus is displayed on a display unit.

【図13】本発明の第3の実施の形態に係る原稿読取装
置を具備した画像処理装置であるデジタル複写機の構成
を示すブロック図である。
FIG. 13 is a block diagram illustrating a configuration of a digital copying machine that is an image processing apparatus including a document reading device according to a third embodiment of the present invention.

【図14】同デジタル複写機における原稿サイズ検知回
路の構成を示すブロック図である。
FIG. 14 is a block diagram showing a configuration of a document size detection circuit in the digital copying machine.

【図15】同原稿サイズ検知回路におけるマトリクス処
理回路の信号のマトリクスサイズ8×8のときのタイミ
ングを示すタイミングチャートである。
FIG. 15 is a timing chart showing timings when the matrix size of the signal of the matrix processing circuit in the original size detection circuit is 8 × 8.

【図16】同原稿サイズ検知回路における誤検知除去動
作シーケンスを説明するフローチャートである。
FIG. 16 is a flowchart illustrating an erroneous detection removal operation sequence in the document size detection circuit.

【図17】本発明の記憶媒体に格納されるプログラムの
各モジュールを示す図である。
FIG. 17 is a diagram showing each module of a program stored in a storage medium of the present invention.

【図18】本発明の記憶媒体に格納されるプログラムの
各モジュールを示す図である。
FIG. 18 is a diagram showing each module of a program stored in a storage medium of the present invention.

【図19】本発明の記憶媒体に格納されるプログラムの
各モジュールを示す図である。
FIG. 19 is a diagram showing each module of a program stored in a storage medium of the present invention.

【図20】本発明の記憶媒体に格納されるプログラムの
各モジュールを示す図である。
FIG. 20 is a diagram showing each module of a program stored in a storage medium of the present invention.

【図21】デジタル複写機の原稿台ガラス上に原稿を載
置した状態の平面図である。
FIG. 21 is a plan view showing a state in which an original is placed on an original platen glass of the digital copying machine.

【図22】図21に示す原稿上の位置に対応したCCD
出力信号レベルを示す図である。
FIG. 22 is a CCD corresponding to the position on the document shown in FIG.
FIG. 3 is a diagram illustrating an output signal level.

【符号の説明】[Explanation of symbols]

101 CCD 102 S/H回路 103 A/Dコンバータ 104 シェーディング補正回路 105 マスキング回路 106 原稿サイズ検知回路 107 データ変換回路 108 メモリデータコントローラ 109 変倍回路 110 圧縮伸張回路 111 ページメモリ 112 中間調処理回路 113 プリンタ 114 システムコントローラ 115 スキャナメカ 116 表示部 201 コンパレータ 202 マトリクス処理回路 203 FIFO 204 タイミング発生回路 205 H−カウンタ 206 V−カウンタ 207 誤検知アドレスレジスタ 208 誤検知アドレスレジスタ 209 誤検知アドレスレジスタ 210 原稿アドレスレジスタ 301 比較回路 302 比較回路 303 比較回路 304 比較回路 305 比較回路 306 比較回路 307 比較回路 308 比較回路 309 比較回路 310 比較回路 311 比較回路 312 比較回路 313 JK F/F 314 JK F/F 315 JK F/F 316 JK F/F 317 JK F/F 318 JK F/F 319 ANDゲート 320 ANDゲート 321 ANDゲート 322 ORゲート 801 ANDゲート 802 ORゲート 803 ORゲート 804 DF−F 805 DF−F 806 DF−F 807 DF−F 808 DF−F 1401 U−Lアドレスレジスタ 1402 L−Lアドレスレジスタ 1403 U−Rアドレスレジスタ 1404 L−Rアドレスレジスタ 2001 原稿台ガラス 2002 原稿 Reference Signs List 101 CCD 102 S / H circuit 103 A / D converter 104 Shading correction circuit 105 Masking circuit 106 Document size detection circuit 107 Data conversion circuit 108 Memory data controller 109 Magnification circuit 110 Compression / expansion circuit 111 Page memory 112 Halftone processing circuit 113 Printer 114 System controller 115 Scanner mechanism 116 Display unit 201 Comparator 202 Matrix processing circuit 203 FIFO 204 Timing generation circuit 205 H-counter 206 V-counter 207 False detection address register 208 False detection address register 209 False detection address register 210 Original address register 301 Comparison Circuit 302 Comparison circuit 303 Comparison circuit 304 Comparison circuit 305 Comparison circuit 306 Comparison circuit 3 07 comparison circuit 308 comparison circuit 309 comparison circuit 310 comparison circuit 311 comparison circuit 312 comparison circuit 313 JK F / F 314 JK F / F 315 JK F / F 316 JK F / F 317 JK F / F 318 JK F / F 319 Gate 320 AND gate 321 AND gate 322 OR gate 801 AND gate 802 OR gate 803 OR gate 804 DF-F 805 DF-F 806 DF-F 807 DF-F 808 DF-F 1401 UL address register 1402 L-L address Register 1403 UR address register 1404 LR address register 2001 Platen glass 2002 Document

───────────────────────────────────────────────────── フロントページの続き (72)発明者 瀧山 康弘 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 鈴木 勝也 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 伊藤 直紹 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Yasuhiro Takiyama 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Katsuya Suzuki 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon (72) Inventor Naoto Ito 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc.

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 走査手段により原稿を読み取る原稿読取
工程と、前記走査手段によって走査された原稿の反射光
を光電変換手段により光電変換する光電変換工程と、前
記光電変換手段からの出力信号から原稿サイズ検知手段
により原稿のサイズを検知する原稿サイズ検知工程と、
本来の走査の前に予め走査を行い誤検知位置認識手段に
より誤検知位置を認識する誤検知位置認識工程と、前記
誤検知位置を誤検知位置記憶手段により記憶する誤検知
位置記憶工程と、本来の走査時に誤検知位置除外手段に
より前記誤検知位置を被検知領域から除外する誤検知位
置除外工程とを有することを特徴とする原稿読取方法。
An original reading step of reading an original by a scanning unit; a photoelectric conversion step of photoelectrically converting reflected light of the original scanned by the scanning unit by a photoelectric conversion unit; and an original from an output signal from the photoelectric conversion unit. A document size detection step of detecting the size of the document by size detection means;
An erroneous detection position recognizing step of performing scanning in advance before the original scanning and recognizing the erroneous detection position by the erroneous detection position recognizing means; and an erroneous detection position storing step of storing the erroneous detection position by the erroneous detection position storing means. An erroneous detection position exclusion step of excluding the erroneous detection position from the detected area by an erroneous detection position excluding unit during the scanning of the document.
【請求項2】 走査手段により原稿を読み取る原稿読取
工程と、前記走査手段によって走査された原稿の反射光
を光電変換手段により光電変換する光電変換工程と、前
記光電変換手段からの出力信号から原稿サイズ検知手段
により原稿のサイズを検知する原稿サイズ検知工程と、
本来の走査の前に予め走査を行い誤検知位置認識手段に
より誤検知位置を認識する誤検知位置認識工程と、前記
誤検知位置認識手段により認識された前記誤検知位置を
表示手段により表示する誤検知位置表示工程とを有する
ことを特徴とする原稿読取方法。
2. A document reading step of reading a document by a scanning unit, a photoelectric conversion step of photoelectrically converting reflected light of the document scanned by the scanning unit by a photoelectric conversion unit, and a document based on an output signal from the photoelectric conversion unit. A document size detection step of detecting the size of the document by size detection means;
An erroneous detection position recognizing step of performing scanning in advance before the original scanning and recognizing the erroneous detection position by the erroneous detection position recognizing means; and displaying the erroneous detection position recognized by the erroneous detection position recognizing means on a display means. A document reading method, comprising: a detection position display step.
【請求項3】 原稿を読み取るための走査手段と、前記
走査手段によって走査された原稿の反射光を光電変換す
る光電変換手段と、前記光電変換手段からの出力信号か
ら原稿のサイズを検知する原稿サイズ検知手段と、本来
の走査の前に予め走査を行い誤検知位置を認識する誤検
知位置認識手段と、前記誤検知位置を記憶する誤検知位
置記憶手段と、本来の走査時に前記誤検知位置を被検知
領域から除外する誤検知位置除外手段とを有することを
特徴とする原稿読取装置。
3. A scanning device for reading a document, a photoelectric conversion device for photoelectrically converting reflected light of the document scanned by the scanning device, and a document for detecting a size of the document from an output signal from the photoelectric conversion device. Size detection means, misdetection position recognizing means for performing pre-scanning before the original scanning and recognizing the misdetection position, misdetection position storage means for storing the misdetection position, and the misdetection position during the original scanning And an erroneous detection position exclusion unit for excluding the erroneous detection position from the detection area.
【請求項4】 原稿を読み取るための走査手段と、前記
走査手段によって走査された原稿の反射光を光電変換す
る光電変換手段と、前記光電変換手段からの出力信号か
ら原稿のサイズを検知する原稿サイズ検知手段と、本来
の走査の前に予め走査を行い誤検知位置を認識する誤検
知位置認識手段と、前記誤検知位置認識手段により認識
された前記誤検知位置を表示する誤検知位置表示手段と
を有することを特徴とする原稿読取装置。
4. A scanning device for reading a document, a photoelectric conversion device for photoelectrically converting reflected light of the document scanned by the scanning device, and a document for detecting a size of the document from an output signal from the photoelectric conversion device. Size detection means, erroneous detection position recognizing means for performing scanning before the original scanning and recognizing erroneous detection positions, and erroneous detection position display means for displaying the erroneous detection positions recognized by the erroneous detection position recognition means And a document reading device.
【請求項5】 走査手段により原稿を読み取る原稿読取
工程と、前記走査手段によって走査された原稿の反射光
を光電変換手段により光電変換する光電変換工程と、前
記光電変換手段からの出力信号から原稿サイズ検知手段
により原稿のサイズを検知する原稿サイズ検知工程と、
領域サイズ制御手段により被検知領域のサイズを可変に
する領域サイズ制御工程とを有することを特徴とする原
稿読取方法。
5. A document reading step of reading a document by a scanning unit, a photoelectric conversion step of photoelectrically converting reflected light of the document scanned by the scanning unit by a photoelectric conversion unit, and a document based on an output signal from the photoelectric conversion unit. A document size detection step of detecting the size of the document by size detection means;
An area size control step of changing the size of the detected area by the area size control means.
【請求項6】 原稿サイズ誤検知発生認識手段により原
稿サイズ誤検知が発生したことを認識する原稿サイズ誤
検知発生認識工程と、前記原稿サイズ誤検知発生認識手
段により原稿サイズ誤検知が発生したことを認識した場
合に被検知領域制御手段により誤検知が発生しないよう
に被検知領域を制御する被検知領域制御工程とを有する
ことを特徴とする請求項5記載の原稿読取方法。
6. A document size error detection occurrence recognizing step of recognizing that document size error detection has occurred by the document size error detection occurrence recognizing means, and a document size error detection occurrence occurring by the document size error detection occurrence recognizing means. 6. A document reading method according to claim 5, further comprising a detected area control step of controlling the detected area so that an erroneous detection does not occur by the detected area control means when the recognition is performed.
【請求項7】 原稿を読み取るための走査手段と、前記
走査手段によって走査された原稿の反射光を光電変換す
る光電変換手段と、前記光電変換手段からの出力信号か
ら原稿のサイズを検知する原稿サイズ検知手段と、被検
知領域のサイズを可変にする領域サイズ制御手段とを有
することを特徴とする原稿読取装置。
7. A scanning device for reading a document, a photoelectric conversion device for photoelectrically converting reflected light of the document scanned by the scanning device, and a document for detecting a size of the document from an output signal from the photoelectric conversion device. A document reading apparatus comprising: a size detection unit; and an area size control unit that changes a size of a detection target area.
【請求項8】 原稿サイズ誤検知が発生したことを認識
する原稿サイズ誤検知発生認識手段と、前記原稿サイズ
誤検知発生認識手段により原稿サイズ誤検知が発生した
ことを認識した場合に誤検知が発生しないように被検知
領域を制御する被検知領域制御手段とを有することを特
徴とする請求項7記載の原稿読取装置。
8. An original size erroneous detection occurrence recognizing means for recognizing that an erroneous original size detection has occurred, and an erroneous detection when the original size erroneous detection occurrence recognizing means recognizes that an erroneous original size detection has occurred. 8. The document reading apparatus according to claim 7, further comprising a detected area control unit that controls the detected area so that the detected area does not occur.
【請求項9】 原稿を読み取る原稿読取装置を制御する
プログラムを格納する記憶媒体であって、走査手段によ
り原稿を読み取る原稿読取モジュールと、前記走査手段
によって走査された原稿の反射光を光電変換手段により
光電変換する光電変換モジュールと、前記光電変換手段
からの出力信号から原稿サイズ検知手段により原稿のサ
イズを検知する原稿サイズ検知モジュールと、本来の走
査の前に予め走査を行い誤検知位置認識手段により誤検
知位置を認識する誤検知位置認識モジュールと、前記誤
検知位置を誤検知位置記憶手段により記憶する誤検知位
置記憶モジュールと、本来の走査時に誤検知位置除外手
段により前記誤検知位置を被検知領域から除外する誤検
知位置除外モジュールとを有するプログラムを格納した
ことを特徴とする記憶媒体。
9. A storage medium for storing a program for controlling a document reading device for reading a document, comprising: a document reading module for reading a document by scanning means; and a photoelectric conversion means for reflecting reflected light of the document scanned by the scanning means. A photoelectric conversion module for photoelectrically converting the original, a document size detection module for detecting the size of the document by the document size detection means from the output signal from the photoelectric conversion means, A false detection position recognition module for recognizing a false detection position, a false detection position storage module storing the false detection position by a false detection position storage unit, and a false detection position excluding unit during original scanning. A program having an erroneous detection position exclusion module excluded from the detection area. Storage medium.
【請求項10】 原稿を読み取る原稿読取装置を制御す
るプログラムを格納する記憶媒体であって、走査手段に
より原稿を読み取る原稿読取モジュールと、前記走査手
段によって走査された原稿の反射光を光電変換手段によ
り光電変換する光電変換モジュールと、前記光電変換手
段からの出力信号から原稿サイズ検知手段により原稿の
サイズを検知する原稿サイズ検知モジュールと、本来の
走査の前に予め走査を行い誤検知位置認識手段により誤
検知位置を認識する誤検知位置認識モジュールと、前記
誤検知位置認識手段により認識された前記誤検知位置を
表示手段により表示する誤検知位置表示モジュールとを
有するプログラムを格納したことを特徴とする記憶媒
体。
10. A storage medium for storing a program for controlling a document reading apparatus for reading a document, comprising: a document reading module for reading a document by scanning means; and a photoelectric conversion means for reflecting reflected light of the document scanned by the scanning means. A document size detection module for detecting the size of a document by document size detection means from an output signal from the photoelectric conversion means, and a false detection position recognition means for performing scanning in advance before the original scanning. A program having an erroneously detected position recognizing module for recognizing the erroneously detected position, and a erroneously detected position display module for displaying the erroneously detected position recognized by the erroneously detected position recognizing means on a display means. Storage media.
【請求項11】 原稿を読み取る原稿読取装置を制御す
るプログラムを格納する記憶媒体であって、走査手段に
より原稿を読み取る原稿読取モジュールと、前記走査手
段によって走査された原稿の反射光を光電変換手段によ
り光電変換する光電変換モジュールと、前記光電変換手
段からの出力信号から原稿サイズ検知手段により原稿の
サイズを検知する原稿サイズ検知モジュールと、領域サ
イズ制御手段により被検知領域のサイズを可変にする領
域サイズ制御モジュールとを有するプログラムを格納し
たことを特徴とする記憶媒体。
11. A storage medium for storing a program for controlling a document reading device for reading a document, comprising: a document reading module for reading a document by scanning means; and a photoelectric conversion means for reflecting reflected light of the document scanned by the scanning means. Photoelectric conversion module, a document size detection module for detecting the size of a document by document size detection means from an output signal from the photoelectric conversion means, and an area for changing the size of the detected area by area size control means A storage medium storing a program having a size control module.
【請求項12】 前記プログラムは、原稿サイズ誤検知
発生認識手段により原稿サイズ誤検知が発生したことを
認識する原稿サイズ誤検知発生認識モジュールと、前記
原稿サイズ誤検知発生認識手段により原稿サイズ誤検知
が発生したことを認識した場合に被検知領域制御手段に
より誤検知が発生しないように被検知領域を制御する被
検知領域制御モジュールとを有することを特徴とする請
求項11記載の記憶媒体。
12. The program according to claim 1, wherein: the document size error detection occurrence recognition unit recognizes that the document size error detection has occurred; the document size error detection occurrence recognition module; and the document size error detection occurrence recognition unit detects the document size error. 12. The storage medium according to claim 11, further comprising: a detected area control module that controls the detected area so that the erroneous detection does not occur by the detected area control unit when the occurrence of the error is recognized.
JP9108306A 1997-04-11 1997-04-11 Original reading method, device therefor and storage medium Pending JPH10290329A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9108306A JPH10290329A (en) 1997-04-11 1997-04-11 Original reading method, device therefor and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9108306A JPH10290329A (en) 1997-04-11 1997-04-11 Original reading method, device therefor and storage medium

Publications (1)

Publication Number Publication Date
JPH10290329A true JPH10290329A (en) 1998-10-27

Family

ID=14481367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9108306A Pending JPH10290329A (en) 1997-04-11 1997-04-11 Original reading method, device therefor and storage medium

Country Status (1)

Country Link
JP (1) JPH10290329A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011077759A (en) * 2009-09-30 2011-04-14 Kyocera Mita Corp Image reader and image forming apparatus
US8958132B2 (en) 2012-09-10 2015-02-17 Canon Kabushiki Kaisha Image reading apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011077759A (en) * 2009-09-30 2011-04-14 Kyocera Mita Corp Image reader and image forming apparatus
US8958132B2 (en) 2012-09-10 2015-02-17 Canon Kabushiki Kaisha Image reading apparatus

Similar Documents

Publication Publication Date Title
JPS59223074A (en) Image processing device
JP3089133B2 (en) Image processing device
JP4272366B2 (en) Document reading apparatus and image forming apparatus
JP3395691B2 (en) Image reading device
JPH10290329A (en) Original reading method, device therefor and storage medium
JPH0354502B2 (en)
JPS60237765A (en) Image reader
JPH0670099A (en) Picture reading system
JP5304169B2 (en) Image processing apparatus and image processing method
JP2862235B2 (en) Document processing device
JPH05268479A (en) Picture reader and picture processing method in picture reader
JP2004320817A (en) Image processing apparatus
JP2547748B2 (en) Image processing device
JP3131387B2 (en) Image processing device
JPS60165871A (en) Picture processing device
JPH08251385A (en) Image processing unit
JPH05199404A (en) Variable enlargement processing method for image reader
JPH0542192B2 (en)
JPH01123567A (en) Picture reader
JPH07307856A (en) Image processing unit
JP2002064685A (en) Flat-bed type image scanner of high resolution
JPS636969A (en) Picture data input system
JPH0495465A (en) Image reader
JPS61225981A (en) Picture defect correction timing circuit for solid-state image pickup element
JPS63196163A (en) Original processor