JPH04185076A - Shading correction device - Google Patents
Shading correction deviceInfo
- Publication number
- JPH04185076A JPH04185076A JP2315116A JP31511690A JPH04185076A JP H04185076 A JPH04185076 A JP H04185076A JP 2315116 A JP2315116 A JP 2315116A JP 31511690 A JP31511690 A JP 31511690A JP H04185076 A JPH04185076 A JP H04185076A
- Authority
- JP
- Japan
- Prior art keywords
- data
- shading correction
- gain amplifier
- output
- variable gain
- 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
- 238000003705 background correction Methods 0.000 title claims abstract description 31
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 101100328887 Caenorhabditis elegans col-34 gene Proteins 0.000 abstract description 14
- 101000857682 Homo sapiens Runt-related transcription factor 2 Proteins 0.000 abstract 1
- 102100025368 Runt-related transcription factor 2 Human genes 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 6
- RRLHMJHRFMHVNM-BQVXCWBNSA-N [(2s,3r,6r)-6-[5-[5-hydroxy-3-(4-hydroxyphenyl)-4-oxochromen-7-yl]oxypentoxy]-2-methyl-3,6-dihydro-2h-pyran-3-yl] acetate Chemical compound C1=C[C@@H](OC(C)=O)[C@H](C)O[C@H]1OCCCCCOC1=CC(O)=C2C(=O)C(C=3C=CC(O)=CC=3)=COC2=C1 RRLHMJHRFMHVNM-BQVXCWBNSA-N 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Landscapes
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の目的〕
(産業上の利用分野)
この発明は、ファクシミリ装置や電子複写装置のような
画像読取装置におけるシェーディング補正装置に関する
ものである。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a shading correction device in an image reading device such as a facsimile machine or an electronic copying machine.
(従来の技術)
従来、画像読取装置では原稿を蛍光灯などの光源で照射
し、その反射光をCCD等のイメージセンサで光電変換
を行うようにしている。ところが、光源の光量は長さ方
向に対して一様ではなく、白い原稿を読み取った場合に
は光源の両端側で低く中央部が高い第3図の如くのシェ
ーデイング歪を持った変換特性が得られる。(Prior Art) Conventionally, in an image reading apparatus, a document is irradiated with a light source such as a fluorescent lamp, and the reflected light is photoelectrically converted by an image sensor such as a CCD. However, the amount of light from the light source is not uniform in the length direction, and when reading a white document, the conversion characteristics have shading distortion as shown in Figure 3, where the light source is low at both ends and high in the center. can get.
そこで、従来においては第4図に示す如きシェーディン
グ補正装置が提供されていた。即ち、白色原稿等をCC
Dイメージセンサ1により読取り得られた信号V1を、
先ず、可変利得増幅器2をスルー状態(VI=■o)と
してA/D変換器3へ与える。A/D変換器3にはリフ
ァレンス電圧がOV、 +5Vで与えられており、この
範囲において4ビツトのディジタル化を行う。ディジタ
ル化されたデータはRAM4に記憶される。上記の動作
を主走査方向に順次行うことによって、主走査方向の各
ビット毎の補正用データがRAM4に格納されることに
なる。Therefore, conventionally, a shading correction device as shown in FIG. 4 has been provided. In other words, white originals etc. are CC
The signal V1 read by the D image sensor 1 is
First, the variable gain amplifier 2 is put into a through state (VI=■o) and is applied to the A/D converter 3. A reference voltage of OV, +5V is applied to the A/D converter 3, and 4-bit digitization is performed within this range. The digitized data is stored in RAM4. By sequentially performing the above operations in the main scanning direction, correction data for each bit in the main scanning direction is stored in the RAM 4.
RAM4の出力は4ビツトとなる。一方、可変利得増幅
器2はCCDイメージセンサ1の出力をRAM4側から
与えられるデータを除数として割り算を行ってゲインを
変えてシェーディング補正′ を行うものである。そ
して、CCDイメージセンサ1から出力される信号の主
走査方向の位置(第iビット目)とRAM4から読出さ
れる補正用データの主走査方向の位置(第iビット目)
とが−致するように、各部にクロックが与えられている
。The output of RAM4 is 4 bits. On the other hand, the variable gain amplifier 2 divides the output of the CCD image sensor 1 using the data given from the RAM 4 as a divisor, changes the gain, and performs shading correction. Then, the position in the main scanning direction of the signal output from the CCD image sensor 1 (the i-th bit) and the position in the main scanning direction of the correction data read from the RAM 4 (the i-th bit)
A clock is given to each part so that the clocks match.
ところで、可変利得増幅器2の除数データの入力端子は
5ビツトであり、RAM4の出力4ビツトよりも多い。Incidentally, the input terminal for the divisor data of the variable gain amplifier 2 has 5 bits, which is more than the 4 bits output from the RAM 4.
そこで、図示のように最下位ビットにデータ「0」を与
えて割り算を行う。例えば1、D=10110 (2)
=22(10)のときvo=32/22 VI。Therefore, as shown in the figure, data "0" is given to the least significant bit to perform division. For example 1, D=10110 (2)
=22(10) then vo=32/22 VI.
D ” 11011 (2) =26(1o)のときV
o=32/26 VIという変換を行う。上記のように
最下位ビットにデータ「0」を与えて割り算を行うため
、RAM4内のデータが第5図(a)の如くであるとす
ると、これを単純に2倍した第5図(b)の如きデータ
を除数として用いているに過ぎず、5ビツトの可変利得
増幅器2にもかかわらず、分解能は4ビツトとなってい
た。D ” 11011 (2) When =26(1o), V
A conversion called o=32/26 VI is performed. As mentioned above, since division is performed by giving data "0" to the least significant bit, if the data in RAM 4 is as shown in FIG. ) is simply used as a divisor, and the resolution is 4 bits despite the variable gain amplifier 2 having 5 bits.
(発明が解決しようとする課題)
上記のように従来のシェーディング補正装置によると、
可変利得増幅器の除数データの入力端子のビット数がA
/D変換器の出力ビツト数より多い場合に、分解能をA
/D変換器の出力ビツト数に合せるような使用方法を採
用しており、高精度でシェーディング補正を行うことが
できないという問題点が生じていた。(Problems to be Solved by the Invention) As described above, according to the conventional shading correction device,
The number of bits of the input terminal of the divisor data of the variable gain amplifier is A
/D converter output bits, the resolution is A.
Since the method of use is adapted to match the output bit number of the /D converter, a problem has arisen in that shading correction cannot be performed with high accuracy.
本発明は上記のような従来のシェーディング補正装置の
問題点に鑑みなされたもので、その目的・ は高精度で
シェーディング補正を行うことのできるシェーディング
補正装置を提供することである。The present invention was made in view of the problems of the conventional shading correction device as described above, and an object thereof is to provide a shading correction device that can perform shading correction with high precision.
(課題を解決するための手段)
本発明では、シェーディング補正用データが格納される
メモリと、
イメージセンサの出力を前記メモリの出力に基づき割算
して増幅する可変利得増幅器と、この可変利得増幅器の
出力をディジタル化して前記メモリへ与えるとともに、
装置の出力信号とするA/D変換器と、
このA/D変換器のリファレンス電圧の範囲を可変とす
る電圧可変手段とを備えさせてシェーディング補正装置
を構成した。(Means for Solving the Problems) The present invention includes a memory in which shading correction data is stored, a variable gain amplifier that divides and amplifies the output of an image sensor based on the output of the memory, and this variable gain amplifier. digitizes the output and provides it to the memory,
A shading correction device was constructed by including an A/D converter that outputs an output signal from the device, and voltage variable means that varies the reference voltage range of the A/D converter.
更に、本発明では、シェーディング補正用データが格納
されるメモリと、イメージセンサの出力を前記メモリの
出力に基づき割算して増幅する可変利得増幅器であって
、除数データの入力端子の下位ビット側から前記メモリ
の出力が与えられ、残余の上位ビットにデータ「1」が
与えられた可変利得増幅器と、
この可変利得増幅器の出力をディジタル化して前記メモ
リへ与えるとともに、装置の出力信号とするA/D変換
器とを備えさせてシェーディング補正装置を構成した。Furthermore, the present invention includes a memory in which shading correction data is stored, and a variable gain amplifier that divides and amplifies the output of the image sensor based on the output of the memory, the lower bit side of the divisor data input terminal A variable gain amplifier to which the output of the memory is given from and data "1" is given to the remaining upper bits; /D converter to constitute a shading correction device.
(作用)
上記構成に係るシェーディング補正装置によると、リフ
ァレンス電圧の範囲が可変となっているため、シェーデ
ィング補正用のデータを得るため白色原稿等を読み取る
ときにリファレンス電圧の範囲を高電位側に設定して、
シェーデイング歪の生じる範囲を細か<A/D変換し、
補正の精度を高め得る。(Function) According to the shading correction device having the above configuration, since the reference voltage range is variable, the reference voltage range is set to the high potential side when reading a white original, etc. in order to obtain data for shading correction. do,
Perform fine A/D conversion on the range where shading distortion occurs,
The accuracy of correction can be improved.
更に、本発明に係るシェーディング補正装置によると、
可変利得増幅器の除数データの入力端子の下位ビット側
からシェーディング補正用データが格納されたメモリの
出力が与えられて、残余の上位ビットにデータr1.が
与えられるため、いわばシェーディング補正用データが
底上げされて与えられ、除数データの入力端子のビット
数の解像度に近づき得る。Furthermore, according to the shading correction device according to the present invention,
The output of the memory storing the shading correction data is applied from the lower bit side of the input terminal of the divisor data of the variable gain amplifier, and the data r1. , so to speak, the shading correction data is provided with a raised level, and can approach the resolution of the bit number of the input terminal of the divisor data.
(実施例)
以下、図面を参照して本発明の一実施例を説明する。第
1図は本発明の一実施例の構成であり、用いている構成
要素は、CCDイメージセンサ1゜可変利得増幅器2.
A/D変換器3.RAM4と第4図の構成と同じである
。ただし、A/D変換器3のリファレンス電圧の最大値
は+5Vに固定化されているが、リファレンス電圧の最
小値はスイッチ5によって0■と±2.5■とのいずれ
かを選択できるように構成されている。(Example) Hereinafter, an example of the present invention will be described with reference to the drawings. FIG. 1 shows the configuration of an embodiment of the present invention, and the components used are a CCD image sensor 1, a variable gain amplifier 2.
A/D converter 3. The configuration of RAM 4 is the same as that shown in FIG. However, although the maximum value of the reference voltage of the A/D converter 3 is fixed at +5V, the minimum value of the reference voltage can be selected between 0■ and ±2.5■ by the switch 5. It is configured.
また、RAM4の4ビツトの出力は可変利得増幅器2の
除数データ入力端子の下位ビット側から割り付けられ、
可変利得増幅器2の除数データ入力端子の残余ビット(
ここでは、最上位ビット)にはデータ「1」が与えられ
ている。Furthermore, the 4-bit output of the RAM 4 is allocated from the lower bit side of the divisor data input terminal of the variable gain amplifier 2,
The remaining bits of the divisor data input terminal of variable gain amplifier 2 (
Here, data "1" is given to the most significant bit.
上記のように構成されたシェーディング補正装置では、
当初にRAM4内に補正用データを格納するため、可変
利得増幅器2をスルー状態としておき、スイッチ5を+
2.5V側に倒しておく。この状態で白色の原稿等をC
CDイメージセンサ1によって読取る。すると、A/D
変換器3ではリファレンス電圧を+5V〜+2.5Vと
してこの範囲で4ビツトのディジタル化を行う。即ち、
シェーデイング歪は、第3図に示されるように高電圧側
(少なくとも、50%以上の範囲)に生じるから、この
範囲にレンジを絞ることでより細い補正用データを得る
ことができ、この補正用データがRAM4に格納される
。In the shading correction device configured as above,
Initially, in order to store the correction data in the RAM 4, the variable gain amplifier 2 is set to the through state, and the switch 5 is set to +.
Set it to the 2.5V side. In this state, hold a white original, etc.
It is read by the CD image sensor 1. Then, A/D
The converter 3 sets the reference voltage to +5V to +2.5V and performs 4-bit digitization within this range. That is,
As shown in Figure 3, shading distortion occurs on the high voltage side (at least in the 50% range), so by narrowing the range to this range, narrower correction data can be obtained, and this correction data is stored in RAM4.
次に、可変利得増幅器2を通常のモードに戻し、スイッ
チ5を0■側に倒して、原稿の読取りを行わせる。する
と、RAM4から出力される4ビツトの補正用データは
第2図(a)の如く主走査方向に変化するデータである
が、可変利得増幅器2へ与えられるときには第2図(b
)のように破線で示される部分が底上げされて(最上位
ビットが「1」とされていることによる。)いる。従っ
て、従来(10)’ (10)、・・・のように「2
」づつ変化しは3129
た補正用データが3130
(10)= (10)・”°ト’ I J ツつ、
きめ細かく変化するようになり、この補正用データを用
いて、より精度の高いシェーディング補正がなされる。Next, the variable gain amplifier 2 is returned to the normal mode, the switch 5 is turned to the 0■ side, and the document is read. Then, the 4-bit correction data outputted from the RAM 4 is data that changes in the main scanning direction as shown in FIG.
), the part shown by the broken line is raised (because the most significant bit is set to "1"). Therefore, conventionally (10)' (10),...
The correction data changed by 3129 is 3130 (10) = (10)・”°to' I J tsutsu,
The shading changes more precisely, and this correction data is used to perform more accurate shading correction.
なお、実施例のビット数は一例に過ぎず、また、リファ
レンス電圧の値も一例に過ぎない。従って、他の数値を
用いてもよい。また、実施例では、−次元イメージセン
サを想定したが、二次元イメージセンサを用いてもよい
。この場合、第1図を用いて説明した主走査方向の読取
りを副走査方向にも行って、シート状のイメージセンサ
の各セル対応の補正用データをRAMに格納し、これを
用いて対応のセルにより読取られたデータを可変利得増
幅器で補正すればよい。Note that the number of bits in the embodiment is only an example, and the value of the reference voltage is also only an example. Therefore, other numerical values may be used. Further, in the embodiment, a -dimensional image sensor is assumed, but a two-dimensional image sensor may be used. In this case, reading in the main scanning direction as explained using FIG. The data read by the cell may be corrected with a variable gain amplifier.
また、スイッチ5と、除数データ入力端子の上位ビット
側にデータ「1」を与える構成とは、いずれか一方を用
いても有効である。Further, it is effective to use either the switch 5 or the configuration in which data "1" is given to the upper bit side of the divisor data input terminal.
以上説明したように本発明によれば、A/D変換器のリ
ファレンス電圧の範囲を可変とできるので、シェーディ
ング補正用データを得るときに高電圧側をきめ細かくデ
ィジタル化でき、精度の良いシェーディング補正が行わ
れ得る。As explained above, according to the present invention, since the range of the reference voltage of the A/D converter can be made variable, the high voltage side can be finely digitized when obtaining data for shading correction, and highly accurate shading correction can be performed. It can be done.
また、可変利得増幅器の除数データの入力端子の下位ビ
ット側から補正用データを与え、残余の上位ビットを「
1」とするので、分解能が低下せずに、従来より精度の
高いシェーディング補正がなされる。In addition, correction data is applied from the lower bit side of the input terminal of the divisor data of the variable gain amplifier, and the remaining upper bits are
1'', shading correction can be performed with higher precision than before without reducing resolution.
第1図は本発明の一実施例のブロック図、第2図は実施
例により除数データが変化する様子を示す図、第3図は
シェーデイング歪を示す図、第4図は従来のシェーディ
ング補正装置のブロック図、第5図は従来例により除数
データが変化する様子を示す図である。
1・・・CODイメージセンサ
2・・・可変利得増幅器 3・・・A/D変換器4
・・・RAM 5・・・スイッチ代理
人 弁理士 本 1) 崇
第1図
第3図Fig. 1 is a block diagram of an embodiment of the present invention, Fig. 2 is a diagram showing how divisor data changes depending on the embodiment, Fig. 3 is a diagram showing shading distortion, and Fig. 4 is a diagram showing conventional shading correction. FIG. 5, a block diagram of the apparatus, is a diagram showing how divisor data changes according to a conventional example. 1... COD image sensor 2... Variable gain amplifier 3... A/D converter 4
...RAM 5...Switch agent Patent attorney Book 1) Takashi Figure 1 Figure 3
Claims (2)
と、 イメージセンサの出力を前記メモリの出力に基づき割算
して増幅する可変利得増幅器と、この可変利得増幅器の
出力をディジタル化して前記メモリへ与えるとともに、
装置の出力信号とするA/D変換器と、 このA/D変換器のリフアレンス電圧の範囲を可変とす
る電圧可変手段とを備えたことを特徴とするシェーディ
ング補正装置。(1) A memory in which shading correction data is stored, a variable gain amplifier that divides and amplifies the output of the image sensor based on the output of the memory, and digitizes the output of the variable gain amplifier and provides it to the memory. With,
A shading correction device comprising: an A/D converter that outputs an output signal from the device; and voltage variable means that varies a reference voltage range of the A/D converter.
と、イメージセンサの出力を前記メモリの出力に基づき
割算して増幅する可変利得増幅器であって、除数データ
の入力端子の下位ビット側から前記メモリの出力が与え
られ、残余の上位ビットにデータ「1」が与えられた可
変利得増幅器と、この可変利得増幅器の出力をディジタ
ル化して前記メモリへ与えるとともに、装置の出力信号
とするA/D変換器とを備えたことを特徴とするシェー
ディング補正装置。(2) a memory in which shading correction data is stored; and a variable gain amplifier that divides and amplifies the output of the image sensor based on the output of the memory, the memory starting from the lower bit side of the divisor data input terminal. a variable gain amplifier to which an output is given and data "1" is given to the remaining upper bits, and an A/D conversion which digitizes the output of the variable gain amplifier and supplies it to the memory, and also makes it an output signal of the device. A shading correction device comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2315116A JPH04185076A (en) | 1990-11-20 | 1990-11-20 | Shading correction device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2315116A JPH04185076A (en) | 1990-11-20 | 1990-11-20 | Shading correction device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04185076A true JPH04185076A (en) | 1992-07-01 |
Family
ID=18061604
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2315116A Pending JPH04185076A (en) | 1990-11-20 | 1990-11-20 | Shading correction device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04185076A (en) |
-
1990
- 1990-11-20 JP JP2315116A patent/JPH04185076A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS5839168A (en) | Gamma compensation device | |
JPH04185076A (en) | Shading correction device | |
JPS5925267B2 (en) | optical character reader | |
US7224485B2 (en) | Apparatus and method mapping a look-up table in an imaging system | |
JPS6135751B2 (en) | ||
JPH088745A (en) | Signal processing circuit | |
JP2744292B2 (en) | Image processing device | |
JP3226534B2 (en) | Document reading device | |
JPH01296773A (en) | Picture reader | |
JPS6161559A (en) | Information reading device | |
JP2512221B2 (en) | Shading distortion correction device | |
JPS56157575A (en) | Signal procession device | |
JPS6378670A (en) | Image reader | |
JPH0222961A (en) | Auto shading correction circuit | |
JPH0287872A (en) | Optical reader | |
JPS60206369A (en) | Picture signal correcting system | |
JPS6096076A (en) | Device for correcting shading distortion | |
JPS61123361A (en) | Image read device | |
JPH0258975A (en) | Shading correcting device | |
JPS59218077A (en) | Picture reader | |
JPS63314956A (en) | Color image input device | |
JPH05103194A (en) | Picture input device | |
JPH0786944A (en) | A/d conversion circuit for video signal | |
JPS62252265A (en) | Inproved picture processor concerning data selecting table | |
JPH0379166A (en) | Shading correction circuit |