JPH09200515A - Image processor - Google Patents

Image processor

Info

Publication number
JPH09200515A
JPH09200515A JP8021708A JP2170896A JPH09200515A JP H09200515 A JPH09200515 A JP H09200515A JP 8021708 A JP8021708 A JP 8021708A JP 2170896 A JP2170896 A JP 2170896A JP H09200515 A JPH09200515 A JP H09200515A
Authority
JP
Japan
Prior art keywords
pixel
register
white reference
data
reference data
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
JP8021708A
Other languages
Japanese (ja)
Inventor
Tamotsu Hosono
保 細野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP8021708A priority Critical patent/JPH09200515A/en
Publication of JPH09200515A publication Critical patent/JPH09200515A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To eliminate the limitation of minimum value of white reference data and to simplify the configuration of shading correcting operation circuit. SOLUTION: The data on a white reference surface are read by a scanner 1, converted to a digital image signal V11 by an A/D converter 2 and preserved in a following pixel register 3. Next, the next pixel register while reference data are outputted from the scanner 1, converted to a digital image signal V12 by the A/D converter 2 and preserved in the next pixel register 3. At such a time, the signal V11 preserved in the next picture element register 3 is transferred to a current pixel register 4. When the next white reference data are inputted, a signal V13 is inputted to the next pixel register 3, the signal V12 is inputted to the current pixel register 4, and the signal V11 is inputted to a preceding picture element register 5. From the point of time when three signals are arranged, abnormal picture element detecting processing 6 of current pixel data is performed. The average value of pixels V11 and V13 before and after a concerned pixel is calculated, that average value is compared with the current pixel V12 and when the difference is larger than a certain set value, the current pixel V12 is regarded as an abnormal pixel but when the difference is smaller, the current pixel is regarded as a normal pixel.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理装置、よ
り詳細には、シェーディング補正機能を搭載したファク
シミリ装置等の画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus such as a facsimile apparatus having a shading correction function.

【0002】[0002]

【従来の技術】撮像された画像は、照明ムラ,レンズの
透過ムラ,センサの感度ムラなどの影響で、シェーディ
ングと呼ばれる不均一な背景画像を伴うため、対象物は
定量的輝度情報とはならない。そこで、背景光だけの画
像を用いて、この背景光が均一となる補正係数を各画素
について求めて、メモリに記録し、これを対象物を含む
原画像と乗算することによって、シェーディングのない
正確な輝度画像を得るようにしている。
2. Description of the Related Art An imaged image is accompanied by a non-uniform background image called shading due to effects of illumination unevenness, lens transmission unevenness, sensor sensitivity unevenness, and the like, so that the object does not serve as quantitative luminance information. . Therefore, by using the image of only the background light, a correction coefficient that makes the background light uniform is obtained for each pixel, recorded in memory, and multiplied by the original image containing the target object to obtain an accurate shading-free image. I am trying to obtain a high brightness image.

【0003】例えば、特開平6−164919号公報に
おいては、原稿から読み取られた画像信号をA/Dコン
バータによりディジタル画像データAに変換し、その変
換されたディジタル画像データAに対し、白基準データ
Bと上記A/Dコンバータの量子化ビット数に応じた所
定の定数Kとを用い、(B×K)/Aなる演算式により
演算を行い、画像読み取り装置により読み取られた画像
に対してシェーディング補正を行うことが提案されてい
る。
For example, in Japanese Unexamined Patent Publication No. 6-164919, an image signal read from an original is converted into digital image data A by an A / D converter, and white reference data is converted from the converted digital image data A. B and a predetermined constant K according to the number of quantization bits of the A / D converter are used to perform an operation by an arithmetic expression of (B × K) / A, and shading is performed on an image read by an image reading device. It is proposed to make a correction.

【0004】[0004]

【発明が解決しようとする課題】上記従来技術において
は、白基準データの最小値の制限をなくすために、A/
Dコンバータの量子化ビットに応じた所定の定数を用い
て演算を行うことにより、シェーディング補正を行って
いるが、この方法では、シェーディング補正だけで演算
回路が6つと多くなってしまう。
In the above prior art, in order to eliminate the limitation of the minimum value of the white reference data, A /
Although the shading correction is performed by performing an operation using a predetermined constant according to the quantization bit of the D converter, in this method, the shading correction alone increases the number of arithmetic circuits to six.

【0005】また、上記従来技術においては、注目画素
とその前画素との比較によりメージセンサのビット異常
を検出していたが、この方法では、密着センサのように
画素毎のバラツキが大きい場合に異常検出してしまう場
合がある。
Further, in the above-mentioned conventional technique, the bit abnormality of the image sensor is detected by comparing the pixel of interest and the preceding pixel, but with this method, the abnormality is detected when the pixel-to-pixel variation is large like a contact sensor. It may be detected.

【0006】また、上記従来技術においては、イメージ
センサのビット異常が発生した場合には、内部の画像処
理のみで対応していたため、オペレータなどが読み取り
面へのゴミなどの付着やセンサの故障などに気付くこと
はなかった。
Further, in the above-mentioned prior art, when a bit error of the image sensor occurs, it is dealt with only by the internal image processing. Therefore, an operator or the like adheres dust to the reading surface or breaks the sensor. I never noticed.

【0007】[0007]

【課題を解決するための手段】請求項1の発明は、シェ
ーディング補正機能を搭載している画像処理装置におい
て、白基準データのミニマムレベルの検出を行い、その
検出結果によりシェーデイング補正データを選択するこ
とを特徴とし、もって、演算回路1つで構成すること乏
より簡易な構成で同等の機能を有するようにしたもので
ある。
According to a first aspect of the present invention, an image processing apparatus equipped with a shading correction function detects a minimum level of white reference data and selects the shading correction data according to the detection result. The present invention is characterized in that it has an equivalent function with a simpler configuration than the configuration of a single arithmetic circuit.

【0008】請求項2の発明は、シェーディング補正機
能を搭載している画像処理装置において、白基準データ
を読み取る時に注目画素の前後の画素との平均値をと
り、その平均値と注目画素とを比較することにより、イ
メージセンサのビット異常を検出することを特徴とし、
もって、注目画素とその前後画素との平均値とを比較す
ることにより、ビット異常検出の精度を上げるようにし
たものである。
According to a second aspect of the present invention, in an image processing apparatus equipped with a shading correction function, when the white reference data is read, the average value of the pixels before and after the pixel of interest is taken, and the average value and the pixel of interest are taken. Characterized by detecting a bit abnormality of the image sensor by comparing,
Therefore, the accuracy of bit anomaly detection is improved by comparing the average value of the pixel of interest and the pixels before and after it.

【0009】請求項3の発明は、シェーディング補正機
能を搭載している画像処理装置において、白基準データ
のミニマムレベルの検出結果とイメージセンサのビット
異常検出結果によりイメージセンサの異常状態を検出す
ることを特徴とし、もって、表示部への異常表示をする
ようにしたものである。
According to a third aspect of the present invention, in an image processing apparatus equipped with a shading correction function, an abnormal state of the image sensor is detected based on the minimum level detection result of the white reference data and the bit abnormality detection result of the image sensor. Therefore, an abnormal display is displayed on the display unit.

【0010】[0010]

【発明の実施の形態】図1は、本発明による画像処理装
置の一実施例を説明するための要部ブロック図、図2
は、その動作説明をするためのフローチャートで、図
中、1は原稿を読み取るためのスキャナであり、このス
キャナにより出力される画像信号V0をビデオアンプ回
路でレベルを最適化した後に、A/Dコンバータ2で画
像信号V0をディジタル画像信号V1に変換する。まず、
シェーディング補正データを取り込むために、スキャナ
1により白基準面のデータを読み取る。読み取られた白
基準データのスキャナ出力画像信号V01は、A/Dコン
バータ2でディジタル画像信号V11に変換され、次画素
レジスタ3に保存される。次に、次画素レジスタ白基準
データV02がスキャナより出力され、A/Dコンバータ
2でディジタル画像信号V12に変換され、次画素レジス
タ3に保存される。この時、次画素レジスタ3に保存さ
れていたV11は、現画素レジスタ4に転送される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a principal block diagram for explaining an embodiment of an image processing apparatus according to the present invention, and FIG.
Is a flow chart for explaining its operation. In the figure, reference numeral 1 is a scanner for reading an original, and after the level of an image signal V 0 output by this scanner is optimized by a video amplifier circuit, A / The D converter 2 converts the image signal V 0 into a digital image signal V 1 . First,
In order to capture the shading correction data, the scanner 1 reads the data of the white reference plane. The scanner output image signal V 01 of the read white reference data is converted into a digital image signal V 11 by the A / D converter 2 and stored in the next pixel register 3. Next, the next pixel register white reference data V 02 is output from the scanner, converted into a digital image signal V 12 by the A / D converter 2, and stored in the next pixel register 3. At this time, V 11 stored in the next pixel register 3 is transferred to the current pixel register 4.

【0011】そして、次の白基準データが入ると、次画
素レジスタ3にはV13が入り、現画素レジスタ4に
12、前画素レジスタ5にはV11が入り、3つ揃った時
点から現画素データの異常画素検出処理が異常画素検出
回路6で行われる。ここでは、まず、次画素レジスタ3
と前画素レジスタ5に入っいてる注目画素の前後の画
素、V11とV13の平均値を算出し、その平均値を現画素
12と比較することにより、差がある設定値より大きい
場合には、現画素V12を異常画素とみなし、小さい場合
には、正常画素とみなす。異常画素であった場合には、
前画素と次画素の平均値を現画素に置き換えて出力する
ようにする。置き換えることにより、現画素にゴミ等が
ついて異常画素となっていた場合でも、前後画素の真中
の値をとることでより最適な白基準データを得ることが
できる。
[0011] Then, upon entering the next white reference data, the next pixel register 3 contains the V 13, V 12 to the current pixel register 4, before entering the V 11 in the pixel register 5, three uniform time Abnormal pixel detection processing of the current pixel data is performed by the abnormal pixel detection circuit 6. Here, first, the next pixel register 3
If the difference is larger than a certain set value by calculating the average value of the pixels V 11 and V 13 before and after the pixel of interest stored in the previous pixel register 5 and comparing the average value with the current pixel V 12. Regards the current pixel V 12 as an abnormal pixel, and if it is small, regards it as a normal pixel. If it is an abnormal pixel,
The average value of the previous pixel and the next pixel is replaced with the current pixel for output. By the replacement, even if the current pixel becomes an abnormal pixel due to dust or the like, it is possible to obtain more optimal white reference data by taking the middle value of the preceding and following pixels.

【0012】異常画素検出が検出されると、異常画素検
出カウンタ13にて異常画素の検出回数をカウントし、
このカウンタの値とミニマムホールドレジスタ8の値に
より、ゴミの付着やイメージセンサの故障等の警告を表
示器に表示させる。カウンタ13の値がある設定値を超
えていて、かつ、ミニマムホールドレジスタ8の値があ
る設定値を下回っている場合に、警告を行う命令がCP
Uより出される。異常画素補正が施された後に、ピーク
ホールドレジスタ7では、白基準データのピーク値の検
出を行い、ミニマムホールドレジスタ8では、白基準デ
ータのミニマム値の検出を行う。これは、白基準面を2
回読み取るうちの1回目で、ピーク値,ミニマム値を検
出し、その検出したピーク値,ミニマム値を使って2回
目の読み取りでシェーディング補正データを検出する。
When abnormal pixel detection is detected, the abnormal pixel detection counter 13 counts the number of abnormal pixel detections,
Depending on the value of this counter and the value of the minimum hold register 8, a warning such as dust adhesion or image sensor failure is displayed on the display. When the value of the counter 13 exceeds a certain set value and the value of the minimum hold register 8 is less than the certain set value, the instruction for issuing a warning is CP.
Issued by U. After the abnormal pixel correction is performed, the peak hold register 7 detects the peak value of the white reference data, and the minimum hold register 8 detects the minimum value of the white reference data. This sets the white reference plane to 2
The peak value and the minimum value are detected in the first reading, and the shading correction data is detected in the second reading by using the detected peak value and the minimum value.

【0013】ピーク値,ミニマム値の検出は、白基準読
み取り面全範囲にわたって行われ、新しいピーク値,ミ
ニマム値が検出されると、その値がそれぞれのレジスタ
に保存される。検出は、マルチプレクサ9でピーク値、
もしくは、現画素データを選択して出力し、マルチプレ
クサ10で、ミニマム値、もしくは、現画素データを選
択して出力し、ピーク値検出時は、マルチプレクサ9よ
りピーク値、マルチプレクサ10より現画素データをア
ダー11に入力して演算し、現画素が大きい時は、ピー
クホールドレジスタ7に現画素データが保存される。
The detection of the peak value and the minimum value is performed over the entire range of the white reference reading surface, and when the new peak value and the minimum value are detected, the values are stored in the respective registers. For the detection, the peak value is detected by the multiplexer 9,
Alternatively, the current pixel data is selected and output, and the multiplexer 10 selects and outputs the minimum value or the current pixel data. When a peak value is detected, the multiplexer 9 outputs the peak value and the multiplexer 10 outputs the current pixel data. When the current pixel is large, the current pixel data is stored in the peak hold register 7.

【0014】ミニマム値の検出時は、マルチプレクサ9
より現画素データ、マルチプレクサ10よりミニマム値
をアダー11に入力して演算し、現画素が小さい時は、
モニマムホールドレジスタ8に現画素データが保存され
る。演算結果は、演算結果レジスタ12に保存され、こ
のレジスタの値により、次の演算方法が選択される。そ
して、検出されたミニマム値をピーク値で除去すること
により、その結果でシェーディング補正の補正方法を選
択する。
When the minimum value is detected, the multiplexer 9
More current pixel data, the minimum value from the multiplexer 10 is input to the adder 11 for calculation, and when the current pixel is small,
The current pixel data is stored in the monitor hold register 8. The calculation result is stored in the calculation result register 12, and the next calculation method is selected according to the value of this register. Then, by removing the detected minimum value by the peak value, the correction method for shading correction is selected based on the result.

【0015】例として、ディジタル画像信号のビット数
が8ビットである場合で、シェーディング補正データの
RAM15に保存するデータが6ビットである場合に、
ピーク値が240,ミニマム値が180であった場合
に、まず,ミニマム値がピーク値の75%に達している
ために、シェーディング補正データのビット7とビット
6を1に固定する。そして、ビット5からビット0に演
算結果を格納することにより、ダイナミックレンジが6
4となり、ピーク値とミニマム値との差60よりも大き
くなる。また、ピーク値が240,ミニマム値が80で
あった場合に、ミニマム値の30%しか達しておらず、
この場合、シェーディング補正データのビット7を1に
固定すると、50%以下の補正が行えないので、ビット
7からビット2に演算結果を格納し、ビット1とビット
0には、1または0を固定することでダイナミックレン
ジを160確保することができる。その代わりに、ビッ
ト1とビット0が固定されてしまうため、補正精度は、
64/160=40%になってしまう。保存するビット
数の選択、ビット数の固定は、メモリI/F14にて行
われ,ピーク値とミニマム値の除算結果によりビット数
の選択が決定される。どのように設定されたのかはI/
Oのビット数選択のポートを見ることにより設定を確認
する。また、ピークホールドレジスタ,ミニマムホール
ドレジスタもI/Oポートにより確認できる。
As an example, when the bit number of the digital image signal is 8 bits and the data of the shading correction data stored in the RAM 15 is 6 bits,
When the peak value is 240 and the minimum value is 180, first, since the minimum value has reached 75% of the peak value, bits 7 and 6 of the shading correction data are fixed to 1. By storing the operation result in bit 5 to bit 0, the dynamic range becomes 6
4, which is larger than the difference 60 between the peak value and the minimum value. When the peak value is 240 and the minimum value is 80, only 30% of the minimum value is reached,
In this case, if bit 7 of shading correction data is fixed to 1, correction of 50% or less cannot be performed, so the operation result is stored in bit 7 to bit 2, and 1 or 0 is fixed in bit 1 and bit 0. By doing so, a dynamic range of 160 can be secured. Instead, since bit 1 and bit 0 are fixed, the correction accuracy is
64/160 = 40%. The selection of the number of bits to be stored and the fixing of the number of bits are performed in the memory I / F 14, and the selection of the number of bits is determined by the division result of the peak value and the minimum value. I /
Confirm the setting by looking at the O bit number select port. Also, the peak hold register and minimum hold register can be confirmed by the I / O port.

【0016】[0016]

【発明の効果】請求項1の発明によると、白基準データ
のミニマムレベルを検出し、シェーディング補正のダイ
ナミックレンジを設定することにより、白基準データの
ピーク値の何%までを補正するという制約がいらなくな
るため、白基準データの最小値の制限をなくすことがで
きるとともに、回路を簡易な構成にすることができる。
According to the first aspect of the present invention, by detecting the minimum level of the white reference data and setting the dynamic range of the shading correction, there is a restriction that what percentage of the peak value of the white reference data is corrected. Since it is unnecessary, it is possible to eliminate the limitation on the minimum value of the white reference data and to simplify the circuit.

【0017】請求項2の発明によると、注目画素とその
前後画素の平均値とを比較することで、イメージセンサ
のビット異常検出を行うことにより、密着センサなどの
画素毎のバラツキが大きいスキャナでのビット異常検出
の精度が向上する。
According to the second aspect of the present invention, by comparing the average value of the pixel of interest and the pixels before and after the pixel of interest to detect the bit abnormality of the image sensor, a scanner such as a contact sensor having a large variation in each pixel. The accuracy of bit abnormality detection of is improved.

【0018】請求項3の発明によると、白基準データの
ミニマムレベルの検出、及び、ビット異常検出を表示器
に表示させることにより、読み取り面へのゴミの付着、
及び、イメージセンサの故障等の警告を行うことができ
る。
According to the invention of claim 3, the detection of the minimum level of the white reference data and the detection of the bit anomaly are displayed on the display unit, so that dust adheres to the reading surface.
Also, it is possible to give a warning such as a failure of the image sensor.

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

【図1】 本発明による画像処理装置の一実施例を説明
するための要部ブロック図である。
FIG. 1 is a principal block diagram for explaining an embodiment of an image processing apparatus according to the present invention.

【図2】 本発明による画像処理装置の動作説明をする
ためのフローチャートである。
FIG. 2 is a flowchart for explaining the operation of the image processing apparatus according to the present invention.

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

1…スキャナ(ビデオアンプ回路含む)、2…A/Dコ
ンバータ、3…次画素レジスタ、4…現画素レジスタ、
5…前画素レジスタ、6…異常画素検出回路、7…ピー
クホールドレジスタ、8…ミニマムホールドレジスタ、
9,10…マルチプレクサ、11…アダー、12…演算
結果レジスタ、13…異常画素検出カウンタ、14…メ
モリI/F、15…RAM。
1 ... Scanner (including video amplifier circuit), 2 ... A / D converter, 3 ... Next pixel register, 4 ... Current pixel register,
5 ... Previous pixel register, 6 ... Abnormal pixel detection circuit, 7 ... Peak hold register, 8 ... Minimum hold register,
9, 10 ... Multiplexer, 11 ... Adder, 12 ... Operation result register, 13 ... Abnormal pixel detection counter, 14 ... Memory I / F, 15 ... RAM.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 シェーディング補正機能を搭載している
画像処理装置において、白基準データのミニマムレベル
の検出を行い、その検出結果によりシェーデイング補正
データを選択することを特徴とする画像処理装置。
1. An image processing apparatus equipped with a shading correction function, wherein a minimum level of white reference data is detected, and shading correction data is selected according to the detection result.
【請求項2】 シェーディング補正機能を搭載している
画像処理装置において、白基準データを読み取る時に注
目画素の前後の画素との平均値をとり、その平均値と注
目画素とを比較することにより、イメージセンサのビッ
ト異常を検出することを特徴とする画像処理装置。
2. An image processing apparatus equipped with a shading correction function, when reading white reference data, obtains an average value of pixels before and after a pixel of interest, and compares the average value with the pixel of interest. An image processing device characterized by detecting a bit abnormality of an image sensor.
【請求項3】 シェーディング補正機能を搭載している
画像処理装置において、白基準データのミニマムレベル
の検出結果とイメージセンサのビット異常検出結果によ
りイメージセンサの異常状態を検出することを特徴とす
る画像処理装置。
3. An image processing apparatus equipped with a shading correction function, wherein an abnormal state of the image sensor is detected based on a minimum level detection result of white reference data and a bit abnormality detection result of the image sensor. Processing equipment.
JP8021708A 1996-01-11 1996-01-11 Image processor Pending JPH09200515A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8021708A JPH09200515A (en) 1996-01-11 1996-01-11 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8021708A JPH09200515A (en) 1996-01-11 1996-01-11 Image processor

Publications (1)

Publication Number Publication Date
JPH09200515A true JPH09200515A (en) 1997-07-31

Family

ID=12062569

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8021708A Pending JPH09200515A (en) 1996-01-11 1996-01-11 Image processor

Country Status (1)

Country Link
JP (1) JPH09200515A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009152920A (en) * 2007-12-21 2009-07-09 Murata Mach Ltd Image reader

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009152920A (en) * 2007-12-21 2009-07-09 Murata Mach Ltd Image reader

Similar Documents

Publication Publication Date Title
JP4261068B2 (en) A fast deterministic approach in detecting defective pixels in image sensors
US7283164B2 (en) Method for detecting and correcting defective pixels in a digital image sensor
US7593569B2 (en) Pixel defect correction device
US20050243181A1 (en) Device and method of detection of erroneous image sample data of defective image samples
JP4985403B2 (en) Image processing system and image processing program
JPH0254683A (en) Picture scanner and its correction method
US7843501B2 (en) Image sensing apparatus and defect correction method
US7567278B2 (en) Circuit and method for detecting pixel defect
US20030025813A1 (en) Method of detecting defective pixels of a solid-state image-pickup device and image-pickup apparatus using the same
JP4680639B2 (en) Image processing apparatus and processing method thereof
US20050030412A1 (en) Image correction processing method and image capture system using the same
JP5262953B2 (en) Image processing apparatus, image processing method, and program
JP2002344814A (en) Device and method for correcting defect in solid-state image device
JPH09101236A (en) Method and apparatus for detecting defect of display
JPH09200515A (en) Image processor
JP2004241600A (en) Circuit and method for defect detection
JP2882227B2 (en) Pixel defect correction device
JPH077675A (en) Picture element defect correction device
JP2004005424A (en) Signal processor for reducing noise of image signal, signal processing program and signal processing method
JPH07264400A (en) Shading correction circuit
KR100727837B1 (en) An image signal processing device of the camera system
JP2002152601A (en) Solid-state imaging unit and method for correcting defective pixel
JPH07105916B2 (en) Imaging device
JPH09284542A (en) Image input device
JPH0730905A (en) Picture element defect correction device