JPH09247375A - Picture reader - Google Patents

Picture reader

Info

Publication number
JPH09247375A
JPH09247375A JP8056171A JP5617196A JPH09247375A JP H09247375 A JPH09247375 A JP H09247375A JP 8056171 A JP8056171 A JP 8056171A JP 5617196 A JP5617196 A JP 5617196A JP H09247375 A JPH09247375 A JP H09247375A
Authority
JP
Japan
Prior art keywords
threshold value
value
transparent member
document
small area
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.)
Granted
Application number
JP8056171A
Other languages
Japanese (ja)
Other versions
JP3562111B2 (en
Inventor
Masaru Kajikawa
賢 梶川
Katsunari Tanaka
克成 田中
Hiroshi Hayashi
寛 林
Tomoyuki Yamada
智之 山田
Kazuhiko Minowa
一彦 箕輪
Daisuke Kono
大輔 河野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP05617196A priority Critical patent/JP3562111B2/en
Publication of JPH09247375A publication Critical patent/JPH09247375A/en
Application granted granted Critical
Publication of JP3562111B2 publication Critical patent/JP3562111B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Optical Systems Of Projection Type Copiers (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To precisely judge the size of an original without the effect of environment factors by judging the size of original based on the combination of a comparing result concerning a precisely obtained before shielding representative value and that concerning after shielding representative value. SOLUTION: A control part 54 controls the position of a carriage member so that the sensing area of a CCD line sensor 44 is at a prescribed position. Next, the control part 54 compares picture information at each small area obtained before a transparent member is shielded by a cover and a first threshold value with each other. Next, the control part 54 compares a representative value at each small area obtained after the transparent member is shielded by the cover and a threshold value set after the transparent member is shielded with each other. Then based on the combination of the comparing result by a comparing means at each small area, a size detection part 58 judges the size of the original on the transparent member.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は画像読取装置に係
り、特に、プラテンガラス等の板状の透明部材上に載置
された原稿に記録されている画像を読み取る画像読取装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading apparatus, and more particularly to an image reading apparatus for reading an image recorded on an original placed on a plate-shaped transparent member such as a platen glass.

【0002】[0002]

【従来の技術及び発明が解決しようとする課題】従来よ
り、複写機において、プラテンガラス上に載置された原
稿のサイズを検出し、検出結果に基づいて原稿に記録さ
れている画像を複写する用紙のサイズや複写倍率等を自
動的に決定する技術が知られている。プラテンガラス上
に載置された原稿のサイズを検出するための最も一般的
な方法は、特開昭61-20936号公報に記載されているよう
に、プラテンガラスの下方にサイズ検出のための光セン
サを1個以上配設し、光センサ配設位置における原稿の
有無を光センサにより検出し、光センサによる検出結果
に基づいて原稿のサイズを判断する方法である。
2. Description of the Related Art Conventionally, in a copying machine, the size of a document placed on a platen glass is detected, and the image recorded on the document is copied based on the detection result. There is known a technique for automatically determining a paper size, a copy magnification, and the like. The most general method for detecting the size of a document placed on the platen glass is to detect the size of the original below the platen glass as described in JP-A-61-20936. This is a method in which one or more sensors are arranged, the presence or absence of a document at the position where the photosensor is arranged is detected by the photosensor, and the size of the document is judged based on the detection result of the photosensor.

【0003】しかし、上述したサイズ検出方法では、各
種サイズの原稿に対応して、プラテンガラス下方の互い
に異なる箇所に光センサを各々配設する必要があり、現
実にはプラテンガラス上に載置可能な多数種類の原稿サ
イズに対応して多数の光センサが必要となるので、構成
が複雑になるという問題がある。
However, in the above-mentioned size detecting method, it is necessary to dispose the photosensors at different positions under the platen glass, corresponding to the originals of various sizes, and in reality, the photosensors can be placed on the platen glass. Since a large number of optical sensors are required corresponding to a large number of different document sizes, there is a problem that the configuration becomes complicated.

【0004】また、原稿に記録されている画像をデジタ
ルの画像データに変換した後に、該画像データに基づい
て用紙に画像を記録(複写)する複写機(所謂デジタル
複写機)やファクシミリ装置等では、ライン状に配列さ
れたCCD等の多数の光電変換素子を備え、この光電変
換素子により原稿を走査することにより原稿の画像を読
み取る構成であることが一般的である。このため、この
種の装置において、画像読取前に光電変換素子により原
稿を走査し(所謂プレスキャン)、光電変換素子から出
力される信号に基づいて原稿のサイズを検出するように
したものも見受けられる。
Further, in a copying machine (so-called digital copying machine), a facsimile machine or the like which converts an image recorded on a document into digital image data and then records (copies) the image on a sheet based on the image data. Generally, a configuration is provided in which a large number of photoelectric conversion elements such as CCDs arranged in a line are provided, and the image of the original is read by scanning the original with the photoelectric conversion elements. For this reason, in this type of device, it is also found that the original is scanned by the photoelectric conversion element before image reading (so-called pre-scan) and the size of the original is detected based on the signal output from the photoelectric conversion element. To be

【0005】上記の検出方法では、画像を読み取るため
に設けられた光電変換素子により原稿のサイズの検出も
行うので、プラテンガラス上に載置される原稿サイズの
種類数に応じて新たに多数のセンサを設ける必要はない
が、原稿が載置される毎にプレスキャンを行う必要があ
るので、プレスキャンが装置の処理能力(例えば単位時
間当りの複写枚数等)の向上のネックになるという問題
があった。
In the above detection method, since the size of the original is also detected by the photoelectric conversion element provided for reading the image, a large number of originals are newly added in accordance with the number of types of originals placed on the platen glass. Although it is not necessary to provide a sensor, it is necessary to perform a prescan every time an original is placed, so that the prescan becomes a bottleneck in improving the processing capability of the apparatus (for example, the number of copies per unit time). was there.

【0006】ところで、プラテンガラス上の原稿のサイ
ズ検出は、プラテンカバーが閉じられたときに、プラテ
ンガラス上に原稿が載置されたものとみなして行うこと
が一般的であるが、プラテンカバーの裏面は通常は白色
であるので、載置された原稿の下地が白色、すなわち原
稿の光反射率がプラテンカバーの裏面の光反射率に近い
場合には、原稿のサイズを光学的に検出することが困難
になる。
By the way, the size of the original document on the platen glass is generally detected by assuming that the original document is placed on the platen glass when the platen cover is closed. Since the back side is usually white, the size of the document should be detected optically when the background of the placed document is white, that is, when the light reflectance of the document is close to the light reflectance of the back side of the platen cover. Becomes difficult.

【0007】このため、原稿のサイズ検出の確実性を向
上させるために、プラテンカバーの裏面に光反射率の低
い面を形成したり、プラテンカバーの裏面を白以外の色
とすることが提案されている(特公昭62-47026号公報参
照)。
Therefore, in order to improve the certainty of detecting the size of the document, it has been proposed to form a surface having a low light reflectance on the back surface of the platen cover or to make the back surface of the platen cover a color other than white. (See Japanese Examined Patent Publication No. 62-47026).

【0008】しかし、プラテンカバーの裏面の光反射率
を下地が白色の原稿の光透過率に対して明らかに低下さ
せたとすると(例えばプラテンカバーの裏面を灰色、黒
色、或いは鏡面とする)、原稿のサイズ検出は容易にな
るものの、複写した画像の背景部分の濃度が全体的に高
くなる、所謂裏写りが生ずる。この裏写りは、特にトレ
ーシングペーパ等のように厚みが薄く光透過率が比較的
高い用紙に記録された画像を複写する等の場合に顕著と
なる。
However, if it is assumed that the light reflectance of the back surface of the platen cover is obviously lower than the light transmittance of the original whose white background is white (for example, the back surface of the platen cover is gray, black, or a mirror surface), the original However, the so-called show-through occurs in which the density of the background portion of the copied image is increased as a whole. This show-through becomes remarkable especially when copying an image recorded on a paper such as tracing paper having a small thickness and a relatively high light transmittance.

【0009】また、プラテンカバーの裏面の光反射率を
下地が白色の原稿の光透過率よりも大幅に低下させた場
合、デジタル複写機において、プラテンカバーが閉止さ
れて原稿の読取りが行われると、プラテンガラス上の原
稿が載置されていない部分は高濃度(例えば黒色)と認
識されることになり、原稿を読取ることによって得られ
た画像データに基づいて単に用紙への画像の複写を行っ
たとすると、複写画像中の前記原稿が載置されていない
部分に相当する部分が例えば黒ベタとなるので好ましく
ない。
Further, when the light reflectance of the back surface of the platen cover is made significantly lower than the light transmittance of the original whose white background is white, when the platen cover is closed and the original is read in the digital copying machine. , The part of the platen glass where the original is not placed is recognized as high density (for example, black), and the image is simply copied onto the paper based on the image data obtained by reading the original. In that case, a portion corresponding to a portion on which the original document is not placed in the copied image becomes, for example, solid black, which is not preferable.

【0010】これを回避するためには、例えばプレスキ
ャンを行って原稿のサイズを検知した後に、検知した原
稿のサイズに基づいてプラテンガラス上の原稿が載置さ
れていない部分を判断し、原稿の読取時に光電変換器か
ら出力される信号のうち、前記原稿が載置されていない
部分に対応して出力される信号に電気的にマスクをかけ
たり、或いは前記原稿が載置されていない部分が画像デ
ータ上で濃度が0(白色)となるように、光電変換器か
ら出力された信号を画像データに変換する際の入出力特
性を自動的に変更する等の処理を行う必要があり、構成
が複雑になるという問題があった。
In order to avoid this, for example, after prescanning is performed to detect the size of the original, the portion of the platen glass on which the original is not placed is determined based on the detected size of the original, and the original is detected. Of the signals output from the photoelectric converter at the time of reading, the signal output corresponding to the portion on which the original document is not placed is electrically masked, or the portion on which the original document is not placed So that the density becomes 0 (white) on the image data, it is necessary to automatically change the input / output characteristics when converting the signal output from the photoelectric converter into the image data, There was a problem that the configuration became complicated.

【0011】さらに、従来のデジタル方式の画像読取装
置において、CCDイメージセンサを用いて原稿サイズ
を検出する原稿サイズ検出方法が提案されている(特開
昭62-76962号公報、特開平5-207239号公報参照)。
Further, in a conventional digital image reading apparatus, a document size detecting method for detecting a document size using a CCD image sensor has been proposed (Japanese Patent Laid-Open No. 62-76962 and Japanese Patent Laid-Open No. 5-207239). (See the official gazette).

【0012】しかしながら、この方式では、プラテンカ
バー閉じかけ時の検出時や開けたままでの読み取り動作
での検出時に、画像読取装置が設置された環境の要因、
例えば蛍光灯の下や窓際等に設置された場合における外
光の影響によって原稿サイズを誤検知してしまう虞れが
あった。
However, in this method, when detecting when the platen cover is closed or when detecting by the reading operation with the platen cover open, the environmental factors in which the image reading apparatus is installed,
For example, there is a possibility that the document size may be erroneously detected due to the influence of outside light when the document size is set under a fluorescent lamp or near a window.

【0013】本発明は上記事実を考慮して成されたもの
で、簡単な構成でかつ短時間で原稿のサイズを検知でき
る画像読取装置を提供することを第1の目的とし、装置
が設置された環境の要因に影響されることなく原稿のサ
イズを正確に検知できる画像読取装置を提供することを
第2の目的とする。
The present invention has been made in view of the above facts, and it is a first object of the present invention to provide an image reading apparatus having a simple structure and capable of detecting the size of an original in a short time. A second object is to provide an image reading apparatus that can accurately detect the size of a document without being affected by environmental factors.

【0014】[0014]

【課題を解決するための手段】上記第1及び第2の目的
を達成するために、請求項1記載の画像読取装置は、光
電変換素子を多数備えた光電変換器によって板状の透明
部材上に載置された原稿を光学的に走査して、前記原稿
に記録されている画像を読み取る画像読取装置であっ
て、前記透明部材を遮蔽する遮蔽位置及び透明部材が露
出する露出位置に移動可能なカバーと、前記透明部材上
の略一定の位置各々に載置されるサイズの異なる複数種
の原稿の各々の特定の一辺に跨がるエリアに対応する複
数の小領域内の光電変換素子の各々から出力される信号
に基づいて、各小領域内の画像情報の代表値を算出する
代表値算出手段と、前記カバーにより透明部材が遮蔽さ
れる前における各小領域毎の画像情報の代表値と第1の
しきい値とを比較すると共に、前記カバーにより透明部
材が遮蔽された後における各小領域毎の画像情報の代表
値と、前記第1のしきい値と異なる第2のしきい値とを
比較する比較手段と、各小領域毎の前記比較手段による
比較結果の組合せに基づいて、透明部材上に載置された
原稿のサイズを判断するサイズ判断手段と、を有するこ
とを特徴とする。
In order to achieve the first and second objects, the image reading apparatus according to claim 1 is a plate-shaped transparent member formed by a photoelectric converter having a large number of photoelectric conversion elements. An image reading device that optically scans a document placed on the document to read an image recorded on the document, and is movable to a shielding position that shields the transparent member and an exposure position where the transparent member is exposed. A cover and photoelectric conversion elements in a plurality of small areas corresponding to an area extending over a specific one side of each of a plurality of types of originals of different sizes placed at each substantially constant position on the transparent member. Representative value calculating means for calculating a representative value of image information in each small area based on a signal output from each, and a representative value of image information for each small area before the transparent member is shielded by the cover. And the first threshold value At the same time, a comparison means for comparing the representative value of the image information of each small area after the transparent member is shielded by the cover with a second threshold different from the first threshold, Size determining means for determining the size of the document placed on the transparent member based on the combination of the comparison results by the comparing means for each area.

【0015】この請求項1記載の画像読取装置では、通
常、原稿に記録されている画像を読み取る際に、該原稿
を透明部材上に載置し、カバーを露出位置から遮蔽位置
へ移動させた後、所定の開始指示(例えば、スタートボ
タン操作等)を行うことにより、画像読取を開始する。
In the image reading apparatus according to the first aspect of the present invention, when the image recorded on the original is read, the original is placed on the transparent member and the cover is moved from the exposed position to the shielded position. After that, the image reading is started by giving a predetermined start instruction (for example, a start button operation or the like).

【0016】なお、請求項1記載の発明では、透明部材
上の略一定の位置各々に載置されるサイズの異なる複数
種の原稿の各々の特定の一辺に跨がるエリアに対応して
複数の小領域が予め定められている。
According to the first aspect of the invention, a plurality of types of originals of different sizes placed at substantially constant positions on the transparent member are provided in a plurality of areas corresponding to an area extending over a specific side. The small area of is predetermined.

【0017】本請求項1記載の画像読取装置では、代表
値算出手段によって、複数の小領域内の光電変換素子の
各々から出力される信号に基づいて、各小領域内の画像
情報の代表値を算出することができる。即ち、画像読取
時において、代表値算出手段は、カバーにより透明部材
が遮蔽される前に各小領域内の画像情報の代表値(以
下、遮蔽前代表値と称す)を算出し、カバーにより透明
部材が遮蔽されるようになった後で各小領域内の画像情
報の代表値(以下、遮蔽後代表値と称す)を算出する。
In the image reading apparatus according to the first aspect of the present invention, the representative value calculation unit calculates the representative value of the image information in each small area based on the signal output from each of the photoelectric conversion elements in the plurality of small areas. Can be calculated. That is, at the time of reading an image, the representative value calculation means calculates a representative value of image information in each small area (hereinafter referred to as a pre-shielding representative value) before the transparent member is shielded by the cover, and is transparent by the cover. After the member is shielded, a representative value of image information in each small area (hereinafter, referred to as a shielded representative value) is calculated.

【0018】そして、比較手段は、上記算出した遮蔽前
代表値と第1のしきい値とを比較すると共に、遮蔽後代
表値と第2のしきい値とを比較する。
The comparing means compares the calculated pre-shielding representative value with the first threshold value and compares the post-shielding representative value with the second threshold value.

【0019】ところで、カバーにより透明部材が遮蔽さ
れる前では、原稿以外の部分は黒くなるのが一般的であ
るが、外光の影響によって少し白っぽくなることがあ
る。よって、上記比較手段による比較において、第1の
しきい値を通常の値にしておくと、本来原稿以外の部分
で黒と判定されるべきところを誤って白と判定される虞
れがある。そこで、第1のしきい値は、上記の事態を回
避するべく、少し白寄りに設定することが望ましい。
Before the transparent member is shielded by the cover, the portion other than the original is generally black, but it may be slightly whitish due to the influence of external light. Therefore, in the comparison by the comparison means, if the first threshold value is set to a normal value, there is a possibility that a portion other than the original portion, which should be determined to be black, may be erroneously determined to be white. Therefore, it is desirable that the first threshold value is set to be slightly white to avoid the above situation.

【0020】同様に、カバーにより透明部材が遮蔽され
た後では、原稿以外の部分は白くなるのが一般的である
が、外光の影響によってカバーで覆われた部分の外縁部
と中心部とで白さの度合いにばらつきが生じることがあ
る。よって、上記比較手段による比較において、第2の
しきい値を通常の値にしておくと、本来原稿以外の部分
で白と判定されるべきところを誤って黒と判定される虞
れがある。そこで、第2のしきい値は、上記の事態を回
避するべく、少し黒寄りに設定することが望ましい。
Similarly, after the transparent member is shielded by the cover, the portion other than the original is generally white, but the outer edge and the central portion of the portion covered by the cover are affected by the external light. The whiteness may vary. Therefore, if the second threshold value is set to a normal value in the comparison by the comparison means, there is a possibility that a portion other than the original should be determined to be white, but it is erroneously determined to be black. Therefore, it is desirable that the second threshold value is set to be slightly blacker in order to avoid the above situation.

【0021】この請求項1記載の発明では、第1のしき
い値と第2のしきい値とが異なるよう設定されている、
例えば、第1のしきい値が白寄りに、第2のしきい値が
黒寄りに設定されているので、上記のような誤まった比
較結果が発生することを未然に防止することができる。
In the invention according to claim 1, the first threshold value and the second threshold value are set to be different from each other.
For example, since the first threshold value is set to the white side and the second threshold value is set to the black side, it is possible to prevent the erroneous comparison result from occurring. .

【0022】そして、サイズ判断手段は、各小領域につ
いて上記のようにして外光の影響を考慮して正確に求め
られた遮蔽前代表値についての比較結果と遮蔽後代表値
についての比較結果との組合せより、該小領域が黒か白
かを判定し、この各小領域毎の判定結果から原稿のサイ
ズを判断する。
Then, the size judgment means compares the comparison result of the representative value before shielding and the comparison result of the representative value after shielding, which are accurately obtained in consideration of the influence of outside light as described above, for each small area. It is determined whether the small area is black or white based on the combination of, and the size of the document is determined from the determination result for each small area.

【0023】この請求項1記載の発明によれば、装置が
設置された環境の要因(外光等)を考慮して正確に求め
られた遮蔽前代表値についての比較結果と遮蔽後代表値
についての比較結果との組合せに基づいて原稿のサイズ
を判断するので、環境の要因に影響されることなく原稿
のサイズを正確に判定することができる。
According to the first aspect of the present invention, the comparison result of the representative value before shielding and the representative value after shielding are accurately obtained in consideration of the factors of the environment in which the device is installed (external light etc.). Since the size of the original is determined based on the combination with the result of the comparison, the size of the original can be accurately determined without being affected by environmental factors.

【0024】また、請求項1記載の発明では、原稿に記
録されている画像を読み取るために設けられた光電変換
素子を用いて上記のようにして原稿のサイズを判断する
ので、原稿のサイズ検出専用に多数のセンサを設ける必
要はなく、装置の構成を簡単にすることができる。
Further, according to the first aspect of the invention, since the size of the document is determined as described above by using the photoelectric conversion element provided for reading the image recorded on the document, the size of the document is detected. It is not necessary to provide a large number of dedicated sensors, and the structure of the device can be simplified.

【0025】また、原稿サイズ検出のためのプリスキャ
ンも必要としないため、プリスキャンが画像読取装置の
処理能力(例えば単位時間当りの複写枚数等)の向上の
ネックになるという問題を解消することができる。
Further, since the prescan for detecting the document size is not required, the problem that the prescan becomes a bottleneck in improving the processing capability of the image reading apparatus (for example, the number of copies per unit time) is solved. You can

【0026】次に、請求項2記載の画像読取装置は、請
求項1記載の画像読取装置において、原稿が透明部材上
に載置されていない状態で透明部材が遮蔽される前にお
ける各小領域毎の画像情報の代表値に基づいて第1のし
きい値を設定すると共に、原稿が透明部材上に載置され
ていない状態で透明部材が遮蔽された後における各小領
域毎の画像情報の代表値に基づいて第2のしきい値を設
定するしきい値設定手段を更に有することを特徴とす
る。
Next, the image reading apparatus according to a second aspect is the image reading apparatus according to the first aspect, wherein each small area before the transparent member is shielded while the document is not placed on the transparent member. The first threshold value is set based on the representative value of the image information for each of the image information of each small area after the transparent member is shielded while the document is not placed on the transparent member. It is characterized by further comprising threshold setting means for setting the second threshold based on the representative value.

【0027】また、請求項3記載の画像読取装置では、
請求項2記載の画像読取装置において、前記しきい値設
定手段は、各小領域毎に第1のしきい値及び第2のしき
い値を設定することを特徴とする。
In the image reading device according to the third aspect,
The image reading apparatus according to claim 2, wherein the threshold value setting means sets a first threshold value and a second threshold value for each small area.

【0028】また、請求項4記載の画像読取装置では、
請求項2記載の画像読取装置において、前記しきい値設
定手段は、原稿が透明部材上に載置されていない状態で
透明部材が遮蔽される前における各小領域毎の画像情報
の代表値、及び該各小領域毎の画像情報の代表値におけ
る最大値と最小値との差に基づいて、各小領域毎に第1
のしきい値を設定すると共に、原稿が透明部材上に載置
されていない状態で透明部材が遮蔽された後における各
小領域毎の画像情報の代表値、及び該各小領域毎の画像
情報の代表値における最大値と最小値との差に基づい
て、各小領域毎に第2のしきい値を設定することを特徴
とする。
According to the image reading apparatus of the fourth aspect,
3. The image reading apparatus according to claim 2, wherein the threshold value setting means is a representative value of image information for each small area before the transparent member is shielded in a state where the original is not placed on the transparent member, And a first value for each small area based on the difference between the maximum value and the minimum value in the representative value of the image information for each small area.
The threshold value of, and the representative value of the image information of each small area after the transparent member is shielded in the state that the original is not placed on the transparent member, and the image information of each small area The second threshold value is set for each small area based on the difference between the maximum value and the minimum value in the representative value of.

【0029】ところで、原稿が透明部材上に載置されて
いない状態で算出した画像情報の遮蔽前代表値及び遮蔽
後代表値には、前述したように外光の影響が含まれてい
る。具体的には図16において曲線K1で示す遮蔽前代
表値はほぼ「0」(黒)に近い値となるものの外縁部に
近い小領域(#1や#8等)ほど該小領域における遮蔽
前代表値は大きくなる(少し白寄りになる)。
By the way, the before-shielding representative value and the after-shielding representative value of the image information calculated in the state where the document is not placed on the transparent member include the influence of external light as described above. Specifically, the pre-shielding representative value indicated by the curve K1 in FIG. 16 is close to “0” (black), but the smaller the region (# 1, # 8, etc.) closer to the outer edge is, the more pre-shielding is in the small region. The representative value becomes large (a little whiter).

【0030】また、図17において曲線L1で示す遮蔽
後代表値はほぼ「255」(白)に近い値となるものの
外縁部に近い小領域ほど該小領域における遮蔽前代表値
は大きくなる。
Although the representative value after shielding shown by the curve L1 in FIG. 17 is close to "255" (white), the representative value before shielding in the smaller area is larger in the smaller area closer to the outer edge.

【0031】そこで、上記請求項2記載の画像読取装置
では、原稿が透明部材上に載置されていない状態での各
小領域毎の画像情報の遮蔽前代表値(即ち上記のような
外光の影響を含んだ遮蔽前代表値)に基づいて第1のし
きい値を設定する。具体的には、各小領域毎の画像情報
の遮蔽前代表値に関する加算平均値や、最大値、最小
値、中間値、最頻値などを第1のしきい値として設定す
ることができる。
Therefore, in the image reading apparatus according to the second aspect, the representative value before shielding of the image information of each small area (that is, the outside light as described above) in the state where the document is not placed on the transparent member. The first threshold value is set on the basis of the pre-shielding representative value including the influence of 1. Specifically, it is possible to set an arithmetic mean value, a maximum value, a minimum value, an intermediate value, a mode value, etc. regarding the representative value before occlusion of the image information for each small area as the first threshold value.

【0032】また、遮蔽前代表値と予め求められた該遮
蔽前代表値に対して最適な第1のしきい値とを対応付け
たテーブルを予め記憶しておき、このテーブルを参照す
ることによって、第1のしきい値を設定しても良い。
Further, a table in which the pre-shielding representative value and the first threshold value which is obtained in advance and which is optimum for the pre-shielding representative value are associated with each other is stored in advance, and this table is referred to. , The first threshold may be set.

【0033】このように外光の影響を含んだ遮蔽前代表
値に基づいて第1のしきい値を設定することにより、外
光の影響分を加味した第1のしきい値を設定することが
でき、比較手段による(原稿が透明部材上に載置された
状態での)各小領域毎の画像情報の遮蔽前代表値と第1
のしきい値との比較を、環境の要因による影響をより小
さくした上で正確に行うことができる。
By thus setting the first threshold value based on the pre-shielding representative value including the influence of external light, the first threshold value can be set in consideration of the influence of external light. And the first representative value of the image information for each small area (in the state where the original is placed on the transparent member) before the shielding by the comparison means and the first
The comparison with the threshold value of can be performed accurately after reducing the influence of environmental factors.

【0034】上記と同様に、第2のしきい値について
も、原稿が透明部材上に載置されていない状態での各小
領域毎の画像情報の遮蔽後代表値(即ち上記のような外
光の影響を含んだ遮蔽後代表値)に基づいて設定するこ
とにより、外光の影響分を加味した第2のしきい値を設
定することができ、比較手段による(原稿が透明部材上
に載置された状態での)各小領域毎の画像情報の遮蔽後
代表値と第2のしきい値との比較を、環境の要因による
影響をより小さくした上で正確に行うことができる。
Similarly to the above, with respect to the second threshold value, the masked representative value of the image information of each small area (that is, the outside By setting it based on the after-shielding representative value including the influence of light, it is possible to set the second threshold value that takes into account the influence of outside light. The shielded representative value of the image information for each small area (in the mounted state) and the second threshold value can be accurately compared with the influence of environmental factors being reduced.

【0035】また、上記請求項2記載の画像読取装置に
おいて、請求項3記載の発明のように、しきい値設定手
段が、原稿が透明部材上に載置されていない状態での各
小領域毎の画像情報の遮蔽前代表値(即ち上記のような
外光の影響を含んだ遮蔽前代表値)に基づいて、各小領
域毎に第1のしきい値を設定すると、各小領域における
外光の影響分を加味した適切な第1のしきい値を各小領
域毎に設定することができ、比較手段による(原稿が透
明部材上に載置された状態での)各小領域毎の画像情報
の遮蔽前代表値と各小領域毎の第1のしきい値との比較
を、環境の要因による影響を更に小さくした上でより正
確に行うことができる。
Further, in the image reading apparatus according to the second aspect, as in the invention according to the third aspect, the threshold value setting means sets each small area in a state in which the original is not placed on the transparent member. If the first threshold value is set for each small region based on the before-shielding representative value of image information for each (that is, the before-shielding representative value including the influence of external light as described above), It is possible to set an appropriate first threshold value in consideration of the influence of outside light for each small area, and for each small area (when the original is placed on the transparent member) by the comparison means. The comparison between the representative value of the image information before occlusion and the first threshold value for each small area can be performed more accurately after further reducing the influence of environmental factors.

【0036】なお、第2のしきい値の設定についても、
上記のように各小領域毎に設定すると、各小領域におけ
る外光の影響分を加味した適切な第2のしきい値を各小
領域毎に設定することができ、比較手段による(原稿が
透明部材上に載置された状態での)各小領域毎の画像情
報の遮蔽後代表値と各小領域毎の第2のしきい値との比
較を、環境の要因による影響を更に小さくした上でより
正確に行うことができる。
The setting of the second threshold is also
When each small area is set as described above, it is possible to set an appropriate second threshold value in consideration of the influence of external light in each small area for each small area. The comparison between the masked representative value of the image information for each small area (when placed on the transparent member) and the second threshold value for each small area was made to further reduce the influence of environmental factors. Can be done more accurately above.

【0037】更に、上記請求項2記載の画像読取装置に
おいて、請求項4記載の発明のように、しきい値設定手
段が、原稿が透明部材上に載置されていない状態での各
小領域毎の画像情報の遮蔽前代表値(即ち上記のような
外光の影響を含んだ遮蔽前代表値)及び該遮蔽前代表値
の最大値と最小値との差(即ち外光による最大影響分)
に基づいて、各小領域毎に第1のしきい値を設定しても
良い。即ち、原稿が透明部材上に載置されていない状態
における各小領域毎の画像情報の遮蔽前代表値に基づく
値を各小領域毎に求めた後、該各小領域毎に求めた値
に、遮蔽前代表値の最大値と最小値との差(外光による
最大影響分)を加えることにより、各小領域における外
光による最大影響分を加味したより適切な第1のしきい
値を各小領域毎に設定することができる。これにより、
比較手段による(原稿が透明部材上に載置された状態で
の)各小領域毎の画像情報の遮蔽前代表値と各小領域毎
の第1のしきい値との比較を、環境の要因による影響を
更に小さくした上でより正確に行うことができる。
Further, in the image reading apparatus according to the second aspect, as in the invention according to the fourth aspect, the threshold value setting means sets each small area in a state in which the original is not placed on the transparent member. The pre-shielding representative value of each image information (that is, the pre-shielding representative value including the influence of external light as described above) and the difference between the maximum value and the minimum value of the pre-shielding representative value (that is, the maximum influence amount by the external light). )
Based on the above, the first threshold value may be set for each small area. That is, after the value based on the representative value before shielding of the image information for each small area in the state where the document is not placed on the transparent member is obtained for each small area, the value obtained for each small area is set to the value obtained. , By adding the difference between the maximum value and the minimum value of the unshielded representative value (maximum influence by external light), a more appropriate first threshold value that takes into account the maximum influence by external light in each small area is obtained. It can be set for each small area. This allows
The comparison means compares the unshielded representative value of the image information for each small area (when the original is placed on the transparent member) with the first threshold value for each small area as an environmental factor. This can be performed more accurately after further reducing the influence of.

【0038】なお、第2のしきい値の設定についても、
上記のように各小領域毎に外光による最大影響分を加味
した上で設定することにより、比較手段による(原稿が
透明部材上に載置された状態での)各小領域毎の画像情
報の遮蔽後代表値と各小領域毎の第2のしきい値との比
較を、環境の要因による影響を更に小さくした上でより
正確に行うことができる。
Regarding the setting of the second threshold value,
As described above, the image information for each small area (when the original is placed on the transparent member) by the comparison means is set by taking into account the maximum influence of external light for each small area. It is possible to more accurately compare the representative value after shielding with the second threshold value for each small area after further reducing the influence of environmental factors.

【0039】次に、請求項5記載の画像読取装置は、請
求項1乃至請求項4の何れか一項に記載の画像読取装置
において、前記第1のしきい値及び前記第2のしきい値
の各々を所望の値に変更するためのしきい値変更手段を
更に有することを特徴とする。
Next, an image reading apparatus according to a fifth aspect is the image reading apparatus according to any one of the first to fourth aspects, wherein the first threshold value and the second threshold value are set. It is characterized by further comprising threshold changing means for changing each of the values to a desired value.

【0040】また、請求項6記載の画像読取装置は、請
求項5記載の画像読取装置において、変更された第1の
しきい値を有効とする時間帯及び変更された第2のしき
い値を有効とする時間帯の各々を所望の時間帯に設定す
るための有効時間帯設定手段を更に有することを特徴と
する。
According to a sixth aspect of the present invention, in the image reading apparatus according to the fifth aspect, the time zone in which the changed first threshold value is valid and the changed second threshold value are effective. It is characterized by further comprising an effective time zone setting means for setting each of the time zones for which is effective to a desired time zone.

【0041】また、請求項7記載の画像読取装置では、
請求項1乃至請求項6の何れか一項に記載の画像読取装
置において、前記カバーは、透明部材の遮蔽時に該透明
部材に対向する面が白色とされていることを特徴とす
る。
According to the image reading apparatus of the seventh aspect,
The image reading apparatus according to any one of claims 1 to 6, wherein a surface of the cover facing the transparent member when the transparent member is shielded is white.

【0042】上記請求項5記載の画像読取装置は、しき
い値変更手段を有しているので、画像読取装置が例え
ば、蛍光灯の真下や、太陽光が差し込む窓際等に設置さ
れた場合でも、ユーザがしきい値変更手段によって第1
のしきい値や第2のしきい値を所望の値に変更すること
により、原稿サイズの誤検知を防止することができる。
Since the image reading device according to the fifth aspect has the threshold value changing means, even when the image reading device is installed, for example, directly under a fluorescent lamp or at a window into which sunlight is inserted. , The user uses the threshold changing means
By changing the threshold value and the second threshold value to desired values, it is possible to prevent erroneous detection of the document size.

【0043】また、上記請求項6記載の画像読取装置
は、有効時間帯設定手段を有しているので、画像読取装
置が窓際に設置され特定の時間帯(例えば、朝日が差し
込む午前中や西日が差し込む夕方等)に外光による影響
がありうる場合に、ユーザは有効時間帯設定手段によっ
て第1のしきい値を有効とする時間帯や、第2のしきい
値を有効とする時間帯を所望の時間帯に設定することが
できる。これにより、所望の時間帯に、変更した第1の
しきい値や第2のしきい値を有効とし、時間による環境
の変化に適切に対応することができる。
Further, since the image reading device according to the sixth aspect has the effective time zone setting means, the image reading device is installed at the window and is installed in a specific time zone (for example, in the morning when the sun rises or in the west). When there is a possibility that the external light may affect the effect of the external light such as the evening when the sun is shining, the user uses the effective time zone setting means to activate the first threshold value or the second threshold value. The band can be set to a desired time period. As a result, the changed first threshold value and second threshold value are validated in a desired time zone, and it is possible to appropriately respond to changes in the environment over time.

【0044】さらに、本発明におけるカバーは、請求項
7記載の発明のように、透明部材の遮蔽時に該透明部材
に対向する面が白色とされているので、裏写りによる画
質への影響を無くすことができ、正確に原稿のサイズを
判断することができる。
Furthermore, in the cover according to the present invention, the surface facing the transparent member when the transparent member is shielded is white as in the invention described in claim 7, so that the effect of show-through on the image quality is eliminated. Therefore, the size of the original can be accurately determined.

【0045】[0045]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態の一例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings.

【0046】〔第1実施形態〕図1には本実施形態に係
る画像読取装置10の外観が示されている。画像読取装
置10は、箱型の筐体12を備えており、この筐体12
の上部には、筐体12の上部開口部を閉塞する蓋状の原
稿台14が取付けられている。原稿台14は、板状で長
方形の透明部材であるプラテンガラス16と、プラテン
ガラス16の外周に配設された長方形枠状のレジガイド
板18と、を備えている。なお、本実施形態では、プラ
テンガラス16のうちレジガイド板18から露出してい
る部分のサイズがA3サイズに略等しくされている。
[First Embodiment] FIG. 1 shows an external view of an image reading apparatus 10 according to the present embodiment. The image reading device 10 includes a box-shaped housing 12.
A lid-shaped document table 14 that closes the upper opening of the housing 12 is attached to the upper part of the. The document table 14 includes a platen glass 16 which is a plate-shaped and rectangular transparent member, and a rectangular frame-shaped registration guide plate 18 which is arranged on the outer periphery of the platen glass 16. In the present embodiment, the size of the portion of the platen glass 16 exposed from the registration guide plate 18 is made substantially equal to the A3 size.

【0047】図3に示すように、レジガイド板18は上
面の高さ位置がプラテンガラス16よりも高くされてお
り、図1におけるプラテンガラス16の左奥側の角部に
対応する位置には原稿合わせマーク20が付与されてい
る。原稿は、画像が記録されている面がプラテンガラス
16側を向き、かつ原稿の4個の角部のうちの何れかが
原稿合わせマーク20が付与されている箇所に位置して
いるプラテンガラス16の角部に対応し、かつ原稿の2
辺がレジガイド板18の内側面に当接(図3に示す原稿
21参照)するようにプラテンガラス16上に載置され
る。これにより原稿は、そのサイズに拘らず、プラテン
ガラス16上の略一定の位置に載置されることになる。
As shown in FIG. 3, the height of the upper surface of the registration guide plate 18 is higher than that of the platen glass 16, and the position corresponding to the left rear corner of the platen glass 16 in FIG. A document alignment mark 20 is provided. The document has a platen glass 16 in which the surface on which the image is recorded faces the platen glass 16 side, and one of the four corners of the document is located at a position where the document alignment mark 20 is provided. Corresponding to the corners of the original and 2
It is placed on the platen glass 16 so that its side comes into contact with the inner side surface of the registration guide plate 18 (see the document 21 shown in FIG. 3). As a result, the document is placed at a substantially constant position on the platen glass 16 regardless of its size.

【0048】また筐体12には、一長辺側に一対のヒン
ジ22を介してプラテンカバー24(本発明のカバーに
相当)が取付けられている。プラテンカバー24は、ヒ
ンジ22により、図2(A)に示す起立位置(全開位
置)と、図示は省略するが原稿台14を完全に閉塞する
位置(全閉位置)との間を回動可能とされている。プラ
テンカバー24の裏面側(プラテンガラス16対向面
側)には、矩形状のプラテンクッション26が貼着され
ている。プラテンクッション26は、プラテンガラス1
6に対向する面の表面が白色とされており、いわゆる裏
写りによる画質への影響を無くすよう配慮されている。
A platen cover 24 (corresponding to the cover of the present invention) is attached to the housing 12 via a pair of hinges 22 on one long side. The platen cover 24 can be rotated by a hinge 22 between an upright position (fully open position) shown in FIG. 2A and a position (not shown) at which the document table 14 is completely closed (fully closed position). It is said that. A rectangular platen cushion 26 is attached to the back side of the platen cover 24 (the side facing the platen glass 16). The platen cushion 26 is a platen glass 1
The surface of the surface facing 6 is white, and consideration is given to eliminate the influence of so-called show-through on image quality.

【0049】また一方のヒンジ22の配設位置の近傍に
は、オンオフスイッチから成り、移動子が原稿台14か
ら突出するように設けられたアングルセンサ28が取付
けられている。なお図1及び図2はアングルセンサ28
の移動子のみを示している。アングルセンサ28の移動
子は長手方向に沿って移動可能とされていると共に、ば
ね等から成る図示しない付勢手段により図1及び図2
(A)に示す位置に保持されており、このときはアング
ルセンサ28はオフ状態となっている。プラテンカバー
24が図2(A)に示す全開位置から全閉位置へ所定角
度以上回動されると、図2(B)に示すように、アング
ルセンサ28の移動子がプラテンカバー24の裏面に当
接して押圧されることにより、プラテンカバー24が全
閉位置まで回動される前に(図2(B)に示す状態
で)、アングルセンサ28がオン状態に変化する。
An angle sensor 28, which is an on / off switch and is provided so that the mover projects from the document table 14, is mounted near the position where the one hinge 22 is provided. The angle sensor 28 shown in FIGS.
Only the mover of is shown. The mover of the angle sensor 28 is movable in the longitudinal direction, and is provided with a biasing means (not shown) such as a spring, which is shown in FIGS.
It is held at the position shown in (A), and at this time, the angle sensor 28 is in the off state. When the platen cover 24 is rotated from the fully open position shown in FIG. 2 (A) to the fully closed position by a predetermined angle or more, as shown in FIG. 2 (B), the mover of the angle sensor 28 is placed on the back surface of the platen cover 24. By contacting and pressing, the angle sensor 28 changes to the ON state before the platen cover 24 is rotated to the fully closed position (in the state shown in FIG. 2B).

【0050】また、プラテンカバー24の裏面には、ヒ
ンジ22が取付けられている側の端部と反対側の端部
に、図2に示すように、プラテンインタロックセンサ3
0が取付けられている。プラテンインタロックセンサ3
0は、全閉状態でない場合にはオフ状態で、プラテンカ
バー24が全閉状態になるとオン状態に変化するように
構成されている。
As shown in FIG. 2, the platen interlock sensor 3 is provided on the rear surface of the platen cover 24 at the end opposite to the end where the hinge 22 is attached.
0 is attached. Platen interlock sensor 3
0 is configured to be in an off state when the platen cover 24 is not in the fully closed state and to be in an on state when the platen cover 24 is in the fully closed state.

【0051】図3に示すように、筐体12内には走査装
置32が設けられている。走査装置32は、プラテンガ
ラス16に向けて光を射出するランプ34と、プラテン
ガラス16側からの反射光を略水平に反射する第1の反
射ミラー36と、第1の反射ミラー36の光射出側に配
置され第1の反射ミラー36から入射された光を略鉛直
方向に沿って下方へ射出する第2の反射ミラー38と、
第2の反射ミラー38の光射出側に配置され第2の反射
ミラー38から入射された光を略水平に反射する第3の
反射ミラー40と、を備えている。また、第3の反射ミ
ラー40の光射出側には、結像レンズ42及び本発明の
光電変換器としてのCCDラインセンサ44が設けられ
ている。
As shown in FIG. 3, a scanning device 32 is provided in the housing 12. The scanning device 32 includes a lamp 34 that emits light toward the platen glass 16, a first reflection mirror 36 that reflects the reflected light from the platen glass 16 side substantially horizontally, and a light emission of the first reflection mirror 36. A second reflection mirror 38 which is disposed on the side and which emits light incident from the first reflection mirror 36 downward along a substantially vertical direction;
The third reflection mirror 40 is provided on the light emission side of the second reflection mirror 38 and reflects the light incident from the second reflection mirror 38 substantially horizontally. An image forming lens 42 and a CCD line sensor 44 as a photoelectric converter of the present invention are provided on the light emitting side of the third reflecting mirror 40.

【0052】図3はプラテンガラス16の長辺方向に沿
った断面図を示しているが、ランプ34、反射ミラー3
6、38、40及び結像レンズ42は各々プラテンガラ
ス16の短辺方向(図3の紙面に直交する方向:以下主
走査方向と称する)に沿ってプラテンガラス16の一端
から他端に亘って各々延設されており、これにより、ラ
ンプ34からプラテンガラス16に向けて射出される
光、及びプラテンガラス16側から反射され反射ミラー
36、38、40及び結像レンズ42を介してCCDラ
インセンサ44の受光部に結像される光は、各々主走査
方向に長いスリット状の光とされている。
FIG. 3 is a sectional view taken along the long side direction of the platen glass 16, where the lamp 34 and the reflection mirror 3 are shown.
6, 38, 40 and the imaging lens 42 extend from one end of the platen glass 16 to the other end along the short side direction of the platen glass 16 (direction orthogonal to the plane of FIG. 3; hereinafter referred to as main scanning direction). The CCD line sensor is provided by extending the light from the lamp 34 toward the platen glass 16 and the light reflected from the platen glass 16 side through the reflection mirrors 36, 38, 40 and the imaging lens 42. The light imaged on the light receiving unit 44 is a slit-like light elongated in the main scanning direction.

【0053】CCDラインセンサ44は主走査方向に沿
って一定密度で配列された多数のセル(本発明の光電変
換素子)を備えており、CCDラインセンサ44の受光
部上の主走査方向に沿った各位置における受光量は、各
セルによって各々電気信号に変換されて出力される。
The CCD line sensor 44 is provided with a large number of cells (photoelectric conversion elements of the present invention) arranged at a constant density along the main scanning direction, and along the main scanning direction on the light receiving portion of the CCD line sensor 44. The received light amount at each position is converted into an electric signal by each cell and output.

【0054】また、ランプ34及び第1の反射ミラー3
6は、主走査方向に直交する副走査方向(図3の矢印S
方向)に沿って筐体12内を往復移動可能とされたキャ
ッリジ部材46に取付けられており、第2の反射ミラー
38及び第3の反射ミラー40は、同じく副走査方向に
沿って筐体12内を往復移動可能とされたキャリッジ部
材48に取付けられている。これらキャリッジ部材4
6、48は、図示しないワイヤーでつながっていて、原
稿21で反射した光がCCDラインセンサ44の受光部
に到達するまでの光路長が一定になるように構造的に調
整されている。また、これらキャリッジ部材46、48
はキャリッジ部材駆動部50(図4参照)により副走査
方向に沿って移動される。
Further, the lamp 34 and the first reflecting mirror 3
6 is a sub scanning direction (arrow S in FIG. 3) orthogonal to the main scanning direction.
Direction), and is mounted on a carriage member 46 that is capable of reciprocating in the housing 12 in the same direction, and the second reflecting mirror 38 and the third reflecting mirror 40 are also mounted in the housing 12 along the sub-scanning direction. It is attached to a carriage member 48 capable of reciprocating inside. These carriage members 4
Reference numerals 6 and 48 are connected by a wire (not shown), and are structurally adjusted so that the optical path length until the light reflected by the original 21 reaches the light receiving portion of the CCD line sensor 44 is constant. In addition, these carriage members 46 and 48
Is moved in the sub-scanning direction by the carriage member driving unit 50 (see FIG. 4).

【0055】図4に示すように、キャリッジ部材駆動部
50は制御部54に接続されており、制御部54によっ
て作動が制御される。なお、制御部54はマイクロコン
ピュータ等を含んで構成されている。
As shown in FIG. 4, the carriage member driving section 50 is connected to the control section 54, and the operation is controlled by the control section 54. The control unit 54 is configured to include a microcomputer and the like.

【0056】プラテンガラス16上に載置された原稿の
画像の読取りを行う場合、制御部54は、キャリッジ部
材駆動部50により、キャリッジ部材46を副走査方向
に沿って所定速度で移動させると共にキャリッジ部材4
8をキャリッジ部材46の移動方向と同一の方向に前記
所定速度の半分の速度で移動させる。プラテンカバー2
4が全閉状態の場合には、ランプ34から射出された光
はプラテンガラス16上に載置された原稿21、又はプ
ラテンガラス16に対して密着状態となっているプラテ
ンクッション26の表面で反射されるので、上記のよう
にキャリッジ部材46、48を移動させることにより、
副走査方向に沿ったキャリッジ部材46の位置に拘ら
ず、ランプ34からCCDラインセンサ44に至る光路
長は一定となる。
When the image of the original document placed on the platen glass 16 is read, the control unit 54 causes the carriage member drive unit 50 to move the carriage member 46 at a predetermined speed in the sub-scanning direction, and at the same time, to move the carriage. Member 4
8 is moved in the same direction as the moving direction of the carriage member 46 at a speed half the predetermined speed. Platen cover 2
When 4 is in the fully closed state, the light emitted from the lamp 34 is reflected by the document 21 placed on the platen glass 16 or the surface of the platen cushion 26 that is in close contact with the platen glass 16. Therefore, by moving the carriage members 46 and 48 as described above,
The optical path length from the lamp 34 to the CCD line sensor 44 is constant regardless of the position of the carriage member 46 along the sub-scanning direction.

【0057】図4に示すように、アングルセンサ28及
びプラテンインタロックセンサ30は制御部54に接続
されており、各センサによる検出結果は制御部54に入
力される。また、制御部54にはランプ34が接続され
ており、制御部54によってランプ34の点滅が制御さ
れる。また、CCDラインセンサ44はCCDドライバ
56及びサイズ検知部58を介して制御部54に接続さ
れている。
As shown in FIG. 4, the angle sensor 28 and the platen interlock sensor 30 are connected to the control unit 54, and the detection results of each sensor are input to the control unit 54. Further, the lamp 34 is connected to the control unit 54, and the blinking of the lamp 34 is controlled by the control unit 54. The CCD line sensor 44 is connected to the control unit 54 via the CCD driver 56 and the size detection unit 58.

【0058】また、制御部54には、オペレータが所望
のしきい値等を入力するためのキーボード64と、キー
ボード64から入力した値や制御部54からのメッセー
ジ等を表示するためのディスプレイ62と、オペレータ
が画像読取処理の実行開始を指示するためのスタートボ
タン66が接続されている。なお、キーボード64に
は、ディスプレイ62に表示された問いかけメッセージ
に対してオペレータが肯定応答するためのYesキー6
4Aと、否定応答するためのNoキー64Bと、が設け
られている。
Further, the control unit 54 includes a keyboard 64 for the operator to input a desired threshold value and the like, and a display 62 for displaying a value input from the keyboard 64, a message from the control unit 54 and the like. A start button 66 for the operator to instruct execution start of the image reading process is connected. The keyboard 64 is provided with a Yes key 6 for the operator to affirmatively respond to the inquiry message displayed on the display 62.
4A and a No key 64B for making a negative response are provided.

【0059】サイズ検知部58は、制御部54からビデ
オクロック信号やライン同期信号等の同期信号を含む各
種の信号やデータが入力される(信号やデータの内容に
ついては後述)。サイズ検知部58に入力されたビデオ
クロック信号がCCDドライバ56を介し、CCDライ
ンセンサ44を制御する。CCDラインセンサ44はビ
デオクロック信号に同期したタイミングで動作し、各セ
ルの受光量を表す信号をビデオクロック信号に同期した
タイミングで順に出力する。CCDラインセンサ44か
ら出力された信号は、CCDドライバ56によって増幅
されると共にデジタルの画像データに変換されてサイズ
検知部58に出力される。
The size detecting section 58 receives various signals and data including synchronizing signals such as video clock signals and line synchronizing signals from the controlling section 54 (the contents of the signals and data will be described later). The video clock signal input to the size detector 58 controls the CCD line sensor 44 via the CCD driver 56. The CCD line sensor 44 operates at a timing synchronized with the video clock signal, and sequentially outputs a signal indicating the amount of light received by each cell at a timing synchronized with the video clock signal. The signal output from the CCD line sensor 44 is amplified by the CCD driver 56, converted into digital image data, and output to the size detection unit 58.

【0060】また、サイズ検知部58には原稿の向きを
検出するための光センサ60が接続されている。光セン
サ60は、プラテンガラス16の下方に配設されている
と共に、図5に示すように、プラテンガラス16上に原
稿が横向き(長辺方向がプラテンガラス16の長手方向
に一致する方向:SEF)に載置された場合には、原稿
のサイズ(B5、A4、B4、A3等)に拘らず原稿が
存在し、プラテンガラス16上に原稿が縦向き(長辺方
向がプラテンガラスの短辺方向に一致する方向:LE
F)に載置された場合には、原稿のサイズに拘らず原稿
が存在しない所定位置(図5に「#0」として示す位
置)における原稿の有無を検出可能な位置に配設されて
いる。
Further, an optical sensor 60 for detecting the orientation of the document is connected to the size detecting section 58. The optical sensor 60 is arranged below the platen glass 16, and as shown in FIG. 5, the document is placed sideways on the platen glass 16 (the direction in which the long side direction coincides with the longitudinal direction of the platen glass 16: SEF). ), The original exists regardless of the size of the original (B5, A4, B4, A3, etc.), and the original is oriented vertically on the platen glass 16 (the long side direction is the short side of the platen glass). Direction that matches the direction: LE
When placed on F), it is arranged at a position where the presence or absence of a document can be detected at a predetermined position (a position shown as “# 0” in FIG. 5) where the document does not exist regardless of the size of the document. .

【0061】なお、上述した画像読取装置10はデジタ
ル複写機(図示省略)の一部を構成しており、画像読取
装置10によって読取られた原稿の画像は、複写機によ
り用紙に複写される。また画像読取装置10によって判
定された原稿のサイズ及び向き(原稿のサイズ及び向き
の判定の詳細については後述)は、用紙の選択や複写倍
率の決定に用いられる。
The image reading apparatus 10 described above constitutes a part of a digital copying machine (not shown), and the image of the original read by the image reading apparatus 10 is copied onto a sheet by the copying machine. The size and orientation of the original document determined by the image reading apparatus 10 (details of determination of the original document size and orientation will be described later) are used for selection of paper and determination of copy magnification.

【0062】次に本第1実施形態の作用を説明する。原
稿の読取り等を行っていない待機状態(原稿サイズ判定
時も含む)では、制御部54は、CCDラインセンサ4
4のセンシングエリアがレジガイド板18とプラテンガ
ラス16との境界から副走査方向に沿って20mm程度内側
(図5にハッチングで示す範囲)となるように、キャリ
ッジ部材46、48の位置を制御する(所謂ホームポジ
ション)。図5からも明らかなように、CCDラインセ
ンサ44のセンシングエリアの主走査方向に沿った長さ
は、プラテンガラス16の主走査方向に沿った長さより
も若干長くされている。
Next, the operation of the first embodiment will be described. In the standby state where the document is not read (including the document size determination), the control unit 54 controls the CCD line sensor 4
The positions of the carriage members 46 and 48 are controlled so that the sensing area 4 is located inside the boundary between the registration guide plate 18 and the platen glass 16 by about 20 mm in the sub-scanning direction (the range shown by hatching in FIG. 5). (So-called home position). As is apparent from FIG. 5, the length of the sensing area of the CCD line sensor 44 along the main scanning direction is slightly longer than the length of the platen glass 16 along the main scanning direction.

【0063】また、本第1実施形態では、原稿のサイズ
を判定する際に用いるCCDラインセンサ44のセンシ
ングエリアとして、図5に#1〜#8で示す8個のセン
シングエリアが定められている。各センシングエリア
は、図5に示すように、プラテンガラス16上に各種サ
イズの原稿が縦向き又は横向きに載置されたときに、C
CDラインセンサ44のセンシングエリアを横切る原稿
の特定の辺のプラテンガラス16上における位置を考慮
して位置が定められている。
Further, in the first embodiment, eight sensing areas shown by # 1 to # 8 in FIG. 5 are defined as the sensing areas of the CCD line sensor 44 used when determining the size of the original. . As shown in FIG. 5, each sensing area is C when a document of various sizes is placed vertically or horizontally on the platen glass 16.
The position is determined in consideration of the position on the platen glass 16 of a specific side of the document that crosses the sensing area of the CD line sensor 44.

【0064】すなわち、センシングエリア#2及び#3
は、B5サイズの原稿がプラテンガラス16上に横向き
に載置された場合に、CCDラインセンサ44のセンシ
ングエリアを横切る原稿の特定の一辺(図5に示す辺6
4A)を所定間隔隔てて挟むように各々の位置が定めら
れている。また、センシングエリア#4及び#5は、A
4サイズの原稿が横向きに載置された場合及びA5サイ
ズの原稿が縦向きに載置された場合に、CCDラインセ
ンサ44のセンシングエリアを横切る原稿の特定の一辺
(図5に示す辺64B)を所定間隔隔てて挟むように各
々の位置が定められている。
That is, sensing areas # 2 and # 3
When a B5 size document is placed sideways on the platen glass 16, one side of the document that crosses the sensing area of the CCD line sensor 44 (side 6 shown in FIG.
4A) are located at predetermined intervals so as to be sandwiched therebetween. In addition, sensing areas # 4 and # 5 are A
A specific side of the document that crosses the sensing area of the CCD line sensor 44 when a 4 size document is placed horizontally and when an A5 size document is placed vertically (the side 64B shown in FIG. 5). The respective positions are determined so as to be sandwiched at predetermined intervals.

【0065】また、センシングエリア#6及び#7は、
B4サイズの原稿が横向きに載置された場合及びB5サ
イズの原稿が縦向きに載置された場合に、CCDライン
センサ44のセンシングエリアを横切る原稿の特定の一
辺(図5に示す辺64C)を所定間隔隔てて挟むように
各々の位置が定められている。また、センシングエリア
#1及び#8は、A3サイズの原稿が横向きに載置され
た場合に、CCDラインセンサ44のセンシングエリア
を横切る原稿の二つの長辺よりも若干内側(CCDライ
ンセンサ44のセンシングエリアの両端部近傍をレジガ
イド板18の端部が横切っている位置よりも若干内側)
となるように各々の位置が定められている。
The sensing areas # 6 and # 7 are
A specific side of the document that crosses the sensing area of the CCD line sensor 44 when the B4 size document is placed horizontally and the B5 size document is placed vertically (the side 64C shown in FIG. 5). The respective positions are determined so as to be sandwiched at predetermined intervals. Further, the sensing areas # 1 and # 8 are slightly inside the two long sides of the original document that traverses the sensing area of the CCD line sensor 44 (when the A3 size original document is placed sideways). (Slightly inside the position where the ends of the registration guide plate 18 cross the vicinity of both ends of the sensing area)
Each position is defined so that

【0066】なお、以下では、CCDラインセンサ44
のセンシングエリアとレジガイド板16の端部が交差し
ている2箇所のうち、センシングエリア#1の近傍の箇
所を第1のレジ位置、センシングエリア#8の近傍の箇
所を第2のレジ位置と称する(図6も参照)。
In the following, the CCD line sensor 44 will be described.
Of the two locations where the sensing area and the edge of the cash register guide plate 16 intersect, the location near the sensing area # 1 is the first cash register position, and the location near the sensing area # 8 is the second cash register position. (See also FIG. 6).

【0067】図6にはCCDラインセンサ44の受光部
を概念的に示している。本第1実施形態では、図5に示
したセンシングエリア#1〜#8に対応して、CCDラ
インセンサ44の受光部上にセンシング領域#1〜#8
(本発明の複数の小領域に対応)が予め定められてい
る。センシング領域#1〜#8は、各々主走査方向に沿
って並ぶ複数の画素(=セル、図6では一例として34
個のセル)から構成されている。また本実施形態では、
各種サイズの原稿のCCDラインセンサ44のセンシン
グエリアを横切る辺のプラテンガラス16上における位
置に対応するCCDラインセンサ44の受光部上におけ
る位置が、第1のレジ位置に対応する画素からの画素数
(セル数)に換算されて予め求められている(図6参
照)。
FIG. 6 conceptually shows the light receiving portion of the CCD line sensor 44. In the first embodiment, sensing areas # 1 to # 8 are provided on the light receiving portion of the CCD line sensor 44 corresponding to the sensing areas # 1 to # 8 shown in FIG.
(Corresponding to a plurality of small areas of the present invention) is predetermined. Each of the sensing areas # 1 to # 8 includes a plurality of pixels (= cells, which are 34 in FIG. 6) arranged in the main scanning direction.
Cells). In the present embodiment,
The number of pixels from the pixel corresponding to the first registration position is the position on the light receiving portion of the CCD line sensor 44 corresponding to the position on the platen glass 16 of the side crossing the sensing area of the CCD line sensor 44 of various sizes of originals. It is converted into (the number of cells) and obtained in advance (see FIG. 6).

【0068】制御部54は、各センシング領域の大き
さ、及び各種サイズの原稿のセンシングエリアを横切る
辺のプラテンガラス16上における位置に対応するCC
Dラインセンサ44の受光部上における位置に基づいて
求められた、第1のレジ位置から各センシング領域が始
まる位置迄の距離を画素数に換算した値を記憶しており
(一例として次の表1を参照)、このデータをセンシン
グ開始位置(センシングスタートポジションSn :nは
センシング領域の番号)としてサイズ検知部58に出力
する。
The controller 54 controls the CCs corresponding to the size of each sensing area and the position on the platen glass 16 of the side that crosses the sensing area of the document of various sizes.
A value obtained by converting the distance from the first registration position to the position where each sensing region starts to the number of pixels, which is obtained based on the position on the light receiving portion of the D line sensor 44, is stored (see the table below as an example). 1), and outputs this data to the size detection unit 58 as a sensing start position (sensing start position S n : n is the number of the sensing area).

【0069】[0069]

【表1】 [Table 1]

【0070】またサイズ検知部58は、後述するよう
に、各センシング領域内のセルから出力された画像デー
タをしきい値と比較し、比較結果をステータスレジスタ
にセットして制御部54に出力する。制御部54は各セ
ンシング領域毎に定めた前述のしきい値をサイズ検知部
58に出力すると共に、サイズ検知部58に対し、ステ
ータスレジスタの値をホールドさせたい場合にはレジス
タホールド信号を、ステータスレジスタの値をリセット
したい場合にはレジスタリセット信号を各々出力する。
As will be described later, the size detector 58 compares the image data output from the cells in each sensing area with a threshold value, sets the comparison result in the status register, and outputs it to the controller 54. . The control unit 54 outputs the above-mentioned threshold value determined for each sensing area to the size detection unit 58, and when the size detection unit 58 wants to hold the value of the status register, it sends a register hold signal to the status register. When it is desired to reset the register value, a register reset signal is output.

【0071】次に図7のフローチャートを参照し、信号
生成処理について説明する。なお、この信号生成処理
は、プラテンガラス16上に載置された原稿のサイズの
検出を行うために、制御部54がレジスタホールド信号
によるステータスレジスタの値のホールドを解除し、更
にレジスタリセット信号を出力するとサイズ検知部58
で実行される。
Next, the signal generation processing will be described with reference to the flowchart of FIG. In this signal generation process, in order to detect the size of the document placed on the platen glass 16, the control unit 54 releases the hold of the value of the status register by the register hold signal, and further outputs the register reset signal. When output, size detector 58
Run on.

【0072】ステップ100では、センシング領域番号
nに1を代入し、カウンタs及びカウンタvに0を代入
すると共に、センシングエリア信号及びビデオサンプリ
ング信号(共にサイズ検知部58内部の信号)のレベル
をローレベル(「L」)にする等の初期化処理を行う。
次のステップ102では、制御部54から入力されるラ
イン同期信号のレベルがハイレベル(「H」)となった
か否か判定し、判定が否定された場合には判定が肯定さ
れる迄待機する。
In step 100, 1 is substituted for the sensing area number n, 0 is substituted for the counter s and the counter v, and the levels of the sensing area signal and the video sampling signal (both of the signals inside the size detecting section 58) are set to low. Initialization processing such as setting the level (“L”) is performed.
In the next step 102, it is determined whether or not the level of the line synchronization signal input from the control unit 54 has become a high level (“H”). If the determination is negative, the process waits until the determination is affirmed. .

【0073】CCDラインセンサ44は、各セルからの
信号を、ビデオクロック信号に同期して、主走査方向に
沿って第1のレジ位置側に対応する側の端部に位置して
いるセルから順に出力することを繰り返している。前述
のライン同期信号は、第1のレジ位置に対応するセルか
ら出力された信号がCCDドライバ56を介して画像デ
ータとしてサイズ検知部58に入力されるのと同期した
タイミングでハイレベルとなり、第2のレジ位置に対応
するセルから出力された信号がCCDドライバ56を介
して画像データとしてサイズ検知部58に入力される迄
の間は、図8に示すようにハイレベルに保持される。
The CCD line sensor 44 synchronizes the signal from each cell from the cell located at the end on the side corresponding to the first registration position side in the main scanning direction in synchronization with the video clock signal. The output is repeated in order. The above-mentioned line synchronization signal becomes high level at the timing synchronized with the signal output from the cell corresponding to the first registration position as being input as image data to the size detection unit 58 via the CCD driver 56. Until the signal output from the cell corresponding to the second registration position is input to the size detection unit 58 as image data via the CCD driver 56, it is held at a high level as shown in FIG.

【0074】ライン同期信号のレベルが「H」になる
と、ステップ102の判定が肯定されてステップ104
へ移行し、制御部54から入力されるビデオクロック信
号が立ち上がる(ハイレベルとなる)迄待機する。次の
ステップ106ではカウンタvの値をカウントアップ
し、次のステップ108ではカウンタvの値がセンシン
グスタートポジションSn の値に等しくなったか否か判
定する。判定が否定された場合にはステップ104に戻
り、ステップ108の判定が肯定される迄ステップ10
4〜108を繰り返す。
When the level of the line synchronization signal becomes "H", the affirmative decision in step 102 results in step 104.
Then, the process waits until the video clock signal input from the control unit 54 rises (becomes a high level). In the next step 106, the value of the counter v is counted up, and in the next step 108, it is determined whether or not the value of the counter v is equal to the value of the sensing start position S n . If the determination is negative, the process returns to step 104, and step 10 is performed until the determination of step 108 is positive.
Repeat 4 to 108.

【0075】上記では、ライン同期信号のレベルが
「H」になってからのビデオクロック信号のクロック
数、すなわちサイズ検知部58に画像データとして入力
された画素数をカウンタvによって保持しており、カウ
ンタvの値をセンシングスタートポジションSn と比較
することにより、センシング領域#nの画像データの入
力が開始されたか否か判定している。
In the above, the counter v holds the number of clocks of the video clock signal after the level of the line synchronization signal becomes “H”, that is, the number of pixels input as image data to the size detection unit 58. By comparing the value of the counter v with the sensing start position S n , it is determined whether the input of the image data of the sensing area #n has started.

【0076】ステップ108の判定が肯定されると、ス
テップ110ではセンシングエリア信号(図8参照)の
レベルを「H」にし、次のステップ111ではカウンタ
vの値を変数v0 に代入し、ステップ112ではビデオ
クロック信号が立ち上がる迄待機する。ステップ114
ではビデオサンプリング信号のレベルが「H」か否か判
定する。この場合は判定は否定され、ステップ118で
カウンタvの値をカウントアップし、ステップ120で
カウンタvの値から変数v0 の値を減算した値が「3
4」(「34」は単一のセンシング領域を構成する画素
(セル)数)となったか否か判定する。
If the determination in step 108 is affirmative, the level of the sensing area signal (see FIG. 8) is set to "H" in step 110, and the value of the counter v is substituted into the variable v 0 in the next step 111. At 112, the process waits until the video clock signal rises. Step 114
Then, it is determined whether or not the level of the video sampling signal is "H". In this case, the determination is negative, the value of the counter v is counted up in step 118, and the value obtained by subtracting the value of the variable v 0 from the value of the counter v is “3” in step 120.
4 ”(“ 34 ”is the number of pixels (cells) forming a single sensing area).

【0077】判定が否定された場合には、ステップ12
2へ移行してカウンタsの値をカウントアップし、ステ
ップ124でカウンタsの値が「3」となったか否か判
定する。判定が否定された場合にはステップ112へ戻
り、ステップ112〜124を繰り返す。ステップ12
2の処理が3回実行されるとステップ124の判定が肯
定され、ステップ126でビデオサンプリング信号(図
8参照)のレベルを「H」にし、ステップ128でカウ
ンタsの値を0に戻してステップ112へ戻る。この場
合、ステップ112を経た後のステップ114で判定が
肯定されるのでステップ116へ移行し、ビデオサンプ
リング信号のレベルを「L」とした後にステップ118
へ移行する。
If the determination is negative, step 12
The value of the counter s is counted up by shifting to 2, and it is determined in step 124 whether the value of the counter s is "3". If the determination is negative, the process returns to step 112 and steps 112 to 124 are repeated. Step 12
When the process of 2 is executed three times, the determination of step 124 is affirmed, the level of the video sampling signal (see FIG. 8) is set to “H” in step 126, the value of the counter s is reset to 0 in step 128, and Return to 112. In this case, the determination is affirmative in step 114 after passing through step 112, the process proceeds to step 116, and the level of the video sampling signal is set to "L", and then step 118 is performed.
Move to.

【0078】上記により、センシング領域#n内の各セ
ルからの画像データが入力されている間、すなわちステ
ップ120の判定が否定されている間(センシングエリ
ア信号のレベルが「H」の間)は、図8にも示すよう
に、ビデオクロック信号の3周期が経過する毎に、次の
1周期の間ビデオサンプリング信号のレベルが「H」と
されることになる。
As described above, while the image data from each cell in the sensing area #n is being input, that is, while the determination at step 120 is denied (while the level of the sensing area signal is "H"). As shown in FIG. 8, every three cycles of the video clock signal, the level of the video sampling signal becomes "H" during the next one cycle.

【0079】ステップ120の判定が肯定されると、セ
ンシング領域#n内の各セルからの画像データの入力が
完了したと判断し、ステップ130でセンシングエリア
信号のレベルを「L」にし、次のステップ132でセン
シング領域番号nが「8」か否か、すなわちセンシング
領域#1〜#8の全ての領域の画像データが入力された
か否か判定する。判定が否定された場合には、ステップ
134でセンシング領域番号nの値をカウントアップし
た後にステップ102へ戻り、ステップ102以降の処
理を繰り返す。そして、ステップ132の判定が肯定さ
れると処理を終了する。
When the determination in step 120 is affirmative, it is determined that the image data input from each cell in the sensing area #n is completed, and the level of the sensing area signal is set to "L" in step 130, and the next In step 132, it is determined whether or not the sensing area number n is “8”, that is, whether or not the image data of all areas of the sensing areas # 1 to # 8 have been input. When the determination is negative, the value of the sensing area number n is incremented in step 134, the process returns to step 102, and the processes of step 102 and subsequent steps are repeated. Then, when the determination in step 132 is affirmative, the processing ends.

【0080】次に図9のフローチャートを参照し、サイ
ズ検知部58において、先に説明した信号生成処理と並
行して実行されるエリアセンシング処理について説明す
る。ステップ140では、センシング領域番号nに1を
代入する等の初期化処理を行う。ステップ142ではビ
デオクロック信号が立ち上がる迄待機し、次のステップ
144ではライン同期信号のレベルが「H」か否か判定
する。この判定が否定された場合はステップ142へ戻
り、ステップ144の判定が肯定される迄ステップ14
2、144を繰り返す。ステップ144の判定が肯定さ
れると、ステップ146でセンシングエリア信号のレベ
ルが「H」か否か判定する。判定が否定された場合には
ステップ142へ戻り、ステップ146の判定が肯定さ
れる迄、ステップ142〜146を繰り返す。
Next, with reference to the flowchart of FIG. 9, the area sensing process executed in parallel with the above-described signal generating process in the size detecting section 58 will be described. In step 140, initialization processing such as substituting 1 for the sensing area number n is performed. In step 142, the process stands by until the video clock signal rises, and in the next step 144, it is determined whether or not the level of the line synchronization signal is "H". If this determination is negative, the procedure returns to step 142, and step 14 is continued until the determination of step 144 is positive.
Repeat steps 2 and 144. When the determination in step 144 is affirmed, it is determined in step 146 whether the level of the sensing area signal is “H”. If the determination is negative, the process returns to step 142, and steps 142 to 146 are repeated until the determination of step 146 is positive.

【0081】ステップ146の判定が肯定されるとステ
ップ148へ移行し、ビデオサンプリング信号のレベル
が「H」か否か判定する。判定が否定された場合には、
ステプ150でビデオクロック信号が立ち上がる迄待機
し、次のステップ152でセンシングエリア信号のレベ
ルが「H」の状態が継続しているか否か判定する。ステ
ップ152の判定が否定された場合にはステップ148
へ戻る。ステップ148の判定が肯定されると、ステッ
プ154でCCDドライバ56から入力された1画素分
の画像データを取込み、メモリ等に記憶し、次のステッ
プ156でビデオクロック信号が立ち上がる迄待機した
後にステップ148へ戻る。
When the determination at step 146 is affirmative, the routine proceeds to step 148, where it is determined whether or not the level of the video sampling signal is "H". If the verdict is denied,
In step 150, the process stands by until the video clock signal rises, and in the next step 152, it is determined whether or not the level of the sensing area signal is "H". If the determination in step 152 is negative, step 148
Return to If the determination in step 148 is affirmative, in step 154, the image data for one pixel input from the CCD driver 56 is fetched and stored in a memory or the like, and in the next step 156, the process waits until the video clock signal rises, and then step Return to 148.

【0082】前述したように、センシングエリア信号の
レベルが「H」の間は、ビデオクロック信号の3周期が
経過する毎に次の1周期の間ビデオサンプリング信号の
レベルが「H」とされるので、上記では、単一のセンシ
ング領域を構成する34個の画素のうち、図6にハッチ
ングで示す〜の8個の画素のデータのみが取込まれ
て記憶されることになる。
As described above, while the level of the sensing area signal is "H", the level of the video sampling signal is set to "H" for the next one cycle every three cycles of the video clock signal. Therefore, in the above description, of the 34 pixels forming the single sensing region, only the data of 8 pixels of ~ shown by hatching in FIG. 6 are fetched and stored.

【0083】単一のセンシング領域からの画像データの
取込みを完了すると、ステップ152の判定が否定され
ることによりステップ158へ移行し、先に説明した処
理によりセンシング領域nから取込んで記憶した8個の
画素のデータの平均値を演算する。次のステップ160
では、ステップ158で演算した平均値が、制御部54
から入力されたセンシング領域#nの判定のしきい値よ
りも大きいか否か判定する。
When the acquisition of the image data from the single sensing area is completed, the determination in step 152 is denied, and thus the process proceeds to step 158, and the processing described above captures the image data from the sensing area n and stores it. The average value of the data of the individual pixels is calculated. Next step 160
Then, the average value calculated in step 158 is calculated by the control unit 54.
It is determined whether or not the value is larger than the determination threshold value of the sensing area #n input from.

【0084】ステップ160の判定が否定された場合に
は、センシング領域#n内の各セルの受光量の平均値が
しきい値以下であるので、ステップ162でセンシング
領域#nに対応するステータスレジスタのビットに、受
光量が低い(すなわち「黒」である)ことを表す値
(「1」)をセットしてステップ166へ移行する。ま
たステップ160の判定が肯定された場合には、センシ
ング領域#n内の各セルの受光量の平均値がしきい値よ
りも大きいので、ステップ164でセンシング領域#n
に対応するステータスレジスタのビットに、受光量が高
い(すなわち「白」である)ことを表す値(「0」)を
セットしステップ166へ移行する。
If the determination in step 160 is negative, the average value of the amount of light received by each cell in the sensing area #n is less than or equal to the threshold value, so in step 162 the status register corresponding to the sensing area #n. A value (“1”) indicating that the amount of received light is low (that is, “black”) is set in the bit of (1), and the process proceeds to step 166. If the determination in step 160 is affirmative, the average value of the amount of light received by each cell in the sensing area #n is larger than the threshold value.
A value (“0”) indicating that the amount of received light is high (that is, “white”) is set in the bit of the status register corresponding to, and the process proceeds to step 166.

【0085】ステップ166ではセンシング領域番号n
が「8」か否か、すなわちセンシング領域#1〜#8の
全ての領域に対して上記処理を行ったか否か判定する。
判定が否定された場合には、ステップ168でセンシン
グ領域番号nの値をカウントアップした後にステップ1
42へ戻り、上述したステップ142以降の処理を繰り
返す。
In step 166, the sensing area number n
Is "8", that is, whether or not the above processing has been performed for all the sensing areas # 1 to # 8.
If the determination is negative, the value of the sensing area number n is incremented in step 168 and then step 1
Returning to step 42, the above-mentioned processing after step 142 is repeated.

【0086】また、ステップ166の判定が肯定される
とステップ170へ移行し、光センサ60から出力され
ている信号を取込む。次のステップ172では、光セン
サ60から取込んだ信号のレベルが予め定められたしき
い値よりも大きいか否か判定する。
When the determination in step 166 is affirmative, the process proceeds to step 170 and the signal output from the optical sensor 60 is fetched. In the next step 172, it is determined whether or not the level of the signal taken in from the optical sensor 60 is higher than a predetermined threshold value.

【0087】上記判定が否定された場合には、光センサ
60の受光量がしきい値以下であるので、ステップ17
4で光センサ60に対応するステータスレジスタのビッ
トに受光量が低い(すなわち「黒」である)ことを表す
値(「1」)をセットして処理を終了する。また、ステ
ップ172の判定が肯定された場合には、光センサ60
の受光量がしきい値よりも大きいので、ステップ176
で光センサ60に対応するステータスレジスタのビット
に受光量が高い(すなわち「白」である)ことを表す値
(「0」)をセットして処理を終了する。
If the above determination is negative, the amount of light received by the optical sensor 60 is less than or equal to the threshold value.
In 4, the value (“1”) indicating that the amount of received light is low (that is, “black”) is set in the bit of the status register corresponding to the optical sensor 60, and the process is ended. If the determination in step 172 is affirmative, the optical sensor 60
Since the amount of received light of is larger than the threshold value, step 176
Then, a value (“0”) indicating that the amount of received light is high (that is, “white”) is set in the bit of the status register corresponding to the optical sensor 60, and the process is ended.

【0088】上記により、センシング領域#1〜#8内
の各セル及び光センサ60の受光量がしきい値よりも大
きいか否かに応じて、ステータスレジスタの各ビットに
値が設定されることになる。
As described above, a value is set in each bit of the status register depending on whether or not the amount of light received by each cell in the sensing areas # 1 to # 8 and the photosensor 60 is larger than the threshold value. become.

【0089】次に、制御部54で実行される原稿サイズ
判定処理について、図10のフローチャートを参照して
説明する。なお、この原稿サイズ判定処理は原稿の読取
り等を行っていない待機状態で実行され、キャリッジ部
材46、48はホームポジションに位置しており、CC
Dラインセンサ44のセンシングエリアも図5にハッチ
ングで示す範囲に位置している。
Next, the document size determination process executed by the controller 54 will be described with reference to the flowchart of FIG. The document size determination process is executed in a standby state where the document is not read, and the carriage members 46 and 48 are at the home position.
The sensing area of the D line sensor 44 is also located in the range shown by hatching in FIG.

【0090】ステップ180では、アングルセンサ28
がオフ状態(プラテンカバー24が全閉状態から所定角
度以上開いている状態)か否か判定する。判定が否定さ
れた場合には、ステップ182で原稿の複写の開始を指
示するためのスタートボタンが押されたか否か判定す
る。ステップ182の判定も否定された場合にはステッ
プ180へ戻り、上記の何れかの判定が肯定される迄、
ステップ180、182を繰り返す。
In step 180, the angle sensor 28
Is in the off state (the platen cover 24 is open from the fully closed state by a predetermined angle or more). If the determination is negative, it is determined in step 182 whether the start button for instructing the start of copying the original has been pressed. If the determination in step 182 is also denied, the process returns to step 180, and until any of the above determinations is affirmed,
Repeat steps 180 and 182.

【0091】ここで、スタートボタンが押されることに
よってステップ182の判定が肯定された場合には、プ
ラテンガラス16上に原稿が載置されているか否か、及
び原稿が載置されている場合の該原稿のサイズを正確に
検知することは困難であるので、ステップ184で検知
不能と判定して処理を終了する。この場合には、記録用
紙のサイズの選択等はユーザにより行われることにな
る。
Here, if the determination in step 182 is affirmed by pressing the start button, it is determined whether or not the document is placed on the platen glass 16 and whether the document is placed. Since it is difficult to accurately detect the size of the document, it is determined that the size cannot be detected in step 184, and the process ends. In this case, the user selects the size of the recording paper and the like.

【0092】一方、アングルセンサ28がオフ状態とな
ることによりステップ180の判定が肯定された場合に
は、ステップ186でスタートボタンが押されたか否か
判定し、判定が否定された場合にはステップ188でア
ングルセンサ28がオン状態となったか(プラテンカバ
ー24が一旦開放位置へ移動された後に、全閉位置へ向
けて回動されて閉じかけの状態となったか)否か判定す
る。この判定も否定された場合にはステップ186へ戻
り、上記の何れかの判定が肯定される迄、ステップ18
6、188を繰り返す。
On the other hand, if the determination in step 180 is affirmative because the angle sensor 28 is in the off state, it is determined in step 186 whether the start button has been pressed, and if the determination is negative, the step is determined. At 188, it is determined whether the angle sensor 28 has been turned on (whether the platen cover 24 has been once moved to the open position and then turned toward the fully closed position to be in the nearly closed state). If this determination is also negative, the process returns to step 186, and step 18 is repeated until one of the above determinations is affirmed.
Repeat steps 6 and 188.

【0093】アングルセンサ28がオンとなることによ
りステップ188の判定が肯定された場合には、ステッ
プ190でランプ34を点灯し、ステップ192ではラ
ンプ34の光量が安定化する迄所定時間(例えば20m
秒)待機する。次のステップ194ではホールドレジス
タを「1」にする。これにより、サイズ検知部58に対
し、ステータスレジスタにセットされているデータのホ
ールドの解除が指示されると共に、レジスタリセット信
号が出力される。次のステップ196では、先に説明し
たエリアセンシング処理によりステータスレジスタにセ
ットされたデータを読出し、更にステップ198でホー
ルドレジスタを「0」にする。これによりレジスタホー
ルド信号が出力され、ステータスレジスタにセットされ
ているデータがホールドされる。
When the determination in step 188 is affirmed by turning on the angle sensor 28, the lamp 34 is turned on in step 190, and in step 192, the light amount of the lamp 34 is stabilized for a predetermined time (for example, 20 m).
Wait) In the next step 194, the hold register is set to "1". As a result, the size detector 58 is instructed to release the hold of the data set in the status register, and a register reset signal is output. In the next step 196, the data set in the status register by the area sensing process described above is read, and in step 198 the hold register is set to "0". As a result, a register hold signal is output and the data set in the status register is held.

【0094】次のステップ200では、ステータスレジ
スタの全ビットが「1」(「黒」)か否か判定する。上
述したステップ190〜198の処理は、プラテンカバ
ー24が閉じかけの状態、すなわち全閉状態となる前に
行っており、ランプ34から射出されてプラテンクッシ
ョン26の表面で反射された光はCCDラインセンサ4
4には殆ど入射されないので、プラテンガラス16上に
原稿が載置されていなければ、センシング領域#1〜#
8内の各セル及び光センサ60の受光量はしきい値以下
となり、ステータスレジスタの全ビットには「1」がセ
ットされる。
At the next step 200, it is determined whether or not all the bits of the status register are "1"("black"). The processing of steps 190 to 198 described above is performed before the platen cover 24 is in the nearly closed state, that is, before the fully closed state, and the light emitted from the lamp 34 and reflected on the surface of the platen cushion 26 is in the CCD line. Sensor 4
Since almost no light is incident on the platen 4, if the original is not placed on the platen glass 16, the sensing areas # 1 to #
The amount of light received by each cell in 8 and the photosensor 60 is less than or equal to the threshold value, and "1" is set in all bits of the status register.

【0095】従って、ステップ200の判定が否定され
た場合、すなわちステータスレジスタの少なくとも何れ
かのビットが「0」の場合には、ステップ214へ移行
してプラテンガラス16上に下地が白色又は白色に近い
色の原稿が載置されている(白原稿有り)と判断し、次
のステップ216でステータスレジスタの各ビットの値
に基づいてプラテンガラス16上における原稿の向き及
びサイズを判定し、処理を終了する。
Therefore, if the determination in step 200 is negative, that is, if at least one of the bits of the status register is "0", the process proceeds to step 214 and the base is white or white on the platen glass 16. It is determined that an original of a similar color is placed (there is a white original), and in the next step 216, the orientation and size of the original on the platen glass 16 are determined based on the value of each bit of the status register, and the processing is performed. finish.

【0096】なお、このステップ216では、ステータ
スレジスタが表すセンシング領域#1〜#8及び光セン
サ60による検出結果を、ステータスレジスタの対応す
るビットの値が「0」であれば「原稿有り」、「1」で
あれば「原稿無し」と置き換え、次の表2に従って原稿
のサイズ及び向きを判定する。
In this step 216, the detection results by the sensing areas # 1 to # 8 and the optical sensor 60 represented by the status register are "document present" if the value of the corresponding bit of the status register is "0". If "1", it is replaced with "no document", and the size and orientation of the document are determined according to the following Table 2.

【0097】[0097]

【表2】 [Table 2]

【0098】但し、表2において、「○」は「原稿有
り」、「×」は「原稿無し」を表し、「−」は、通常は
「原稿有り」であるが、「原稿無し」であっても判定結
果を変更しない(すなわちDon't Care)ことを表す。な
お、表2ではセンシング領域#1の検出結果を原稿のサ
イズ及び向きの判定に用いていないが、センシング領域
#1の検出結果は原稿がプラテンガラス16上に正しく
載置されているか否か、すなわち原稿の4個の角部のう
ちの何れかが原稿合わせマーク20が付与されている箇
所に位置しているプラテンガラス16の角部に対応し、
かつ原稿の2辺がレジガイド板18の内側面に当接する
ようにプラテンガラス16上に載置されているか否かの
確認に用いられる。
However, in Table 2, "○" means "there is an original", "x" means "there is no original", and "-" means "there is original" but "no original". Indicates that the judgment result is not changed (that is, Don't Care). Although Table 2 does not use the detection result of the sensing area # 1 for determining the size and orientation of the document, the detection result of the sensing area # 1 indicates whether the document is correctly placed on the platen glass 16. That is, any one of the four corners of the original corresponds to the corner of the platen glass 16 located at the position where the original alignment mark 20 is provided,
In addition, it is used to confirm whether or not the two sides of the document are placed on the platen glass 16 so that the two sides of the document come into contact with the inner surface of the registration guide plate 18.

【0099】上記では、CCDラインセンサ44のセン
シングエリアを移動させることなく原稿のサイズ及び向
きの判定を行っているので、CCDラインセンサ44の
センシングエリアを副走査方向に沿って移動させて原稿
のサイズ及び向きを判定する場合と比較して、短時間で
処理が完了する。
In the above, since the size and orientation of the document is determined without moving the sensing area of the CCD line sensor 44, the sensing area of the CCD line sensor 44 is moved along the sub-scanning direction to scan the document. The process is completed in a shorter time than in the case of determining the size and orientation.

【0100】一方、ステップ200の判定が肯定された
場合、すなわちプラテンカバー24が閉じかけの状態で
取り込んだステータスレジスタの全ビットが「1」であ
った場合は、プラテンガラス16上に原稿が載置されて
いないか、或いはプラテンガラス16上に下地が黒色の
原稿が載置されている場合であるので、ステップ218
へ移行してスタートボタンが押されたか否か判定する。
ステップ218の判定が否定された場合には、ステップ
220でプラテンインタロックセンサ30がオンしたか
(プラテンカバー24が全閉状態となったか)否か判定
する。この判定も否定された場合にはステップ218へ
戻り、上記の何れかの判定が肯定される迄ステップ21
8、220を繰り返す。
On the other hand, if the determination in step 200 is affirmative, that is, if all the bits of the status register taken in when the platen cover 24 is almost closed are "1", the original is placed on the platen glass 16. Since the original is not placed on the platen glass 16 or the original with a black background is placed on the platen glass 16, step 218 is performed.
Then, it is determined whether or not the start button has been pressed after shifting to.
When the determination in step 218 is negative, it is determined in step 220 whether the platen interlock sensor 30 is turned on (the platen cover 24 is in the fully closed state). If this determination is also negative, the process returns to step 218, and step 21 is performed until one of the above determinations is affirmed.
Repeat steps 8 and 220.

【0101】ここで、プラテンカバー24が全閉状態と
なってプラテンインタロックセンサ30がオンする前に
スタートボタンが押された場合には、プラテンガラス1
6上に原稿が載置されていないのか、プラテンガラス1
6上に下地が黒色の原稿が載置されているのかが判別で
きないので、本実施形態ではステップ234で原稿無し
と判定して処理を終了する。なお、プラテンガラス16
上に原稿が載置されていないのか、プラテンガラス16
上に下地が黒色の原稿が載置されているのかが判別でき
ない場合に、原稿無しと判断することに代えて、検知不
能と判定するようにしてもよい。
If the start button is pressed before the platen cover 24 is fully closed and the platen interlock sensor 30 is turned on, the platen glass 1
6 No original is placed on the platen glass 1
Since it is not possible to determine whether or not a document whose black background is black is placed on the sheet 6, it is determined in step 234 that there is no document and the process ends. The platen glass 16
If there is no original placed on the platen glass 16
When it is not possible to determine whether a document with a black background is placed on it, instead of determining that there is no document, it may be determined to be undetectable.

【0102】一方、プラテンカバー24が全閉状態とな
ってプラテンインタロックセンサ30がオンした場合に
はステップ222へ移行し、ステップ222〜226に
おいて、ステップ194〜198と同様にして、ステー
タスレジスタにセットされているデータを取込み、次の
ステップ228でステータスレジスタに値が「1」のビ
ットが有るか否か判定する。
On the other hand, when the platen cover 24 is fully closed and the platen interlock sensor 30 is turned on, the routine proceeds to step 222, and at steps 222 to 226, the status register is stored in the same manner as at steps 194 to 198. The set data is taken in, and it is determined in the next step 228 whether or not there is a bit whose value is "1" in the status register.

【0103】このステップ228の判定が実行される場
合は、プラテンカバー24が閉じかけの状態において、
ステータスレジスタの全ビットが「1」であった場合で
あるので、プラテンガラス16上に下地が白色又は白色
に近い色の原稿が載置されている可能性は除外できる。
プラテンクッション26の表面は白色であるので、プラ
テンカバー24の全閉状態の場合、プラテンガラス16
上に下地が黒色又は黒色に近い色の原稿が載置されてい
なければ、ステータスレジスタの全てのビットは「0」
(白)となる。
When the determination in step 228 is executed, when the platen cover 24 is almost closed,
Since all the bits of the status register are "1", it is possible to exclude the possibility that an original having a white background or a color close to white is placed on the platen glass 16.
Since the surface of the platen cushion 26 is white, when the platen cover 24 is fully closed, the platen glass 16
If no original with a black background or a color close to black is placed on top, all bits of the status register are "0".
(White).

【0104】従って、ステップ228の判定が否定され
た場合には、ステップ234で原稿無しと判定して処理
を終了するが、ステップ228の判定が否定された場合
は、ステップ230へ移行してプラテンガラス16上に
下地が黒色又は黒色に近い色の原稿が載置されている
(黒原稿有り)と判断し、次のステップ232でステー
タスレジスタの各ビットの値に基づいて、プラテンガラ
ス16上における原稿の向き及びサイズを判定して処理
を終了する。なお、このステップ232では、ステータ
スレジスタが表すセンシング領域#1〜#8及び光セン
サ60による検出結果を、ステータスレジスタの対応す
るビットの値が「0」であれば「原稿無し」、「1」で
あれば「原稿有り」と置き換え、先の表2に従って原稿
のサイズ及び向きを判定する。
Therefore, if the determination in step 228 is negative, it is determined in step 234 that there is no document, and the process ends, but if the determination in step 228 is negative, the process proceeds to step 230 and the platen is moved. It is determined that an original with a black or near black color is placed on the glass 16 (there is a black original), and in the next step 232, on the platen glass 16 based on the value of each bit of the status register. The orientation and size of the document are determined, and the process ends. In step 232, the detection results of the sensing areas # 1 to # 8 and the optical sensor 60 represented by the status register are “no document” and “1” if the corresponding bit value of the status register is “0”. If so, the document is replaced with "document present" and the size and orientation of the document are determined according to Table 2 above.

【0105】一方、アングルセンサ28がオンとなる前
に(プラテンカバー24が開状態のままで)スタートボ
タンが押された場合には、ステップ186の判定が肯定
されてステップ202へ移行し、ステップ202〜21
0で先のステップ190〜198と同一の処理を行い、
ステップ212でステータスレジスタの全ビットが
「1」か否か判定する。プラテンカバー24が開状態の
場合にも、先に説明した閉じかけの場合と同様に、プラ
テンガラス16上に原稿が載置されていなければ、セン
シング領域#1〜#8内の各セル及び光センサ60の受
光量はしきい値以下となり、ステータスレジスタの全ビ
ットには「1」がセットされる。
On the other hand, if the start button is pressed before the angle sensor 28 is turned on (while the platen cover 24 is still open), the determination at step 186 is affirmative and the process proceeds to step 202. 202-21
At 0, the same processing as the above steps 190 to 198 is performed,
In step 212, it is judged whether all the bits of the status register are "1". Even when the platen cover 24 is in the open state, as in the case of the above-described closing, if the document is not placed on the platen glass 16, each cell and light in the sensing areas # 1 to # 8 is detected. The amount of light received by the sensor 60 is less than or equal to the threshold value, and "1" is set in all bits of the status register.

【0106】このため、ステップ212の判定が否定さ
れた場合には、ステップ214へ移行して「白原稿有
り」と判定し、ステップ216で前述の原稿のサイズ及
び向きの判定を行う。また、ステップ212の判定が肯
定された場合には、プラテンガラス16上に原稿が載置
されていないのか、プラテンガラス16上に下地が黒色
の原稿が載置されているのかが判別できないので、ステ
ップ234で原稿無しと判定して処理を終了する。
Therefore, if the determination at step 212 is negative, the routine proceeds to step 214, where it is determined that "white original exists", and at step 216 the original size and orientation are determined. If the determination in step 212 is affirmative, it is not possible to determine whether the original is not placed on the platen glass 16 or the original whose black background is placed on the platen glass 16. In step 234, it is determined that there is no document, and the process ends.

【0107】上記処理における原稿の有無の判断をまと
めると、次の表3のようになる。
Table 3 below summarizes the determination of the presence / absence of a document in the above processing.

【0108】[0108]

【表3】 [Table 3]

【0109】以上説明したように、本第1実施形態で
は、CCDラインセンサ44により原稿のサイズ及び向
きを判定しているので、原稿のサイズ及び向きを検出す
るために多数のセンサを新たに設ける必要はない。ま
た、CCDラインセンサ44のセンシングエリアを移動
させることなく原稿のサイズ及び向きを判定しているの
で、CCDラインセンサ44のセンシングエリアを副走
査方向に沿って走査させて原稿のサイズ及び向きを判定
するプレスキャンを行う場合と比較して、短時間で処理
が完了する。
As described above, in the first embodiment, since the CCD line sensor 44 determines the size and orientation of the original document, a large number of sensors are newly provided to detect the size and orientation of the original document. No need. Further, since the size and orientation of the document is determined without moving the sensing area of the CCD line sensor 44, the size and orientation of the document are determined by scanning the sensing area of the CCD line sensor 44 along the sub-scanning direction. The processing is completed in a shorter time than the case where the pre-scan is performed.

【0110】また、プラテンカバー24が閉じかけの状
態でセンシングを行ってセンシング領域#1〜#8及び
光センサ60による検出結果が全て「黒」であった場合
には、更にプラテンカバー24が全閉状態となったとき
にもセンシングを行って原稿の有無を判断しているの
で、プラテンガラス16上に下地が黒色又は黒色に近い
色の原稿が載置されたとしても、該原稿の向き及びサイ
ズを正確に検出することができる。
Further, when the sensing is performed with the platen cover 24 closed, and the detection results of the sensing areas # 1 to # 8 and the optical sensor 60 are all “black”, the platen cover 24 is completely removed. Since the presence / absence of the original is determined by performing the sensing even when the original is closed, even if the original having a black background or a color close to black is placed on the platen glass 16, the orientation and direction of the original are not detected. The size can be detected accurately.

【0111】更に、CCDラインセンサ44の全てのセ
ルから出力される信号を用いて原稿のサイズを判断する
場合には、各セルから出力された信号のレベル等を記憶
するために大容量のメモリ等が必要となることも考えら
れるが、上記では、センシング領域#1〜#8内の各セ
ルから出力される信号のみを用いるので、大容量のメモ
リ等を設ける必要もない。
Further, when the size of the original is judged using the signals output from all the cells of the CCD line sensor 44, a large-capacity memory is used to store the level of the signals output from each cell. Although it may be necessary to use the above, the above uses only the signals output from the cells in the sensing areas # 1 to # 8, and therefore it is not necessary to provide a large capacity memory or the like.

【0112】また、上記ではサイズ検知部58に対し、
センシング領域の位置として制御部54からセンシング
開始位置が入力される構成であるので、検出すべき原稿
のサイズの変更に伴ってセンシング領域の位置を変更し
たい場合にも、制御部54からサイズ検知部58に入力
されるセンシング開始位置を変更することによりセンシ
ング領域の位置の変更を容易に実現できる。従って、検
出すべき原稿のサイズを変更する場合にも、センサの位
置を変更したりプレスキャンを行ったりする必要はな
い。
Further, in the above, for the size detection unit 58,
Since the sensing start position is input from the control unit 54 as the position of the sensing region, even when the position of the sensing region is changed with the change of the size of the document to be detected, the size detection unit is controlled by the control unit 54. The position of the sensing area can be easily changed by changing the sensing start position input to 58. Therefore, even when the size of the document to be detected is changed, it is not necessary to change the position of the sensor or perform prescan.

【0113】なお、本第1実施形態では、プラテンカバ
ー24の閉じかけ状態でセンシングを行ってセンシング
領域#1〜#8及び光センサ60による検出結果の何れ
かが「白」であった場合には、「白原稿有り」と判断し
て原稿のサイズ及び向きを判定していたが、更にプラテ
ンカバー24の全閉状態においてもセンシングを行って
原稿のサイズ及び向きの判定を行うようにしてもよい。
この場合、通常は有り得ないが、閉じかけ状態でのセン
シングでセンシング領域#1〜#8及び光センサ60に
よる検出結果の何れかが「白」となり、かつ全閉状態で
のセンシングでセンシング領域#1〜#8及び光センサ
60による検出結果の何れかが「黒」となることも論理
的には有り得ることになるが、上記のような場合には、
原稿に記録されている画像により「白」又は「黒」が検
出され、かつプラテンカバー24が閉じかけ状態から全
閉状態となる間に原稿の載置位置がずれた等の状況が考
えられるので、原稿有りと判定することが望ましい。
In the first embodiment, when the sensing is performed while the platen cover 24 is in the closed state and any one of the detection results of the sensing areas # 1 to # 8 and the optical sensor 60 is “white”. Has determined the size and orientation of the original by determining that "the original is white". However, even when the platen cover 24 is fully closed, sensing is performed to determine the size and orientation of the original. Good.
In this case, although not normally possible, any one of the sensing areas # 1 to # 8 and the detection result of the optical sensor 60 is “white” in the sensing in the closed state, and the sensing area # in the sensing in the fully closed state. It is logically possible that any one of the detection results of 1 to # 8 and the optical sensor 60 becomes “black”, but in the above case,
It is conceivable that "white" or "black" is detected from the image recorded on the original, and the placement position of the original is displaced while the platen cover 24 is in the closed state to the fully closed state. It is desirable to determine that there is a document.

【0114】さて、ここで請求項1又は請求項2に記載
の発明に係る作用を説明する。前述した図10の原稿サ
イズ判定処理を実行する前に、オペレータは、該原稿サ
イズ判定処理で使用されるしきい値として閉じかけ状態
と閉じた状態とで共通のしきい値を使用する「共通モー
ド」か、異なるしきい値を使用する「分離モード」かを
選択し設定するためのモード設定処理の実行をキーボー
ド64によって指示する。この指示により、図11に示
すモード設定処理の制御ルーチンが制御部54によって
実行開始される。
Now, the operation of the invention according to claim 1 or 2 will be described. Before executing the document size determination process of FIG. 10 described above, the operator uses a common threshold value in the nearly closed state and the closed state as a threshold value used in the document size determination process. The keyboard 64 is used to instruct execution of a mode setting process for selecting and setting "mode" or "separation mode" using different threshold values. By this instruction, the control unit 54 starts executing the control routine of the mode setting process shown in FIG.

【0115】なお、「共通モード」時に使用する共通用
しきい値データth0、「分離モード」時に使用する閉
じかけ状態用しきい値データth1及び閉じた状態用し
きい値データth2は、制御部54のマイコン内のRO
Mに予め記憶されている。このうち共通用しきい値デー
タth0は「127」に設定されており、閉じかけ状態
用しきい値データth1は「127」よりも白寄りに、
閉じた状態用しきい値データth2は「127」よりも
黒寄りに、それぞれ設定されている。
The common threshold data th0 used in the "common mode", the closing state threshold data th1 and the closed state threshold data th2 used in the "separation mode" are stored in the control unit. RO in 54 microcomputer
M is stored in advance. Among them, the common threshold value data th0 is set to “127”, and the closing state threshold value data th1 is closer to white than “127”.
The closed state threshold value data th2 is set to be closer to black than “127”.

【0116】まず図11のステップ252では「共通モ
ードを使用しますか?」というメッセージをディスプレ
イ62に表示させる。この表示を見たオペレータは、
「共通モード」を使用したい場合には、キーボード64
に設けられたYesキー64Aを押し、「分離モード」
を使用したい場合にはNoキー64Bを押す。
First, in step 252 of FIG. 11, a message “Do you want to use common mode?” Is displayed on the display 62. The operator who saw this display
If you want to use the "common mode", the keyboard 64
Press the Yes key 64A provided on the
If you want to use, press No key 64B.

【0117】オペレータがYesキー64A又はNoキ
ー64Bを押すと、次のステップ254で肯定判定され
ステップ256へ進み、押されたキーがYesキー64
Aであるか否かを判定する。オペレータによってYes
キー64Aが押されていた場合はステップ266へ進
み、しきい値データを予め定めた共通用しきい値データ
th0に書き換えて処理を終了する。
When the operator presses the Yes key 64A or the No key 64B, an affirmative decision is made in the next step 254 and the operation proceeds to step 256, where the pressed key is the Yes key 64
It is determined whether it is A or not. Yes by operator
If the key 64A has been pressed, the routine proceeds to step 266, where the threshold data is rewritten to the predetermined common threshold data th0 and the processing is terminated.

【0118】一方、オペレータによってNoキー64B
が押されていた場合はステップ256で否定判定されス
テップ258へ進み、「分離モードを使用しますか?」
というメッセージをディスプレイ62に表示させる。こ
の表示を見たオペレータは、「分離モード」を使用した
い場合には、キーボード64に設けられたYesキー6
4Aを押し、再考した結果「共通モード」を使用した方
が良いと考えた場合にはNoキー64Bを押す。
On the other hand, the operator presses the No key 64B.
If is pressed, a negative determination is made in step 256 and the process proceeds to step 258, and "Do you want to use separation mode?"
Is displayed on the display 62. When the operator sees this display and wants to use the "separation mode", the Yes key 6 provided on the keyboard 64
When 4A is pressed and it is considered that it is better to use the "common mode" as a result of reconsideration, the No key 64B is pressed.

【0119】オペレータがYesキー64A又はNoキ
ー64Bを押すと、次のステップ260で肯定判定され
ステップ262へ進み、押されたキーがYesキー64
Aであるか否かを判定する。オペレータによってNoキ
ー64Bが押されていた場合はステップ252へ戻り、
一方、Yesキー64Aが押されていた場合はステップ
264へ進み、図12に示す分離モード用しきい値設定
処理を起動して処理を終了する。
When the operator presses the Yes key 64A or the No key 64B, an affirmative decision is made in the next step 260, the flow proceeds to step 262, and the pressed key is the Yes key 64
It is determined whether it is A or not. If the No key 64B has been pressed by the operator, the procedure returns to step 252,
On the other hand, if the Yes key 64A has been pressed, the routine proceeds to step 264, where the separation mode threshold value setting process shown in FIG. 12 is activated and the process ends.

【0120】上記で起動された図12の分離モード用し
きい値設定処理は、以後継続して実行され、図10の原
稿サイズ判定処理の実行時も該原稿サイズ判定処理と並
行して実行される。
The threshold value setting process for the separation mode of FIG. 12 started up as described above is continuously executed thereafter, and is executed in parallel with the original size determining process when the original size determining process of FIG. 10 is executed. It

【0121】このような分離モード用しきい値設定処理
では、図12のステップ272でプラテンカバー24の
状態に変化が有ったか否かを、アングルセンサ28のオ
ンオフ状態及びプラテンインタロックセンサ30のオン
オフ状態に基づいて監視しており、プラテンカバー24
の状態に変化が有った場合のみステップ274へ進み、
プラテンカバー24が閉じかけ状態であるか否かを判定
する。プラテンカバー24が閉じかけ状態である場合、
ステップ280へ進み、しきい値データを予め定めた閉
じかけ状態用しきい値データth1に書き換える。
In such a separation mode threshold value setting process, whether or not the state of the platen cover 24 has changed in step 272 of FIG. 12 is checked by the ON / OFF state of the angle sensor 28 and the platen interlock sensor 30. The platen cover 24 is monitored based on the on / off state.
Only when there is a change in the state of, go to step 274,
It is determined whether the platen cover 24 is in a state of being closed. When the platen cover 24 is in the nearly closed state,
Proceeding to step 280, the threshold value data is rewritten to the predetermined threshold value data for closing state th1.

【0122】一方、プラテンカバー24が閉じかけ状態
でない場合、ステップ276へ進み、プラテンカバー2
4が閉じた状態であるか否かを判定する。プラテンカバ
ー24が閉じた状態である場合、ステップ278へ進
み、しきい値データを予め定めた閉じた状態用しきい値
データth2に書き換える。一方、プラテンカバー24
が閉じかけ状態でも閉じた状態でもない場合、ステップ
272へ戻る。
On the other hand, if the platen cover 24 is not closed, the process proceeds to step 276 and the platen cover 2 is closed.
It is determined whether or not 4 is in the closed state. If the platen cover 24 is in the closed state, the process proceeds to step 278 and the threshold data is rewritten to the predetermined closed state threshold data th2. Meanwhile, the platen cover 24
Is not nearly closed or closed, the process returns to step 272.

【0123】以上説明した図11の処理によって、オペ
レータが所望のモードを設定することができ、分離モー
ドが設定された場合には図12の処理によって、プラテ
ンカバー24の状態に応じてしきい値データが自動的に
閉じかけ状態用しきい値データth1又は閉じた状態用
しきい値データth2に書き換えられる。そして、書き
換えられたしきい値は前述したエリアセンシング処理
(図9)のステップ160で使用される。
By the processing of FIG. 11 explained above, the operator can set a desired mode, and when the separation mode is set, the processing of FIG. 12 causes a threshold value depending on the state of the platen cover 24. The data is automatically rewritten to the threshold value data for closing state th1 or the threshold value data for closing state th2. Then, the rewritten threshold value is used in step 160 of the area sensing process (FIG. 9) described above.

【0124】前述したように閉じかけ状態用しきい値デ
ータth1は標準値「127」よりも白寄りに、閉じた
状態用しきい値データth2は標準値「127」よりも
黒寄りに、それぞれ設定されているので、エリアセンシ
ング処理において外光の影響で誤った白黒判定が行われ
ることを防止することができ、原稿サイズを正確に判断
することができる。
As described above, the threshold value data th1 for the closing state is whiter than the standard value "127", and the threshold value data th2 for the closed state is blacker than the standard value "127". Since it is set, it is possible to prevent erroneous black and white determination due to the influence of external light in the area sensing process, and it is possible to accurately determine the document size.

【0125】〔第2実施形態〕次に本発明の第2実施形
態について説明する。この第2実施形態は請求項3記載
の発明に対応しており、ここでは原稿がプラテンガラス
16上に載置されていない状態における各センシング領
域の画像データから閉じかけ状態用しきい値thA及び
閉じた状態用しきい値thBを算出する実施形態を説明
する。
[Second Embodiment] Next, a second embodiment of the present invention will be described. The second embodiment corresponds to the invention described in claim 3, and here, from the image data of each sensing area in the state where the document is not placed on the platen glass 16, the threshold value thA for the closing state and An embodiment for calculating the threshold value thB for the closed state will be described.

【0126】なお、本第2実施形態は第1形態と同一の
構成であるので、各部分に同一の符号を付して構成の説
明を省略し、以下では本第2実施形態の作用について説
明する。
Since the second embodiment has the same configuration as the first embodiment, the same reference numerals are given to the respective parts and the description of the configuration will be omitted. In the following, the operation of the second embodiment will be described. To do.

【0127】本第2実施形態では、前述した図10の原
稿サイズ判定処理を実行する前に、オペレータは、該原
稿サイズ判定処理で使用されるしきい値を設定するため
のしきい値設定処理の実行をキーボード64によって指
示する。この指示により、図13に示すしきい値設定処
理の制御ルーチンが制御部54によって実行開始され
る。まず図13のステップ302では「プラテンカバー
を閉じかけにしてスタートボタンを押して下さい」とい
うメッセージをディスプレイ62に表示させ、次のステ
ップ304ではプラテンカバー24の閉じかけ状態でス
タートボタン66が押されるのを監視する。
In the second embodiment, before executing the document size determination process of FIG. 10, the operator sets a threshold value setting process for setting a threshold value used in the document size determination process. Is instructed by the keyboard 64. By this instruction, the control unit 54 starts executing the control routine of the threshold value setting process shown in FIG. First, in step 302 of FIG. 13, the message “Please close the platen cover and press the start button” is displayed on the display 62, and in the next step 304, the start button 66 is pressed with the platen cover 24 closed. To monitor.

【0128】オペレータによってプラテンカバー24の
閉じかけ状態でスタートボタン66が押されると、ステ
ップ306へ進み、図14に示す閉じかけ状態用しきい
値の算出処理のサブルーチンを実行する。
When the operator presses the start button 66 while the platen cover 24 is in the closed state, the process proceeds to step 306, and the subroutine of the process for calculating the closed state threshold value shown in FIG. 14 is executed.

【0129】図14のステップ322では各センシング
領域の画像データを読み取り、次のステップ324では
該読み取った各センシング領域の画像データの平均値D
AVEを算出する。そして、次のステップ326では閉じ
かけ状態用しきい値thAを以下の式(1)に基づいて
算出し、算出した値を記憶してリターンする。 thA=(DAVE +255)/2 ・・・(1) 上記の閉じかけ状態用しきい値の算出処理によって、図
16に示すように、通常のしきい値「127」よりも白
寄りの値(矢印A2に示す値)が閉じかけ状態用しきい
値thAとして算出される。
In step 322 of FIG. 14, the image data of each sensing area is read, and in the next step 324, the average value D of the read image data of each sensing area.
Calculate AVE . Then, in the next step 326, the threshold value thA for the closing state is calculated based on the following equation (1), the calculated value is stored, and the process returns. thA = (D AVE +255) / 2 (1) As a result of the above-described closing threshold value calculation process, as shown in FIG. (Value shown by arrow A2) is calculated as the threshold value thA for closing state.

【0130】図13のメインルーチンにおける次のステ
ップ308では「プラテンカバーを閉じてスタートボタ
ンを押して下さい」というメッセージをディスプレイ6
2に表示させ、次のステップ310ではプラテンカバー
24の閉じた状態でスタートボタン66が押されるのを
監視する。
In the next step 308 in the main routine of FIG. 13, the message "Please close the platen cover and press the start button" is displayed on the display 6
2, and in the next step 310, it is monitored that the start button 66 is pressed with the platen cover 24 closed.

【0131】オペレータによってプラテンカバー24の
閉じた状態でスタートボタン66が押されると、ステッ
プ312へ進み、図15に示す閉じた状態用しきい値の
算出処理のサブルーチンを実行する。
When the operator presses the start button 66 with the platen cover 24 closed, the routine proceeds to step 312, where the closed state threshold value calculation processing subroutine shown in FIG. 15 is executed.

【0132】図15のステップ332では各センシング
領域の画像データを読み取り、次のステップ334では
該読み取った各センシング領域の画像データの平均値D
AVEを算出する。そして、次のステップ336では閉じ
た状態用しきい値thBを以下の式(2)に基づいて算
出し、算出した値を記憶してリターンする。 thB=(DAVE +0)/2 ・・・(2) 上記の閉じた状態用しきい値の算出処理によって、図1
7に示すように、通常のしきい値「127」よりも黒寄
りの値(矢印B2に示す値)が閉じた状態用しきい値t
hBとして算出される。
In step 332 of FIG. 15, the image data of each sensing area is read, and in the next step 334, the average value D of the read image data of each sensing area.
Calculate AVE . Then, in the next step 336, the closed state threshold value thB is calculated based on the following equation (2), the calculated value is stored, and the process returns. thB = (D AVE +0) / 2 (2) By the above calculation processing of the threshold value for the closed state, FIG.
As shown in FIG. 7, the threshold value t for the state in which the value closer to the black (the value shown by the arrow B2) than the normal threshold value “127” is closed
Calculated as hB.

【0133】図13のメインルーチンにおける次のステ
ップ314では、第1実施形態と同様の図12に示す分
離モード用しきい値設定処理を起動して処理を終了す
る。
At the next step 314 in the main routine of FIG. 13, the separation mode threshold value setting process shown in FIG. 12 similar to that of the first embodiment is activated and the process is terminated.

【0134】以上説明した図13〜15のしきい値設定
処理によって、原稿をプラテンガラス16上に載置しな
い状態での各センシング領域の画像データに基づいて、
閉じかけ状態用しきい値thA及び閉じた状態用しきい
値thBを自動的に算出することができる。また、上記
ステップ314で起動された分離モード用しきい値設定
処理(図12)において、プラテンカバー24の状態に
応じてしきい値データが自動的に閉じかけ状態用しきい
値thA又は閉じた状態用しきい値thBに書き換えら
れ、前述したエリアセンシング処理(図9)のステップ
160で使用される。
By the threshold value setting process of FIGS. 13 to 15 described above, based on the image data of each sensing area when the original is not placed on the platen glass 16,
The threshold value thA for closing state and the threshold value thB for closing state can be automatically calculated. Further, in the threshold value setting process for the separation mode (FIG. 12) started in step 314, the threshold value data is automatically closed according to the state of the platen cover 24 or the threshold value thA for the state is closed or closed. The state threshold value thB is rewritten and used in step 160 of the area sensing process (FIG. 9) described above.

【0135】なお、上記実施形態では、各センシング領
域の画像データの平均値DAVE を算出し、該平均値D
AVE を用いて閉じかけ状態用しきい値thA又は閉じた
状態用しきい値thBを算出していたが、例えば、各セ
ンシング領域の画像データの最大値DMAX を平均値D
AVE に代わって上記式(1)、(2)に代入することに
よって閉じかけ状態用しきい値thA又は閉じた状態用
しきい値thBを算出しても良い。この場合、図16に
矢印A1で示す値が閉じかけ状態用しきい値thAとし
て、図17に矢印B1で示す値が閉じた状態用しきい値
thBとして、それぞれ算出される。
In the above embodiment, the average value D AVE of the image data of each sensing area is calculated, and the average value D AVE is calculated.
Although the threshold value thA for closing state or the threshold value thB for closed state is calculated using AVE , for example, the maximum value D MAX of the image data of each sensing area is calculated as an average value D.
The threshold value thA for the closed state or the threshold value thB for the closed state may be calculated by substituting the equations (1) and (2) instead of AVE . In this case, the value indicated by arrow A1 in FIG. 16 is calculated as the threshold value thA for closing state, and the value indicated by arrow B1 in FIG. 17 is calculated as the threshold value thB for closed state.

【0136】また、同様に各センシング領域の画像デー
タの最小値DMIN を平均値DAVE に代わって上記式
(1)、(2)に代入することによって閉じかけ状態用
しきい値thA又は閉じた状態用しきい値thBを算出
しても良い。この場合、図16に矢印A3で示す値が閉
じかけ状態用しきい値thAとして、図17に矢印B3
で示す値が閉じた状態用しきい値thBとして、それぞ
れ算出される。
Similarly, by substituting the minimum value D MIN of the image data in each sensing area into the above equations (1) and (2) instead of the average value D AVE , the threshold value thA for the closing state or the closing state The threshold value thB for the open state may be calculated. In this case, the value indicated by the arrow A3 in FIG. 16 is set as the threshold value thA for the closing state, and the arrow B3 in FIG.
The value indicated by is calculated as the closed state threshold value thB.

【0137】〔第3実施形態〕次に本発明の第3実施形
態について説明する。この第3実施形態は請求項4記載
の発明に対応しており、ここでは原稿がプラテンガラス
16上に載置されていない状態における各センシング領
域の画像データから、各センシング領域毎に閉じかけ状
態用しきい値thAn及び閉じた状態用しきい値thB
nを算出する実施形態を説明する。
[Third Embodiment] Next, a third embodiment of the present invention will be described. This third embodiment corresponds to the invention described in claim 4, and here, from the image data of each sensing area in the state where the document is not placed on the platen glass 16, the closed state is set for each sensing area. Threshold thAn and closed state threshold thB
An embodiment for calculating n will be described.

【0138】なお、本第3実施形態は第1形態と同一の
構成であるので、各部分に同一の符号を付して構成の説
明を省略し、以下では本第3実施形態の作用について説
明する。
Since the third embodiment has the same structure as the first embodiment, the same reference numerals are given to the respective parts and the description of the structure will be omitted. The operation of the third embodiment will be described below. To do.

【0139】本第3実施形態では、閉じかけ状態用しき
い値の算出処理及び閉じた状態用しきい値の算出処理の
各サブルーチンのみが前述した第2実施形態と異なるた
め、それらの処理について説明する。
In the third embodiment, only the respective subroutines of the process for calculating the threshold value for closing state and the process for calculating the threshold value for closed state are different from those in the second embodiment. explain.

【0140】図18に示す閉じかけ状態用しきい値の算
出処理では、ステップ342で一のセンシング領域の画
像データDnを読み取り、次のステップ344では、該
読み取った画像データDnを以下の式(3)に適用する
ことにより該一のセンシング領域についての閉じかけ状
態用しきい値thAnを算出する。 thAn=(Dn+255)/2 ・・・(3) そして、上記ステップ342、344の処理を全てのセ
ンシング領域について実行し、完了した時点でリターン
する。
In the process of calculating the threshold value for closed state shown in FIG. 18, the image data Dn of one sensing area is read in step 342, and in the next step 344, the read image data Dn is expressed by the following equation ( By applying this to 3), the threshold value thAn for the closed state of the one sensing region is calculated. thAn = (Dn + 255) / 2 (3) Then, the processes of steps 342 and 344 are executed for all sensing regions, and the process returns when completed.

【0141】上記の閉じかけ状態用しきい値の算出処理
によって、図20に◎で示すように、通常のしきい値
「127」よりも白寄りの値が各センシング領域毎の閉
じかけ状態用しきい値thAnとして算出される。
As a result of the above-described closing state threshold value calculation processing, as shown by ⊚ in FIG. 20, values closer to the white than the normal threshold value "127" are used for the closing state state for each sensing area. It is calculated as the threshold value thAn.

【0142】図19に示す閉じた状態用しきい値の算出
処理では、ステップ352で一のセンシング領域の画像
データDnを読み取り、次のステップ354では、該読
み取った画像データDnを以下の式(4)に適用するこ
とにより該一のセンシング領域についての閉じた状態用
しきい値thBnを算出する。 thBn=(Dn+0)/2 ・・・(4) そして、上記ステップ352、354の処理を全てのセ
ンシング領域について実行し、完了した時点でリターン
する。
In the closed state threshold value calculation process shown in FIG. 19, the image data Dn of one sensing area is read in step 352, and in the next step 354, the read image data Dn is expressed by the following equation ( By applying it to 4), the closed state threshold value thBn for the one sensing region is calculated. thBn = (Dn + 0) / 2 (4) Then, the processes of steps 352 and 354 are executed for all sensing regions, and the process returns when completed.

【0143】上記の閉じた状態用しきい値の算出処理に
よって、図21に◎で示すように、通常のしきい値「1
27」よりも黒寄りの値が各センシング領域毎の閉じか
け状態用しきい値thBnとして算出される。
As a result of the calculation processing of the threshold value for the closed state described above, as shown by ⊚ in FIG.
The value closer to black than “27” is calculated as the threshold value thBn for the closing state for each sensing region.

【0144】このように各センシング領域毎に、その画
像データに基づいて閉じた状態用しきい値thAn及び
閉じかけ状態用しきい値thBnを算出するので、各セ
ンシング領域毎の環境の要因による影響をより厳密に反
映した上で、より適切なしきい値を設定することができ
る。
As described above, since the closed state threshold value thAn and the closing state threshold value thBn are calculated for each sensing area based on the image data, the influence of environmental factors in each sensing area is calculated. It is possible to set a more appropriate threshold after more closely reflecting the above.

【0145】〔第4実施形態〕次に本発明の第4実施形
態について説明する。この第4実施形態は請求項5記載
の発明に対応しており、ここでは原稿がプラテンガラス
16上に載置されていない状態における各センシング領
域の画像データ及びその最大値、最小値から、各センシ
ング領域毎に閉じかけ状態用しきい値thAn及び閉じ
た状態用しきい値thBnを算出する実施形態を説明す
る。
[Fourth Embodiment] Next, a fourth embodiment of the present invention will be described. The fourth embodiment corresponds to the invention described in claim 5, and here, from the image data of each sensing area and the maximum value and the minimum value thereof in the state where the document is not placed on the platen glass 16, An embodiment will be described in which the threshold value thAn for closing state and the threshold value thBn for closing state are calculated for each sensing region.

【0146】なお、本第4実施形態は第1実施形態と同
一の構成であるので、各部分に同一の符号を付して構成
の説明を省略し、以下では本第4実施形態の作用につい
て説明する。
Since the fourth embodiment has the same structure as the first embodiment, the same reference numerals are given to the respective parts and the description of the structure will be omitted. The operation of the fourth embodiment will be described below. explain.

【0147】本第4実施形態では、閉じかけ状態用しき
い値の算出処理及び閉じた状態用しきい値の算出処理の
各サブルーチンのみが前述した第2実施形態と異なるた
め、それらの処理について説明する。
In the fourth embodiment, only the respective subroutines of the process for calculating the threshold value for closing state and the process for calculating the threshold value for closed state are different from those in the second embodiment described above. explain.

【0148】図22に示す閉じかけ状態用しきい値の算
出処理では、ステップ362で各センシング領域の画像
データを読み取り、次のステップ364では、該読み取
った画像データのうちの最大値をDmax とし、最小値を
min とする。次のステップ366では、一のセンシン
グ領域の画像データDn、上記最大値Dmax 及び最小値
min を以下の式(5)に適用することにより該一のセ
ンシング領域についての閉じかけ状態用しきい値thA
nを算出し記憶する。 thAn=(Dn+255)/2+(Dmax −Dmin ) ・・・(5) そして、上記ステップ366の処理を全てのセンシング
領域について実行し、完了した時点でリターンする。
In the closed state threshold value calculation process shown in FIG. 22, the image data of each sensing area is read in step 362, and in the next step 364, the maximum value of the read image data is set to D max. And the minimum value is D min . In the next step 366, the image data Dn of one sensing area, the maximum value D max and the minimum value D min are applied to the following equation (5) to determine the threshold value for the closing state of the one sensing area. Value thA
Calculate and store n. thAn = (Dn + 255) / 2 + ( Dmax- Dmin ) (5) Then, the process of step 366 is executed for all the sensing regions, and when the process is completed, the process returns.

【0149】上記の閉じかけ状態用しきい値の算出処理
によって、図24に◎で示すように、各センシング領域
の画像データDnに基づく値(即ち、(Dn+255)
/2)に上記最大値Dmax と最小値Dmin との差を加算
した値が、各センシング領域毎の閉じかけ状態用しきい
値thAnとして算出される。
By the calculation processing of the threshold value for closing state, as shown by ⊚ in FIG. 24, a value based on the image data Dn of each sensing area (that is, (Dn + 255))
The value obtained by adding the difference between the maximum value D max and the minimum value D min to / 2) is calculated as the threshold value thAn for the closed state for each sensing region.

【0150】図23に示す閉じた状態用しきい値の算出
処理では、ステップ372で各センシング領域の画像デ
ータを読み取り、次のステップ374では、該読み取っ
た画像データのうちの最大値をDmax とし、最小値をD
min とする。次のステップ376では、一のセンシング
領域の画像データDn、上記最大値Dmax 及び最小値D
min を以下の式(6)に適用することにより該一のセン
シング領域についての閉じた状態用しきい値thBnを
算出し記憶する。 thBn=(Dn+0)/2−(Dmax −Dmin ) ・・・(6) そして、上記ステップ376の処理を全てのセンシング
領域について実行し、完了した時点でリターンする。
In the closed state threshold value calculation process shown in FIG. 23, the image data of each sensing area is read in step 372, and in the next step 374, the maximum value of the read image data is set to D max. And the minimum value is D
min . In the next step 376, the image data Dn of one sensing region, the maximum value D max and the minimum value D
By applying min to the following equation (6), the closed state threshold value thBn for the one sensing region is calculated and stored. thBn = (Dn + 0) / 2- ( Dmax- Dmin ) (6) Then, the process of step 376 is executed for all sensing regions, and the process returns when completed.

【0151】上記の閉じた状態用しきい値の算出処理に
よって、図25に◎で示すように、各センシング領域の
画像データDnに基づく値(即ち、(Dn+0)/2)
に上記最大値Dmax と最小値Dmin との差を減算した値
が、各センシング領域毎の閉じかけ状態用しきい値th
Bnとして算出される。
By the calculation processing of the closed state threshold value, as shown by ⊚ in FIG. 25, a value based on the image data Dn of each sensing area (that is, (Dn + 0) / 2).
The value obtained by subtracting the difference between the maximum value D max and the minimum value D min from the
It is calculated as Bn.

【0152】このように各センシング領域毎の画像デー
タに基づく値(例えば、(Dn+255)/2等)に、
画像データの最大値Dmax と最小値Dmin との差を加味
した上で、閉じた状態用しきい値thAn及び閉じかけ
状態用しきい値thBnを算出するので、画像読取装置
10への外光の最大影響分を考慮した上で各センシング
領域毎に適切なしきい値を設定することができる。
Thus, the value based on the image data for each sensing area (for example, (Dn + 255) / 2, etc.)
Since the closed state threshold value thAn and the closing state threshold value thBn are calculated after adding the difference between the maximum value D max and the minimum value D min of the image data, An appropriate threshold value can be set for each sensing area in consideration of the maximum influence of light.

【0153】〔第5実施形態〕次に本発明の第5実施形
態について説明する。この第5実施形態は請求項6又は
請求項7に記載の発明に対応しており、ここではユーザ
(オペレータ)がキーボード64によって所望のしきい
値及び該しきい値の有効時間帯を入力可能とされた実施
形態を説明する。
[Fifth Embodiment] Next, a fifth embodiment of the present invention will be described. The fifth embodiment corresponds to the invention described in claim 6 or claim 7, in which a user (operator) can input a desired threshold value and an effective time zone of the threshold value with the keyboard 64. The embodiment will be described.

【0154】なお、本第5実施形態は第1実施形態と同
一の構成であるので、各部分に同一の符号を付して構成
の説明を省略し、以下では本第5実施形態の作用につい
て説明する。
Since the fifth embodiment has the same structure as the first embodiment, the same reference numerals are given to the respective parts and the description of the structure will be omitted. In the following, the operation of the fifth embodiment will be described. explain.

【0155】本第5実施形態では、オペレータはまず、
ユーザしきい値設定処理の実行をキーボード64によっ
て指示する。この指示により、図26に示すユーザしき
い値設定処理の制御ルーチンが制御部54によって実行
開始される。
In the fifth embodiment, the operator first
The keyboard 64 is used to instruct execution of the user threshold setting process. By this instruction, the control unit 54 starts executing the control routine of the user threshold value setting process shown in FIG.

【0156】まず図26のステップ402では「しきい
値を変更して下さい」というメッセージをディスプレイ
62に表示させ、次のステップ404で、変更されたし
きい値の入力待ちに入る。
First, in step 402 of FIG. 26, a message "Please change the threshold value" is displayed on the display 62, and in the next step 404, the input of the changed threshold value is waited.

【0157】オペレータにより所望のしきい値(以下、
ユーザしきい値と称す)が入力されると、ステップ40
6へ進み「原稿をセットしてスタートボタンを押して下
さい」というメッセージをディスプレイ62に表示さ
せ、次のステップ408でスタートボタン66の操作待
ちに入る。
A threshold value (hereinafter,
When a user threshold value is input), step 40
6, the message "Please set the document and press the start button" is displayed on the display 62, and in the next step 408, the operation of the start button 66 is awaited.

【0158】そして、オペレータがプラテンカバー24
を開いて原稿をセットし、プラテンカバー24を閉じて
スタートボタン66を押す。この動作に並行して、上記
入力したユーザしきい値を使用して、前記セットした原
稿を対象として図9のエリアセンシング処理及び図10
の原稿サイズ判定処理が実行され、原稿サイズが求めら
れる。
Then, the operator operates the platen cover 24.
Open to set the original, close the platen cover 24, and press the start button 66. In parallel with this operation, the area sensing process of FIG. 9 and the area sensing process of FIG.
The document size determination process is executed to determine the document size.

【0159】スタートボタン66が押されたことによ
り、ステップ408で肯定判定されステップ410へ進
み「原稿サイズはxxです。しきい値をセーブしてよろ
しいですか、yorn?」というメッセージをディスプレ
イ62に表示させる。なお、上記メッセージ内のxxに
は、上記求められた原稿サイズ(例えば、A4やB4
等)が入る。そして、次のステップ412ではnボタン
が押されたか否かを判定する。
Since the start button 66 has been pressed, an affirmative decision is made in step 408, and the operation proceeds to step 410, and a message "original size is xx. Are you sure you want to save the threshold value, yorn?" Is displayed on the display 62. Display it. It should be noted that xx in the above message indicates the document size obtained above (for example, A4 or B4).
Etc.) Then, in the next step 412, it is determined whether or not the n button has been pressed.

【0160】入力されたしきい値が適切な値でないた
め、原稿サイズが本来とは異なるサイズであると誤って
判断された場合、オペレータはnボタンを押す。この場
合、ステップ412で肯定判定されステップ402へ戻
り、再度しきい値の入力を促すメッセージをディスプレ
イ62に表示させる。一方、オペレータによりnボタン
以外のボタンが押された場合はステップ414へ進み、
yボタンが押されたか否かを判定する。
If the input threshold value is not an appropriate value and the document size is erroneously determined to be different from the original size, the operator presses the n button. In this case, an affirmative decision is made in step 412, the flow returns to step 402, and a message prompting the input of the threshold value is again displayed on the display 62. On the other hand, when the operator presses a button other than the n button, the process proceeds to step 414,
It is determined whether the y button has been pressed.

【0161】入力されたしきい値が適切な値であったた
め、原稿サイズが正しく判断された場合、オペレータは
yボタンを押す。この場合、ステップ414で肯定判定
され処理を終了する。
Since the input threshold value is an appropriate value, the operator presses the y button when the document size is correctly determined. In this case, an affirmative decision is made in step 414, and the processing ends.

【0162】これにより、ユーザしきい値として、上記
原稿サイズを正しく判断できるような適切な値が設定さ
れることになる。
As a result, an appropriate value is set as the user threshold value so that the original size can be correctly determined.

【0163】以上のようにして適切なユーザしきい値を
設定した後、オペレータは該ユーザしきい値を使用する
(有効とする)時間帯を設定するためのユーザしきい値
使用時間帯設定処理の実行をキーボード64によって指
示する。この指示により、図27に示すユーザしきい値
使用時間帯設定処理の制御ルーチンが制御部54によっ
て実行開始される。
After setting an appropriate user threshold value as described above, the operator sets a user threshold value use time zone setting process for setting a time zone in which the user threshold value is used (valid). Is instructed by the keyboard 64. By this instruction, the control unit 54 starts executing the control routine of the user threshold value use time zone setting process shown in FIG.

【0164】図27のステップ422では「ユーザしき
い値を常時使用しますか?」というメッセージをディス
プレイ62に表示させ、その応答(yかnか)を判定す
る。ここでyの応答であった場合は、ユーザしきい値を
常時使用すると判断できるので、後述するステップ43
6へ進む。
In step 422 of FIG. 27, a message "Do you always use the user threshold?" Is displayed on the display 62, and the response (whether y or n) is judged. If the response is y, it can be determined that the user threshold value is always used, and therefore step 43 described later is performed.
Go to 6.

【0165】一方、ステップ422でnの応答であった
場合はステップ424へ進み「タイマーを使用しますか
?」というメッセージをディスプレイ62に表示させ、
その応答(yかnか)を判定する。ここでnの応答であ
った場合は、後述するステップ436へ進む。
On the other hand, if the response is n in step 422, the process proceeds to step 424 to display the message "Do you want to use the timer?" On the display 62,
The response (y or n) is determined. If the response is n, the process proceeds to step 436 described later.

【0166】一方、ステップ424でyの応答であった
場合はステップ426へ進み「タイマーを設定しますか
?」というメッセージをディスプレイ62に表示させ、
その応答(yかnか)を判定する。ここでnの応答であ
った場合は、後述するステップ436へ進む。
On the other hand, if the response is y in step 424, the process proceeds to step 426 to display a message "Set timer?" On the display 62,
The response (y or n) is determined. If the response is n, the process proceeds to step 436 described later.

【0167】一方、ステップ426でyの応答であった
場合はステップ428へ進み「使用開始時刻を入力して
下さい?」というメッセージをディスプレイ62に表示
させ、次のステップ430で使用開始時刻の入力待ちに
入る。
On the other hand, if the answer is y in step 426, the process proceeds to step 428 to display the message “Please enter the use start time?” On the display 62, and in the next step 430, input the use start time. To wait.

【0168】オペレータにより使用開始時刻T1が入力
されると、ステップ432へ進み「使用終了時刻を入力
して下さい?」というメッセージをディスプレイ62に
表示させ、次のステップ434で使用終了時刻の入力待
ちに入る。
When the operator inputs the use start time T1, the process proceeds to step 432, the message "Please enter the use end time?" Is displayed on the display 62, and the next step 434 waits for the input of the use end time. to go into.

【0169】オペレータにより使用終了時刻T2が入力
されると、ステップ436へ進み「使用時間帯設定処理
を終了しますか?」というメッセージをディスプレイ6
2に表示させ、その応答(yかnか)を判定する。ここ
でnの応答であった場合はステップ422へ戻り、yの
応答であった場合は処理を終了する。
When the operator inputs the end-of-use time T2, the operation proceeds to step 436 and the message "Do you want to end the use time zone setting process?" Is displayed on the display 6
2, and the response (whether y or n) is judged. If the response is n, the process returns to step 422, and if the response is y, the process ends.

【0170】これにより、使用開始時刻T1及び使用終
了時刻T2が記憶され、それらの間の時間帯(T1〜T
2)がユーザしきい値使用時間帯として設定される。
As a result, the use start time T1 and the use end time T2 are stored, and the time zone (T1 to T2) between them is stored.
2) is set as the user threshold use time zone.

【0171】以上説明したユーザしきい値設定処理(図
26)やユーザしきい値使用時間帯設定処理(図27)
を実行した後に、オペレータは、ユーザしきい値が上記
設定した使用時間帯に有効となるように、該ユーザしき
い値をデフォルトのしきい値(以下、固定値と称す)と
置換するためのユーザしきい値置換処理(図28)の実
行をキーボード64によって指示する。この指示によ
り、図28に示すユーザしきい値置換処理の制御ルーチ
ンが制御部54によって実行開始される。なお、このユ
ーザしきい値置換処理は、継続して実行され、図10の
原稿サイズ判定処理の実行時も該原稿サイズ判定処理と
並行して実行される。
The user threshold setting process (FIG. 26) and the user threshold use time zone setting process (FIG. 27) described above.
After executing, the operator replaces the user threshold value with a default threshold value (hereinafter, referred to as a fixed value) so that the user threshold value becomes effective during the set use time period. Execution of the user threshold value replacement process (FIG. 28) is instructed by the keyboard 64. In response to this instruction, the control unit 54 starts executing the control routine of the user threshold value replacement process shown in FIG. It should be noted that this user threshold value replacement processing is continuously executed, and is executed in parallel with the original size determination processing even when the original size determination processing of FIG. 10 is executed.

【0172】図28のステップ442ではタイマを使用
する設定になっているか否かを判定し、タイマを使用す
る設定になっていない場合はステップ444へ進み、ユ
ーザしきい値を常時使用する設定になっているか否かを
判定する。ここで、常時使用する設定になっている場合
にはステップ446へ進み、しきい値を固定値からユー
ザしきい値に置換する。
In step 442 of FIG. 28, it is determined whether or not the timer is set to be used. If the timer is not set, the process proceeds to step 444 to set the user threshold to be always used. Is determined. If it is set to be always used, the process proceeds to step 446 to replace the fixed value with the user value.

【0173】一方、ステップ442でタイマを使用する
設定になっている場合はステップ448へ進み、現在の
時刻が使用開始時刻T1になったか否かをタイマを用い
て判定する。現在の時刻が使用開始時刻T1になった時
点でステップ448で肯定判定されステップ454へ進
み、しきい値を固定値からユーザしきい値に置換する。
On the other hand, when the timer is set to be used in step 442, the process proceeds to step 448, and it is determined using the timer whether or not the current time is the use start time T1. When the current time reaches the use start time T1, an affirmative decision is made in step 448 and the operation proceeds to step 454 where the fixed value is replaced with the user threshold value.

【0174】一方、現在の時刻が使用開始時刻T1でな
い場合はステップ450へ進み、現在の時刻が使用終了
時刻T2になったか否かをタイマを用いて判定する。現
在の時刻が使用終了時刻T2になった時点でステップ4
50で肯定判定されステップ452へ進み、しきい値を
ユーザしきい値から固定値に置換する(戻す)。
On the other hand, when the current time is not the use start time T1, the routine proceeds to step 450, where it is determined using a timer whether or not the current time has reached the use end time T2. When the current time reaches the use end time T2, step 4
An affirmative determination is made at 50, and the routine proceeds to step 452, where the threshold value is replaced (returned) with a fixed value from the user threshold value.

【0175】なお、現在の時刻が使用開始時刻T1でも
使用終了時刻T2でもない場合はステップ442へ戻り
処理を繰り返す。
If the current time is neither the use start time T1 nor the use end time T2, the process returns to step 442 to repeat the process.

【0176】上記のユーザしきい値置換処理により、常
時使用する設定になっている場合には直ちにユーザしき
い値がしきい値として設定される。また、タイマを使用
する設定になっている場合には、使用開始時刻T1から
使用終了時刻T2の間だけ、ユーザしきい値がしきい値
として設定される。
By the above user threshold value replacement processing, the user threshold value is immediately set as the threshold value when it is set to be always used. Further, when the timer is set to be used, the user threshold is set as the threshold only from the use start time T1 to the use end time T2.

【0177】このように本第5実施形態によれば、しき
い値を所望の値に設定すること及び所望の時間帯に有効
とすることができるので、画像読取装置10が例えば、
蛍光灯の真下や、太陽光が差し込む窓際等に設置された
場合でも、しきい値やそれを有効とする時間帯を適宜設
定することにより、設置環境や時間による環境変化に適
切に対応することができ、原稿サイズの誤検知を未然に
防止することができる。
As described above, according to the fifth embodiment, it is possible to set the threshold value to a desired value and to make it effective in a desired time zone.
Even when installed directly under a fluorescent lamp or near a window where sunlight is inserted, by appropriately setting the threshold value and the time zone in which it is effective, it is possible to respond appropriately to the installation environment and environmental changes due to time. Therefore, it is possible to prevent false detection of the document size.

【0178】なお、上記第1〜第5実施形態では、原稿
の画像を読取るために設けられたCCDラインセンサ4
4を用いて原稿のサイズの判定も行うようにしていた
が、これに限定されるものではなく、原稿の画像を読取
ることなく、原稿を反射した光を感光体ドラムに直接照
射することにより原稿の画像を記録用紙に記録する画像
記録装置において、本発明に係る画像読取装置を、原稿
のサイズを判定するのみの目的で設けてもよい。
In the first to fifth embodiments described above, the CCD line sensor 4 provided for reading the image of the original document.
Although the size of the document is also determined by using the document No. 4, it is not limited to this, and the light reflected from the document is directly radiated to the photoconductor drum without reading the image of the document. In the image recording apparatus for recording the image on the recording paper, the image reading apparatus according to the present invention may be provided only for determining the size of the original.

【0179】また、上記第1〜第5実施形態では光電変
換器としてCCDラインセンサ44を適用した場合を説
明したが、これに限定されるものではなく、MOS型イ
メージセンサ等の公知の各種光電変換器を適用可能であ
る。また、上記では透明部材としてプラテンガラス16
を例に説明したが、ガラス以外に合成樹脂等の他の材料
を用いて透明部材を構成することも可能である。
Although the CCD line sensor 44 is applied as the photoelectric converter in the first to fifth embodiments, the present invention is not limited to this, and various known photoelectric sensors such as a MOS type image sensor are used. A converter is applicable. Further, in the above, the platen glass 16 is used as the transparent member.
However, it is also possible to form the transparent member by using other materials such as synthetic resin other than glass.

【0180】[0180]

【発明の効果】以上説明したように請求項1記載の発明
によれば、装置が設置された環境の要因(外光等)を考
慮して正確に求められた、遮蔽前代表値についての比較
結果と遮蔽後代表値についての比較結果との組合せに基
づいて原稿のサイズを判断するので、環境の要因に影響
されることなく原稿のサイズを正確に判定することがで
きる、という効果が得られる。
As described above, according to the first aspect of the present invention, the comparison of the representative values before shielding, which are accurately obtained in consideration of the factors of the environment in which the apparatus is installed (external light etc.) Since the size of the document is determined based on the combination of the result and the comparison result of the masked representative value, it is possible to accurately determine the size of the document without being affected by environmental factors. .

【0181】また、原稿に記録されている画像を読み取
るために設けられた光電変換素子を用いて上記のように
して原稿のサイズを判断するので、原稿のサイズ検出専
用に多数のセンサを設ける必要はなく、装置の構成を簡
単にすることができる、という効果も得られる。また、
原稿サイズ検出のためのプリスキャンも必要としないた
め、プリスキャンが画像読取装置の処理能力(例えば単
位時間当りの複写枚数等)の向上のネックになるという
問題を解消することができる、という効果も得られる。
Further, since the size of the document is judged as described above by using the photoelectric conversion element provided for reading the image recorded on the document, it is necessary to provide a large number of sensors exclusively for detecting the size of the document. In addition, the effect that the structure of the device can be simplified can be obtained. Also,
Since the prescan for detecting the document size is not necessary, it is possible to solve the problem that the prescan becomes a bottleneck in improving the processing capability of the image reading apparatus (for example, the number of copies per unit time). Can also be obtained.

【0182】また、請求項2記載の発明によれば、外光
の影響分を加味した第1のしきい値を設定することがで
き、(原稿が透明部材上に載置された状態での)各小領
域毎の画像情報の遮蔽前代表値と第1のしきい値との比
較を、環境の要因による影響を小さくした上で正確に行
うことができる、という効果が得られる。なお、第2の
しきい値についても、外光の影響分を加味した値を設定
することができ、環境の要因による影響を小さくした上
で正確な比較を行うことができる。
Further, according to the second aspect of the invention, it is possible to set the first threshold value in consideration of the influence of external light, and (when the original is placed on the transparent member, It is possible to obtain an effect that the representative value before shielding of the image information for each small region and the first threshold value can be accurately compared with each other while reducing the influence of environmental factors. Note that the second threshold value can also be set to a value that takes into consideration the influence of external light, and accurate comparison can be performed after reducing the influence of environmental factors.

【0183】また、請求項3記載の発明によれば、各小
領域における外光の影響分を加味した適切な第1のしき
い値を各小領域毎に設定することができ、(原稿が透明
部材上に載置された状態での)各小領域毎の画像情報の
遮蔽前代表値と各小領域毎の第1のしきい値との比較
を、環境の要因による影響を更に小さくした上でより正
確に行うことができる、という効果が得られる。なお、
第2のしきい値についても、各小領域における外光の影
響分を加味した適切な値を各小領域毎に設定することが
でき、環境の要因による影響を更に小さくした上でより
正確な比較を行うことができる。
According to the third aspect of the present invention, an appropriate first threshold value considering the influence of external light in each small area can be set for each small area. Comparison of the pre-shielding representative value of the image information for each small area (when placed on a transparent member) with the first threshold value for each small area has made the influence of environmental factors even smaller. The effect that the above can be performed more accurately is obtained. In addition,
Also for the second threshold value, an appropriate value in consideration of the influence of external light in each small area can be set for each small area, and the effect due to environmental factors can be further reduced and then more accurate. A comparison can be made.

【0184】また、請求項4記載の発明によれば、各小
領域における外光による最大影響分を加味したより適切
な第1のしきい値を各小領域毎に設定することができ、
(原稿が透明部材上に載置された状態での)各小領域毎
の画像情報の遮蔽前代表値と各小領域毎の第1のしきい
値との比較を、環境の要因による影響を更に小さくした
上でより正確に行うことができる、という効果が得られ
る。なお、第2のしきい値についても、各小領域におけ
る外光による最大影響分を加味したより適切な値を各小
領域毎に設定することができ、環境の要因による影響を
更に小さくした上でより正確な比較を行うことができ
る。
According to the invention as set forth in claim 4, a more appropriate first threshold value in which the maximum influence of external light in each small region is added can be set for each small region,
The comparison between the pre-shielding representative value of the image information for each small area (in the state where the original is placed on the transparent member) and the first threshold value for each small area is compared to determine the influence of environmental factors. It is possible to obtain the effect that it can be performed more accurately after being made smaller. As for the second threshold value, a more appropriate value can be set for each small area in consideration of the maximum influence of external light in each small area, and the influence of environmental factors can be further reduced. For a more accurate comparison.

【0185】また、請求項5記載の発明によれば、画像
読取装置が例えば、蛍光灯の真下や、太陽光が差し込む
窓際等に設置された場合でも、ユーザがしきい値変更手
段によって第1のしきい値や第2のしきい値を所望の値
に変更することにより、原稿サイズの誤検知を防止する
ことができる、という効果が得られる。
According to the invention described in claim 5, even when the image reading device is installed, for example, directly under a fluorescent lamp or at a window where sunlight is inserted, the user can use the threshold changing means to make the first change. By changing the threshold value of 1 or the second threshold value to a desired value, it is possible to prevent the erroneous detection of the document size.

【0186】また、請求項6記載の発明によれば、画像
読取装置が窓際に設置され特定の時間帯(例えば、西日
が差し込む夕方等)に外光による影響がありうる場合
に、ユーザは有効時間帯設定手段によって第1のしきい
値を有効とする時間帯や、第2のしきい値を有効とする
時間帯を所望の時間帯に設定することができるので、所
望の時間帯に、変更した第1のしきい値や第2のしきい
値を有効とし、時間による環境の変化に適切に対応する
ことができる、という効果が得られる。
According to the invention described in claim 6, when the image reading device is installed near a window and there is a possibility that external light may affect a specific time zone (for example, the evening when the sun sets), the user can Since the valid time zone setting means can set the time zone in which the first threshold value is valid and the time zone in which the second threshold value is valid, to the desired time zone, The effect that the changed first threshold value and the changed second threshold value are validated and the change of the environment due to time can be appropriately dealt with is obtained.

【0187】更に、請求項7記載の発明によれば、透明
部材の遮蔽時に該透明部材に対向する面が白色とされて
いるので、裏写りによる画質への影響を無くすことがで
き、正確に原稿のサイズを判断することができる、とい
う効果が得られる。
Further, according to the invention described in claim 7, since the surface facing the transparent member is white when the transparent member is shielded, it is possible to eliminate the influence of the show-through on the image quality, and to accurately The effect is that the size of the original can be determined.

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

【図1】本実施形態に係る画像読取装置の外観を示す斜
視図である。
FIG. 1 is a perspective view showing the outer appearance of an image reading apparatus according to this embodiment.

【図2】(A)はプラテンカバーが起立している状態、
(B)はプラテンカバーが起立状態から所定角度以上回
動され、アングルセンサがオンされた状態を各々示す画
像読取装置の側面図である。
FIG. 2A is a state in which the platen cover is upright,
FIG. 3B is a side view of the image reading apparatus showing a state in which the platen cover is rotated from the standing state by a predetermined angle or more and the angle sensor is turned on.

【図3】画像読取装置の筐体内に配設された光学系の概
略構成を示す断面図である。
FIG. 3 is a cross-sectional view showing a schematic configuration of an optical system arranged in a housing of the image reading apparatus.

【図4】画像読取装置の制御部及びその周辺の構成を示
す概略ブロック図である。
FIG. 4 is a schematic block diagram showing a configuration of a control unit of the image reading apparatus and its periphery.

【図5】プラテンガラス上におけるセンシングエリアを
示す平面図である。
FIG. 5 is a plan view showing a sensing area on a platen glass.

【図6】CCDラインセンサの受光部上に設定された、
原稿のサイズ検出の際のセンシング領域を示す概念図で
ある。
FIG. 6 is set on the light receiving part of the CCD line sensor,
FIG. 6 is a conceptual diagram showing a sensing area when detecting the size of a document.

【図7】サイズ検知部で実行される信号生成処理を説明
するためのフローチャートである。
FIG. 7 is a flowchart illustrating a signal generation process executed by a size detection unit.

【図8】ライン同期信号、ビデオクロック信号、センシ
ングエリア信号、画像データ及びビデオサンプリング信
号の関係を示すタイミングチャートである。
FIG. 8 is a timing chart showing a relationship among a line synchronization signal, a video clock signal, a sensing area signal, image data, and a video sampling signal.

【図9】サイズ検知部で実行されるエリアセンシング処
理を説明するためのフローチャートである。
FIG. 9 is a flowchart illustrating an area sensing process executed by a size detection unit.

【図10】制御部で実行される原稿サイズ判定処理を説
明するためのフローチャートである。
FIG. 10 is a flowchart illustrating a document size determination process executed by a control unit.

【図11】第1実施形態におけるモード設定処理を説明
するためのフローチャートである。
FIG. 11 is a flowchart illustrating a mode setting process according to the first embodiment.

【図12】第1実施形態における分離モード用しきい値
設定処理を説明するためのフローチャートである。
FIG. 12 is a flowchart for explaining a separation mode threshold value setting process in the first embodiment.

【図13】第2、第3、第4実施形態におけるしきい値
設定処理を説明するためのフローチャートである。
FIG. 13 is a flowchart for explaining threshold value setting processing in the second, third, and fourth embodiments.

【図14】第2実施形態における閉じかけ状態用しきい
値の算出処理を説明するためのフローチャートである。
FIG. 14 is a flowchart illustrating a process of calculating a threshold value for a closing state according to the second embodiment.

【図15】第2実施形態における閉じた状態用しきい値
の算出処理を説明するためのフローチャートである。
FIG. 15 is a flowchart for explaining a closed state threshold value calculation process in the second embodiment.

【図16】第2実施形態における閉じかけ状態用しきい
値の設定手順を説明するための図である。
FIG. 16 is a diagram illustrating a procedure for setting a threshold value for a closing state according to the second embodiment.

【図17】第2実施形態における閉じた状態用しきい値
の設定手順を説明するための図である。
FIG. 17 is a diagram for explaining a procedure for setting a threshold value for a closed state in the second embodiment.

【図18】第3実施形態における閉じかけ状態用しきい
値の算出処理を説明するためのフローチャートである。
FIG. 18 is a flowchart illustrating a process of calculating a threshold value for a closing state according to the third embodiment.

【図19】第3実施形態における閉じた状態用しきい値
の算出処理を説明するためのフローチャートである。
FIG. 19 is a flowchart for explaining a closed state threshold value calculation process in the third embodiment.

【図20】第3実施形態における閉じかけ状態用しきい
値の設定手順を説明するための図である。
FIG. 20 is a diagram for explaining a procedure for setting a threshold value for a closing state according to the third embodiment.

【図21】第3実施形態における閉じた状態用しきい値
の設定手順を説明するための図である。
FIG. 21 is a diagram for explaining a procedure for setting a threshold value for a closed state in the third embodiment.

【図22】第4実施形態における閉じかけ状態用しきい
値の算出処理を説明するためのフローチャートである。
FIG. 22 is a flowchart illustrating a process of calculating a threshold value for a closing state according to the fourth embodiment.

【図23】第4実施形態における閉じた状態用しきい値
の算出処理を説明するためのフローチャートである。
FIG. 23 is a flowchart for explaining a closed state threshold value calculation process in the fourth embodiment.

【図24】第4実施形態における閉じかけ状態用しきい
値の設定手順を説明するための図である。
FIG. 24 is a diagram for explaining a procedure for setting a threshold value for a closing state according to the fourth embodiment.

【図25】第4実施形態における閉じた状態用しきい値
の設定手順を説明するための図である。
FIG. 25 is a diagram for explaining a procedure for setting a threshold value for a closed state in the fourth embodiment.

【図26】第5実施形態におけるユーザしきい値設定処
理を説明するためのフローチャートである。
FIG. 26 is a flowchart illustrating a user threshold value setting process according to the fifth embodiment.

【図27】第5実施形態におけるユーザしきい値使用時
間帯設定処理を説明するためのフローチャートである。
FIG. 27 is a flow chart for explaining a user threshold value use time zone setting process in the fifth embodiment.

【図28】第5実施形態におけるユーザしきい値置換処
理を説明するためのフローチャートである。
FIG. 28 is a flow chart for explaining user threshold value replacement processing in the fifth embodiment.

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

10 画像読取装置 16 プラテンガラス(透明部材) 24 プラテンカバー(カバー) 28 アングルセンサ 30 プラテンインタロックセンサ 44 CCDラインセンサ 54 制御部 58 サイズ検知部 60 光センサ 62 ディスプレイ 64 キーボード 10 image reading device 16 platen glass (transparent member) 24 platen cover (cover) 28 angle sensor 30 platen interlock sensor 44 CCD line sensor 54 control unit 58 size detection unit 60 optical sensor 62 display 64 keyboard

───────────────────────────────────────────────────── フロントページの続き (72)発明者 山田 智之 埼玉県岩槻市府内3丁目7番1号 富士ゼ ロックス株式会社岩槻事業所内 (72)発明者 箕輪 一彦 埼玉県岩槻市府内3丁目7番1号 富士ゼ ロックス株式会社岩槻事業所内 (72)発明者 河野 大輔 埼玉県岩槻市府内3丁目7番1号 富士ゼ ロックス株式会社岩槻事業所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Tomoyuki Yamada 3-7-1 Fuchu, Iwatsuki City, Saitama Prefecture Fuji Zerox Co., Ltd. Iwatsuki Plant (72) Kazuhiko Minowa 3-7-1, Fuchu, Iwatsuki City, Saitama Prefecture No. Fuji Xerox Co., Ltd. Iwatsuki Works (72) Inventor Daisuke Kono 3-7-1 Fuchu, Iwatsuki City, Saitama Fuji Xerox Co., Ltd. Iwatsuki Works

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 光電変換素子を多数備えた光電変換器に
よって板状の透明部材上に載置された原稿を光学的に走
査して、前記原稿に記録されている画像を読み取る画像
読取装置であって、 前記透明部材を遮蔽する遮蔽位置及び透明部材が露出す
る露出位置に移動可能なカバーと、 前記透明部材上の略一定の位置各々に載置されるサイズ
の異なる複数種の原稿の各々の特定の一辺に跨がるエリ
アに対応する複数の小領域内の光電変換素子の各々から
出力される信号に基づいて、各小領域内の画像情報の代
表値を算出する代表値算出手段と、 前記カバーにより透明部材が遮蔽される前における各小
領域毎の画像情報の代表値と第1のしきい値とを比較す
ると共に、前記カバーにより透明部材が遮蔽された後に
おける各小領域毎の画像情報の代表値と、前記第1のし
きい値と異なる第2のしきい値とを比較する比較手段
と、 各小領域毎の前記比較手段による比較結果の組合せに基
づいて、透明部材上に載置された原稿のサイズを判断す
るサイズ判断手段と、 を有する画像読取装置。
1. An image reading apparatus that optically scans a document placed on a plate-shaped transparent member by a photoelectric converter having a large number of photoelectric conversion elements to read an image recorded on the document. And a cover that is movable to a shielding position that shields the transparent member and an exposure position where the transparent member is exposed, and each of a plurality of types of originals of different sizes that are placed at substantially constant positions on the transparent member. A representative value calculating means for calculating a representative value of the image information in each small area based on a signal output from each of the photoelectric conversion elements in the plurality of small areas corresponding to an area extending over one specific side of , Comparing a representative value of image information for each small area before the transparent member is shielded by the cover with a first threshold value, and for each small area after the transparent member is shielded by the cover Image information representative value And a comparison means for comparing the first threshold value with a second threshold value different from the first threshold value, and a comparison result by the comparison means for each small area. An image reading apparatus comprising: a size determination unit that determines the size of a document.
【請求項2】 原稿が透明部材上に載置されていない状
態で透明部材が遮蔽される前における各小領域毎の画像
情報の代表値に基づいて第1のしきい値を設定すると共
に、原稿が透明部材上に載置されていない状態で透明部
材が遮蔽された後における各小領域毎の画像情報の代表
値に基づいて第2のしきい値を設定するしきい値設定手
段を更に有する請求項1記載の画像読取装置。
2. A first threshold value is set on the basis of a representative value of image information for each small area before the transparent member is shielded in a state where an original is not placed on the transparent member, and Further, there is further provided threshold setting means for setting the second threshold based on the representative value of the image information for each small area after the transparent member is shielded while the original is not placed on the transparent member. The image reading apparatus according to claim 1, further comprising.
【請求項3】 前記しきい値設定手段は、 各小領域毎に第1のしきい値及び第2のしきい値を設定
する、 ことを特徴とする請求項2記載の画像読取装置。
3. The image reading apparatus according to claim 2, wherein the threshold value setting unit sets a first threshold value and a second threshold value for each small area.
【請求項4】 前記しきい値設定手段は、 原稿が透明部材上に載置されていない状態で透明部材が
遮蔽される前における各小領域毎の画像情報の代表値、
及び該各小領域毎の画像情報の代表値における最大値と
最小値との差に基づいて、各小領域毎に第1のしきい値
を設定すると共に、原稿が透明部材上に載置されていな
い状態で透明部材が遮蔽された後における各小領域毎の
画像情報の代表値、及び該各小領域毎の画像情報の代表
値における最大値と最小値との差に基づいて、各小領域
毎に第2のしきい値を設定することを特徴とする請求項
2記載の画像読取装置。
4. The threshold value setting means is a representative value of image information for each small area before the transparent member is shielded in a state where an original is not placed on the transparent member,
And a first threshold value is set for each small area based on the difference between the maximum value and the minimum value of the representative values of the image information for each small area, and the document is placed on the transparent member. The representative value of the image information of each small area after the transparent member is shielded in the non-displayed state, and the difference between the maximum value and the minimum value of the representative values of the image information of each small area, The image reading apparatus according to claim 2, wherein the second threshold value is set for each area.
【請求項5】 前記第1のしきい値及び前記第2のしき
い値の各々を所望の値に変更するためのしきい値変更手
段を更に有する請求項1乃至請求項4の何れか一項に記
載の画像読取装置。
5. The method according to claim 1, further comprising threshold changing means for changing each of the first threshold value and the second threshold value to a desired value. The image reading device described in the paragraph.
【請求項6】 変更された第1のしきい値を有効とする
時間帯及び変更された第2のしきい値を有効とする時間
帯の各々を所望の時間帯に設定するための有効時間帯設
定手段を更に有する請求項5記載の画像読取装置。
6. An effective time period for setting each of a time zone in which the changed first threshold value is valid and a time zone in which the changed second threshold value is valid as a desired time zone. The image reading apparatus according to claim 5, further comprising a band setting unit.
【請求項7】 前記カバーは、透明部材の遮蔽時に該透
明部材に対向する面が白色とされていることを特徴とす
る請求項1乃至請求項6の何れか一項に記載の画像読取
装置。
7. The image reading device according to claim 1, wherein a surface of the cover facing the transparent member when the transparent member is shielded is white. .
JP05617196A 1996-03-13 1996-03-13 Image reading device Expired - Fee Related JP3562111B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05617196A JP3562111B2 (en) 1996-03-13 1996-03-13 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05617196A JP3562111B2 (en) 1996-03-13 1996-03-13 Image reading device

Publications (2)

Publication Number Publication Date
JPH09247375A true JPH09247375A (en) 1997-09-19
JP3562111B2 JP3562111B2 (en) 2004-09-08

Family

ID=13019665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05617196A Expired - Fee Related JP3562111B2 (en) 1996-03-13 1996-03-13 Image reading device

Country Status (1)

Country Link
JP (1) JP3562111B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003099113A (en) * 2001-09-21 2003-04-04 Olympus Optical Co Ltd Batch management device
US7330692B2 (en) * 2003-11-20 2008-02-12 Ricoh Company, Ltd. Electricity waste suppressing original document size detection apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003099113A (en) * 2001-09-21 2003-04-04 Olympus Optical Co Ltd Batch management device
US7330692B2 (en) * 2003-11-20 2008-02-12 Ricoh Company, Ltd. Electricity waste suppressing original document size detection apparatus

Also Published As

Publication number Publication date
JP3562111B2 (en) 2004-09-08

Similar Documents

Publication Publication Date Title
JP2924751B2 (en) Image reading device
US8035865B2 (en) Original size detecting apparatus, original size detecting method, and program for original size detection
US8014044B2 (en) Image scanning device
JPH08154154A (en) Image reader
JP2000138798A (en) Document size detecting device
JPH09247375A (en) Picture reader
JPH09247374A (en) Image reader
JP3404955B2 (en) Document size detector
JP3453197B2 (en) Document size detector
US6643037B1 (en) Apparatus and method for detecting the presence of a page in an image scanner
JPH10327301A (en) Picture reader
JPH073554B2 (en) Copier Original size detector
JPH06152875A (en) Static original reader
JPH09247373A (en) Image reader
JP3543582B2 (en) Image reading device
JP2005278200A (en) Image reader and image reading method
JPH09321984A (en) Image processing apparatus and metal color identification method
JP3963855B2 (en) Image reading device
JP4003507B2 (en) Image reading apparatus and image reading method
JP2008022160A (en) Image forming apparatus
JP3003138B2 (en) Image reading device
JP2024175317A (en) Document reading device, control method and program
JPS62293879A (en) Automatic input system for original size
JP2025080167A (en) Information processing system and program
JP2021072494A (en) Image reading device

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040511

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040524

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees