JPH0965122A - Image processing device - Google Patents
Image processing deviceInfo
- Publication number
- JPH0965122A JPH0965122A JP7220056A JP22005695A JPH0965122A JP H0965122 A JPH0965122 A JP H0965122A JP 7220056 A JP7220056 A JP 7220056A JP 22005695 A JP22005695 A JP 22005695A JP H0965122 A JPH0965122 A JP H0965122A
- Authority
- JP
- Japan
- Prior art keywords
- white reference
- unit
- average value
- image data
- line
- 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
Links
Landscapes
- Facsimile Image Signal Circuits (AREA)
- Image Input (AREA)
Abstract
(57)【要約】
【目的】 本発明は、白基準面のごみや汚れ又は光量等
の劣化の影響が極めて少ないシェーディング補正を行う
ことが可能で、高画質で耐久性に優れた画像処理装置を
提供することを目的とする。
【構成】 1ラインの白基準面の画像データを蓄積保持
している白基準データ蓄積部105と、1ラインの画像
データの平均値を算出する平均値算出部2と、平均値算
出部2からの平均値を記憶する平均値記憶部4と、平均
値算出部2により算出された白基準データ蓄積部105
の白基準データ平均値と白基準面の画像データ平均値と
の差を算出する減算部5と、許容値を設定する設定部6
と、減算部5により算出された差と設定部6の許容値と
を比較する比較部7と、差が許容値を越えた場合に、1
ラインの白基準面の画像データを白基準データ蓄積部1
05に書き換え蓄積を行う制御部8と、を備えている構
成を有している。
(57) [Abstract] [Object] The present invention is capable of performing shading correction that is extremely less affected by dust, dirt, or deterioration of the light amount on the white reference surface, and is an image processing apparatus with high image quality and excellent durability. The purpose is to provide. [Configuration] From a white reference data storage unit 105 that stores and holds image data of one line of white reference plane, an average value calculation unit 2 that calculates an average value of image data of one line, and an average value calculation unit 2 The average value storage unit 4 that stores the average value of the white reference data storage unit 105 that is calculated by the average value calculation unit 2
Subtraction unit 5 for calculating the difference between the average value of the white reference data and the average value of the image data of the white reference plane, and the setting unit 6 for setting the allowable value.
And a comparison unit 7 that compares the difference calculated by the subtraction unit 5 with the allowable value of the setting unit 6, and if the difference exceeds the allowable value, 1
The image data of the white reference plane of the line is stored in the white reference data storage unit 1.
05, and a control unit 8 for performing rewriting and storage.
Description
【0001】[0001]
【産業上の利用分野】本発明は、原稿等を光学的に読み
取った画像信号に対するシェーディング補正を行う画像
処理装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for performing shading correction on an image signal obtained by optically reading a document or the like.
【0002】[0002]
【従来の技術】近年、マルチメディア等の進展により、
高解像度の画像読み取り部を有する画像処理装置や大画
面で高解像度の表示装置等の開発により、高画質の画像
を取り扱うようになってきている。画像処理装置におい
ては、画像読み取り部を用いて原稿から読み取った画像
データを2値化する場合、光源やレンズ,受光素子等に
よるシェーディング歪みを行うシェーディング補正が一
般に行われている。2. Description of the Related Art In recent years, due to the progress of multimedia and the like,
With the development of an image processing apparatus having a high-resolution image reading unit and a large-screen, high-resolution display apparatus, high-quality images have been handled. In an image processing apparatus, when binarizing image data read from a document using an image reading unit, shading correction is generally performed to perform shading distortion due to a light source, a lens, a light receiving element, or the like.
【0003】以下に従来の画像処理装置について説明す
る。図5は従来の画像処理装置の読み取り部の光学系の
構成を示す断面模式図である。301はシェーディング
補正を行うための白基準データとなる白基準面、302
は焦点深度の基準面となる後述の原稿307を載置する
ガラス、303は原稿307に光を照射するための蛍光
灯やLED等からなる光源、304は縮小光学系に設け
られた原稿307や白基準面310からの反射光の進行
方向を曲げるミラー、305は原稿307からの反射光
を後述のイメージセンサー306に集光するレンズ、3
06は反射光量を電気信号に変換する光電変換素子から
なるイメージセンサー、307は画像データに変換され
る原稿である。白基準面301及び原稿307を読み取
る場合、光源303が点灯し、読み取り位置にある原稿
307等の情報は、破線のように、ミラー304で反射
された後、レンズ305を通過して、イメージセンサー
306で電気信号に光電変換される。この構成におい
て、原稿307を走査する際に、読み込む直前にいつで
も白基準面301が読み取れる状態になっている。A conventional image processing apparatus will be described below. FIG. 5 is a schematic sectional view showing a configuration of an optical system of a reading unit of a conventional image processing apparatus. Reference numeral 301 denotes a white reference plane which is white reference data for performing shading correction, and 302
Is a glass on which a document 307, which will be described later, serving as a reference plane of the depth of focus is placed, 303 is a light source including a fluorescent lamp or an LED for irradiating the document 307 with light, and 304 is a document 307 provided in the reduction optical system. A mirror that bends the traveling direction of the reflected light from the white reference surface 310, a lens 305 that condenses the reflected light from the original 307 on an image sensor 306 described later, and 3
Reference numeral 06 is an image sensor including a photoelectric conversion element that converts the amount of reflected light into an electric signal, and 307 is a document that is converted into image data. When reading the white reference surface 301 and the original 307, the light source 303 is turned on, and the information of the original 307 or the like at the reading position is reflected by the mirror 304 and then passes through the lens 305 to reach the image sensor, as indicated by the broken line. At 306, it is photoelectrically converted into an electric signal. With this configuration, when the document 307 is scanned, the white reference surface 301 can be read at any time immediately before reading.
【0004】次に、従来の画像処理装置の機能について
説明する。図6は従来の画像処理装置の構成を示すブロ
ック図である。101はイメージセンサー306で読み
取られたアナログ信号が入力される入力端子、102は
アナログ信号をデジタル信号に変換するA/D変換器、
103は後述のスイッチ104及び白基準データ蓄積部
105の制御を行う制御部である。104はスイッチで
あり、白基準データ蓄積部105に白基準データを保存
する場合、A/D変換器102からのディジタル信号線
を白基準データ蓄積部105に接続し、原稿を読み込む
場合、A/D変換器102からのディジタル信号をシェ
ーディング補正回路106に接続する。105は予め読
み取った白基準面301の情報を蓄積する白基準データ
蓄積部、106は白基準データ蓄積部105に記憶され
た白基準データを基に読み取られる原稿307の1ライ
ンの画像データを順次シェーディング補正するシェーデ
ィング補正回路、107はシェーディング補正された原
稿307の画像データの出力端子である。Next, the function of the conventional image processing apparatus will be described. FIG. 6 is a block diagram showing the configuration of a conventional image processing apparatus. 101 is an input terminal to which an analog signal read by the image sensor 306 is input; 102 is an A / D converter for converting the analog signal into a digital signal;
A control unit 103 controls a switch 104 and a white reference data storage unit 105 described later. Reference numeral 104 denotes a switch. When the white reference data storage unit 105 stores the white reference data, the digital signal line from the A / D converter 102 is connected to the white reference data storage unit 105, and when the original is read, A / The digital signal from the D converter 102 is connected to the shading correction circuit 106. Reference numeral 105 denotes a white reference data storage unit that stores previously read information of the white reference surface 301, and reference numeral 106 sequentially displays image data of one line of the original 307 that is read based on the white reference data stored in the white reference data storage unit 105. A shading correction circuit that performs shading correction, and 107 is an output terminal for image data of the original 307 that has been subjected to shading correction.
【0005】以上のように構成された画像処理装置につ
いて、以下その動作を説明する。まず、白基準面301
の画像データがイメージセンサー306で光電変換さ
れ、入力端子101に入力される。入力端子101より
入力された白基準面301の画像信号は、A/D変換器
102でデジタル信号に変換された後、スイッチ104
に入力される。ここで、スイッチ104は、図6で示す
A側に切替えられ、白基準面301の画像データは白基
準データ蓄積部105に蓄積される。次に、原稿307
を読み取る場合、原稿307の画像データがイメージセ
ンサー306で光電変換され入力端子101に入力され
る。入力端子101より入力された原稿307の画像デ
ータは、A/D変換器102でデジタル信号に変換され
た後、スイッチ104に入力される。ここでスイッチ1
04は、図6に示すB側に切替えられており、原稿30
7の画像データがシェーディグ補正回路106に入力さ
れる。シェーディング補正回路106では、白基準デー
タ蓄積部105の白基準データを用いて原稿307の画
像データを補正演算するシェーディング補正を行う。シ
ェーディング補正後のデータは、出力端子107より出
力される。The operation of the image processing apparatus configured as described above will be described below. First, the white reference surface 301
Image data is photoelectrically converted by the image sensor 306 and input to the input terminal 101. The image signal of the white reference surface 301 input from the input terminal 101 is converted into a digital signal by the A / D converter 102, and then the switch 104.
Is input to Here, the switch 104 is switched to the A side shown in FIG. 6, and the image data of the white reference plane 301 is stored in the white reference data storage unit 105. Next, the manuscript 307
When reading, the image data of the original 307 is photoelectrically converted by the image sensor 306 and input to the input terminal 101. The image data of the document 307 input from the input terminal 101 is converted into a digital signal by the A / D converter 102, and then input to the switch 104. Switch 1 here
04 has been switched to the B side shown in FIG.
The image data of No. 7 is input to the shading correction circuit 106. The shading correction circuit 106 performs shading correction for correcting the image data of the document 307 by using the white reference data of the white reference data storage unit 105. The data after the shading correction is output from the output terminal 107.
【0006】以上のように動作する画像処理装置につい
て、以下その画像データ処理の流れについて説明する。
図7(a)は白基準面を読み取った時の1ラインの画像
データの信号波形例であり、図7(b)は白原稿を読み
取った時の1ラインの画像データの信号波形例であり、
図7(c)は図7(a),(b)の両画像データによっ
てシェーディング補正された後の画像データの信号波形
例である。図7(c)に示すように、正常なシェーディ
ング補正が行われると、白原稿の全画像データが均一の
値を示し、高画質の画像を得ることができる。Regarding the image processing apparatus that operates as described above, the flow of image data processing will be described below.
FIG. 7A is an example of a signal waveform of image data of one line when a white reference surface is read, and FIG. 7B is an example of a signal waveform of image data of one line when a white document is read. ,
FIG. 7C is an example of a signal waveform of the image data after the shading correction by the image data of FIGS. 7A and 7B. As shown in FIG. 7C, when the normal shading correction is performed, all the image data of the white document show a uniform value, and a high quality image can be obtained.
【0007】[0007]
【発明が解決しようとする課題】しかしながら上記従来
の構成では、例えば白基準面の情報を白基準データ蓄積
部に蓄積する場合、原稿を読み取る直前に逐次行われて
いた。この場合、白基準面にごみや汚れ等が付着してい
ると原稿の画像データに不適正なシェーディング補正が
行われ、再生画像に筋等が入り、画質に悪影響を及ぼす
という問題点を有していた。However, in the above-mentioned conventional configuration, for example, when the information of the white reference plane is stored in the white reference data storage section, it is sequentially performed immediately before reading the original. In this case, if dust or dirt adheres to the white reference surface, improper shading correction will be performed on the image data of the original, and streaks will appear in the reproduced image, adversely affecting the image quality. Was there.
【0008】図8(a)はごみや汚れ等が付着した白基
準面を読み取った時の1ラインの画像データの信号波形
例であり、図8(b)は白原稿を読み取った時の1ライ
ンの画像データの信号波形例であり、図8(c)は図8
(a),(b)の両画像データによってシェーディング
補正された後の画像データの信号波形例である。図8
(c)に示すように、白原稿の全画素データで不均一部
が現れエラーを発生し、画質劣化を生じる。そこで、ご
みや汚れの影響を受けなくするために、白基準面が汚れ
る前に、例えば工場出荷時に白基準面の画像データを白
基準データ蓄積部に蓄積するという方法がある。この方
法では、ごみの汚れの影響を受けないが、光源の光量等
が経時変化等により劣化した場合、原稿の画像データが
暗くなったり、原稿の画像データに光源の局所的劣化を
示すパターンが現れる等の画質劣化を生じるという問題
点を有していた。図9(a)は白基準面を読み取った時
の1ラインの画像データの信号波形例であり、破線が光
源の劣化前、実線が光源の劣化後を示す。図9(b)は
光量の劣化後に白原稿を読み取った時の1ラインの画像
データの信号波形例であり、図9(c)は図9(a),
(b)の両画像データによってシェーディング補正され
た後の画像データの信号波形である。図9(c)に示す
ように、白原稿の全画素データで均一の値をとらず不均
一で低めの値を示し、エラーを発生し、やはり画質が劣
化するという問題点を有していた。FIG. 8A shows an example of a signal waveform of image data of one line when a white reference surface on which dust or dirt adheres is read, and FIG. 8B shows one when a white original is read. 8C is an example of a signal waveform of image data of a line, and FIG.
It is an example of a signal waveform of image data after shading correction by both image data of (a) and (b). FIG.
As shown in (c), a non-uniform portion appears in all pixel data of the white document, an error occurs, and the image quality deteriorates. Therefore, in order to eliminate the influence of dust and dirt, there is a method of storing the image data of the white reference surface in the white reference data storage unit before the white reference surface is contaminated, for example, at the time of factory shipment. This method is not affected by dirt on the dust, but when the light amount of the light source is deteriorated due to aging or the like, the image data of the document becomes dark, or the image data of the document has a pattern indicating local deterioration of the light source. However, there is a problem in that the image quality deteriorates such as appearing. FIG. 9A shows an example of a signal waveform of image data of one line when the white reference plane is read. The broken line shows before deterioration of the light source and the solid line shows after deterioration of the light source. FIG. 9B is an example of a signal waveform of image data of one line when a white original is read after the light amount is deteriorated, and FIG. 9C is shown in FIG.
It is a signal waveform of image data after shading correction by both image data of (b). As shown in FIG. 9C, all pixel data of the white document does not have a uniform value but shows a nonuniform and lower value, which causes an error and also deteriorates the image quality. .
【0009】本発明は上記従来の問題点を解決するもの
で、白基準面へのごみや汚れや光量等の劣化の影響が極
めて少ないシェーディング補正を行うことができ、高画
質で耐久性に優れた画像処理装置を提供することを目的
とする。The present invention solves the above-mentioned problems of the prior art, and enables shading correction to be carried out with little influence of deterioration such as dust, dirt, and light quantity on the white reference surface, and high image quality and excellent durability. It is an object of the present invention to provide an image processing device.
【0010】[0010]
【課題を解決するための手段】この目的を達成するため
に本発明の請求項1に記載の画像処理装置は、1ライン
の白基準面を有し1ライン毎に順次画像データを読み取
りシェーディング補正を行う画像処理装置であって、1
ラインの白基準面の画像データを蓄積保持している白基
準データ蓄積部と、1ラインの画像データの平均値を算
出する平均値算出部と、平均値算出部からの平均値を記
憶する平均値記憶部と、平均値算出部により算出された
白基準データ蓄積部の白基準データ平均値と白基準面の
画像データ平均値との差を算出する減算部と、許容値を
設定する設定部と、減算部により算出された差と設定部
の許容値とを比較する比較部と、差が許容値を越えた場
合に、1ラインの白基準面の画像データを白基準データ
蓄積部に書き替える制御部と、を備えている構成を有し
ている。In order to achieve this object, an image processing apparatus according to a first aspect of the present invention has a white reference plane of one line and sequentially reads image data for each line to perform shading correction. An image processing device for performing
A white reference data storage unit that stores and holds the image data of the white reference surface of the line, an average value calculation unit that calculates the average value of the image data of one line, and an average that stores the average value from the average value calculation unit. A value storage unit, a subtraction unit that calculates the difference between the white reference data average value of the white reference data storage unit calculated by the average value calculation unit and the image data average value of the white reference surface, and a setting unit that sets the allowable value. And a comparison unit that compares the difference calculated by the subtraction unit with the allowable value of the setting unit, and if the difference exceeds the allowable value, write the image data of the white reference plane of one line in the white reference data storage unit. And a control unit for switching.
【0011】請求項2に記載の画像処理装置は、1ライ
ンの白基準面を有し1ライン毎に順次画像データを読み
取りシェーディング補正を行う画像処理装置であって、
1ラインの白基準面の画像データを白基準データとして
蓄積保持している白基準データ蓄積部と、白基準面の画
像データが白基準データ蓄積部に保持された白基準デー
タによりシェーディング補正された画像データの最大値
及び最小値を検出する検出部と、最大値と最小値の差を
算出する減算部と、許容値を設定する設定部と、減算部
により算出された差と設定部の許容値とを比較する比較
部と、差が許容値を越えた場合に、1ラインの白基準面
の画像データを白基準データ蓄積部に書き替える制御部
と、を備えている構成を有している。An image processing apparatus according to a second aspect is an image processing apparatus having a white reference surface of one line and sequentially reading image data line by line to perform shading correction.
Shading correction is performed by the white reference data storage unit that stores and holds one line of white reference plane image data as white reference data, and the white reference plane image data by the white reference data stored in the white reference data storage unit. A detection unit that detects the maximum value and the minimum value of the image data, a subtraction unit that calculates the difference between the maximum value and the minimum value, a setting unit that sets an allowable value, and a difference calculated by the subtraction unit and the tolerance of the setting unit. And a control unit that rewrites the image data of one line of the white reference plane to the white reference data storage unit when the difference exceeds the allowable value. There is.
【0012】[0012]
【作用】この構成によって、1ラインの白基準面の画像
データを蓄積保持している白基準データ蓄積部と、1ラ
インの画像データの平均値を算出する平均値算出部と、
平均値算出部からの平均値を記憶する平均値記憶部と、
平均値算出部により算出された白基準データ蓄積部の白
基準データ平均値と白基準面の画像データ平均値との差
を算出する減算部と、許容値を設定する設定部と、減算
部により算出された差と設定部の許容値とを比較する比
較部と、差が許容値を越えた場合に、1ラインの白基準
面の画像データを白基準データ蓄積部に書き替え蓄積す
る制御部と、を備えることにより、まず、白基準面が汚
れる前に白基準面を読取り、1ラインの白基準面の画像
データを白基準データ蓄積部に、その時の1ラインの平
均値を平均値記憶部にそれぞれ蓄積する。逐次原稿を読
み取る際、まず白基準面を読み取り、その時の1ライン
の平均値を平均値算出部により算出する。次に、平均値
記憶部に蓄積してある平均値と読み取ったラインの平均
値の差を減算部により算出し、その差を設定部に記憶し
た許容値を比較部により比較して小さい場合は、制御部
が、光量劣化が発生していないと判断し、白基準データ
蓄積部に蓄積してある白基準データでシェーディング補
正を行う。もし、平均値記憶部に蓄積してある平均値と
読み取ったラインの平均値との差が大きい時は、制御部
が光量等が劣化したと判断し、白基準データの再蓄積を
行う。その後、光量劣化後に再蓄積された白基準データ
でシェーディング補正が行われる。この結果、白基準面
が汚れる前に白基準面のデータを蓄積しておき、光量が
劣化した場合に、その検出が行われ、白基準データの再
蓄積を行うため、白基準面に付着するごみや汚れの影響
を随時受けず、又、光量劣化の影響が極めて少ないシェ
ーディング補正が可能で耐久性に優れた高画質の画像デ
ータを得ることができる。With this configuration, the white reference data storage unit that stores and holds the image data of the white reference surface of one line, and the average value calculation unit that calculates the average value of the image data of one line,
An average value storage unit that stores the average value from the average value calculation unit,
The subtraction unit that calculates the difference between the white reference data average value of the white reference data storage unit calculated by the average value calculation unit and the image data average value of the white reference surface, the setting unit that sets the allowable value, and the subtraction unit A comparison unit that compares the calculated difference with the allowable value of the setting unit, and a control unit that rewrites and stores the image data of one line of the white reference plane in the white reference data storage unit when the difference exceeds the allowable value. First, the white reference surface is read before the white reference surface becomes dirty, and the image data of one line of the white reference surface is stored in the white reference data storage unit, and the average value of one line at that time is stored as an average value. Accumulate in each section. When sequentially reading originals, the white reference surface is first read, and the average value of one line at that time is calculated by the average value calculation unit. Next, the difference between the average value stored in the average value storage unit and the average value of the read line is calculated by the subtraction unit, and the difference stored in the setting unit is compared by the comparison unit. The control unit determines that the light amount deterioration has not occurred, and performs shading correction using the white reference data stored in the white reference data storage unit. If the difference between the average value stored in the average value storage unit and the average value of the read line is large, the control unit determines that the light amount or the like has deteriorated and re-stores the white reference data. After that, shading correction is performed with the white reference data that is re-stored after the light amount is deteriorated. As a result, the data of the white reference surface is accumulated before the white reference surface becomes dirty, and when the light amount is deteriorated, the detection is performed and the white reference data is re-accumulated so that the white reference surface is attached. It is possible to obtain high-quality image data that is not affected by dust and dirt at all times, and that is capable of shading correction that is extremely less affected by light amount deterioration and has excellent durability.
【0013】又、1ラインの白基準面の画像データを白
基準データとして蓄積保持している白基準データ蓄積部
と、白基準面の画像データが白基準データ蓄積部に保持
された白基準データによりシェーディング補正された画
像データの最大値及び最小値を検出する検出部と、最大
値と最小値の差を算出する減算部と、許容値を設定する
設定部と、減算部により算出された差と設定部の許容値
とを比較する比較部と、差が許容値を越えた場合に、1
ラインの白基準面の画像データを白基準データ蓄積部に
書き替え蓄積する制御部と、を備えることにより、原稿
を読み取る際、まず、白基準面を読み取り白基準面デー
タ蓄積部に蓄積してある白基準データと読み取った白基
準データとでシェーディング補正を行う。次に、シェー
ディング補正後のデータの最大値と最小値を検出部によ
り検出し、減算部により差を算出する。その差と設定部
の許容値と比較部により比較し、その比較差が小さい時
は、蓄積してある白基準データでシェーディング補正を
行う。もし、最大値と最小値の差が大きいときは、制御
部が、白基準面に汚れ等が付着しているかあるいは光量
劣化が発生したと判断する。ここで、原稿を読み取って
も異常が無い場合は、ごみや汚れ等の付着と判断され、
蓄積してある白基準データを使用してシェーディング補
正を行う。原稿を読み取って画質に異常がある場合は、
光量等が劣化したと判断し、白基準面の白基準データを
白基準データ蓄積部に再蓄積する。その後、光量劣化後
に再蓄積された白基準データでシェーディング補正を行
う。この結果、白基準面が汚れる前に白基準面の画像デ
ータを蓄積し、ごみや汚れの影響を受けることを防止で
きる。特に、光量が局所的,不均一に劣化した場合は、
その判定を行い白基準データの再蓄積を行うため、局所
的な光量劣化等の影響が極めて少ないシェーディング補
正が可能で、耐久性に優れた高画質の画像データを得る
ことができる。Further, a white reference data storage unit that stores and holds one line of white reference plane image data as white reference data, and white reference data that stores the white reference plane image data in the white reference data storage unit. The detection unit that detects the maximum value and the minimum value of the shading-corrected image data, the subtraction unit that calculates the difference between the maximum value and the minimum value, the setting unit that sets the allowable value, and the difference calculated by the subtraction unit. And the comparison unit that compares the allowable value of the setting unit, and 1 if the difference exceeds the allowable value.
By including a control unit that rewrites and stores the image data of the white reference plane of the line in the white reference data storage unit, when reading a document, first, the white reference plane is read and stored in the white reference plane data storage unit. Shading correction is performed using certain white reference data and the read white reference data. Next, the maximum value and the minimum value of the data after shading correction are detected by the detection unit, and the difference is calculated by the subtraction unit. The difference and the allowable value of the setting unit are compared by the comparison unit, and when the comparison difference is small, shading correction is performed using the stored white reference data. If the difference between the maximum value and the minimum value is large, the control unit determines that dirt or the like has adhered to the white reference surface or that the light amount has deteriorated. If there is nothing wrong with scanning the original, it is determined that there is dust, dirt, etc.
Shading correction is performed using the stored white reference data. If you scan a document and the image quality is abnormal,
It is determined that the light amount and the like have deteriorated, and the white reference data of the white reference surface is stored again in the white reference data storage section. After that, shading correction is performed using the white reference data that is re-stored after the light amount deterioration. As a result, it is possible to prevent the white reference surface from being affected by dust and dirt by accumulating the image data of the white reference surface before the white reference surface becomes dirty. Especially when the amount of light locally and unevenly deteriorates,
Since the determination is performed and the white reference data is re-accumulated, shading correction that is extremely small in the influence of local light amount deterioration and the like can be performed, and high-quality image data with excellent durability can be obtained.
【0014】[0014]
【実施例】以下本発明の一実施例の画像処理装置につい
て、図面を参照しながら説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS An image processing apparatus according to an embodiment of the present invention will be described below with reference to the drawings.
【0015】(実施例1)図1は本発明の第1実施例に
おける画像処理装置のハードウェアの構成を示すブロッ
ク図である。1Aは本発明の第1実施例における画像処
理装置である。101は入力端子、102はA/D変換
器、104はスイッチ、105は白基準データ蓄積部、
106はシェーディング補正回路、107は出力端子で
ある。これらは従来例と同様のものなので、同一の符号
を付して説明を省略する。従来例と異なるのは、1ライ
ンの画像データの平均値を算出する平均値算出部2と、
平均値算出部2から出力される平均値の値を後述の平均
値記憶部4又は減算部5に入力するかを切替え選択する
スイッチ3と、平均値算出部2より得られた平均値の値
を記憶する平均値記憶部4と、平均値記憶部4に記憶さ
れた値と読み取っている1ラインの平均値との差を算出
する減算器からなる減算部5と、光量劣化等の度合であ
る許容値を予め設定しておく設定部6と、減算部5から
得られた差の値と設定部6に記憶された許容値とを比較
する比較器からなる比較部7と、スイッチ3,スイッチ
104,白基準データ蓄積部105等の制御を行う制御
部8と、を備えている点である。(First Embodiment) FIG. 1 is a block diagram showing the hardware arrangement of an image processing apparatus according to the first embodiment of the present invention. 1A is an image processing apparatus in the first embodiment of the present invention. 101 is an input terminal, 102 is an A / D converter, 104 is a switch, 105 is a white reference data storage unit,
Reference numeral 106 is a shading correction circuit, and 107 is an output terminal. Since these are the same as those in the conventional example, the same reference numerals are given and description thereof is omitted. The difference from the conventional example is that an average value calculation unit 2 that calculates an average value of image data of one line,
A switch 3 for switching and selecting whether to input the value of the average value output from the average value calculation unit 2 to the average value storage unit 4 or the subtraction unit 5 described later, and the value of the average value obtained from the average value calculation unit 2. The average value storage unit 4 that stores the value, the subtraction unit 5 that includes a subtractor that calculates the difference between the value stored in the average value storage unit 4 and the average value of one line that is being read, and the degree of light amount deterioration and the like. A setting unit 6 that sets a certain allowable value in advance, a comparing unit 7 including a comparator that compares the difference value obtained from the subtracting unit 5 with the allowable value stored in the setting unit 6, the switch 3, The control unit 8 that controls the switch 104, the white reference data storage unit 105, and the like is provided.
【0016】以上のように構成された本発明の第1実施
例における画像処理装置について、以下その動作を説明
する。図2は本発明の第1実施例の画像処理装置におけ
る1ラインの白基準データを読み取った場合の画像デー
タの平均値を示す概要図を示す。まず、白基準面が汚れ
る前に読み取られた白基準データは入力端子101より
入力され、A/D変換器102でデジタル信号に変換さ
れた後、白基準データ蓄積部105に入力される。以
降、白基準データ蓄積部105の白基準データは、シェ
ーディング補正する場合に使用されるため、常に保持さ
れた状態となっている。この際、スイッチ104は制御
部8によりA側に切替えられている。又、1ラインの白
基準データの平均値を平均値算出部2で検出し、平均値
記憶部4に記憶する。平均値記憶部4の内容は、白基準
データ蓄積部105と同様に常に保持される。ここで、
平均値記憶部4はデータ量が少ないのでレジスタで構成
してもよい。この時、スイッチ3は制御部8によりC側
に切替えられている。次に、原稿を読む場合は、原稿を
読む前に必ず白基準面を読み取る。読み取られた白基準
データは、入力端子101より入力されA/D変換器1
02でデジタル信号に変換された後、1ラインの平均値
が平均値算出部2により算出される。スイッチ3は、制
御部8によりD側に切替えられ、平均値記憶部4に保持
してある平均値と読み取った平均値の差を減算部4で算
出される。その後、予め設定してある設定部6の許容値
と減算部5で検出した差を比較部7で比較する。図2は
1ラインの白基準データを読み取った場合の画像データ
とその平均値を示す概略図である。図2において、平均
値Aが平均値記憶部4に保持してある平均値で、平均値
Bが原稿を読む前に読み取った白基準データの平均値を
示している。平均値Aと平均値Bの差が設定部6の許容
値より小さい場合、比較部7の比較結果より、制御部8
は、光量劣化等が生じていないと判断し、スイッチ10
4をB側に切替える。次に、原稿の読み取りが開始さ
れ、白基準データ蓄積部105に保持してある白基準デ
ータを使用してシェーディング補正回路106でシェー
ディング補正が行われた後、画像データが出力端子10
7より出力される。図2における平均値Aと平均値Bと
の差が設定部6の許容値より大きい場合、比較部7の結
果より、制御部8が光量等の劣化を生じていると判断
し、スイッチ3をC側、スイッチ104をA側に切替
え、白基準面が汚れる前に白基準データを白基準データ
蓄積部105に保持した時と同様の処理で、白基準面の
1ラインの平均値と白基準データをそれぞれ平均値記憶
部4と白基準データ蓄積部105に再蓄積を行う。従っ
て、以降の画像データの処理は、劣化後の白基準データ
を用いてシェーディング補正が行われることになる。設
定部6の許容値については、白基準面にごみや汚れが付
着した場合も平均値が下がるため、その影響を受けにく
い程度の許容量を持たせた値に設定することが好まし
い。The operation of the image processing apparatus of the first embodiment of the present invention configured as above will be described below. FIG. 2 is a schematic diagram showing an average value of image data when one line of white reference data is read in the image processing apparatus of the first embodiment of the present invention. First, the white reference data read before the white reference surface becomes dirty is input from the input terminal 101, converted into a digital signal by the A / D converter 102, and then input to the white reference data storage unit 105. After that, the white reference data in the white reference data storage unit 105 is always held because it is used for shading correction. At this time, the switch 104 is switched to the A side by the control unit 8. Further, the average value calculation unit 2 detects the average value of the white reference data for one line and stores it in the average value storage unit 4. The contents of the average value storage unit 4 are always held as in the white reference data storage unit 105. here,
Since the average value storage unit 4 has a small amount of data, it may be configured by a register. At this time, the switch 3 is switched to the C side by the control unit 8. Next, when reading a document, be sure to read the white reference surface before reading the document. The read white reference data is input from the input terminal 101 to the A / D converter 1.
After being converted into a digital signal in 02, the average value of one line is calculated by the average value calculation unit 2. The switch 3 is switched to the D side by the control unit 8, and the subtraction unit 4 calculates the difference between the average value held in the average value storage unit 4 and the read average value. After that, the comparing unit 7 compares the preset allowable value of the setting unit 6 and the difference detected by the subtracting unit 5. FIG. 2 is a schematic diagram showing the image data and the average value thereof when the white reference data of one line is read. In FIG. 2, the average value A is the average value stored in the average value storage unit 4, and the average value B is the average value of the white reference data read before reading the original. When the difference between the average value A and the average value B is smaller than the allowable value of the setting unit 6, the control unit 8 determines from the comparison result of the comparison unit 7.
Determines that the light amount deterioration has not occurred, and the switch 10
Switch 4 to B side. Next, the reading of the original is started, the shading correction circuit 106 performs shading correction using the white reference data stored in the white reference data storage unit 105, and then the image data is output.
It is output from 7. When the difference between the average value A and the average value B in FIG. 2 is larger than the allowable value of the setting unit 6, the control unit 8 determines from the result of the comparison unit 7 that the light amount or the like is deteriorated, and the switch 3 is turned on. By performing the same processing as when the C side and the switch 104 are switched to the A side and the white reference data is stored in the white reference data storage unit 105 before the white reference surface becomes dirty, the average value of one line of the white reference surface and the white reference data are stored. The data is stored again in the average value storage unit 4 and the white reference data storage unit 105, respectively. Therefore, in the subsequent processing of the image data, the shading correction is performed using the deteriorated white reference data. The allowable value of the setting unit 6 is preferably set to a value that has an allowable amount that is not easily affected by dust or dirt attached to the white reference surface because the average value decreases.
【0017】ここで、平均値記憶部4及び白基準データ
蓄積部105の再蓄積を自動的に行う場合を示したが、
白基準面に付着したごみや汚れの影響等で平均値が下が
った場合は、画質への影響がないため、出力された画質
が異常で比較部7の結果も差が設定部6の許容値以上と
オぺレータが確認した後、オペレータの指示により制御
部8が平均値記憶部4や白基準データ蓄積部105への
再蓄積を判断するようにしてもよい。これにより、一時
的に白基準面にごみや汚れが付着して平均値が大きく変
化した場合、白基準データ等を再蓄積することを防止で
きる。The case where the average value storage unit 4 and the white reference data storage unit 105 are automatically re-stored has been described above.
When the average value decreases due to the influence of dust or dirt adhering to the white reference surface, there is no influence on the image quality, and the output image quality is abnormal and the difference of the result of the comparison unit 7 is the allowable value of the setting unit 6. After the above is confirmed by the operator, the control unit 8 may determine re-accumulation in the average value storage unit 4 or the white reference data accumulation unit 105 according to an operator's instruction. As a result, when dust or dirt is temporarily attached to the white reference surface and the average value greatly changes, it is possible to prevent the white reference data and the like from being accumulated again.
【0018】以上のように本実施例によれば、白基準面
が汚れる前に白基準データを平均値記憶部に書き込むた
めごみや汚れの影響を受けずにシェーディング補正が行
える。また光量が劣化した場合は、画像データの平均値
の比較により劣化したことを判断し、白基準データの書
き替えが行えうことができるため、光量劣化により画質
劣化の影響が極めて少ないシェーディング補正を行うこ
とができ、安定した高画質の画像を得るとともに光源等
の使用時間を長くでき耐久性の向上させることができ
る。As described above, according to this embodiment, since the white reference data is written in the average value storage section before the white reference surface becomes dirty, shading correction can be performed without being affected by dust or dirt. When the light amount deteriorates, it is possible to judge the deterioration by comparing the average value of the image data and rewrite the white reference data.Therefore, shading correction that is extremely small in image quality deterioration due to the light amount deterioration can be performed. It is possible to obtain stable and high-quality images, and it is possible to extend the usage time of the light source and the like and improve the durability.
【0019】(実施例2)以下本発明の第2実施例につ
いて図面を参照しながら説明する。図3は本発明の第2
実施例における画像処理装置のハードウェアの構成を示
すブロック図である。1Bは本発明の第2実施例におけ
る画像処理装置である。101は入力端子、102はA
/D変換器、104はスイッチ、105は白基準データ
蓄積部、106はシェーディング補正回路、107は出
力端子である。これらは従来例と同様のものなので、同
一の符号を付して説明を省略する。従来例と異なるの
は、シェーディング補正回路106によりシェーディン
グ補正された画像データの最大値を検出する最大値検出
部9と、シェーディング補正回路106によりシェーデ
ィング補正された画像データの最小値を検出する最小値
検出部10と、最大値検出部9及び最小値検出部10か
らの最大値と最小値の差を算出する減算部11と、ごみ
や汚れ等による画像データの劣化の許容値を予め設定し
ておく設定部12と、減算部11から得られた差の値と
設定部12に記憶された許容値とを比較する比較部13
と、比較部13での比較値が許容値を越えた場合に、1
ラインの白基準面の画像データを白基準データ蓄積部1
05に書き替える制御部14と、制御部14に操作指令
等を行うオペレーションボード15と、を備えている点
である。(Second Embodiment) A second embodiment of the present invention will be described below with reference to the drawings. FIG. 3 shows the second aspect of the present invention.
3 is a block diagram illustrating a hardware configuration of an image processing apparatus according to an embodiment. FIG. 1B is an image processing apparatus in the second embodiment of the present invention. 101 is an input terminal, 102 is A
An A / D converter, a switch 104, a white reference data storage unit 105, a shading correction circuit 106, and an output terminal 107. Since these are the same as those in the conventional example, the same reference numerals are given and description thereof is omitted. The difference from the conventional example is that the maximum value detection unit 9 detects the maximum value of the image data subjected to the shading correction by the shading correction circuit 106, and the minimum value that detects the minimum value of the image data subjected to the shading correction by the shading correction circuit 106. The detection unit 10, the subtraction unit 11 for calculating the difference between the maximum value and the minimum value from the maximum value detection unit 9 and the minimum value detection unit 10, and the allowable value of the deterioration of the image data due to dust or dirt are set in advance. The setting unit 12 for setting and the comparing unit 13 for comparing the difference value obtained from the subtracting unit 11 and the allowable value stored in the setting unit 12
And when the comparison value in the comparison unit 13 exceeds the allowable value, 1
The image data of the white reference plane of the line is stored in the white reference data storage unit 1.
It is provided with a control unit 14 that is rewritten to 05 and an operation board 15 that issues an operation command to the control unit 14.
【0020】以上のように構成された本発明の第2実施
例における画像処理装置について動作を説明する。図4
は本発明の第2実施例の画像処理装置における1ライン
の白基準面の画像データがシェーディング補正された後
の画像データとその最大値及び最小値を示す概要図であ
る。入力端子101からはイメージセンサーで光電変換
された信号に対してゲインコントロール等のレベル的に
補正された信号が入力されるものとする。まず、実施例
1と同様に、白基準面が汚れる前に白基準面の白基準デ
ータが白基準データ蓄積部105に蓄積される。次に、
原稿を読み取る前に、白基準面を読み取る。白基準面の
画像データは、入力端子101より入力され、A/D変
換器102でデジタル信号に変換された後、白基準デー
タ蓄積部105に蓄積されている白基準データを使用し
てシェーディング補正回路106でシェーデイング補正
が行われる。その後、シェーディング補正された1ライ
ンのデータの最大値を最大値検出部9で、最小値を最小
値検出部10で検出し、その差を減算部11で検出した
後、その差と予め設定されている設定部12の許容値と
を比較部13で比較する。図4に、白基準面の画像デー
タのシェーディング補正後の画像データの例が示され
る。今回、入力端子101からはレベル的に補正された
信号が入力される。従って、光量劣化が発生しても白基
準データ蓄積部105に蓄積してある白基準データに対
して、相似的に劣化していれば最大値と最小値の差は小
さく、正常であると判断でき、原稿読み取り時に白基準
データ蓄積部105に蓄積してある白基準データを使用
してシェーデイング補正が行われる。シェーディング補
正後のデータの最大値と最小値の差が大き場合は、読み
取っている白基準面にごみや汚れが付着しているか、又
は、光量が画質に影響を及ぼすような局所的な劣化等を
生じていることと判断される。ごみや汚れが付着してい
ると判断さた場合は、画質に影響がないため、オペレー
タは画質に異常がある場合だけ、オぺレーションボード
15で比較部13の結果を確認して光量劣化と判断する
ことができ、制御部14に白基準データ蓄積部105へ
の白基準データの再蓄積を行うように指示する。制御部
14は、劣化後の白基準データを白基準データ蓄積部1
05へ蓄積するようスイッチ104および白基準データ
蓄積部105等を制御する。又、設定部12の許容値
は、最大値や最小値がノイズ等の影響を受けにくい値を
設定しておくことが好ましい。The operation of the image processing apparatus according to the second embodiment of the present invention constructed as above will be described. FIG.
FIG. 8 is a schematic diagram showing image data after image data of a white reference plane of one line is subjected to shading correction and maximum and minimum values thereof in the image processing apparatus of the second embodiment of the present invention. It is assumed that a level-corrected signal such as gain control is input to the signal photoelectrically converted by the image sensor from the input terminal 101. First, as in the first embodiment, the white reference data of the white reference surface is stored in the white reference data storage unit 105 before the white reference surface becomes dirty. next,
Scan the white reference surface before scanning the original. The image data of the white reference plane is input from the input terminal 101, converted into a digital signal by the A / D converter 102, and then shading correction is performed using the white reference data stored in the white reference data storage unit 105. Shading correction is performed in the circuit 106. After that, the maximum value of the shading-corrected data of one line is detected by the maximum value detection unit 9, the minimum value is detected by the minimum value detection unit 10, the difference is detected by the subtraction unit 11, and the difference is preset. The comparing unit 13 compares the allowable value of the setting unit 12 that is set. FIG. 4 shows an example of image data after the shading correction of the image data of the white reference plane. This time, a level-corrected signal is input from the input terminal 101. Therefore, even if the light amount deterioration occurs, it is determined that the white reference data stored in the white reference data storage unit 105 is normal and the difference between the maximum value and the minimum value is small if the white reference data is similarly deteriorated. Therefore, when the document is read, the shading correction is performed using the white reference data stored in the white reference data storage unit 105. If the difference between the maximum value and the minimum value of the data after shading correction is large, there is dust or dirt on the white reference surface being read, or local deterioration such that the light amount affects the image quality. Is determined to have occurred. If it is determined that dust or dirt is attached, the image quality is not affected. Therefore, only when the image quality is abnormal, the operator confirms the result of the comparison unit 13 on the operation board 15 to determine that the light amount is deteriorated. The determination can be made, and the control unit 14 is instructed to re-store the white reference data in the white reference data storage unit 105. The control unit 14 stores the white reference data after deterioration in the white reference data storage unit 1.
The switch 104, the white reference data storage unit 105, and the like are controlled so as to be stored in the storage unit 05. Further, it is preferable that the allowable value of the setting unit 12 is set such that the maximum value and the minimum value are less likely to be affected by noise or the like.
【0021】以上のように本実施例によれば、白基準面
が汚れる前に白基準データをメモリに書き込むため、ご
みや汚れの影響が極めて少ないシェーディング補正を行
うことができる。又、イメージセンサーの出力信号に対
してレベル的な補正が行われても、画質に影響を及ぼす
ような局所的な光量劣化等を判断することができ、白基
準データの書き替えを行うことができるため、光量の局
所的劣化の影響が極めて少ないシェーディング補正を行
うことができ、高画質で耐久性を向上させることができ
る。As described above, according to the present embodiment, the white reference data is written in the memory before the white reference surface is soiled, so that shading correction can be performed with very little influence of dust and dirt. Further, even if the output signal of the image sensor is level-corrected, it is possible to determine the local deterioration of the light amount that affects the image quality and rewrite the white reference data. Therefore, it is possible to perform shading correction that is less affected by the local deterioration of the light amount, and it is possible to improve the durability with high image quality.
【0022】[0022]
【発明の効果】以上のように本発明は、1ラインの白基
準面の画像データを蓄積保持している白基準データ蓄積
部と、1ラインの画像データの平均値を算出する平均値
算出部と、平均値算出部からの平均値を記憶する平均値
記憶部と、平均値算出部により算出された白基準データ
蓄積部の白基準データ平均値と白基準面の画像データ平
均値との差を算出する減算部と、許容値を設定する設定
部と、減算部により算出された差と設定部の許容値とを
比較する比較部と、差が許容値を越えた場合に、1ライ
ンの白基準面の画像データを白基準データ蓄積部に書き
替え蓄積する制御部と、を備えたことにより、白基準面
が汚れる前に白基準面のデータを蓄積し、光量等が劣化
した場合は、その判定を行い白基準データの再蓄積を行
うため、ごみや汚れ又は光量劣化の影響が極めて少ない
シェーディング補正が可能で、高画質及び耐久性に優れ
た画像処理装置を実現することができる。As described above, according to the present invention, the white reference data storage unit that stores and holds the image data of the white reference surface of one line and the average value calculation unit that calculates the average value of the image data of one line. And an average value storage unit that stores the average value from the average value calculation unit, and a difference between the white reference data average value of the white reference data storage unit and the image data average value of the white reference surface calculated by the average value calculation unit. And a setting unit that sets an allowable value, a comparison unit that compares the difference calculated by the subtracting unit with the allowable value of the setting unit, and if the difference exceeds the allowable value, By including the control unit that rewrites and stores the image data of the white reference plane in the white reference data storage unit, the data of the white reference plane is stored before the white reference plane becomes dirty, and when the light amount or the like deteriorates. , The white reference data is re-accumulated after making the judgment, so that Or effects of light intensity deterioration can be very small shading correction, it is possible to realize an excellent image processing apparatus in image quality and durability.
【0023】又、1ラインの白基準面の画像データを白
基準データとして蓄積保持している白基準データ蓄積部
と、白基準面の画像データが白基準データ蓄積部に保持
された白基準データによりシェーディング補正された画
像データの最大値及び最小値を検出する検出部と、最大
値と最小値の差を算出する減算部と、許容値を設定する
設定部と、減算部により算出された差と設定部の許容値
とを比較する比較部と、差が許容値を越えた場合に、1
ラインの白基準面の画像データを白基準データ蓄積部に
書き替え蓄積する制御部と、を備えたことにより、白基
準面が汚れる前に白基準面のデータを蓄積し、ごみや汚
れの影響を受けることが極めて少ない。特に、光量が局
所的,不均一に劣化した場合、その検出が行われ白基準
データの再蓄積を白基準データ蓄積部に行うため、局所
的な光量劣化等の影響が極めて少ないシェーディング補
正が可能で、高画質及び耐久性に優れた画像処理装置を
実現することができる。Further, a white reference data storage section that stores and holds one line of white reference plane image data as white reference data, and white reference data in which the white reference plane image data is stored in the white reference data storage section. The detection unit that detects the maximum value and the minimum value of the shading-corrected image data, the subtraction unit that calculates the difference between the maximum value and the minimum value, the setting unit that sets the allowable value, and the difference calculated by the subtraction unit. And the comparison unit that compares the allowable value of the setting unit, and 1 if the difference exceeds the allowable value.
By providing a control unit that rewrites and stores the image data of the white reference plane of the line in the white reference data storage unit, the data of the white reference plane is stored before the white reference plane becomes dirty, and the influence of dust and dirt Receive very few. In particular, when the light intensity locally or non-uniformly deteriorates, it is detected and the white reference data is re-accumulated in the white reference data accumulator, so shading correction is possible, which is minimally affected by the local light intensity deterioration. Thus, it is possible to realize an image processing device having high image quality and excellent durability.
【図面の簡単な説明】[Brief description of drawings]
【図1】本発明の第1実施例における画像処理装置のハ
ードウェアの構成を示すブロック図FIG. 1 is a block diagram showing a hardware configuration of an image processing apparatus according to a first embodiment of the present invention.
【図2】本発明の第1実施例の画像処理装置における1
ラインの白基準データを読み取った場合の画像データと
その平均値を示す概要図FIG. 2 is a block diagram of the image processing apparatus of the first embodiment of the present invention.
A schematic diagram showing the image data and the average value when the white reference data of the line is read
【図3】本発明の第2実施例における画像処理装置のハ
ードウェアの構成を示すブロック図FIG. 3 is a block diagram showing a hardware configuration of an image processing apparatus according to a second embodiment of the present invention.
【図4】本発明の第2実施例の画像処理装置における1
ラインの白基準面の画像データがシェーディング補正さ
れた後の画像データとその最大値及び最小値を示す概要
図FIG. 4 is a block diagram of an image processing apparatus according to a second embodiment of the present invention.
Schematic diagram showing image data after the image data of the white reference plane of the line is subjected to shading correction and the maximum and minimum values thereof
【図5】従来の画像処理装置の読み取り部の光学系の断
面概略部FIG. 5 is a schematic sectional view of an optical system of a reading unit of a conventional image processing apparatus.
【図6】従来の画像処理装置の構成を示すブロック図FIG. 6 is a block diagram showing the configuration of a conventional image processing apparatus.
【図7】(a)白基準面を読み取った時の1ラインの画
像データの信号波形例 (b)白原稿を読み取った時の1ラインの画像データの
信号波形例 (c)図7(a),(b)の両画像データによってシェ
ーディング補正された後の画像データの信号波形例7A is a signal waveform example of image data of one line when a white reference surface is read. FIG. 7B is a signal waveform example of image data of one line when a white original is read. ) And (b), the signal waveform example of the image data after shading correction by both image data
【図8】(a)ごみや汚れ等が付着した白基準面を読み
取った時の1ラインの画像データの信号波形例 (b)白原稿を読み取った時の1ラインの画像データの
信号波形例 (c)図8(a),(b)の両画像データによってシェ
ーディング補正された後の画像データの信号波形例FIG. 8A is a signal waveform example of image data of one line when a white reference surface with dust or dirt is read. FIG. 8B is a signal waveform example of image data of one line when a white document is read. (C) Example of signal waveform of image data after shading correction by both image data of FIGS. 8 (a) and 8 (b)
【図9】(a)白基準面を読み取った時の1ラインの画
像データの信号波形例 (b)光量の劣化後に白原稿を読み取った時の1ライン
の画像データの信号波形例 (c)図9(a),(b)の両画像データによってシェ
ーディング補正された後の画像データの信号波形FIG. 9A is a signal waveform example of image data of one line when a white reference surface is read. FIG. 9B is a signal waveform example of image data of one line when a white document is read after deterioration of light amount. Signal waveform of image data after shading correction by both image data of FIGS. 9A and 9B
1A 本発明の第1実施例における画像処理装置 1B 本発明の第2実施例における画像処理装置 2 平均値算出部 3 スイッチ 4 平均値記憶部 5,11 減算部 6,12 設定部 7,13 比較部 8,14 制御部 9 最大値検出部 10 最小値検出部 15 オペレーションボード 101 入力端子 102 A/D変換器 103 制御部 104 スイッチ 105 白基準データ蓄積部 106 シェーディング補正回路 107 出力端子 301 白基準面 302 ガラス 303 光源 304 ミラー 305 レンズ 306 イメージセンサー 307 原稿 1A Image processing apparatus in the first embodiment of the present invention 1B Image processing apparatus in the second embodiment of the present invention 2 Average value calculation unit 3 Switch 4 Average value storage unit 5,11 Subtraction unit 6,12 Setting unit 7,13 Comparison Sections 8 and 14 Control section 9 Maximum value detection section 10 Minimum value detection section 15 Operation board 101 Input terminal 102 A / D converter 103 Control section 104 Switch 105 White reference data storage section 106 Shading correction circuit 107 Output terminal 301 White reference surface 302 glass 303 light source 304 mirror 305 lens 306 image sensor 307 original
Claims (2)
次画像データを読み取りシェーディング補正を行う画像
処理装置であって、1ラインの前記白基準面の前記画像
データを蓄積保持している白基準データ蓄積部と、1ラ
インの前記画像データの平均値を算出する平均値算出部
と、前記平均値算出部からの前記平均値を記憶する平均
値記憶部と、前記平均値算出部により算出された前記白
基準データ蓄積部の白基準データ平均値と前記白基準面
の画像データ平均値との差を算出する減算部と、許容値
を設定する設定部と、前記減算部により算出された前記
差と前記設定部の前記許容値とを比較する比較部と、前
記差が前記許容値を越えた場合に、1ラインの前記白基
準面の前記画像データを前記白基準データ蓄積部に書き
替える制御部と、を備えていることを特徴とする画像処
理装置。1. An image processing apparatus having a white reference surface of one line and sequentially reading image data line by line to perform shading correction, and storing and holding the image data of the white reference surface of one line. A white reference data storage unit, an average value calculation unit that calculates an average value of the image data for one line, an average value storage unit that stores the average value from the average value calculation unit, and an average value calculation unit. The subtraction unit that calculates the difference between the white reference data average value of the white reference data storage unit and the image data average value of the white reference surface calculated by the above, the setting unit that sets the allowable value, and the subtraction unit A comparing unit for comparing the difference obtained with the allowable value of the setting unit; and, if the difference exceeds the allowable value, the white reference data accumulating unit stores the image data of the white reference plane of one line. And a control unit that rewrites The image processing apparatus characterized by comprising.
次画像データを読み取りシェーディング補正を行う画像
処理装置であって、1ラインの前記白基準面の前記画像
データを白基準データとして蓄積保持している白基準デ
ータ蓄積部と、前記白基準面の前記画像データが前記白
基準データ蓄積部に保持された前記白基準データにより
シェーディング補正された画像データの最大値及び最小
値を検出する検出部と、前記最大値と前記最小値の差を
算出する減算部と、許容値を設定する設定部と、前記減
算部により算出された前記差と前記設定部の前記許容値
とを比較する比較部と、前記差が前記許容値を越えた場
合に、1ラインの前記白基準面の前記画像データを前記
白基準データ蓄積部に書き替える制御部と、を備えてい
ることを特徴とする画像処理装置。2. An image processing apparatus having a white reference surface of one line and sequentially reading image data for each line to perform shading correction, wherein the image data of the white reference surface of one line is used as white reference data. A white reference data storage unit that stores and holds, and detects the maximum value and the minimum value of image data whose image data on the white reference surface is shading-corrected by the white reference data held in the white reference data storage unit. A detection unit, a subtraction unit that calculates a difference between the maximum value and the minimum value, a setting unit that sets an allowable value, and a comparison between the difference calculated by the subtraction unit and the allowable value of the setting unit. And a control unit that rewrites the image data of one line of the white reference surface to the white reference data storage unit when the difference exceeds the allowable value. You Image processing apparatus.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7220056A JPH0965122A (en) | 1995-08-29 | 1995-08-29 | Image processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7220056A JPH0965122A (en) | 1995-08-29 | 1995-08-29 | Image processing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0965122A true JPH0965122A (en) | 1997-03-07 |
Family
ID=16745249
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7220056A Pending JPH0965122A (en) | 1995-08-29 | 1995-08-29 | Image processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0965122A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100350783C (en) * | 2004-03-22 | 2007-11-21 | 富士施乐株式会社 | Image reading apparatus and reference member foreign matter detecting method |
-
1995
- 1995-08-29 JP JP7220056A patent/JPH0965122A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100350783C (en) * | 2004-03-22 | 2007-11-21 | 富士施乐株式会社 | Image reading apparatus and reference member foreign matter detecting method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3754870B2 (en) | Image reading apparatus, shading correction method, and storage medium | |
| JP4310143B2 (en) | Image processing device | |
| JPH10285473A (en) | Image signal correction device | |
| JPH0799850B2 (en) | Image reading device for image recording device | |
| JPH0965122A (en) | Image processing device | |
| JPH10294870A (en) | Image processing device | |
| JP4239302B2 (en) | Image reading device | |
| JP3262609B2 (en) | Image reading device | |
| JP4546359B2 (en) | Image reading device | |
| JP2736536B2 (en) | Image reading device | |
| JP3539378B2 (en) | Memory control method and camera control method | |
| JPH11112800A (en) | Image processing device | |
| JP2002247349A (en) | Image processing device | |
| JP2005094482A (en) | Digital image reader | |
| JP2002142157A (en) | Pixel defect correction device | |
| JP2000078600A (en) | Negative / positive discriminator | |
| JP2003032490A (en) | Image processing device | |
| JP3569450B2 (en) | Negative / positive discriminator | |
| JPS6041364A (en) | Optical reader | |
| JP2004266512A (en) | Digital image reader | |
| JP2001223895A (en) | Image reading device | |
| JP2000196880A (en) | White reference data detector | |
| JPH04142161A (en) | Picture reader | |
| JPH08307674A (en) | Image reader and shading correction method for image reader | |
| JP2005196274A (en) | Image reading apparatus, image processing system, method, program, and recording medium |