JPH0253375A - Reading part dirt detecting circuit - Google Patents

Reading part dirt detecting circuit

Info

Publication number
JPH0253375A
JPH0253375A JP63205816A JP20581688A JPH0253375A JP H0253375 A JPH0253375 A JP H0253375A JP 63205816 A JP63205816 A JP 63205816A JP 20581688 A JP20581688 A JP 20581688A JP H0253375 A JPH0253375 A JP H0253375A
Authority
JP
Japan
Prior art keywords
peak value
circuit
dirt
value
original
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
JP63205816A
Other languages
Japanese (ja)
Inventor
Hiroyuki Okada
浩行 岡田
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP63205816A priority Critical patent/JPH0253375A/en
Publication of JPH0253375A publication Critical patent/JPH0253375A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the degradation of picture quality by extracting the ununiformity of a picture signal in an original set part, which is defined as reference white, and judging the presence and absence of dirt in correspondence to a compared result with a reference value. CONSTITUTION:A prescribed range is set by a peak value detecting range setting circuit 7 to the size of the dirt and a peak value, which is obtained by inputting these information to a peak value detecting circuit 6, is set to the reference peak value register of a peak value comparing circuit 8. White data for one line are read again from the original set part, which is defined as the reference white, by an image sensor 1 and amplified to a prescribed level by an amplifier 3. Further, <= 1/3 range of the dirt size is set to the left terminal of an extending window 15 by the peak value detecting range setting circuit 7 and the peak value, which is obtained by inputting these information to the peak value detecting circuit 6, is set to the compared value register of the peak value comparing circuit 8. Then, comparison processing is executed with a value which is set to a comparing value register. Thus, the degradation of the picture quality is prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は固体イメージセンサを用いた画像読取装置にお
ける読取部汚れ検出回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a reading section dirt detection circuit in an image reading device using a solid-state image sensor.

〔従来の技術〕[Conventional technology]

従来、画像読取装置において読取対象原稿を蛍光灯など
の照明手段により照明し、この読取対象原稿をライン状
の固体イメージセンサにより走査して画像信号を得てい
るが、これには光源の不均一およびレンズの特性により
シェーディングが発生している。従って、第3図に示す
ように原稿28を読取り前にあらかじめ基準白とする原
稿セット部24を蛍光灯25により照明し、レンズ26
を介してイメージセンサ27に投射して、第4図に示す
ような基準白とする原稿セット部24の画像信号(シェ
ーディング波形29)を得、このシェーディング波形2
9を基準にスライスレベル30を生成し、原稿画像信号
31のA/D変換と同時にシェーディング補正を行って
いる。
Conventionally, in an image reading device, the original to be read is illuminated by illumination means such as a fluorescent lamp, and the original to be read is scanned by a line-shaped solid-state image sensor to obtain an image signal. And shading occurs due to the characteristics of the lens. Therefore, as shown in FIG. 3, before reading the original 28, the original setting section 24, which is set as a reference white, is illuminated with a fluorescent lamp 25, and the lens 26
The image signal (shading waveform 29) of the document setting unit 24 is projected to the image sensor 27 as a reference white as shown in FIG. 4, and this shading waveform 2
A slice level 30 is generated based on 9, and shading correction is performed simultaneously with A/D conversion of the original image signal 31.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし、基準白とする原稿セット部24に汚れが付着し
た場合、第5図に示すようにシェーディング波形32の
汚れ付着部分が黒側へ移動し、それと同様にスライスレ
ベル33も変化する。従って、例えばスライスレベル3
3により原稿画像信号31の2値化を行ったとき、汚れ
によるスライスレベル33の黒側への移動により、本来
、黒として抽出されるべき部分が白とされてしまい、画
質の劣化を生じるという問題があった。
However, if dirt adheres to the original document set portion 24, which is set as the reference white, the dirt-attached portion of the shading waveform 32 moves toward the black side, as shown in FIG. 5, and the slice level 33 changes in the same way. Therefore, for example slice level 3
3, when the original image signal 31 is binarized, the slice level 33 moves toward the black side due to dirt, and the portion that should originally be extracted as black is treated as white, resulting in deterioration of image quality. There was a problem.

また、複数のスライスレベルにより画像信号を多値化す
る場合も汚れの付着部分の濃度値が他の部分と比べ低く
なり、画質の劣化を招くという同様の問題がある。
Further, when an image signal is multi-valued using a plurality of slice levels, there is a similar problem in that the density value of a dirty part is lower than that of other parts, leading to deterioration of image quality.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は、上記のような画質の劣化を未然に防ぐために
、従来のシェーディング補正回路に読取部汚れ検出回路
を付加したものであり、上記固体イメージセンサにより
得た基準白とする原稿セット部の画像信号に対し所定の
間隔においてピーク値を求め、これらのピーク値の大き
さの変化に基づいて基準白とする原稿セット部の汚れの
有無を判断する手段を提供することにある。
In order to prevent the above-mentioned deterioration of image quality, the present invention adds a reading section dirt detection circuit to the conventional shading correction circuit, and detects the reference white of the document set section obtained by the above-mentioned solid-state image sensor. It is an object of the present invention to provide a means for determining the peak values of an image signal at predetermined intervals and determining the presence or absence of dirt on a document set portion, which is used as a reference white, based on changes in the magnitude of these peak values.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は、本発明の実施例で、白反射板の汚れ検出回路
を具備した画像信号のディジタル化回路のブロック図で
ある。
FIG. 1 is a block diagram of an image signal digitization circuit including a white reflector stain detection circuit according to an embodiment of the present invention.

イメージセンサ1は光電変換部と、電荷転送のためシフ
トレジスタを備えている。2はクロックパルス発生回路
で、イメージセンサ1のシフトレジスタに所定の周波数
のクロックツ°クルス信号を供給するものである。イメ
ージセンサ1のシフトレジスタの信号電荷は、上記クロ
ックパルスによって順次、出力される。3は増幅器でイ
メージセンサ1のシフトレジスタから出力される信号、
すなわちl走査線の各画素に対応する画像情報を表す信
号電荷に比例する電流を所定レベルに増幅して出力する
。4はシェーディング補正回路であり、基準白とする原
稿セット部から得られた画像信号を画像メモ!J (R
AM)に−旦記憶し、原稿の画像信号を上記記憶データ
に基づき走査線ごとに補正する。5はA/D変換回路で
、上記増幅器3の出力端子と接続され、その増幅器3の
出力信号をディジタル信号に変換する。6はピーク値検
出回路で、増幅器3の出力を受けた1走査線の画像信号
が入力され、任意の範囲において黒レベルから所定のダ
イナミックレンジで白側のピーク値(以後、単にピーク
値と呼ぶ)を検出する。例えば8ビット精度で検出すれ
ば256のピーク値となる。
The image sensor 1 includes a photoelectric conversion section and a shift register for charge transfer. Reference numeral 2 denotes a clock pulse generation circuit that supplies a clock pulse signal of a predetermined frequency to the shift register of the image sensor 1. The signal charges of the shift register of the image sensor 1 are sequentially outputted by the clock pulses. 3 is an amplifier that outputs a signal from the shift register of image sensor 1;
That is, a current proportional to a signal charge representing image information corresponding to each pixel of one scanning line is amplified to a predetermined level and output. 4 is a shading correction circuit, which records the image signal obtained from the document setting section, which is set as the standard white, to the image memo! J (R
AM), and the image signal of the document is corrected for each scanning line based on the stored data. Reference numeral 5 denotes an A/D conversion circuit, which is connected to the output terminal of the amplifier 3 and converts the output signal of the amplifier 3 into a digital signal. Reference numeral 6 denotes a peak value detection circuit, into which the image signal of one scanning line received from the output of the amplifier 3 is input, and detects the white side peak value (hereinafter simply referred to as peak value) in a predetermined dynamic range from the black level in an arbitrary range. ) is detected. For example, if detected with 8-bit precision, the peak value will be 256.

このピーク値検出回路6の出力端子は、後述するピーク
値比較回路8へ入力されるようになっている。なお、ピ
ーク値は白側へいくほど大きな値とする。7はピーク値
検出範囲設定回路で、上記のピーク値検出回路6におけ
る画像信号のピーク値を検出する範囲を設定するもので
ある。すなわち、この回路8により1走査線の画像信号
においてピーク値を求める範囲を設定し、この情報を上
記ピーク値検出回路6に入力することによりピーク値を
得ることができる。8はピーク値比較回路であり、4つ
のレジスタ分もっている。すなわち、基準ピーク値レジ
スタ、被比較値レジスタ、比較値レジスタ、汚れしきい
値レジスタである。基準ピーク値レジスタは後述する拡
大ウィンドー15により求めたピーク値が設定され、被
比較値レジスタには局所ウィンドー16で求めたピーク
値が設定される。又、比較値レジスタには初期値として
ピーク値の量子化ビット数の最大値、例えば8ビツトで
ピーク値を量子化した場合は255、を設定しておく。
The output terminal of this peak value detection circuit 6 is configured to be input to a peak value comparison circuit 8, which will be described later. Note that the peak value increases toward the white side. Reference numeral 7 denotes a peak value detection range setting circuit, which sets the range in which the peak value detection circuit 6 detects the peak value of the image signal. That is, by setting the range for determining the peak value in the image signal of one scanning line using this circuit 8 and inputting this information to the peak value detection circuit 6, the peak value can be obtained. 8 is a peak value comparison circuit, which has four registers. That is, they are a reference peak value register, a compared value register, a comparison value register, and a dirt threshold register. The reference peak value register is set with a peak value obtained using an enlarged window 15, which will be described later, and the compared value register is set with a peak value obtained using a local window 16. Further, the maximum value of the number of quantization bits of the peak value is set as an initial value in the comparison value register, for example, 255 when the peak value is quantized with 8 bits.

そして、被比較値レジスタと比較値レジスタを比較して
、値の小さい方を比較値レジスタに設定し直す。この処
理を所定の回数繰り返し、最終的に得られた比較値レジ
スタの値と基準ピーク値レジスタの値との差を求め、さ
らにこの値と汚れしきい値レジスタの値を比較する。9
は入出力の制御を行う制御部であり、汚れの有無信号1
1が出力される。lOはイメージセンサ1から得られる
画像信号にシェーディング補正を行い、A/D変換後の
ディジタル信号である。
Then, the compared value register and the comparison value register are compared, and the smaller value is reset to the comparison value register. This process is repeated a predetermined number of times, the difference between the finally obtained value of the comparison value register and the value of the reference peak value register is determined, and this value is further compared with the value of the dirt threshold register. 9
is a control unit that controls input and output, and the presence/absence of dirt signal 1
1 is output. lO is a digital signal obtained by performing shading correction on the image signal obtained from the image sensor 1 and after A/D conversion.

以下に、上述の構成の基準白とする原稿セット部の汚れ
検出回路の動作について説明する。初めに、イメージセ
ンサ1により基準白とする原稿セット部から1ライン分
の白データを読み取り、増幅器3を用いて所定のレベル
に増幅したものを第2図のシェーディング波形14とす
る。なお、12は黒レベル、13は白レベルを示してい
る。
The operation of the stain detection circuit of the document setting section having the above-described configuration as the reference white will be described below. First, the image sensor 1 reads one line of white data from the original set section, which is to be used as a reference white, and the amplifier 3 amplifies it to a predetermined level, which becomes the shading waveform 14 in FIG. Note that 12 indicates a black level, and 13 indicates a white level.

ここで、例えばファクシミリ装置において基準白とする
原稿セット部に付着する汚れの主要な原因は、原稿送出
のためのローラによるため汚れの位置、大きさがある程
度予測できる。従って、汚れの大きさに対して所定の範
囲(拡大ウィンドー15と定義)をピーク値検出範囲設
定回路7により設定し、この情報をピーク値検出回路6
に入力して得られたピーク値をピーク値比較回路8の基
準ピーク値レジスタに設定する。再び、基準白とする原
稿セット部から1ライン分の白データをイメージセンサ
1により読み取り、増幅器3で所定のレベルに増幅する
。さらに、汚れの大きさの1/3以下の範囲(局所ウィ
ンドー16と定義)をピーク値検出範囲設定回路7によ
り拡大ウィンドー15の左端子に設定し、この情報をピ
ーク値検出回路6に入力して得られたピーク値をピーク
値比較回路8の被比較値レジスタに設定して、比較値レ
ジスタに設定されている値との比較処理を行う。
Here, for example, in a facsimile machine, the main cause of dirt adhering to the original document setting section, which is used as a reference white, is the roller for sending out the original, so the position and size of the dirt can be predicted to some extent. Therefore, a predetermined range (defined as an enlarged window 15) is set for the size of the dirt by the peak value detection range setting circuit 7, and this information is transmitted to the peak value detection circuit 6.
The peak value obtained by inputting the peak value into the reference peak value register of the peak value comparison circuit 8 is set. Again, the image sensor 1 reads one line of white data from the document set section, which is to be used as a reference white, and the amplifier 3 amplifies it to a predetermined level. Furthermore, a range of 1/3 or less of the dirt size (defined as local window 16) is set to the left terminal of enlarged window 15 by peak value detection range setting circuit 7, and this information is input to peak value detection circuit 6. The peak value obtained is set in the compared value register of the peak value comparison circuit 8, and comparison processing with the value set in the comparison value register is performed.

上述の局所ウィンドー16によるピーク値の検出および
比較処理を繰り返し実施する。但し、この処理を行う毎
に局所ウィンドー16はその大きさだけ右へ移動させ、
また拡大ウィンドー15右端に局所ウィンドー16が達
した場合は、この処理を終了する。上記の局所ウィンド
ー16によるピーク値検出が終了したなら、比較値レジ
スタの値と基準ピーク値レジスタの値、すなわち局所ウ
ィンドー16で求めたピーク値の最小値23と拡大ウィ
ンドー15で求めたピーク値22の差を求める。次にこ
の差と汚れしきい値レジスタに設定されている値と比較
して、差の方が大きいとき基準白とする原稿セット部に
汚れ有、それでないとき汚れ無を示す汚れの有無信号1
1を制御部9から出力する。
The peak value detection and comparison process using the local window 16 described above is repeatedly performed. However, each time this process is performed, the local window 16 is moved to the right by that size,
Further, when the local window 16 reaches the right end of the enlarged window 15, this process is terminated. When the peak value detection using the local window 16 is completed, the value of the comparison value register and the value of the reference peak value register, that is, the minimum value 23 of the peak values determined in the local window 16 and the peak value 22 determined in the enlarged window 15 are determined. Find the difference. Next, this difference is compared with the value set in the dirt threshold register, and when the difference is larger, the reference white is used as the dirt presence signal 1, which indicates that there is dirt on the document set area, and otherwise indicates that there is no dirt.
1 is output from the control section 9.

〔発明の効果〕〔Effect of the invention〕

以上に詳述したように、本発明は基準白とする原稿セッ
ト部を照明手段により照明し、これを固体イメージセン
サにより読み取り画像信号を得、この画像信号から大局
的にみた場合のピーク値と、局所的にみた場合のピーク
値を求め、それらのピーク値の差と所定の値を比較し、
その結果に従って画質の劣化の原因となる基準白とする
原稿セット部の汚れの有無の判断をすることができる。
As described in detail above, the present invention illuminates the original set area with reference white using the illumination means, reads this using the solid-state image sensor, obtains an image signal, and obtains a peak value when viewed from a broad perspective from this image signal. , find the peak value when viewed locally, compare the difference between those peak values and a predetermined value,
Based on the results, it is possible to determine whether or not there is dirt on the document set section, which is used as the reference white, which causes deterioration in image quality.

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

第1図は本発明の一実施例の基準白とする原稿セット部
の汚れ検出回路のブロック図、第2図は画像信号に対す
る拡大ウィンドーおよび局所ウィンドーの設定を説明す
るタイミングチャート、第3図は画像読取機構の構造説
明図、第4図はシェーディング波形とスライスレベルの
波形図、第5図は汚れを含むシェーディング波形とスラ
イスレベルを示す波形図である。 1・・・・・・イメージセンサ、2・・・・・・パルス
発生回路、3・・・・・・増幅器、4・・・・・・シェ
ーディング補正回路、5・・・・・・A/D変換回路、
6・・・・・・ピーク値検出回路、7・・・・・・ピー
ク値検出範囲設定回路、8・・・・・・ピーク値比較回
路、9・・・・・・制御部、10・・・・・・ディジタ
ル信号、11・・・・・汚れの有無信号、12・・・・
・・黒レベル、13・・・・・・白レベル、14・・・
・・・シェーディング波形、15・・・・・・拡大ウィ
ンドー、16〜2.1・・・・・・局所ウィンドー 2
2・・・・・・拡大ウィンドーで求めるピーク値、23
・・・・・・局所ウィンドーで求めたピーク値の最小値
、24・・・・・・基準白とする原稿セット部、25・
・・・・・蛍光灯、26・・・・・・レンズ、27・・
・・・・イメージセンサ、28・・・・・・原L29・
・・・・・シェーディング波形、30・・・・・・スラ
イスレベル、31・・・・・・原稿画像信号、32・・
・・・・シェーディング波形、33・・・・・・スライ
スレベル。 代理人 弁理士 内 原   晋 茅 l 圀 第 巴
FIG. 1 is a block diagram of a dirt detection circuit in a document setting section that uses reference white in an embodiment of the present invention, FIG. 2 is a timing chart illustrating setting of an enlargement window and a local window for image signals, and FIG. FIG. 4 is a waveform diagram showing a shading waveform and a slice level, and FIG. 5 is a waveform diagram showing a shading waveform including dirt and a slice level. 1... Image sensor, 2... Pulse generation circuit, 3... Amplifier, 4... Shading correction circuit, 5... A/ D conversion circuit,
6...Peak value detection circuit, 7...Peak value detection range setting circuit, 8...Peak value comparison circuit, 9...Control unit, 10. ...Digital signal, 11...Dirty presence signal, 12...
...Black level, 13...White level, 14...
...Shading waveform, 15... Enlarged window, 16-2.1... Local window 2
2...Peak value found in the enlarged window, 23
... Minimum peak value found in the local window, 24 ... Original set section to be used as reference white, 25.
...Fluorescent lamp, 26...Lens, 27...
...Image sensor, 28...Original L29.
...Shading waveform, 30...Slice level, 31...Original image signal, 32...
...Shading waveform, 33...Slice level. Agent Patent Attorney Shinsho Uchihara Kunidai Tomoe

Claims (1)

【特許請求の範囲】[Claims] 原稿セット前の読取部分に基準白とする原稿セット部を
有し、基準白信号をあらかじめ読取り、その信号を利用
してシェーディングを自動的に補正する画像読取装置に
おいて、基準白信号を与える原稿セット部から得られた
1ライン分の画像信号のピーク値を求めるピーク値検出
回路と、ピーク値を求める範囲を決定するピーク値検出
範囲設定回路と、ピーク値の大きさを比較するピーク値
比較回路とを有し、前記ピーク値比較回路により基準白
とする原稿セット部の画像信号の不均一性を抽出して、
あらかじめ定められた基準値と比較し、この比較結果に
応じて基準白とする原稿セット部に付着した汚れの有無
が判断できるようにしたことを特徴とする読取部汚れ検
出回路。
An original set that provides a reference white signal in an image reading device that has an original setting section that is used as a reference white in the reading area before setting the original, reads a reference white signal in advance, and automatically corrects shading using that signal. a peak value detection circuit that determines the peak value of one line of image signal obtained from the image signal, a peak value detection range setting circuit that determines the range in which the peak value is determined, and a peak value comparison circuit that compares the magnitude of the peak value. and extracting the non-uniformity of the image signal of the original set portion to be used as a reference white by the peak value comparison circuit,
A reading section dirt detection circuit is characterized in that it is able to compare it with a predetermined reference value and determine the presence or absence of dirt attached to a document setting section to be set as a reference white according to the comparison result.
JP63205816A 1988-08-18 1988-08-18 Reading part dirt detecting circuit Pending JPH0253375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63205816A JPH0253375A (en) 1988-08-18 1988-08-18 Reading part dirt detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63205816A JPH0253375A (en) 1988-08-18 1988-08-18 Reading part dirt detecting circuit

Publications (1)

Publication Number Publication Date
JPH0253375A true JPH0253375A (en) 1990-02-22

Family

ID=16513174

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63205816A Pending JPH0253375A (en) 1988-08-18 1988-08-18 Reading part dirt detecting circuit

Country Status (1)

Country Link
JP (1) JPH0253375A (en)

Similar Documents

Publication Publication Date Title
US5500745A (en) Image reading device capable of performing shading correction
US6175660B1 (en) Image reading apparatus
JPH10294870A (en) Image processing unit
JP2001086333A (en) Image reader and image processor provided with the image reader
JPH0253375A (en) Reading part dirt detecting circuit
JPS6093878A (en) Picture reader
JPH0199370A (en) Circuit for detecting stain of read section
JP3701094B2 (en) Image reading device
JP2833006B2 (en) Shading correction circuit
JPS61242170A (en) Signal processor
JP3027400B2 (en) Image binarization circuit
JP2730633B2 (en) Document detection device
JPS5957572A (en) Binary-coding system
JPS63215262A (en) Picture input device
JPH1188676A (en) Image-reading method and system thereof
JPH02166582A (en) Shading correcting circuit
JPH01177278A (en) Picture reader
JPH02218267A (en) Shading correction circuit
KR20000000673A (en) Shading correction method
JPS63308471A (en) Picture signal binarization device
JPH03121472A (en) Original size detecting device
JPS6214577A (en) Automatic white waveform correcting system for facsimile equipment or the like
JPS62115973A (en) Picture processing method and its device
JPH1188689A (en) Image read method and device
JPH0548896A (en) Picture reader