JPH04296165A - Picture reader - Google Patents

Picture reader

Info

Publication number
JPH04296165A
JPH04296165A JP3061634A JP6163491A JPH04296165A JP H04296165 A JPH04296165 A JP H04296165A JP 3061634 A JP3061634 A JP 3061634A JP 6163491 A JP6163491 A JP 6163491A JP H04296165 A JPH04296165 A JP H04296165A
Authority
JP
Japan
Prior art keywords
line
data
pixel
read
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3061634A
Other languages
Japanese (ja)
Inventor
Hideo Saito
秀夫 斎藤
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3061634A priority Critical patent/JPH04296165A/en
Publication of JPH04296165A publication Critical patent/JPH04296165A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To implement shading correction in a short processing time with a few storage means and low speed arithmetic processing by reading other lines up to a prescribed line number and correcting a read data of one line in which number of errors is minimum. CONSTITUTION:The reader is provided with a fault detection counter 33 and when a fault is detected again, a number of times of faults of a preceding line stored in a main memory 22 or the like is compared with a number of faults of a current line. When the number of faults of the preceding line is less, no processing is implemented and when the number of faults of the current line is less, the number of faults of the current line is revised in the main memory 22 and a data of one line in a control circuit 15 including the line memory is read in the processing use main memory 22. The operation above is implemented for a prescribed line number and when a fault is detected further, a control processor 20 corrects one line data representing a minimum error stored in the main memory 22, the result is converted into a computing element 16 and the data is written in the control circuit 15 including the line memory again.

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 that includes an image sensor and performs shading correction.

【0002】0002

【従来の技術】近年、画像読み取り装置はファクシミリ
装置,複写装置,情報機器への画像入力用など広範囲に
用いられてきている。
2. Description of the Related Art In recent years, image reading devices have been widely used for inputting images to facsimile machines, copying machines, and information equipment.

【0003】従来より、原稿を照射しその反射光または
透過光を、光学系によりイメージセンサ上に結像し、同
時に電気的に走査することにより、原稿情報を電気信号
に変換するイメージスキャナにおいて、照明ムラ,結像
系の光量ムラ,イメージセンサの感度ムラによりシェー
ディング歪が発生する。このシェーディング歪を取り除
くため一定濃度の白色基準板を読み取り、シェーディン
グ補正を行っている。しかしながら、このようなシェー
ディング補正においては、使用する白色基準板に汚れ,
傷,ほこりなどがあった場合には、その部分から得たシ
ェーディング補正データに著しい誤りが生じるので、か
えってシェーディング補正後の画像データが不良となり
画像に線や縞などの欠点が生じる結果となっていた。
Conventionally, image scanners convert document information into electrical signals by irradiating a document, forming an image of the reflected light or transmitted light on an image sensor using an optical system, and simultaneously scanning the document electrically. Shading distortion occurs due to uneven illumination, uneven light intensity of the imaging system, and uneven sensitivity of the image sensor. In order to remove this shading distortion, a white reference plate of a constant density is read and shading correction is performed. However, in such shading correction, the white reference plate used may be contaminated or
If there are scratches, dust, etc., significant errors will occur in the shading correction data obtained from that area, resulting in defective image data after shading correction and defects such as lines and stripes in the image. Ta.

【0004】このような補正不良を取り除くために、白
色基準板の複数のラインを読み取り、各画素について各
ラインのデータの最大値を補正データとしたり、白色基
準板の複数ラインを読み取り、その平均値を補正データ
とするなどの方法が提案されている。
In order to eliminate such correction defects, it is possible to read multiple lines of a white reference plate and use the maximum value of each line's data for each pixel as correction data, or to read multiple lines of a white reference plate and calculate the average value of the data for each pixel. Methods such as using the value as correction data have been proposed.

【0005】[0005]

【発明が解決しようとする課題】しかしながら上記の従
来の構成では、いずれも大量の記憶手段を必要としたり
、高速の演算処理を必要としたり、また処理時間が長い
などの問題点を有していた。
[Problems to be Solved by the Invention] However, all of the above conventional configurations have problems such as requiring a large amount of storage, high-speed arithmetic processing, and long processing time. Ta.

【0006】本発明は上記従来の問題点を解決するもの
で、白色基準板に汚れ,傷,ほこりなどがあっても、少
量の記憶手段で、低速な演算処理で、かつ短い処理時間
でシェーディング補正を行う画像読み取り装置を提供す
ることを目的とする。
The present invention solves the above-mentioned conventional problems, and even if there is dirt, scratches, dust, etc. on the white reference plate, shading can be done using a small amount of storage means, low-speed calculation processing, and short processing time. An object of the present invention is to provide an image reading device that performs correction.

【0007】[0007]

【課題を解決するための手段】この目的を達成するため
に本発明は、白色基準板を1ライン走査してその1ライ
ンの読み取りデータを記憶する1ライン記憶手段と、前
記1ラインの読み取りデータ内の画素間の変化値を検出
する画素間変化検出手段と、前記画素間の変化値が所定
の値を越えたと判別しかつ所定の値を越えた回数を保持
する計数保持手段と、前記画素間の変化値が所定の値を
越えたと判別した場合は別の1ラインを読み取る複数ラ
イン読み取り手段と、前記の画素間の変化量が所定値を
越える状態により所定ライン数を読み取っても全て前記
画素間の変化値が所定の値を越えた場合は所定の値を越
えた回数が最少の1ラインの読み取りデータを補正する
補正手段とを有している。
[Means for Solving the Problems] In order to achieve this object, the present invention provides a one-line storage means for scanning one line of a white reference plate and storing the one line of read data, and one line of reading data of the one line. pixel-to-pixel change detection means for detecting a change value between pixels within the pixel; count holding means for determining that the change value between the pixels exceeds a predetermined value and retaining the number of times the pixel-to-pixel change value exceeds the predetermined value; If it is determined that the change value between the pixels exceeds a predetermined value, the multi-line reading means reads another line; If the change value between pixels exceeds a predetermined value, the correction means corrects the read data of one line that exceeds the predetermined value the least number of times.

【0008】[0008]

【作用】本発明は上記構成により、白色基準板を1ライ
ン走査して画素間の変化値が所定の値を越える場合、そ
の1ラインの読み込みデータと異常回数とを保持したう
え、さらに他のラインを所定のライン数まで読み取り、
その中で異常回数が最少の1ラインの読み取りデータを
補正するように作用する。
[Operation] With the above configuration, when the white reference plate is scanned for one line and the change value between pixels exceeds a predetermined value, the read data of that one line and the number of abnormalities are retained, and furthermore, other data are stored. Read lines up to a predetermined number of lines,
It acts to correct the read data of one line with the least number of abnormalities among them.

【0009】[0009]

【実施例】(実施例1)以下本発明の一実施例について
、図面を参照しながらその構成と動作を説明する。
Embodiment (Embodiment 1) The structure and operation of an embodiment of the present invention will be described below with reference to the drawings.

【0010】図1において、ラインイメージセンサ11
が出力するアナログ画素信号AVは増幅器12を介し、
アナログ/デジタル変換器13に加えられ、デジタル画
素信号DVに変換される。
In FIG. 1, a line image sensor 11
The analog pixel signal AV outputted by is passed through the amplifier 12,
It is applied to an analog/digital converter 13 and converted into a digital pixel signal DV.

【0011】白色基準板(図示せず)の読み取りは、制
御プロセッサ20から出力される信号により制御レジス
タ17が切り替え器14を図示のように接続してデジタ
ル画素信号DVが信号線50を介してラインメモリ(高
速処理が要求される)を含む制御回路15に入力され1
ラインの読み取りデータが記憶され、かつ画素間ごとに
変化値の異常(汚れ,傷,ほこりなど)を検出し、その
異常の回数が保持され、引き続き1ラインの全画素間の
変化値が検出れると、白色基準板の読み取りを停止する
To read the white reference plate (not shown), the control register 17 connects the switch 14 as shown in the figure according to a signal output from the control processor 20, and the digital pixel signal DV is transmitted via the signal line 50. 1 is input to a control circuit 15 including a line memory (requiring high-speed processing).
The line read data is stored, and abnormalities in change values (dirt, scratches, dust, etc.) are detected between pixels, the number of abnormalities is stored, and the change values between all pixels of one line are continuously detected. and stops reading the white reference plate.

【0012】つぎに制御プロセッサ20がラインメモリ
を含む制御回路15内に保持されている異常回数信号を
読み込み、異常な信号変化が検出されないときは制御プ
ロセッサ20がラインメモリを含む制御回路15に記憶
されている1ラインのデータを処理用のメインメモリ2
2(高速処理は要求されない)に読み込み、つぎに使用
する演算器16に対応して1ラインのデータを制御プロ
セッサ20が変換し、(たとえば演算器16に乗算器を
使用した場合は逆数に変換される)、再びラインメモリ
を含む制御回路15に書き込まれる。
Next, the control processor 20 reads the abnormality count signal held in the control circuit 15 including the line memory, and if no abnormal signal change is detected, the control processor 20 stores the signal in the control circuit 15 including the line memory. Main memory 2 for processing one line of data
2 (high-speed processing is not required), the control processor 20 converts one line of data corresponding to the arithmetic unit 16 to be used next, and (for example, if a multiplier is used for the arithmetic unit 16, it is converted into a reciprocal). ), and is again written to the control circuit 15 including the line memory.

【0013】なお、前記異常回数信号を読み込み異常な
信号変化が検出された場合は、制御プロセッサ20がラ
インメモリを含む制御回路15内に保持されている異常
回数と1ラインの読み取りデータを処理用のメインメモ
リ22などに読み込む。つぎに図示されていない、別の
ラインを読み込む複数のライン読み取り手段により別の
1ラインを読み、前記の画素間変化値の異常を検出しそ
の異常の回数を保持する。ここで制御プロセッサ20が
ラインメモリを含む制御回路15内に保持されている異
常回数信号を読み込み、異常が検出されないときはライ
ンメモリを含む制御回路15から1ラインの読み取りデ
ータを処理用のメインメモリ22に読み込み以下前記と
同じ動作を行う。なお再び異常が検出された時はメイン
メモリ22などに記憶されている前ラインの異常回数と
現ラインの異常回数を比較し、前ラインが少なければ何
もせず、現ラインが少なければ現ラインの異常回数をメ
インメモリ22などに更新しかつラインメモリを含む制
御回路15内の1ラインのデータを処理用のメインメモ
リ22に読み込む。以上一連の動作を所定のライン数(
方式にもよるが、たとえば数十ライン)、行いそれでも
異常が検出される時は、制御プロセッサ20がメインメ
モリ22に記憶されている最少異常数の1ラインのデー
タを補正し(補正手段)、かつ演算器16に対応したデ
ータ変換され、再びラインメモリを含む制御回路に書き
込まれる。
[0013] When reading the abnormal number signal and detecting an abnormal signal change, the control processor 20 uses the abnormal number and one line of read data held in the control circuit 15 including the line memory for processing. The data is read into the main memory 22 or the like. Next, another line is read by a plurality of line reading means (not shown) that read another line, and an abnormality in the pixel-to-pixel change value is detected and the number of times the abnormality has occurred is held. Here, the control processor 20 reads the abnormality count signal held in the control circuit 15 including the line memory, and when no abnormality is detected, the read data of one line is transferred from the control circuit 15 including the line memory to the main memory for processing. 22, and the same operations as above are performed. When an abnormality is detected again, compare the number of abnormalities of the previous line stored in the main memory 22 etc. with the number of abnormalities of the current line. If the number of abnormalities in the previous line is low, nothing is done, and if the number of abnormalities in the current line is low, the number of abnormalities in the current line is The number of abnormalities is updated in the main memory 22, etc., and one line of data in the control circuit 15 including the line memory is read into the main memory 22 for processing. The above series of operations is repeated for a predetermined number of lines (
Depending on the method, for example, several tens of lines), and if an abnormality is still detected, the control processor 20 corrects the data of one line of the minimum number of abnormalities stored in the main memory 22 (correction means), The data is then converted into data corresponding to the arithmetic unit 16, and written into the control circuit including the line memory again.

【0014】以上のように、白色基準板1のラインの読
み取りデータがラインメモリを含む制御回路15に記憶
された後は、制御プロセッサ20から出力される信号に
より制御レジスタ17が切り替え器14を図示される状
態とは反対側に接続して、原稿のデジタル画素信号DV
が信号線58を介して、またラインメモリを含む制御回
路15に記憶されている白色基準板のデータが信号線5
9を介して演算器16に入力され、原稿のデータが白色
基準板のデータで補正演算され信号線60に出力される
As described above, after the read data of the line of the white reference plate 1 is stored in the control circuit 15 including the line memory, the control register 17 switches the switch 14 in response to a signal output from the control processor 20. Connect to the side opposite to the state in which the
The data of the white reference plate stored in the control circuit 15 including the line memory is transmitted via the signal line 58.
The data of the document is input to the arithmetic unit 16 via the reference board 9, and the data of the original is corrected using the data of the white reference plate and is output to the signal line 60.

【0015】なおプログラム制御用メモリ21は前記一
連の動作などを制御プロセッサ20に行わせるためのプ
ログラムなどを記憶するメモリであり、またバス70は
制御プロセッサ20とデータをやりとりするための信号
線である。
The program control memory 21 is a memory that stores programs for causing the control processor 20 to perform the series of operations described above, and the bus 70 is a signal line for exchanging data with the control processor 20. be.

【0016】さらに図2において図1のラインメモリを
含む制御回路15について説明する。なお図2の入力信
号50,出力信号59とバス70は図1と同じである。
Further, referring to FIG. 2, the control circuit 15 including the line memory of FIG. 1 will be explained. Note that the input signal 50, output signal 59, and bus 70 in FIG. 2 are the same as in FIG.

【0017】前記白色基準板のデータ読み込み時におい
て、信号線50を介して入力される白色基準板の読み取
りデータは1ライン記憶手段であるラインメモリ35に
記憶されると同時に、画素間の変化量を検出する回路3
1に入力されその変化量の信号は信号線51を介して比
較器32に入力される。比較器32において図1の制御
プロセッサ20よりバス70を介してしきい値レジスタ
34に書き込まれる判定用のデータと比較され異常が検
出されると信号線52を介して異常検出カウンタ33に
記憶される。以上のプロセスを計数保持手段と定義する
。以上1ラインのデータがラインメモリ35に記憶され
かつ全ての画素間が検査されると、白色基準板1ライン
の読み込みを停止する。なお異常検出カウンタ33は1
ラインの読み込みに先立ち制御プロセッサ20により、
0に設定される。
When reading the data of the white reference plate, the read data of the white reference plate input through the signal line 50 is stored in the line memory 35, which is one line storage means, and at the same time, the amount of change between pixels is Circuit 3 to detect
1 and the signal representing the amount of change is input to the comparator 32 via the signal line 51. In the comparator 32, the data is compared with the judgment data written to the threshold register 34 from the control processor 20 of FIG. Ru. The above process is defined as a count holding means. When one line of data has been stored in the line memory 35 and all the pixels have been inspected, reading of one line of the white reference plate is stopped. Note that the abnormality detection counter 33 is 1.
Prior to reading the line, the control processor 20
Set to 0.

【0018】(実施例2)以下本発明の第2の実施例に
ついて図面を参照しながら説明する。
(Embodiment 2) A second embodiment of the present invention will be described below with reference to the drawings.

【0019】図3において、11はラインイメージセン
サ、12は増幅器、13はアナログ/デジタル変換器、
14は切り替え器、15はラインメモリを含む制御回路
、16は演算器、17は制御レジスタ、20は制御プロ
セッサ、21はプログラム制御用メモリ、22は処理用
メインメモリで、以上は図1の構成と同等のものである
。図1の構成と異なるのは光・音・文字などによって表
示する表示器23(表示手段)をバス70に接続し、(
実施例1)において画素間の異常が検出されたときは、
制御プロセッサ20がそのむね表示器23に表示させ外
部に知らせるようにした点である。
In FIG. 3, 11 is a line image sensor, 12 is an amplifier, 13 is an analog/digital converter,
14 is a switch, 15 is a control circuit including a line memory, 16 is an arithmetic unit, 17 is a control register, 20 is a control processor, 21 is a memory for program control, and 22 is a main memory for processing, and the above is the configuration of FIG. It is equivalent to The difference from the configuration shown in FIG.
When an abnormality between pixels is detected in Example 1),
The point is that the control processor 20 displays the information on the display 23 to inform the outside.

【0020】[0020]

【発明の効果】以上のように本発明は、白色基準板を1
ライン走査してその1ラインの読み取りデータを記憶す
る1ライン記憶手段と、前記1ラインのデータ内の画素
間の変化値を検出する画素間変化検出手段と、前記変化
値が所定の値を越えたと判別しかつ所定の値を越えた回
数を保持する計数保持手段と、前記変化値が所定の値を
越えたと判別した場合は別の1ラインを読み取る複数ラ
イン読み取り手段と、前記状態により所定ライン数を読
み取っても全て前記変化値が所定の値を越えた場合は変
化値が所定の値を越えた回数が最少の1ラインのデータ
を補正する補正手段を設けることにより、白色基準板に
汚れ,傷,ほこりなどがあっても、少量の記憶手段で、
低速な演算処理で、かつ短い処理時間でシェーディング
補正を行うことができる優れた画像読み取り装置を実現
できるものである。
Effects of the Invention As described above, the present invention provides a white reference plate in one
1-line storage means for scanning a line and storing read data for the 1 line; inter-pixel change detection means for detecting a change value between pixels in the 1 line of data; count holding means for determining the number of times the change value exceeds a predetermined value; multi-line reading means for reading another line when it is determined that the change value exceeds a predetermined value; If all of the change values exceed a predetermined value even after reading the numbers, by providing a correction means that corrects the data of one line where the change value exceeds the predetermined value the least number of times, the white reference plate is prevented from becoming contaminated. Even if there are scratches, dust, etc., with a small amount of storage,
It is possible to realize an excellent image reading device that can perform shading correction with low-speed calculation processing and in a short processing time.

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

【図1】本発明の第1の実施例の画像読み取り装置の動
作説明のためのブロック図
FIG. 1 is a block diagram for explaining the operation of an image reading device according to a first embodiment of the present invention.

【図2】同じく第1の実施例におけるラインメモリを含
む制御回路の詳細説明のためのブロック図
FIG. 2 is a block diagram for detailed explanation of a control circuit including a line memory in the first embodiment.

【図3】同じ
く第2の実施例における全体の動作説明のためのブロッ
ク図
FIG. 3 is a block diagram for explaining the overall operation in the second embodiment.

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

11  ラインイメージセンサ 12  増幅器 13  アナログ/デジタル変換器 14  切り替え器 15  ラインメモリを含む制御回路 16  演算器 17  制御レジスタ 20  制御プロセッサ 21  プログラム制御用メモリ 22  処理用メインメモリ 23  表示器(表示手段) 31  画素間変化検出回路 32  比較器 33  異常検出カウンタ 34  しきい値レジスタ 35  ラインメモリ(1ライン記憶手段)70  バ
ス信号線 AV  アナログ画素信号 DV  デジタル画素信号
11 Line image sensor 12 Amplifier 13 Analog/digital converter 14 Switcher 15 Control circuit 16 including line memory Arithmetic unit 17 Control register 20 Control processor 21 Memory for program control 22 Main memory for processing 23 Display (display means) 31 Pixel Interval change detection circuit 32 Comparator 33 Abnormality detection counter 34 Threshold register 35 Line memory (1 line storage means) 70 Bus signal line AV Analog pixel signal DV Digital pixel signal

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】原稿または白色に着色された白色基準板を
照明して、その反射光をイメージセンサに画像データと
して、1ラインごとに読み取る画像読み取り装置におい
て、白色基準板の1ラインの読み取りデータを記憶する
1ライン記憶手段と、前記1ラインの読み取りデータ内
の画素間の変化値を検出する画素間変化検出手段と、前
記画素間の変化値が所定の値を越えたと判別しかつ所定
の値を越えた回数を保持する計数保持手段と、前記画素
間の変化値が所定の値を越えたと判別した場合は別の1
ラインを読み取る複数ライン読み取り手段と、前記の画
素間の変化量が所定値を越える状態により所定ライン数
を読み取っても全て前記画素間の変化値が所定の値を越
えた場合は、所定の値を越えた回数が最少の1ラインの
読み取りデータを補正する補正手段とを有する画像読み
取り装置。
[Claim 1] An image reading device that illuminates a document or a white reference plate colored white and uses the reflected light as image data on an image sensor to read line by line, the read data of one line of the white reference plate. pixel-to-pixel change detection means for detecting a pixel-to-pixel change value in the one line of read data; a count holding means for holding the number of times the value has been exceeded, and another one when it is determined that the change value between the pixels has exceeded a predetermined value.
If a predetermined number of lines are read and the pixel-to-pixel variation value exceeds a predetermined value, the predetermined value An image reading device comprising: a correction means for correcting one line of read data that exceeds the minimum number of times.
【請求項2】データの補正が行われたときは外部へ認知
せしめる表示手段を有する請求項1記載の画像読み取り
装置。
2. The image reading apparatus according to claim 1, further comprising a display means for making externally aware of when the data has been corrected.
JP3061634A 1991-03-26 1991-03-26 Picture reader Pending JPH04296165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3061634A JPH04296165A (en) 1991-03-26 1991-03-26 Picture reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3061634A JPH04296165A (en) 1991-03-26 1991-03-26 Picture reader

Publications (1)

Publication Number Publication Date
JPH04296165A true JPH04296165A (en) 1992-10-20

Family

ID=13176826

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3061634A Pending JPH04296165A (en) 1991-03-26 1991-03-26 Picture reader

Country Status (1)

Country Link
JP (1) JPH04296165A (en)

Similar Documents

Publication Publication Date Title
JPS62118676A (en) Picture processing system
JPS62230265A (en) Picture signal correcting device
US7251064B2 (en) Calibration of an image scanning system
JPH0461345B2 (en)
JPH04235472A (en) Image pickup device
JPH09101236A (en) Method and apparatus for detecting defect of display
JP3204876B2 (en) Print inspection equipment
JPH10294870A (en) Image processing unit
JPH04296165A (en) Picture reader
JP2002024802A (en) Image processing system
JPH04296164A (en) Picture reader
JP2882227B2 (en) Pixel defect correction device
JP3231840B2 (en) Image inspection equipment
JP3015325B2 (en) Streak inspection method and device
JPH11175727A (en) Inspection method and device therefor
JPH06303428A (en) Image reader
JP2001016446A (en) Image reader
JP3202330B2 (en) Defect inspection equipment
JP2841373B2 (en) Pattern inspection equipment
JP3245217B2 (en) Threshold value determination device for image inspection and image inspection device
JP3412732B2 (en) Defect inspection method and apparatus
JP2002247355A (en) Image reader
JP2931312B2 (en) Defect inspection method
JPS60100076A (en) Inspecting apparatus for color mark omission
JPH0614144A (en) Self-diagnostic system for plural substrates