JPH03104479A - Image processor - Google Patents

Image processor

Info

Publication number
JPH03104479A
JPH03104479A JP1242832A JP24283289A JPH03104479A JP H03104479 A JPH03104479 A JP H03104479A JP 1242832 A JP1242832 A JP 1242832A JP 24283289 A JP24283289 A JP 24283289A JP H03104479 A JPH03104479 A JP H03104479A
Authority
JP
Japan
Prior art keywords
reference signal
level
pseudo
signal
addition
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
JP1242832A
Other languages
Japanese (ja)
Inventor
Bunji Furukawa
古川 文治
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP1242832A priority Critical patent/JPH03104479A/en
Publication of JPH03104479A publication Critical patent/JPH03104479A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To accurately perform shading correction by using a correction reference signal generated in such a way that a signal part where the level of a pseudo reference signal is larger than that of an addition reference signal is set as the level of the pseudo reference signal, and the signal part where the level of the addition reference signal is larger than that of the pseudo reference signal as the level of a reference signal. CONSTITUTION:False reference signal data stored in a RAM 16 is read out sequentially, and is inputted to a comparator 14 via a latch circuit 9. Thereby, the level of the addition reference signal is compared with that of the pseudo reference signal at every picture element data at the comparator 14, and a comparison result is informed to a RAM control circuit 15. The RAM control circuit 15, when the fact that the level of the addition reference signal is larger than that of the pseudo reference signal being informed from the comparator 14, activates a buffer 3, and also, sets the RAM 6 at a write enable state, which enables the output data (reference signal data) of a latch circuit 2 to be written on the RAM 6. At such a time, the pseudo reference signal data stored in the RAM 6 is rewritten to reference signal data.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、予め登録された基準信号に基づいて画像信号
のシエーディング補正を行う画像処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to an image processing device that performs shading correction on an image signal based on a reference signal registered in advance.

(従来の技術) 原稿上の画像情報を読取って入力する例えばファクシミ
リ装置、イメージスキャナ、デイジタル複写機などの装
置においては、照明光源からの光を原稿面に照射し、多
数の光電変換素子を一次元配列して構成されたイメージ
センサによって原稿面からの反射光を受光し、光電変換
することによって原稿上の画像に対応した画像信号を生
成するものとなっている。
(Prior Art) In devices such as facsimile machines, image scanners, and digital copying machines that read and input image information on a document, light from an illumination light source is irradiated onto the document surface and a large number of photoelectric conversion elements are The image sensors arranged in the original arrangement receive reflected light from the surface of the document, and photoelectrically convert the received light to generate an image signal corresponding to the image on the document.

ところでこのような方法にて画像情報の読取りを行う場
合、照明光源による照明光量の不均一やイメージセンサ
を構成する多数の光電変換素子相互の特性の誤差などの
影響により、得られる画像信号が不正確なものとなる。
However, when reading image information using such a method, the obtained image signal may be unstable due to the influence of non-uniformity in the amount of illumination light due to the illumination light source and errors in the characteristics of the many photoelectric conversion elements that make up the image sensor. It will be accurate.

そこで′、例えば読取位置の背面板(原稿搬送路を挟ん
でイメージセンサと対向している部材)を均一な白色と
しておき、この背面板からの反射光を光電変換して得ら
れた信号を基準信号として画像信号の補正を行う、いわ
ゆるシエーディング補正を行っている。
Therefore, for example, the back plate at the reading position (the member facing the image sensor across the document transport path) is made uniformly white, and the signal obtained by photoelectrically converting the reflected light from this back plate is used as the standard. A so-called shading correction is performed to correct the image signal as a signal.

第9図はこのようなシェーディング補正を行う従来の画
像処理装置の構成例を示す図である。図中、1はA/D
変換器であり、図示しないイメージセンサで光電変換に
より得られ、入力された信号をディジタル化する。
FIG. 9 is a diagram showing an example of the configuration of a conventional image processing apparatus that performs such shading correction. In the figure, 1 is A/D
This is a converter that digitizes the input signal obtained by photoelectric conversion using an image sensor (not shown).

ここで、画像の読取りに先立って背面板を読取って得ら
れた基準信号が入力された場合、A/D変換器1でディ
ジタル化された基準信号データは、ラッチ回路2に一旦
ラッチされるとともに、バッファ3を介して、RAM制
御回路4およびアドレス発生回路5により制御されてR
AM6へと書込まれる。
Here, when the reference signal obtained by reading the back plate is input before reading the image, the reference signal data digitized by the A/D converter 1 is once latched by the latch circuit 2 and , via the buffer 3, are controlled by the RAM control circuit 4 and the address generation circuit 5.
Written to AM6.

そして、画像信号のシェーディング補正を行う場合には
、入力された画像信号はA/Dコンバータ1で画像信号
データに変換された後、ラッチ回路2を介して割算器7
に入力される。これと同時に、RAM制御回路4および
アドレス発生回路5の制御によってRAM6に格納され
た基準信号データが画像信号データに同期して、バッフ
ァ8およびラッチ回路9を介して順次割算器7へと入力
される。割算器7は画像信号データが表す信号レベルを
A1基準信号データが表す信号レベルをBとした場合、
【Aα/Blなる式を演算している。
When performing shading correction on the image signal, the input image signal is converted into image signal data by the A/D converter 1, and then passed through the latch circuit 2 to the divider 7.
is input. At the same time, the reference signal data stored in the RAM 6 under the control of the RAM control circuit 4 and address generation circuit 5 is sequentially input to the divider 7 via the buffer 8 and latch circuit 9 in synchronization with the image signal data. be done. The divider 7 divides the signal level represented by the image signal data into A1 and the signal level represented by the reference signal data into B.
[The formula Aα/Bl is calculated.

なおαは後段の回路の構成によって決まる所定値の補正
係数である。
Note that α is a correction coefficient of a predetermined value determined by the configuration of the subsequent circuit.

ここで、例えば背面板にごみなどが付着していた場合、
背面板を読取って得られた信号は第10図に示すように
ごみが付着していた部分の信号レベルが低くなってしま
う。しかし第9図に示した従来の画像処理装置ではこの
ような第10図に示すような信号を基準信号として画像
信号のシエ−ディング補正を行うので、例えば第11図
示の画像信号のシエーディング補正を行うと、シェーデ
ィング補正後の画像信号は第12図に示すように、基準
信号のごみの影響でレベルが低い部分に対応する部分で
信号レベルが高くなってしまう。
For example, if there is dust attached to the back plate,
As shown in FIG. 10, the signal obtained by reading the back plate has a low signal level in the area where dust has adhered. However, in the conventional image processing apparatus shown in FIG. 9, the shading correction of the image signal is performed using the signal shown in FIG. 10 as a reference signal, so for example, the shading correction of the image signal shown in FIG. If this is done, the image signal after the shading correction will have a high signal level in a portion corresponding to a low level portion due to the influence of dust in the reference signal, as shown in FIG.

ところで例えばファクシミリ装置等では画(象信号を自
動利得制御回路(AGC回路)にて利得制御するが、こ
のAGC回路は入力信号の最大レベルを所定レベルにす
るため、本来の画像信号における最大値であるαのレベ
ルが低下してしまい、画像が全体的に暗いものとなって
しまう。
By the way, in facsimile machines, for example, the gain of the image signal is controlled by an automatic gain control circuit (AGC circuit), but this AGC circuit sets the maximum level of the input signal to a predetermined level. The level of a certain α decreases, and the entire image becomes dark.

(発明が解決しようとする課題) 以上のように従来の画像処理装置では、背面板などの基
準部材を読取って得られた信号をそのまま基準信号とし
てシエーディング補正を行うものとなっているため、基
準部材にごみなどが付着した場合にシエーディング補正
後の画像が異常になるという不具合があった。
(Problems to be Solved by the Invention) As described above, in conventional image processing devices, the signal obtained by reading a reference member such as a back plate is used as a reference signal to perform shading correction. There was a problem in that if dust or the like adhered to the member, the image after shedding correction would become abnormal.

本発明はこのような事情を考慮してなされたものであり
、その目的とするところは、基準信号を得るための基準
部材にごみなどが付着していた場合でも、画像を異常と
することがなく、正確にシ工一ディング補正を行うこと
ができる画像処理装置を提供することにある。
The present invention has been made in consideration of these circumstances, and its purpose is to prevent images from becoming abnormal even if dust or the like is attached to the reference member for obtaining the reference signal. An object of the present invention is to provide an image processing device that can accurately perform shedding correction without any problems.

[発明の構成コ (課題を解決するための手段) 本願第1の発明では、入力された第1の基準信号をこの
基準信号記憶手段に区間分けし、この各区間内に存在し
ている基準信号のレベルのうちの最大のものを当該区間
の基準信号レベルとして擬似基準信号を生成する擬似基
準信号生成手段と、この擬似信号生成手段によって生成
された擬似基準信号を紀憶する擬似基準信号記憶手段と
、入力された第2の基準信号に所定値を加算して加算基
準信号を生成する加算基準信号生成手段と、前記第2の
基準信号を記憶する第2基準信号記憶手段と、前記擬似
基準信号生成手段によって生成された擬似基準信号のレ
ベルと前記加算基準信号生成手段によって生成された加
算基準信号のレベルとを比較する比較手段とを備え、前
記擬似基準信号記憶手段に記憶された擬似基準信号のう
ちの前記比較手段により加算基準信号のレベルのほうが
擬似基準信号のレベルよりも大きいと判定された信号部
分を前記第2基準信号記憶手段に記憶された第2の基準
信号のレベルに置換えて生成した補正基準信号を用いて
、入力された画像信号のシェーディング補正を行うよう
にした。
[Configuration of the Invention (Means for Solving the Problems) In the first invention of the present application, the input first reference signal is divided into sections in this reference signal storage means, and the standards existing in each section are pseudo reference signal generation means for generating a pseudo reference signal by setting the maximum signal level as the reference signal level of the section; and pseudo reference signal storage for memorizing the pseudo reference signal generated by the pseudo signal generation means. means, addition reference signal generation means for adding a predetermined value to the inputted second reference signal to generate an addition reference signal, second reference signal storage means for storing the second reference signal, and comparison means for comparing the level of the pseudo reference signal generated by the reference signal generation means and the level of the addition reference signal generated by the addition reference signal generation means, the pseudo reference signal stored in the pseudo reference signal storage means; A signal portion of the reference signal in which the level of the addition reference signal is determined to be higher than the level of the pseudo reference signal by the comparison means is set to the level of the second reference signal stored in the second reference signal storage means. The shading correction of the input image signal is performed using the replaced and generated correction reference signal.

また本願第2の発明では、入力された基準信号を記憶す
る基準信号記憶手段と、この基準信号紀憶手段に記憶さ
れた基準信号をこの基準信号記憶手段に区間分けし、こ
の各区間内に存在している基準信号のレベルのうちの最
大のものを当該区間の基準信号レベルとして擬似基準信
号を生成する擬似基準信号生成手段と、前記基準信号記
憶手段に記憶された基準信号に所定値を加算して加算基
準信号を生成する加算基準信号生成手段と、前記擬似基
準信号生成手段によって生成された擬似基準信号のレベ
ルと前記加算基準信号生成手段によって生成された加算
基準信号のレベルとを比較する比較手段とを備え、前記
基準信号記憶手段に記憶された基準信号のうちの前記比
較手段により擬似基準信号のレベルのほうが加算基準信
号のレベルよりも大きいと判定された信号部分を前記擬
似基準信号のレベルに置換えて生成した補正基準信号を
用いて、入力された画像信号のシエーディング補正を行
うようにした。
Further, in the second invention of the present application, there is provided a reference signal storage means for storing an input reference signal, and a reference signal stored in the reference signal storage means is divided into sections in the reference signal storage means, and within each section, the reference signal stored in the reference signal storage means is divided into sections. pseudo reference signal generation means for generating a pseudo reference signal by setting the maximum of the existing reference signal levels as the reference signal level of the section; and a predetermined value for the reference signal stored in the reference signal storage means. an addition reference signal generation means for generating an addition reference signal by adding, and comparing the level of the pseudo reference signal generated by the pseudo reference signal generation means and the level of the addition reference signal generated by the addition reference signal generation means; comparing means for comparing the signal portion of the reference signal stored in the reference signal storage means for which the comparing means determines that the level of the pseudo reference signal is higher than the level of the addition reference signal, as the pseudo reference signal. The shading correction of the input image signal is performed using a correction reference signal generated by replacing the signal level.

(作 用) このような手段を講じたことにより、基準信号に所定値
を加算して生成された加算基準信号の信号レベルと、基
準信号を複数の時間区間に区間分けし、この各区間内に
存在している基準信号レベルのうちの最大のものを当該
区間の基準信号レベルとして生成された擬似基準信号の
信号レベルとが比較され、この比較結果に基づき、前記
擬似l&準信号のレベルのほうが前記加算基準信号のレ
ベルよりも大きい信号部分は擬似基準信号のレベルとし
、また前記加算基準信号のレベルのほうが前記疑似基準
信号のレベルよりも大きい信号部分は前記基準信号のレ
ベルとして生成された補正基準信号を用いて、入力され
た画像信号のシエーディング補正が行われる。
(Function) By taking such measures, the signal level of the addition reference signal generated by adding a predetermined value to the reference signal and the reference signal are divided into multiple time intervals, and the signal level of the addition reference signal generated by adding a predetermined value to the reference signal is divided into multiple time intervals, and The maximum of the reference signal levels existing in the section is compared with the signal level of the generated pseudo reference signal as the reference signal level of the section, and based on the comparison result, the level of the pseudo l & quasi signal is determined. A signal portion where the level of the addition reference signal is higher than the level of the pseudo reference signal is set as the level of the pseudo reference signal, and a signal portion where the level of the addition reference signal is higher than the level of the pseudo reference signal is generated as the level of the reference signal. Shading correction of the input image signal is performed using the correction reference signal.

従って、たとえ基準信号のレベルがごみなどの影響で一
部分だけ大幅に低かったとしても、当該信号部分は近傍
の信号(所定時間区間内の信号)のうちの最大レベルに
置換えられ、ごみなどの影響が排除される。
Therefore, even if the level of the reference signal is significantly low in a part due to the influence of dust, etc., that signal part is replaced with the maximum level of the nearby signals (signals within a predetermined time interval), and the level of the reference signal is significantly lower due to the influence of dust etc. is excluded.

(実施例) 以下、図面を参照して本願第1の発明に係る画像処理装
置の一実施例につき説明する。
(Example) Hereinafter, an example of an image processing apparatus according to the first invention of the present application will be described with reference to the drawings.

第1図は同画像処理装置の構成を示すブロック図である
。なお、第9図と同一部分には同一符号を付し、その詳
細な説明を省略する。
FIG. 1 is a block diagram showing the configuration of the image processing apparatus. Note that the same parts as in FIG. 9 are given the same reference numerals, and detailed explanation thereof will be omitted.

同図中、10は擬似基準信号生成手段としての擬似化部
である。この擬似化部10はラッチ回路2の出ノJデー
タ(A/D変換器1は、例えば光電変換素子1つの出力
信号、っまり1画素分の信号を1つのデータとするよう
A/D変換を行っている)が入力されており、このラッ
チ回路2の出力データを8画素分毎に区間分けし、この
各区間内に存在している基準信号のレベルのうちの最大
のものを当該区間の8画素分の信号レベルとして出力す
る。この擬似化部10の出力信号は基準信号を擬似的に
表したものであり、擬似基準信号のデータである。この
擬似基準信号データは切換え器11の一方の入力端に入
力されている。また切換え器11の他方の入力端には、
ラッチ回路2の出力データが入力されている。
In the figure, reference numeral 10 denotes a simulating section as a pseudo reference signal generating means. This simulation unit 10 converts the output J data of the latch circuit 2 (for example, the A/D converter 1 converts the output signal of one photoelectric conversion element, that is, the signal for one pixel into one data). The output data of this latch circuit 2 is divided into sections every 8 pixels, and the maximum level of the reference signal existing in each section is set as the section. It is output as a signal level for 8 pixels. The output signal of the simulation unit 10 is a pseudo reference signal, and is data of a pseudo reference signal. This pseudo reference signal data is input to one input terminal of the switch 11. Moreover, at the other input terminal of the switch 11,
The output data of the latch circuit 2 is input.

切換え器11は、ラッチ回路2の出力データおよび擬似
化部10から出力された擬似基準信号デ−タのいずれか
一方を選択出力する。そして切換え器11の出力端はバ
ッファ3を介してRAM6の入力端に接続されている。
The switch 11 selectively outputs either the output data of the latch circuit 2 or the pseudo reference signal data output from the simulator 10. The output end of the switch 11 is connected to the input end of the RAM 6 via the buffer 3.

一方、ラッチ回路2の出力データは加算器12の一方の
入力端にも入力されている。加算器12の他方の入力端
には係数ラッチ回路13が接続されている。係数ラッチ
回路13は予め設定されている所定値の係数βを保持出
力している。そして加算器12は、ラッチ回路2の出力
データに係数ラッチ回路13が出力する係数βを加算す
る。すなわち加算器12は、基準信号に係数βを加算し
た信号、つまり加算基準信号のデータを生成しており、
加算基準信号生成手段として働く。この加算器12にて
生成された加算基準信号データは、比較器14の一方の
入力端に入力される。
On the other hand, the output data of the latch circuit 2 is also input to one input terminal of the adder 12. A coefficient latch circuit 13 is connected to the other input terminal of the adder 12. The coefficient latch circuit 13 holds and outputs a predetermined value of the coefficient β. Then, the adder 12 adds the coefficient β output from the coefficient latch circuit 13 to the output data of the latch circuit 2. That is, the adder 12 generates a signal obtained by adding the coefficient β to the reference signal, that is, data of the addition reference signal,
It works as addition reference signal generation means. The addition reference signal data generated by the adder 12 is input to one input terminal of the comparator 14.

比較器14の他方の入力端にはラッチ回路9の出力デー
タが入力されている。比較器14は、加算器12から出
力された加算基準信号データが示すレベルとラッチ回路
9の出力データが示すレベルとを比較し、その比較結果
をRAM15へと通知する。すなわち比較器14は擬似
基準信号のレベルと加算基準信号のレベルとを比較して
おり、比較手段として働く。なお前述した係数βは、こ
の比較器14での擬似基準信号のレベルと加算基準信号
のレベルとの比較において、本来の基準信号のレベル変
化におけるレベルの低下は検出せず、ごみなどの影響に
よる大きなレベル低下のみを検出するためのものであり
、読取部の特性などに応じて最適に設定されている。
The output data of the latch circuit 9 is input to the other input terminal of the comparator 14. The comparator 14 compares the level indicated by the addition reference signal data output from the adder 12 and the level indicated by the output data of the latch circuit 9, and notifies the RAM 15 of the comparison result. That is, the comparator 14 compares the level of the pseudo reference signal and the level of the addition reference signal, and functions as a comparison means. Note that the above-mentioned coefficient β does not detect a decrease in level due to a change in the level of the original reference signal when comparing the level of the pseudo reference signal and the level of the addition reference signal in this comparator 14, but is caused by the influence of dust etc. This is for detecting only large level drops, and is optimally set according to the characteristics of the reading section.

RAM制御回路15は、従来と同様なRAM6の制御を
行うとともに、比較器14から通知される比較結果に応
じてRAM6の書換えを制御する。
The RAM control circuit 15 controls the RAM 6 in the same manner as in the prior art, and also controls rewriting of the RAM 6 in accordance with the comparison result notified from the comparator 14.

次に以上のように構成された本画像処理装置の動作を説
明する。まず、切換え器11で擬似化部10を選択した
状態で、例えば本画像処理装置が適用される画像読取装
置の読取部(図示せず)で背面板の読取りを行って得ら
れた基準信号を入力する。入力された基準信号はA/D
変換器1でディジタル化されて基準信号データとされた
後、ラッチ回路2を介して擬似化部10へと入力される
Next, the operation of the present image processing apparatus configured as above will be explained. First, with the switching unit 11 selecting the simulating unit 10, a reference signal obtained by reading the back plate with a reading unit (not shown) of an image reading device to which the present image processing device is applied is first read. input. The input reference signal is A/D
After being digitized into reference signal data by the converter 1, it is inputted to the simulator 10 via the latch circuit 2.

そしてこの擬似化部10において、擬似基準信号データ
とされ、RAM6に順次書込まれる。すなわち、RAM
6は擬似基準信号を記憶するものとなっており、擬似基
準信号記憶手段として働く。
Then, in the simulating section 10, the data is converted into pseudo reference signal data and sequentially written into the RAM 6. That is, RAM
Reference numeral 6 stores a pseudo reference signal, and functions as a pseudo reference signal storage means.

このようにしてRAM6にディジタルデータの状態で記
憶される擬似基準信号は、入力された基準信号が第2図
示のものであれば、例えば第3図に示すものとなる。
If the input reference signal is the one shown in FIG. 2, the pseudo reference signal stored in the RAM 6 in the form of digital data is, for example, the one shown in FIG. 3.

そして1回の基準信号入力が終了しtこのち、再び基準
信号(読取部にて再び背面板の読取りを行う)を入力す
る。このとき、切換え回路11はラッチ回路2を選.択
しており、RAM6の入力端にはラッチ回路2の出力デ
ータが入力されている。
After one reference signal input is completed, the reference signal (the reading unit reads the back plate again) is input again. At this time, the switching circuit 11 selects the latch circuit 2. The output data of the latch circuit 2 is input to the input terminal of the RAM 6.

ここで、入力されてディジタル化された基準信号データ
は゛加算器12で係数βが加算されたのち、比較器14
へと入力される。なお、加算基準信号データで示される
レベルは、基準信号のレベルがAであるとすれば、[A
+βコである。この加算基準信号は例えば第4図に破線
で示す信号となる。
Here, the input and digitized reference signal data is added with a coefficient β in an adder 12, and then added to a comparator 14.
is input to. Note that, if the level of the reference signal is A, the level indicated by the addition reference signal data is [A].
+β. This addition reference signal is, for example, a signal shown by a broken line in FIG.

これに同期して、RAM6に記憶された擬似基準信号デ
ータが順次読出され、ラッチ回路9を介して比較器14
へと入力される。これにより比較器14では加算基準信
号のレベルと擬似基準信号のレベルとが各画素データご
とに比較され、この比較結果はRAM制御回路15へと
通知される。
In synchronization with this, the pseudo reference signal data stored in the RAM 6 is sequentially read out and passed through the latch circuit 9 to the comparator 14.
is input to. As a result, the comparator 14 compares the level of the addition reference signal and the level of the pseudo reference signal for each pixel data, and the result of this comparison is notified to the RAM control circuit 15.

RAM制御回路15では、比較器14から加算基準信号
のレベルのほうが擬似基準信号のレベルよりも大きいこ
とが通知されると、バッファ3をONするとともにRA
M6をライトイネーブルとし、ラッチ回路2の出力デー
タ(基準信号データ)をRAM6に書込む。このとき、
アドレス発生回路5は比較器14に入力されている擬似
基準信号データが記憶されたアドレスを示しているので
、RAM6に記憶された擬似基準信号データが基準信号
データに書替えられる。つまり、2回目の基準信号の入
力が終了した時点では、RAM6に記憶されたデータは
、第4図中において擬似信号のレベルのほうが加算基準
信号のレベルよりも大きくなっている部分、すなわちご
みなどの影響で基準信号のレベルが低下している部分で
は擬似基準信号のデータが、またそれ以外の部分は基準
信号のデータとなり、第5図に示す信号を表すデータと
なる。この第5図示の信号が補正基準信号となる。
When the RAM control circuit 15 is notified by the comparator 14 that the level of the addition reference signal is higher than the level of the pseudo reference signal, it turns on the buffer 3 and turns on the RA.
M6 is set to write enable, and the output data (reference signal data) of the latch circuit 2 is written to the RAM6. At this time,
Since the address generation circuit 5 indicates the address where the pseudo reference signal data input to the comparator 14 is stored, the pseudo reference signal data stored in the RAM 6 is rewritten to the reference signal data. In other words, when the input of the second reference signal is completed, the data stored in the RAM 6 is stored in the portions in FIG. 4 where the level of the pseudo signal is higher than the level of the addition reference signal, such as dust, In the portion where the level of the reference signal is lowered due to the influence of , the data of the pseudo reference signal is used, and the other portions are the data of the reference signal, resulting in data representing the signal shown in FIG. This signal shown in FIG. 5 becomes the correction reference signal.

そしてこの後、画像信号が入力されると、その入力され
た画像信号をA/D変換器1でディジタル化し、画像デ
ータとする。そしてこの画像データをラッチ回路2を介
して割算器7へと入力する。
Thereafter, when an image signal is input, the input image signal is digitized by the A/D converter 1 and used as image data. This image data is then input to the divider 7 via the latch circuit 2.

これに同期して、RAM制御回路15およびアドレス発
生器5によってRAM6に記憶されている補正基準信号
データを順次読出し、ラッチ回路9を介して割算器7に
入力する。
In synchronization with this, the correction reference signal data stored in the RAM 6 is sequentially read out by the RAM control circuit 15 and address generator 5 and inputted to the divider 7 via the latch circuit 9.

これにより、割算器7では基準信号データが表す信号レ
ベルをBとした場合、[Aα/B]なる演算がなされ、
シエーディング補正かなされる。
As a result, when the signal level represented by the reference signal data is B, the divider 7 calculates [Aα/B],
Shading correction is done.

ここで入力された画像信号が第6図に示すものであった
とすると、割算器7で演算がなされた画像信号、すなわ
ちシエーディング補正が行われた画像信号は、第7図に
示すものとなる。
Assuming that the image signal input here is as shown in FIG. 6, the image signal calculated by the divider 7, that is, the image signal on which the shading correction has been performed, will be as shown in FIG. 7. .

このように本実施例によれば、まず基準信号を8画素分
毎に区間分けし、この各区間内に存在している基準信号
のレベルのうちの最大のものを当該区間の8画素分の信
号レベルとして擬似基準信号を生成し、この擬似基準信
号をRAM6に記憶する。そしてこのRAM6に記憶さ
れた擬似基準信号と、基準信号に所定値の係数βを加算
して得られた加算基準信号とを比較し、加算基準信号の
レベルのほうが擬似基準信号のレベルよりも大きい部分
に対応する基準信号の信号部分をごみなどの影響がある
部分と判断し、基準信号の当該信号部分は擬似基準信号
のレベルに置換える。
As described above, according to this embodiment, the reference signal is first divided into sections for every 8 pixels, and the maximum level of the reference signal existing in each section is calculated for the 8 pixels in the section. A pseudo reference signal is generated as a signal level, and this pseudo reference signal is stored in the RAM 6. Then, the pseudo reference signal stored in the RAM 6 is compared with the addition reference signal obtained by adding a predetermined value of coefficient β to the reference signal, and the level of the addition reference signal is greater than the level of the pseudo reference signal. The signal portion of the reference signal corresponding to the portion is determined to be a portion affected by dust or the like, and the signal portion of the reference signal is replaced with the level of the pseudo reference signal.

従って、補正基準信号は基準信号中のごみなどの影響に
よりレベルが低下している信号部分をその近傍のごみの
影響の生じていない信号で置換えることとなり、ごみな
どの影響が排除される。そして本実施例ではこの補正基
準信号を用いてシ工−ディング補正を行うので、画像を
異常とすることなく、正確にシェーディング補正を行う
ことができる。
Therefore, in the corrected reference signal, a signal portion whose level has decreased due to the influence of dust in the reference signal is replaced with a signal that is not affected by dust in the vicinity thereof, and the influence of dust and the like is eliminated. In this embodiment, since the shading correction is performed using this correction reference signal, the shading correction can be performed accurately without making the image abnormal.

また上記処理により、補正基準信号データは基準信号デ
ータ中の各画素データごとで補正が行われたものとなり
、読取部に適用されているCCDセンサなどのセンサの
各光電変換素子ごとのばらつきの補正も行える。
In addition, through the above processing, the corrected reference signal data has been corrected for each pixel data in the reference signal data, and the variations in each photoelectric conversion element of a sensor such as a CCD sensor applied to the reading section are corrected. You can also do it.

第8図は本願第2の発明に係る画像処理装置の一実施例
の構成を示すブロック図である。なお、第1図と同一部
分には同一符号を付し、その詳細な説明を省略する。
FIG. 8 is a block diagram showing the configuration of an embodiment of an image processing apparatus according to the second invention of the present application. Note that the same parts as in FIG. 1 are denoted by the same reference numerals, and detailed explanation thereof will be omitted.

ここで本実施例が特徴とするところは、RAM6には基
準信号データを記憶し、RAM6から読出した基準信号
データをラッチ回路9を介して擬似化部10および加算
器12に入力し、かつ擬似化部10が出力する擬似基準
信号データはラッチ回路16を介して切換え器11およ
び比較器14へと入力するようにした点である。すなわ
ち、読取部(図示せず)から入力された信号をディジタ
ル化した基準信号データをR A M 6に記憶してお
き、このRAM6に記憶された基準信号データから擬似
基準信号データおよび加算基準信号データを生成するよ
うに この構成では基本的には前述した第1の発明のものと同
様に動作するが、RAM6に記憶された基準信号データ
のうちの加算基準信号のレベルのほうが擬似基準信号の
レベルよりも大きい部分に対応する部分を擬似基準信号
データに書替えるものとなる。
Here, the feature of this embodiment is that the RAM 6 stores reference signal data, the reference signal data read from the RAM 6 is inputted to the simulation unit 10 and the adder 12 via the latch circuit 9, and The pseudo reference signal data output from the converter 10 is input to the switch 11 and the comparator 14 via the latch circuit 16. That is, reference signal data obtained by digitizing a signal input from a reading section (not shown) is stored in RAM 6, and pseudo reference signal data and addition reference signal are obtained from the reference signal data stored in RAM 6. This configuration basically operates in the same way as the first invention described above, but the level of the added reference signal of the reference signal data stored in the RAM 6 is higher than that of the pseudo reference signal. The portion corresponding to the portion larger than the level is rewritten into pseudo reference signal data.

このような本実施例によれば、前述した実施例と全く同
様な効果が得られる上に、基準信号の入力が1回で済み
、読取部では背面版の読取を2度行う必要がない。また
全く同一の基準信号から擬似基準信号および加算基準信
号を作戊することになるため、より正確な補正基準信号
を生成することができる。
According to this embodiment, the same effects as those of the above-mentioned embodiments can be obtained, and the reference signal only needs to be input once, and the reading unit does not need to read the back plate twice. Furthermore, since the pseudo reference signal and the addition reference signal are generated from the same reference signal, a more accurate corrected reference signal can be generated.

なお本発明は上記各実施例に限定されるものではない。Note that the present invention is not limited to the above embodiments.

例えば上記各実施例では、基準信号を8画素分毎に区間
分けして擬似基準信号を生成しているが、この擬似基準
信号を生成するための1区間は複数画素分であれば任意
の区間で良い。また上記各実施例ではディジタル処理を
行っているが、アナログ処理によって行うことも可能で
ある。このほか、本発明の要旨を逸脱しない範囲で種々
の変形実施が可能である。
For example, in each of the above embodiments, the pseudo reference signal is generated by dividing the reference signal into sections for every 8 pixels, but one section for generating this pseudo reference signal can be any section as long as it is for multiple pixels. That's fine. Furthermore, although digital processing is performed in each of the above embodiments, it is also possible to perform analog processing. In addition, various modifications can be made without departing from the gist of the present invention.

[発明の効果] 本願第1の発明では、入力された第1の基準信号をこの
基準信号記憶手段に区間分けし、この各区間内に存在し
ている基準信号のレベルのうちの最大のものを当該区間
の基準信号レベルとして擬似基準信号を生成する擬似基
準信号生成手段と、この擬似信号生成手段によって生成
された擬似基準信号を記憶する擬似基準信号記憶手段と
、入力された第2の基準信号に所定値を加算して加算基
準信号を生成する加算基準信号生成手段と、前記第2の
基準信号を記憶する第2基準信号記憶手段と、前記擬似
基準信号生成手段によって生成された擬似基準信号のレ
ベルと前記加算基準信号生成手段によって生成された加
算基準信号のレベルとを比較する比較手段とを備え、前
記擬似基準信号記憶手段に記憶された擬似基準信号のう
ちの前記比較手段により加算基準信号のレベルのほうが
擬似基準信号のレベルよりも大きいと判定された信号部
分を前記第2基準信号記憶手段に記憶された第2の基準
信号のレベルに置換えて生成した補正基準信号を用いて
、入力された画像信号のシェーディング捕正を行うよう
にした。
[Effects of the Invention] In the first invention of the present application, the input first reference signal is divided into sections in this reference signal storage means, and the maximum level of the reference signal existing in each section is recorded. pseudo-reference signal generation means for generating a pseudo-reference signal with the reference signal level of the section as the reference signal level of the section; pseudo-reference signal storage means for storing the pseudo-reference signal generated by the pseudo-signal generation means; addition reference signal generation means for generating an addition reference signal by adding a predetermined value to the signal; second reference signal storage means for storing the second reference signal; and a pseudo reference generated by the pseudo reference signal generation means. Comparing means for comparing the level of the signal and the level of the addition reference signal generated by the addition reference signal generation means, the comparison means adding the pseudo reference signals stored in the pseudo reference signal storage means using a corrected reference signal generated by replacing a signal portion in which the level of the reference signal is determined to be higher than the level of the pseudo reference signal with the level of the second reference signal stored in the second reference signal storage means; , the shading of the input image signal is corrected.

また本願第2の発明では、入力された基準信号を記憶す
る基準信号記憶手段と、この基準信号記憶手段に記憶さ
れた基準信号をこの基準信号記憶手段に区間分けし、こ
の各区間内に存在している基準信号のレベルのうちの最
大のものを当該区間の基準信号レベルとして擬似基準信
号を生成する擬似基準信号生成手段と、前記基準信号記
憶手段に記憶された基準信号に所定値を加算して加算基
準信号を生成する加算基準信号生成手段と、前記擬似基
準信号生成手段によって生成された擬似基準信号のレベ
ルと前記加算基準信号生成手段によって生成された加算
基準信号のレベルとを比較する比較手段とを備え、前記
基準信号記憶手段に記憶された基準信号のうちの前記比
較手段により擬似基準信号のレベルのほうが加算基準信
号のレベルよりも大きいと判定された信号部分を前記擬
似基準信号のレベルに置換えて生成した補正基準信号を
用いて、入力された画像信号のシェーディング補正を行
うようにした。
Further, in the second invention of the present application, there is provided a reference signal storage means for storing an input reference signal, and a reference signal stored in the reference signal storage means is divided into sections in the reference signal storage means, and an object exists in each section. pseudo reference signal generation means for generating a pseudo reference signal by setting the maximum of the reference signal levels in the section as a reference signal level; and adding a predetermined value to the reference signal stored in the reference signal storage means. and comparing the level of the pseudo reference signal generated by the pseudo reference signal generating means with the level of the addition reference signal generated by the addition reference signal generating means. comparing means, the signal portion of the reference signal stored in the reference signal storage means for which the comparison means determines that the level of the pseudo reference signal is higher than the level of the addition reference signal is converted into the pseudo reference signal. The shading correction of the input image signal is performed using the correction reference signal generated by replacing the level of the input image signal.

これにより、基準信号を得るための基準部材にごみなど
が付着していた場合でも、このごみなどの影響を排除し
た基準信号(補正基準信号)を得ることができ、画像を
異常とすることがなく、正確にシエーディング捕正を行
うことができる。
As a result, even if dust or the like is attached to the reference member used to obtain the reference signal, it is possible to obtain a reference signal (corrected reference signal) that eliminates the influence of this dust, thereby preventing images from becoming abnormal. Therefore, it is possible to accurately correct shedding.

またさらに、第2の発明では、基準信号の入力が1回で
済むという効果および第1の発明に比べてより正確な基
準信号(補正基準信号)を得られるという効果もある。
Furthermore, the second invention has the effect that the reference signal only needs to be input once, and the effect that a more accurate reference signal (corrected reference signal) can be obtained compared to the first invention.

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

第1図乃至第7図は本願第1の発明に係る画像処理装置
の一実施例を説明する図であり、第1図は構成を示すブ
ロック図、第2図乃至第7図は第1図中の各部における
信号をそれぞれ示す図、第8図は本願第2の発明に係る
画像処理装置のー実施例の構成を示すブロック図、第9
図乃至第12図はそれぞれ従来技術を説明する図である
。 5・・・アドレス発生回路、6・・・RAM,7・・・
割算器、10・・・擬似化部、11・・・切換え器、1
2・・・加算器、13・・・係数ラッチ回路、14・・
・比較器、15・・・RAM制御回路。
1 to 7 are diagrams illustrating an embodiment of an image processing device according to the first invention of the present application, in which FIG. 1 is a block diagram showing the configuration, and FIGS. FIG. 8 is a block diagram showing the configuration of an embodiment of the image processing device according to the second invention of the present application; FIG.
1 to 12 are diagrams each explaining the prior art. 5... Address generation circuit, 6... RAM, 7...
Divider, 10...Pseudo section, 11...Switcher, 1
2... Adder, 13... Coefficient latch circuit, 14...
-Comparator, 15...RAM control circuit.

Claims (2)

【特許請求の範囲】[Claims] (1)入力された第1の基準信号を複数の区間に区間分
けし、この各区間内に存在している基準信号のレベルの
うちの最大のものを当該区間の基準信号レベルとして擬
似基準信号を生成する擬似基準信号生成手段と、 この擬似信号生成手段によって生成された擬似基準信号
を記憶する擬似基準信号記憶手段と、入力された第2の
基準信号に所定値を加算して加算基準信号を生成する加
算基準信号生成手段と、前記第2の基準信号を記憶する
第2基準信号記憶手段と、 前記擬似基準信号生成手段によって生成された擬似基準
信号のレベルと前記加算基準信号生成手段によって生成
された加算基準信号のレベルとを比較する比較手段と、 前記擬似基準信号記憶手段に記憶された擬似基準信号の
うちの前記比較手段により加算基準信号のレベルのほう
が擬似基準信号のレベルよりも大きいと判定された信号
部分を前記第2基準信号記憶手段に記憶された第2の基
準信号のレベルに置換えて補正基準信号を生成する補正
基準信号生成手段と、 この補正基準信号生成手段によって生成された補正基準
信号を用いて、入力された画像信号のシェーディング補
正を行うシェーディング補正手段とを具備したことを特
徴とする画像処理装置。
(1) Divide the input first reference signal into multiple sections, and use the maximum of the reference signal levels existing in each section as the reference signal level of the section and use it as a pseudo reference signal. pseudo reference signal generation means for generating a pseudo reference signal; pseudo reference signal storage means for storing the pseudo reference signal generated by the pseudo signal generation means; a second reference signal storage means for storing the second reference signal; and a level of the pseudo reference signal generated by the pseudo reference signal generation means and the addition reference signal generation means. Comparing means for comparing the level of the generated addition reference signal; and comparing means among the pseudo reference signals stored in the pseudo reference signal storage means, the comparison means determines that the level of the addition reference signal is higher than the level of the pseudo reference signal. a correction reference signal generation means for generating a correction reference signal by replacing a signal portion determined to be large with the level of a second reference signal stored in the second reference signal storage means; and a correction reference signal generation means generated by the correction reference signal generation means. An image processing apparatus comprising: shading correction means for performing shading correction on an input image signal using the corrected reference signal.
(2)入力された基準信号を記憶する基準信号記憶手段
と、 この基準信号記憶手段に記憶された基準信号を複数の区
間に区間分けし、この各区間内に存在している基準信号
のレベルのうちの所定のものを当該区間の基準信号レベ
ルとして擬似基準信号を生成する擬似基準信号生成手段
と、 前記基準信号記憶手段に記憶された基準信号に所定値を
加算して加算基準信号を生成する加算基準信号生成手段
と、 前記擬似基準信号生成手段によって生成された擬似基準
信号のレベルと前記加算基準信号生成手段によって生成
された加算基準信号のレベルとを比較する比較手段と、 前記基準信号記憶手段に記憶された基準信号のうちの前
記比較手段により擬似基準信号のレベルのほうが加算基
準信号のレベルよりも大きいと判定された信号部分を前
記擬似基準信号のレベルに置換えて補正基準信号を生成
する補正基準信号生成手段と、 この補正基準信号生成手段によって生成された補正基準
信号を用いて、入力された画像信号のシェーディング補
正を行うシェーディング補正手段とを具備したことを特
徴とする画像処理装置。
(2) A reference signal storage means for storing the input reference signal; and a reference signal storage means for dividing the reference signal stored in the reference signal storage means into a plurality of sections, and the level of the reference signal existing in each section. pseudo reference signal generation means for generating a pseudo reference signal by setting a predetermined value of the reference signal level in the section as a reference signal level; and generating an addition reference signal by adding a predetermined value to the reference signal stored in the reference signal storage means. a comparison means for comparing the level of the pseudo reference signal generated by the pseudo reference signal generation means and the level of the addition reference signal generated by the addition reference signal generation means; and the reference signal. A correction reference signal is obtained by replacing a signal portion of the reference signals stored in the storage means for which the comparison means determines that the level of the pseudo reference signal is higher than the level of the addition reference signal with the level of the pseudo reference signal. Image processing characterized by comprising a correction reference signal generation means for generating a correction reference signal, and a shading correction means for performing shading correction on an input image signal using the correction reference signal generated by the correction reference signal generation means. Device.
JP1242832A 1989-09-19 1989-09-19 Image processor Pending JPH03104479A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1242832A JPH03104479A (en) 1989-09-19 1989-09-19 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1242832A JPH03104479A (en) 1989-09-19 1989-09-19 Image processor

Publications (1)

Publication Number Publication Date
JPH03104479A true JPH03104479A (en) 1991-05-01

Family

ID=17094956

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1242832A Pending JPH03104479A (en) 1989-09-19 1989-09-19 Image processor

Country Status (1)

Country Link
JP (1) JPH03104479A (en)

Similar Documents

Publication Publication Date Title
US6801670B2 (en) Image reading apparatus and shading correction data acquiring method
JPH0219672B2 (en)
JPH01256871A (en) Method for generating shading correction reference data using average maximum value
JP3180827B2 (en) Method and apparatus for dynamically adjusting background level
JPH04260275A (en) Picture reader
JPH04363967A (en) Original reader
EP0211070B1 (en) Dynamic gain adjuster for an image scanner
JPS6340071B2 (en)
JPH03104479A (en) Image processor
JPH01177278A (en) Picture reader
JP2833006B2 (en) Shading correction circuit
JP2673690B2 (en) Image reading device
JPH06197220A (en) Image reader
JP4154102B2 (en) Image processing apparatus and image processing method
JP3226534B2 (en) Document reading device
JP3124309B2 (en) Scanner device and reading method using the same
JPS63287161A (en) Picture reader
JPH06303426A (en) Image pickup information correcting method and image pickup device
JPH04301968A (en) Image signal processor
JPH07118014B2 (en) Pattern recognizer
JPH02141065A (en) Original reader
JPH10173957A (en) Shading correction circuit
JPH02218267A (en) Shading correction circuit
JPS63136771A (en) Signal processing method
JPH0244467U (en)