JP2000270159A - Method of controlling image reader and recording medium thereof - Google Patents

Method of controlling image reader and recording medium thereof

Info

Publication number
JP2000270159A
JP2000270159A JP11075041A JP7504199A JP2000270159A JP 2000270159 A JP2000270159 A JP 2000270159A JP 11075041 A JP11075041 A JP 11075041A JP 7504199 A JP7504199 A JP 7504199A JP 2000270159 A JP2000270159 A JP 2000270159A
Authority
JP
Japan
Prior art keywords
white reference
read
dust
image reading
output value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11075041A
Other languages
Japanese (ja)
Inventor
Masahiko Kobako
雅彦 小箱
Tomohiro Sunazaki
友宏 砂崎
Kiyoto Kosaka
清人 小坂
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP11075041A priority Critical patent/JP2000270159A/en
Publication of JP2000270159A publication Critical patent/JP2000270159A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Heads (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

PROBLEM TO BE SOLVED: To generate a normal white reference even if dust entering an image reader sticks on a white reference area by comparing the mean output value of individual read pixels obtained by reading the white reference area with the mean value of all output values obtained by reading the individual read pixels. SOLUTION: The white reference area is read by blocks obtained by dividing the white reference areas in a vertical scanning direction, the mean output values of individual read pixels are calculated by the blocks and compared with one another, and if a block having a decrease output place is found, the block is specified as a dust detected block whose output has decreased owing to dust sticking on the white reference area; and the block is excluded to remove the influence of the dust sticking on an optical path in the device and the block having the largest mean value is selected out of the remaining blocks to obtain the white reference.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、画像読み取り装
置の制御方法において前記の画像読み取り装置の光路に
付着したゴミを検出し、前記のゴミによる影響を排除し
た白色基準を生成する画像読み取り装置の制御方法と、
前記の制御方法を格納したコンピュータ読み取り可能な
記録媒体に関するものである。
BACKGROUND OF THE INVENTION The present invention relates to a method for controlling an image reading apparatus, the method comprising detecting dust adhering to an optical path of the image reading apparatus, and generating a white reference excluding the influence of the dust. Control method,
The present invention relates to a computer-readable recording medium storing the above control method.

【0002】[0002]

【従来の技術】ここでこの発明にかかる以下に示す用語
のここで適用する定義を述べて、その内包する概念を明
確にする。
2. Description of the Related Art Here, the definitions applied to the following terms according to the present invention will be described to clarify the concepts included therein.

【0003】白色基準とは、画像読み取り装置が原稿の
読み取りに際して準備する白色の基準値であり、原稿の
読み取りに先立って白色の一様な濃度分布を持つ白基準
領域を読み取ってその出力レベルを記憶し、前記の出力
レベルを基準値として以降の原稿読み取りの出力信号を
補正するものである。前記の白色基準を持つことにより
たとえば読み取りセンサの感度の不均一性などによって
生じる読み取り出力のムラであるシェーディングを補正
することができる。
[0003] The white reference is a white reference value prepared by the image reading apparatus when reading an original. A white reference area having a uniform white density distribution is read prior to reading of the original, and the output level is read. The stored output signal is corrected using the output level as a reference value. By having the above-described white reference, it is possible to correct shading, which is uneven reading output caused by, for example, non-uniformity of the sensitivity of the reading sensor.

【0004】白基準領域とは、前記の白色基準を得るた
めに画像読み取り装置に設ける白色の一様な濃度分布を
持つ基準板である。
[0004] The white reference area is a reference plate having a uniform density distribution of white color provided in an image reading apparatus to obtain the above-mentioned white reference.

【0005】ゴミとは、ここでは画像読み取り装置に浸
入して装置内の光路中に付着した異物である微粒子等を
いう。当然のことながら画像読み取り装置内の光路中に
異物が存在すると、前記の画像読み取り装置が原稿を読
み取った画像信号にも前記の異物を読み取った信号が混
在して、本来の画像信号を損ねることになる。したがっ
て通常は画像読み取り装置の構造には防塵機能を持たせ
て異物の浸入を阻止し、さらに入念な清掃を実施して浸
入した異物を除去するなどの対策を講じているが、特に
目視による観測では発見困難な微粒子等は除去も困難
で、そのまま残ることがある。ここでは前記のごとく目
視による観測では発見困難な微粒子等によるゴミを対象
とする。
[0005] Here, dust refers to fine particles and the like, which are foreign substances that have entered the image reading apparatus and adhered to the optical path in the apparatus. Naturally, if there is a foreign matter in the optical path in the image reading device, the image signal obtained by reading the document by the image reading device will be mixed with the signal obtained by reading the foreign material, thereby damaging the original image signal. become. Therefore, measures are usually taken to prevent the intrusion of foreign substances by providing a dust-proof function to the structure of the image reading device, and to perform careful cleaning to remove such foreign substances. Fine particles and the like which are difficult to detect are difficult to remove and may remain as they are. Here, as described above, the target is dust due to fine particles or the like which are difficult to detect by visual observation.

【0006】また前記のゴミは、白基準領域に付着した
ゴミと、前記の白基準領域以外の光路内の箇所に付着し
たゴミとに区分される。
The dust is classified into dust adhering to the white reference area and dust adhering to a portion in the optical path other than the white reference area.

【0007】前者の白基準領域に付着したゴミは、当該
画像読み取り装置の有する読み取りセンサが読み取る読
み取り対象面上に存在するので鮮明な像を形成する。ま
た前記のゴミを読み取った読み取り出力はそのまま白色
基準の形成に影響を与え、その基準値を低下させる。し
たがって以降の操作で、前記のゴミを読み取って形成さ
れた白色基準を基準として原稿を読み取った画像出力
は、原稿内にはゴミが無いので前記のゴミに対応する箇
所の信号値が実際の原稿より明るい画像として認識され
る。
The dust adhering to the former white reference area forms a clear image because it is present on the surface to be read by the reading sensor of the image reading device. Further, the read output obtained by reading the dust directly affects the formation of the white reference, and lowers the reference value. Therefore, in the subsequent operation, the image output obtained by reading the original with reference to the white reference formed by reading the dust described above has no dust in the original, so that the signal value of the portion corresponding to the dust is the actual original. It is recognized as a brighter image.

【0008】後者の白基準領域以外の光路内の箇所に付
着したゴミは、たとえばミラーに付着したゴミのごとく
当該画像読み取り装置の有する読み取りセンサが読み取
る読み取り対象面上以外の光路上に存在するので鮮明な
像を形成することがない。また前記のゴミを読み取った
読み取り出力はそのまま白色基準の形成に影響を与え、
その基準値を低下させるが、以降の操作においても常に
同様の画像を読み取るので、ゴミの無い原稿を読み取っ
ても前記のゴミに対応する箇所の信号値が実際の原稿よ
り明るい画像として認識されることは無い。
The dust adhering to a portion in the optical path other than the white reference region exists on an optical path other than the reading target surface read by the reading sensor of the image reading device like dust adhering to a mirror, for example. A clear image is not formed. Further, the read output obtained by reading the dust directly affects the formation of the white reference,
Although the reference value is reduced, the same image is always read in the subsequent operations. Therefore, even if a document without dust is read, the signal value of the portion corresponding to the dust is recognized as an image brighter than the actual document. There is nothing.

【0009】したがって前者の白基準領域に付着したゴ
ミは白色基準の形成に際してその出力低下部分を排除す
べきものであり、後者の白基準領域以外の光路内の箇所
に付着したゴミは白色基準の形成に際してその出力低下
部分を残しておかなければならないものである。
Therefore, the dust attached to the former white reference area should have its output reduced portion removed when forming the white reference, and the dust attached to a portion in the optical path other than the latter white reference area should be formed. In this case, the output reduction portion must be left.

【0010】図23ないし図28により、従来の技術に
基づいて実施する画像読み取り装置の制御方法を説明す
る。
Referring to FIGS. 23 to 28, a description will be given of a method of controlling an image reading apparatus implemented based on the conventional technique.

【0011】図23によって、白基準領域の読み取りを
説明する。すなわち図23(a)に示すごとく走査線5
3は白基準領域51を読み取り、図23(b)に示す読
み取り出力の波形を呈する。さらに前記の読み取り出力
の波形はその拡大図に示すごとく前記の走査線53を構
成する個々の読み取り画素の特性に応じて個別の読み取
り出力を示している。
The reading of the white reference area will be described with reference to FIG. That is, as shown in FIG.
Numeral 3 reads the white reference area 51 and presents a read output waveform shown in FIG. Further, the waveform of the read output indicates individual read outputs according to the characteristics of the individual read pixels constituting the scanning line 53 as shown in the enlarged view.

【0012】図24によって、ゴミを有する白基準領域
の読み取りを説明する。すなわち図24(a)に示すご
とく走査線53は白基準領域51を読み取るが、前記の
走査線53がゴミ52の存在する箇所と異なる箇所を読
み取った場合は図24(b)に示すごとく平坦な出力波
形を呈し、前記の走査線53がゴミ52の存在する箇所
を読み取った場合は図24(c)に示すごとく前記のゴ
ミ52を読み取った読み取り画素位置54に対応する箇
所のみでその出力値は大きく低下する。
Referring to FIG. 24, reading of a white reference area having dust will be described. That is, as shown in FIG. 24A, the scanning line 53 reads the white reference region 51, but when the scanning line 53 reads a portion different from the portion where the dust 52 exists, the scanning line 53 is flat as shown in FIG. When the scanning line 53 reads a portion where the dust 52 is present, as shown in FIG. 24 (c), the output is performed only at a portion corresponding to the read pixel position 54 where the dust 52 is read. The value drops significantly.

【0013】またたとえばミラーに付着したゴミを読み
取った場合は、図24(d)に示すごとくその読み取り
出力の低下は前記の白基準領域に付着したゴミによる出
力低下より小さいレベルとなるが、当然のことながら前
記のミラーに付着したゴミを読み取った場合の出力低下
は当該走査線の位置にかかわらず発生する。
For example, in the case where dust adhering to the mirror is read, as shown in FIG. 24 (d), the reading output decreases at a level smaller than the output drop due to the dust adhering to the white reference area. However, when the dust adhering to the mirror is read, a decrease in output occurs regardless of the position of the scanning line.

【0014】図25によって、ゴミを有する白基準領域
を読み取り、前記のゴミによる出力低下を回復させて、
ゴミの影響を排除した白色基準を生成する従来の技術に
基づいた、画像読み取り装置の制御方法の例を説明す
る。
Referring to FIG. 25, a white reference area having dust is read, and the output reduction due to the dust is recovered.
An example of a method for controlling an image reading apparatus based on a conventional technique for generating a white reference excluding the influence of dust will be described.

【0015】すなわち前記の図25に示す制御方法は、
異なる走査線で読み取った個々の読み取り画素の読み取
り出力より、それぞれその最大値をもって白色基準を構
成する制御方法である。
That is, the control method shown in FIG.
This is a control method for forming a white reference by using the maximum value of each read output of each read pixel read by different scanning lines.

【0016】ここで示す例として個々の読み取り画素の
読み取った出力はその比率で表示し、5個の走査線によ
る読み取る例を示す。また画素Pに対応するミラーの箇
所にゴミを有し、画素Qに対応する白基準領域にゴミを
有する例を示している。
As an example shown here, an example is shown in which the read output of each read pixel is displayed at that ratio and read by five scanning lines. Further, an example is shown in which dust is present at a mirror position corresponding to the pixel P and dust is present in a white reference area corresponding to the pixel Q.

【0017】画素Pによる読み取り出力値を見ると、そ
の走査線に関するそれぞれの読み取り出力値は78、8
0、79、78、79と、ほぼ同一のレベルの出力値を
示し、その代表値として最大値である80を取り、白色
基準を構成する出力値とする。このことはミラーに付着
したゴミによる出力値を白色基準に反映したことを示し
ている。
Looking at the read output values of the pixels P, the read output values for the scanning line are 78 and 8 respectively.
Output values of almost the same level as 0, 79, 78, and 79 are shown, and the maximum value, 80, is taken as a representative value, and is set as an output value constituting a white standard. This indicates that the output value due to dust adhering to the mirror was reflected on the white reference.

【0018】画素Qによる読み取り出力値を見ると、そ
の走査線に関するそれぞれの読み取り出力値は97、1
2、18、99、98となっており、第2の走査線およ
び第3の走査線においてその読み取り出力が大きく低下
しているが、ここでも前記の画素Pの場合と同様にその
代表値として最大値である99を取り、白色基準を構成
する出力値とする。この措置により前記の白基準領域に
付着したゴミにより読み取り出力の低下した箇所の出力
値を排除して白色基準を構成していることがわかる。
Looking at the read output values of the pixel Q, the read output values for the scan line are 97, 1
2, 18, 99, and 98, and the read output of the second scan line and the third scan line is greatly reduced. Here, as in the case of the pixel P, the read output is also a representative value. The maximum value of 99 is taken as an output value constituting the white reference. By this measure, it is understood that the white reference is formed by excluding the output value of the portion where the read output is reduced due to the dust attached to the white reference area.

【0019】しかし画素Rによる読み取り出力値を見る
と、その走査線に関するそれぞれの読み取り出力値は9
7、96、97、100、97となっており、第4の走
査線で突出した出力値を示している。
However, looking at the read output value of the pixel R, each read output value for that scan line is 9
7, 96, 97, 100, and 97, which indicate output values protruding on the fourth scanning line.

【0020】前記の突出した出力値は白基準領域の不具
合で発生する光沢異常等により読み取り光が強くなった
場合に発生するものであり、前記の突出した出力値がそ
のまま代表値として採用されると、生成された白色基準
は前記の突出した出力値を含んだ構成となる。
The above-mentioned prominent output value is generated when the reading light is intensified due to a gloss abnormality or the like caused by a defect in the white reference area, and the above-mentioned prominent output value is employed as a representative value as it is. Then, the generated white reference has a configuration including the above-mentioned prominent output value.

【0021】前記の突出した出力値を含んだ白色基準を
用いて、原稿を読み取った画像データを生成すると、前
記の突出した出力値を読み取った画素では他の画素より
低い明度の画像データを生成する。
When image data obtained by reading an original is generated by using the white reference including the protruding output value, image data having a lower brightness than the other pixels is generated at the pixel reading the protruding output value. I do.

【0022】図26、図27および図28によって、従
来の技術に基づいて実施される画像読み取り装置の白色
基準を生成するフローを説明する。
Referring to FIG. 26, FIG. 27 and FIG. 28, a description will be given of a flow of generating a white reference of an image reading apparatus implemented based on the conventional technique.

【0023】図26は構成を示すブロック図である。す
なわち画像読み取り装置B01aは白基準領域B12を
有し、前記の白基準領域B12を読み取る読み取り画素
B14を備えた読み取りユニットB13はユニット移動
部B15によって移動し走査線の位置を設定する。
FIG. 26 is a block diagram showing the configuration. That is, the image reading device B01a has a white reference area B12, and a reading unit B13 having a reading pixel B14 for reading the white reference area B12 is moved by the unit moving unit B15 to set the position of the scanning line.

【0024】また前記の読み取り画素B14の読み取っ
た読み取り出力値は演算制御部B10で白色基準に変換
されて白色基準部B11に格納され、以降の原稿読み取
りにおいて画像データ生成の際の基準値として活用され
る。
The read output value read by the read pixel B14 is converted to a white reference by the arithmetic control unit B10 and stored in the white reference unit B11, and is used as a reference value for generating image data in the subsequent document reading. Is done.

【0025】さらに前記の画像読み取り装置B01aの
生成した画像データはホスト装置B02のドライバプロ
グラムB21に転送され、演算制御部B20において所
定の処理を行なう。
Further, the image data generated by the image reading device B01a is transferred to the driver program B21 of the host device B02, and the arithmetic control unit B20 performs a predetermined process.

【0026】図27は通常の制御に基づく画像読み取り
装置の実行する白色基準生成のフローを示したフローチ
ャートである。
FIG. 27 is a flowchart showing the flow of white reference generation performed by the image reading apparatus based on normal control.

【0027】ステップS501でホスト装置B02より
読み取りの指示を受信した画像読み取り装置B01a
は、ステップS502に進んで読み取りユニットB13
が白基準領域B12を読み取る。
In step S501, the image reading device B01a that has received the reading instruction from the host device B02.
Proceeds to step S502 to read unit B13
Reads the white reference area B12.

【0028】ステップS503で、その個々の読み取り
画素B14の出力する読み取り出力値を元に白色基準を
構成し、白色基準部B11に格納する。
In step S503, a white reference is constructed based on the read output values output from the individual read pixels B14, and stored in the white reference section B11.

【0029】ステップS504で読み取りユニットB1
3が原稿を読み取り、ステップS505に進んで演算制
御部B10は白色基準部B11に格納する白色基準によ
って画像データを生成し、ステップS506に進んで前
記の画像データをホスト装置に転送する。
In step S504, the reading unit B1
3, the process proceeds to step S505, where the arithmetic and control unit B10 generates image data based on the white reference stored in the white reference unit B11, and proceeds to step S506 to transfer the image data to the host device.

【0030】図28は、前記の図25に示した制御に基
づく画像読み取り装置の実行する白色基準生成のフロー
を示したフローチャートである。
FIG. 28 is a flowchart showing a flow of white reference generation performed by the image reading apparatus based on the control shown in FIG.

【0031】ステップS511でホスト装置B02より
読み取りの指示を受信した画像読み取り装置B01a
は、ステップS512に進んで読み取りユニットB13
が特定の走査線における白基準領域B12を読み取る。
In step S511, the image reading device B01a that has received the reading instruction from the host device B02.
Proceeds to step S512, and proceeds to reading unit B13.
Reads a white reference area B12 in a specific scanning line.

【0032】ステップS513で、前記のステップS5
12で個々の画素B14が読み取った読み取り出力値を
一時保存する。
In step S513, the above-described step S5
At 12, the read output values read by the individual pixels B14 are temporarily stored.

【0033】ステップS514でユニット移動部B15
は読み取りユニットB13を移動し、ステップS515
に進んで前記の読み取りユニットB13は新たに設定さ
れた走査線において白基準領域を読み取る。
In step S514, the unit moving section B15
Moves the reading unit B13, and proceeds to step S515.
Then, the reading unit B13 reads the white reference area in the newly set scanning line.

【0034】ステップS516で演算制御部B10は前
記のステップS515で読み取った読み取り出力値より
特定の画素による出力値を指定して、ステップS517
に進んで前記の特定の画素による読み取り出力値と、先
に一時保存してあった読み取り出力値より対応する同一
の画素による読み取り出力値とを比較照合する。
In step S516, the arithmetic and control unit B10 designates an output value of a specific pixel from the read output value read in step S515, and proceeds to step S517.
Then, the read output value of the specific pixel is compared with the read output value of the same pixel corresponding to the read output value temporarily stored earlier.

【0035】ステップS518で前記のステップS51
5で読み取った読み取り出力値が保存値より大きい場合
は、ステップS519に進んで前記の保存値をステップ
S515で読み取った読み取り出力値に書き換える。
In step S518, the above-described step S51 is performed.
If the read output value read in step 5 is larger than the stored value, the flow advances to step S519 to rewrite the stored value to the read output value read in step S515.

【0036】また前記のステップS518で前記のステ
ップS515で読み取った読み取り出力値が保存値と等
しいかあるいは前記の保存値より小さい場合は、ステッ
プS520に進んで前記のステップS515で読み取っ
た読み取り出力値を破棄して、前記の保存値は書き替え
ずにそのまま残す。
If it is determined in step S518 that the read output value read in step S515 is equal to or smaller than the stored value, the flow advances to step S520 to read the read output value read in step S515. Is discarded, and the stored value is left as it is without rewriting.

【0037】ステップS521で後続の画素が残ってい
るときはステップS516に戻って後続の画素を指定す
る。また比較照合する画素がひととおり終了した場合
は、ステップS522に進んで所定の読み取り回数を終
了したかを確認し、読み取り走査を終了していない場合
はステップS514に戻り、読み取り走査が終了した場
合は、ステップS523に進んで保存値をもって白色基
準を確定し、白色基準部B11に格納する。
If the succeeding pixel remains in step S521, the flow returns to step S516 to specify the succeeding pixel. If all the pixels to be compared and checked have been completed, the process proceeds to step S522 to check whether the predetermined number of readings has been completed. If the reading scanning has not been completed, the process returns to step S514, and if the reading scanning has been completed. Proceeds to step S523, determines the white reference with the saved value, and stores it in the white reference section B11.

【0038】ステップS524で読み取りユニットB1
3が原稿を読み取り、ステップS525に進んで演算制
御部B10は白色基準部B11に格納する白色基準によ
って画像データを生成し、ステップS526に進んで前
記の画像データをホスト装置に転送する。
In step S524, the reading unit B1
3 reads the original, proceeds to step S525, and the arithmetic and control unit B10 generates image data based on the white reference stored in the white reference unit B11, and proceeds to step S526 to transfer the image data to the host device.

【0039】[0039]

【発明が解決しようとする課題】前記のごとく、従来の
技術による画像読み取り装置の制御方法では、白色基準
の生成において次に述べるような問題点がある。
As described above, the conventional method of controlling an image reading apparatus has the following problems in generating a white reference.

【0040】当該画像読み取り装置に浸入したゴミが白
基準領域に付着した場合、白色基準の生成の過程で前記
のゴミを読み込む危険性がある。
If dust entering the image reading apparatus adheres to the white reference area, there is a risk that the dust is read in the process of generating the white reference.

【0041】前記のゴミを読み込んだ白色基準を用いて
原稿を読み取った場合、その画像データにおいて前記の
ゴミを読み取った画素による画像データは他の画素より
も明るく画像データを生成する。したがって前記の画像
データは損なわれる。
When an original is read using the white reference from which the dust is read, the image data of the pixel from which the dust is read in the image data is brighter than other pixels to generate image data. Therefore, the image data is damaged.

【0042】前記の白基準領域に付着したゴミを読み込
まずに白色基準を生成する方法として、複数の走査線で
個々の画素が読み取った最大出力値をもって白色基準を
構成させるという方法が知られている。
As a method of generating a white reference without reading dust adhering to the white reference area, there is known a method of forming a white reference with a maximum output value read by each pixel with a plurality of scanning lines. I have.

【0043】しかし、前記の個々の画素が読み取った最
大出力値をもって白色基準を構成させる方法では、白基
準領域の不具合で発生する光沢異常等により読み取り光
が強くなった場合に発生する異常な出力値を最大出力値
として取り入れる危険性がある。
However, in the above-described method of forming the white reference using the maximum output value read by each pixel, an abnormal output generated when the reading light becomes strong due to an abnormal gloss caused by a defect in the white reference area or the like. There is a risk of taking the value as the maximum output value.

【0044】前記の異常な出力値を最大出力値として取
り込んだ白色基準を用いて原稿を読み取った場合、その
画像データにおいて前記のゴミを読み取った画素による
画像データは他の画素よりも暗く画像データを生成す
る。したがって前記の画像データの階調は損なわれる。
When a document is read using the white reference in which the abnormal output value is taken as the maximum output value, the image data of the pixel from which the dust is read out of the image data is darker than the other pixels. Generate Therefore, the gradation of the image data is impaired.

【0045】この発明が解決しようとする課題は、当該
画像読み取り装置に浸入したゴミが白基準領域に付着し
た場合でも白色基準の生成の過程で前記のゴミを読み込
むことなく白色基準を構成させ、同時に白基準領域の不
具合で発生する光沢異常等により読み取り光が強くなっ
た場合に発生する異常な出力値を緩和して正常な白色基
準を生成することにある。
The problem to be solved by the present invention is that even when dust entering the image reading apparatus adheres to the white reference area, the white reference is formed without reading the dust in the process of generating the white reference. At the same time, a normal white reference is generated by relaxing an abnormal output value generated when the reading light becomes strong due to a gloss abnormality or the like generated due to a defect in the white reference region.

【0046】[0046]

【課題を解決するための手段】前記の問題点を解決する
ために、この発明では次に示す手段を取った。
In order to solve the above problems, the present invention employs the following means.

【0047】1)白色基準を生成する際に、白基準領域
の特定の領域を読み取った個々の画素において読み取り
出力の平均値を算出する。
1) When generating the white reference, the average value of the read output is calculated for each pixel read from a specific area of the white reference area.

【0048】この手段を取ることにより、白基準領域に
付着したゴミを読み取った画素の読み取り出力の平均値
では前記のゴミによる出力低下量が平均化により縮小
し、同時にミラー等の白基準領域以外の光路に付着した
ゴミを読み取った画素の読み取り出力の平均値では前記
のゴミによる出力低下量は平均化によっても変化せずに
その出力低下量を保つという作用を得る。
By taking this measure, the average value of the read output of the pixels that read the dust adhering to the white reference area is reduced by the averaging, and at the same time, the output reduction amount due to the dust is reduced. In the average value of the read output of the pixels obtained by reading the dust adhering to the optical path, the output reduction amount due to the dust is not changed by the averaging, and the output reduction amount is maintained.

【0049】さらにこの手段を取ることにより、前記の
白基準領域の光沢異常等により読み取り光が強くなって
突出した読み取り出力値を出力した画素では前記の突出
量が平均化により縮小するという作用をも得る。
Further, by taking this means, the pixel which outputs a protruding read output value when the reading light becomes intensified due to the gloss abnormality of the white reference area or the like is reduced by averaging. Also get.

【0050】2)前記の平均値を算出する手順を、画像
読み取り装置の制御を実現する制御プログラムの一部と
してコンピュータ読み取り可能な記録媒体に格納する。
2) The procedure for calculating the average value is stored in a computer-readable recording medium as a part of a control program for controlling the image reading apparatus.

【0051】この手段によって、当該画像読み取り装置
は白色基準を生成する際に、白基準領域の特定の領域を
読み取った個々の画素において読み取り出力の平均値を
算出する手順を装備するという作用を得る。
By this means, when the image reading apparatus generates the white reference, it has an effect of providing a procedure for calculating the average value of the read output at each pixel reading a specific area of the white reference area. .

【0052】3)白色基準を生成する際に白基準領域を
複数のブロックに分割して読み取り、個々のブロックに
おいてその領域を読み取った個々の画素において読み取
り出力の平均値を算出する。
3) When the white reference is generated, the white reference area is divided into a plurality of blocks and read, and the average value of the read output is calculated for each pixel in each block that has read the area.

【0053】この手段を取ることにより、白基準領域に
付着したゴミに対応する位置にある画素の読み取り出力
値の平均値は、前記のゴミが位置するブロック以外では
ゴミを読み取らない読み取り出力値の平均値を示し、同
時にミラー等の白基準領域以外の光路に付着したゴミを
読み取った画素の読み取り出力の平均値では前記のゴミ
による出力低下量は平均化によっても変化せずにすべて
のブロックでその出力低下量を保つという作用を得る。
By taking this measure, the average value of the read output values of the pixels located at the position corresponding to the dust adhering to the white reference area becomes the read output value at which the dust is not read in blocks other than the block where the dust is located. Indicates the average value, and at the same time, in the average value of the read output of the pixels that read the dust adhering to the optical path other than the white reference area such as a mirror, the output reduction amount due to the dust does not change even in the averaging, and is the same for all blocks The effect of keeping the output reduction amount is obtained.

【0054】4)前記の白基準領域をブロックに分割
し、前記の分割したブロックで読み取った個々の画素に
おいて読み取り出力の平均値を算出する手順を、画像読
み取り装置の制御を実現する制御プログラムの一部とし
てコンピュータ読み取り可能な記録媒体に格納する。
4) The procedure of dividing the white reference area into blocks and calculating the average value of the read output at each pixel read by the divided blocks is performed by a control program for controlling the image reading apparatus. Partly stored in a computer-readable recording medium.

【0055】この手段によって、当該画像読み取り装置
は白色基準を生成する際に、白基準領域のブロックに分
割した領域を読み取った個々の画素において読み取り出
力の平均値を算出する手順を装備するという作用を得
る。
By this means, the image reading apparatus is provided with a procedure for calculating the average value of the read output at each pixel which has read an area divided into blocks of the white reference area when generating the white reference. Get.

【0056】5)画像読み取り装置ではあらかじめ調整
出荷時に白基準領域を読み取った標準データを教師デー
タとして記録し、白色基準を生成する際に白基準領域の
特定の領域を読み取った個々の画素において読み取り出
力の平均値を算出して、前記の教師データと比較照合す
る。
5) In the image reading apparatus, standard data obtained by reading the white reference area in advance at the time of adjustment shipment is recorded as teacher data, and when generating the white reference, reading is performed on individual pixels that read a specific area of the white reference area. The average value of the output is calculated and compared with the teacher data.

【0057】この手段を取ることにより、当該画像読み
取り装置は白基準領域に付着したゴミを読み取った画素
の示す読み取り出力の低下を前記の教師データと比較照
合することによって検出するという作用を得る。
By adopting this means, the image reading apparatus has an effect of detecting a decrease in the read output indicated by the pixel that has read the dust adhering to the white reference area by comparing and collating with the teacher data.

【0058】6)前記の平均値を算出する手順と、前記
の平均値と比較照合する教師データとを、画像読み取り
装置の制御を実現する制御プログラムの一部としてコン
ピュータ読み取り可能な記録媒体に格納する。
6) The procedure for calculating the average value and the teacher data to be compared with the average value are stored in a computer-readable recording medium as a part of a control program for controlling the image reading apparatus. I do.

【0059】この手段によって、当該画像読み取り装置
は白色基準を生成する際に、白基準領域を読み取った個
々の画素において読み取り出力の平均値を算出して教師
データと比較照合する手順を装備するという作用を得
る。
By this means, when generating the white reference, the image reading apparatus is provided with a procedure for calculating the average value of the read output for each pixel read from the white reference area and comparing with the teacher data. Get action.

【0060】[0060]

【発明の実施の形態】この発明は、次に示すような形態
を取る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention takes the following forms.

【0061】1)画像読み取り装置の制御方法において
白基準領域を読み取った個別の読み取り画素の平均出力
値を算出し、前記の個別の読み取り画素の平均出力値と
前記の個別の読み取り画素の読み取ったすべての出力値
の平均値とを比較照合することによって、装置内の光路
に付着したゴミの存在を検出する。
1) In the control method of the image reading apparatus, the average output value of the individual read pixels which read the white reference area is calculated, and the average output value of the individual read pixels and the individual read pixels are read. By comparing and comparing the average value of all the output values, the presence of dust attached to the optical path in the apparatus is detected.

【0062】2)前記の画像読み取り装置の制御方法に
おいて、白基準領域を読み取った個別の読み取り画素の
平均出力値の出力低下のレベルを観測して、前記の存在
を検出したゴミが白基準領域に付着したゴミか、あるい
はまた前記の白基準領域以外の光路に付着したゴミであ
るかを判定する。
2) In the control method of the image reading apparatus, the dust whose presence is detected is observed by observing the level of decrease in the average output value of the individual read pixels that have read the white reference area. It is determined whether the dust is attached to the optical path other than the white reference area.

【0063】これらの形態を取ることによって、当該画
像読み取り装置は白基準領域を読み取った個別の読み取
り画素の読み取り出力値に含まれた出力低下部分より白
基準領域に付着したゴミを読み取った要素を判定すると
いう作用を得る。
By adopting these forms, the image reading apparatus can remove the element reading the dust adhering to the white reference area from the output reduction portion included in the read output value of the individual read pixel reading the white reference area. The effect of determining is obtained.

【0064】3)前記の画像読み取り装置の制御方法に
おいて、白基準領域を読み取った個別の読み取り画素の
平均出力値を算出し、前記の個別の読み取り画素の平均
出力値をもって白色基準を構成する。
3) In the control method of the image reading apparatus, the average output value of the individual read pixels which read the white reference area is calculated, and the average output value of the individual read pixels constitutes the white reference.

【0065】この形態を取ることによって、当該画像読
み取り装置は白色基準を生成するにあたり、個々の読み
取り画素が白基準領域に付着したゴミを読み取って発生
した出力低下量のみを減衰させるという作用を得る。
By taking this form, the image reading apparatus has an effect of generating only a white reference and attenuating only an output reduction amount caused by reading of dust adhered to the white reference area by each read pixel. .

【0066】4)画像読み取り装置の制御方法において
白基準領域を副走査方向に分割した複数個数のブロック
に分割して前記のブロック単位で前記の白基準領域を読
み取り、個々のブロックごとに個別の読み取り画素の平
均出力値を算出し、前記の個々のブロックごとに算出し
た個別の読み取り画素の平均出力値を比較照合すること
によって、装置内の光路に付着したゴミの影響を排除し
た白色基準を構成する。
4) In the control method of the image reading apparatus, the white reference area is divided into a plurality of blocks divided in the sub-scanning direction, and the white reference area is read in units of the blocks. By calculating the average output value of the read pixels and comparing and comparing the average output values of the individual read pixels calculated for each of the individual blocks, a white standard that eliminates the influence of dust attached to the optical path in the apparatus is obtained. Constitute.

【0067】5)前記の画像読み取り装置の制御方法に
おいて、個々のブロックごとに算出した前記の個別の読
み取り画素の平均出力値の最大値をもって白色基準を構
成する。
5) In the control method of the image reading apparatus, the white reference is constituted by the maximum value of the average output value of the individual read pixels calculated for each block.

【0068】6)前記の画像読み取り装置の制御方法に
おいて、個々のブロックごとに算出した前記の個別の読
み取り画素の平均出力値をブロック相互間で比較照合し
て、低下した出力箇所を有するブロックをゴミ検出のブ
ロックと特定し、前記のゴミ検出のブロックを除外した
残りのブロックをもって白色基準を構成する。
6) In the control method of the image reading apparatus, the average output value of the individual read pixel calculated for each block is compared and compared between the blocks, and the block having the lowered output portion is identified. The block is identified as a dust detection block, and the remaining blocks excluding the dust detection block constitute a white reference.

【0069】7)前記の画像読み取り装置の制御方法に
おいて、前記のゴミ検出のブロックを除外した残りのブ
ロックより、その平均値が最大のブロックを選択して白
色基準とする。
7) In the control method of the image reading apparatus, a block having the largest average value is selected from the remaining blocks excluding the dust detection block, and is set as a white reference.

【0070】8)あるいはまた前記の画像読み取り装置
の制御方法において、前記のゴミ検出のブロックを除外
した残りのブロックより、その平均値が中間値にあるブ
ロックを選択して白色基準とする。
8) Alternatively, in the method of controlling the image reading apparatus, a block whose average value is an intermediate value is selected from the remaining blocks excluding the dust detection block, and is used as a white reference.

【0071】9)あるいはまた前記の画像読み取り装置
の制御方法において、前記のゴミ検出のブロックを除外
した残りのブロックより、個別の読み取り画素に関して
その平均値を算出して白色基準を構成する。
9) Alternatively, in the control method of the image reading apparatus, an average value of each of the read pixels is calculated from the remaining blocks excluding the dust detection block to form a white reference.

【0072】10)あるいはまた前記の画像読み取り装
置の制御方法において、個々のブロックごとに算出した
前記の個別の読み取り画素の平均出力値において、すべ
てのブロックで同等に検出される出力低下箇所を白基準
領域以外の光路に付着したゴミと判定し、前記の出力低
下箇所を包含させて白色基準を構成する。
10) Alternatively, in the control method of the image reading apparatus, in the average output value of the individual read pixels calculated for each block, the output drop portion which is detected equally in all the blocks is white. It is determined that dust has adhered to the optical path other than the reference area, and a white reference is formed by including the above-mentioned output reduction portion.

【0073】これらの形態を取ることによって、当該画
像読み取り装置は白基準領域をブロックに分割して読み
取った個別の読み取り画素の読み取り出力値の平均値よ
りゴミを読み取ったブロックを回避して白色基準を構成
するという作用を得る。
By adopting these forms, the image reading apparatus can divide the white reference area into blocks and avoid the block in which dust is read from the average value of the read output values of the individual read pixels read by dividing the white reference area into blocks. Is obtained.

【0074】11)画像読み取り装置の制御方法におい
て、白基準領域を読み取った個別の読み取り画素の平均
出力値を算出し、前記の個別の読み取り画素の平均出力
値と、あらかじめ備える教師データとを比較照合するこ
とによって、装置内の光路に付着したゴミの存在を検出
する
11) In the control method of the image reading apparatus, the average output value of the individual read pixels which read the white reference area is calculated, and the average output value of the individual read pixels is compared with the teacher data provided in advance. By collation, the presence of dust attached to the optical path in the device is detected

【0075】12)前記の画像読み取り装置の制御方法
において、白基準領域を読み取った個別の読み取り画素
の平均出力値の出力低下のレベルを教師データと比較し
て、前記の存在を検出したゴミが白基準領域に付着した
ゴミか、あるいはまた前記の白基準領域以外の光路に付
着したゴミであるかを判定し、前記の検出されたゴミが
前記の白基準領域に付着したゴミであると判定した場合
に前記の教師データに基づいて前記の平均出力値を補正
して、白色基準を構成する。
12) In the control method of the image reading apparatus described above, the level of reduction in the average output value of the individual read pixels that have read the white reference area is compared with the teacher data to detect dust that has detected the presence. It is determined whether dust adhered to the white reference area or dust attached to the optical path other than the white reference area, and it is determined that the detected dust is dust attached to the white reference area. In this case, the average output value is corrected based on the teacher data to form a white reference.

【0076】13)前記の画像読み取り装置の制御方法
において、白基準領域を読み取った個別の読み取り画素
の平均出力値の出力低下のレベルを教師データと比較し
て、前記の存在を検出したゴミが白基準領域に付着した
ゴミか、あるいはまた前記の白基準領域以外の光路に付
着したゴミであるかを判定し、前記の検出されたゴミが
前記の白基準領域以外の光路に付着したゴミであると判
定した場合に前記の平均出力値を補正せずに前記の教師
データを補正して更新し、白色基準を構成する。
13) In the control method of the image reading apparatus described above, the level of reduction in the average output value of the individual read pixels that have read the white reference area is compared with the teacher data to detect dust that has detected the presence. It is determined whether the dust attached to the white reference area or the dust attached to the optical path other than the white reference area, and the detected dust is the dust attached to the optical path other than the white reference area. If it is determined that there is, the teacher data is corrected and updated without correcting the average output value, thereby forming a white reference.

【0077】これらの形態を取ることにより、当該画像
読み取り装置は白基準領域を読み取った読み取り出力を
教師データに基づいて補正して白色基準を生成するとい
う作用を得る。
By adopting these modes, the image reading apparatus has an effect of correcting the read output obtained by reading the white reference area based on the teacher data to generate the white reference.

【0078】14)画像読み取り装置が白基準領域を読
み取った個別の読み取り画素の平均出力値を算出する手
順と、前記の個別の読み取り画素の平均出力値と、前記
の個別の読み取り画素の読み取ったすべての出力値の平
均値とを比較照合する手順とを実行させる制御プログラ
ムをコンピュータ読み取り可能な記録媒体に格納する。
14) A procedure in which the image reading device calculates the average output value of the individual read pixels that have read the white reference area, the average output value of the individual read pixels, and the read of the individual read pixels. And a procedure for comparing and comparing the average value of all the output values with the average value of the output values is stored in a computer-readable recording medium.

【0079】15)あるいはまた、前記の画像読み取り
装置が白基準領域を副走査方向に分割した複数個数のブ
ロックに分割する手順と、前記の複数個数に分割したブ
ロックを順次読み取り、個々のブロックごとに個別の読
み取り画素の平均出力値を算出する手順と、前記の個々
のブロックごとに算出した個別の読み取り画素の平均出
力値を比較照合することによって、装置内の光路に付着
したゴミの影響を排除した白色基準を構成する手順とを
実行させる制御プログラムをコンピュータ読み取り可能
な記録媒体に格納する。
15) Alternatively, the image reading device may divide the white reference area into a plurality of blocks divided in the sub-scanning direction, and may sequentially read the plurality of divided blocks, By comparing the average output value of the individual read pixels with the average output value of the individual read pixels calculated for each individual block, the influence of dust attached to the optical path in the apparatus is reduced. A control program for executing the procedure for configuring the excluded white reference is stored in a computer-readable recording medium.

【0080】16)あるいはまた、白基準領域を読み取
った個別の読み取り画素の平均出力値を算出する手順
と、あらかじめ備える教師データを引き出す手順と、前
記の個別の読み取り画素の平均出力値と教師データとを
比較照合して装置内の光路に付着したゴミの存在を検出
し、前記のゴミの影響を排除した白色基準を構成する手
順とを実行させる制御プログラムをコンピュータ読み取
り可能な記録媒体に格納する。
16) Alternatively, a procedure for calculating the average output value of the individual read pixels that have read the white reference area, a procedure for extracting the teacher data provided in advance, and a procedure for calculating the average output value of the individual read pixels and the teacher data Is stored in a computer-readable recording medium to execute the procedure of detecting the presence of dust adhering to the optical path in the apparatus by comparing and checking the above, and forming a white reference excluding the influence of the dust. .

【0081】これらの形態を取ることにより、当該画像
読み取り装置は白基準領域を読み取った読み取り出力よ
りゴミを読み取った出力低下部分を回避して白色基準を
生成する手順を装備するという作用を得る。
By adopting these forms, the image reading apparatus has an effect of providing a procedure for generating a white reference while avoiding a reduced output portion where dust is read from a read output obtained by reading the white reference region.

【0082】[0082]

【実施例】この発明による代表的な実施例を、図1ない
し図22によって説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A typical embodiment according to the present invention will be described with reference to FIGS.

【0083】図1、図2および図5に基づいて、この発
明のひとつの代表的な実施例を説明する。図1は、この
発明の実施例の原理を示したものである。
One representative embodiment of the present invention will be described with reference to FIGS. 1, 2 and 5. FIG. 1 shows the principle of an embodiment of the present invention.

【0084】図1(a)に示すごとく、白基準領域1に
ゴミ2が付着している場合、走査線3が前記のゴミ2の
無い部分にあるときは、その読み取り出力は図1(b)
に示すごとく個々の読み取り画素の出力が概略平坦な出
力状況を示す。当然のことながら前記の出力を微視的に
観察すれば、既に図23(b)の拡大図によって説明し
たごとく個々の読み取り画素の特性にしたがって変動を
示している。
As shown in FIG. 1A, when dust 2 adheres to the white reference area 1 and when the scanning line 3 is located in a portion where the dust 2 does not exist, the read output is as shown in FIG. )
As shown in the figure, the output of each read pixel shows a substantially flat output state. Obviously, if the output is microscopically observed, the output shows a variation according to the characteristics of the individual read pixels as already described with reference to the enlarged view of FIG.

【0085】前記の走査線3が前記のゴミ2の付着した
位置に一致したときは、図1(c)に示すごとく前記の
ゴミ2に対応する読み取り画素位置4でその読み取り出
力は大きく低下する。
When the scanning line 3 coincides with the position where the dust 2 adheres, the reading output greatly decreases at the reading pixel position 4 corresponding to the dust 2 as shown in FIG. .

【0086】また前記の走査線3が前記の白基準領域1
のあらかじめ定める領域を順次読み取って個々の読み取
り画素の出力した読み取り出力値の平均値を算出すれ
ば、図1(d)に示すごとく前記のゴミを検出した読み
取り画素位置4に対応する箇所の読み取り出力の低下分
は緩和される。
Further, the scanning line 3 corresponds to the white reference area 1
If the average value of the read output values output by the individual read pixels is calculated by sequentially reading the predetermined areas of the above, the reading of the portion corresponding to the read pixel position 4 where the dust is detected as shown in FIG. The decrease in output is alleviated.

【0087】図2によって、前記の個々の読み取り画素
が読み取った読み取り出力値の平均値より、白基準領域
に付着したゴミとミラーなどの白基準領域以外に付着し
たゴミとを識別する原理を説明する。
Referring to FIG. 2, the principle of discriminating dust adhering to the white reference area and dust adhering to other than the white reference area such as a mirror from the average value of the read output values read by the individual read pixels will be described. I do.

【0088】なお、以降の説明ではミラーなどの白基準
領域以外に付着したゴミをミラーに付着したゴミと略称
する。
In the following description, dust adhering to areas other than the white reference area such as a mirror is referred to as dust adhering to the mirror.

【0089】既に図1(c)によって説明したごとく、
読み取り画素が白基準領域に付着したゴミを読み取った
場合は、前記の読み取り画素の出力する読み取り出力値
は大きく低下する。これは前記のゴミの位置する白基準
領域では前記の読み取り画素のピントが合っていて鮮明
な読み取り出力が得られるためである。
As already described with reference to FIG.
When the read pixel reads dust adhering to the white reference area, the read output value output from the read pixel greatly decreases. This is because in the white reference area where the dust is located, the read pixels are in focus and a clear read output is obtained.

【0090】しかし前記のごとく読み取り出力値が大き
く低下するのは実際にゴミを読み取った箇所のみであ
り、一過性の値であるので走査線が前記の白基準領域の
所定の領域を読み取りその読み取り出力値の平均値を算
出したときは、図2(a)に示すごとく小さな低下量と
して示される。
However, as described above, the read output value greatly decreases only in the portion where dust is actually read, and since it is a transient value, the scanning line scans a predetermined area of the white reference area. When the average value of the read output values is calculated, the average value is shown as a small decrease amount as shown in FIG.

【0091】また前記の読み取り画素がミラーに付着し
たゴミを読み取った場合は前記の白基準領域に付着した
ゴミと異なりピントが十分に合っていないので、画像の
ボケにより前記の白基準領域に付着したゴミより読み取
り出力値の低下が少ない。
When the read pixels read the dust adhering to the mirror, unlike the dust adhering to the white reference area, the focus is not sufficiently focused, so that the image adheres to the white reference area due to blurring of the image. There is less decrease in read output value than dust.

【0092】同時に前記のミラーに付着したゴミは読み
取りの対象位置を移動しても常に読み取りの対象となっ
ているので、走査線が前記の白基準領域の所定の領域を
読み取りその読み取り出力値の平均値を算出したときに
も図2(b)に示すごとくその出力低下量は変化しな
い。
At the same time, the dust adhering to the mirror is always a target for reading even if the target position of the reading is moved, so that the scanning line reads a predetermined area of the white reference area and the read output value of the white reference area is read. Even when the average value is calculated, the output decrease amount does not change as shown in FIG.

【0093】したがって白基準領域を読み取った個々の
読み取り画素の出力値の平均値を算出することにより、
前記のミラーに付着したゴミを読み取った出力低下量を
固定して前記の白基準領域に付着したゴミを読み取った
出力低下量のみを小さくすることができる。
Therefore, by calculating the average value of the output values of the individual read pixels that have read the white reference area,
By fixing the output reduction amount obtained by reading the dust attached to the mirror, only the output reduction amount obtained by reading the dust attached to the white reference area can be reduced.

【0094】以上に述べた原理により、白基準領域を読
み取る走査線の本数をあらかじめ定めた本数に設定して
読み取った個々の読み取り画素の出力値の平均値を算出
することにより白基準領域に付着したゴミを読み取った
出力低下量のみを実用上画像データの差し障りとならな
いレベルにまで減衰させることが可能となる。
According to the principle described above, the number of scanning lines for reading the white reference area is set to a predetermined number, and the average value of the output values of the individual read pixels read out is calculated to thereby attach the scanning lines to the white reference area. It is possible to attenuate only the output reduction amount obtained by reading the collected dust to a level that does not hinder the image data in practical use.

【0095】このことは、たとえば2値データで画像を
読み取る画像処理において、あらかじめ定める適当な領
域の白基準領域を読み取り、前記の白基準領域を読み取
った個々の画素の読み取り出力値の平均値を算出するこ
とによって、前記の白基準領域に付着したゴミによる影
響を排除しつつミラーに付着するゴミの影響を考慮した
白色基準を生成することが可能となることを示唆してい
る。
This means that, for example, in image processing for reading an image with binary data, a white reference region of a predetermined appropriate region is read, and the average of the read output values of the individual pixels that read the white reference region is calculated. The calculation suggests that it is possible to generate a white reference in consideration of the influence of dust adhering to the mirror while eliminating the influence of dust adhering to the white reference area.

【0096】図5は個々の走査線においてゴミを読み取
った個々の画素の読み取り出力値の例を示したものであ
る。図5(a)は白基準領域に付着したゴミを読み取っ
た場合を示す。すなわち前記の白基準領域に付着したゴ
ミを読み取った画素の読み取り出力値が大きく低下して
いるが、個々の画素について平均の出力値を算出すれ
ば、前記のゴミの所在する箇所が一過性の値であれば、
平均値を算出する母数が大きくなれば低下量は小さくな
る。
FIG. 5 shows an example of the read output value of each pixel obtained by reading dust on each scan line. FIG. 5A shows a case where dust adhering to the white reference area is read. That is, although the read output value of the pixel from which the dust adhered to the white reference area has been read is greatly reduced, if the average output value is calculated for each pixel, the place where the dust is located may be transient. If the value is
As the parameter for calculating the average value increases, the decrease amount decreases.

【0097】また前記のゴミの読み取りと同様に、前記
の白基準領域において光沢異常が発生して一時的に高い
反射率を示した場合でも、前記の光沢異常の箇所が一過
性の値であれば、平均値を算出する母数が大きくなれば
その影響量は小さくなる。
Similarly to the case of the above-mentioned dust reading, even when a gloss abnormality occurs in the white reference area and temporarily shows a high reflectance, the location of the gloss abnormality is a transient value. If so, the larger the parameter for calculating the average value, the smaller the amount of influence.

【0098】図5(b)はミラーに付着したゴミを読み
取った場合を示す。すなわち前記のミラーに付着したゴ
ミを読み取った画素の読み取り出力値が前記の白基準領
域に付着したゴミの場合より小さい値で低下している
が、すべての走査線において常に出力の低下を示してお
り、平均値を算出する母数が大きくなってもその影響量
には変化がない。
FIG. 5B shows a case where dust adhering to the mirror is read. That is, although the read output value of the pixel that has read the dust adhering to the mirror is lower than that of the dust adhering to the white reference area, the output always decreases in all the scanning lines. Therefore, even if the parameter for calculating the average value increases, the influence amount does not change.

【0099】図3および図6ないし図11に基づいて、
この発明の別のひとつの代表的な実施例を説明する。図
3は、この発明の実施例の原理を示したものである。
Referring to FIG. 3 and FIGS. 6 to 11,
Another representative embodiment of the present invention will be described. FIG. 3 shows the principle of the embodiment of the present invention.

【0100】図3(a)に示すごとく、白基準領域1を
走査線3が読み取る領域として複数個数のブロック11
に分割する。
As shown in FIG. 3A, a plurality of blocks 11 are used as areas where the scanning line 3 reads the white reference area 1.
Divided into

【0101】図3(b)は、前記の白基準領域1を分割
したブロック11のうちゴミ2のないブロックを読み取
り、前記の読み取り個々の画素の出力した出力値の平均
値を示したものである。すなわち前記のブロック11に
はゴミ2による出力低下の部分がなく、全体としては平
坦な出力波形を呈している。
FIG. 3B shows an average value of the output values of the individual pixels read out of the blocks 11 obtained by dividing the white reference area 1 without any dust 2. is there. That is, the block 11 has no portion where the output is reduced due to the dust 2 and has a flat output waveform as a whole.

【0102】図3(c)は、前記の白基準領域1を分割
したブロック11のうちゴミ2を有するブロックを読み
取り、前記の読み取り個々の画素の出力した出力値の平
均値を示したものである。すなわち前記のゴミの存在す
るブロック11のみにおいてゴミ2による出力低下の部
分が見られるが、前記のゴミを読み取った読み取り画素
の出力値は平均値ではゴミを読み取ったポイントにおけ
る出力値よりその低下量が緩和されて小さくなる。
FIG. 3C shows the average value of the output values output from the individual pixels read out of the blocks 11 obtained by dividing the white reference area 1 among the blocks 11 having the dust. is there. That is, only the block 11 where the dust is present has a portion where the output is reduced due to the dust 2, but the output value of the read pixel that has read the dust is smaller than the output value at the point where the dust is read in the average value. Are alleviated and become smaller.

【0103】また図3(d)に示すごとく、ミラーに付
着したゴミを読み取ることにより発生する読み取り出力
の低下量は前記の白基準領域1に付着したゴミを読み取
ることにより発生する読み取り出力の低下量よりも大き
くないがすべての走査線において発生するので、個々の
読み取り画素の出力値より算出した平均値においても前
記の出力値の低下量に変化はなく、またすべてのブロッ
クに同様の出力値の低下が見られる。
As shown in FIG. 3D, the amount of decrease in the read output caused by reading the dust attached to the mirror is reduced by the decrease in the read output caused by reading the dust attached to the white reference area 1. Although it is not larger than the amount, it occurs in all the scanning lines, so even in the average value calculated from the output values of the individual read pixels, there is no change in the decrease amount of the output value, and the same output value is applied to all the blocks. Is seen to decrease.

【0104】以上に述べた原理から、白基準領域1をあ
らかじめ定めた複数個数のブロック11に分割して読み
取った個々の読み取り画素の出力値の平均値を算出し、
前記の平均値を調査してその読み取り出力の低下を検出
することにより前記の白基準領域1に付着したゴミ2を
読み取ったブロック11を特定することが可能であり、
さらにすべてのブロックにおいて前記の読み取り出力の
低下を検出すれば前記の検出されたゴミはミラーに付着
したゴミであると判定することができる。
From the principle described above, the average value of the output values of the individual read pixels read by dividing the white reference area 1 into a plurality of predetermined blocks 11 is calculated,
It is possible to identify the block 11 that has read the dust 2 attached to the white reference area 1 by examining the average value and detecting a decrease in the read output,
Further, if the decrease in the read output is detected in all blocks, the detected dust can be determined to be dust attached to the mirror.

【0105】次に、前記の白基準領域1をあらかじめ定
めた複数個数のブロック11に分割して読み取った個々
の読み取り画素の出力値の平均値より、実際に白色基準
を生成する方法を説明する。
Next, a method of actually generating the white reference from the average value of the output values of the individual read pixels read by dividing the white reference area 1 into a plurality of predetermined blocks 11 will be described. .

【0106】図6に示した方法は、前記の白基準領域1
をあらかじめ定めた複数個数のブロック11に分割して
読み取った個々の読み取り画素の出力値の平均値より、
個々のブロックにあらわれた個々の読み取り画素の出力
値の平均値の最大値をもって白色基準を構成する方法で
ある。
In the method shown in FIG.
Is divided into a plurality of blocks 11 determined in advance, and the average value of the output values of the individual read pixels read.
In this method, the maximum value of the average values of the output values of the individual read pixels appearing in the individual blocks is used as a white standard.

【0107】すなわち前記の図6に示す例において、こ
こでは第2のブロックでゴミによる読み取り出力値の平
均値の低下箇所が見られるが、第4のブロックにある最
大値を白色基準を構成する要素として採用することによ
り、前記の第2のブロックで検出されたゴミによる読み
取り出力値の低下は無視される。
That is, in the example shown in FIG. 6, a portion where the average value of the read output values due to dust is reduced in the second block is seen here, but the maximum value in the fourth block constitutes the white reference. By adopting as an element, a decrease in the read output value due to dust detected in the second block is ignored.

【0108】また図9に示すごとく、前記のゴミによる
読み取り出力値の低下がミラーに付着したゴミによる場
合はすべてのブロックにおいて同様の読み取り出力の低
下が見られるため、前記の読み取り出力値の平均値が最
大のブロックを白色基準を構成する要素として採用する
ことにより、生成された白色基準はミラーに付着したゴ
ミの読み取りによる出力値の低下量を含んだものとな
る。
Further, as shown in FIG. 9, when the read output value decrease due to the dust is caused by dust adhering to the mirror, the same read output decrease is observed in all the blocks. By adopting the block having the largest value as an element constituting the white reference, the generated white reference includes a decrease in the output value due to the reading of dust attached to the mirror.

【0109】図7に示した方法は、前記の白基準領域1
をあらかじめ定めた複数個数のブロック11に分割して
読み取った個々の読み取り画素の出力値の平均値より、
前記の白基準領域の付着したゴミを検出したブロックを
排除する方法によるひとつの実施例である。
In the method shown in FIG.
Is divided into a plurality of blocks 11 determined in advance, and the average value of the output values of the individual read pixels read.
This is an embodiment of a method for eliminating a block in which the dust attached to the white reference area is detected.

【0110】前記の白基準領域1をあらかじめ定めた複
数個数のブロック11に分割して読み取った個々の読み
取り画素の出力値の平均値よりさらにブロック別に平均
値を算出する。次いで前記の算出したブロック別の平均
値を比較して突出して小さな値を示すブロックに関する
データ(図7の例においては第2のブロックのデータ)
を削除し、残存するブロック(すなわち図7の例におい
ては第1、第3、第4および第5のブロック)より前記
のブロック別の平均値が最大値を示すブロック(すなわ
ち図7の例においては第4のブロック)を選択して白色
基準を構成する個別の読み取り出力値とする。
The average value is calculated for each block from the average value of the output values of the individual read pixels read by dividing the white reference area 1 into a plurality of blocks 11 determined in advance. Next, the calculated average value for each block is compared, and the data relating to the block showing a prominently small value (in the example of FIG. 7, the data of the second block)
From the remaining blocks (that is, the first, third, fourth, and fifth blocks in the example of FIG. 7) in which the average value for each block indicates the maximum value (that is, in the example of FIG. 7, Is the fourth block) to obtain the individual read output values constituting the white reference.

【0111】これより、白色基準生成の過程の当初の動
作において白基準に付着したゴミを読み取ったブロック
に関するデータが除外されるので、以降の動作にはゴミ
による影響は消滅する。
Thus, in the initial operation of the process of generating the white reference, data relating to the block from which the dust adhered to the white reference is read is excluded, so that the influence of the dust disappears in the subsequent operations.

【0112】さらに図10に示すごとく前記の算出した
ブロック別の平均値を比較して突出して小さな値を示す
ブロックを調査する際に、前記のゴミがミラーに付着し
たものであればブロック別の平均値間相互の差異には反
映されないので、前記のミラーに付着したゴミによる個
々の画素の読み取り出力の低下量は白色基準の生成の過
程において無視されてそのまま組み込まれる。
Further, as shown in FIG. 10, when the calculated average value for each block is compared to find out which block has a prominently small value, if the dust adheres to the mirror, it is determined by the block. Since the difference between the average values is not reflected, the reduction in the read output of each pixel due to the dust adhering to the mirror is ignored in the process of generating the white reference and is directly incorporated.

【0113】図8に示した方法は、前記の白基準領域1
をあらかじめ定めた複数個数のブロック11に分割して
読み取った個々の読み取り画素の出力値の平均値より、
前記の白基準領域の付着したゴミを検出したブロックを
排除する方法による別のひとつの実施例である。
In the method shown in FIG.
Is divided into a plurality of blocks 11 determined in advance, and the average value of the output values of the individual read pixels read.
This is another embodiment according to the above-described method of eliminating a block in which dust attached to the white reference area is detected.

【0114】前記の白基準領域1をあらかじめ定めた複
数個数のブロック11に分割して読み取った個々の読み
取り画素の出力値の平均値よりさらにブロック別に平均
値を算出する。次いで前記の算出したブロック別の平均
値を比較して突出して小さな値を示すブロックに関する
データ(図8の例においては第2のブロックのデータ)
を削除し、残存するブロック(すなわち図8の例におい
ては第1、第3、第4および第5のブロック)より前記
のブロック別の平均値が中間値を示すブロック(すなわ
ち図8の例においては第3のブロック)を選択して白色
基準を構成する個別の読み取り出力値とする。
The average value is further calculated for each block from the average value of the output values of the individual read pixels read by dividing the white reference area 1 into a predetermined number of blocks 11. Next, the calculated average value for each block is compared, and the data relating to the block showing a prominently small value (the data of the second block in the example of FIG. 8)
, And the block in which the average value for each block indicates an intermediate value from the remaining blocks (that is, the first, third, fourth, and fifth blocks in the example of FIG. 8) (that is, in the example of FIG. 8, Is the third block) to obtain the individual read output values constituting the white reference.

【0115】これより、白色基準生成の過程の当初の動
作において白基準に付着したゴミを読み取ったブロック
に関するデータが除外されるので、以降の動作にはゴミ
による影響は消滅する。
Thus, in the initial operation of the process of generating the white reference, the data relating to the block from which the dust adhered to the white reference is read is excluded, so that the influence of the dust disappears in the subsequent operations.

【0116】さらに図11に示すごとく前記の算出した
ブロック別の平均値を比較して突出して小さな値を示す
ブロックを調査する際に、前記のゴミがミラーに付着し
たものであればブロック別の平均値間相互の差異には反
映されないので、前記のミラーに付着したゴミによる個
々の画素の読み取り出力の低下量は白色基準の生成の過
程において無視されてそのまま組み込まれる。
Further, as shown in FIG. 11, when comparing the calculated average value for each block and examining a block having a prominently small value, if the dust adheres to the mirror, it is determined by the block. Since the difference between the average values is not reflected, the reduction amount of the read output of each pixel due to the dust attached to the mirror is ignored in the process of generating the white reference and is incorporated as it is.

【0117】図4に示した方法は、あらかじめ清浄な状
態の白基準領域を読み取った個々の読み取り画素の出力
値を基準となる教師データとして格納し、しかる後に原
稿の読み取りに際して行なう白色基準の生成において白
基準領域を読み取った個々の読み取り画素の出力値の平
均値と前記の教師データとを比較照合することによっ
て、前記の白基準領域に付着したゴミによる読み取り画
素の読み取り出力の出力低下分を補正して白色基準を構
成する方法である。
In the method shown in FIG. 4, the output value of each read pixel obtained by reading a clean white reference area in advance is stored as reference teacher data, and then the white reference is generated when reading the original. By comparing and comparing the average value of the output values of the individual read pixels that read the white reference area with the teacher data, the output decrease of the read output of the read pixels due to dust attached to the white reference area is calculated. This is a method of constructing a white reference by performing correction.

【0118】すなわち図4(a)に示すごとく、走査線
3はゴミ2の付着する白基準領域1を読み取り、個々の
読み取り画素における読み取り平均値を算出する。
That is, as shown in FIG. 4A, the scanning line 3 reads the white reference area 1 to which the dust 2 adheres, and calculates the read average value of each read pixel.

【0119】図4(b)に示すごとく、当該装置に格納
する教師データ22を引き出して、図4(c)に示すご
とく前記の白基準領域1を読み取って算出した読み取り
平均出力21aと前記の教師データ22とを比較照合す
る。
As shown in FIG. 4B, the teacher data 22 stored in the apparatus is extracted, and as shown in FIG. 4C, the read average output 21a calculated by reading the white reference area 1 is calculated. The data is compared with the teacher data 22.

【0120】前記の白基準領域1を読み取って算出した
読み取り平均出力21aが示す出力波形は、たとえば当
該画像読み取り装置が搭載する光源ランプの光量の変化
等により前記の個々の読み取り画素の示す読み取り出力
値に変動があっても、前記の教師データ22が示す出力
波形と同等の波形を示す。
The output waveform indicated by the read average output 21a calculated by reading the white reference area 1 is, for example, the read output indicated by the individual read pixels due to a change in the light amount of a light source lamp mounted on the image reading apparatus. Even if the value fluctuates, a waveform equivalent to the output waveform indicated by the teacher data 22 is shown.

【0121】したがって前記の読み取り平均出力21a
において前記のゴミ2を検出した読み取り画素位置4に
発生した読み取り出力値の低下部分は、前記の教師デー
タ22をもとに補正を行ない、図4(d)に示す読み取
り平均出力21bを生成することができる。
Therefore, the aforementioned read average output 21a
In the above, the reduced portion of the read output value generated at the read pixel position 4 where the dust 2 is detected is corrected based on the teacher data 22 to generate a read average output 21b shown in FIG. be able to.

【0122】図12に示した方法は、前記の白基準領域
1を読み取った個々の読み取り画素の出力値の平均値
と、あらかじめ定めた教師データとを比較照合すること
により、前記の白基準領域1を読み取った個々の読み取
り画素の出力値の平均値において検出したゴミによる出
力低下分を補正しては白色基準を生成する方法のひとつ
の実施例である。
The method shown in FIG. 12 compares the average value of the output values of the individual pixels read from the white reference area 1 with predetermined teacher data, thereby obtaining the white reference area. This is an embodiment of a method of generating a white reference by correcting an output reduction due to dust detected in an average value of output values of the individual read pixels reading “1”.

【0123】すなわち、教師データ22と読み取り平均
出力21aとを比較照合して、個々の読み取り画素によ
る個々の読み取り平均出力において前記の読み取り平均
出力21aの教師データ22に対する個々の比率を求
め、さらに前記の比率の平均値である平均比率を求め
る。たとえば図12に示す例では、前記の平均比率を9
6%とする。
That is, the teacher data 22 and the read average output 21a are compared and collated, and the individual ratio of the read average output 21a to the teacher data 22 in the individual read average output by each read pixel is obtained. The average ratio, which is the average value of the ratios, is determined. For example, in the example shown in FIG.
6%.

【0124】前記の平均比率をもとに判定基準を設定す
る。前記の判定基準の設定範囲は、個々の読み取り画素
の感度のバラツキを超えてゴミの読み取りによる読み取
り出力の低下を検出する境界値を最大とし、前記のゴミ
がミラーに付着したゴミである場合の読み取り出力の低
下を検出する境界値を最小値とした範囲に設定する。た
とえば図12に示す例では、最大値を前記の平均比率で
ある96%に対して−2%と設定し、また最小値を前記
の平均比率である96%に対して−9%と設定する。
A criterion is set based on the average ratio. The setting range of the determination criterion is a maximum value that exceeds a variation in sensitivity of individual read pixels and detects a reduction in read output due to dust reading, and the above-described dust is dust attached to a mirror. The boundary value for detecting a decrease in the read output is set in a range where the minimum value is set. For example, in the example shown in FIG. 12, the maximum value is set to -2% for the above-mentioned average ratio of 96%, and the minimum value is set to -9% for the above-mentioned average ratio of 96%. .

【0125】このことは、前記の図12に示した例では
次の条件を設定したことを示している。
This means that the following conditions were set in the example shown in FIG.

【0126】すなわち、今回の白基準領域の読み取り動
作で個々の読み取り画素が前記の白基準領域を読み取っ
た際の読み取り出力の教師データに対する比率は、その
平均値として96%であり、個々の読み取り画素のバラ
ツキにより92%までの範囲で分布する。また前記の白
基準領域にゴミが付着している時は前記の白基準領域の
読み取り領域における読み取り平均出力が94%以下に
低下する。しかしミラーに付着するゴミを読み取った場
合にはその読み取り出力の低下が87%を下回る値とな
る。
That is, the ratio of the read output to the teacher data when individual read pixels read the white reference area in the current read operation of the white reference area is 96% as an average value. It is distributed in a range up to 92% due to the variation of pixels. Further, when dust adheres to the white reference area, the read average output in the reading area of the white reference area decreases to 94% or less. However, when the dust adhering to the mirror is read, the read output decreases by less than 87%.

【0127】前記の判定範囲を最大値と最小値とで設定
することにより、当該画像読み取り装置はその白色基準
の設定に際して白基準領域に付着したゴミのみを教師デ
ータによる補正の対象とすることができる。
By setting the above-mentioned determination range with the maximum value and the minimum value, the image reading apparatus can correct only dust adhering to the white reference area when setting the white reference by the teacher data. it can.

【0128】前記の判定基準によって前記の読み取り平
均出力21aを調査し、突出した出力値を特定する。す
なわち前記の図12では、読み取り出力90%の箇所を
対象として捉えた例を示す。
The read average output 21a is examined according to the above-mentioned criteria, and a prominent output value is specified. That is, FIG. 12 shows an example in which a portion where the read output is 90% is considered as a target.

【0129】前記の判定基準をもって特定した突出箇所
の出力値は、対応する教師データに前記の平均比率を乗
じた値と置換し、補正による読み取り平均出力21bと
する。すなわち前記の図12では、教師データ100%
に平均比率96%を乗じた96%が、ここで求める補正
値である。
The output value of the protruding portion specified based on the above-described determination criterion is replaced with a value obtained by multiplying the corresponding teacher data by the above-mentioned average ratio, and the corrected read average output 21b is obtained. That is, in FIG.
Is multiplied by an average ratio of 96% to obtain a correction value of 96%.

【0130】これより、前記の補正による読み取り平均
出力21bをもって白色基準を構成させる。
Thus, the white reference is constituted by the average read output 21b obtained by the above correction.

【0131】図13ないし図22に基づいて、この発明
を適用した画像読み取り装置の制御方法制によって実行
する白色基準の生成フローを説明する。
Referring to FIGS. 13 to 22, a description will be given of a white reference generation flow executed by the control method of the image reading apparatus to which the present invention is applied.

【0132】図13は、構成を示すブロック図である。
すなわち画像読み取り装置B01は白基準領域B12を
有し、前記の白基準領域B12を読み取る読み取り画素
B14を備えた読み取りユニットB13はユニット移動
部B15によって移動し走査線の位置を設定する。
FIG. 13 is a block diagram showing the structure.
That is, the image reading device B01 has the white reference area B12, and the reading unit B13 including the read pixels B14 for reading the white reference area B12 is moved by the unit moving unit B15 to set the position of the scanning line.

【0133】また前記の読み取り画素B14の読み取っ
た読み取り出力値は演算制御部B10で白色基準に変換
されて白色基準部B11に格納され、以降の原稿読み取
りにおいて画像データ生成の際の基準値として活用され
る。
The read output value read by the read pixel B14 is converted into a white reference by the arithmetic control unit B10 and stored in the white reference unit B11, and is used as a reference value for generating image data in the subsequent document reading. Is done.

【0134】なおメモリ部B16には、コンピュータ読
み取り可能な記録媒体を介して当該画像読み取り装置の
制御に必要な手順を格納し、さらに必要に応じて教師デ
ータ等を格納する。
The memory section B16 stores procedures necessary for controlling the image reading apparatus via a computer-readable recording medium, and further stores teacher data and the like as necessary.

【0135】さらに前記の画像読み取り装置B01の生
成した画像データはホスト装置B02のドライバプログ
ラムB21に転送され、演算制御部演算制御部B20に
おいて所定の処理を行なう。
Further, the image data generated by the image reading device B01 is transferred to the driver program B21 of the host device B02, and a predetermined process is performed in the arithmetic control unit B20.

【0136】図14に基づいて、この発明の代表的なひ
とつの実施例による動作フローを説明する。各ステップ
で引用する符号は図13による。なおこのフローで説明
する発明の原理は図1、図2および図5による。
An operation flow according to one representative embodiment of the present invention will be described with reference to FIG. The reference numerals quoted in each step are based on FIG. The principle of the invention described in this flow is based on FIG. 1, FIG. 2 and FIG.

【0137】ステップS001で当該画像読み取り装置
B01はホスト装置B02より画像読み取りの指示を受
信し、ステップS002に進んで読み取りユニットB1
3は白基準領域B12の指定された領域を読み取る。
In step S001, the image reading device B01 receives an image reading instruction from the host device B02, and proceeds to step S002 to read the reading unit B1.
Reference numeral 3 reads a designated area of the white reference area B12.

【0138】ステップS003で、個々の読み取り画素
B14が前記の白基準領域B12を読み取った出力値の
画素別の平均出力値を算出し、さらに前記の画素別の平
均出力値から全体の平均出力値を算出する。
In step S003, the average output value for each pixel of the output value obtained by reading each of the read pixels B14 from the white reference area B12 is calculated, and the average output value for the entire pixel is calculated from the average output value for each pixel. Is calculated.

【0139】ステップS004で前記の個々の読み取り
画素B14が前記の白基準領域B12を読み取った出力
値の画素別の平均出力値を全平均出力値と比較して、前
記の画素別の平均出力値において、たとえば前記の全平
均出力値の2%を超える出力低下を生じている箇所を調
査する。
In step S004, the average output value for each pixel of the output value obtained by reading the white reference area B12 by the individual read pixel B14 is compared with the total average output value, and the average output value for each pixel is obtained. In, for example, a place where an output decrease exceeding 2% of the total average output value described above is investigated.

【0140】ステップS005で前記の出力低下箇所を
見出した場合は、ステップS006に進んでゴミありと
判定する。また前記のステップS005で出力低下箇所
を見出さなかった場合は、ステップS015に進んでゴ
ミなしと判定する。
If the above-mentioned output reduction portion is found in step S005, the flow advances to step S006 to determine that there is dust. Further, if no output reduction point is found in step S005, the flow advances to step S015 to determine that there is no dust.

【0141】前記のステップS006でゴミありと判定
した場合は、ステップS007に進んで前記のゴミあり
と判定した出力低下量を、あらかじめ定める基準値と比
較する。
If it is determined in step S006 that there is dust, the flow advances to step S007 to compare the output reduction amount determined to have dust with a predetermined reference value.

【0142】ここで前記のあらかじめ定める基準値とし
て、たとえば前記の全平均出力値の9%と設定した場合
の例をもとに説明する。すなわちここでは前記の画素別
の平均出力値が前記の全平均出力値の9%を超える出力
低下量を示した場合は、当該箇所は常にゴミによる出力
低下を検出しているとし、前記のゴミをミラーに付着し
たゴミであると判定するものである。
Here, a description will be given based on an example in which the predetermined reference value is set to, for example, 9% of the total average output value. That is, if the average output value for each pixel indicates an output reduction amount exceeding 9% of the total average output value, it is assumed that the output reduction due to dust is always detected at the relevant portion. Is determined to be dust attached to the mirror.

【0143】ステップS008で前記のゴミありと判定
した出力低下量が、前記の例により設定した全平均出力
値の9%より小さい場合は、ステップS009に進んで
白基準領域B12に付着したゴミを検出したと判定し
て、ステップS010でゴミに対応した白色基準の設定
動作を実行する。
If the output reduction amount determined as having dust in step S008 is smaller than 9% of the total average output value set in the above example, the flow advances to step S009 to remove dust adhering to the white reference area B12. When it is determined that the dust has been detected, an operation of setting a white reference corresponding to dust is executed in step S010.

【0144】なお前記のステップS010で実行するゴ
ミに対応した白色基準の設定動作は、後述するフローチ
ャートによる白色基準の設定方法によってもよい。
The operation of setting the white reference corresponding to dust executed in step S010 may be performed by a white reference setting method according to a flowchart described later.

【0145】前記のステップS008で出力低下量が、
前記の例により設定した全平均出力値である9%より大
きい場合は、ステップS017に進んで当該ゴミがミラ
ーに付着したゴミであると判定して、前記のステップS
015でゴミなしと判定した場合と同様に、ステップS
016に進んで前記のステップS003で算出した画素
別の平均出力値をもって白色基準を構成させる。
In the step S008, the output reduction amount is:
If it is greater than the total average output value of 9% set in the above example, the process proceeds to step S017, where it is determined that the dust is dust attached to the mirror, and the above-described step S017 is performed.
As in the case where it is determined in step 015 that there is no dust, step S
Proceeding to 016, a white reference is constructed using the average output value for each pixel calculated in step S003.

【0146】ステップS011で、演算制御部B10は
前記のホスト装置B02の読み取り指示に従って原稿を
読み取りを実行し、ステップS012に進んで前記の白
色基準に基づいて画像データを生成し、ステップS01
3に進んで前記の画像データをホスト装置B02に転送
する。
In step S011, the arithmetic control unit B10 executes reading of the document in accordance with the reading instruction of the host device B02, and proceeds to step S012 to generate image data based on the white color reference.
Proceeding to 3, the image data is transferred to the host device B02.

【0147】ここでたとえば前記の白基準領域B12に
おける読み取り領域を十分に大きく取り、また当該画像
読み取り装置B01に要求される画像データがたとえば
2値データであるなどの場合は、前記の図14において
示したステップS003からステップS016までジャ
ンプして、前記のステップS003で算出した個々の読
み取り画素B14が前記の白基準領域B12を読み取っ
た出力値の画素別の平均出力値をもって白色基準を生成
してもよい。
Here, for example, when the reading area in the white reference area B12 is sufficiently large, and the image data required for the image reading apparatus B01 is, for example, binary data, in FIG. The process jumps from the step S003 to the step S016 as shown, and the individual read pixels B14 calculated in the step S003 generate the white reference using the average output value for each pixel of the output value obtained by reading the white reference area B12. Is also good.

【0148】図15に基づいて、この発明の代表的な別
のひとつの実施例による動作フローを説明する。各ステ
ップで引用する符号は図13による。なおこのフローで
説明する発明の原理は図3および図6による。
Referring to FIG. 15, an operation flow according to another representative embodiment of the present invention will be described. The reference numerals quoted in each step are based on FIG. The principle of the invention described in this flow is based on FIG. 3 and FIG.

【0149】ステップS101で当該画像読み取り装置
B01はホスト装置B02より画像読み取りの指示を受
信し、ステップS102に進んで白基準領域B12をブ
ロックに分割する。なお前記の分割したブロックは図3
(a)による。
In step S101, the image reading apparatus B01 receives an image reading instruction from the host apparatus B02, and proceeds to step S102 to divide the white reference area B12 into blocks. The divided block is shown in FIG.
According to (a).

【0150】ステップS103で読み取りユニットB1
3は白基準領域B12の第1のブロックを読み取り、ス
テップS104に進んで個々の読み取り画素B14が前
記の第1のブロックを読み取った出力値の読み取り画素
別の平均出力値を算出し、ステップS105で前記の読
み取り画素別の平均出力値を演算制御部B10に一時保
存する。
At step S103, the reading unit B1
3 reads the first block of the white reference area B12, proceeds to step S104, and calculates the average output value for each read pixel of the output value obtained by reading the first block by each read pixel B14, and step S105. Then, the average output value for each read pixel is temporarily stored in the arithmetic and control unit B10.

【0151】ステップS106で読み取りユニットB1
3は白基準領域B12の第2のブロックを読み取り、ス
テップS107に進んで個々の読み取り画素B14が前
記の第2のブロックを読み取った出力値の読み取り画素
別の平均出力値を算出する。
At step S106, the reading unit B1
3 reads the second block of the white reference area B12, and proceeds to step S107 to calculate an average output value for each read pixel of the output value obtained by reading the second block by each read pixel B14.

【0152】ステップS108で演算制御部B10は特
定の読み取り画素による平均出力値を指定する。すなわ
ち当初は第1の読み取り画素による平均出力値を指定す
る。
In step S108, the arithmetic and control unit B10 specifies an average output value of a specific read pixel. That is, initially, the average output value of the first read pixel is specified.

【0153】ステップS109で、前記の第2のブロッ
クにおいて指定した第1の読み取り画素による平均出力
値と、前記の一時保存した第1のブロックの対応する読
み取り画素による平均出力値(すなわち第1のブロック
における第1の読み取り読み取り画素による平均出力
値)とを比較照合する。
In step S109, the average output value by the first read pixel specified in the second block and the average output value by the corresponding read pixel in the temporarily stored first block (ie, the first output value). (The average read value of the first read pixel in the block).

【0154】ステップS110で前記の前記の第2のブ
ロックにおいて指定した第1の読み取り画素による平均
出力値が前記の第1のブロックにおける第1の読み取り
画素による平均出力値より大きければ、ステップS11
1に進んで前記の一時保存した第1のブロックにおける
第1の読み取り画素による平均出力値を第2のブロック
において指定した第1の読み取り画素による平均出力値
に書き替える。
In step S110, if the average output value of the first read pixel specified in the second block is larger than the average output value of the first read pixel in the first block, step S11 is performed.
Proceeding to 1, the average output value of the first read pixel in the temporarily stored first block is rewritten to the average output value of the first read pixel specified in the second block.

【0155】前記のステップS110で前記の第2のブ
ロックにおいて指定した第1の読み取り画素による平均
出力値が前記の第1のブロックにおける第1の読み取り
画素による平均出力値と等しいかあるいは第1のブロッ
クにおける第1の読み取り画素による平均出力値より大
きければ、ステップS112に進んで書き換えを行なわ
ず、前記の第2のブロックにおいて指定した第1の読み
取り画素による平均出力値をそのまま消去する。
In step S110, the average output value of the first read pixel specified in the second block is equal to or equal to the average output value of the first read pixel in the first block. If the average output value of the first read pixel in the block is larger than the average output value of the first read pixel, the process proceeds to step S112, and the average output value of the first read pixel specified in the second block is erased without performing rewriting.

【0156】ステップS113で比較照合する読み取り
画素の指定が継続する場合は、ステップS108に戻っ
て後続の読み取り画素(この場合は第2の読み取り画
素)を指定して同様の比較照合を行なう。以降に第3の
読み取り画素、第4の読み取り画素と、個々の読み取り
画素において最終の読み取り画素になるまで順次同様の
比較照合を行なう。
If the designation of the read pixel to be compared and collated in step S113 is continued, the process returns to step S108, and the subsequent comparison pixel (in this case, the second scanned pixel) is designated and the same comparison and collation is performed. Thereafter, similar comparison and collation are sequentially performed on the third read pixel, the fourth read pixel, and the individual read pixels until the last read pixel is obtained.

【0157】前記のステップS113ですべての読み取
り画素についての比較照合を終了すれば、ステップS1
14に進んで後続のブロックを確認し、後続のブロック
があればステップS106に戻って前記の後続のブロッ
クを読み取り、以降に個々のブロックにおいて最終のブ
ロックにいたるまで順次同様の比較照合を行なう。
If the comparison and collation for all the read pixels are completed in step S113, the process proceeds to step S1.
Proceeding to 14, the subsequent block is confirmed, and if there is a subsequent block, the flow returns to step S106 to read the subsequent block, and thereafter, the same comparison and collation are sequentially performed on each block until the final block is reached.

【0158】前記のステップS114ですべてのブロッ
クにおける個々の読み取り画素読み取り画素による平均
出力値の比較照合が終了すれば、最終的に残った個々の
読み取り画素による平均出力値はそれぞれの読み取り画
素における平均値の最大値により構成されたものとなっ
ている。
When the comparison and comparison of the average output values of the individual read pixels in all the blocks in step S114 are completed, the average output value of the finally remaining individual read pixels becomes the average of the individual read pixels. It is composed of the maximum value.

【0159】ステップS115で、前記の最終的に残っ
た個々の読み取り画素による平均出力値を白色基準とし
て確定し、白色基準部B11に格納する。
In step S115, the average output value of the finally read individual read pixels is determined as a white reference, and stored in the white reference section B11.

【0160】ステップS116で、演算制御部B10は
前記のホスト装置B02の読み取り指示に従って原稿を
読み取りを実行し、ステップS117に進んで前記の白
色基準に基づいて画像データを生成し、ステップS11
8に進んで前記の画像データをホスト装置B02に転送
する。
In step S116, the arithmetic and control unit B10 executes reading of the document in accordance with the reading instruction of the host device B02, and proceeds to step S117 to generate image data based on the white reference, and in step S11
Proceeding to 8, the image data is transferred to the host device B02.

【0161】図16に基づいて、この発明の代表的な別
のひとつの実施例による動作フローを説明する。各ステ
ップで引用する符号は図13による。なおこのフローで
説明する発明の原理は図3による。
An operation flow according to another representative embodiment of the present invention will be described with reference to FIG. The reference numerals quoted in each step are based on FIG. The principle of the invention described in this flow is based on FIG.

【0162】ステップS121で当該画像読み取り装置
B01はホスト装置B02より画像読み取りの指示を受
信し、ステップS122に進んで読み取りユニットB1
3は白基準領域B12の指定された領域を読み取る。
In step S121, the image reading apparatus B01 receives an image reading instruction from the host apparatus B02, and proceeds to step S122 to read the reading unit B1.
Reference numeral 3 reads a designated area of the white reference area B12.

【0163】ステップS123で、個々の読み取り画素
B14が前記の白基準領域B12の指定された領域を読
み取った出力値の読み取り画素別の平均出力値を算出す
る。以降の説明で、前記の白基準領域B12の指定され
た領域を読み取った出力値の読み取り画素別の平均出力
値をデータAと呼ぶ。
In step S123, an average output value for each read pixel of the read value of each of the read pixels B14 reading the designated area of the white reference area B12 is calculated. In the following description, the average output value for each read pixel of the output value obtained by reading the designated area of the white reference area B12 is referred to as data A.

【0164】ステップS124で、前記のデータAを演
算制御部B10に一時保存する。
In step S124, the data A is temporarily stored in the arithmetic and control unit B10.

【0165】ステップS125で、白基準領域B12を
ブロックに分割する。なお前記の分割したブロックは図
3(a)による。
In step S125, the white reference area B12 is divided into blocks. The divided block is shown in FIG.

【0166】ステップS126で読み取りユニットB1
3は白基準領域B12の第1のブロックを読み取り、ス
テップS127に進んで個々の読み取り画素B14が前
記の第1のブロックを読み取った出力値の読み取り画素
別の平均出力値を算出する。以降の説明で、前記の白基
準領域B12を分割した第1のブロックを読み取った出
力値の読み取り画素別の平均出力値をデータB1と呼
ぶ。さらに同様に第2のブロックを読み取った出力値の
読み取り画素別の平均出力値をデータB2と呼び、以下
にデータB3、B4等と読み取ったブロックに対応した
呼称を付ける。
At step S126, the reading unit B1
Reference numeral 3 reads the first block of the white reference area B12, and proceeds to step S127 to calculate the average output value for each read pixel of the output value of each read pixel B14 reading the first block. In the following description, the average output value for each read pixel of the output value obtained by reading the first block obtained by dividing the white reference area B12 is referred to as data B1. Further, similarly, an average output value for each read pixel of the output value obtained by reading the second block is referred to as data B2, and data B3, B4, and the like are hereinafter referred to as names corresponding to the read blocks.

【0167】ステップS128で、前記のデータB1を
演算制御部B10に一時保存する。
In step S128, the data B1 is temporarily stored in the arithmetic and control unit B10.

【0168】ステップS129で読み取りの対象とする
ブロックが残っていれば、ステップS126に戻って後
続のブロックの読み取りを行なう。ここでは第1のブロ
ックに引き続いて第2のブロックを読み取るために、ス
テップS126に戻る。
If the block to be read remains in step S129, the flow returns to step S126 to read the subsequent block. Here, in order to read the second block following the first block, the process returns to step S126.

【0169】前記のステップS129ですべてのブロッ
クについての読み取り画素別の平均出力値であるB1、
B2等が演算制御部B10に一時保存できれば、ステッ
プS130に進んで白色基準の設定を行なう。
In the above step S129, B1, which is the average output value for each read pixel for all blocks,
If B2 and the like can be temporarily stored in the arithmetic and control unit B10, the process proceeds to step S130 to set the white reference.

【0170】図17によって、前記のステップS130
における白色基準の設定の詳細を説明する。
According to FIG. 17, the aforementioned step S130 is performed.
The details of the setting of the white reference in are described.

【0171】ステップS141で、前記の演算制御部B
10に一時保存したデータB1、データB2等を引き出
して、順次データAと比較照合し、前記のデータB1、
データB2等における読み取り出力の低下した箇所を調
査する。
In step S141, the operation control unit B
10, data B1, data B2, etc., which are temporarily stored, are extracted and sequentially compared with data A, and the aforementioned data B1,
The portion where the read output is reduced in the data B2 or the like is investigated.

【0172】ステップS142で読み取り出力の低下し
た箇所を見出せば、ステップS143に進んで当該ブロ
ックからゴミを検出したと判定して、ステップS144
で前記のゴミを検出したブロックを読み取った出力値の
読み取り画素別の平均出力値のデータを削除する。
If a portion where the read output is lowered is found in step S142, the flow advances to step S143 to determine that dust is detected from the block, and step S144 is performed.
The data of the average output value for each read pixel of the output value obtained by reading the block in which the dust is detected is deleted.

【0173】ステップS145で、残存するブロックよ
り読み取った出力値の読み取り画素別の平均出力値のデ
ータより特定のブロックを選定する。
In step S145, a specific block is selected from the data of the average output value for each read pixel of the output value read from the remaining block.

【0174】図18によって、前記のステップS145
において特定のブロックを選定する方法のひとつの代表
的な例を説明する。
According to FIG. 18, the above-mentioned step S145 is performed.
A typical example of a method for selecting a specific block will be described below.

【0175】ステップS161で、残存する個別のブロ
ックより読み取った出力値の読み取り画素別の平均出力
値のデータの平均値を算出する。
In step S161, the average value of the data of the average output value for each read pixel of the output value read from the remaining individual block is calculated.

【0176】ステップS162で、前記の平均値が最大
値を示すブロックを選択する。
In step S162, a block whose average value indicates the maximum value is selected.

【0177】ステップS163で、前記の平均値が最大
値を示すブロックの画素別の平均出力値のデータをもっ
て白色基準に指定する。
In step S163, the data of the average output value for each pixel of the block whose average value indicates the maximum value is designated as the white reference.

【0178】図19によって、前記のステップS145
において特定のブロックを選定する方法の別のひとつの
代表的な例を説明する。
According to FIG. 19, the aforementioned step S145 is performed.
Another representative example of a method of selecting a specific block will be described in FIG.

【0179】ステップS171で、残存する個別のブロ
ックより読み取った出力値の読み取り画素別の平均出力
値のデータの平均値を算出する。
In step S171, the average value of the average output value data for each read pixel of the output value read from the remaining individual block is calculated.

【0180】ステップS172で、前記の残存するブロ
ックの個数Nを計数する。
In step S172, the number N of the remaining blocks is counted.

【0181】ステップS173で残存するブロックの個
数Nが1を超えていれば、ステップS174に進んで前
記のブロックの読み取り画素別の平均出力値のデータの
平均値が最小値を示すブロックを削除する。
If the number N of remaining blocks exceeds 1 in step S173, the flow advances to step S174 to delete the block in which the average value of the average output value data for each read pixel of the block has the minimum value. .

【0182】ステップS175で残存するブロックの個
数Nが1を超えていれば、ステップS176に進んで前
記のブロックの読み取り画素別の平均出力値のデータの
平均値が最大値を示すブロックを削除する。
If the number N of remaining blocks exceeds 1 in step S175, the flow advances to step S176 to delete the block in which the average value of the average output value data for each read pixel of the block has the maximum value. .

【0183】ステップS177で残存するブロックの個
数Nが1を超えていれば、ステップS174に戻る。
If the number N of remaining blocks exceeds 1 in step S177, the process returns to step S174.

【0184】前記のステップS173、ステップS17
5およびステップS177で残存するブロックの個数N
が1となれば、ステップS178に進んで残存するブロ
ックの読み取り画素別の平均出力値のデータをもって白
色基準に指定する。
Steps S173 and S17 described above
5 and the number N of blocks remaining in step S177
Becomes 1, the process proceeds to step S178, and the data of the average output value for each read pixel of the remaining block is designated as the white reference.

【0185】前記の動作によって、当該画像読み取り装
置はブロックに分割した白基準領域を読み取った読み取
り画素別の平均値よりゴミの付着したブロックを削除
し、残存するブロックの中央値を示すブロックで読み取
った読み取り画素別の平均値をもって当初の目的とする
白色基準を生成することができる。
By the above-described operation, the image reading apparatus deletes the block with dust from the average value of the read pixels in the white reference area divided into blocks and reads the white reference area with the block indicating the median value of the remaining blocks. The initial target white reference can be generated based on the average values of the read pixels.

【0186】図20によって、前記のステップS145
において特定のブロックを選定する方法の別のひとつの
代表的な例を説明する。
According to FIG. 20, the aforementioned step S145 is performed.
Another representative example of a method of selecting a specific block will be described in FIG.

【0187】ステップS181で、残存する個別のブロ
ックより読み取った出力値の読み取り画素別の平均出力
値のすべてのデータを基に、個々の読み取り画素の平均
出力値を算出する。
In step S181, the average output value of each read pixel is calculated based on all data of the average output value for each read pixel of the output value read from the remaining individual block.

【0188】ステップS182で、前記の個々の読み取
り画素の平均出力値のデータをもって白色基準に指定す
る。
In step S182, the data of the average output value of each of the read pixels is designated on a white basis.

【0189】前記の動作によって、当該画像読み取り装
置はブロックに分割した白基準領域を読み取った読み取
り画素別の平均値よりゴミの付着したブロックを削除
し、残存するブロックの中央値を示すブロックで読み取
った読み取り画素別の平均値をもって当初の目的とする
白色基準を生成することができる。
By the operation described above, the image reading apparatus deletes the block with dust from the average value for each read pixel in the white reference area divided into blocks and reads the white reference area with the block indicating the median value of the remaining blocks. The initial target white reference can be generated based on the average values of the read pixels.

【0190】なお前記のステップS141で生成したデ
ータAおよびステップS127で生成したデータB1、
B2等は共にミラーに付着したゴミを読み取った出力低
下部分を共通して包含するので、図18、図19および
図20に示す後続の各ステップにおいて比較照合しても
前記のミラーに付着したゴミを検出することがなく、生
成された白色基準には前記のミラーに付着したゴミを含
まれている。
The data A generated in step S141 and the data B1 generated in step S127,
Since B2 and the like commonly include a reduced output portion obtained by reading dust attached to the mirror, dust attached to the mirror even after comparison and collation in the subsequent steps shown in FIGS. 18, 19, and 20. Is not detected, and the generated white reference includes dust adhering to the mirror.

【0191】図17に戻り、白色基準設定のフローの説
明を継続する。
Returning to FIG. 17, the description of the white reference setting flow will be continued.

【0192】ステップS146で、前記の図18、図1
9または図20により選択したブロックにより指定した
白色基準を確定し、白色基準部B11に格納する。
In step S 146, FIG.
The white reference specified by the block selected in FIG. 9 or FIG. 20 is determined and stored in the white reference section B11.

【0193】さらに図16に戻り、説明を継続する。Returning to FIG. 16, the description will be continued.

【0194】ステップS131で、演算制御部B10は
前記のホスト装置B02の読み取り指示に従って原稿を
読み取りを実行し、ステップS132に進んで前記の白
色基準に基づいて画像データを生成し、ステップS13
3に進んで前記の画像データをホスト装置B02に転送
する。
In step S131, the arithmetic and control unit B10 reads the original in accordance with the read instruction of the host device B02, and proceeds to step S132 to generate image data based on the white reference, and in step S13
Proceeding to 3, the image data is transferred to the host device B02.

【0195】図21に基づいて、この発明の代表的な別
のひとつの実施例による動作フローを説明する。各ステ
ップで引用する符号は図13による。なおこのフローで
説明する発明の原理は図4および図12による。
Referring to FIG. 21, an operation flow according to another representative embodiment of the present invention will be described. The reference numerals quoted in each step are based on FIG. The principle of the invention described in this flow is based on FIG. 4 and FIG.

【0196】ステップS201で当該画像読み取り装置
B01はホスト装置B02より画像読み取りの指示を受
信し、ステップS202に進んで演算制御部B10はメ
モリ部B16に格納する教師データを引き出して待機さ
せる。
In step S201, the image reading apparatus B01 receives an image reading instruction from the host apparatus B02, and proceeds to step S202 where the arithmetic control unit B10 pulls out the teacher data stored in the memory unit B16 and waits.

【0197】ステップS203で、読み取りユニットB
13は白基準領域B12の指定された領域を読み取る。
In step S203, the reading unit B
Reference numeral 13 reads the designated area of the white reference area B12.

【0198】ステップS204で、個々の読み取り画素
B14が前記の白基準領域B12を読み取った出力値の
読み取り画素別の平均出力値を算出する。
In step S204, an average output value for each read pixel of the output value obtained by reading the white reference area B12 by each read pixel B14 is calculated.

【0199】ステップS205で、個々の読み取り画素
B14においてその読み取り画素別の平均出力値を対応
する教師データと個々に比較して画素別比率を算出す
る。
In step S205, in each read pixel B14, the average output value of each read pixel is individually compared with the corresponding teacher data to calculate a pixel ratio.

【0200】ステップS206で、前記の個々の読み取
り画素B14において算出した画素別比率の平均値であ
る平均比率を算出する。
In step S206, an average ratio, which is an average value of the pixel ratios calculated for the individual read pixels B14, is calculated.

【0201】ステップS207で、ゴミ検出の判定基準
を設定する。すなわちここでは前記の図12に示した設
定範囲の例にしたがって、平均比率96%に対してゴミ
検出の判定基準として2%の範囲を設定した例をもって
説明する。このことは前記の前記の個々の読み取り画素
B14において算出した画素別比率が94%以下の箇所
ではゴミを検出したと判定することを意味している。
In step S207, a criterion for dust detection is set. That is, here, an example in which a range of 2% is set as a criterion for dust detection with respect to an average ratio of 96% according to the example of the setting range shown in FIG. This means that it is determined that dust has been detected at a portion where the pixel-by-pixel ratio calculated for the individual read pixels B14 is 94% or less.

【0202】ステップS208で前記の個々の読み取り
画素B14において算出した画素別比率を調査し、ステ
ップS209に進んで前記の判定基準の設定例に示す2
%を超える出力低下箇所を見出せばゴミを検出したと判
定し、さらにステップS210に進んで前記の検出した
ゴミの種類を判別する。
In step S208, the pixel-by-pixel ratio calculated for each of the read pixels B14 is checked, and the flow advances to step S209 to set the reference 2 shown in the above-described example of setting the criterion.
If an output reduction portion exceeding% is found, it is determined that dust has been detected, and the process proceeds to step S210 to determine the type of the detected dust.

【0203】前記の検出したゴミの種類を判別は前記の
図12に示した設定範囲の例にしたがって、平均比率9
6%に対してミラーに付着したゴミ検出の判定基準とし
て9%の範囲を設定した例をもって説明する。このこと
は前記の個々の読み取り画素B14において算出した画
素別比率が87%以下の箇所ではミラーに付着したゴミ
を検出したと判定することを意味している。すなわち前
記の例においては、前記の個々の読み取り画素B14に
おいて算出した画素別比率が94%以下で87%以上の
箇所では、白基準領域の付着したゴミを検出したと判定
することを意味している。
The type of the detected dust is determined according to the average ratio 9 according to the example of the setting range shown in FIG.
An example in which a range of 9% is set as a criterion for detecting dust adhering to a mirror for 6% will be described. This means that it is determined that dust adhering to the mirror has been detected at a location where the pixel-by-pixel ratio calculated for the individual read pixel B14 is 87% or less. That is, in the above-described example, it is determined that dust adhering to the white reference area has been detected in a portion where the pixel-by-pixel ratio calculated for the individual read pixel B14 is 94% or less and 87% or more. I have.

【0204】ステップS211でゴミが白基準領域に付
着したと判定されれば、ステップS212に進んで補正
による白色基準を設定する。
If it is determined in step S211 that dust has adhered to the white reference area, the flow advances to step S212 to set a white reference by correction.

【0205】図22によって、前記のステップS212
における補正による白色基準を設定するフローの詳細を
説明する。
According to FIG. 22, the aforementioned step S212 is performed.
The details of the flow for setting the white reference by the correction in the above will be described.

【0206】ステップS221で、ゴミが白基準領域に
付着したと判定された読み取り画素B14を特定する。
In step S221, the read pixel B14 determined to have dust attached to the white reference area is specified.

【0207】ステップS222で、前記の読み取り画素
別の平均出力値においてゴミを検出したと特定した読み
取り画素の平均読み取り出力値の補正値を生成する。す
なわち前記の補正値は、前記の教師データより前記のゴ
ミを検出したと特定した読み取り画素に対応するデータ
を引き出し、前記の教師データに前記の平均比率を乗じ
たものとする。
In step S222, a correction value is generated for the average read output value of the read pixel for which it has been determined that dust has been detected in the average output value for each read pixel. That is, the correction value is obtained by extracting data corresponding to the read pixel identified as having detected the dust from the teacher data, and multiplying the teacher data by the average ratio.

【0208】ステップS223で、前記の読み取り画素
別の平均出力値においてゴミを検出したと特定した読み
取り画素の平均読み取り出力値を、前記のステップS2
22で生成した補正値と入れ替える。
In step S223, the average read output value of the read pixel for which it has been determined that dust has been detected in the average output value for each read pixel is calculated in step S2.
Replace with the correction value generated in 22.

【0209】ステップS224で、前記の補正を行なっ
た読み取り画素別の平均出力値のデータをもって白色基
準に指定し、白色基準部B11に格納する。
In step S224, the data of the average output value for each read pixel subjected to the above-mentioned correction is designated as the white reference, and stored in the white reference section B11.

【0210】図21に戻って、フローの説明を継続す
る。
Returning to FIG. 21, the description of the flow will be continued.

【0211】ステップS213で、演算制御部B10は
前記のホスト装置B02の読み取り指示に従って原稿を
読み取りを実行し、ステップS214に進んで前記の白
色基準に基づいて画像データを生成し、ステップS21
5に進んで前記の画像データをホスト装置B02に転送
する。
In step S213, the arithmetic and control unit B10 executes reading of the document in accordance with the reading instruction of the host device B02, and proceeds to step S214 to generate image data based on the white reference, and in step S21
Proceeding to 5, the image data is transferred to the host device B02.

【0212】また前記のステップS209でゴミの検出
がなされなかった場合は、ステップS217に進んで前
記のステップS204で算出した読み取り画素別の平均
出力値をもって白色基準に指定し、白色基準部B11に
格納し、さらにステップS213に進む。
If no dust is detected in step S209, the flow advances to step S217 to specify the average output value for each read pixel calculated in step S204 as the white reference, and to the white reference section B11. Then, the process proceeds to step S213.

【0213】なお前記のステップS211でミラーに付
着したゴミと判定した場合は新規にゴミがミラーに付着
したと判定して、ステップS218に進んで教師データ
の該当する箇所のデータを補正する。すなわち前記の教
師データの補正は、前記の図22によって説明したフロ
ーに準じて実行する。
If it is determined in step S211 that dust has adhered to the mirror, it is determined that dust has newly adhered to the mirror, and the flow advances to step S218 to correct the data at the corresponding location in the teacher data. That is, the correction of the teacher data is performed according to the flow described with reference to FIG.

【0214】ステップS217に進んで、前記のステッ
プS204で算出した読み取り画素別の平均出力値をも
って白色基準に指定し、白色基準部B11に格納し、さ
らにステップS213に進む。
The flow advances to step S 217 to designate a white reference based on the average output value for each read pixel calculated in step S 204, store it in the white reference section B 11, and further advances to step S 213.

【0215】この制御方法を取ることにより、当該画像
読み取り装置は教師データに基づいて当初の目的とする
白色基準を、読み取ったゴミによる出力低下を排除して
生成するということができる。
By adopting this control method, the image reading apparatus can generate the original target white reference based on the teacher data while eliminating the output reduction due to the read dust.

【0216】[0216]

【発明の効果】この発明により、以下に示すような効果
が期待できる。
According to the present invention, the following effects can be expected.

【0217】1)画像読み取り装置の制御方法において
白基準領域を読み取った個別の読み取り画素の平均出力
値を算出し、前記の個別の読み取り画素の平均出力値と
前記の個別の読み取り画素の読み取ったすべての出力値
の平均値とを比較照合することによって、装置内の光路
に付着したゴミの存在を検出する。
1) In the control method of the image reading device, the average output value of the individual read pixels that read the white reference area was calculated, and the average output value of the individual read pixels and the individual read pixels were read. By comparing and comparing the average value of all the output values, the presence of dust attached to the optical path in the apparatus is detected.

【0218】2)前記の画像読み取り装置の制御方法に
おいて、白基準領域を読み取った個別の読み取り画素の
平均出力値の出力低下のレベルを観測して、前記の存在
を検出したゴミが白基準領域に付着したゴミか、あるい
はまた前記の白基準領域以外の光路に付着したゴミであ
るかを判定する。
2) In the control method of the image reading apparatus described above, the level of decrease in the average output value of the individual read pixels that read the white reference area is observed, and the presence of the dust is detected. It is determined whether the dust is attached to the optical path other than the white reference area.

【0219】これらの手段を取ることによって、当該画
像読み取り装置は白基準領域を読み取った個別の読み取
り画素の読み取り出力値に含まれた出力低下部分より白
基準領域に付着したゴミを読み取った要素を判定すると
いう効果を得る。
By taking these means, the image reading apparatus can remove the element reading the dust attached to the white reference area from the output reduction portion included in the read output value of the individual read pixel reading the white reference area. The effect of determining is obtained.

【0220】3)前記の画像読み取り装置の制御方法に
おいて、白基準領域を読み取った個別の読み取り画素の
平均出力値を算出し、前記の個別の読み取り画素の平均
出力値をもって白色基準を構成する。
3) In the control method of the image reading apparatus, the average output value of the individual read pixels that have read the white reference area is calculated, and the average output value of the individual read pixels constitutes the white reference.

【0221】この手段を取ることによって、当該画像読
み取り装置は白色基準を生成するにあたり、個々の読み
取り画素が白基準領域に付着したゴミを読み取って発生
した出力低下量のみを減衰させるという効果を得る。
By adopting this means, the image reading apparatus has an effect of producing only the white reference and attenuating only the output reduction amount generated by reading the dust adhered to the white reference area by each read pixel. .

【0222】4)画像読み取り装置の制御方法において
白基準領域を副走査方向に分割した複数個数のブロック
に分割して前記のブロック単位で前記の白基準領域を読
み取り、個々のブロックごとに個別の読み取り画素の平
均出力値を算出し、前記の個々のブロックごとに算出し
た個別の読み取り画素の平均出力値を比較照合すること
によって、装置内の光路に付着したゴミの影響を排除し
た白色基準を構成する。
4) In the control method of the image reading apparatus, the white reference area is divided into a plurality of blocks divided in the sub-scanning direction, and the white reference area is read in units of the blocks. By calculating the average output value of the read pixels and comparing and comparing the average output values of the individual read pixels calculated for each of the individual blocks, a white standard that eliminates the influence of dust attached to the optical path in the apparatus is obtained. Constitute.

【0223】5)前記の画像読み取り装置の制御方法に
おいて、個々のブロックごとに算出した前記の個別の読
み取り画素の平均出力値の最大値をもって白色基準を構
成する。
5) In the control method of the image reading apparatus described above, the white reference is constituted by the maximum value of the average output value of the individual read pixels calculated for each block.

【0224】6)前記の画像読み取り装置の制御方法に
おいて、個々のブロックごとに算出した前記の個別の読
み取り画素の平均出力値をブロック相互間で比較照合し
て、低下した出力箇所を有するブロックをゴミ検出のブ
ロックと特定し、前記のゴミ検出のブロックを除外した
残りのブロックをもって白色基準を構成する。
6) In the control method of the image reading apparatus described above, the average output value of the individual read pixels calculated for each block is compared and compared between the blocks, and the block having the lowered output portion is identified. The block is identified as a dust detection block, and the remaining blocks excluding the dust detection block constitute a white reference.

【0225】7)前記の画像読み取り装置の制御方法に
おいて、前記のゴミ検出のブロックを除外した残りのブ
ロックより、その平均値が最大のブロックを選択して白
色基準とする。
7) In the control method of the image reading apparatus, a block having the largest average value is selected from the remaining blocks excluding the dust detection block, and is set as a white reference.

【0226】8)あるいはまた前記の画像読み取り装置
の制御方法において、前記のゴミ検出のブロックを除外
した残りのブロックより、その平均値が中間値にあるブ
ロックを選択して白色基準とする。
8) Alternatively, in the method of controlling the image reading apparatus, a block having an average value of an intermediate value is selected from the remaining blocks excluding the dust detection block and is set as a white reference.

【0227】9)あるいはまた前記の画像読み取り装置
の制御方法において、前記のゴミ検出のブロックを除外
した残りのブロックより、個別の読み取り画素に関して
その平均値を算出して白色基準を構成する。
9) Alternatively, in the method of controlling the image reading apparatus, an average value of individual read pixels is calculated from the remaining blocks excluding the dust detection block to form a white reference.

【0228】10)あるいはまた前記の画像読み取り装
置の制御方法において、個々のブロックごとに算出した
前記の個別の読み取り画素の平均出力値において、すべ
てのブロックで同等に検出される出力低下箇所を白基準
領域以外の光路に付着したゴミと判定し、前記の出力低
下箇所を包含させて白色基準を構成する。
10) Alternatively, in the above-described method of controlling the image reading apparatus, in the average output value of the individual read pixels calculated for each individual block, the output drop portion that is equally detected in all the blocks is white. It is determined that dust has adhered to the optical path other than the reference area, and a white reference is formed by including the above-mentioned output reduction portion.

【0229】これらの手段を取ることによって、当該画
像読み取り装置は白基準領域をブロックに分割して読み
取った個別の読み取り画素の読み取り出力値の平均値よ
りゴミを読み取ったブロックを回避して、ゴミのないブ
ロック部分より白色基準を構成するという効果を得る。
By taking these means, the image reading apparatus avoids the block in which dust is read from the average value of the read output values of the individual read pixels read by dividing the white reference area into blocks, and There is an effect that a white reference is constituted by a block portion having no mark.

【0230】11)画像読み取り装置の制御方法におい
て、白基準領域を読み取った個別の読み取り画素の平均
出力値を算出し、前記の個別の読み取り画素の平均出力
値と、あらかじめ備える教師データとを比較照合するこ
とによって、装置内の光路に付着したゴミの存在を検出
する
11) In the control method of the image reading apparatus, the average output value of the individual read pixels which read the white reference area is calculated, and the average output value of the individual read pixels is compared with the teacher data provided in advance. By collation, the presence of dust attached to the optical path in the device is detected

【0231】12)前記の画像読み取り装置の制御方法
において、白基準領域を読み取った個別の読み取り画素
の平均出力値の出力低下のレベルを教師データと比較し
て、前記の存在を検出したゴミが白基準領域に付着した
ゴミか、あるいはまた前記の白基準領域以外の光路に付
着したゴミであるかを判定し、前記の検出されたゴミが
前記の白基準領域に付着したゴミであると判定した場合
に前記の教師データに基づいて前記の平均出力値を補正
して、白色基準を構成する。
12) In the control method of the image reading apparatus described above, the level of the output decrease of the average output value of the individual read pixels that read the white reference area is compared with the teacher data, and the dust whose presence is detected is removed. It is determined whether dust adhered to the white reference area or dust attached to the optical path other than the white reference area, and it is determined that the detected dust is dust attached to the white reference area. In this case, the average output value is corrected based on the teacher data to form a white reference.

【0232】13)前記の画像読み取り装置の制御方法
において、白基準領域を読み取った個別の読み取り画素
の平均出力値の出力低下のレベルを教師データと比較し
て、前記の存在を検出したゴミが白基準領域に付着した
ゴミか、あるいはまた前記の白基準領域以外の光路に付
着したゴミであるかを判定し、前記の検出されたゴミが
前記の白基準領域以外の光路に付着したゴミであると判
定した場合に前記の平均出力値を補正せずに前記の教師
データを補正して更新し、白色基準を構成する。
13) In the control method of the image reading apparatus described above, the level of the output decrease of the average output value of the individual read pixels which read the white reference area is compared with the teacher data, and the dust whose presence is detected is removed. It is determined whether the dust attached to the white reference area or the dust attached to the optical path other than the white reference area, and the detected dust is the dust attached to the optical path other than the white reference area. If it is determined that there is, the teacher data is corrected and updated without correcting the average output value, thereby forming a white reference.

【0233】これらの手段を取ることにより、当該画像
読み取り装置は白基準領域を読み取った読み取り出力を
教師データに基づいて補正して、ゴミの影響を排除した
白色基準を生成するという効果を得る。
By taking these means, the image reading apparatus obtains the effect of correcting the read output obtained by reading the white reference area based on the teacher data and generating a white reference excluding the influence of dust.

【0234】14)画像読み取り装置が白基準領域を読
み取った個別の読み取り画素の平均出力値を算出する手
順と、前記の個別の読み取り画素の平均出力値と、前記
の個別の読み取り画素の読み取ったすべての出力値の平
均値とを比較照合する手順とを実行させる制御プログラ
ムをコンピュータ読み取り可能な記録媒体に格納する。
14) A procedure in which the image reading device calculates an average output value of the individual read pixels that read the white reference area, the average output value of the individual read pixels, and the read of the individual read pixels. And a procedure for comparing and comparing the average value of all the output values with the average value of the output values is stored in a computer-readable recording medium.

【0235】15)あるいはまた、前記の画像読み取り
装置が白基準領域を副走査方向に分割した複数個数のブ
ロックに分割する手順と、前記の複数個数に分割したブ
ロックを順次読み取り、個々のブロックごとに個別の読
み取り画素の平均出力値を算出する手順と、前記の個々
のブロックごとに算出した個別の読み取り画素の平均出
力値を比較照合することによって、装置内の光路に付着
したゴミの影響を排除した白色基準を構成する手順とを
実行させる制御プログラムをコンピュータ読み取り可能
な記録媒体に格納する。
15) Alternatively, the image reading device may divide the white reference area into a plurality of blocks divided in the sub-scanning direction, and may sequentially read the plurality of divided blocks, and By comparing the average output value of the individual read pixels with the average output value of the individual read pixels calculated for each individual block, the influence of dust attached to the optical path in the apparatus is reduced. A control program for executing the procedure for configuring the excluded white reference is stored in a computer-readable recording medium.

【0236】16)あるいはまた、白基準領域を読み取
った個別の読み取り画素の平均出力値を算出する手順
と、あらかじめ備える教師データを引き出す手順と、前
記の個別の読み取り画素の平均出力値と教師データとを
比較照合して装置内の光路に付着したゴミの存在を検出
し、前記のゴミの影響を排除した白色基準を構成する手
順とを実行させる制御プログラムをコンピュータ読み取
り可能な記録媒体に格納する。
16) Alternatively, a procedure for calculating an average output value of individual read pixels that have read the white reference area, a procedure for extracting teacher data provided in advance, and a procedure for calculating the average output value of the individual read pixels and the teacher data Is stored in a computer-readable recording medium to execute the procedure of detecting the presence of dust adhering to the optical path in the apparatus by comparing and checking the above, and forming a white reference excluding the influence of the dust. .

【0237】これらの手段を取ることにより、当該画像
読み取り装置は白基準領域を読み取った読み取り出力よ
り白基準領域に付着したゴミを読み取った出力低下部分
のみを回避して白色基準を生成する手順を装備するとい
う効果を得る。
By taking these means, the image reading apparatus performs a procedure of generating a white reference by avoiding only an output reduction portion where dust adhering to the white reference region is read from a read output obtained by reading the white reference region. The effect of equipping is obtained.

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

【図1】この発明の原理を示した説明図FIG. 1 is an explanatory view showing the principle of the present invention.

【図2】この発明の原理を示した説明図FIG. 2 is an explanatory view showing the principle of the present invention.

【図3】この発明の原理を示した説明図FIG. 3 is an explanatory view showing the principle of the present invention.

【図4】この発明の原理を示した説明図FIG. 4 is an explanatory view showing the principle of the present invention.

【図5】この発明の代表的な実施例による動作説明図FIG. 5 is an explanatory diagram of an operation according to a representative embodiment of the present invention.

【図6】この発明の代表的な実施例による動作説明図FIG. 6 is an explanatory diagram of an operation according to a representative embodiment of the present invention.

【図7】この発明の代表的な実施例による動作説明図FIG. 7 is an explanatory diagram of an operation according to a representative embodiment of the present invention.

【図8】この発明の代表的な実施例による動作説明図FIG. 8 is an explanatory diagram of an operation according to a representative embodiment of the present invention.

【図9】この発明の代表的な実施例による動作説明図FIG. 9 is an explanatory diagram of an operation according to a representative embodiment of the present invention.

【図10】この発明の代表的な実施例による動作説明図FIG. 10 is an explanatory diagram of an operation according to a representative embodiment of the present invention.

【図11】この発明の代表的な実施例による動作説明図FIG. 11 is an explanatory diagram of an operation according to a representative embodiment of the present invention.

【図12】この発明の代表的な実施例による動作説明図FIG. 12 is an explanatory diagram of an operation according to a representative embodiment of the present invention.

【図13】この発明の代表的な実施例による構成を示し
たブロック図
FIG. 13 is a block diagram showing a configuration according to a representative embodiment of the present invention.

【図14】この発明の代表的な実施例によるフローチャ
ート
FIG. 14 is a flowchart according to a representative embodiment of the present invention.

【図15】この発明の代表的な実施例によるフローチャ
ート
FIG. 15 is a flowchart according to a representative embodiment of the present invention.

【図16】この発明の代表的な実施例によるフローチャ
ート
FIG. 16 is a flowchart according to a representative embodiment of the present invention.

【図17】この発明の代表的な実施例によるフローチャ
ート
FIG. 17 is a flowchart according to a representative embodiment of the present invention.

【図18】この発明の代表的な実施例によるフローチャ
ート
FIG. 18 is a flowchart according to a representative embodiment of the present invention.

【図19】この発明の代表的な実施例によるフローチャ
ート
FIG. 19 is a flowchart according to a representative embodiment of the present invention.

【図20】この発明の代表的な実施例によるフローチャ
ート
FIG. 20 is a flowchart according to a representative embodiment of the present invention.

【図21】この発明の代表的な実施例によるフローチャ
ート
FIG. 21 is a flowchart according to a representative embodiment of the present invention.

【図22】この発明の代表的な実施例によるフローチャ
ート
FIG. 22 is a flowchart according to a representative embodiment of the present invention.

【図23】従来の技術による原理を示した説明図FIG. 23 is an explanatory diagram showing a principle according to a conventional technique.

【図24】従来の技術による原理を示した説明図FIG. 24 is an explanatory diagram showing a principle according to a conventional technique.

【図25】従来の技術の表的な実施例による動作説明図FIG. 25 is an explanatory diagram of an operation according to a tabular embodiment of the related art.

【図26】従来の技術の代表的な実施例による動作説明
FIG. 26 is an explanatory diagram of an operation according to a typical embodiment of the prior art.

【図27】従来の技術の代表的な実施例によるフローチ
ャート
FIG. 27 is a flowchart according to a representative embodiment of the prior art.

【図28】従来の技術の代表的な実施例によるフローチ
ャート
FIG. 28 is a flowchart according to a representative embodiment of the prior art.

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

1:白基準領域 2:ゴミ 3:走査線 4:読み取り画素位置 11:ブロック 21a、21b:読み取り平均出力 22:教師データ B01:画像読み取り装置 B02:ホスト装置 B10:演算制御部 B11:白色基準部 B12:白基準領域 B13:読み取りユニット B14:読み取り画素 B15:ユニット移動部 B16:メモリ部 1: White reference area 2: Dust 3: Scan line 4: Read pixel position 11: Block 21a, 21b: Read average output 22: Teacher data B01: Image reading device B02: Host device B10: Operation control unit B11: White reference unit B12: White reference area B13: Reading unit B14: Reading pixel B15: Unit moving unit B16: Memory unit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C051 AA01 DB00 DB01 DB07 DE13 EA08 5C062 AA05 AB17 AC02 AC21 AC58 AC72 BA00 5C072 AA01 BA11 BA20 LA15 RA16 UA03 UA20  ──────────────────────────────────────────────────の Continued on the front page F term (reference) 5C051 AA01 DB00 DB01 DB07 DE13 EA08 5C062 AA05 AB17 AC02 AC21 AC58 AC72 BA00 5C072 AA01 BA11 BA20 LA15 RA16 UA03 UA20

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】画像読み取り装置の制御方法において、 白基準領域を読み取った個別の読み取り画素の平均出力
値を算出し、 前記の個別の読み取り画素の平均出力値と、前記の個別
の読み取り画素の読み取ったすべての出力値の平均値と
を比較照合することによって、装置内の光路に付着した
ゴミの存在を検出することを特徴とした、 画像読み取り装置の制御方法。
1. A control method for an image reading device, comprising: calculating an average output value of individual read pixels that have read a white reference area; and calculating an average output value of the individual read pixels and an average output value of the individual read pixels. A method for controlling an image reading device, comprising detecting the presence of dust attached to an optical path in the device by comparing and comparing the average value of all output values read.
【請求項2】前記の画像読み取り装置の制御方法におい
て、 白基準領域を読み取った個別の読み取り画素の平均出力
値の出力低下のレベルを観測して、前記の存在を検出し
たゴミが白基準領域に付着したゴミか、あるいはまた前
記の白基準領域以外の光路に付着したゴミであるかを判
定することを特徴とした、 請求項1に記載の画像読み取り装置の制御方法。
2. The method of controlling an image reading apparatus according to claim 1, wherein the level of the output decrease of the average output value of the individual read pixels that read the white reference area is observed, and the presence of the dust is detected. The method according to claim 1, wherein it is determined whether the dust adheres to the optical path or the dust adheres to an optical path other than the white reference area.
【請求項3】前記の画像読み取り装置の制御方法におい
て、 白基準領域を読み取った個別の読み取り画素の平均出力
値を算出し、 前記の個別の読み取り画素の平均出力値をもって白色基
準を構成することを特徴とした、 請求項1に記載の画像読み取り装置の制御方法。
3. The method for controlling an image reading apparatus according to claim 1, wherein an average output value of each of the read pixels obtained by reading the white reference area is calculated, and a white reference is formed using the average output value of the individual read pixels. The control method of the image reading device according to claim 1, wherein:
【請求項4】画像読み取り装置の制御方法において、 白基準領域を副走査方向に分割した複数個数のブロック
に分割して前記のブロック単位で前記の白基準領域を読
み取り、個々のブロックごとに個別の読み取り画素の平
均出力値を算出し、 前記の個々のブロックごとに算出した個別の読み取り画
素の平均出力値を比較照合することによって、装置内の
光路に付着したゴミの影響を排除した白色基準を構成す
ることを特徴とした、 画像読み取り装置の制御方法。
4. A method for controlling an image reading apparatus, comprising: dividing a white reference region into a plurality of blocks divided in a sub-scanning direction, reading the white reference region in units of the blocks, and Calculates the average output value of the read pixels of the above, and compares and averages the average output values of the individual read pixels calculated for each of the individual blocks, thereby eliminating the influence of dust attached to the optical path in the apparatus. A method for controlling an image reading device, comprising:
【請求項5】前記の画像読み取り装置の制御方法におい
て、 個々のブロックごとに算出した前記の個別の読み取り画
素の平均出力値の最大値をもって白色基準を構成するこ
とを特徴とした、 請求項4に記載の画像読み取り装置の制御方法。
5. The method for controlling an image reading device according to claim 4, wherein a white reference is constituted by a maximum value of an average output value of the individual read pixels calculated for each block. 3. The method for controlling an image reading device according to 1.
【請求項6】前記の画像読み取り装置の制御方法におい
て、 個々のブロックごとに算出した前記の個別の読み取り画
素の平均出力値をブロック相互間で比較照合して、低下
した出力箇所を有するブロックをゴミ検出のブロックと
特定し、 前記のゴミ検出のブロックを除外した残りのブロックを
もって白色基準を構成することを特徴とした、 請求項4に記載の画像読み取り装置の制御方法。
6. The method for controlling an image reading device according to claim 1, wherein the average output value of the individual read pixels calculated for each block is compared and compared between the blocks, and a block having a reduced output portion is identified. The control method of the image reading device according to claim 4, wherein the white reference is configured by remaining blocks excluding the dust detection blocks, the blocks being identified as dust detection blocks.
【請求項7】前記の画像読み取り装置の制御方法におい
て、 前記のゴミ検出のブロックを除外した残りのブロックよ
り、その平均値が最大のブロックを選択して白色基準と
することを特徴とした、 請求項6に記載の画像読み取り装置の制御方法。
7. The method for controlling an image reading apparatus according to claim 1, wherein a block having the largest average value is selected from the remaining blocks excluding the dust detection block, and is used as a white reference. A method for controlling the image reading device according to claim 6.
【請求項8】前記の画像読み取り装置の制御方法におい
て、 前記のゴミ検出のブロックを除外した残りのブロックよ
り、その平均値が中間値にあるブロックを選択して白色
基準とすることを特徴とした、 請求項6に記載の画像読み取り装置の制御方法。
8. The method for controlling an image reading apparatus according to claim 1, wherein a block whose average value is an intermediate value is selected from the remaining blocks excluding the dust detection block and is used as a white reference. The method for controlling an image reading device according to claim 6.
【請求項9】前記の画像読み取り装置の制御方法におい
て、 前記のゴミ検出のブロックを除外した残りのブロックよ
り、個別の読み取り画素に関してその平均値を算出して
白色基準を構成することを特徴とした、 請求項6に記載の画像読み取り装置の制御方法。
9. The method for controlling an image reading apparatus according to claim 1, wherein an average value of individual read pixels is calculated from the remaining blocks excluding the dust detection block to form a white reference. The method for controlling an image reading device according to claim 6.
【請求項10】前記の画像読み取り装置の制御方法にお
いて、 個々のブロックごとに算出した前記の個別の読み取り画
素の平均出力値において、すべてのブロックで同等に検
出される出力低下箇所を白基準領域以外の光路に付着し
たゴミと判定し、前記の出力低下箇所を包含させて白色
基準を構成することを特徴とした、 請求項4に記載の画像読み取り装置の制御方法。
10. A control method for an image reading apparatus according to claim 1, wherein, in an average output value of said individual read pixels calculated for each individual block, an output drop portion detected equally in all blocks is defined as a white reference area. The method according to claim 4, wherein it is determined that dust adhered to an optical path other than the above, and the white reference is configured by including the output reduction portion.
【請求項11】画像読み取り装置の制御方法において、 白基準領域を読み取った個別の読み取り画素の平均出力
値を算出し、 前記の個別の読み取り画素の平均出力値と、あらかじめ
備える教師データとを比較照合することによって、装置
内の光路に付着したゴミの存在を検出することを特徴と
した、 画像読み取り装置の制御方法。
11. A method for controlling an image reading apparatus, comprising: calculating an average output value of individual read pixels obtained by reading a white reference area; and comparing the average output value of the individual read pixels with teacher data provided in advance. A method for controlling an image reading device, characterized in that the presence of dust attached to an optical path in the device is detected by collation.
【請求項12】前記の画像読み取り装置の制御方法にお
いて、 白基準領域を読み取った個別の読み取り画素の平均出力
値の出力低下のレベルを教師データと比較して、前記の
存在を検出したゴミが白基準領域に付着したゴミか、あ
るいはまた前記の白基準領域以外の光路に付着したゴミ
であるかを判定し、 前記の検出されたゴミが前記の白基準領域に付着したゴ
ミであると判定した場合に前記の教師データに基づいて
前記の平均出力値を補正して、白色基準を構成すること
を特徴とした、 請求項11に記載の画像読み取り装置の制御方法。
12. The method for controlling an image reading apparatus according to claim 1, wherein the level of the decrease in the average output value of the individual read pixels that have read the white reference area is compared with the teacher data to detect dust that has detected the presence. It is determined whether the dust adheres to the white reference area or the dust adheres to an optical path other than the white reference area. It is determined that the detected dust is dust adhering to the white reference area. 12. The method according to claim 11, wherein the average output value is corrected based on the teacher data to form a white reference.
【請求項13】前記の画像読み取り装置の制御方法にお
いて、 白基準領域を読み取った個別の読み取り画素の平均出力
値の出力低下のレベルを教師データと比較して、前記の
存在を検出したゴミが白基準領域に付着したゴミか、あ
るいはまた前記の白基準領域以外の光路に付着したゴミ
であるかを判定し、 前記の検出されたゴミが前記の白基準領域以外の光路に
付着したゴミであると判定した場合に前記の平均出力値
を補正せずに前記の教師データを補正して更新し、白色
基準を構成することを特徴とした、 請求項11に記載の画像読み取り装置の制御方法。
13. The method for controlling an image reading apparatus according to claim 1, wherein the level of reduction in the average output value of the individual read pixels that have read the white reference area is compared with the teacher data to detect the presence of the dust. It is determined whether the dust attached to the white reference area or the dust attached to the optical path other than the white reference area, and the detected dust is dust attached to the optical path other than the white reference area. The control method of the image reading device according to claim 11, wherein when it is determined that there is, the teacher data is corrected and updated without correcting the average output value to form a white reference. .
【請求項14】画像読み取り装置の制御を実現する制御
プログラムを格納する記録媒体において、 前記の画像読み取り装置が白基準領域を読み取った個別
の読み取り画素の平均出力値を算出する手順と、 前記の個別の読み取り画素の平均出力値と、前記の個別
の読み取り画素の読み取ったすべての出力値の平均値と
を比較照合する手順とを実行させる制御プログラムを格
納したことを特徴とする、 コンピュータ読み取り可能な記録媒体。
14. A recording medium storing a control program for realizing control of the image reading device, wherein the image reading device calculates an average output value of individual read pixels obtained by reading a white reference area; A computer readable program which stores a control program for executing an average output value of an individual read pixel and a procedure of comparing and comparing the average output value of all the read output values of the individual read pixel. Recording medium.
【請求項15】画像読み取り装置の制御を実現する制御
プログラムを格納する記録媒体において、 前記の画像読み取り装置が白基準領域を副走査方向に分
割した複数個数のブロックに分割する手順と、 前記の複数個数に分割したブロックを順次読み取り、個
々のブロックごとに個別の読み取り画素の平均出力値を
算出する手順と、 前記の個々のブロックごとに算出した個別の読み取り画
素の平均出力値を比較照合することによって、装置内の
光路に付着したゴミの影響を排除した白色基準を構成す
る手順とを実行させる制御プログラムを格納したことを
特徴とする、 コンピュータ読み取り可能な記録媒体。
15. A recording medium storing a control program for realizing control of an image reading device, wherein the image reading device divides a white reference region into a plurality of blocks divided in a sub-scanning direction. A step of sequentially reading the blocks divided into a plurality of pieces and calculating an average output value of the individual read pixels for each block; and comparing and comparing the average output values of the individual read pixels calculated for the individual blocks. A computer-readable recording medium storing a control program for executing a procedure for forming a white reference by eliminating the influence of dust attached to an optical path in the apparatus.
【請求項16】画像読み取り装置の制御を実現する制御
プログラムを格納する記録媒体において、 白基準領域を読み取った個別の読み取り画素の平均出力
値を算出する手順と、 あらかじめ備える教師データを引き出す手順と、 前記の個別の読み取り画素の平均出力値と教師データと
を比較照合して装置内の光路に付着したゴミの存在を検
出し、前記のゴミの影響を排除した白色基準を構成する
手順とを実行させる制御プログラムを格納したことを特
徴とする、 コンピュータ読み取り可能な記録媒体。
16. A recording medium for storing a control program for controlling an image reading apparatus, comprising: a step of calculating an average output value of individual read pixels obtained by reading a white reference area; and a step of extracting teacher data provided in advance. Comparing the average output value of the individual read pixels with the teacher data to detect the presence of dust adhering to the optical path in the apparatus, and forming a white reference excluding the influence of the dust. A computer-readable recording medium storing a control program to be executed.
JP11075041A 1999-03-19 1999-03-19 Method of controlling image reader and recording medium thereof Pending JP2000270159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11075041A JP2000270159A (en) 1999-03-19 1999-03-19 Method of controlling image reader and recording medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11075041A JP2000270159A (en) 1999-03-19 1999-03-19 Method of controlling image reader and recording medium thereof

Publications (1)

Publication Number Publication Date
JP2000270159A true JP2000270159A (en) 2000-09-29

Family

ID=13564740

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11075041A Pending JP2000270159A (en) 1999-03-19 1999-03-19 Method of controlling image reader and recording medium thereof

Country Status (1)

Country Link
JP (1) JP2000270159A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003060907A (en) * 2001-08-10 2003-02-28 Ricoh Co Ltd White shading data generating apparatus, image reader and imaging device
JP2006020084A (en) * 2004-07-01 2006-01-19 Ricoh Co Ltd Image reader and image forming apparatus
EP1718057A1 (en) * 2005-04-28 2006-11-02 Brother Kogyo Kabushiki Kaisha White level correction in an image reading apparatus
JP2009225448A (en) * 2008-03-18 2009-10-01 Toshiba Corp Image reading apparatus and image reading method
US7961348B2 (en) * 2007-01-17 2011-06-14 Kabushiki Kaisha Toshiba Image scanning apparatus and shading correction method
KR20150009850A (en) * 2013-07-17 2015-01-27 삼성전자주식회사 Image scanning apparatus and method for correcting vertical streak thereof
JP2017200027A (en) * 2016-04-27 2017-11-02 セイコーエプソン株式会社 Image reading device and image reading method
JP2019129406A (en) * 2018-01-24 2019-08-01 株式会社リコー Image reading device and image forming apparatus

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003060907A (en) * 2001-08-10 2003-02-28 Ricoh Co Ltd White shading data generating apparatus, image reader and imaging device
JP4494680B2 (en) * 2001-08-10 2010-06-30 株式会社リコー White shading data creation device, image reading device, and image forming device
JP2006020084A (en) * 2004-07-01 2006-01-19 Ricoh Co Ltd Image reader and image forming apparatus
EP1718057A1 (en) * 2005-04-28 2006-11-02 Brother Kogyo Kabushiki Kaisha White level correction in an image reading apparatus
US7755804B2 (en) 2005-04-28 2010-07-13 Brother Kogyo Kabushiki Kaisha Image reading apparatus
US7961348B2 (en) * 2007-01-17 2011-06-14 Kabushiki Kaisha Toshiba Image scanning apparatus and shading correction method
JP2009225448A (en) * 2008-03-18 2009-10-01 Toshiba Corp Image reading apparatus and image reading method
KR20150009850A (en) * 2013-07-17 2015-01-27 삼성전자주식회사 Image scanning apparatus and method for correcting vertical streak thereof
KR102037445B1 (en) * 2013-07-17 2019-10-28 휴렛-팩커드 디벨롭먼트 컴퍼니, 엘.피. Image scanning apparatus and method for correcting vertical streak thereof
JP2017200027A (en) * 2016-04-27 2017-11-02 セイコーエプソン株式会社 Image reading device and image reading method
JP2019129406A (en) * 2018-01-24 2019-08-01 株式会社リコー Image reading device and image forming apparatus
JP7061279B2 (en) 2018-01-24 2022-04-28 株式会社リコー Image reader and image forming device

Similar Documents

Publication Publication Date Title
JP4809601B2 (en) System and method for streak compensation in images
JP3834041B2 (en) Learning type classification apparatus and learning type classification method
JP4961161B2 (en) Inspection device
US20050219385A1 (en) Device for preventing red eye, program therefor, and recording medium storing the program
JP4401590B2 (en) Image data processing method and image data processing apparatus
CN105323416A (en) Image processing apparatus and image processing method
IES20050096A2 (en) Method and apparatus for red-eye detection in an acquired digital image
KR20040089122A (en) Image processing to remove red-eye features without user interaction
JP2000270159A (en) Method of controlling image reader and recording medium thereof
KR20080022049A (en) Image processing apparatus, data processing apparatus and parameter adjusting method
KR102442806B1 (en) Charged particle beam apparatus
US20200153999A1 (en) Image inspection apparatus, image inspection method, and image inspection program
JP2003050211A (en) Lightness correcting method, selective defect detecting method and recording medium recording the methods
JP2006266752A (en) Defect detection method, defect inspection method, defect detection device, defect inspection device, defect detection program and recording medium for recording program
JP2015197929A (en) Method for automatically setting image inspection system error identification parameter by computer
CN107784673B (en) Optical fiber image processing method based on non-uniformity correction
JP3333568B2 (en) Surface defect inspection equipment
JP5297886B2 (en) Cell image analyzer
US7646892B2 (en) Image inspecting apparatus, image inspecting method, control program and computer-readable storage medium
JP4840126B2 (en) Image processing apparatus and image processing program
JP4140472B2 (en) Formed image inspection device
JP2005508576A (en) Automatic background removal method and system
JP3655496B2 (en) VEHICLE DETECTING DEVICE, VEHICLE DETECTING METHOD, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING VEHICLE DETECTING PROGRAM
JP6831934B2 (en) Pixel sensor defect classification and correction method using color channel defect pixel information
KR102643362B1 (en) charged particle beam device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040224