JPH09149251A - Image reader - Google Patents

Image reader

Info

Publication number
JPH09149251A
JPH09149251A JP7328101A JP32810195A JPH09149251A JP H09149251 A JPH09149251 A JP H09149251A JP 7328101 A JP7328101 A JP 7328101A JP 32810195 A JP32810195 A JP 32810195A JP H09149251 A JPH09149251 A JP H09149251A
Authority
JP
Japan
Prior art keywords
white reference
image data
shading correction
image
scanning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7328101A
Other languages
Japanese (ja)
Other versions
JP3581748B2 (en
Inventor
Takashi Ogamichi
隆司 小河路
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP32810195A priority Critical patent/JP3581748B2/en
Publication of JPH09149251A publication Critical patent/JPH09149251A/en
Application granted granted Critical
Publication of JP3581748B2 publication Critical patent/JP3581748B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To previously prevent the deterioration of an optical system and the deterioration of quality owing to dust and a scan and to improve picture quality by judging shading correction precision based on picture data of a white reference member which is shading-corrected. SOLUTION: A system control part 21 lights a light source 45, scans a white reference board 44 for obtaining white reference data and stores picture data which is digitally converted in an A/D converter 50 in a line buffer 53 as white reference data. A system control part 21 scans again the white reference board 44 and calculates shading correction precision based on picture data at the time of scanning the white reference board 44. Whether the calculated result exceeds a correction precision judgment level or not is checked. When operated correction precision exceeds the correction judgment level, the system control part 21 judges that appropriate shading correction precision is obtained and shifts a processing to a regular read processing.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像読取装置に関
し、詳細には、シェーディング補正精度及び画像品質を
適切に判定することのできる画像読取装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading device, and more particularly, to an image reading device capable of appropriately determining shading correction accuracy and image quality.

【0002】[0002]

【従来の技術】画像読取装置においては、光源の発光光
量の経時変動、温度上昇に伴なう変動等、また、光電変
換部の画素毎の感度の変動等による読取濃度の変動があ
り、これらに伴う画質の低下を防止するために、従来か
ら、原稿の画像の読取前に白基準板を走査して、白基準
データを取得し、この白基準データに基づいて原稿の画
像のシェーディング補正を行うことが行われている。
2. Description of the Related Art In an image reading apparatus, there are fluctuations in reading density due to changes in the amount of light emitted from a light source over time, fluctuations due to temperature rise, fluctuations in sensitivity of each pixel of a photoelectric conversion unit, etc. In order to prevent the deterioration of the image quality due to the above, conventionally, the white reference plate is scanned before the image of the original is read to acquire the white reference data, and the shading correction of the image of the original is performed based on the white reference data. Things are being done.

【0003】このようなシェーディング補正を行うもの
としては、例えば、光検出器アレイを複数回走査して得
られる画像信号をA/D変換して、各画素毎に累積して
記憶する回路と、この累積した値からシェーディング補
正係数を算出して記憶する回路と、を備えることによ
り、シェーディング補正係数を低ノイズかつ高速に求め
る画像入力装置(特開昭61−71764号公報参照)
や白基準板を複数ライン走査して得た画信号の最大値
を、予め設定した閾値と比較することにより、光源ある
いは白基準板の寿命を判断する画像読取装置(特開昭6
3−1249号公報参照)等が提案されており、また、
基準板上の輝度情報を読み取る際に、イメージセンサに
光が当たっているときに同時にイメージセンサ及び光源
等を乗せたキャリッジを移動させることにより、基準板
上の部分的な反射率の変化の影響を抑制するシェーディ
ング補正装置(特開平1−132275号公報参照)が
提案されている。
As a method for performing such shading correction, for example, a circuit for A / D converting an image signal obtained by scanning a photodetector array a plurality of times and accumulating and storing it for each pixel, An image input device that calculates a shading correction coefficient from the accumulated value and stores the shading correction coefficient, and obtains the shading correction coefficient with low noise and at high speed (see Japanese Patent Laid-Open No. 61-71764).
An image reading device for determining the life of the light source or the white reference plate by comparing the maximum value of the image signal obtained by scanning a plurality of lines of the white reference plate or the white reference plate with a preset threshold value.
3-1249), etc., and
When reading the brightness information on the reference plate, by moving the carriage on which the image sensor and the light source are placed at the same time when the image sensor is exposed to light, the effect of partial changes in reflectance on the reference plate A shading correction device (see Japanese Patent Laid-Open No. 1-132275) that suppresses the above has been proposed.

【0004】このように従来の画像読取装置において
は、シェーディング係数を如何に低ノイズのものとする
か、白基準板を読み取った白基準データから光源や白基
準板の寿命を判別するか、あるいは、白基準板を読み取
る際の部分的な反射率の影響を如何に低減させるか等に
よりシェーディング補正を適切に行うことを目的として
いる。
As described above, in the conventional image reading apparatus, how to make the shading coefficient low noise, determine the life of the light source or the white reference plate from the white reference data obtained by reading the white reference plate, or The purpose is to appropriately perform shading correction depending on how to reduce the influence of the partial reflectance when reading the white reference plate.

【0005】そして、従来のシェーディング補正は、一
般に、図24にファクシミリ装置1の場合について図示
するように、原稿2を読み取る前に、光源3から白基準
板4に光を照射して、白基準データを取得し、この白基
準データに基づいてシェーディング補正を行う。
In the conventional shading correction, generally, as shown in the case of the facsimile apparatus 1 in FIG. 24, the light source 3 irradiates the white reference plate 4 with light to read the white reference plate 4 before reading the original 2. Data is acquired, and shading correction is performed based on this white reference data.

【0006】すなわち、ファクシミリ装置1において
は、原稿2を読み取る前に、光源3から白基準板4に照
射して、その反射光をミラー5及びレンズ6を介してイ
メージセンサ7に導入し、イメージセンサ7で光電変換
して、アンプ8を介してA/D変換器9に転送する。こ
のA/D変換器9に入力される1ライン分の画信号の最
大値をピークホールド回路10で検出・保持し、A/D
変換器9は、このピークホールド回路10の検出・保持
したピーク値を基準にしてアンプ8で増幅されて入力さ
れる画信号を量子化して、シェーディング補正回路11
を介してラインバッファ13に白基準データとして格納
する。
That is, in the facsimile apparatus 1, before the original 2 is read, the white reference plate 4 is irradiated from the light source 3 and the reflected light is introduced into the image sensor 7 via the mirror 5 and the lens 6 to form an image. It is photoelectrically converted by the sensor 7 and transferred to the A / D converter 9 via the amplifier 8. The peak hold circuit 10 detects and holds the maximum value of the image signal for one line input to the A / D converter 9,
The converter 9 quantizes the image signal that is amplified and input by the amplifier 8 based on the peak value detected and held by the peak hold circuit 10, and the shading correction circuit 11 is quantized.
And is stored as white reference data in the line buffer 13 via.

【0007】そして、原稿2の読取時には、ガイド14
上を搬送されてくる原稿2に光源3からの光を照射し、
その反射光を上記同様に、ミラー5及びレンズ6を介し
てイメージセンサ7に導入して、イメージセンサ7で光
電変換した画信号をアンプ8を介してA/D変換器9に
転送する。このとき、1ライン分の画信号の最大値をピ
ークホールド回路10で検出して、この最大値(ピーク
値)を基準としてA/D変換器9で量子化し、シェーデ
ィング補正回路12に出力する。
When the document 2 is read, the guide 14
The light from the light source 3 is radiated to the original 2 conveyed above,
Similarly to the above, the reflected light is introduced into the image sensor 7 via the mirror 5 and the lens 6, and the image signal photoelectrically converted by the image sensor 7 is transferred to the A / D converter 9 via the amplifier 8. At this time, the maximum value of the image signal for one line is detected by the peak hold circuit 10, quantized by the A / D converter 9 with the maximum value (peak value) as a reference, and output to the shading correction circuit 12.

【0008】システム制御部1は、上記白基準板4を読
み取った際にラインバッファ13に格納した白基準デー
タを、A/D変換器9から入力される画信号に対応させ
て順次画素毎に読み出して、シェーディング補正回路1
2に渡し、シェーディング補正回路12に当該白基準デ
ータに基づいてA/D変換器9から入力される画信号を
所定のシェーディング補正演算して、ディジタル画像処
理回路16に出力させる。
The system control unit 1 sequentially associates the white reference data stored in the line buffer 13 when the white reference plate 4 is read with the image signal input from the A / D converter 9 for each pixel. Read out and shading correction circuit 1
2, the shading correction circuit 12 performs a predetermined shading correction calculation on the image signal input from the A / D converter 9 based on the white reference data, and outputs the image signal to the digital image processing circuit 16.

【0009】ディジタル画像処理回路16は、この歪み
補正の行われた画信号に種々の画像処理を行う。
The digital image processing circuit 16 performs various kinds of image processing on the image signal whose distortion has been corrected.

【0010】そして、従来のファクシミリ装置1等の画
像読取装置は、上記白基準板4の読み取りを原稿2を読
み取る前に1回行って白基準データを取得すると、引き
続いて原稿2の読み取りを行い、原稿2を読み取った画
信号に対して、上記白基準データに基づいてシェーディ
ング補正を行う。
Then, the conventional image reading apparatus such as the facsimile apparatus 1 reads the white reference plate 4 once before reading the original 2 and obtains white reference data, and then reads the original 2. The shading correction is performed on the image signal obtained by reading the original 2 based on the white reference data.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の画像読取装置にあっては、原稿を読み取る前
に1回白基準板を走査して得た白基準データに基づいて
シェーディング補正を行うのみで、シェーディング補正
の精度を評価することが行われていなかったため、光学
系に紙粉やごみ等が付着している場合や経時変化により
光源やイメージセンサ等の光電変換部の劣化による読取
感度の低下が発生して、シェーディング補正精度が悪化
していることが分からず、このような場合にも、同じ画
像処理が行われ、画像品質が低下するという問題があっ
た。
However, in such a conventional image reading apparatus, shading correction is performed based on the white reference data obtained by scanning the white reference plate once before reading the document. However, since the accuracy of shading correction has not been evaluated, the read sensitivity due to deterioration of the photoelectric conversion parts such as the light source and image sensor due to the deterioration of the optical system due to paper dust, dust, etc. It is not known that the deterioration of the shading correction accuracy is deteriorated and the shading correction accuracy is deteriorated. Even in such a case, there is a problem that the same image processing is performed and the image quality is deteriorated.

【0012】そこで、従来の上記各公報に記載されたも
のにあっては、シェーディング係数を如何に低ノイズの
ものとするか、白基準板を読み取った白基準データから
光源や白基準板の寿命を判別するか、あるいは、白基準
板を読み取る際の部分的な反射率の影響を如何に低減さ
せるか等によりシェーディング補正を適切に行うことを
目的としていたため、シェーディング補正の精度自体を
判別して、光学系の汚れや経時変化による読取系の劣化
を適切に判断することができず、画像品質が低下すると
いう問題があった。
Therefore, in the conventional ones described in the above-mentioned respective publications, how to make the shading coefficient low noise, the life of the light source or the white reference plate is determined from the white reference data read from the white reference plate. It was intended to properly perform the shading correction depending on whether or not to determine the effect of partial reflectance when reading the white reference plate. As a result, the deterioration of the reading system due to the contamination of the optical system and the change over time cannot be properly determined, and there is a problem that the image quality is deteriorated.

【0013】特に、ファクシミリ装置の送信時に原稿を
読み取る場合には、読取結果の画像品質を送信側のオペ
レータが認識することができず、メンテナンスが適切に
行われずに、画像品質が低下した状態で使用を続ける結
果となる。
In particular, when a document is read at the time of transmission by a facsimile apparatus, the image quality of the read result cannot be recognized by the operator on the transmission side, maintenance is not properly performed, and the image quality deteriorates. It will result in continued use.

【0014】そこで、請求項1記載の発明は、原稿を走
査する前に、シェーディング補正の補正精度を判定する
ことにより、光学系の劣化やゴミ・キズ等による品質の
劣化を未然に防止して、画質を向上させることのできる
画像読取装置を提供することを目的としている。
Therefore, the invention according to claim 1 prevents the deterioration of the optical system and the deterioration of the quality due to dust and scratches by judging the correction accuracy of the shading correction before scanning the original. It is an object of the present invention to provide an image reading device capable of improving image quality.

【0015】請求項2記載の発明は、2値化画像データ
に基づいてシェーディング補正精度の判定を行うことに
より、通常の画像読取装置の画像処理工程を利用して、
シェーディング補正精度の判定を行うことのできる画像
読取装置を提供することを目的としている。
According to the second aspect of the present invention, the shading correction accuracy is determined based on the binarized image data, and the image processing step of the ordinary image reading apparatus is used to
It is an object of the present invention to provide an image reading apparatus capable of determining shading correction accuracy.

【0016】請求項3記載の発明は、白基準部材の画像
データを2値化閾値を変化させて所定回数2値化して得
た2値化画像データに基づいてシェーディング補正精度
を判定することにより、より緻密なシェーディング補正
精度の判定を行うことのできる画像読取装置を提供する
ことを目的としている。
According to a third aspect of the present invention, the shading correction accuracy is determined based on the binarized image data obtained by binarizing the image data of the white reference member by changing the binarization threshold value a predetermined number of times. It is an object of the present invention to provide an image reading device capable of making a more precise determination of shading correction accuracy.

【0017】請求項4記載の発明は、2値化閾値を低い
値から上昇させることによりシェーディング補正精度を
判定することのできる画像読取装置を提供することを目
的としている。
It is an object of the present invention to provide an image reading apparatus capable of determining the shading correction accuracy by increasing the binarization threshold value from a low value.

【0018】請求項5記載の発明は、2値化閾値を高い
値から下降させることによりシェーディング補正精度を
判定することのできる画像読取装置を提供することを目
的としている。
It is an object of the present invention to provide an image reading apparatus capable of determining the shading correction accuracy by lowering the binarization threshold value from a high value.

【0019】請求項6記載の発明は、2値化閾値を変化
させて2値化したときの黒画像データの出現性に基づい
てシェーディング補正精度を判定することのできる画像
読取装置を提供することを目的としている。
According to a sixth aspect of the present invention, there is provided an image reading apparatus capable of determining the shading correction accuracy based on the appearance of black image data when binarized by changing the binarization threshold value. It is an object.

【0020】請求項7記載の発明は、シェーディング補
正判定処理を複数回行い、かつ、その結果所定の精度を
得られなかった場合には、警告を出力することにより、
ノイズ等の一過性外乱の影響を回避しつつ、シェーディ
ング補正精度の判定を行うとともに、光学系に異常があ
ることを認識させて、光学系の異常をより一層適切に管
理して、修復を促すことのできる画像読取装置を提供す
ることを目的としている。
According to the seventh aspect of the present invention, the shading correction determination process is performed a plurality of times, and when the predetermined accuracy cannot be obtained as a result, a warning is output.
While avoiding the effects of transient disturbances such as noise, the shading correction accuracy is determined, and it is recognized that there is an abnormality in the optical system, and the abnormality of the optical system is managed more appropriately and repaired. An object is to provide an image reading device that can be prompted.

【0021】請求項8記載の発明は、原稿読取モードに
応じたシェーディング補正精度の監視を行うことのでき
る画像読取装置を提供することを目的としている。
It is an object of the present invention to provide an image reading apparatus capable of monitoring the shading correction accuracy according to the original reading mode.

【0022】請求項9記載の発明は、白基準部材を走査
しシェーディング補正した画像データを2値化した結果
に基づいて、原稿を走査した場合の画像品質を事前に予
測・判定することのできる画像読取装置を提供すること
を目的としている。
According to the ninth aspect of the present invention, the image quality when the document is scanned can be predicted and determined in advance based on the result of binarizing the image data that is scanned by the white reference member and subjected to shading correction. An object is to provide an image reading device.

【0023】請求項10記載の発明は、2値化閾値を変
化させて2値化したときの黒画像データの出現性に基づ
いて、画像品質を判定することのできる画像読取装置を
提供することを目的としている。
According to a tenth aspect of the present invention, there is provided an image reading apparatus capable of judging the image quality based on the appearance of black image data when binarized by changing the binarization threshold. It is an object.

【0024】請求項11記載の発明は、画像品質の判定
処理を複数回行い、かつ、その結果所定の精度を得られ
なかった場合には、警告を出力することにより、ノイズ
等の一過性外乱の影響を回避しつつ、画像品質の判定を
行うとともに、光学系に異常があることを認識させて、
画像品質を向上させることのできる画像読取装置を提供
することを目的としている。
According to the eleventh aspect of the present invention, the image quality judgment processing is performed a plurality of times, and if a predetermined accuracy cannot be obtained as a result, a warning is output, so that a transient noise or the like is output. While avoiding the influence of disturbance, while judging the image quality, letting you recognize that there is an abnormality in the optical system,
It is an object of the present invention to provide an image reading device capable of improving image quality.

【0025】請求項12記載の発明は、光学系に異常が
ある場合に、光学系の劣化によるものであるのか、キズ
やゴミ等によるものであるのかを判定することのできる
画像読取装置を提供することを目的としている。
According to a twelfth aspect of the present invention, there is provided an image reading apparatus capable of determining whether the optical system is deteriorated or is caused by scratches, dust or the like when the optical system is abnormal. The purpose is to do.

【0026】請求項13記載の発明は、原稿読取モード
に応じた画像品質の判定を行うことのできる画像読取装
置を提供することを目的としている。
It is an object of the present invention to provide an image reading apparatus capable of judging the image quality according to the original reading mode.

【0027】請求項14記載の発明は、実際に原稿を単
純2値化した画像に黒筋や地肌汚れ等の発生を未然に防
止・低減することのできる画像読取装置を提供すること
を目的としている。
It is an object of the present invention to provide an image reading apparatus capable of preventing / reducing the occurrence of black stripes, background stains, etc. in an image obtained by actually binarizing a document. There is.

【0028】請求項15記載の発明は、実際に原稿を中
間調処理した画像に地肌汚れ等が発生するのを未然に防
止・低減することのできる画像読取装置を提供すること
を目的としている。
It is an object of the present invention to provide an image reading apparatus capable of preventing / reducing the occurrence of background stains on an image obtained by actually performing halftone processing on a document.

【0029】請求項16記載の発明は、黒画像データの
発生の有無や発生割合等の判定処理をハードウェアによ
り高速処理することのできる画像読取装置を提供するこ
とを目的としている。
It is an object of the present invention to provide an image reading apparatus capable of high-speed processing by hardware for determining the presence / absence of black image data and the rate of occurrence.

【0030】請求項17記載の発明は、黒画像データの
発生の有無や発生割合等の判定処理をソフトウェアによ
り安価に処理する画像読取装置を提供することを目的と
している。
It is an object of the present invention to provide an image reading apparatus which can process the determination processing of the presence / absence of the black image data and the generation rate thereof with software at low cost.

【0031】請求項18記載の発明は、画像品質の判定
結果に応じて画像処理を行うことのできる画像読取装置
を提供することを目的としている。
It is an object of the present invention to provide an image reading apparatus capable of performing image processing according to the image quality judgment result.

【0032】請求項19記載の発明は、所定期間毎に、
シェーディング補正精度あるいは画像品質の判定処理を
行う画像読取装置を提供することを目的としている。
The invention as set forth in claim 19 is characterized in that:
An object of the present invention is to provide an image reading apparatus that performs a shading correction accuracy or image quality determination process.

【0033】[0033]

【課題を解決するための手段】請求項1記載の発明の画
像読取装置は、光学系を用いて白基準部材及び原稿を走
査する走査手段と、前記走査手段が前記白基準部材を走
査して得た画素単位の白基準データを記憶する白基準デ
ータ記憶手段と、前記白基準データに基づいて前記走査
手段が走査して得た画像データに前記光学系によるシェ
ーディング歪みをシェーディング補正するシェーディン
グ補正手段と、前記シェーディング補正手段によりシェ
ーディング補正された画像データに種々の画像処理を施
す画像処理手段と、を備えた画像読取装置において、前
記走査手段により前記白基準部材を走査させて前記白基
準データを前記白基準データ記憶手段に記憶させた後、
前記走査手段に、前記原稿を走査させる前に、再度、前
記白基準部材を走査させて、当該白基準部材を走査して
得た画像データを前記白基準データに基づいて前記シェ
ーディング補正手段によりシェーディング補正させる制
御手段と、前記シェーディング補正手段によりシェーデ
ィング補正した前記白基準部材の前記画像データに基づ
いて、当該シェーディング補正精度を判定する判定手段
と、を備えることにより、上記目的を達成している。
According to another aspect of the present invention, there is provided an image reading apparatus including: a scanning unit that scans a white reference member and an original using an optical system; and a scanning unit that scans the white reference member. White reference data storage means for storing the obtained white reference data for each pixel, and shading correction means for performing shading correction on the image data obtained by scanning by the scanning means based on the white reference data for shading distortion by the optical system. And an image processing device that performs various image processes on the image data shading-corrected by the shading correction device, in the image reading apparatus, the scanning device scans the white reference member to obtain the white reference data. After storing in the white reference data storage means,
Before the scanning unit scans the document, the white reference member is again scanned, and the image data obtained by scanning the white reference member is shaded by the shading correction unit based on the white reference data. The above-described object is achieved by including control means for performing correction and determination means for determining the shading correction accuracy based on the image data of the white reference member that has been subjected to shading correction by the shading correction means.

【0034】ここで、走査手段は、光源、ミラー、レン
ズ及び光電変換手段等の光学系を用いて原稿を走査し
て、原稿の画像を電気信号に変換するとともに、原稿を
走査する前に所定の白基準部材を走査する。
Here, the scanning means scans the original using an optical system such as a light source, a mirror, a lens, and a photoelectric conversion means, converts the image of the original into an electric signal, and at the same time scans the original. Scan the white reference member.

【0035】白基準データ記憶手段は、白基準部材を走
査したときの画像データを画素毎に1ライン分記憶し、
この白基準データは、シェーディング補正手段によるシ
ェーディング補正の基準として、また、画像処理手段に
よる画像処理の参考として使用される。
The white reference data storage means stores the image data when the white reference member is scanned for one line for each pixel,
This white reference data is used as a reference for shading correction by the shading correction means and as a reference for image processing by the image processing means.

【0036】シェーディング補正手段は、光学系による
シェーディング歪みを補正するために走査手段の読み取
った画像データにシェーディング補正を行う。
The shading correction means performs shading correction on the image data read by the scanning means in order to correct the shading distortion due to the optical system.

【0037】画像処理手段は、シェーディング補正手段
でシェーディング補正された画像データの2値化処理、
符号化処理、あるいは、中間調処理等の各種画像処理を
行う。
The image processing means binarizes the image data shading-corrected by the shading correction means,
Various image processing such as encoding processing or halftone processing is performed.

【0038】制御手段は、原稿を走査する前に、シェー
ディング補正用の白基準データを採取するために、ま
ず、白基準部材を走査手段に走査させて、採取した白基
準データを白基準データ記憶手段に記憶させ、次に、再
度、白基準部材を走査させて、シェーディング補正手段
により当該白基準部材の画像データをシェーディング補
正させる。
In order to collect white reference data for shading correction before scanning the document, the control means first causes the scanning means to scan the white reference member and stores the collected white reference data as white reference data. The white reference member is scanned again, and the image data of the white reference member is shading-corrected by the shading correction unit.

【0039】判定手段は、この白基準部材の画像データ
をシェーディング補正したときの画像データに基づい
て、シェーディング補正精度を判定する。
The determining means determines the shading correction accuracy based on the image data obtained by performing the shading correction on the image data of the white reference member.

【0040】上記構成によれば、原稿を走査する前に、
シェーディング補正の補正精度を判定することができ、
光学系の劣化やゴミ・キズ等による品質の劣化を未然に
防止して、画質を向上させることができる。
According to the above arrangement, before scanning the document,
You can judge the correction accuracy of shading correction,
It is possible to prevent deterioration of quality due to deterioration of the optical system, dust, scratches, etc., and improve image quality.

【0041】請求項2記載の発明は、光学系を用いて白
基準部材及び原稿を走査する走査手段と、前記走査手段
が前記白基準部材を走査して得た画素単位の白基準デー
タを記憶する白基準データ記憶手段と、前記白基準デー
タに基づいて前記走査手段が走査して得た画像データに
前記光学系によるシェーディング歪みをシェーディング
補正するシェーディング補正手段と、前記シェーディン
グ補正手段によりシェーディング補正された画像データ
に種々の画像処理を施す画像処理手段と、を備えた画像
読取装置において、前記走査手段により前記白基準部材
を走査させて前記白基準データを前記白基準データ記憶
手段に記憶させた後、前記走査手段に、前記原稿を走査
させる前に、再度、前記白基準部材を走査させて、当該
白基準部材を走査して得た画像データを前記白基準デー
タに基づいて前記シェーディング補正手段によりシェー
ディング補正させた後、前記画像処理手段に所定の2値
化閾値で2値化させる制御手段と、前記シェーディング
補正手段によりシェーディング補正した前記白基準部材
の前記画像データを前記画像処理手段が所定の2値化閾
値で2値化した前記2値化画像データに基づいて、当該
シェーディング補正精度を判定する判定手段と、を備え
ることにより、上記目的を達成している。
According to a second aspect of the present invention, scanning means for scanning the white reference member and the original by using the optical system, and white reference data for each pixel obtained by the scanning means scanning the white reference member are stored. White reference data storage means, shading correction means for performing shading correction of shading distortion due to the optical system on image data obtained by scanning by the scanning means based on the white reference data, and shading correction performed by the shading correction means. In the image reading apparatus including image processing means for performing various image processing on the image data, the white reference data is stored in the white reference data storage means by scanning the white reference member by the scanning means. After that, the scanning means again scans the white reference member and scans the white reference member before scanning the document. The obtained image data is subjected to shading correction by the shading correction means based on the white reference data, and then the image processing means is binarized with a predetermined binarization threshold value, and the shading correction means is used for shading. Determination means for determining the shading correction accuracy based on the binarized image data obtained by binarizing the corrected image data of the white reference member with a predetermined binarization threshold value. By doing so, the above object is achieved.

【0042】上記構成によれば、2値化画像データに基
づいてシェーディング補正精度の判定を行うことがで
き、通常の画像読取装置の画像処理工程を利用して、シ
ェーディング補正精度の判定を行うことができる。その
結果、シェーディング補正精度の判定処理を簡単、か
つ、容易なものとすることができる。
According to the above configuration, the shading correction accuracy can be determined based on the binarized image data, and the shading correction accuracy can be determined by using the image processing process of the normal image reading apparatus. You can As a result, the shading correction accuracy determination process can be made simple and easy.

【0043】この場合、例えば、請求項3に記載するよ
うに、前記画像処理手段は、前記シェーディング補正手
段がシェーディング補正した前記白基準部材の前記画像
データを、前記2値化閾値を順次変化させて所定回数2
値化し、前記判定手段は、前記画像処理手段が前記2値
化閾値を変化させて2値化した2値化画像データに基づ
いて前記シェーディング補正精度の判定を行うものであ
ってもよい。
In this case, for example, as described in claim 3, the image processing means sequentially changes the binarization threshold value of the image data of the white reference member which is shading-corrected by the shading correction means. 2 times
The binarization may be performed by the image processing unit, and the shading correction accuracy may be determined based on the binarized image data binarized by the image processing unit by changing the binarization threshold.

【0044】上記構成によれば、シェーディング補正し
た白基準部材の画像データを、2値化閾値を変化させ
て、所定回数2値化することにより得た2値化画像デー
タに基づいて、シェーディング補正精度を判定すること
ができ、より緻密なシェーディング補正精度の判定を行
うことができる。
According to the above arrangement, the shading-corrected image data of the white reference member is binarized based on the binarized image data obtained by binarizing the image data for a predetermined number of times by changing the binarization threshold value. The accuracy can be determined, and more precise shading correction accuracy can be determined.

【0045】また、例えば、請求項4に記載するよう
に、前記画像処理手段は、前記2値化閾値を所定の低い
値から順次所定間隔で上昇させて前記2値化を行い、前
記判定手段は、前記画像処理手段が前記2値化閾値を順
次上昇させて2値化した2値化画像データにはじめて黒
画像データが出現したときの前記2値化閾値に基づいて
前記シェーディング補正精度の判定を行うものであって
もよい。
Further, for example, as described in claim 4, the image processing means performs the binarization by sequentially increasing the binarization threshold value from a predetermined low value at predetermined intervals, and the determination means. Is a determination of the shading correction accuracy based on the binarization threshold when black image data first appears in the binarized image data binarized by the image processing unit by sequentially increasing the binarization threshold. May be performed.

【0046】上記構成によれば、2値化閾値を低い値か
ら上昇させていったときの2値化画像データに黒画像デ
ータが出現するのを監視して、そのときの2値化閾値に
基づいてシェーディング補正精度を判定することがで
き、より精度良く、かつ、簡単にシェーディング補正精
度を判定することができる。
According to the above configuration, the appearance of black image data in the binarized image data when the binarization threshold is increased from a low value is monitored and the binarization threshold at that time is set. The shading correction accuracy can be determined based on this, and the shading correction accuracy can be determined more accurately and easily.

【0047】さらに、例えば、請求項5に記載するよう
に、前記画像処理手段は、前記2値化閾値を所定の高い
値から順次所定間隔で下降させて前記2値化を行い、前
記判定手段は、前記画像処理手段が2値化閾値を順次下
降させて2値化した2値化画像データがはじめて全て白
画像データとなったときの前記2値化閾値に基づいて前
記シェーディング補正精度の判定を行うものであっても
よい。
Further, for example, as described in claim 5, the image processing means performs the binarization by sequentially lowering the binarization threshold value from a predetermined high value at predetermined intervals, and the determination means. Is for determining the shading correction accuracy based on the binarization threshold value when the binarized image data binarized by the image processing means sequentially lowering the binarization threshold value is all white image data for the first time. May be performed.

【0048】上記構成によれば、2値化閾値を高い値か
ら下降させていったときの2値化画像データを監視し
て、全て白画像データになったときの2値化閾値に基づ
いてシェーディング補正精度を判定することができ、光
学系の劣化等が少ない場合に、より速やかに、かつ、高
精度で、簡単にシェーディング補正精度を判定すること
ができる。
According to the above configuration, the binarized image data when the binarized threshold is lowered from a high value is monitored, and based on the binarized threshold when all the white image data is obtained. The shading correction accuracy can be determined, and when the deterioration of the optical system is small, the shading correction accuracy can be determined more quickly and with high accuracy.

【0049】また、例えば、請求項6に記載するよう
に、前記画像処理手段は、前記2値化閾値を、所定の高
い値から順次所定間隔で下降させて、あるいは、所定の
低い値から順次所定間隔で上昇させて前記2値化を行
い、前記判定手段は、前記画像処理手段が前記2値化閾
値を順次下降あるいは上昇させて前記2値化を行った際
の黒画像データの出現性に基づいて前記シェーディング
補正精度の判定を行うものであってもよい。
Further, for example, as described in claim 6, the image processing means sequentially lowers the binarization threshold value from a predetermined high value at predetermined intervals or sequentially from a predetermined low value. The binarization is performed by raising the binarization at a predetermined interval, and the determining unit causes the image processing unit to sequentially lower or raise the binarization threshold to binarize the black image data. The shading correction accuracy may be determined based on the above.

【0050】上記構成によれば、2値化閾値を変化させ
て2値化したときの黒画像データの出現性、例えば、黒
画像データの増加割合や減少割合とうに基づいてシェー
ディング補正精度を判定することができ、より一層精度
良く、かつ、簡単にシェーディング補正精度を判定する
ことができる。
According to the above configuration, the shading correction accuracy is determined based on the appearance of the black image data when the binarization threshold is changed and binarized, for example, the increase rate and the decrease rate of the black image data. Therefore, the shading correction accuracy can be determined more accurately and easily.

【0051】さらに、例えば、請求項7に記載するよう
に、前記制御手段は、前記判定手段の判定した前記シェ
ーディング補正精度が所定の基準補正精度以下である
と、前記走査手段による前記白基準データの採取のため
の走査から前記シェーディング補正判定処理を行わせ、
当該シェーディング補正判定処理を所定回数行った判定
結果のシェーディング補正精度がいずれも前記基準補正
精度以下であると、前記光学系に異常がある旨の警告を
出力するものであってもよい。
Further, for example, as described in claim 7, when the shading correction accuracy judged by the judging means is equal to or less than a predetermined reference correction accuracy, the control means sets the white reference data by the scanning means. To perform the shading correction determination process from the scan for collecting
If the shading correction accuracy of the judgment result obtained by performing the shading correction judgment process a predetermined number of times is less than or equal to the reference correction accuracy, a warning indicating that the optical system has an abnormality may be output.

【0052】ここで、基準補正精度としては、例えば、
原稿を走査したときのノイズ等の影響が許容される限度
の最低の補正精度が設定される。
Here, as the reference correction accuracy, for example,
The minimum correction accuracy is set to the limit at which the influence of noise and the like when scanning a document is allowed.

【0053】上記構成によれば、シェーディング補正判
定処理を複数回行って、ノイズ等の一過性外乱の影響を
回避しつつ、シェーディング判定を行うことができると
ともに、ノイズ等を低減させたにもかかわらず、基準補
正精度を得ることができなかった場合に、警告を出力す
ることができ、光学系に異常があることを認識させるこ
とができる。その結果、光学系の異常をより一層適切に
管理して、修復を促すことができ、画質を向上させるこ
とができる。
According to the above configuration, the shading correction determination process is performed a plurality of times, and the shading determination can be performed while avoiding the influence of transient disturbance such as noise, and the noise and the like can be reduced. Regardless, if the reference correction accuracy cannot be obtained, a warning can be output and it can be recognized that there is an abnormality in the optical system. As a result, the abnormality of the optical system can be managed more appropriately, the restoration can be promoted, and the image quality can be improved.

【0054】また、例えば、請求項8に記載するよう
に、前記判定手段は、前記基準補正精度を中間調読取モ
ードあるいは単純2値化読取モード等の原稿読取モード
に応じて変化させるものであってもよい。
Further, for example, as described in claim 8, the determining means changes the reference correction accuracy in accordance with an original reading mode such as a halftone reading mode or a simple binary reading mode. May be.

【0055】上記構成によれば、原稿読取モードに応じ
たシェーディング補正精度の監視を行うことができ、原
稿読取時の画質を向上させつつ、適切な光学系の管理を
行うことができる。
According to the above configuration, it is possible to monitor the shading correction accuracy according to the document reading mode, and it is possible to appropriately manage the optical system while improving the image quality at the time of reading the document.

【0056】請求項9記載の発明の画像読取装置は、光
学系を用いて白基準部材及び原稿を走査する走査手段
と、前記走査手段が前記白基準部材を走査して得た画素
単位の白基準データを記憶する白基準データ記憶手段
と、前記白基準データに基づいて前記走査手段が走査し
て得た画像データに前記光学系によるシェーディング歪
みをシェーディング補正するシェーディング補正手段
と、前記シェーディング補正手段によりシェーディング
補正された画像データに種々の画像処理を施す画像処理
手段と、を備えた画像読取装置において、前記走査手段
により前記白基準部材を走査させて前記白基準データを
前記白基準データ記憶手段に記憶させた後、前記走査手
段に、前記原稿を走査させる前に、再度、前記白基準部
材を所定回数走査させて、当該白基準部材を走査して得
た画像データを前記シェーディング補正手段によりシェ
ーディング補正させた後、前記画像処理手段に、前記走
査手段が前記白基準部材を走査する毎に、2値化閾値
を、所定の高い値から順次所定間隔で上昇させて、ある
いは、所定の低い値から順次所定間隔で下降させて2値
化させる制御手段と、前記画像処理手段が前記2値化閾
値を、順次上昇あるいは下降させて2値化した画像デー
タが、はじめて全て白画像データとなるときの前記2値
化閾値、あるいは、はじめて黒画像データが出現すると
きの前記2値化閾値に基づいて前記走査手段が前記原稿
を走査するときの画像品質の判定を行う判定手段と、を
備えることにより、上記目的を達成している。
According to the image reading apparatus of the present invention, the scanning means for scanning the white reference member and the original by using the optical system, and the white for each pixel obtained by the scanning means scanning the white reference member. White reference data storage means for storing reference data, shading correction means for shading correction of shading distortion due to the optical system in image data obtained by scanning by the scanning means based on the white reference data, and the shading correction means. In the image reading apparatus including an image processing unit that performs various image processes on the image data that is shading-corrected by, the white reference data is stored in the white reference data storage unit by causing the scanning unit to scan the white reference member. , The white reference member is again scanned a predetermined number of times before being scanned by the scanning means. After the image data obtained by scanning the white reference member is subjected to shading correction by the shading correction means, the image processing means is provided with a binarization threshold value each time the scanning means scans the white reference member. A control unit that sequentially raises a predetermined high value at a predetermined interval, or sequentially lowers a predetermined low value at a predetermined interval to perform binarization, and the image processing unit sequentially increases the binarization threshold value. Based on the binarization threshold when the lowered and binarized image data becomes all white image data for the first time, or the binarization threshold when the black image data appears for the first time, the scanning unit is configured to The above-described object is achieved by including a determination unit that determines the image quality when scanning the document.

【0057】上記構成によれば、白基準部材を走査しシ
ェーディング補正した画像データを2値化した結果に基
づいて、原稿を走査する前に、原稿を走査した場合の画
像品質を事前に予測・判定することができ、画質を向上
させることができる。
According to the above configuration, based on the result of binarizing the image data obtained by scanning the white reference member and performing shading correction, the image quality when the document is scanned is predicted in advance before scanning the document. It is possible to make a determination and improve the image quality.

【0058】この場合、例えば、請求項10に記載する
ように、前記判定手段は、前記画像処理手段が前記2値
化閾値を前記上昇あるいは下降させて2値化した2値化
画像データのうちの黒画像データの出現性に基づいて、
前記画像品質の判定を行うものであってもよい。
In this case, for example, according to a tenth aspect, the judging means selects the binarized image data binarized by the image processing means by raising or lowering the binarizing threshold value. Based on the appearance of black image data of
The image quality may be determined.

【0059】上記構成によれば、2値化閾値を変化させ
て2値化したときの黒画像データの出現性、例えば、黒
画像データの増加割合や減少割合とうに基づいて画像品
質を判定することができ、より一層精度良く、かつ、簡
単に画像品質を判定することができる。
According to the above configuration, the image quality is determined based on the appearance of black image data when binarizing by changing the binarization threshold, for example, the increase rate or the decrease rate of the black image data. Therefore, the image quality can be determined more accurately and easily.

【0060】また、例えば、請求項11に記載するよう
に、前記制御手段は、前記2値化閾値が所定の基準閾値
以下であると、前記走査手段による前記白基準データの
採取のための走査から前記画像品質判定処理を行わせ、
当該画像品質判定処理を所定回数行った判定結果がいず
れも前記基準閾値以下であると、前記光学系に異常があ
る旨の警告を出力するものであってもよい。
Further, for example, when the binarization threshold value is equal to or less than a predetermined reference threshold value, the control means scans the white reference data for scanning by the scanning means. From the image quality determination process,
If the determination results obtained by performing the image quality determination processing a predetermined number of times are all less than or equal to the reference threshold value, a warning indicating that the optical system has an abnormality may be output.

【0061】上記構成によれば、画像品質の判定処理を
複数回行って、ノイズ等の一過性外乱の影響を回避しつ
つ、画像品質の判定処理を行うことができるとともに、
ノイズ等を低減させたにもかかわらず、適切な画像品質
を得ることができなかった場合に、警告を出力すること
ができ、光学系に異常があることを認識させることがで
きる。その結果、光学系の異常をより一層適切に管理し
て、修復を促すことができ、画像品質を向上させること
ができる。
According to the above configuration, the image quality determination process can be performed a plurality of times, and the image quality determination process can be performed while avoiding the influence of transient disturbance such as noise.
When the appropriate image quality cannot be obtained despite the reduction of noise and the like, a warning can be output and it can be recognized that there is an abnormality in the optical system. As a result, the abnormality of the optical system can be managed more appropriately, restoration can be promoted, and image quality can be improved.

【0062】さらに、例えば、請求項12に記載するよ
うに、前記画像読取装置は、前記2値化閾値を前記上昇
あるいは前記下降させた際の前記黒画像データの出現位
置を記憶する黒画素出現位置記憶手段をさらに備え、前
記判定手段は、前記黒画素出現位置記憶手段の記憶する
前記黒画像データの出現位置が所定の局所領域に連続し
ていると、前記光学系にキズやゴミ等の異常があると判
定するものであってもよい。
Further, for example, as described in claim 12, the image reading device stores a black pixel appearance that stores an appearance position of the black image data when the binarization threshold value is raised or lowered. The determination means further includes position storage means, and the determination means is configured such that when the appearance position of the black image data stored in the black pixel appearance position storage means is continuous in a predetermined local area, scratches, dust, and the like are generated in the optical system. It may be determined that there is an abnormality.

【0063】上記構成よれば、光学系に異常がある場合
に、光学系の劣化によるものであるのか、キズやゴミ等
によるものであるのかを分類して判定することができ、
光学系の異常をより適切に判定することができる。その
結果、光学系の修復をより一層適切に行うことができ
る。
According to the above construction, when there is an abnormality in the optical system, it can be classified and judged whether it is due to deterioration of the optical system or due to scratches or dust.
The abnormality of the optical system can be determined more appropriately. As a result, the optical system can be repaired more appropriately.

【0064】また、例えば、請求項13に記載するよう
に、前記判定手段は、前記画像品質を判定する際の判定
基準を、中間調読取モードあるいは単純2値化読取モー
ド等の原稿の読取モードに応じて、変化させるものであ
ってもよい。
Further, for example, as described in claim 13, the judging means sets the judgment criterion for judging the image quality as a reading mode of a document such as a halftone reading mode or a simple binary reading mode. It may be changed according to.

【0065】上記構成によれば、原稿読取モードに応じ
た画像品質の判定を行うことができ、より一層適切な画
像品質の判定を行うことができる。
According to the above arrangement, the image quality can be determined according to the original reading mode, and the image quality can be determined more appropriately.

【0066】さらに、例えば、請求項14に記載するよ
うに、前記制御手段は、前記判定手段の判定結果に基づ
いて、前記原稿を走査した画像データを前記画像処理手
段で2値化する際の2値化閾値を変化させるものであっ
てもよい。
Further, for example, as described in claim 14, when the control means binarizes the image data obtained by scanning the original document by the image processing means based on the determination result of the determination means. The binarization threshold may be changed.

【0067】上記構成によれば、実際に原稿を走査した
画像データを2値化する際の2値化閾値を、画像品質の
判定結果、すなわち、シェーディング補正精度に応じて
変化させることができ、2値化画像に黒筋や地肌汚れ等
の発生を未然に防止・低減して、画像品質を向上させる
ことができる。
According to the above arrangement, the binarization threshold value for binarizing the image data obtained by actually scanning the original can be changed according to the image quality judgment result, that is, the shading correction accuracy. It is possible to prevent / reduce the occurrence of black streaks and background stains in the binarized image and improve the image quality.

【0068】また、例えば、請求項15に記載するよう
に、前記画像処理手段は、前記原稿を読み取った画像デ
ータを所定階調に階調処理し、前記制御手段は、前記判
定手段の前記画像品質の判定結果に基づいて、前記画像
処理手段による前記階調処理時の階調数を変化させるも
のであってもよい。
Further, for example, as described in claim 15, the image processing means performs gradation processing of the image data obtained by reading the original document to a predetermined gradation, and the control means controls the image of the determination means. The number of gradations during the gradation processing by the image processing means may be changed based on the quality determination result.

【0069】上記構成によれば、実際に原稿を走査した
画像データを階調処理する際の階調数を画像品質の判定
結果、すなわち、シェーディング補正精度に応じて変化
させることができ、中間調画像に地肌汚れ等が発生する
のを未然に防止・低減して、画像品質を向上させること
ができる。
According to the above arrangement, the number of gradations in gradation processing of the image data obtained by actually scanning the original can be changed according to the result of the image quality judgment, that is, the shading correction accuracy. It is possible to prevent / reduce the occurrence of background stains on an image and improve the image quality.

【0070】さらに、例えば、請求項16に記載するよ
うに、前記判定手段は、前記2値化された前記白基準部
材の画像データが黒画像データであるか否かを判別する
判別回路と、前記判別回路の判別した黒画像データをカ
ウントするカウンタと、を備え、前記黒画像データの発
生の有無、あるいは、発生割合の判定処理をハードウェ
アにより処理するものであってもよい。
Further, for example, as described in claim 16, the judging means is a judging circuit for judging whether or not the image data of the binarized white reference member is black image data. A counter for counting the black image data discriminated by the discriminating circuit may be provided, and the determination processing of the presence or absence of the black image data or the generation ratio may be processed by hardware.

【0071】上記構成によれば、黒画像データの発生の
有無や発生割合等の判定処理を高速に、かつ、ソフトウ
ェアの負担を軽減させつつ、処理することができ、画像
読取装置の処理速度を向上させることができる。
According to the above configuration, it is possible to perform the determination process of the presence / absence of the black image data, the generation ratio, etc. at high speed while reducing the load on the software, thereby increasing the processing speed of the image reading apparatus. Can be improved.

【0072】また、例えば、請求項17に記載するよう
に、前記判定手段は、前記白基準部材の2値化された画
像データに前記黒画素が含まれているか、あるいは、前
記黒画像データの発生割合の判定処理をソフトウェアに
より処理するものであってもよい。
Further, for example, as described in claim 17, the judging means includes whether the black pixel is included in the binarized image data of the white reference member, or the black image data The generation rate determination process may be performed by software.

【0073】上記構成によれば、黒画像データの発生の
有無や発生割合等の判定処理を行うために別に回路を追
加する必要がなく、画像読取装置を安価なものとするこ
とができる。
According to the above construction, it is not necessary to add a circuit to determine the presence / absence of the black image data, the generation ratio, etc., and the image reading apparatus can be made inexpensive.

【0074】請求項18記載の発明の画像読取装置は、
光学系を用いて白基準部材及び原稿を走査する走査手段
と、前記走査手段が前記白基準部材を走査して得た画素
単位の白基準データを記憶する白基準データ記憶手段
と、前記白基準データに基づいて前記走査手段が走査し
て得た画像データに前記光学系によるシェーディング歪
みをシェーディング補正するシェーディング補正手段
と、前記シェーディング補正手段によりシェーディング
補正された画像データに種々の処理パラメータに基づい
て種々の画像処理を施す画像処理手段と、を備えた画像
読取装置において、前記走査手段により前記白基準部材
を走査させて前記白基準データを前記白基準データ記憶
手段に記憶させた後、前記走査手段に前記原稿を走査さ
せる前に、前記白基準部材を走査させて、当該白基準部
材を走査して得た画像データを前記白基準データに基づ
いて前記シェーディング補正手段によりシェーディング
補正させる制御手段と、前記白基準部材の前記画像デー
タを前記シェーディング補正手段によりシェーディング
補正したときの補正結果に基づいて、前記原稿を走査す
る際の画像品質を判定する判定手段と、を備え、前記制
御手段が、前記判定手段の判定結果に基づいて、前記原
稿を走査して得た画像データを画像処理する際の前記画
像処理手段の前記処理パラメータを変化させることによ
り、上記目的を達成している。
The image reading apparatus according to the eighteenth aspect of the present invention is
Scanning means for scanning the white reference member and the original using an optical system; white reference data storage means for storing white reference data in pixel units obtained by the scanning means scanning the white reference member; and the white reference. Based on various processing parameters, shading correction means for shading-correcting shading distortion by the optical system in the image data obtained by the scanning means based on the data, and various processing parameters for the image data shading-corrected by the shading correction means. In an image reading apparatus including image processing means for performing various image processing, the scanning means scans the white reference member to store the white reference data in the white reference data storage means, and then the scanning. An image obtained by scanning the white reference member and scanning the white reference member before the means scans the document. The document based on the correction result when the shading correction is performed by the shading correction unit based on the white reference data, and the shading correction is performed on the image data of the white reference member by the shading correction unit. A determination unit that determines the image quality when scanning, and the image processing when the control unit performs image processing on the image data obtained by scanning the document based on the determination result of the determination unit. The above object is achieved by varying the processing parameters of the means.

【0075】上記構成によれば、画像品質の判定結果、
すなわち、シェーディング補正精度に応じて、画像処理
を行うことができ、シェーディング補正精度が低下して
いる場合にも、適切な画像処理を行って、画像品質を向
上させることができる。
According to the above arrangement, the result of the image quality judgment,
That is, the image processing can be performed according to the shading correction accuracy, and even when the shading correction accuracy is lowered, the appropriate image processing can be performed to improve the image quality.

【0076】上記各場合において、例えば、請求項19
に記載するように、前記制御手段は、前記シェーディン
グ補正精度の判定処理、あるいは、前記画像品質の判定
処理を所定期間毎に実行するものであってもよい。
In each of the above cases, for example, claim 19
As described in [1], the control means may execute the shading correction accuracy determination processing or the image quality determination processing at predetermined time intervals.

【0077】上記構成によれば、画像読取装置の処理速
度を向上させつつ、シェーディング補正精度あるいは画
像品質を管理することができる。
With the above arrangement, it is possible to manage the shading correction accuracy or the image quality while improving the processing speed of the image reading apparatus.

【0078】[0078]

【発明の実施の形態】以下、本発明の好適な実施の形態
を添付図面に基づいて詳細に説明する。
Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0079】尚、以下に述べる実施の形態は、本発明の
好適な実施の形態であるから、技術的に好ましい種々の
限定が付されているが、本発明の範囲は、以下の説明に
おいて特に本発明を限定する旨の記載がない限り、これ
らの態様に限られるものではない。
Since the embodiment described below is a preferred embodiment of the present invention, various technically preferable limitations are attached, but the scope of the present invention is particularly limited in the following description. Unless specifically stated to limit the present invention, the present invention is not limited to these embodiments.

【0080】図1〜図3は、本発明の画像読取装置の第
1の実施の形態を示す図であり、本実施の形態は、ファ
クシミリ装置に適用したものである。
FIGS. 1 to 3 are views showing a first embodiment of an image reading apparatus of the present invention, and this embodiment is applied to a facsimile apparatus.

【0081】図1において、ファクシミリ装置20は、
システム制御部21、システムメモリ22、パラメータ
メモリ23、スキャナ24、プロッタ25、網制御部2
6、モデム27、画像メモリ28、符号化・復号化部2
9及び操作パネル30等を備えており、上記各部は、バ
ス31に接続されている。
In FIG. 1, the facsimile machine 20 is
System control unit 21, system memory 22, parameter memory 23, scanner 24, plotter 25, network control unit 2
6, modem 27, image memory 28, encoding / decoding unit 2
9 and an operation panel 30 and the like, and each of the above parts is connected to a bus 31.

【0082】システム制御部(制御手段、判定手段)2
1は、CPU(Central ProcessingUnit )、ROM(R
ead Only Memory)等を備え、ROM内には、ファクシ
ミリ装置20としての基本処理プログラム及びシェーデ
ィング補正精度判定処理プログラムや画像品質判定所プ
ログラム等の各種プログラムを格納するとともに、上記
各処理を実行するのに必要なシステムデータを記憶して
いる。システム制御部21は、ROM内のプログラムに
基づいてCPUが、システムメモリ22をワークメモリ
として使用して、ファクシミリ装置20の各部を制御し
て、ファクシミリ装置20としての基本処理を実行する
とともに、後述するシェーディング補正精度判定処理及
び画像品質判定処理を実行する。
System control section (control means, determination means) 2
1 is a CPU (Central Processing Unit), a ROM (R
(ead Only Memory), etc., and stores various programs such as a basic processing program as the facsimile device 20, a shading correction accuracy determination processing program, and an image quality determination station program in the ROM, and executes the above-described processing. It stores the system data required for. In the system control unit 21, the CPU uses the system memory 22 as a work memory to control each unit of the facsimile device 20 based on the program in the ROM to execute the basic processing as the facsimile device 20. The shading correction accuracy determination process and the image quality determination process are performed.

【0083】パラメータメモリ23は、ファクシミリ通
信に必要な各種パラメータ情報を記憶する。
The parameter memory 23 stores various parameter information necessary for facsimile communication.

【0084】スキャナ24は、図2に示すように、図示
しない搬送ローラにより搬送される原稿41を案内する
ガイド部材42、ガイド部材42に取り付けられ当該原
稿41を案内するとともに光学系への埃や塵等の混入を
防止するターゲットガラス43、光学系に起因するシェ
ーディング歪みを補正するための白基準板44、搬送さ
れる原稿41や白基準板44に光を照射する光源45、
ミラー47、レンズ46、イメージセンサ48、アンプ
49、A/D変換器50、ピークホールド回路51、シ
ェーディング補正回路52、ラインバッファ53及びデ
ィジタル画像処理回路54等を備えており、上記シェー
ディング補正回路52及びディジタル画像処理回路54
は、上記システム制御部21にバス31を介して接続さ
れている。
As shown in FIG. 2, the scanner 24 is attached to the guide member 42 for guiding the original 41 conveyed by the conveying roller (not shown), and is attached to the guide member 42 to guide the original 41 and dust to the optical system. A target glass 43 for preventing dust and the like from being mixed, a white reference plate 44 for correcting shading distortion caused by an optical system, a light source 45 for irradiating the conveyed document 41 and the white reference plate 44 with light,
The shading correction circuit 52 includes a mirror 47, a lens 46, an image sensor 48, an amplifier 49, an A / D converter 50, a peak hold circuit 51, a shading correction circuit 52, a line buffer 53 and a digital image processing circuit 54. And digital image processing circuit 54
Are connected to the system control unit 21 via a bus 31.

【0085】白基準板(白基準部材)44を走査する場
合には、光源45からの光は、ターゲットガラス43を
透して、白基準板44に照射され、白基準板44で反射
された光は、ミラー46及びレンズ47を介して所定の
縮小率でイメージセンサ48に結像される。また、原稿
41を走査する場合には、光源45からの光は、ターゲ
ットガラス43を通してターゲットガラス43上を搬送
される原稿41に照射され、原稿41で反射された光
は、ミラー47及びレンズ46を介して所定の縮小率で
イメージセンサ48に結像される。
When scanning the white reference plate (white reference member) 44, the light from the light source 45 passes through the target glass 43, is irradiated to the white reference plate 44, and is reflected by the white reference plate 44. The light is imaged on the image sensor 48 via the mirror 46 and the lens 47 at a predetermined reduction ratio. Further, when scanning the document 41, the light from the light source 45 is applied to the document 41 conveyed on the target glass 43 through the target glass 43, and the light reflected by the document 41 is reflected by the mirror 47 and the lens 46. An image is formed on the image sensor 48 at a predetermined reduction ratio via the.

【0086】イメージセンサ48は、結像された光情報
を電気信号に変換してアンプ48に出力し、アンプ48
は、例えば、演算増幅器(オペアンプ)が用いられて、
イメージセンサ48から入力されるアナログの画信号を
所定の倍率で増幅して、A/D変換器50及びピークホ
ールド回路51に出力する。
The image sensor 48 converts the imaged optical information into an electric signal and outputs the electric signal to the amplifier 48.
Is an operational amplifier (op amp),
The analog image signal input from the image sensor 48 is amplified by a predetermined magnification and output to the A / D converter 50 and the peak hold circuit 51.

【0087】したがって、上記光源45、ミラー46、
レンズ47及びイメージセンサ48は、全体として走査
手段として機能する。
Therefore, the light source 45, the mirror 46,
The lens 47 and the image sensor 48 function as a scanning unit as a whole.

【0088】ピークホールド回路51は、アンプ48か
ら入力される1ライン分の画信号の最大値(ピーク値)
を検出して、ホールドする。
The peak hold circuit 51 is the maximum value (peak value) of the image signal for one line input from the amplifier 48.
Is detected and held.

【0089】A/D(Analog to Digita)変換器50
は、ピークホールド回路51のホールドしたピーク値を
基準にアンプ49から入力される画信号を量子化して、
シェーディング補正回路52に出力する。
A / D (Analog to Digita) converter 50
Quantizes the image signal input from the amplifier 49 based on the peak value held by the peak hold circuit 51,
Output to the shading correction circuit 52.

【0090】ラインバッファ(白基準データ記憶手段)
53は、白基準板44を走査したときのA/D変換器5
0の出力する1ライン分の画像データを白基準データと
して記憶し、シェーディング補正回路52によるシェー
ディング補正やディジタル画像処理回路54における画
像処理において参照される。
Line buffer (white reference data storage means)
53 is an A / D converter 5 when the white reference plate 44 is scanned
Image data for one line output by 0 is stored as white reference data, and is referred to in the shading correction by the shading correction circuit 52 and the image processing in the digital image processing circuit 54.

【0091】シェーディング補正回路(シェーディング
補正手段)52は、システム制御部21の制御下で、A
/D変換器50から入力される画像データに光学系の特
性に起因するシェーディング歪みを、ラインバッファ5
3の記憶する画像データを参照しつつ補正するシェーデ
ィング補正処理を行って、ディジタル画像処理回路54
に出力する。
The shading correction circuit (shading correction means) 52 is controlled by the A
The shading distortion caused by the characteristics of the optical system is added to the image data input from the D / D converter 50.
The digital image processing circuit 54 performs shading correction processing for correcting while referring to the image data stored in FIG.
Output to

【0092】ディジタル画像処理回路(画像処理手段)
54は、システム制御部21の制御下で動作して、ライ
ンバッファ53の記憶する画像データを参照しつつ、あ
るいは、ラインバッファ53を利用して、シェーディン
グ補正回路52から入力される画像データを2値化した
り、中間調処理するとともに、種々の画像処理を行い、
ラインバッファ22aに格納する。
Digital image processing circuit (image processing means)
The reference numeral 54 operates under the control of the system control unit 21 to refer to the image data stored in the line buffer 53, or to utilize the line buffer 53 to convert the image data input from the shading correction circuit 52 into two. In addition to binarization and halftone processing, various image processing is performed.
Store in the line buffer 22a.

【0093】ラインバッファ22aは、ディジタル画像
処理回路54で2値化あるいは中間調処理された画像デ
ータを一時記憶するためのものであり、上記図1のシス
テムメモリ22の一部が利用されている。
The line buffer 22a is for temporarily storing the image data binarized or halftone processed by the digital image processing circuit 54, and a part of the system memory 22 shown in FIG. 1 is used. .

【0094】したがって、スキャナ24は、シェーディ
ング補正用の白基準データを取得するために白基準板4
4を走査するときには、イメージセンサ48で電気信号
に変換された画信号をアンプ49で増幅して、ピークホ
ールド回路51のホールドしたピーク値を基準としてA
/D変換器50でディジタル変換した後、シェーディン
グ補正回路52を介してラインバッファ53に白基準デ
ータとして格納する。そして、後述するように、シェー
ディング補正精度を判定するために、再度、白基準板4
4を走査するときには、同様にイメージセンサ48で電
気信号に変換して、A/D変換器50でディジタル変換
し、シェーディング補正回路52でラインバッファ53
の白基準データに基づいてシェーディング補正した後、
ディジタル画像処理回路54で2値化して、ラインバッ
ファ22aに一旦記憶する。このラインバッファ22a
の2値化画像データに基づいてシステム制御部21がシ
ェーディング補正精度を判定する。
Therefore, the scanner 24 uses the white reference plate 4 to obtain the white reference data for shading correction.
4 is scanned, the image signal converted by the image sensor 48 into an electric signal is amplified by the amplifier 49, and the peak value held by the peak hold circuit 51 is used as a reference.
After being digitally converted by the / D converter 50, it is stored as white reference data in the line buffer 53 via the shading correction circuit 52. Then, as will be described later, in order to determine the shading correction accuracy, the white reference plate 4 is again used.
4 is similarly converted into an electric signal by the image sensor 48, converted into a digital signal by the A / D converter 50, and the line buffer 53 by the shading correction circuit 52.
After shading correction based on the white reference data of
It is binarized by the digital image processing circuit 54 and temporarily stored in the line buffer 22a. This line buffer 22a
The system control unit 21 determines the shading correction accuracy based on the binarized image data.

【0095】その後、原稿41を走査するときには、イ
メージセンサ48で電気信号に変換された画信号をアン
プ49で増幅して、A/D変換器50でディジタル変換
した後、ラインバッファ53の白基準データを参照し
て、シェーディング補正回路52でシェーディング補正
し、ディジタル画像処理回路54で種々の画像処理を施
した後、ラインバッファ22aに転送する。
After that, when scanning the original 41, the image signal converted into an electric signal by the image sensor 48 is amplified by the amplifier 49, converted into a digital signal by the A / D converter 50, and then the white reference of the line buffer 53. With reference to the data, the shading correction circuit 52 performs shading correction, the digital image processing circuit 54 performs various image processing, and then the data is transferred to the line buffer 22a.

【0096】なお、スキャナ24を利用したシェーディ
ング補正精度の判定処理については、後で詳述する。
The shading correction accuracy determination process using the scanner 24 will be described in detail later.

【0097】なお、スキャナ24は、図示しないが、通
常、ADF(自動原稿送り装置)を備えており、ADF
は、セットされた複数枚の原稿41を1枚ずつ上記ター
ゲットガラス43、すなわち、読取部に送給する。
Although not shown, the scanner 24 is usually equipped with an ADF (automatic document feeder).
Feeds the set plurality of originals 41 one by one to the target glass 43, that is, the reading unit.

【0098】再び、図1において、プロッタ25として
は、例えば、サーマル素子を利用したサーマル記録装置
や電子写真式記録装置等が使用され、プロッタ25は、
サーマル記録装置が使用されているときには、感熱記録
紙に直接、あるいは、普通記録紙にインクシートを介し
て間接的に画像を記録する。
Referring again to FIG. 1, as the plotter 25, for example, a thermal recording device using a thermal element, an electrophotographic recording device, or the like is used.
When the thermal recording device is used, an image is recorded directly on the thermal recording paper or indirectly on the normal recording paper via an ink sheet.

【0099】網制御部26は、モデム27と接続されて
おり、網制御部26には、回線(例えば、電話回線)が
接続されている。網制御部26は、システム制御部21
の制御下で動作して、回線からの発呼に対して自動着呼
し、また、回線への自動発呼処理を行うとともに、相手
ファクシミリ装置との間でファクシミリ制御信号の交換
を行って、通信機能の設定や各種制御情報の交換を行う
ことにより、ファクシミリ通信手順を実行する。
The network control unit 26 is connected to the modem 27, and a line (for example, a telephone line) is connected to the network control unit 26. The network control unit 26 is the system control unit 21.
It operates under the control of, automatically receives a call from a line, performs automatic call processing to the line, and exchanges a facsimile control signal with a partner facsimile machine, The facsimile communication procedure is executed by setting communication functions and exchanging various control information.

【0100】モデム27は、システム制御部21の制御
下で動作して、送信信号の変調を行い、また、受信信号
の復調を行う。
The modem 27 operates under the control of the system controller 21 to modulate the transmission signal and demodulate the reception signal.

【0101】画像メモリ28は、例えば、大容量のRA
M(Random Access Memory)あるいはハードディスク装
置等で構成され、主に画像データを蓄積する。すなわ
ち、画像メモリ28には、上記スキャナ24で読み取っ
た送信用の画像データや受信した画像データが蓄積さ
れ、システム制御部21の制御下で、所定時期に読み出
されて送信処理や記録処理等に供される。
The image memory 28 is, for example, a large capacity RA.
It is composed of an M (Random Access Memory) or a hard disk device, and mainly stores image data. That is, image data for transmission read by the scanner 24 and received image data are accumulated in the image memory 28, and are read out at a predetermined time under the control of the system control unit 21 to perform transmission processing, recording processing, or the like. Be used for.

【0102】符号化・復号化部29は、画像データの電
送時間の短縮化と画像メモリ28への蓄積の効率化を図
るものであり、送信時には画像データを圧縮(符号化)
し、また、受信時には符号化された画像データを原画像
データに再生(復号化)する。
The encoding / decoding unit 29 shortens the transmission time of image data and increases the efficiency of storage in the image memory 28, and compresses (encodes) image data during transmission.
In addition, the encoded image data is reproduced (decoded) into the original image data at the time of reception.

【0103】操作パネル30は、テンキー、スタートキ
ー、ストップキー及びファンクションキー等の各種操作
キーを備えるとともに、ディスプレイ(例えば、液晶デ
ィスプレイ)を備え、上記各操作キーからは、送信操作
等の各種命令が入力される。また、操作パネル30のデ
ィスプレイには、操作キーから入力された命令内容やフ
ァクシミリ装置1からオペレータに通知する各種情報が
表示されるとともに、後述するシェーディング補正精度
や画像品質の判定結果及び異常の通知等が表示出力され
る。
The operation panel 30 is provided with various operation keys such as a numeric keypad, a start key, a stop key, and a function key, and a display (for example, a liquid crystal display), and various operation commands such as a transmission operation are provided from the operation keys. Is entered. In addition, the display of the operation panel 30 displays the content of the command input from the operation keys and various kinds of information notified from the facsimile apparatus 1 to the operator, and the shading correction accuracy and the determination result of the image quality and the abnormality notification described later. Etc. are displayed and output.

【0104】次に、作用を説明する。Next, the operation will be described.

【0105】本実施の形態は、白基準板44を白基準デ
ータを取得するために走査した後、原稿41を読み取る
前に、予め設定された回数再度白基準板44を走査し
て、シェーディング補正精度及び画像品質を判定すると
ころにその特徴がある。
In the present embodiment, after the white reference plate 44 is scanned to acquire the white reference data, the white reference plate 44 is again scanned a preset number of times before the original 41 is read to perform shading correction. The feature lies in the determination of accuracy and image quality.

【0106】以下、このシェーディング補正精度処理及
び画像品質判定処理について、図3のフローチャートに
基づいて説明する。
The shading correction accuracy processing and the image quality determination processing will be described below with reference to the flowchart of FIG.

【0107】操作パネル30から原稿41の読取指示が
入力されると、システム制御部21は、原稿41の読み
取りに必要な各種パラメータ及びシェーディング補正精
度判定処理に必要な各種パラメータ、特に、シェーディ
ング補正精度判定のために白基準板44を走査する走査
回数(白基準データ採取回数)をカウントするカウンタ
Nのカウント値を初期化(N=0)し(ステップS
1)、白基準データ採取回数の上限THを設定する(ス
テップS2)。この白基準データ採取回数上限THは、
予めシステム制御部21内のROMに初期値が設定され
ており、ステップS2では、この初期値を上限THとし
て設定するが、操作パネル30から上限THを入力する
ことにより、変更して設定することもできる。
When an instruction to read the original 41 is input from the operation panel 30, the system control unit 21 causes the various parameters necessary for reading the original 41 and various parameters necessary for the shading correction accuracy determination process, particularly the shading correction accuracy. The count value of the counter N that counts the number of times of scanning the white reference plate 44 (the number of times of white reference data collection) for determination is initialized (N = 0) (step S
1), the upper limit TH of the number of white reference data collections is set (step S2). This white reference data collection frequency upper limit TH is
An initial value is set in advance in the ROM in the system control unit 21, and this initial value is set as the upper limit TH in step S2, but it can be changed and set by inputting the upper limit TH from the operation panel 30. You can also

【0108】次に、システム制御部21は、操作パネル
30で指定された原稿読取モード、すなわち、単純2値
読取モードか、あるいは、写真等を読み取るための中間
調読取モードか等の原稿読取モードを判定し(ステップ
S3)、この判定した原稿読取モードに対応した補正精
度判定レベルLV、すなわち、シェーディング補正の補
正精度の判定レベルを設定する(ステップS4)。
Next, the system control section 21 controls the original reading mode designated by the operation panel 30, that is, the simple binary reading mode or the original reading mode such as the halftone reading mode for reading a photograph or the like. Is determined (step S3), and the correction accuracy determination level LV corresponding to the determined document reading mode, that is, the correction accuracy determination level of shading correction is set (step S4).

【0109】この補正精度判定レベルLVH、各読取モ
ード毎に予めROM等に格納されており、各読取モード
において、画像品質に影響を与えない程度の最低レベル
のシェーディング補正精度が設定される。
The correction accuracy determination level LVH is stored in advance in the ROM or the like for each reading mode, and in each reading mode, the minimum level of shading correction accuracy that does not affect the image quality is set.

【0110】このシステム制御部21は、例えば、原稿
読取モードが、中間調読取モードであるときには、補正
精度として高い補正が要求されるので、補正精度判定レ
ベルLVとして高い値をセットし、単純2値読取モード
であるときには、2値画像を保証することのできる低い
値にセットする。
For example, when the original reading mode is the halftone reading mode, the system control unit 21 requires a high correction as the correction accuracy. Therefore, a high value is set as the correction accuracy determination level LV, and the simple 2 In the value reading mode, it is set to a low value that can guarantee a binary image.

【0111】その後、システム制御部21は、光源45
を点灯(LAMP ON)し(ステップS5)、まず、
白基準データを取得するために、白基準板44を走査し
て、上述の手順により、A/D変換器50でディジタル
変換した画像データを白基準データとしてラインバッフ
ァ53に格納(採取)する(ステップS6)。
After that, the system controller 21 controls the light source 45
Is turned on (LAMP ON) (step S5), first,
In order to acquire the white reference data, the white reference plate 44 is scanned, and the image data digitally converted by the A / D converter 50 is stored (collected) in the line buffer 53 as white reference data by the above-described procedure ( Step S6).

【0112】次に、システム制御部21は、再度、白基
準板44を走査させ(ステップS7)、この白基準板4
4を走査したときの画像データに基づいてシェーディン
グ補正精度を算出して(ステップS8)、このシェーデ
ィング補正精度が上記ステップS4で設定した補正精度
判定レベルLVを越えているかチェックする(ステップ
S9)。
Next, the system control unit 21 scans the white reference plate 44 again (step S7), and the white reference plate 4 is scanned.
The shading correction accuracy is calculated based on the image data when scanning 4 (step S8), and it is checked whether the shading correction accuracy exceeds the correction accuracy determination level LV set in step S4 (step S9).

【0113】すなわち、システム制御部21は、再度白
基準板44を走査させた画信号がA/D変換器50でデ
ィジタル変換されると、シェーディング補正回路52に
ラインバッファ53に記憶されている白基準データに基
づいてシェーディング補正を行わせ、シェーディング補
正した画像データをディジタル画像処理回路54によ
り、所定の閾値(シュレッショルドレベル)により2値
化させてラインバッファ22aに転送する。システム制
御部21は、この2値化処理した画像データにどの程度
黒画素が含まれているか等により補正精度を算出し、こ
の補正精度がステップS4で設定した補正精度判定レベ
ルLVを越えているかをステップS9で判別している。
なお、シェーディング補正精度の算出方法は、上記の方
法に限るものではない。
That is, when the image signal obtained by scanning the white reference plate 44 again is digitally converted by the A / D converter 50, the system controller 21 causes the shading correction circuit 52 to store the white signal stored in the line buffer 53. Shading correction is performed based on the reference data, and the shading-corrected image data is binarized by a predetermined threshold value (threshold level) by the digital image processing circuit 54 and transferred to the line buffer 22a. The system control unit 21 calculates the correction accuracy depending on how many black pixels are included in the binarized image data, and whether the correction accuracy exceeds the correction accuracy determination level LV set in step S4. Is determined in step S9.
The method of calculating the shading correction accuracy is not limited to the above method.

【0114】ステップS9で、上記算出した補正精度が
補正精度判定レベルLVを越えていないときには、シス
テム制御部21は、白基準データ採取回数をカウントす
るカウンタNをインクリメントして(ステップS1
0)、このインクリメントしたカウンタNが、上記ステ
ップS2で設定された白基準データ採取回数の上限TH
を越えたか、すなわち、予め設定された白基準データ採
取回数の上限THまで白基準データの採取を行ったかチ
ェックする(ステップS11)。
When the calculated correction accuracy does not exceed the correction accuracy determination level LV in step S9, the system control unit 21 increments the counter N for counting the number of white reference data collections (step S1).
0), the incremented counter N indicates the upper limit TH of the number of white reference data collection times set in step S2.
Is checked, that is, whether white reference data has been collected up to the preset upper limit TH of white reference data collection times (step S11).

【0115】ステップS11で、カウンタNのカウント
数が白基準データ採取回数の上限THを越えていないと
きには、システム制御部21は、予め設定された白基準
採取回数まで白基準データの採取を行っていないと判断
して、ステップS6に戻って、白基準データの採取から
上記同様の処理を行い、白基準データを採取すると、再
度、白基準板44を走査して(ステップS7)、シェー
ディング補正精度を算出する(ステップS8)。
In step S11, when the count number of the counter N does not exceed the upper limit TH of the number of white reference data collections, the system control unit 21 collects the white reference data up to a preset number of white reference data collections. If not, the process returns to step S6, the same processing as above is performed from the collection of the white reference data, and when the white reference data is collected, the white reference plate 44 is scanned again (step S7) to obtain the shading correction accuracy. Is calculated (step S8).

【0116】そして、上述のようにして、算出した補正
精度が補正精度判定レベルLVに達していないときに
は、システム制御部21は、上記同様に、カウンタNを
インクリメントして(ステップS10)、カウンタNの
カウント値が白基準データ採取回数の上限THを越えた
かチェックする(ステップS11)。
When the calculated correction accuracy does not reach the correction accuracy determination level LV as described above, the system control unit 21 increments the counter N (step S10) in the same manner as described above (step S10). It is checked whether or not the count value of exceeds the upper limit TH of the number of white reference data collections (step S11).

【0117】上記処理を白基準データの採取及びシェー
ディング補正処理を所定回数行うことにより、ノイズ等
の影響を除外することができるが、ノイズ等の影響を除
外したにもかかわらず、ステップS11において、上限
THを越えているときには、システム制御部21は、光
源45や白基準板44、あるいは、ミラー46やレンズ
47及びイメージセンサ48等の光学系の劣化や汚れ等
があり、適切なシェーディング補正精度を得ることがで
きないと判断して、その旨を操作パネル30のディスプ
レイに表示出力し、また、必要なときには、警告音を発
生させて、警告を行って、シェーディング補正精度判定
処理を終了する(ステップS12)。
By performing the above processing by collecting the white reference data and performing the shading correction processing a predetermined number of times, the influence of noise or the like can be excluded. However, despite the influence of noise or the like being excluded, in step S11, When the value exceeds the upper limit TH, the system control unit 21 determines that the light source 45, the white reference plate 44, or the optical system such as the mirror 46, the lens 47, and the image sensor 48 is deteriorated or soiled, and the shading correction accuracy is appropriate. Is output to the display of the operation panel 30, and when necessary, a warning sound is generated and a warning is given to end the shading correction accuracy determination processing ( Step S12).

【0118】上記ステップS9で、演算した補正精度が
補正精度判定レベルLVを越えているときには、システ
ム制御部21は、適切なシェーディング補正精度が得ら
れたと判断して、通常の原稿41の読取処理に移行し
て、シェーディング補正判定処理を終了する(ステップ
S13)。
In step S9, when the calculated correction accuracy exceeds the correction accuracy determination level LV, the system control unit 21 determines that the appropriate shading correction accuracy is obtained, and the normal reading process of the original document 41 is performed. Then, the shading correction determination process ends (step S13).

【0119】このように、本実施の形態においては、白
基準データの採取を行った後、再度、白基準板44を読
み取って、シェーディング補正を行い、そのときのシェ
ーディング補正精度を算出して、当該算出したシェーデ
ィング補正精度が原稿読取モードに対応して設定した補
正精度判定レベルLVを越えているか判定し、シェーデ
ィング補正精度が補正精度判定レベルLVを越えていな
いときには、再度白基準データの採取と白基準板44を
読み取った画像データのシェーディング補正を行って、
シェーディング補正精度が補正精度判定レベルLVを越
えたか判定する。上記処理を予め設定された所定回数行
っても、シェーディング補正精度が補正精度判定レベル
LVを越えないときには、光学系の劣化や汚れ等がある
と判断して、警告を発することができ、シェーディング
補正精度に基づいて光学系の劣化や汚れを事前に判別し
て、適切な処理をオペレータに促すことができる。その
結果、オペレータが気がつかない状態で、画質の劣化し
た原稿41の画像を送信することを未然に防止すること
ができ、画質を向上させることができる。
As described above, in the present embodiment, after the white reference data is collected, the white reference plate 44 is read again to perform the shading correction, and the shading correction accuracy at that time is calculated. It is determined whether the calculated shading correction accuracy exceeds the correction accuracy determination level LV set corresponding to the original reading mode. When the shading correction accuracy does not exceed the correction accuracy determination level LV, white reference data is collected again. Shading correction of the image data read from the white reference plate 44 is performed,
It is judged whether the shading correction accuracy exceeds the correction accuracy judgment level LV. If the shading correction accuracy does not exceed the correction accuracy determination level LV even after the above processing is performed a predetermined number of times, it is possible to determine that the optical system is deteriorated or dirty, and issue a warning. Deterioration and dirt of the optical system can be discriminated in advance based on the accuracy, and the operator can be prompted to perform appropriate processing. As a result, it is possible to prevent the image of the document 41 whose image quality is deteriorated from being transmitted before the operator notices it, and it is possible to improve the image quality.

【0120】図4〜図7は、本発明の画像読取装置の第
2の実施の形態を示す図であり、本実施の形態は、白基
準データを採取した後に白基準板を走査した画像データ
を2値化する閾値を順次上昇させて補正精度の判定を行
うものである。
FIG. 4 to FIG. 7 are views showing a second embodiment of the image reading apparatus of the present invention. In this embodiment, image data obtained by scanning the white reference plate after collecting the white reference data. The threshold for binarizing is sequentially increased to determine the correction accuracy.

【0121】本実施の形態は、上記第1の実施の形態と
同様の実施の形態に適用したものであり、本実施の形態
の説明においては、第1の実施の形態で用いた符号をそ
のまま用いて、以下、説明する。
This embodiment is applied to an embodiment similar to the above-described first embodiment, and in the description of this embodiment, the reference numerals used in the first embodiment are used as they are. It will be described below by using.

【0122】本実施の形態においては、図4に示すよう
に、システム制御部21は、操作パネル30から読取指
示が行われると、各種初期設定を行うとともに、特に、
白基準データ採取回数をカウントするカウンタN及び1
ライン中の画素をカウントする画素カウンタIのカウン
ト値を初期化(N=0、I=0)し(ステップP1)、
白基準データ採取回数の上限THを設定する(ステップ
P2)。なお、本実施の形態においては、1ライン分の
画素数が2048画素であるとして、以下説明する。
In the present embodiment, as shown in FIG. 4, the system control unit 21 performs various initial settings when a reading instruction is given from the operation panel 30, and particularly,
Counters N and 1 for counting the number of white reference data collections
The count value of the pixel counter I that counts the pixels in the line is initialized (N = 0, I = 0) (step P1),
The upper limit TH of the number of white reference data collections is set (step P2). In the present embodiment, the following description will be given assuming that the number of pixels for one line is 2048 pixels.

【0123】次に、システム制御部21は、初期2値化
閾値UPTH及び閾値を上昇させるステップ幅(上昇ス
テップ)αを設定し(ステップP3)、操作パネル30
で指定された原稿読取モードを判定して(ステップP
4)、この判定した原稿読取モードに対応した補正精度
判定レベルLVを設定する(ステップP5)。
Next, the system control unit 21 sets the initial binarization threshold UPTH and the step width (increasing step) α for raising the threshold (step P3), and the operation panel 30.
The original reading mode specified by is judged (step P
4) The correction accuracy determination level LV corresponding to the determined original reading mode is set (step P5).

【0124】その後、システム制御部21は、光源45
を点灯し(ステップP6)、まず、白基準データを取得
するために、白基準板44を走査して、上述の手順によ
り、A/D変換器50でディジタル変換した画像データ
を白基準データとしてラインバッファ53に格納する
(ステップP7)。
After that, the system controller 21 controls the light source 45
Is turned on (step P6), first, in order to acquire the white reference data, the white reference plate 44 is scanned, and the image data digitally converted by the A / D converter 50 is used as the white reference data by the above procedure. The data is stored in the line buffer 53 (step P7).

【0125】次に、システム制御部21は、図5に示す
ように、仮の2値化閾値Thとして上記ステップP3で
設定した初期2値化閾値UPTHを設定し(ステップP
8)、再度、白基準板44を走査させて、この白基準板
44を走査したときの画像データを多値画像データVI
D(I)としてラインバッファ22aに格納する(ステ
ップP9)。
Next, as shown in FIG. 5, the system control unit 21 sets the initial binarization threshold UPTH set in step P3 as the temporary binarization threshold Th (step P
8) Then, the white reference plate 44 is again scanned, and the image data when the white reference plate 44 is scanned is converted into the multivalued image data VI.
It is stored in the line buffer 22a as D (I) (step P9).

【0126】システム制御部21は、補正精度判定のた
めに白基準板44を再走査すると、画素カウンタIを1
だけインクリメントして、当該画素カウンタIの示して
いる画素の多値画像データVID(I)がステップP8
で設定した2値化閾値Thよりも小さいか、すなわち、
当該画素の多値画像データVID(I)が2値化閾値T
hよりも小さく黒画像データであるかどうかチェックし
(ステップP11)、当該画素の多値画像データVID
(I)が2値化閾値Thを越えているときには、当該画
素は白画像データであると判断して、画素カウンタIが
1ライン分(2048画素)カウントしたかどうかチェ
ックする(ステップP12)。
When the white reference plate 44 is rescanned to determine the correction accuracy, the system controller 21 sets the pixel counter I to 1
By incrementing only, and the multi-valued image data VID (I) of the pixel indicated by the pixel counter I is calculated in step P8.
Is smaller than the binarization threshold Th set in step 1, that is,
The multi-valued image data VID (I) of the pixel is the binarization threshold T
It is checked whether the image data is smaller than h and is black image data (step P11), and the multi-valued image data VID of the pixel is checked.
When (I) exceeds the binarization threshold Th, it is determined that the pixel is white image data, and it is checked whether or not the pixel counter I has counted one line (2048 pixels) (step P12).

【0127】ステップP12で、画素カウンタIが1ラ
イン分カウントしていないときには、ステップP10に
戻って、上記同様に、画素カウンタIをインクリメント
して、次の画素について、同様に、当該画素の多値画像
データVID(I)が2値化閾値Thよりも小さいかチ
ェックする。
In step P12, when the pixel counter I has not counted for one line, the process returns to step P10, the pixel counter I is incremented in the same manner as above, and the next pixel is also counted in the same manner. It is checked whether the value image data VID (I) is smaller than the binarization threshold Th.

【0128】上記処理を順次行って、1ラインの全ての
画素の多値画像データVID(I)が白画像データであ
ると(ステップP11、P12)、2値化閾値Thを上
記上昇ステップαだけ上昇させて、画素カウンタIを
「0」にクリアした後(ステップP13)、ステップP
10に戻って、ラインバッファ22aに格納されている
多値画像データVID(I)を、上記同様に、順次上昇
ステップαだけ上昇させた2値化閾値Thと比較する
(ステップP11)。
If the multi-valued image data VID (I) of all the pixels on one line is white image data by performing the above-described processing sequentially (steps P11 and P12), the binarization threshold Th is increased by the increasing step α. After increasing the pixel counter I to "0" (step P13), step P
Returning to step 10, the multi-valued image data VID (I) stored in the line buffer 22a is compared with the binarization threshold Th that has been increased by the increasing step α in the same manner as above (step P11).

【0129】上記同様の処理を行って、全ての多値画像
データVID(I)が2値化閾値Thよりも大きく白画
像データであると(ステップP12)、再度、2値化閾
値Thを上昇ステップαだけ上昇させるとともに、画素
カウンタIをクリアし(ステップP13)、上記同様の
処理を行う(ステップP10〜ステップP13)。
When all the multivalued image data VID (I) are white image data larger than the binarization threshold Th (step P12), the binarization threshold Th is increased again by performing the same processing as above. The pixel counter I is cleared (step P13) while the value is increased by step α, and the same processing as described above is performed (steps P10 to P13).

【0130】上記処理を行って、ステップP11におい
て、2値化閾値Thよりも小さい多値画像データVID
(I)、すなわち、黒画像データが出現すると、ステッ
プP14に移行して、その時のシェーディング補正精度
を算出し(ステップP14)、当該算出したシェーディ
ング補正精度が上記ステップP5で設定した補正精度判
定レベルLVを越えているかチェックする(ステップP
15)。
After performing the above processing, in step P11, the multi-valued image data VID smaller than the binarization threshold Th is obtained.
(I) That is, when black image data appears, the process proceeds to step P14, the shading correction accuracy at that time is calculated (step P14), and the calculated shading correction accuracy is the correction accuracy determination level set in step P5. Check if LV is exceeded (Step P
15).

【0131】ステップP15で、算出したシェーディン
グ補正精度が補正精度判定レベルLVを越えていないと
きには、システム制御部21は、白基準データ採取回数
をカウントするカウンタNをインクリメントして(ステ
ップP16)、このインクリメントしたカウンタNが、
上記ステップP2で設定された白基準データ採取回数の
上限THを越えたか、すなわち、予め設定された白基準
データ採取回数の上限THまで白基準データの採取を行
ったかチェックする(ステップP17)。
In step P15, when the calculated shading correction accuracy does not exceed the correction accuracy determination level LV, the system control unit 21 increments the counter N that counts the number of white reference data collections (step P16). The incremented counter N is
It is checked whether the upper limit TH of the number of white reference data collections set in step P2 has been exceeded, that is, whether the white reference data has been collected up to the upper limit TH of the number of white reference data collections set in advance (step P17).

【0132】ステップP17で、カウンタNのカウント
数が白基準データ採取回数の上限THを越えていないと
きには、システム制御部21は、予め設定された白基準
採取回数まで白基準データの採取を行っていないと判断
して、図5のステップP7に戻って、白基準データの採
取から上記同様の処理を行い、白基準データを採取する
と、再度、図5に示すように、初期2値化閾値UPTH
を2値化閾値Thとしてセットした後(ステップP
8)、白基準板44を再度走査して(ステップP9)、
上記同様に、各多値画像データVID(I)について2
値化閾値Thよりも小さいかどうか、すなわち、黒画像
データが含まれているかどうかチェックする(ステップ
P11)。
In step P17, when the count number of the counter N does not exceed the upper limit TH of the number of white reference data collections, the system control unit 21 collects the white reference data up to the preset number of white reference data collections. If it is determined that the white reference data is not obtained, the process returns to step P7 in FIG. 5 to perform the same processing from the white reference data collection, and the white reference data is collected again, as shown in FIG.
Is set as the binarization threshold Th (step P
8), scan the white reference plate 44 again (step P9),
Similarly to the above, 2 for each multi-valued image data VID (I)
It is checked whether it is smaller than the threshold value Th, that is, whether black image data is included (step P11).

【0133】上記処理を1ライン分の多値画像データV
ID(I)について行って、1ライン中に黒画像データ
が含まれていないときには(ステップP10〜P1
2)、システム制御部21は、2値化閾値Thを上昇ス
テップαだけ2値化閾値Thを上げて(ステップP1
3)、上記同様に、多値画像データVID(I)に黒画
像データが含まれるかチェックし(ステップP10〜P
12)、ステップP11で、黒画像データが出現する
と、補正精度を算出して(ステップP14)、当該算出
した補正精度が補正精度判定レベルLVよりも高いかど
うかチェックする(ステップP15)。
The above processing is performed for the multivalued image data V for one line.
If the black image data is not included in one line for the ID (I) (steps P10 to P1).
2) The system control unit 21 raises the binarization threshold Th by raising the binarization threshold Th by the step α (step P1).
3) Similarly to the above, it is checked whether the multi-valued image data VID (I) includes black image data (steps P10 to P).
12) When black image data appears in step P11, correction accuracy is calculated (step P14), and it is checked whether the calculated correction accuracy is higher than the correction accuracy determination level LV (step P15).

【0134】ステップP15で、算出した補正精度が補
正精度判定レベルLVよりも低い場合には、システム制
御部21は、上記同様に、カウンタNをインクリメント
して、白基準データの採取回数の上限THを越えていな
いかチェックし(ステップP17)、越えていないとき
には、ステップP7に戻って上記同様の処理を行う(ス
テップP7〜ステップP17)。
In step P15, when the calculated correction accuracy is lower than the correction accuracy determination level LV, the system control unit 21 increments the counter N in the same manner as described above to obtain the upper limit TH of the number of times of white reference data collection. Is checked (step P17), and if not exceeded, the process returns to step P7 and the same processing as described above is performed (steps P7 to P17).

【0135】白基準データの採取のやり直しやシェーデ
ィング補正処理を行ってノイズ等の影響を除外したにも
かかわらず、2値化閾値Thを徐々に上げていって、シ
ェーディング補正精度をチェックしたところ、ステップ
P15において、補正精度判定レベルLVを得ることが
できないまま、白基準データの採取回数の上限THを越
えたときには、システム制御部21は、光源45や白基
準板44、あるいは、ミラー46やレンズ47及びイメ
ージセンサ48等の光学系の劣化や汚れ等があり、適切
なシェーディング補正精度を得ることができないと判断
して、その旨を操作パネル30のディスプレイに表示出
力し、また、必要なときには、警告音を発生させて、警
告を行って、シェーディング補正精度判定処理を終了す
る(ステップP18)。
Even though the white reference data was redone and shading correction processing was performed to eliminate the influence of noise and the like, the binarization threshold Th was gradually increased to check the shading correction accuracy. In step P15, when the correction accuracy determination level LV cannot be obtained and the upper limit TH of the number of white reference data collection times is exceeded, the system control unit 21 causes the light source 45, the white reference plate 44, the mirror 46, or the lens. It is judged that the appropriate shading correction accuracy cannot be obtained due to deterioration or dirt of the optical system such as 47 and the image sensor 48, and that fact is displayed and output on the display of the operation panel 30, and when necessary. , A warning sound is generated, a warning is given, and the shading correction accuracy determination processing ends (step P1). ).

【0136】上記ステップP15で、演算した補正精度
が補正精度判定レベルLVを越えているときには、シス
テム制御部21は、適切なシェーディング補正精度が得
られたと判断して、通常の原稿41の読取処理に移行し
て、シェーディング補正判定処理を終了する(ステップ
P19)。
In step P15, when the calculated correction accuracy exceeds the correction accuracy determination level LV, the system control unit 21 determines that the appropriate shading correction accuracy is obtained, and the normal reading process of the original 41 is performed. Then, the shading correction determination process ends (step P19).

【0137】このように、本実施の形態においては、白
基準データの採取を行った後、再度、白基準板44を読
み取って、図6及び図7に示すように、シェーディング
補正を行った各多値画像データVID(I)毎に、初期
2値化閾値UPTHを設定した2値化閾値Thと比較し
て、白画像データか黒画像データかを判定し、1ライン
全ての多値画像データVID(I)が白画像データであ
ると、上昇ステップαだけ2値化閾値Thを上げて、1
ラインの多値画像データVID(I)中に黒画像データ
が含まれるかチェックする。全ての多値画像データVI
D(I)が白画像データであると、さらに、再度、上昇
ステップαだけ2値化閾値Thを上げで同様にチェック
する。
As described above, in the present embodiment, after the white reference data is sampled, the white reference plate 44 is read again, and each shading correction is performed as shown in FIGS. 6 and 7. For each multi-valued image data VID (I), the initial binarization threshold UPTH is compared with a set binarization threshold Th to determine whether the image data is white image data or black image data, and the multi-valued image data for all one line. If VID (I) is white image data, the binarization threshold Th is increased by the increasing step α, and
It is checked whether black image data is included in the multi-valued image data VID (I) of the line. All multi-valued image data VI
If D (I) is white image data, the binarization threshold Th is increased again by the increasing step α and the same check is performed.

【0138】この場合、シェーディング補正精度が高い
場合には、白基準板44を読み込んだ多値画像データV
ID(I)には、黒画像データは含まれないはずである
ので、図6に示すように、例えば、2値化閾値Thとし
て初期2値化閾値UPTH+8αの上限近くまで黒画像
データは検出されないが、シェーディング補正精度が低
い場合には、例えば、図7に示すように、初期2値化閾
値UPTH+4α程度で黒画像データが出現する。
In this case, when the shading correction accuracy is high, the multivalued image data V read from the white reference plate 44 is read.
Since the black image data should not be included in ID (I), as shown in FIG. 6, black image data is not detected up to the upper limit of the initial binarization threshold UPTH + 8α as the binarization threshold Th, for example. However, when the shading correction accuracy is low, for example, as shown in FIG. 7, black image data appears at an initial binarization threshold UPTH + 4α.

【0139】この黒画像データの出現した時点のシェー
ディング補正精度を算出して、補正精度判定レベルLV
と比較することにより、シェーディング補正精度を判定
し、警告を発生するか、原稿41の読取処理を行うかを
決定している。
The shading correction accuracy at the time when this black image data appears is calculated, and the correction accuracy determination level LV is calculated.
By comparing with, the shading correction accuracy is determined, and it is determined whether a warning is generated or the reading process of the document 41 is performed.

【0140】したがって、シェーディング補正精度の判
定をより適切に、かつ、精度良く行うことができる。
Therefore, the judgment of the shading correction accuracy can be made more appropriately and accurately.

【0141】図8〜図11は、本発明の画像読取装置の
第3の実施の形態を示す図であり、本実施の形態は、白
基準データを採取した後に白基準板を走査した画像デー
タを2値化する閾値を順次下げて補正精度の判定を行う
ものである。
FIGS. 8 to 11 are views showing a third embodiment of the image reading apparatus of the present invention. In this embodiment, image data obtained by scanning the white reference plate after collecting the white reference data is shown. The threshold value for binarizing is sequentially decreased to determine the correction accuracy.

【0142】本実施の形態は、上記第1の実施の形態と
同様の実施の形態に適用したものであり、本実施の形態
の説明においては、第1の実施の形態で用いた符号をそ
のまま用いて、以下、説明する。
This embodiment is applied to an embodiment similar to the above-described first embodiment, and in the description of this embodiment, the reference numerals used in the first embodiment are used as they are. It will be described below by using.

【0143】本実施の形態においては、図8に示すよう
に、システム制御部21は、操作パネル30から読取指
示が行われると、各種初期設定を行うとともに、特に、
白基準データ採取回数をカウントするカウンタN及び1
ライン中の画素をカウントする画素カウンタIのカウン
ト値を初期化(N=0、I=0)し(ステップQ1)、
白基準データ採取回数の上限THを設定する(ステップ
Q2)。また、本実施の形態においても、1ライン分の
画素数が2048画素であるとして、以下説明する。
In the present embodiment, as shown in FIG. 8, the system control unit 21 makes various initial settings when a reading instruction is given from the operation panel 30, and particularly,
Counters N and 1 for counting the number of white reference data collections
The count value of the pixel counter I for counting the pixels in the line is initialized (N = 0, I = 0) (step Q1),
The upper limit TH of the number of white reference data collections is set (step Q2). Also in the present embodiment, the following description will be made assuming that the number of pixels for one line is 2048 pixels.

【0144】次に、システム制御部21は、順次2値化
閾値を下降させていく最上位の初期2値化閾値DWNT
H及び2値化閾値を下降させるステップ幅(下降ステッ
プ)αを設定し(ステップQ3)、操作パネル30で指
定された原稿読取モードを判定して(ステップQ4)、
この判定した原稿読取モードに対応した補正精度判定レ
ベルLVを設定する(ステップQ5)。
Next, the system control unit 21 sequentially lowers the binarization threshold value, and the highest initial binarization threshold value DWNT.
A step width (lowering step) α for lowering H and the binarization threshold value is set (step Q3), and the original reading mode designated by the operation panel 30 is determined (step Q4).
The correction accuracy determination level LV corresponding to the determined original reading mode is set (step Q5).

【0145】その後、システム制御部21は、光源45
を点灯し(ステップQ6)、まず、白基準データを取得
するために、白基準板44を走査して、白基準データを
ラインバッファ53に格納する(ステップQ7)。
After that, the system controller 21 controls the light source 45
Is turned on (step Q6), first, in order to acquire the white reference data, the white reference plate 44 is scanned and the white reference data is stored in the line buffer 53 (step Q7).

【0146】次に、システム制御部21は、図9に示す
ように、仮の2値化閾値Thとして上記ステップQ3で
設定した初期2値化閾値DWNTHを設定し(ステップ
Q8)、再度、白基準板44を走査させて、この白基準
板44を走査したときの画像データを多値画像データV
ID(I)としてラインバッファ22aに格納する(ス
テップQ9)。
Next, as shown in FIG. 9, the system control unit 21 sets the initial binarization threshold value DWNTH set in the above step Q3 as the temporary binarization threshold value Th (step Q8), and again sets the white binarization threshold value to white. The reference plate 44 is scanned, and the image data when the white reference plate 44 is scanned is converted into multi-valued image data V.
It is stored in the line buffer 22a as ID (I) (step Q9).

【0147】システム制御部21は、シェーディング補
正精度判定のために白基準板44を再走査すると、画素
カウンタIを1だけインクリメントして、当該画素カウ
ンタIの示している画素の多値画像データVID(I)
がステップQ8で設定した2値化閾値Thよりも小さい
か、すなわち、当該画素の多値画像データVID(I)
が2値化閾値Thよりも小さく黒画像データであるかど
うかチェックし(ステップQ11)、当該画素の多値画
像データVID(I)が2値化閾値Thを越えていると
きには、当該画素は白画像データであると判断して、画
素カウンタIが1ライン分(2048画素)カウントし
たかどうかチェックする(ステップQ12)。
When the white reference plate 44 is re-scanned to determine the shading correction accuracy, the system control unit 21 increments the pixel counter I by 1 and multivalued image data VID of the pixel indicated by the pixel counter I. (I)
Is smaller than the binarization threshold Th set in step Q8, that is, the multi-valued image data VID (I) of the pixel.
Is smaller than the binarization threshold Th and is black image data (step Q11), and when the multi-valued image data VID (I) of the pixel exceeds the binarization threshold Th, the pixel is white. It is determined that the data is image data, and it is checked whether the pixel counter I has counted one line (2048 pixels) (step Q12).

【0148】ステップQ12で、画素カウンタIが1ラ
イン分カウントしていないときには、ステップQ10に
戻って、上記同様に、画素カウンタIをインクリメント
して、次の画素について、同様に、当該画素の多値画像
データVID(I)が2値化閾値Thよりも小さいかチ
ェックする(ステップQ11)。
In step Q12, when the pixel counter I is not counting for one line, the process returns to step Q10, the pixel counter I is incremented in the same manner as above, and the next pixel is also counted in the same manner. It is checked whether the value image data VID (I) is smaller than the binarization threshold Th (step Q11).

【0149】上記処理を順次行って、1ラインの全ての
画素の多値画像データVID(I)が黒画像データであ
ると(ステップQ11、Q12)、2値化閾値Thを上
記下降ステップαだけ下げて(Th=Th−α)、画素
カウンタIを「0」にクリアした後(ステップQ1
3)、ステップP10に戻って、ラインバッファ22a
に格納されている多値画像データVID(I)を、上記
同様に、順次下降ステップαだけ下降させた2値化閾値
Thと比較する(ステップQ11)。
When the multi-valued image data VID (I) of all the pixels on one line is black image data by sequentially performing the above processing (steps Q11 and Q12), the binarization threshold Th is decreased by the lowering step α. After lowering (Th = Th−α) and clearing the pixel counter I to “0” (step Q1
3), returning to step P10, the line buffer 22a
Similarly, the multi-valued image data VID (I) stored in is compared with the binarization threshold Th that is sequentially lowered by the lowering step α (step Q11).

【0150】上記同様の処理を行って、途中に黒画像デ
ータが出現すると(ステップQ10〜Q12)、再度、
2値化閾値Thを下降ステップαだけ下降させるととも
に、画素カウンタIをクリアし(ステップQ13)、上
記と同様の処理を行う(ステップQ10〜ステップQ1
3)。
When black image data appears in the middle of the processing similar to the above (steps Q10 to Q12),
The binarization threshold Th is lowered by the lowering step α, the pixel counter I is cleared (step Q13), and the same processing as the above is performed (steps Q10 to Q1).
3).

【0151】上記処理を行って、1ライン中全ての多値
画像データVID(I)が白画像データであると、ステ
ップQ14に移行して、その時のシェーディング補正精
度を算出し(ステップQ14)、当該算出したシェーデ
ィング補正精度が上記ステップQ5で設定した補正精度
判定レベルLVを越えているかチェックする(ステップ
Q15)。
When all the multi-valued image data VID (I) in one line are white image data by performing the above processing, the process proceeds to step Q14, and the shading correction accuracy at that time is calculated (step Q14). It is checked whether the calculated shading correction accuracy exceeds the correction accuracy determination level LV set in step Q5 (step Q15).

【0152】ステップQ15で、算出したシェーディン
グ補正精度が補正精度判定レベルLVを越えていないと
きには、システム制御部21は、白基準データ採取回数
をカウントするカウンタNをインクリメントして(ステ
ップQ16)、このインクリメントしたカウンタNが、
上記ステップQ2で設定された白基準データ採取回数の
上限THを越えたかチェックする(ステップQ17)。
When the calculated shading correction accuracy does not exceed the correction accuracy determination level LV in step Q15, the system control unit 21 increments the counter N for counting the number of white reference data collections (step Q16). The incremented counter N is
It is checked whether the upper limit TH of the number of white reference data collections set in the above step Q2 is exceeded (step Q17).

【0153】ステップQ17で、カウンタNのカウント
数が白基準データ採取回数の上限THを越えていないと
きには、システム制御部21は、予め設定された白基準
採取回数まで白基準データの採取を行っていないと判断
して、図8のステップQ7に戻って、白基準データの採
取から上記同様の処理を行い、白基準データを採取する
と、再度、図9に示すように、初期2値化閾値DWNT
Hを2値化閾値Thとしてセットした後(ステップQ
8)、白基準板44を再度走査して(ステップQ9)、
上記同様に、各多値画像データVID(I)について2
値化閾値Thよりも小さいかどうか、すなわち、黒画像
データが含まれているかどうかチェックする(ステップ
Q11)。
In step Q17, when the count number of the counter N does not exceed the upper limit TH of the number of white reference data collections, the system control unit 21 collects the white reference data up to the preset number of white reference data collections. If not, the process returns to step Q7 in FIG. 8 and the same processing as above is performed from the collection of the white reference data. When the white reference data is collected, the initial binarization threshold value DWNT is again displayed as shown in FIG.
After setting H as the binarization threshold Th (step Q
8), scan the white reference plate 44 again (step Q9),
Similarly to the above, 2 for each multi-valued image data VID (I)
It is checked whether it is smaller than the threshold value Th, that is, whether black image data is included (step Q11).

【0154】上記処理を1ライン分の多値画像データV
ID(I)について行って、1ライン中に黒画像データ
が含まれているときには(ステップQ10〜Q12)、
システム制御部21は、2値化閾値Thを下降ステップ
αだけ2値化閾値Thを下げて(ステップQ13)、上
記同様に、多値画像データVID(I)に黒画像データ
が含まれるかチェックし(ステップQ10〜Q12)、
1ライン中に黒画像データが出現しないときには、補正
精度を算出して(ステップQ14)、当該算出した補正
精度が補正精度判定レベルLVよりも高いかどうかチェ
ックする(ステップQ15)。
The above processing is performed for the multi-valued image data V for one line.
If ID (I) is included and black image data is included in one line (steps Q10 to Q12),
The system control unit 21 lowers the binarization threshold Th by the step of lowering the binarization threshold Th (step Q13), and in the same manner as above, checks whether the multi-valued image data VID (I) includes black image data. (Steps Q10 to Q12),
When black image data does not appear in one line, correction accuracy is calculated (step Q14), and it is checked whether the calculated correction accuracy is higher than the correction accuracy determination level LV (step Q15).

【0155】ステップQ15で、算出した補正精度が補
正精度判定レベルLVよりも低い場合には、システム制
御部21は、上記同様に、カウンタNをインクリメント
して、白基準データの採取回数の上限THを越えていな
いかチェックし(ステップQ17)、越えていないとき
には、ステップQ7に戻って上記同様の処理を行う(ス
テップQ7〜ステップQ17)。
In step Q15, when the calculated correction accuracy is lower than the correction accuracy determination level LV, the system control unit 21 increments the counter N in the same manner as described above to obtain the upper limit TH of the number of times of white reference data collection. Is checked (step Q17), and when not exceeded, the process returns to step Q7 and the same processing as described above is performed (steps Q7 to Q17).

【0156】白基準データの採取のやり直しやシェーデ
ィング補正処理を行ってノイズ等の影響を除外したにも
かかわらず、2値化閾値Thを徐々に下げていって、シ
ェーディング補正精度をチェックしたところ、ステップ
Q15において、補正精度判定レベルLVを得ることが
できないまま、白基準データの採取回数の上限THを越
えたときには、システム制御部21は、光源45や白基
準板44、あるいは、ミラー46やレンズ47及びイメ
ージセンサ48等の光学系の劣化や汚れ等があり、適切
なシェーディング補正精度を得ることができないと判断
して、その旨を操作パネル30のディスプレイに表示出
力し、また、必要なときには、警告音を発生させて、警
告を行って、シェーディング補正精度判定処理を終了す
る(ステップQ18)。
Even though the white reference data was redone and shading correction processing was performed to eliminate the influence of noise and the like, the binarization threshold Th was gradually lowered to check the shading correction accuracy. In step Q15, when the correction accuracy determination level LV cannot be obtained and the upper limit TH of the number of white reference data collection times is exceeded, the system control unit 21 causes the light source 45, the white reference plate 44, the mirror 46, or the lens. It is judged that the appropriate shading correction accuracy cannot be obtained due to deterioration or dirt of the optical system such as 47 and the image sensor 48, and that fact is displayed and output on the display of the operation panel 30, and when necessary. , A warning sound is generated, a warning is given, and the shading correction accuracy determination processing ends (step Q1). ).

【0157】上記ステップQ15で、演算した補正精度
が補正精度判定レベルLVを越えているときには、シス
テム制御部21は、適切なシェーディング補正精度が得
られたと判断して、通常の原稿41の読取処理に移行し
て、シェーディング補正判定処理を終了する(ステップ
Q19)。
When the calculated correction accuracy exceeds the correction accuracy determination level LV in step Q15, the system control unit 21 determines that the appropriate shading correction accuracy is obtained, and the normal reading process of the original 41 is performed. Then, the shading correction determination process ends (step Q19).

【0158】このように、本実施の形態においては、白
基準データの採取を行った後、再度、白基準板44を読
み取って、図10及び図11に示すように、シェーディ
ング補正を行った各多値画像データVID(I)毎に、
初期2値化閾値DWNTHを設定した2値化閾値Thと
比較して、白画像データか黒画像データかを判定し、1
ラインの中の多値画像データVID(I)に黒画像デー
タが含まれていると、下降ステップαだけ2値化閾値T
hを下げて、1ラインの多値画像データVID(I)中
に黒画像データが含まれるかチェックする。1ラインの
多値画像データVID(I)の中に黒画像データが含ま
れると、さらに、再度、下降ステップαだけ2値化閾値
Thを下げて同様にチェックする。
As described above, in this embodiment, after the white reference data is sampled, the white reference plate 44 is read again, and each shading correction is performed as shown in FIGS. 10 and 11. For each multi-valued image data VID (I),
The initial binarization threshold value DWNTH is compared with the set binarization threshold value Th to determine whether it is white image data or black image data, and 1
If the multi-valued image data VID (I) in the line includes black image data, the binarization threshold value T is decreased by the descending step α.
By lowering h, it is checked whether the black image data is included in the multi-valued image data VID (I) of one line. When the black image data is included in the multi-valued image data VID (I) of one line, the binarization threshold Th is further lowered by the descending step α and the same check is performed.

【0159】この場合、シェーディング補正精度が高い
場合には、白基準板44を読み込んだ多値画像データV
ID(I)には、黒画像データは含まれないはずである
ので、図10に示すように、例えば、2値化閾値Thと
して初期2値化閾値DWNTH−2αまで下げた時点で
黒画像データは検出されなくなるが、シェーディング補
正精度が低い場合には、例えば、図11に示すように、
初期2値化閾値DWNTH−6α程度まで2値化閾値T
hを下げてはじめて黒画像データが検出されなくなる。
In this case, when the shading correction accuracy is high, the multivalued image data V read from the white reference plate 44 is read.
Since the black image data should not be included in the ID (I), as shown in FIG. 10, for example, the black image data is reduced when the binarization threshold Th is lowered to the initial binarization threshold DWNTH-2α. Is not detected, but when the shading correction accuracy is low, for example, as shown in FIG.
Binarization threshold value T up to the initial binarization threshold value DWNTH-6α
Black image data cannot be detected until h is lowered.

【0160】この黒画像データの検出されなくなった時
点のシェーディング補正精度を算出して、補正精度判定
レベルLVと比較することにより、シェーディング補正
精度を判定し、警告を発生するか、原稿41の読取処理
を行うかを決定している。
The shading correction accuracy at the time when the black image data is no longer detected is calculated and compared with the correction accuracy determination level LV to determine the shading correction accuracy and issue a warning or read the original 41. It is decided whether to process.

【0161】したがって、シェーディング補正精度の判
定をより適切に、かつ、2値化閾値Thを上昇させてい
く場合に比較して、光学系の劣化が進んでいないときに
は、シェーディング補正精度の判定をより速やかに行う
ことができる。
Therefore, as compared with the case where the binarization threshold Th is increased more appropriately in the judgment of the shading correction accuracy, the judgment of the shading correction accuracy can be made more when the deterioration of the optical system has not progressed. Can be done promptly.

【0162】図12及び図13は、本発明の画像読取装
置の第4の実施の形態を示す図であり、本実施の形態
は、再度白基準板を走査した画像データの1ライン中に
黒画像データが含まれるか、また、黒画像データがいく
つ含まれるかをハードウェアで検出するものである。
FIGS. 12 and 13 are views showing a fourth embodiment of the image reading apparatus of the present invention. In the present embodiment, a black line is blacked in one line of the image data obtained by scanning the white reference plate again. The hardware detects whether image data is included and how many black image data is included.

【0163】本実施の形態は、上記第1の実施の形態と
同様のファクシミリ装置に適用したものであり、本実施
の形態の説明においては、上記図1に用いた符号をその
まま用いて、以下、説明する。
This embodiment is applied to the same facsimile machine as that of the first embodiment, and in the description of this embodiment, the reference numerals used in FIG. ,explain.

【0164】図12において、本実施の形態のファクシ
ミリ装置1は、そのスキャナ24に黒画素検出・計数回
路60が組み込まれており、黒画素検出・計数回路60
は、アンド回路61、カウンタ62及びホストインター
フェイス(HOST I/F)63等を備えている。
In FIG. 12, the facsimile device 1 according to the present embodiment has a black pixel detecting / counting circuit 60 incorporated in its scanner 24.
Includes an AND circuit 61, a counter 62, a host interface (HOST I / F) 63, and the like.

【0165】アンド回路61には、上記図2のディジタ
ル画像処理回路54により2値化された2値化データB
IDATが入力され、この2値化データBIDATは、
ホストインターフェイス63及びバス63を介してシス
テムメモリ22aに転送される。
The AND circuit 61 stores in the binarized data B binarized by the digital image processing circuit 54 of FIG.
IDAT is input, and this binary data BIDAT is
The data is transferred to the system memory 22a via the host interface 63 and the bus 63.

【0166】アンド回路(判別回路)61には、さら
に、画素データの転送同期クロックである画素同期クロ
ックELCKが入力され、この画素同期クロックELC
Kに同期してディジタル画像処理回路54から2値化デ
ータBIDATがアンド回路61及びホストインターフ
ェイス63に転送される。
A pixel synchronizing clock ELCK which is a pixel data transfer synchronizing clock is further input to the AND circuit (discriminating circuit) 61, and this pixel synchronizing clock ELC is inputted.
In synchronization with K, the binarized data BIDAT is transferred from the digital image processing circuit 54 to the AND circuit 61 and the host interface 63.

【0167】そして、この画素同期クロックELCK
は、図13に示すように、画素データの転送タイミング
でハイレベル「1」となる信号であり、また、2値化デ
ータBIDATは、白画像データのとき「0」で、黒画
像データのとき「1」となるデータである。
Then, this pixel synchronization clock ELCK
13 is a signal that becomes a high level “1” at the transfer timing of pixel data, and the binarized data BIDAT is “0” for white image data and black signal data. The data is “1”.

【0168】アンド回路61は、画素同期クロックEL
CKのタイミングで転送されてくる2値化データBID
ATが黒画像データ、すなわち、「1」のとき、その立
ち上がりエッジで、「1」となる黒信号をカウンタ62
に出力する。
The AND circuit 61 uses the pixel synchronization clock EL.
Binary data BID transferred at CK timing
When the AT is black image data, that is, "1", the black signal which becomes "1" at the rising edge of the AT is counted by the counter 62.
Output to

【0169】カウンタ62は、アンド回路61から入力
される「1」の黒信号をカウントして、そのカウント結
果をホストインターフェイス63を介してシステム制御
部21に出力する。
The counter 62 counts the black signal of “1” input from the AND circuit 61 and outputs the count result to the system control unit 21 via the host interface 63.

【0170】このカウンタ62には、図13に示すライ
ン同期信号LNSYCがそのリセット端子Rに入力され
ており、カウンタ62は、このライン同期信号LNSY
Cによりそのカウント値がクリアされる。
The line synchronizing signal LNSYC shown in FIG. 13 is input to the reset terminal R of the counter 62, and the counter 62 receives the line synchronizing signal LNSY.
The count value is cleared by C.

【0171】したがって、黒画素検出・計数回路60
は、1ライン中の黒画像データの有無を検出するととも
に、1ライン中の黒画像データを計数して、その検出結
果及び係数結果をシステム制御部21に出力する。
Therefore, the black pixel detecting / counting circuit 60
Detects the presence or absence of black image data in one line, counts the black image data in one line, and outputs the detection result and the coefficient result to the system control unit 21.

【0172】すなわち、黒画素検出・計数回路60は、
図13に示すように、画素同期クロックELCKに同期
してディジタル画像処理回路54から転送されるディジ
タル画像処理回路54の2値化した2値化データBID
ATに黒画像データがあると、この黒画像データをアン
ド回路61で検出し、ライン同期信号LNSYCが入力
されてから次にライン同期信号LNSYCが入力される
までの1ラインの間のアンド回路61の検出した黒画像
データを、順次カウンタ62がカウントしてホストイン
ターフェイス63を介してシステム制御部21に出力す
る。
That is, the black pixel detecting / counting circuit 60 is
As shown in FIG. 13, the binarized binarized data BID of the digital image processing circuit 54 transferred from the digital image processing circuit 54 in synchronization with the pixel synchronization clock ELCK.
If the AT has black image data, the AND circuit 61 detects the black image data, and the AND circuit 61 for one line from the input of the line synchronization signal LNSYC to the input of the next line synchronization signal LNSYC. The detected black image data is sequentially counted by the counter 62 and output to the system control unit 21 via the host interface 63.

【0173】したがって、システム制御部21は、上記
各実施の形態と同様に、白基準データを採取するために
白基準板44を読み取った後、再度、白基準板44を読
み取って、最初に白基準板44を読み取ったときの白基
準データに基づいて、再度白基準板44を読み取ったと
きの画像データをシェーディング補正を行った後、ディ
ジタル画像処理回路54に所定の2値化閾値で2値化さ
せ、このディジタル画像処理回路54の2値化した2値
化データBIDATを黒画素検出・計数回路60により
検出・計数することにより、システム制御部21がシェ
ーディング補正精度の判定を行う。
Therefore, the system control unit 21 reads the white reference plate 44 again in order to collect the white reference data, and then reads the white reference plate 44 again in the same manner as in each of the above-described embodiments. After the shading correction is performed on the image data when the white reference plate 44 is read again based on the white reference data when the reference plate 44 is read, the digital image processing circuit 54 is binarized with a predetermined binarization threshold value. The binarized data BIDAT of this digital image processing circuit 54 is detected and counted by the black pixel detection / counting circuit 60, and the system control unit 21 determines the shading correction accuracy.

【0174】その結果、システム制御部21の負担を軽
減しつつ、高速にシェーディング補正精度の判定を行う
ことができる。
As a result, it is possible to quickly determine the shading correction accuracy while reducing the load on the system control unit 21.

【0175】図14〜図15は、本発明の画像読取装置
の第5の実施の形態を示す図であり、本実施の形態は、
再度白基準板を走査した画像データを2値化閾値を順次
上げながら2値化して、この2値化した画像データの1
ライン中に黒画像データがあるかどうかをソフトフェア
で検出するものである。
14 to 15 are views showing an image reading apparatus according to a fifth embodiment of the present invention. This embodiment will be described below.
The image data obtained by scanning the white reference plate again is binarized while sequentially increasing the binarization threshold value, and 1 of the binarized image data is obtained.
The software detects whether there is black image data in the line.

【0176】本実施の形態は、上記第1の実施の形態と
同様の実施の形態に適用したものであり、本実施の形態
の説明においては、上記第1の実施の形態で用いた符号
をそのまま用いて説明する。
This embodiment is applied to an embodiment similar to the above-mentioned first embodiment, and in the description of this embodiment, the reference numerals used in the above-mentioned first embodiment are used. The description will be given as it is.

【0177】本実施の形態においては、図14に示すよ
うに、システム制御部21は、操作パネル30から読取
指示が行われると、各種初期設定を行うとともに、特
に、カウンタN及び画素カウンタIのカウント値を初期
化(N=0、I=0)し(ステップR1)、白基準デー
タ採取回数上限THの設定及び初期2値化閾値UPTH
と上昇ステップαを設定する(ステップR2)。また、
本実施の形態においても、1ライン分の画素数が204
8画素であるとして、以下説明する。
In this embodiment, as shown in FIG. 14, when a reading instruction is issued from the operation panel 30, the system control unit 21 makes various initial settings, and particularly, the counter N and the pixel counter I. The count value is initialized (N = 0, I = 0) (step R1), the white reference data sampling frequency upper limit TH is set, and the initial binarization threshold UPTH is set.
And the rising step α is set (step R2). Also,
Also in this embodiment, the number of pixels for one line is 204
The following description will be given assuming that there are 8 pixels.

【0178】次に、システム制御部21は、操作パネル
30で指定された原稿読取モードの判定及びこの判定し
た原稿読取モードに対応した補正精度判定レベルLVの
設定を行い(ステップR3)、光源45を点灯して(ス
テップR4)、白基準板44を走査して、走査して得た
画像データを白基準データとしてラインバッファ53に
格納する(ステップR5)。
Next, the system controller 21 determines the original reading mode designated by the operation panel 30 and sets the correction accuracy determination level LV corresponding to the determined original reading mode (step R3), and the light source 45. Is turned on (step R4), the white reference plate 44 is scanned, and the image data obtained by scanning is stored in the line buffer 53 as white reference data (step R5).

【0179】次に、システム制御部21は、図15に示
すように、仮の2値化閾値Thとして上記ステップR2
で設定した初期2値化閾値UPTHを設定し(ステップ
R6)、再度、白基準板44を走査させて(ステップR
7)、この白基準板44を走査したときの画像データを
シェーディング補正回路52によりシェーディング補正
を行わせた後、2値化させてラインバッファ22aに2
値化画像データBID(I)として格納する(ステップ
R8)。
Next, as shown in FIG. 15, the system control section 21 sets the temporary binarization threshold Th as the above step R2.
The initial binarization threshold UPTH set in step S6 is set (step R6), and the white reference plate 44 is scanned again (step R6).
7) The image data when the white reference plate 44 is scanned is subjected to shading correction by the shading correction circuit 52, and then binarized to be stored in the line buffer 22a.
It is stored as the binarized image data BID (I) (step R8).

【0180】すなわち、システム制御部21は、再度、
白基準板44を走査させて、この白基準板44を走査し
たときの画像データをラインバッファ53内の白基準デ
ータに基づいてシェーディング補正回路52によりシェ
ーディング補正を行わせた後、ディジタル画像処理回路
54により上記2値化閾値Thで2値化させて、ライン
バッファ22aに2値化画像データBID(I)として
格納する。
That is, the system controller 21 again
The white reference plate 44 is scanned, and the image data when the white reference plate 44 is scanned is subjected to shading correction by the shading correction circuit 52 based on the white reference data in the line buffer 53, and then the digital image processing circuit. The data is binarized by the binarization threshold Th at 54 and stored as the binarized image data BID (I) in the line buffer 22a.

【0181】2値化画像データBID(I)のラインバ
ッファ22aへの転送が完了すると、システム制御部2
1は、画素カウンタIを1だけインクリメントして(ス
テップR9)、当該画素カウンタIの示している画素の
2値化画像データBID(I)が「1」であるかどう
か、すなわち、黒画像データであるかどうかチェックし
(ステップR10)、黒画像データでないときには、画
素カウンタIが1ライン分(2048画素)カウントし
たかどうかチェックする(ステップR11)。
When the transfer of the binarized image data BID (I) to the line buffer 22a is completed, the system control unit 2
1 increments the pixel counter I by 1 (step R9) to determine whether the binarized image data BID (I) of the pixel indicated by the pixel counter I is “1”, that is, the black image data. If it is not black image data, it is checked whether the pixel counter I has counted one line (2048 pixels) (step R11).

【0182】ステップR11で、システム制御部21
は、画素カウンタIが1ライン分カウントしていないと
きには、ステップR9に戻って、上記同様に、画素カウ
ンタIをインクリメントして(ステップR9)、次の2
値化画像データBID(I)について、同様に、黒画像
データかどうか(「1」かどうか)チェックする(ステ
ップR10)。
At step R11, the system control unit 21
Returns to step R9 when the pixel counter I does not count for one line, increments the pixel counter I in the same manner as described above (step R9), and executes the next 2
Similarly, the binarized image data BID (I) is checked whether it is black image data (whether it is "1") (step R10).

【0183】上記処理を順次行って、1ラインの全ての
画素の2値化画像データBID(I)が白画像データで
あると(ステップR9〜R11)、2値化閾値Thを上
記上昇ステップαだけ上げて、画素カウンタIを「0」
にクリアした後(ステップR12)、ステップR7に戻
って、白基準板44を再度走査して、シェーディング補
正及び2値化を行って、2値化画像データBID(I)
をラインバッファ22aに格納し(ステップR7〜ステ
ップR8)、ラインバッファ22aに格納した2値化画
像データBID(I)を、上記同様に、順次黒画像デー
タかどうかチェックする(ステップR9〜R11)。
If the binarized image data BID (I) of all the pixels in one line are white image data by performing the above-described processing sequentially (steps R9 to R11), the binarization threshold Th is increased by the above step α. The pixel counter I to "0"
(Step R12), the process returns to step R7, the white reference plate 44 is scanned again, shading correction and binarization are performed, and the binarized image data BID (I) is obtained.
Is stored in the line buffer 22a (steps R7 to R8), and the binary image data BID (I) stored in the line buffer 22a is sequentially checked as to whether it is black image data (steps R9 to R11). .

【0184】上記同様の処理を行って、全ての2値化画
像データBID(I)が白画像データであると(ステッ
プR9〜ステップR11)、再度、2値化閾値Thを上
昇ステップαだけ上昇させるとともに、画素カウンタI
をクリアし(ステップR12)、上記同様の処理を行う
(ステップR9〜ステップR11)。
When all the binarized image data BID (I) are white image data by performing the same processing as described above (steps R9 to R11), the binarization threshold Th is again raised by the step α. Pixel counter I
Is cleared (step R12), and the same processing as described above is performed (steps R9 to R11).

【0185】上記処理を行って、ステップR10におい
て、黒画像データが出現すると、ステップR13に移行
して、その時のシェーディング補正精度を算出し(ステ
ップR13)、当該算出したシェーディング補正精度が
上記ステップR3で設定した補正精度判定レベルLVを
越えているかチェックする(ステップR14)。
When black image data appears in step R10 after performing the above processing, the process proceeds to step R13, the shading correction accuracy at that time is calculated (step R13), and the calculated shading correction accuracy is calculated in step R3. It is checked whether or not the correction accuracy determination level LV set in step 3 is exceeded (step R14).

【0186】ステップR14で、算出したシェーディン
グ補正精度が補正精度判定レベルLVを越えていないと
きには、システム制御部21は、白基準データ採取回数
をカウントするカウンタNをインクリメントして(ステ
ップR15)、このインクリメントしたカウンタNが、
上記ステップR2で設定された白基準データ採取回数の
上限THを越えたか、すなわち、予め設定された白基準
データ採取回数の上限THまで白基準データの採取を行
ったかチェックする(ステップR16)。
When the calculated shading correction accuracy does not exceed the correction accuracy determination level LV in step R14, the system control unit 21 increments the counter N for counting the number of white reference data collections (step R15). The incremented counter N is
It is checked whether the upper limit TH of the number of white reference data collections set in step R2 has been exceeded, that is, whether the white reference data has been collected up to the preset upper limit TH of the number of white reference data collections (step R16).

【0187】ステップR16で、カウンタNのカウント
数が白基準データ採取回数の上限THを越えていないと
きには、システム制御部21は、図14のステップR5
に戻って、白基準データの採取から上記同様の処理を行
い、白基準データを採取すると、再度、図15に示すよ
うに、初期2値化閾値UPTHを2値化閾値Thとして
セットした後(ステップR6)、白基準板44を再度走
査して(ステップR7)、上記同様に、シェーディング
補正及び2値化して2値化画像データBID(I)とし
てラインバッファ22aに格納した後(ステップR
8)、1ライン分の2値化画像データBID(I)に黒
画像データが含まれているかどうかチェックする(ステ
ップR9〜ステップR11)。
At step R16, when the count number of the counter N does not exceed the upper limit TH of the number of white reference data collections, the system control section 21 causes the system control section 21 to perform step R5 of FIG.
15, the same processing as above is performed from the collection of the white reference data, and when the white reference data is collected, the initial binarization threshold UPTH is set again as the binarization threshold Th as shown in FIG. After the white reference plate 44 is scanned again (step R6) (step R7), the shading correction and binarization are performed and the binarized image data BID (I) is stored in the line buffer 22a as described above (step R7).
8) It is checked whether the binary image data BID (I) for one line includes black image data (steps R9 to R11).

【0188】1ライン分の2値化画像データBID
(I)に黒画像データが含まれていないときには(ステ
ップR9〜R11)、システム制御部21は、2値化閾
値Thを上昇ステップαだけ2値化閾値Thを上げて
(ステップR12)、上記同様に、白基準板44を走査
して、シェーディング補正及び2値化した2値化画像デ
ータBID(I)に黒画像データが含まれるかチェック
し(ステップR7〜R11)、ステップP11で、黒画
像データが出現すると、システム制御部21は、補正精
度を算出して(ステップR13)、当該算出した補正精
度が補正精度判定レベルLVよりも高いかどうかチェッ
クする(ステップR14)。
Binary image data BID for one line
When the black image data is not included in (I) (steps R9 to R11), the system control unit 21 raises the binarization threshold Th by the step α (step R12). Similarly, the white reference plate 44 is scanned to check whether black image data is included in the binarized image data BID (I) that has been subjected to shading correction and binarization (steps R7 to R11), and in step P11, black When the image data appears, the system control unit 21 calculates the correction accuracy (step R13) and checks whether the calculated correction accuracy is higher than the correction accuracy determination level LV (step R14).

【0189】ステップR14で、算出した補正精度が補
正精度判定レベルLVよりも低い場合には、システム制
御部21は、上記同様に、カウンタNをインクリメント
して、白基準データの採取回数の上限THを越えていな
いかチェックし(ステップR16)、越えていないとき
には、ステップR5に戻って上記同様の処理を行う(ス
テップR5〜ステップR16)。
In step R14, when the calculated correction accuracy is lower than the correction accuracy determination level LV, the system control unit 21 increments the counter N in the same manner as described above to obtain the upper limit TH of the number of times of white reference data collection. Is checked (step R16), and if not exceeded, the process returns to step R5 and the same processing as described above is performed (steps R5 to R16).

【0190】白基準データの採取のやり直しやシェーデ
ィング補正処理を行ってノイズ等の影響を除外したにも
かかわらず、2値化閾値Thを徐々に上げていって、シ
ェーディング補正精度をチェックしたところ、ステップ
R14において、補正精度判定レベルLVを得ることが
できないまま、白基準データの採取回数の上限THを越
えたときには、システム制御部21は、光学系の劣化や
汚れ等があり、適切なシェーディング補正精度を得るこ
とができないと判断して、その旨を操作パネル30のデ
ィスプレイに表示出力し、また、必要なときには、警告
音を発生させて、警告を行って、シェーディング補正精
度判定処理を終了する(ステップR17)。
Even though the white reference data was redone and shading correction processing was performed to eliminate the influence of noise and the like, the binarization threshold Th was gradually increased to check the shading correction accuracy. In step R14, when the upper limit TH of the number of times white reference data is collected is exceeded without obtaining the correction accuracy determination level LV, the system control unit 21 determines that the shading correction is appropriate because the optical system is deteriorated or soiled. When it is determined that the accuracy cannot be obtained, the fact is displayed and output on the display of the operation panel 30, and when necessary, a warning sound is generated and a warning is given to end the shading correction accuracy determination processing. (Step R17).

【0191】上記ステップR14で、演算した補正精度
が補正精度判定レベルLVを越えているときには、シス
テム制御部21は、適切なシェーディング補正精度が得
られたと判断して、通常の原稿41の読取処理に移行し
て、シェーディング補正判定処理を終了する(ステップ
R18)。
When the calculated correction accuracy exceeds the correction accuracy determination level LV in step R14, the system control unit 21 determines that the appropriate shading correction accuracy has been obtained, and the normal reading process of the original 41 is performed. Then, the shading correction determination process ends (step R18).

【0192】このように、本実施の形態においては、白
基準データの採取を行った後、再度、白基準板44を読
み取って、シェーディング補正及び2値化した2値化画
像データBID(I)毎に、白画像データか黒画像デー
タかを判定し、1ライン全ての2値化画像データBID
(I)が白画像データであると、上昇ステップαだけ2
値化閾値Thを上げて、再度白基準板44を走査して、
シェーディング補正及び2値化した1ラインの2値化画
像データBID(I)中に黒画像データが含まれるかチ
ェックする。全ての2値化画像データBID(I)が白
画像データであると、さらに、再度、上昇ステップαだ
け2値化閾値Thを上げで同様にチェックする。
As described above, in this embodiment, after the white reference data is sampled, the white reference plate 44 is read again to perform shading correction and binarized image data BID (I). Each time, it is judged whether the image data is white image data or black image data, and the binarized image data BID of all one line
If (I) is white image data, only the ascending step α is 2
Raise the threshold value Th, scan the white reference plate 44 again,
It is checked whether or not black image data is included in the one-line binarized image data BID (I) that has been subjected to shading correction and binarization. If all the binarized image data BID (I) are white image data, the binarization threshold Th is increased again by the ascending step α, and the same check is performed.

【0193】したがって、大がかりなハードウェアの変
更を行うことなく、ソフトウェア処理によりシェーディ
ング補正精度の判定をより適切に、かつ、精度良く行う
ことができ、シェーディング補正精度の判定を行うこと
のできるファクシミリ装置1を安価に提供することがで
きる。特に、本実施の形態でシェーディング補正精度の
判定処理に使用しているスキャナ24内の各回路及びラ
インバッファ22aは、通常のファクシミリ装置が予め
備えているものであり、特に、新たなハードウェアの追
加を行うことなく、シェーディング補正精度の判定を行
うことができる。
Therefore, the facsimile apparatus can judge the shading correction accuracy more appropriately and accurately by the software processing without making a large-scale hardware change, and can judge the shading correction accuracy. 1 can be provided at low cost. In particular, the circuits in the scanner 24 and the line buffer 22a used in the determination processing of the shading correction accuracy in the present embodiment are provided in advance in a normal facsimile apparatus, and in particular, new hardware The shading correction accuracy can be determined without any addition.

【0194】図16〜図18は、本発明の画像読取装置
の第6の実施の形態を示す図であり、本実施の形態は、
再度白基準板を走査した画像データを閾値を順次上げな
がら2値化して、この2値化した画像データの1ライン
中に黒画像データがあるかどうかにより、光学系のゴミ
やキズと光学系の劣化とを区別して判断するものであ
る。
16 to 18 are diagrams showing a sixth embodiment of the image reading apparatus of the present invention.
Image data obtained by scanning the white reference plate again is binarized while sequentially increasing the threshold value, and dust or scratches in the optical system are detected depending on whether there is black image data in one line of the binarized image data. The judgment is made by distinguishing it from the deterioration.

【0195】本実施の形態は、上記第1の実施の形態と
同様の実施の形態に適用したものであり、本実施の形態
の説明においては、上記第1の実施の形態で用いた符号
をそのまま用いて説明する。
This embodiment is applied to an embodiment similar to the above-described first embodiment, and in the description of this embodiment, the reference numerals used in the above-mentioned first embodiment are used. The description will be given as it is.

【0196】本実施の形態においては、図16に示すよ
うに、システム制御部21は、操作パネル30から読取
指示が行われると、各種初期設定を行うとともに、特
に、カウンタN、画素カウンタIのカウント値、黒画素
数をカウントするカウンタMのカウント値及びライン数
(局所領域で黒画像データが検出されたライン数)をカ
ウントするカウンタLを初期化(N=0、I=0、M=
0、L=0)し(ステップT1)、白基準データ採取回
数上限TH1の設定、光学系ゴミ・キズ判定回数TH
2、初期2値化閾値UPTH及び上昇ステップαを設定
する(ステップT2)。また、本実施の形態において
も、1ライン分の画素数が2048画素であるとして、
以下説明する。
In the present embodiment, as shown in FIG. 16, the system control unit 21 makes various initial settings when a reading instruction is given from the operation panel 30, and particularly, the counter N and the pixel counter I. Initialize the count value, the count value of the counter M that counts the number of black pixels, and the counter L that counts the number of lines (the number of lines where black image data is detected in the local area) (N = 0, I = 0, M =
0, L = 0) (step T1), setting of white reference data sampling frequency upper limit TH1, optical system dust / scratch determination frequency TH
2. Set initial binarization threshold UPTH and rising step α (step T2). Also in the present embodiment, assuming that the number of pixels for one line is 2048 pixels,
This will be described below.

【0197】次に、システム制御部21は、操作パネル
30で指定された原稿読取モードの判定及びこの判定し
た原稿読取モードに対応した補正精度判定レベルLVの
設定を行い(ステップT3)、光源45を点灯して(ス
テップT4)、白基準板44を走査して、走査して得た
画像データを白基準データとしてラインバッファ53に
格納する(ステップT5)。
Next, the system control unit 21 determines the original reading mode designated by the operation panel 30 and sets the correction accuracy determination level LV corresponding to the determined original reading mode (step T3), and the light source 45. Is turned on (step T4), the white reference plate 44 is scanned, and the image data obtained by scanning is stored in the line buffer 53 as white reference data (step T5).

【0198】次に、システム制御部21は、図17に示
すように、仮の2値化閾値Thとして上記ステップT2
で設定した初期2値化閾値UPTHを設定し(ステップ
T6)、再度、白基準板44を走査させて、この白基準
板44を走査したときの画像データをシェーディング補
正回路52によりシェーディング補正を行わせた後、デ
ィジタル画像処理回路54で2値化させてラインバッフ
ァ22aに2値化画像データBID(I)として格納す
る(ステップT8)。
Next, as shown in FIG. 17, the system control unit 21 sets the temporary binarization threshold Th as step T2.
The initial binarization threshold UPTH set in step S6 is set (step T6), the white reference plate 44 is scanned again, and the shading correction circuit 52 performs shading correction on the image data when the white reference plate 44 is scanned. Then, it is binarized by the digital image processing circuit 54 and stored in the line buffer 22a as binarized image data BID (I) (step T8).

【0199】2値化画像データBID(I)のラインバ
ッファ22aへの転送が完了すると、システム制御部2
1は、画素カウンタIを1だけインクリメントして(ス
テップT9)、当該画素カウンタIの示している画素の
2値化画像データBID(I)が「1」であるかどう
か、すなわち、黒画像データであるかどうかチェックし
(ステップT10)、黒画像データであるときには、当
該黒画像データの出現位置を示す画素カウンタIの値を
保持して、カウンタMをインクリメントして(ステップ
T11)、画素カウンタIが1ライン分(2048画
素)カウントしたかどうかチェックする(ステップT1
2)。この画素カウンタIの値は、例えば、システムメ
モリ22に保持される。
When the transfer of the binarized image data BID (I) to the line buffer 22a is completed, the system control unit 2
1 increments the pixel counter I by 1 (step T9) to determine whether the binarized image data BID (I) of the pixel indicated by the pixel counter I is “1”, that is, the black image data. Is checked (step T10), and if it is black image data, the value of the pixel counter I indicating the appearance position of the black image data is held and the counter M is incremented (step T11). It is checked whether I has counted one line (2048 pixels) (step T1).
2). The value of the pixel counter I is held in the system memory 22, for example.

【0200】ステップT10で、画素カウンタIの示し
ている画素の2値化画像データBID(I)が「1」で
ないとき、すなわち、白画像データであるときには、当
該画素カウンタIの値の保持及びカウンタMのインクリ
メントを行うことなく、ステップT12に移行して、画
素カウンタIが1ライン分カウントしたかどうかチェッ
クする(ステップT12)。
At step T10, when the binary image data BID (I) of the pixel indicated by the pixel counter I is not "1", that is, when it is white image data, the value of the pixel counter I is held and Without incrementing the counter M, the process proceeds to step T12, and it is checked whether or not the pixel counter I has counted one line (step T12).

【0201】ステップT12で、画素カウンタIが1ラ
イン分カウントしていないときには、ステップT9に戻
って、画素カウンタIをインクリメントして(ステップ
T9)、次の2値化画像データBID(I)について、
同様に、黒画像データかどうか(「1」かどうか)チェ
ックする(ステップT10)。
At step T12, when the pixel counter I is not counting for one line, the process returns to step T9, the pixel counter I is incremented (step T9), and the next binary image data BID (I) is obtained. ,
Similarly, it is checked whether it is black image data (whether it is "1") (step T10).

【0202】システム制御部21は、上記処理を順次行
って、1ラインの全ての画素の2値化画像データBID
(I)について黒画像データか白画像データかを判定し
て、黒画像データについては、その黒画像データの画素
カウンタIの値及びカウンタMのインクリメントを行い
(ステップT11)、白画像データについては、画素カ
ウンタIの値及びカウンタMのインクリメントを行うこ
となく、ステップT12に移行して、1ライン分の処理
が終了したかチェックし(ステップT12)、ステップ
T12で、1ライン分の処理を終了すると、カウンタM
のカウント値が正(M>0)かどうか、すなわち、1ラ
イン中の2値化画像データBID(I)に黒画像データ
が存在したかどうかチェックする(ステップT13)。
The system control section 21 sequentially performs the above-mentioned processing to carry out the binarized image data BID of all the pixels on one line.
For (I), it is determined whether the image data is black image data or white image data, and for black image data, the value of the pixel counter I of the black image data and the counter M are incremented (step T11). , The value of the pixel counter I and the counter M are not incremented, the process proceeds to step T12 to check whether the processing for one line is completed (step T12), and the processing for one line is completed at step T12. Then, the counter M
Is positive (M> 0), that is, whether there is black image data in the binarized image data BID (I) in one line (step T13).

【0203】ステップT13で、1ライン中の2値化画
像データBID(I)に黒画像データが存在しなかった
場合には、2値化閾値Thを上記上昇ステップαだけ上
げて、画素カウンタIを「0」にクリアした後(ステッ
プT14)、ステップT7に戻って、白基準板44を再
度走査して、シェーディング補正及び2値化を行って、
2値化画像データBID(I)をラインバッファ22a
に格納し(ステップT7、T8)、ラインバッファ22
aに格納した2値化画像データBID(I)を、上記同
様に、順次黒画像データかどうかチェックして、黒画像
データであるときには、当該黒画像データの発生した画
素カウンタIの値を保持するとともに、カウンタMをイ
ンクリメントし、また、黒画像データでないときには、
そのままステップT12に移行して、1ライン分の処理
を行ったかチェックする(ステップT9〜T12)。
At step T13, when the black image data does not exist in the binarized image data BID (I) in one line, the binarization threshold Th is increased by the ascending step α and the pixel counter I Is cleared to "0" (step T14), the process returns to step T7, the white reference plate 44 is scanned again to perform shading correction and binarization,
The binarized image data BID (I) is transferred to the line buffer 22a.
To the line buffer 22 (steps T7 and T8).
The binary image data BID (I) stored in a is sequentially checked for black image data in the same manner as above, and if it is black image data, the value of the pixel counter I at which the black image data is generated is held. In addition, the counter M is incremented, and when it is not black image data,
The process proceeds to step T12 as it is, and it is checked whether the processing for one line has been performed (steps T9 to T12).

【0204】上記同様の処理を行って、全ての2値化画
像データBID(I)が白画像データで、ステップT1
3でMが正でないときには、再度、2値化閾値Thを上
昇ステップαだけ上昇させるとともに、画素カウンタI
をクリアし(ステップT14)、上記と同様の処理を行
う(ステップT7〜ステップT13)。
By performing the same processing as described above, all the binary image data BID (I) are white image data, and step T1
When M is not positive in 3, the binarization threshold Th is again increased by the increasing step α and the pixel counter I
Is cleared (step T14), and the same processing as described above is performed (steps T7 to T13).

【0205】上記処理を行って、ステップT13におい
て、1ライン分の2値化画像データBID(I)中に黒
画像データが出現してカウンタMが正であると、ステッ
プT15に移行して、その時のシェーディング補正精度
を算出し(ステップT15)、図18に示すように、当
該算出したシェーディング補正精度が上記図16のステ
ップT3で設定した補正精度判定レベルLVを越えてい
るかチェックする(ステップT16)。
When the above processing is performed and if the black image data appears in the binarized image data BID (I) for one line and the counter M is positive in step T13, the process proceeds to step T15, The shading correction accuracy at that time is calculated (step T15), and as shown in FIG. 18, it is checked whether the calculated shading correction accuracy exceeds the correction accuracy determination level LV set in step T3 of FIG. 16 (step T16). ).

【0206】ステップT16で、算出したシェーディン
グ補正精度が補正精度判定レベルLVを越えていないと
きには、システム制御部21は、局所領域で黒画像デー
タが再検出されたかどうかチェックする(ステップT1
7)。
When the calculated shading correction accuracy does not exceed the correction accuracy determination level LV in step T16, the system control unit 21 checks whether or not the black image data is re-detected in the local area (step T1).
7).

【0207】すなわち、システム制御部21は、上記ス
テップT11で保持した画素カウンタIの値が所定数連
続しているかどうかにより、局所領域で黒画像データが
再検出されたかどうか判別している。
That is, the system control unit 21 determines whether or not the black image data is re-detected in the local area depending on whether or not the value of the pixel counter I held in step T11 is continuous for a predetermined number.

【0208】ステップT17で、黒画像データが局所領
域で再検出されていないときには、白基準データ採取回
数をカウントするカウンタNをインクリメントして(ス
テップT18)、このインクリメントしたカウンタN
が、上記図16のステップT2で設定された白基準デー
タ採取回数の上限TH1を越えたか、すなわち、予め設
定された白基準データ採取回数の上限TH1まで白基準
データの採取を行ったかチェックする(ステップT1
9)。
At step T17, when the black image data is not detected again in the local area, the counter N for counting the number of white reference data samplings is incremented (step T18), and the incremented counter N is counted.
However, it is checked whether the white reference data collection number upper limit TH1 set in step T2 of FIG. 16 has been exceeded, that is, whether white reference data has been collected up to a preset white reference data collection number upper limit TH1 ( Step T1
9).

【0209】ステップT19で、カウンタNのカウント
数が白基準データ採取回数の上限TH1を越えていない
ときには、システム制御部21は、予め設定された白基
準採取回数まで白基準データの採取を行っていないと判
断して、図16のステップT5に戻って、白基準データ
の採取から上記同様の処理を行い、白基準データを採取
すると、再度、図17に示すように、初期2値化閾値U
PTHを2値化閾値Thとしてセットした後(ステップ
T6)、白基準板44を再度走査して(ステップT
7)、上記同様に、シェーディング補正及び2値化して
2値化画像データBID(I)としてラインバッファ2
2aに格納した後(ステップT8)、1ライン分の2値
化画像データBID(I)に黒画像データデータが含ま
れているかどうか、含まれている場合には、当該黒画像
データの存在した画素カウンタIの値を保持するととも
に、出現回数をカウントするカウンタMをインクリメン
トして、1ライン分の処理を行ったかチェックする(ス
テップT9〜ステップT12)。
At step T19, when the count number of the counter N does not exceed the upper limit TH1 of the number of white reference data collections, the system control unit 21 collects the white reference data up to the preset number of white reference data collections. If it is determined that the white reference data is not obtained, the process returns to step T5 of FIG. 16 and the same processing is performed from the collection of the white reference data to collect the white reference data.
After PTH is set as the binarization threshold Th (step T6), the white reference plate 44 is scanned again (step T6).
7) Similarly to the above, shading correction and binarization are performed to obtain the line buffer 2 as the binarized image data BID (I).
After storing in 2a (step T8), whether or not the black image data data is included in the binary image data BID (I) for one line, and if it is included, the black image data exists. While holding the value of the pixel counter I, the counter M that counts the number of appearances is incremented to check whether processing for one line has been performed (steps T9 to T12).

【0210】1ライン分の処理を行って、当該1ライン
中の2値化画像データBID(I)に黒画像データが含
まれていないときには、システム制御部21は、2値化
閾値Thを上昇ステップαだけ2値化閾値Thを上げ
て、画素カウンタIをリセットした後(ステップT1
4)、上記同様に、白基準板44を走査して、シェーデ
ィング補正及び2値化した2値化画像データBID
(I)に黒画像データが含まれるかチェックし、含まれ
ているときには、その画素カウンタIの値の保持とカウ
ンタMのインクリメントを行う(ステップT9〜ステッ
プT12)。
When processing for one line is performed and the black image data is not included in the binarized image data BID (I) in the one line, the system control unit 21 raises the binarization threshold Th. After increasing the binarization threshold Th by step α and resetting the pixel counter I (step T1
4) Similarly to the above, the white reference plate 44 is scanned to perform shading correction and binarized binarized image data BID.
It is checked whether (I) includes black image data. If it is included, the value of the pixel counter I is held and the counter M is incremented (steps T9 to T12).

【0211】1ライン分の処理を行って、ステップT1
3で黒画像データが含まれていてカウンタMの値が正の
ときには、補正精度を算出して(ステップT15)、当
該算出した補正精度が補正精度判定レベルLVよりも高
いかどうかチェックする(ステップT16)。
After processing for one line, step T1
When the black image data is included in 3 and the value of the counter M is positive, the correction accuracy is calculated (step T15), and it is checked whether the calculated correction accuracy is higher than the correction accuracy determination level LV (step S15). T16).

【0212】ステップT16で、算出した補正精度が補
正精度判定レベルLVよりも低い場合には、システム制
御部21は、上記同様に、局所領域で黒画像データが再
検出されたかチェックし(ステップT17)、局所領域
で黒画像データが再検出されていないときには、カウン
タNをインクリメントして(ステップT18)、白基準
データの採取回数の上限TH1を越えていないかチェッ
クし(ステップT19)、越えていないときには、図1
6のステップT5に戻って上記同様の処理を行う(ステ
ップT5〜ステップステップT19)。
If the calculated correction accuracy is lower than the correction accuracy determination level LV in step T16, the system control unit 21 checks whether the black image data is re-detected in the local area in the same manner as described above (step T17). ), When the black image data is not detected again in the local area, the counter N is incremented (step T18), and it is checked whether or not the upper limit TH1 of the number of white reference data sampling times is exceeded (step T19). If not, then Figure 1
The process similar to the above is performed by returning to step T5 of step 6 (step T5 to step T19).

【0213】白基準データの採取のやり直しやシェーデ
ィング補正処理を行ってノイズ等の影響を除外したにも
かかわらず、2値化閾値Thを徐々に上げていって、シ
ェーディング補正精度をチェックしたところ、ステップ
T16において、補正精度判定レベルLVを得ることが
できないまま、局所領域で黒画像データの再検出が行わ
れないで、白基準データの採取回数の上限TH1を越え
たときには、システム制御部21は、光学系の劣化によ
るS/N比の低下であると判断して、その旨を操作パネ
ル30のディスプレイに表示出力する警告表示を行う
(ステップP20)。
Although the white reference data was redone and shading correction processing was performed to eliminate the influence of noise and the like, the binarization threshold Th was gradually increased to check the shading correction accuracy. In step T16, when the correction accuracy determination level LV cannot be obtained and the black image data is not re-detected in the local area and the upper limit TH1 of the number of white reference data collection times is exceeded, the system control unit 21 Then, it is determined that the S / N ratio is lowered due to the deterioration of the optical system, and a warning display is output to display that fact on the display of the operation panel 30 (step P20).

【0214】また、ステップT17で、局所領域で黒画
像データが再検出されたときには、システム制御部21
は、局所領域で黒画像データが検出されたライン数をカ
ウントするカウンタLをインクリメントして(ステップ
T21)、当該カウンタLのカウント数が上記図16の
ステップT2で設定した光学系ゴミ・キズ判定回数TH
2を越えているかチェックし(ステップT22)、カウ
ンタLのカウント数が光学系ゴミ・キズ判定回数TH2
を越えていないときには、ステップT18に移行して、
カウンタNをインクリメントした後(ステップT1
8)、白基準データの採取回数の上限TH1を越えてい
ないかチェックする(ステップT19)。ステップT1
9で、カウンタNの値が白基準データの採取回数の上限
TH1を越えていないときには、システム制御部21
は、図16のステップT5に戻って上記同様の処理を行
う(ステップT5〜ステップステップT19、ステップ
T21、T22)。
In step T17, when the black image data is re-detected in the local area, the system control unit 21
Increments a counter L that counts the number of lines in which black image data is detected in the local area (step T21), and the count number of the counter L is determined as the optical system dust / scratch determination set in step T2 of FIG. Number of times TH
It is checked whether the number exceeds 2 (step T22), and the count number of the counter L is the optical system dust / scratch determination number TH2.
If not, go to step T18,
After incrementing the counter N (step T1
8) It is checked whether or not the upper limit TH1 of the number of times of white reference data collection has been exceeded (step T19). Step T1
When the value of the counter N does not exceed the upper limit TH1 of the number of times white reference data is collected in 9, the system control unit 21
Returns to step T5 of FIG. 16 and performs the same processing as described above (step T5 to step T19, steps T21, T22).

【0215】ステップT22で、カウンタLのカウント
数が光学系ゴミ・キズ判定回数TH2を越えているとき
には、システム制御部21は、光学系にゴミやキズがあ
ると判断して、その旨の表示を操作パネル30ディスプ
レイに行う警告表示を行い、また、必要なときには、警
告音を発生させることにより、警告を行って、シェーデ
ィング補正精度判定処理を終了する(ステップT2
3)。
At step T22, when the count number of the counter L exceeds the optical system dust / scratch determination count TH2, the system control unit 21 determines that the optical system has dust or scratches, and displays a message to that effect. Is displayed on the display of the operation panel 30, and when necessary, a warning sound is generated to give a warning and the shading correction accuracy determination processing is ended (step T2).
3).

【0216】また、上記ステップT16で、演算した補
正精度が補正精度判定レベルLVを越えているときに
は、システム制御部21は、適切なシェーディング補正
精度が得られたと判断して、通常の原稿41の読取処理
に移行して、シェーディング補正判定処理を終了する
(ステップT24)。
When the calculated correction accuracy exceeds the correction accuracy determination level LV in step T16, the system control unit 21 determines that the appropriate shading correction accuracy is obtained, and the normal original 41 of the original 41 is read. The process shifts to the reading process, and the shading correction determination process ends (step T24).

【0217】このように、本実施の形態においては、白
基準データの採取を行った後、再度、白基準板44を読
み取って、シェーディング補正及び2値化した2値化画
像データBID(I)毎に、白画像データか黒画像デー
タかを判定し、1ライン全ての2値化画像データBID
(I)が白画像データであると、上昇ステップαだけ2
値化閾値Thを上げて、再度白基準板44を走査して、
シェーディング補正及び2値化した1ラインの2値化画
像データBID(I)中に黒画像データが含まれるかチ
ェックする。全ての2値化画像データBID(I)が白
画像データであると、さらに、再度、上昇ステップαだ
け2値化閾値Thを上げで同様にチェックする。
As described above, in this embodiment, after the white reference data is sampled, the white reference plate 44 is read again to perform shading correction and binarized image data BID (I). Each time, it is judged whether the image data is white image data or black image data, and the binarized image data BID of all one line
If (I) is white image data, only the ascending step α is 2
Raise the threshold value Th, scan the white reference plate 44 again,
It is checked whether or not black image data is included in the one-line binarized image data BID (I) that has been subjected to shading correction and binarization. If all the binarized image data BID (I) are white image data, the binarization threshold Th is increased again by the ascending step α, and the same check is performed.

【0218】そして、1ライン中の2値化画像データB
ID(I)に黒画像データが含まれており、補正精度が
補正精度判定レベルLVに達していないときには、所定
回数1ライン中の2値化画像データBID(I)に黒画
像データが含まれて、局所領域で黒画像データが再検出
されたかチェックし、局所領域で黒画像データが再検出
されなかったときには、光学系の劣化によるS/N比の
低下であると判断して、その旨の表示を行い、局所領域
で黒画像データが所定ライン連続して再検出されると、
光学系にゴミが付着しているか、キズが付いていると判
断して、その旨の警告表示を行う。
Binary image data B in one line
When the ID (I) contains black image data and the correction accuracy does not reach the correction accuracy determination level LV, the binary image data BID (I) in one line a predetermined number of times contains black image data. Then, it is checked whether the black image data is re-detected in the local area. If the black image data is not re-detected in the local area, it is determined that the S / N ratio is deteriorated due to the deterioration of the optical system, and that is Is displayed, and when the black image data is continuously re-detected in the local area for a predetermined line,
It is judged that dust is attached to the optical system or it is scratched, and a warning display to that effect is displayed.

【0219】すなわち、均一レベルで、かつ、ランダム
に発生する黒画像データは、もともと読取系(光学系)
に重畳しているノイズ成分(ホワイトノイズ)であると
考えられ、このホワイトノイズが大きくなると、光学系
のS/N比が低下して、読取モードによっては、画像品
質の劣化を発生させる可能性がある。また、ある特定領
域で、連続して黒画像データが検出される場合には、光
学系にゴミが付着しているか、キズが付いている場合等
の局所的な異常と考えられ、読取系(光学系)自体の劣
化ではないが、読取モードによっては、画像品質の劣化
をきたす可能性がある。
That is, the black image data generated at a uniform level and at random is originally read by the reading system (optical system).
It is considered that it is a noise component (white noise) superimposed on the image. When this white noise becomes large, the S / N ratio of the optical system decreases, which may cause deterioration of image quality depending on the reading mode. There is. Also, if black image data is continuously detected in a specific area, it is considered that the optical system is locally abnormal, such as dust or scratches, and the reading system ( Although it is not the deterioration of the optical system itself, the image quality may be deteriorated depending on the reading mode.

【0220】そこで、本実施の形態においては、シェー
ディング補正を何度か行い、また、2値化閾値Thを変
化させて、白基準板44を読み取ったときの画像データ
に黒画像データが含まれる場合には、当該黒画像データ
が局所領域で連続して検出されるかどうかにより、光学
系(読取系)の劣化によるS/N比の低下であるか、光
学系のキズやゴミによるものであるかを判別して、その
旨の表示を行っている。
Therefore, in the present embodiment, the shading correction is performed several times, and the binarization threshold Th is changed to include the black image data in the image data when the white reference plate 44 is read. In this case, depending on whether or not the black image data is continuously detected in the local area, the S / N ratio may be lowered due to deterioration of the optical system (reading system), or the optical system may be damaged or dust. It is determined if there is, and a message to that effect is displayed.

【0221】したがって、光学系の劣化が発生している
のか、キズやゴミ等が付いているのかを、簡単、かつ、
容易に知ることができ、適切なメンテナンス処理を行う
ことができる。
Therefore, it is easy to determine whether the optical system is deteriorated, whether it has scratches or dust, and
It can be easily known and appropriate maintenance processing can be performed.

【0222】その結果、ファクシミリ装置1の利用性を
向上させることができるとともに、画質を良好なものと
することができる。
As a result, the usability of the facsimile apparatus 1 can be improved and the image quality can be improved.

【0223】図19〜図21は、本発明の画像読取装置
の第7の実施の形態を示す図であり、本実施の形態は、
白基準板を走査した画像データを2値化閾値を順次上げ
ながら2値化して、この2値化した画像データの1ライ
ン中の黒画像データの発生割合に基づいて、原稿を読み
取る場合の2値化閾値を設定するものである。
19 to 21 are views showing a seventh embodiment of the image reading apparatus of the present invention.
The image data obtained by scanning the white reference plate is binarized while sequentially increasing the binarization threshold value, and 2 in the case of reading a document based on the generation ratio of black image data in one line of the binarized image data. The threshold value is set.

【0224】本実施の形態は、上記第1の実施の形態と
同様の実施の形態に適用したものであり、本実施の形態
の説明においては、図1、図2で用いた符号をそのまま
用いて説明する。
This embodiment is applied to the same embodiment as the first embodiment, and in the description of this embodiment, the reference numerals used in FIGS. 1 and 2 are used as they are. Explain.

【0225】本実施の形態においては、図19に示すよ
うに、システム制御部21は、操作パネル30から読取
指示が行われると、各種初期設定を行い(ステップV
1)、黒画素検出数判定閾値THの設定、初期2値化閾
値UPTH及び上昇ステップαを設定する(ステップV
2)。また、本実施の形態においても、1ライン分の画
素数が2048画素であるとして、以下説明する。
In the present embodiment, as shown in FIG. 19, the system control unit 21 makes various initial settings when a reading instruction is given from the operation panel 30 (step V
1), the setting of the black pixel detection number determination threshold TH, the initial binarization threshold UPTH, and the rising step α (step V
2). Also in the present embodiment, the following description will be made assuming that the number of pixels for one line is 2048 pixels.

【0226】次に、システム制御部21は、光源45を
点灯して(ステップV3)、白基準板44を走査して、
走査して得た画像データを白基準データとしてラインバ
ッファ53に格納する(ステップV4)。
Next, the system controller 21 turns on the light source 45 (step V3), scans the white reference plate 44,
The image data obtained by scanning is stored in the line buffer 53 as white reference data (step V4).

【0227】次に、システム制御部21は、図20に示
すように、仮の2値化閾値Thとして上記ステップV2
で設定した初期2値化閾値UPTHを設定し(ステップ
V5)、画素カウンタIのカウント値及び黒画像データ
の発生回数(1ライン中に検出された黒画像データの画
素数)をカウントするカウンタLをリセット(「0」に
セット)した後(ステップV6)、再度、白基準板44
を走査させて(ステップV7)、この白基準板44を走
査したときの画像データをシェーディング補正回路52
によりシェーディング補正を行わせた後、2値化させて
ラインバッファ22aに2値化画像データBID(I)
として格納する(ステップV8)。
Next, as shown in FIG. 20, the system control unit 21 sets the temporary binarization threshold Th as step V2.
The counter L which sets the initial binarization threshold UPTH set in step (5) (step V5) and counts the count value of the pixel counter I and the number of times of generation of black image data (the number of pixels of black image data detected in one line). After resetting (setting to "0") (step V6), the white reference plate 44 is again set.
Is scanned (step V7), and the image data when the white reference plate 44 is scanned is converted into the shading correction circuit 52.
After the shading correction is performed by, the binarized image data BID (I) is binarized in the line buffer 22a.
(Step V8).

【0228】すなわち、システム制御部21は、再度、
白基準板44を走査させて、この白基準板44を走査し
たときの画像データをラインバッファ53内の白基準デ
ータに基づいてシェーディング補正回路52によりシェ
ーディング補正を行わせた後、ディジタル画像処理回路
54により上記2値化閾値Thで2値化させて、ライン
バッファ22aに2値化画像データBID(I)として
格納する。
That is, the system controller 21 again
The white reference plate 44 is scanned, and the image data when the white reference plate 44 is scanned is subjected to shading correction by the shading correction circuit 52 based on the white reference data in the line buffer 53, and then the digital image processing circuit. The data is binarized by the binarization threshold Th at 54 and stored as the binarized image data BID (I) in the line buffer 22a.

【0229】2値化画像データBID(I)のラインバ
ッファ22aへの転送が完了すると、システム制御部2
1は、画素カウンタIを1だけインクリメントして(ス
テップV9)、当該画素カウンタIの示している画素の
2値化画像データBID(I)が「1」であるかどう
か、すなわち、黒画像データであるかどうかチェックし
(ステップV10)、黒画像データであるときには、カ
ウンタLをインクリメントして(ステップV11)、カ
ウンタLの値が上記黒画素検出数判定閾値THを越えた
かチェックする(ステップV12)。
When the transfer of the binarized image data BID (I) to the line buffer 22a is completed, the system control unit 2
1 increments the pixel counter I by 1 (step V9) to determine whether the binarized image data BID (I) of the pixel indicated by the pixel counter I is “1”, that is, the black image data. If it is black image data, the counter L is incremented (step V11), and it is checked whether the value of the counter L exceeds the black pixel detection number determination threshold TH (step V12). ).

【0230】ステップV12で、カウンタLの値が黒画
素検出数判定閾値THを越えていないときには、画素カ
ウンタIが1ライン分(2048画素)カウントしたか
どうかチェックし(ステップV13)、画素カウンタI
が1ライン分カウントしていないときには、ステップV
9に戻って、画素カウンタIをインクリメントして(ス
テップV9)、次の2値化画像データBID(I)につ
いて、同様に、黒画像データかどうか(「1」かどう
か)チェックする(ステップV10)。
When the value of the counter L does not exceed the black pixel detection number determination threshold value TH in step V12, it is checked whether or not the pixel counter I has counted one line (2048 pixels) (step V13).
Is not counting for one line, step V
9, the pixel counter I is incremented (step V9), and the next binary image data BID (I) is similarly checked whether it is black image data (whether it is "1") (step V10). ).

【0231】システム制御部21は、上記処理を順次行
って、1ラインの全ての画素の2値化画像データBID
(I)について黒画像データか白画像データかを判定し
て、黒画像データについては、カウンタLのインクリメ
ントを行って(ステップV11)、カウンタLの値が黒
画素検出数判定閾値THを越えたかチェックし(ステッ
プV12)、黒画像データの出現回数が設定した黒画素
検出数判定閾値THに到達していないときには、上記処
理を繰り返し行う。
The system control unit 21 sequentially performs the above-mentioned processing to execute the binarized image data BID of all the pixels on one line.
For (I), it is determined whether the image data is black image data or white image data, and for black image data, the counter L is incremented (step V11) so that the value of the counter L exceeds the black pixel detection number determination threshold TH. If checked (step V12) and the number of appearances of black image data has not reached the set black pixel detection number determination threshold TH, the above process is repeated.

【0232】ステップV13で、黒画像データの出現回
数が設定した黒画素検出数判定閾値THに到達すること
なく、1ライン分の処理を終了すると、2値化閾値Th
を上記上昇ステップαだけ上げ(ステップV14)、ス
テップV6に戻って、上記同様の処理を行う。
In step V13, when the processing for one line is completed without the number of appearances of the black image data reaching the set threshold value TH for determining the number of black pixels, the binarization threshold value Th is set.
Is increased by the ascending step α (step V14), the process returns to step V6, and the same processing as described above is performed.

【0233】上記処理を新たに読み込んだ白基準板44
の画像データについて行い、ステップV12で、カウン
タLのカウント値である黒画像データの出現回数が黒画
素検出数判定閾値THを越えると、当該黒画像データの
出現回数に基づいて予め設定されている2値化閾値を原
稿41を読み取るための2値化閾値として設定し(ステ
ップV15)、当該設定した2値化閾値による原稿41
の読取処理を行う(ステップV16)。
A white reference plate 44 newly loaded with the above processing
When the number of appearances of the black image data, which is the count value of the counter L, exceeds the black pixel detection number determination threshold TH in step V12, it is preset based on the number of appearances of the black image data. The binarization threshold is set as a binarization threshold for reading the document 41 (step V15), and the document 41 based on the set binarization threshold is set.
Is read (step V16).

【0234】この原稿41の読取時の2値化閾値として
は、例えば、シェーディング補正が完全に良好な状態で
行われた場合の原稿41の読取時の2値化閾値を画像デ
ータの最大レベルの値の50%値に設定されているもの
とすると、黒画像データの出現数に応じて、50%値よ
りも低い2値化閾値を設定する。
As the binarization threshold value at the time of reading the original document 41, for example, the binarization threshold value at the time of reading the original document 41 when the shading correction is performed in a completely satisfactory state is set to the maximum level of the image data. If the value is set to 50% of the value, a binarization threshold lower than the 50% value is set according to the number of appearances of black image data.

【0235】したがって、読取系の劣化によるノイズレ
ベルの大きさを、白基準板44を読み取ったとき画像デ
ータをシェーディング補正した後、2値化閾値Thを変
化させて、そのときの黒画像データの発生数により判定
して、当該ノイズレベルに対応させて、原稿41の読取
時の2値化閾値を下げて2値化することができ、ノイズ
による地肌汚れを防止して、画質を向上させることがで
きる。
Therefore, after the shading correction of the image data when the white reference plate 44 is read for the magnitude of the noise level due to the deterioration of the reading system, the binarization threshold Th is changed and the black image data at that time is changed. The number of occurrences is determined, and the binarization threshold at the time of reading the document 41 can be lowered and binarized according to the noise level, and the background stain due to noise can be prevented and the image quality can be improved. You can

【0236】すなわち、図21(a)に示すように、白
基準板33を再走査したときの画像データの走査波形
に、地肌汚れ等によるレベルの低下があると、本実施の
形態による原稿読取時の2値化閾値の設定処理を行わな
いで、2値化閾値THで高濃度原稿読取を行ったとする
と、図21(b)に示すように、2値化閾値THで2値
化した画像データに地肌汚れによる黒画像データが出現
することとなる。ところが、本実施の形態の原稿読取時
の2値化閾値の設定処理を行うと、図21(c)に示す
ように、白基準板44を再走査したときの黒画像データ
の発生数に基づいて原稿読取時の2値化閾値を2値化閾
値THから2値化閾値TH’に下げて2値化することが
でき、ノイズによる地肌汚れが原稿41を読み取ったと
きの2値化画像データに含まれることを防止して、画質
を向上させることができる。
That is, as shown in FIG. 21A, when the scanning waveform of the image data when the white reference plate 33 is rescanned has a level drop due to background stains or the like, the original reading according to the present embodiment is performed. If high-density original reading is performed at the binarization threshold TH without performing the binarization threshold setting process at that time, an image binarized at the binarization threshold TH as shown in FIG. Black image data due to background stains will appear in the data. However, when the binarization threshold value setting process at the time of reading an original according to the present embodiment is performed, as shown in FIG. 21C, based on the number of generations of black image data when the white reference plate 44 is rescanned. The binarization threshold value at the time of reading the document can be binarized by lowering the binarization threshold value TH from the binarization threshold value TH ′ to the binarization threshold value TH ′. Can be prevented from being included in the image quality and the image quality can be improved.

【0237】図22〜図23は、本発明の画像読取装置
の第8の実施の形態を示す図であり、本実施の形態は、
白基準板を走査した画像データを2値化閾値を順次上げ
ながら2値化して、この2値化した画像データの1ライ
ン中に黒画像データの発生割合に基づいて、原稿を読み
取った画像データを中間調処理する場合の階調数を設定
するものである。
22 to 23 are views showing an eighth embodiment of the image reading apparatus of the present invention.
The image data obtained by scanning the white reference plate is binarized while sequentially increasing the binarization threshold value, and the image data obtained by reading the document based on the generation ratio of the black image data in one line of the binarized image data. The number of gradations for halftone processing is set.

【0238】本実施の形態は、上記第1の実施の形態と
同様の実施の形態に適用したものであり、本実施の形態
の説明においては、図1、図2で用いた符号をそのまま
用いて説明する。
This embodiment is applied to the same embodiment as the first embodiment, and the reference numerals used in FIGS. 1 and 2 are used as they are in the description of this embodiment. Explain.

【0239】本実施の形態においては、図22に示すよ
うに、システム制御部21は、操作パネル30から読取
指示が行われると、各種初期設定を行い(ステップW
1)、黒画素検出数判定閾値THの設定、初期2値化閾
値UPTH及び上昇ステップαを設定する(ステップV
2)。また、本実施の形態においても、1ライン分の画
素数が2048画素であるとして、以下説明する。
In this embodiment, as shown in FIG. 22, the system control unit 21 makes various initial settings when a reading instruction is given from the operation panel 30 (step W).
1), the setting of the black pixel detection number determination threshold TH, the initial binarization threshold UPTH, and the rising step α (step V
2). Also in the present embodiment, the following description will be made assuming that the number of pixels for one line is 2048 pixels.

【0240】次に、システム制御部21は、階調数判定
閾値TH1、TH2を設定し(ステップW3)、光源4
5を点灯して(ステップW4)、白基準板44を走査し
て、走査して得た画像データを白基準データとしてライ
ンバッファ53に格納する(ステップW5)。なお、階
調数判定閾値TH1と階調数判定閾値TH2とは、TH
1>TH2の関係にある。
Next, the system controller 21 sets the gradation number determination thresholds TH1 and TH2 (step W3), and the light source 4
5 is turned on (step W4), the white reference plate 44 is scanned, and the image data obtained by scanning is stored in the line buffer 53 as white reference data (step W5). Note that the gradation number determination threshold TH1 and the gradation number determination threshold TH2 are TH
1> TH2.

【0241】次に、システム制御部21は、図23に示
すように、仮の2値化閾値Thとして上記ステップW2
で設定した初期2値化閾値UPTHを設定し(ステップ
W6)、画素カウンタIのカウント値及び黒画像データ
の発生回数(1ライン中に検出された黒画像データの画
素数)をカウントするカウンタLをリセット(「0」に
セット)した後(ステップW7)、再度、白基準板44
を走査させて(ステップW7)、この白基準板44を走
査したときの画像データをシェーディング補正回路52
によりシェーディング補正を行わせた後、ディジタル画
像処理回路54により2値化させてラインバッファ22
aに2値化画像データBID(I)として格納する(ス
テップW9)。
Next, as shown in FIG. 23, the system control section 21 sets the temporary binarization threshold Th as the above-mentioned step W2.
The counter L which sets the initial binarization threshold UPTH set in step (6) (step W6) and counts the count value of the pixel counter I and the number of occurrences of black image data (the number of pixels of black image data detected in one line). After resetting (setting to "0") (step W7), the white reference plate 44 is again set.
Is scanned (step W7), and the image data when the white reference plate 44 is scanned is converted into the shading correction circuit 52.
Shading correction is performed by the digital image processing circuit 54 and binarized by the digital image processing circuit 54.
The binary image data BID (I) is stored in a (step W9).

【0242】2値化画像データBID(I)のラインバ
ッファ22aへの転送が完了すると、システム制御部2
1は、画素カウンタIを1だけインクリメントして(ス
テップW10)、当該画素カウンタIの示している画素
の2値化画像データBID(I)が「1」であるかどう
か、すなわち、黒画像データであるかどうかチェックし
(ステップW11)、黒画像データであるときには、カ
ウンタLをインクリメントして(ステップW12)、カ
ウンタLの値が上記黒画素検出数判定閾値THを越えた
かチェックする(ステップW13)。
When the transfer of the binarized image data BID (I) to the line buffer 22a is completed, the system control unit 2
1 increments the pixel counter I by 1 (step W10) to determine whether the binarized image data BID (I) of the pixel indicated by the pixel counter I is “1”, that is, the black image data. If it is black image data, the counter L is incremented (step W12), and it is checked whether the value of the counter L exceeds the black pixel detection number determination threshold TH (step W13). ).

【0243】ステップW13で、カウンタLの値が黒画
素検出数判定閾値THを越えていないときには、画素カ
ウンタIが1ライン分(2048画素)カウントしたか
どうかチェックし(ステップW14)、画素カウンタI
が1ライン分カウントしていないときには、ステップW
10に戻って、画素カウンタIをインクリメントして
(ステップW10)、次の2値化画像データBID
(I)について、同様に、黒画像データかどうか
(「1」かどうか)チェックする(ステップW11)。
At step W13, when the value of the counter L does not exceed the black pixel detection number determination threshold TH, it is checked whether or not the pixel counter I has counted one line (2048 pixels) (step W14).
Is not counting for one line, step W
10, the pixel counter I is incremented (step W10), and the next binarized image data BID
Similarly, for (I), it is checked whether the image data is black image data (whether it is "1") (step W11).

【0244】システム制御部21は、上記処理を順次行
って、1ラインの全ての画素の2値化画像データBID
(I)について黒画像データか白画像データかを判定し
て、黒画像データについては、カウンタLのインクリメ
ントを行って、カウンタLの値が黒画素検出数判定閾値
THを越えたかチェックし、黒画像データの出現回数が
設定した黒画素検出数判定閾値THに到達していないと
きには、上記処理を繰り返し行う(ステップW10〜ス
テップW14)。
The system control unit 21 sequentially performs the above-mentioned processing to execute the binarized image data BID of all the pixels on one line.
With respect to (I), it is determined whether the image data is black image data or white image data, and for black image data, the counter L is incremented to check whether the value of the counter L exceeds the black pixel detection number determination threshold TH. When the number of appearances of the image data has not reached the set black pixel detection number determination threshold TH, the above process is repeated (steps W10 to W14).

【0245】ステップW14で、黒画像データの出現回
数が設定した黒画素検出数判定閾値THに到達すること
なく、1ライン分の処理を終了すると、2値化閾値Th
を上記上昇ステップαだけ上げ(ステップW15)、ス
テップW7に戻って、上記同様の処理を行う。
At step W14, when the processing for one line is completed without the number of appearances of the black image data reaching the set threshold value TH for determining the number of black pixels, the binarization threshold Th is set.
Is increased by the ascending step α (step W15), the process returns to step W7, and the same processing as described above is performed.

【0246】システム制御部21は、上記処理を新たに
読み込んだ白基準板44の画像データについて行い、ス
テップW13で、カウンタLのカウント値である黒画像
データの出現回数が黒画素検出数判定閾値THを越える
と、当該黒画素検出数判定閾値THを越える黒画像デー
タが出現した2値化閾値Thが上記図22のステップW
3で設定した高い階調数判定閾値TH1よりも高いか
(Th>TH1)をチェックし(ステップW16)、2
値化閾値Thが階調数判定閾値TH1よりも高い値であ
るときには、光学系が劣化しておらずシェーディング補
正が良好に行われていると判断して、原稿41を読み取
った画像データの中間調処理の階調数として最高の64
階調を設定する(ステップW17)。
The system control unit 21 performs the above processing on the newly read image data of the white reference plate 44, and in step W13, the number of appearances of the black image data, which is the count value of the counter L, is the black pixel detection number determination threshold value. When TH exceeds TH, the binarization threshold Th at which black image data that exceeds the black pixel detection number determination threshold TH appears is step W in FIG.
It is checked whether it is higher than the high gradation number determination threshold TH1 set in 3 (Th> TH1) (step W16), 2
When the binarization threshold value Th is higher than the gradation number determination threshold value TH1, it is determined that the optical system is not deteriorated and the shading correction is properly performed, and the intermediate value of the image data obtained by reading the document 41 is determined. 64, the highest number of gradations
The gradation is set (step W17).

【0247】また、ステップW16で、2値化閾値Th
が階調数判定閾値TH1よりも低い値のときには、シス
テム制御部21は、図22のステップW3で設定した低
い階調数判定閾値TH2よりも高いか(Th>TH2)
をチェックし(ステップW18)、2値化閾値Thが階
調数判定閾値TH2よりも高い値であるときには、光学
系は劣化してきているが、劣化の度合は低いと判断し
て、原稿41を読み取った画像データの中間調処理の階
調数として32階調を設定する(ステップW19)。
In step W16, the binarization threshold Th is set.
Is lower than the gradation number determination threshold TH1, the system control unit 21 is higher than the low gradation number determination threshold TH2 set in step W3 of FIG. 22 (Th> TH2).
Is checked (step W18), and when the binarization threshold Th is higher than the gradation number determination threshold TH2, the optical system has deteriorated, but it is determined that the degree of deterioration is low, and the original 41 is read. 32 gradations are set as the gradation number of the halftone processing of the read image data (step W19).

【0248】さらに、ステップW18で、2値化閾値T
hが階調数判定閾値TH2よりも低い値のときには、シ
ステム制御部21は、光学系の劣化が激しいと判断し
て、原稿41を読み取った画像データの中間調処理の階
調数として、16階調を設定する(ステップW20)。
Further, in step W18, the binarization threshold value T
When h is a value lower than the gradation number determination threshold TH2, the system control unit 21 determines that the deterioration of the optical system is severe, and sets 16 as the gradation number of the halftone processing of the image data obtained by reading the document 41. The gradation is set (step W20).

【0249】上記階調数の設定が完了すると、システム
制御部21は、原稿41の読取処理を行い、原稿41を
読み取った画像データの中間調処理を上記ディジタル画
像処理回路54で上記設定した階調数により中間調処理
を行わせ、シェーディング補正精度判定処理を終了する
(ステップW21)。
When the setting of the number of gradations is completed, the system control unit 21 performs the reading process of the original 41, and the halftone processing of the image data of the original 41 is set by the digital image processing circuit 54. The halftone process is performed according to the key number, and the shading correction accuracy determination process ends (step W21).

【0250】したがって、白基準板44を読み取ったと
き画像データをシェーディング補正した後、2値化閾値
Thを変化させて、そのときの黒画像データの発生数に
より読取系の劣化によるノイズレベルの大きさを判定し
て、当該ノイズレベルに対応させて、原稿41を読み取
ったときの中間調処理の階調数を設定することができ、
光学系の劣化程度に応じた適切な中間調処理を行うこと
ができる。その結果、中間調処理する場合の画質を向上
させることができる。
Therefore, after shading correction of the image data when the white reference plate 44 is read, the binarization threshold Th is changed, and the noise level is large due to the deterioration of the reading system depending on the number of black image data generated at that time. It is possible to set the number of gradations of the halftone processing when the document 41 is read, in accordance with the noise level.
Appropriate halftone processing can be performed according to the degree of deterioration of the optical system. As a result, it is possible to improve the image quality when performing halftone processing.

【0251】すなわち、原稿41を読み取った画像を中
間調処理する場合に、読取系が劣化して、大きいノイズ
成分があるにもかかわらず、高階調処理を行うと、ノイ
ズ成分まで階調され、地肌汚れが発生するおそれがあ
る。
That is, when halftone processing is performed on an image obtained by reading the original 41, even if the reading system deteriorates and there is a large noise component, if high-gradation processing is performed, the noise component is also grayed out. There is a risk of soiling.

【0252】ところが、本実施の形態においては、読取
系の劣化程度に応じて、階調数を変化させているので、
階調数の低下による画像品質の低下はあるものの、ノイ
ズ成分を除去することができ、かえって画像品質を向上
させることができる。
However, in the present embodiment, since the number of gradations is changed according to the degree of deterioration of the reading system,
Although the image quality is deteriorated due to the decrease in the number of gradations, the noise component can be removed, and the image quality can be improved.

【0253】以上、本発明者によってなされた発明を好
適な実施の形態に基づき具体的に説明したが、本発明は
上記のものに限定されるものではなく、その要旨を逸脱
しない範囲で種々変更可能であることはいうまでもな
い。
Although the invention made by the present inventor has been specifically described based on the preferred embodiments, the present invention is not limited to the above, and various modifications can be made without departing from the scope of the invention. It goes without saying that it is possible.

【0254】例えば、上記各実施の形態においては、フ
ァクシミリ装置20に適用した場合について説明した
が、ファクシミリ装置に限るものではなく、シェーディ
ング補正を行う画像読取装置一般に適用することができ
る。
For example, in each of the above embodiments, the case where the invention is applied to the facsimile device 20 has been described. However, the invention is not limited to the facsimile device and can be applied to general image reading devices that perform shading correction.

【0255】また、上記第7及び第8の実施の形態にお
いては、シェーディング補正精度が悪い場合に、警告処
理を行うことなく、2値化閾値の変更や階調数の設定を
行っているが、警告処理を行うようにしてもよく、この
ようにすることにより、メンテナンス性を向上させるこ
とができるとともに、ファクシミリ装置20の利用性を
向上させることができる。
Further, in the seventh and eighth embodiments, when the shading correction accuracy is poor, the binarization threshold value is changed and the number of gradations is set without performing the warning process. The warning process may be performed. By doing so, the maintainability can be improved and the usability of the facsimile device 20 can be improved.

【0256】[0256]

【発明の効果】請求項1記載の発明の画像読取装置によ
れば、原稿を走査する前に、シェーディング補正の補正
精度を判定することができ、光学系の劣化やゴミ・キズ
等による品質の劣化を未然に防止して、画質を向上させ
ることができる。
According to the image reading apparatus of the present invention, the correction accuracy of the shading correction can be determined before scanning the original, and the quality due to deterioration of the optical system, dust, scratches, etc. can be determined. It is possible to prevent deterioration in advance and improve the image quality.

【0257】請求項2記載の発明の画像読取装置によれ
ば、2値化画像データに基づいてシェーディング補正精
度の判定を行うことができ、通常の画像読取装置の画像
処理工程を利用して、シェーディング補正精度の判定を
行うことができる。その結果、シェーディング補正精度
の判定処理を簡単、かつ、容易なものとすることができ
る。
According to the image reading apparatus of the second aspect of the present invention, the shading correction accuracy can be determined based on the binarized image data, and the image processing steps of the ordinary image reading apparatus can be used. It is possible to determine the shading correction accuracy. As a result, the shading correction accuracy determination process can be made simple and easy.

【0258】請求項3記載の発明の画像読取装置によれ
ば、シェーディング補正した白基準部材の画像データ
を、2値化閾値を変化させて、所定回数2値化すること
により得た2値化画像データに基づいて、シェーディン
グ補正精度を判定することができ、より緻密なシェーデ
ィング補正精度の判定を行うことができる。
According to the image reading apparatus of the third aspect, the image data of the white reference member subjected to the shading correction is binarized by changing the binarization threshold value and binarizing the image data a predetermined number of times. The shading correction accuracy can be determined based on the image data, and more precise shading correction accuracy can be determined.

【0259】請求項4記載の発明の画像読取装置によれ
ば、2値化閾値を低い値から上昇させていったときの2
値化画像データに黒画像データが出現するのを監視し
て、そのときの2値化閾値に基づいてシェーディング補
正精度を判定することができ、より精度良く、かつ、簡
単にシェーディング補正精度を判定することができる。
According to the image reading apparatus of the fourth aspect, when the binarization threshold value is increased from a low value,
The appearance of black image data in the binarized image data can be monitored, and the shading correction accuracy can be determined based on the binarization threshold value at that time, and the shading correction accuracy can be determined more accurately and easily. can do.

【0260】請求項5記載の発明の画像読取装置によれ
ば、2値化閾値を高い値から下降させていったときの2
値化画像データを監視して、全て白画像データになった
ときの2値化閾値に基づいてシェーディング補正精度を
判定することができ、光学系の劣化等が少ない場合に、
より速やかに、かつ、高精度で、簡単にシェーディング
補正精度を判定することができる。
According to the image reading apparatus of the fifth aspect, when the binarization threshold is lowered from a high value,
By monitoring the binarized image data, the shading correction accuracy can be determined based on the binarized threshold value when all the white image data is obtained, and when the deterioration of the optical system is small,
The shading correction accuracy can be determined more quickly and with high accuracy.

【0261】請求項6記載の発明の画像読取装置によれ
ば、2値化閾値を変化させて2値化したときの黒画像デ
ータの出現性、例えば、黒画像データの増加割合や減少
割合とうに基づいてシェーディング補正精度を判定する
ことができ、より一層精度良く、かつ、簡単にシェーデ
ィング補正精度を判定することができる。
According to the image reading apparatus of the present invention, the appearance of the black image data when the binarization threshold is changed and binarized, for example, the increase rate and the decrease rate of the black image data. The shading correction accuracy can be determined based on this, and the shading correction accuracy can be determined more accurately and easily.

【0262】請求項7記載の発明の画像読取装置によれ
ば、シェーディング補正判定処理を複数回行って、ノイ
ズ等の一過性外乱の影響を回避しつつ、シェーディング
判定を行うことができるとともに、ノイズ等を低減させ
たにもかかわらず、基準補正精度を得ることができなか
った場合に、警告を出力することができ、光学系に異常
があることを認識させることができる。その結果、光学
系の異常をより一層適切に管理して、修復を促すことが
でき、画質を向上させることができる。
According to the image reading apparatus of the seventh aspect, the shading correction determination process is performed a plurality of times to perform the shading determination while avoiding the influence of transient disturbance such as noise. When the reference correction accuracy cannot be obtained despite the reduction of noise and the like, a warning can be output and it can be recognized that there is an abnormality in the optical system. As a result, the abnormality of the optical system can be managed more appropriately, the restoration can be promoted, and the image quality can be improved.

【0263】請求項8記載の発明の画像読取装置によれ
ば、原稿読取モードに応じたシェーディング補正精度の
監視を行うことができ、原稿読取時の画質を向上させつ
つ、適切な光学系の管理を行うことができる。
According to the image reading apparatus of the present invention, it is possible to monitor the shading correction accuracy according to the original reading mode, improve the image quality at the time of reading the original, and appropriately manage the optical system. It can be performed.

【0264】請求項9記載の発明の画像読取装置によれ
ば、白基準部材を走査しシェーディング補正した画像デ
ータを2値化した結果に基づいて、原稿を走査する前
に、原稿を走査した場合の画像品質を事前に予測・判定
することができ、画質を向上させることができる。
According to the image reading apparatus of the present invention, when the original is scanned before the original is scanned based on the result of binarizing the image data obtained by scanning the white reference member and performing shading correction. The image quality of can be predicted and determined in advance, and the image quality can be improved.

【0265】請求項10記載の発明の画像読取装置によ
れば、2値化閾値を変化させて2値化したときの黒画像
データの出現性、例えば、黒画像データの増加割合や減
少割合とうに基づいて画像品質を判定することができ、
より一層精度良く、かつ、簡単に画像品質を判定するこ
とができる。
According to the image reading apparatus of the tenth aspect of the present invention, the appearance of the black image data when the binarization threshold value is changed and binarized, for example, the increase rate and the decrease rate of the black image data. Image quality can be determined based on
The image quality can be determined more accurately and easily.

【0266】請求項11記載の発明の画像読取装置によ
れば、画像品質の判定処理を複数回行って、ノイズ等の
一過性外乱の影響を回避しつつ、画像品質の判定処理を
行うことができるとともに、ノイズ等を低減させたにも
かかわらず、適切な画像品質を得ることができなかった
場合に、警告を出力することができ、光学系に異常があ
ることを認識させることができる。その結果、光学系の
異常をより一層適切に管理して、修復を促すことがで
き、画像品質を向上させることができる。
According to the image reading apparatus of the eleventh aspect of the present invention, the image quality determination process is performed a plurality of times, and the image quality determination process is performed while avoiding the influence of transient disturbance such as noise. In addition, it is possible to output a warning and to recognize that there is an abnormality in the optical system when an appropriate image quality cannot be obtained despite reducing noise and the like. . As a result, the abnormality of the optical system can be managed more appropriately, restoration can be promoted, and image quality can be improved.

【0267】請求項12記載の発明の画像読取装置によ
れば、光学系に異常がある場合に、光学系の劣化による
ものであるのか、キズやゴミ等によるものであるのかを
分類して判定することができ、光学系の異常をより適切
に判定することができる。その結果、光学系の修復をよ
り一層適切に行うことができる。
According to the image reading apparatus of the twelfth aspect, when there is an abnormality in the optical system, it is determined whether it is due to deterioration of the optical system or due to scratches or dust. Therefore, the abnormality of the optical system can be determined more appropriately. As a result, the optical system can be repaired more appropriately.

【0268】請求項13記載の発明の画像読取装置によ
れば、原稿読取モードに応じた画像品質の判定を行うこ
とができ、より一層適切な画像品質の判定を行うことが
できる。
According to the image reading apparatus of the thirteenth aspect, it is possible to determine the image quality according to the document reading mode, and it is possible to perform more appropriate determination of the image quality.

【0269】請求項14記載の発明の画像読取装置によ
れば、実際に原稿を走査した画像データを2値化する際
の2値化閾値を、画像品質の判定結果、すなわち、シェ
ーディング補正精度に応じて変化させることができ、2
値化画像に黒筋や地肌汚れ等の発生を未然に防止・低減
して、画像品質を向上させることができる。
According to the image reading apparatus of the fourteenth aspect of the present invention, the binarization threshold value when binarizing the image data obtained by actually scanning the original is used as the image quality judgment result, that is, the shading correction accuracy. Can be changed according to
It is possible to prevent / reduce the occurrence of black streaks and background stains in the binarized image and improve the image quality.

【0270】請求項15記載の発明の画像読取装置によ
れば、実際に原稿を走査した画像データを階調処理する
際の階調数を画像品質の判定結果、すなわち、シェーデ
ィング補正精度に応じて変化させることができ、中間調
画像に地肌汚れ等が発生するのを未然に防止・低減し
て、画像品質を向上させることができる。
According to the image reading apparatus of the fifteenth aspect of the present invention, the number of gradations at the time of gradation processing of the image data obtained by actually scanning the original is determined according to the image quality judgment result, that is, the shading correction accuracy. The image quality can be improved by preventing and reducing the occurrence of background stains in the halftone image.

【0271】請求項16記載の発明の画像読取装置によ
れば、黒画像データの発生の有無や発生割合等の判定処
理を高速に、かつ、ソフトウェアの負担を軽減させつ
つ、処理することができ、画像読取装置の処理速度を向
上させることができる。
According to the image reading apparatus of the sixteenth aspect of the present invention, it is possible to perform the determination processing of the presence / absence of the black image data and the generation rate thereof at high speed while reducing the load on the software. The processing speed of the image reading device can be improved.

【0272】請求項17記載の発明の画像読取装置によ
れば、黒画像データの発生の有無や発生割合等の判定処
理を行うために別に回路を追加する必要がなく、画像読
取装置を安価なものとすることができる。
According to the image reading apparatus of the seventeenth aspect, it is not necessary to add another circuit for performing the determination process of the presence / absence of the black image data and the generation rate thereof, and the image reading apparatus is inexpensive. Can be one.

【0273】請求項18記載の発明の画像読取装置によ
れば、画像品質の判定結果、すなわち、シェーディング
補正精度に応じて、画像処理を行うことができ、シェー
ディング補正精度が低下している場合にも、適切な画像
処理を行って、画像品質を向上させることができる。
According to the image reading apparatus of the eighteenth aspect of the invention, image processing can be performed according to the image quality judgment result, that is, the shading correction accuracy, and when the shading correction accuracy is lowered. Also, the image quality can be improved by performing appropriate image processing.

【0274】請求項19記載の発明の画像読取装置によ
れば、画像読取装置の処理速度を向上させつつ、シェー
ディング補正精度あるいは画像品質を管理することがで
きる。
According to the image reading apparatus of the nineteenth aspect, it is possible to manage the shading correction accuracy or the image quality while improving the processing speed of the image reading apparatus.

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

【図1】本発明の画像読取装置の第1の実施の形態を適
用したファクシミリ装置の回路ブロック図。
FIG. 1 is a circuit block diagram of a facsimile apparatus to which an image reading apparatus according to a first embodiment of the present invention is applied.

【図2】図1のスキャナの要部構成図。FIG. 2 is a configuration diagram of a main part of the scanner of FIG.

【図3】図1のファクシミリ装置によるシェーディング
補正精度判定処理及び画像品質判定処理を示すフローチ
ャート。
3 is a flowchart showing shading correction accuracy determination processing and image quality determination processing by the facsimile apparatus of FIG.

【図4】本発明の画像読取装置の第2の実施の形態によ
るシェーディング補正精度判定処理及び画像品質判定処
理を示すフローチャート。
FIG. 4 is a flowchart showing shading correction accuracy determination processing and image quality determination processing according to the second embodiment of the image reading apparatus of the present invention.

【図5】図4のシェーディング補正精度判定処理及び画
像品質判定処理の続きの処理を示すフローチャート。
FIG. 5 is a flowchart showing a process subsequent to the shading correction accuracy determination process and the image quality determination process of FIG.

【図6】シェーディング補正精度が良好な場合の図4及
び図5のシェーディング補正精度判定処理及び画像品質
判定処理の動作を説明するための白基準板再走査時の波
形と2値化閾値を示す図。
FIG. 6 shows a waveform and a binarization threshold value at the time of rescanning the white reference plate for explaining the operations of the shading correction accuracy determination processing and the image quality determination processing of FIGS. 4 and 5 when the shading correction accuracy is good. Fig.

【図7】シェーディング補正精度が悪い場合の図4及び
図5のシェーディング補正精度判定処理及び画像品質判
定処理の動作を説明するための白基準板再走査時の波形
と2値化閾値を示す図。
FIG. 7 is a diagram showing a waveform and a binarization threshold at the time of rescanning the white reference plate for explaining the operations of the shading correction accuracy determination processing and the image quality determination processing of FIGS. 4 and 5 when the shading correction accuracy is poor. .

【図8】本発明の画像読取装置の第3の実施の形態によ
るシェーディング補正精度判定処理及び画像品質判定処
理を示すフローチャート。
FIG. 8 is a flowchart showing shading correction accuracy determination processing and image quality determination processing according to the third embodiment of the image reading apparatus of the present invention.

【図9】図8のシェーディング補正精度判定処理及び画
像品質判定処理の続きの処理を示すフローチャート。
9 is a flowchart showing a process subsequent to the shading correction accuracy determination process and the image quality determination process of FIG.

【図10】シェーディング補正精度が良好な場合の図8
及び図9のシェーディング補正精度判定処理及び画像品
質判定処理の動作を説明するための白基準板再走査時の
波形と2値化閾値を示す図。
FIG. 10 is a diagram when the shading correction accuracy is good.
FIG. 10 is a diagram showing a waveform and a binarization threshold value at the time of rescanning the white reference plate for explaining the operations of the shading correction accuracy determination process and the image quality determination process of FIG. 9.

【図11】シェーディング補正精度が悪い場合の図8及
び図9のシェーディング補正精度判定処理及び画像品質
判定処理の動作を説明するための白基準板再走査時の波
形と2値化閾値を示す図。
FIG. 11 is a diagram showing a waveform and a binarization threshold value at the time of rescanning the white reference plate for explaining the operations of the shading correction accuracy determination processing and the image quality determination processing of FIGS. .

【図12】本発明の画像読取装置の第4の実施の形態に
よるスキャナの黒画素検出・計数回路の回路構成図。
FIG. 12 is a circuit configuration diagram of a black pixel detecting / counting circuit of a scanner according to a fourth embodiment of the image reading apparatus of the invention.

【図13】図8の黒画素検出・計数回路の各部の信号の
タイミングチャート。
FIG. 13 is a timing chart of signals of respective parts of the black pixel detecting / counting circuit in FIG.

【図14】本発明の画像読取装置の第5の実施の形態に
よるシェーディング補正精度判定処理及び画像品質判定
処理を示すフローチャート。
FIG. 14 is a flowchart showing shading correction accuracy determination processing and image quality determination processing according to the fifth embodiment of the image reading apparatus of the present invention.

【図15】図14のシェーディング補正精度判定処理及
び画像品質判定処理の続きの処理を示すフローチャー
ト。
FIG. 15 is a flowchart showing a process subsequent to the shading correction accuracy determination process and the image quality determination process of FIG.

【図16】本発明の画像読取装置の第6の実施の形態に
よるシェーディング補正精度判定処理及び画像品質判定
処理を示すフローチャート。
FIG. 16 is a flowchart showing shading correction accuracy determination processing and image quality determination processing according to the sixth embodiment of the image reading apparatus of the present invention.

【図17】図16のシェーディング補正精度判定処理及
び画像品質判定処理の続きの処理を示すフローチャー
ト。
FIG. 17 is a flowchart showing a process subsequent to the shading correction accuracy determination process and the image quality determination process of FIG. 16;

【図18】図17のシェーディング補正精度判定処理及
び画像品質判定処理のさらに続きの処理を示すフローチ
ャート。
FIG. 18 is a flowchart showing a process subsequent to the shading correction accuracy determination process and the image quality determination process of FIG. 17;

【図19】本発明の画像読取装置の第7の実施の形態に
よる原稿読取時の2値化閾値を設定するシェーディング
補正精度判定処理及び画像品質判定処理を示すフローチ
ャート。
FIG. 19 is a flowchart showing a shading correction accuracy determination process and an image quality determination process for setting a binarization threshold value at the time of reading an original according to the seventh embodiment of the image reading apparatus of the present invention.

【図20】図19のシェーディング補正精度判定処理及
び画像品質判定処理の続きの処理を示すフローチャー
ト。
FIG. 20 is a flowchart showing a process that follows the shading correction accuracy determination process and the image quality determination process of FIG. 19;

【図21】図19及び図20のシェーディング補正精度
判定処理及び画像品質判定処理により読み取られた白基
準板の画像データの波形(a)と、原稿読取時の画像デ
ータの波形とシェーディング補正精度判定処理及び画像
品質判定処理により設定される前の2値化閾値(b)と
シェーディング補正精度判定処理及び画像品質判定処理
により設定された2値化閾値(c)とを比較して示す
図。
21 is a waveform (a) of image data of the white reference plate read by the shading correction accuracy determination processing and the image quality determination processing of FIGS. 19 and 20, a waveform of image data at the time of reading an original, and shading correction accuracy determination. The figure which compares and shows the binarization threshold value (b) before being set by the processing and the image quality determination processing and the binarization threshold value (c) set by the shading correction accuracy determination processing and the image quality determination processing.

【図22】本発明の画像読取装置の第8の実施の形態に
よる中間調処理の階調数を設定するシェーディング補正
精度判定処理及び画像品質判定処理を示すフローチャー
ト。
FIG. 22 is a flowchart showing shading correction accuracy determination processing and image quality determination processing for setting the number of gradations in halftone processing according to the eighth embodiment of the image reading apparatus of the present invention.

【図23】図22のシェーディング補正精度判定処理及
び画像品質判定処理の続きの処理を示すフローチャー
ト。
FIG. 23 is a flowchart showing a process subsequent to the shading correction accuracy determination process and the image quality determination process of FIG. 22.

【図24】従来の画像読取装置の要部構成図。FIG. 24 is a configuration diagram of main parts of a conventional image reading apparatus.

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

20 ファクシミリ装置 21 システム制御部 22 システムメモリ 22a ラインバッファ 23 パラメータメモリ 24 スキャナ 25 プロッタ 26 網制御部 27 モデム 28 画像メモリ 29 符号化・復号化部 30 操作パネル 31 バス 41 原稿 42 ガイド部材 43 ターゲットガラス 44 白基準板 45 光源 46 ミラー 47 レンズ 48 イメージセンサ 49 アンプ 50 A/D変換器 51 ピークホールド回路 52 シェーディング補正回路 53 ラインバッファ 54 ディジタル画像処理回路 60 黒画素検出・計数回路 61 アンド回路 62 カウンタ 63 ホストインターフェイス 20 Facsimile device 21 System control unit 22 System memory 22a Line buffer 23 Parameter memory 24 Scanner 25 Plotter 26 Network control unit 27 Modem 28 Image memory 29 Encoding / decoding unit 30 Operation panel 31 Bus 41 Original document 42 Guide member 43 Target glass 44 White reference plate 45 Light source 46 Mirror 47 Lens 48 Image sensor 49 Amplifier 50 A / D converter 51 Peak hold circuit 52 Shading correction circuit 53 Line buffer 54 Digital image processing circuit 60 Black pixel detection / counting circuit 61 AND circuit 62 Counter 63 Host The interface

Claims (19)

【特許請求の範囲】[Claims] 【請求項1】光学系を用いて白基準部材及び原稿を走査
する走査手段と、 前記走査手段が前記白基準部材を走査して得た画素単位
の白基準データを記憶する白基準データ記憶手段と、 前記白基準データに基づいて前記走査手段が走査して得
た画像データに前記光学系によるシェーディング歪みを
シェーディング補正するシェーディング補正手段と、 前記シェーディング補正手段によりシェーディング補正
された画像データに種々の画像処理を施す画像処理手段
と、 を備えた画像読取装置において、 前記走査手段により前記白基準部材を走査させて前記白
基準データを前記白基準データ記憶手段に記憶させた
後、前記走査手段に、前記原稿を走査させる前に、再
度、前記白基準部材を走査させて、当該白基準部材を走
査して得た画像データを前記白基準データに基づいて前
記シェーディング補正手段によりシェーディング補正さ
せる制御手段と、 前記シェーディング補正手段によりシェーディング補正
した前記白基準部材の前記画像データに基づいて、当該
シェーディング補正精度を判定する判定手段と、 を備えたことを特徴とする画像読取装置。
1. A scanning means for scanning a white reference member and an original using an optical system, and a white reference data storage means for storing white reference data in pixel units obtained by the scanning means scanning the white reference member. A shading correction unit that performs shading correction of shading distortion due to the optical system on image data obtained by scanning by the scanning unit based on the white reference data; and various types of image data that are shading corrected by the shading correction unit. An image reading apparatus comprising image processing means for performing image processing, wherein the scanning means scans the white reference member to store the white reference data in the white reference data storage means, and then the scanning means , The image data obtained by scanning the white reference member again before scanning the original, and scanning the white reference member Control means for performing shading correction by the shading correction means based on the white reference data; determination means for determining the shading correction accuracy based on the image data of the white reference member that has been shading corrected by the shading correction means; An image reading apparatus comprising:
【請求項2】光学系を用いて白基準部材及び原稿を走査
する走査手段と、 前記走査手段が前記白基準部材を走査して得た画素単位
の白基準データを記憶する白基準データ記憶手段と、 前記白基準データに基づいて前記走査手段が走査して得
た画像データに前記光学系によるシェーディング歪みを
シェーディング補正するシェーディング補正手段と、 前記シェーディング補正手段によりシェーディング補正
された画像データに種々の画像処理を施す画像処理手段
と、 を備えた画像読取装置において、 前記走査手段により前記白基準部材を走査させて前記白
基準データを前記白基準データ記憶手段に記憶させた
後、前記走査手段に、前記原稿を走査させる前に、再
度、前記白基準部材を走査させて、当該白基準部材を走
査して得た画像データを前記白基準データに基づいて前
記シェーディング補正手段によりシェーディング補正さ
せた後、前記画像処理手段に所定の2値化閾値で2値化
させる制御手段と、 前記シェーディング補正手段によりシェーディング補正
した前記白基準部材の前記画像データを前記画像処理手
段が所定の2値化閾値で2値化した前記2値化画像デー
タに基づいて、当該シェーディング補正精度を判定する
判定手段と、 を備えたことを特徴とする画像読取装置。
2. A scanning means for scanning a white reference member and an original using an optical system, and a white reference data storage means for storing white reference data in pixel units obtained by the scanning means scanning the white reference member. A shading correction unit that performs shading correction of shading distortion due to the optical system on image data obtained by scanning by the scanning unit based on the white reference data; and various types of image data that are shading corrected by the shading correction unit. An image reading apparatus comprising image processing means for performing image processing, wherein the scanning means scans the white reference member to store the white reference data in the white reference data storage means, and then the scanning means , The image data obtained by scanning the white reference member again before scanning the original, and scanning the white reference member After the shading correction is performed by the shading correction means based on the white reference data, the image processing means is binarized by a predetermined binarization threshold, and the white reference member subjected to the shading correction by the shading correction means. Determining means for determining the shading correction accuracy based on the binarized image data obtained by binarizing the image data by the image processing means with a predetermined binarization threshold value. Image reading device.
【請求項3】前記画像処理手段は、 前記シェーディング補正手段がシェーディング補正した
前記白基準部材の前記画像データを、前記2値化閾値を
順次変化させて所定回数2値化し、 前記判定手段は、 前記画像処理手段が前記2値化閾値を変化させて2値化
した2値化画像データに基づいて前記シェーディング補
正精度の判定を行うことを特徴とする請求項2記載の画
像読取装置。
3. The image processing means binarizes the image data of the white reference member, which has been shading-corrected by the shading correction means, by sequentially changing the binarization threshold value and binarizing the image data a predetermined number of times. 3. The image reading apparatus according to claim 2, wherein the image processing unit determines the shading correction accuracy based on the binarized image data that is binarized by changing the binarization threshold value.
【請求項4】前記画像処理手段は、 前記2値化閾値を所定の低い値から順次所定間隔で上昇
させて前記2値化を行い、 前記判定手段は、 前記画像処理手段が前記2値化閾値を順次上昇させて2
値化した2値化画像データにはじめて黒画像データが出
現したときの前記2値化閾値に基づいて前記シェーディ
ング補正精度の判定を行うことを特徴とする請求項2記
載の画像読取装置。
4. The image processing means performs the binarization by sequentially increasing the binarization threshold value from a predetermined low value at predetermined intervals, and the determination means includes the binarization processing performed by the image processing means. Increase the threshold value in sequence to 2
The image reading apparatus according to claim 2, wherein the shading correction accuracy is determined based on the binarization threshold value when black image data first appears in the binarized image data.
【請求項5】前記画像処理手段は、 前記2値化閾値を所定の高い値から順次所定間隔で下降
させて前記2値化を行い、 前記判定手段は、 前記画像処理手段が2値化閾値を順次下降させて2値化
した2値化画像データがはじめて全て白画像データとな
ったときの前記2値化閾値に基づいて前記シェーディン
グ補正精度の判定を行うことを特徴とする請求項2記載
の画像読取装置。
5. The image processing means performs the binarization by sequentially lowering the binarization threshold value from a predetermined high value at predetermined intervals, and the determination means includes the binarization threshold value of the image processing means. 3. The shading correction accuracy is determined based on the binarization threshold value when the binarized image data binarized by sequentially lowering the image data all become white image data for the first time. Image reading device.
【請求項6】前記画像処理手段は、 前記2値化閾値を、所定の高い値から順次所定間隔で下
降させて、あるいは、所定の低い値から順次所定間隔で
上昇させて前記2値化を行い、 前記判定手段は、 前記画像処理手段が前記2値化閾値を順次下降あるいは
上昇させて前記2値化を行った際の黒画像データの出現
性に基づいて前記シェーディング補正精度の判定を行う
ことを特徴とする請求項2記載の画像読取装置。
6. The image processing means performs the binarization by gradually lowering the binarization threshold value from a predetermined high value at predetermined intervals or by sequentially increasing it from a predetermined low value at predetermined intervals. The determining unit determines the shading correction accuracy based on the appearance of black image data when the image processing unit sequentially lowers or raises the binarization threshold value to perform the binarization. The image reading apparatus according to claim 2, wherein:
【請求項7】前記制御手段は、 前記判定手段の判定した前記シェーディング補正精度が
所定の基準補正精度以下であると、前記走査手段による
前記白基準データの採取のための走査から前記シェーデ
ィング補正判定処理を行わせ、当該シェーディング補正
判定処理を所定回数行った判定結果のシェーディング補
正精度がいずれも前記基準補正精度以下であると、前記
光学系に異常がある旨の警告を出力することを特徴とす
る請求項1から請求項6のいずれかに記載の画像読取装
置。
7. The shading correction determination means for controlling the shading correction from the scan for collecting the white reference data by the scanning means when the shading correction accuracy judged by the judging means is less than a predetermined reference correction accuracy. If the shading correction accuracy of the judgment result of performing the processing and performing the shading correction judgment processing a predetermined number of times is less than or equal to the reference correction accuracy, a warning that the optical system has an abnormality is output. The image reading device according to any one of claims 1 to 6.
【請求項8】前記判定手段は、 前記基準補正精度を中間調読取モードあるいは単純2値
化読取モード等の原稿読取モードに応じて変化させるこ
とを特徴とする請求項7記載の画像読取装置。
8. The image reading apparatus according to claim 7, wherein the determination unit changes the reference correction accuracy according to a document reading mode such as a halftone reading mode or a simple binary reading mode.
【請求項9】光学系を用いて白基準部材及び原稿を走査
する走査手段と、 前記走査手段が前記白基準部材を走査して得た画素単位
の白基準データを記憶する白基準データ記憶手段と、 前記白基準データに基づいて前記走査手段が走査して得
た画像データに前記光学系によるシェーディング歪みを
シェーディング補正するシェーディング補正手段と、 前記シェーディング補正手段によりシェーディング補正
された画像データに種々の画像処理を施す画像処理手段
と、 を備えた画像読取装置において、 前記走査手段により前記白基準部材を走査させて前記白
基準データを前記白基準データ記憶手段に記憶させた
後、前記走査手段に、前記原稿を走査させる前に、再
度、前記白基準部材を所定回数走査させて、当該白基準
部材を走査して得た画像データを前記シェーディング補
正手段によりシェーディング補正させた後、前記画像処
理手段に、前記走査手段が前記白基準部材を走査する毎
に、2値化閾値を、所定の高い値から順次所定間隔で上
昇させて、あるいは、所定の低い値から順次所定間隔で
下降させて2値化させる制御手段と、 前記画像処理手段が前記2値化閾値を、順次上昇あるい
は下降させて2値化した画像データが、はじめて全て白
画像データとなるときの前記2値化閾値、あるいは、は
じめて黒画像データが出現するときの前記2値化閾値に
基づいて前記走査手段が前記原稿を走査するときの画像
品質の判定を行う判定手段と、 を備えたことを特徴とする画像読取装置。
9. A scanning means for scanning a white reference member and an original using an optical system, and a white reference data storage means for storing white reference data in pixel units obtained by the scanning means scanning the white reference member. A shading correction unit that performs shading correction of shading distortion due to the optical system on image data obtained by scanning by the scanning unit based on the white reference data; and various types of image data that are shading corrected by the shading correction unit. An image reading apparatus comprising image processing means for performing image processing, wherein the scanning means scans the white reference member to store the white reference data in the white reference data storage means, and then the scanning means , The image obtained by scanning the white reference member again a predetermined number of times before scanning the original document. After shading correction of the data by the shading correction means, the image processing means causes the binarization threshold value to be sequentially increased from a predetermined high value at predetermined intervals every time the scanning means scans the white reference member. Or a control means for sequentially lowering the value from a predetermined low value at a predetermined interval to binarize, and image data obtained by the image processing means by sequentially raising or lowering the binarization threshold value to be binarized. The image quality when the scanning unit scans the document is determined based on the binarization threshold when the image data is entirely white for the first time or the binarization threshold when the black image data first appears. An image reading apparatus comprising: a determination unit that performs the determination.
【請求項10】前記判定手段は、 前記画像処理手段が前記2値化閾値を前記上昇あるいは
下降させて2値化した2値化画像データのうちの黒画像
データの出現性に基づいて、前記画像品質の判定を行う
ことを特徴とする請求項9記載の画像読取装置。
10. The determination means is based on the appearance of black image data in the binarized image data binarized by the image processing means by raising or lowering the binarization threshold value. The image reading apparatus according to claim 9, wherein the image quality is determined.
【請求項11】前記制御手段は、 前記2値化閾値が所定の基準閾値以下であると、前記走
査手段による前記白基準データの採取のための走査から
前記画像品質判定処理を行わせ、当該画像品質判定処理
を所定回数行った判定結果がいずれも前記基準閾値以下
であると、前記光学系に異常がある旨の警告を出力する
ことを特徴とする請求項10記載の画像読取装置。
11. The control means, when the binarization threshold value is equal to or less than a predetermined reference threshold value, causes the scanning means to perform the image quality determination processing from a scan for collecting the white reference data, and 11. The image reading apparatus according to claim 10, wherein if any of the determination results obtained by performing the image quality determination processing a predetermined number of times is equal to or less than the reference threshold value, a warning indicating that the optical system has an abnormality is output.
【請求項12】前記画像読取装置は、 前記2値化閾値を前記上昇あるいは前記下降させた際の
前記黒画像データの出現位置を記憶する黒画素出現位置
記憶手段をさらに備え、 前記判定手段は、 前記黒画素出現位置記憶手段の記憶する前記黒画像デー
タの出現位置が所定の局所領域に連続していると、前記
光学系にキズやゴミ等の異常があると判定することを特
徴とする請求項2から請求項11のいずれかに記載の画
像読取装置。
12. The image reading device further comprises black pixel appearance position storage means for storing the appearance position of the black image data when the binarization threshold value is raised or lowered. When the appearance positions of the black image data stored in the black pixel appearance position storage means are continuous in a predetermined local area, it is determined that the optical system has an abnormality such as a scratch or dust. The image reading device according to claim 2.
【請求項13】前記判定手段は、 前記画像品質を判定する際の判定基準を、中間調読取モ
ードあるいは単純2値化読取モード等の原稿の読取モー
ドに応じて、変化させることを特徴とする請求項9から
請求項12のいずれかに記載の画像読取装置。
13. The determination means changes the determination criterion for determining the image quality according to a document reading mode such as a halftone reading mode or a simple binary reading mode. The image reading device according to claim 9.
【請求項14】前記制御手段は、 前記判定手段の判定結果に基づいて、前記原稿を走査し
た画像データを前記画像処理手段で2値化する際の2値
化閾値を変化させることを特徴とする請求項9から請求
項13のいずれかに記載の画像読取装置。
14. The control means changes a binarization threshold value when the image processing means binarizes image data obtained by scanning the document based on the determination result of the determination means. The image reading device according to any one of claims 9 to 13.
【請求項15】前記画像処理手段は、 前記原稿を読み取った画像データを所定階調に階調処理
し、 前記制御手段は、 前記判定手段の前記画像品質の判定結果に基づいて、前
記画像処理手段による前記階調処理時の階調数を変化さ
せることを特徴とする請求項9から請求項13のいずれ
かに記載の画像読取装置。
15. The image processing means subjects the image data obtained by reading the original document to gradation processing to a predetermined gradation, and the control means carries out the image processing based on the judgment result of the image quality of the judgment means. 14. The image reading apparatus according to claim 9, wherein the number of gradations during the gradation processing by the means is changed.
【請求項16】前記判定手段は、 前記2値化された前記白基準部材の画像データが黒画像
データであるか否かを判別する判別回路と、 前記判別回路の判別した黒画像データをカウントするカ
ウンタと、 を備え、前記黒画像データの発生の有無、あるいは、発
生割合の判定処理をハードウェアにより処理することを
特徴とする請求項4から請求項15のいずれかに記載の
画像読取装置。
16. The judging means counts the judging circuit for judging whether the binarized image data of the white reference member is black image data, and the black image data judged by the judging circuit. 16. The image reading apparatus according to claim 4, further comprising: a counter for controlling whether or not the black image data is generated, and processing for determining a generation ratio of the black image data is performed by hardware. .
【請求項17】前記判定手段は、 前記白基準部材の2値化された画像データに前記黒画素
が含まれているか、あるいは、前記黒画像データの発生
割合の判定処理をソフトウェアにより処理することを特
徴とする請求項2から請求項15のいずれかに記載の画
像読取装置。
17. The determination means is configured to determine whether the black pixel is included in the binarized image data of the white reference member or the generation ratio of the black image data is processed by software. The image reading device according to any one of claims 2 to 15.
【請求項18】光学系を用いて白基準部材及び原稿を走
査する走査手段と、 前記走査手段が前記白基準部材を走査して得た画素単位
の白基準データを記憶する白基準データ記憶手段と、 前記白基準データに基づいて前記走査手段が走査して得
た画像データに前記光学系によるシェーディング歪みを
シェーディング補正するシェーディング補正手段と、 前記シェーディング補正手段によりシェーディング補正
された画像データに種々の処理パラメータに基づいて種
々の画像処理を施す画像処理手段と、 を備えた画像読取装置において、 前記走査手段により前記白基準部材を走査させて前記白
基準データを前記白基準データ記憶手段に記憶させた
後、前記走査手段に前記原稿を走査させる前に、前記白
基準部材を走査させて、当該白基準部材を走査して得た
画像データを前記白基準データに基づいて前記シェーデ
ィング補正手段によりシェーディング補正させる制御手
段と、 前記白基準部材の前記画像データを前記シェーディング
補正手段によりシェーディング補正したときの補正結果
に基づいて、前記原稿を走査する際の画像品質を判定す
る判定手段と、 を備え、前記制御手段が、前記判定手段の判定結果に基
づいて、前記原稿を走査して得た画像データを画像処理
する際の前記画像処理手段の前記処理パラメータを変化
させることを特徴とする画像読取装置。
18. A scanning means for scanning a white reference member and an original by using an optical system, and a white reference data storage means for storing white reference data in pixel units obtained by the scanning means scanning the white reference member. A shading correction unit that performs shading correction of the shading distortion of the optical system on the image data obtained by scanning by the scanning unit based on the white reference data; and various types of image data that are shading corrected by the shading correction unit. An image reading apparatus comprising: an image processing unit that performs various image processes based on processing parameters; After the scanning, the white reference member is scanned before the scanning unit scans the document, and the white reference member is scanned. Control means for performing shading correction of the image data obtained by scanning by the shading correction means based on the white reference data; and based on a correction result when the image data of the white reference member is subjected to shading correction by the shading correction means. The image data obtained by scanning the document based on the determination result of the determination unit. An image reading apparatus, wherein the processing parameter of the image processing means is changed.
【請求項19】前記制御手段は、 前記シェーディング補正精度の判定処理、あるいは、前
記画像品質の判定処理を所定期間毎に実行することを特
徴とする請求項1から請求項18のいずれかに記載の画
像読取装置。
19. The control unit according to claim 1, wherein the control unit executes the shading correction accuracy determination process or the image quality determination process at predetermined intervals. Image reading device.
JP32810195A 1995-11-22 1995-11-22 Image reading device Expired - Fee Related JP3581748B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32810195A JP3581748B2 (en) 1995-11-22 1995-11-22 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32810195A JP3581748B2 (en) 1995-11-22 1995-11-22 Image reading device

Publications (2)

Publication Number Publication Date
JPH09149251A true JPH09149251A (en) 1997-06-06
JP3581748B2 JP3581748B2 (en) 2004-10-27

Family

ID=18206524

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32810195A Expired - Fee Related JP3581748B2 (en) 1995-11-22 1995-11-22 Image reading device

Country Status (1)

Country Link
JP (1) JP3581748B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009171185A (en) * 2008-01-16 2009-07-30 Kyocera Mita Corp Image reader
US7777918B2 (en) 2007-01-31 2010-08-17 Kabushiki Kaisha Toshiba Image forming apparatus and method of controlling the apparatus
JP2020025206A (en) * 2018-08-08 2020-02-13 コニカミノルタ株式会社 Image reading device, image forming apparatus, and reading control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7777918B2 (en) 2007-01-31 2010-08-17 Kabushiki Kaisha Toshiba Image forming apparatus and method of controlling the apparatus
JP2009171185A (en) * 2008-01-16 2009-07-30 Kyocera Mita Corp Image reader
JP2020025206A (en) * 2018-08-08 2020-02-13 コニカミノルタ株式会社 Image reading device, image forming apparatus, and reading control method

Also Published As

Publication number Publication date
JP3581748B2 (en) 2004-10-27

Similar Documents

Publication Publication Date Title
JPS61214867A (en) Picture processing device
JP4032632B2 (en) Image processing device
JP3565479B2 (en) Image reading device
JP3581748B2 (en) Image reading device
JPS58106570A (en) Picture discriminating device
JP3512257B2 (en) Image reading device
JP3257826B2 (en) Image processing device
JPH02166582A (en) Shading correcting circuit
JP3792402B2 (en) Image processing apparatus, binarization method, and machine-readable recording medium recording a program for causing a computer to execute the binarization method
JPH06311359A (en) Background eliminating device
JPH10327323A (en) Image reader, read image evaluation method and storage medium
JP3476605B2 (en) Image processing device
JPH04287566A (en) Picture processor
JPH09233319A (en) Image processor
JPH0969941A (en) Image processor and method therefor
JPH067626Y2 (en) Image information reader
JPH0584974B2 (en)
JPS61214865A (en) Picture processing device
JPH07170397A (en) Image reader
JP2002359732A (en) Image reader
JPS59186467A (en) Image discriminating method
JPH04287565A (en) Picture processor
JPH02305068A (en) Image reader
JPH11275323A (en) Image reader
JPH0563965A (en) Original picture reader

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040305

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040316

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040514

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040720

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040726

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070730

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080730

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080730

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090730

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090730

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100730

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110730

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120730

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees