JPS6172474A - Shading correction system - Google Patents
Shading correction systemInfo
- Publication number
- JPS6172474A JPS6172474A JP59194476A JP19447684A JPS6172474A JP S6172474 A JPS6172474 A JP S6172474A JP 59194476 A JP59194476 A JP 59194476A JP 19447684 A JP19447684 A JP 19447684A JP S6172474 A JPS6172474 A JP S6172474A
- Authority
- JP
- Japan
- Prior art keywords
- shading
- data
- shading correction
- level
- amplifier
- 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)
Abstract
Description
【発明の詳細な説明】
技五光更
本発明は原稿面を光走査することにより画情報を画素単
位で読み取るスキャナに係り、特にその読み取られた画
情報のシェーディング補正を行なわせる方式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a scanner that reads image information pixel by pixel by optically scanning a document surface, and particularly relates to a method for performing shading correction on the read image information.
皿米五亙
一般に、原稿面を光走査することにより画情報を画素単
位で読み取るスキャナにあっては、その光学系における
光分布特性の不均一性またはCODなどからなるライン
イメージセンサにおける各素子の感度のバラツキなどに
起因してイメージセンサの出力レベルが変動するいわゆ
るシェーディングが生じてしまうため、その出力レベル
を一定にするべくシェーディング補正を行なわせる必要
がある。In general, in scanners that read image information pixel by pixel by optically scanning the document surface, there is a problem with non-uniformity of light distribution characteristics in the optical system or with each element in the line image sensor consisting of COD etc. Since so-called shading occurs in which the output level of the image sensor fluctuates due to variations in sensitivity, etc., it is necessary to perform shading correction to keep the output level constant.
従来、この種のシェーディング補正としては、ラインイ
メージセンサに対応したメモリ容量をもった記憶部と、
そのイメージセンサのAD変換出力と記憶部に格納され
ているデータとを比較してそのうちの大きい方の信号を
出力させる比較部とを設けて、記憶部に比較部からの比
較結果にもとづいて副走査方向について各イメージセン
サ素子ごとの最大出力値を格納するようにし、その記憶
部の蓄積データをアドレスとして補正用ROMから補正
信号を読み出して乗算器に与え、そこでイメージセンサ
のAD変換出力と所定の乗算処理をなすことによりシェ
ーディング補正を行なわせるようにしている(特開昭5
9−27675号公報参照)。Conventionally, this type of shading correction requires a storage unit with a memory capacity compatible with the line image sensor,
A comparison section that compares the AD conversion output of the image sensor with the data stored in the storage section and outputs the larger signal of the two is provided, and the storage section is provided with a secondary signal based on the comparison result from the comparison section. The maximum output value for each image sensor element in the scanning direction is stored, and the correction signal is read out from the correction ROM using the accumulated data in the storage section as an address and given to the multiplier, where it is combined with the AD conversion output of the image sensor and a predetermined value. Shading correction is performed by performing a multiplication process of
(See Publication No. 9-27675).
しかしこのようなシェーディング補正を行なわせるので
は、その精度を上げるためにはAD変換器の分解能すな
わちビット数を増やす必要があるとともに、乗算器の入
力ビツト数によってその出□J カ精度が決
まるものとなってしまっている。特に乗算器が必要であ
るために高速での処理を行なわせることが困難なものと
なってしまっている。However, in order to perform such shading correction, it is necessary to increase the resolution of the AD converter, that is, the number of bits, in order to increase the accuracy, and the precision of the output is determined by the number of input bits of the multiplier. It has become. In particular, the need for multipliers makes it difficult to perform high-speed processing.
Iコη
本発明は以上の点を考慮してなされたもので、簡単な手
段をとることにより高速でのシェーディング補正を精度
良く行なわせることができるようにしたシェーディング
補正方式を提供するものである。The present invention has been made in consideration of the above points, and it is an object of the present invention to provide a shading correction method that allows high-speed shading correction to be performed with high precision by using simple means. .
週1!
本発明ではその目的を達成するため、シェーディング情
報が格納される第1のメモリと、その第1のメモリから
読み出されるデータと補正対象の読取データとの組合せ
に応じたアドレスによってアクセスされる第2のメモリ
とを設け、第2のメモリには第1のメモリからの読出デ
ータに関連づけられて補正対象の読取データが補正され
た場、合に相当するデータを予め格納し、その第2のメ
モリから読み出されたデータを補正データとするように
したものである。Week 1! In order to achieve the object, the present invention includes a first memory in which shading information is stored, and a second memory that is accessed by an address corresponding to a combination of data read from the first memory and read data to be corrected. A second memory is provided with data corresponding to cases in which the read data to be corrected is corrected in association with the read data from the first memory, and the second memory The data read out is used as correction data.
以下、添付図面を参照して本発明の一実施例について詳
述する。Hereinafter, one embodiment of the present invention will be described in detail with reference to the accompanying drawings.
第2図はシェーディングを説明するためのラインイメー
ジセンサにおけるN個のCCDからなる主走査方向の出
力レベル特性を示すもので、シェーディングには主とし
て、■スキャナにおけるレンズ、光源の形状と照度分布
などの光学的バラツキによるもの、■光源の経時劣化、
温度特性による光源劣化によるもの、■CODの感度の
バラツキの3つの要因がある。第2図との関係では、A
またはB特性の曲線は前記■の要因によるものであり、
A特性とB特性との差は前記■の要因によるものであり
、また曲線の拡大した凹凸は前記■の要因によるもので
あるにこで、n−3、n−2、n−1、n、・・・はC
CDの配列順を示している。Figure 2 shows the output level characteristics in the main scanning direction of N CCDs in a line image sensor to explain shading. Due to optical variations, ■ Deterioration of the light source over time,
There are three factors: light source deterioration due to temperature characteristics, and (2) variation in COD sensitivity. In relation to Figure 2, A
Or, the B characteristic curve is due to the factor of (■) above,
The difference between the A characteristic and the B characteristic is due to the factor (■) above, and the enlarged unevenness of the curve is due to the factor (■) above. ,...is C
This shows the arrangement order of CDs.
第1図は本発明によるシェーディング補正方式を具体的
に実施するための構成例を示すもので。FIG. 1 shows an example of a configuration for specifically implementing the shading correction method according to the present invention.
主走査方向にCCDがライン状に配設されたラインイメ
ージセンサ1から時系列的に読み出される出力信号aを
レベル増幅する増幅器2と、その必要レベルに増幅され
た信号すをデジタル信号Cに変換するAD変換器3と、
そのAD変換出力すなわち原稿の読取データCに応じて
ピークホールドを行なってそのピークホールド信号fに
したがって増幅器2のゲイン調整を行なわせるピークホ
ールド回路4と、予め基準白色面を光走査することによ
って得られたシェーディング情報が書き込まれており、
読取データCにしたがって所定のシェーディング情報d
が読み出されるRAM5と、予めシェーディング補正デ
ータが格納されており。An amplifier 2 that amplifies the level of an output signal a read out in time series from a line image sensor 1 in which CCDs are arranged in a line in the main scanning direction, and converts the signal amplified to the required level into a digital signal C. An AD converter 3 that performs
A peak hold circuit 4 performs peak hold according to the AD conversion output, that is, original reading data C, and adjusts the gain of the amplifier 2 according to the peak hold signal f, and a shading information is written.
Predetermined shading information d according to read data C
The RAM 5 is read out and shading correction data is stored in advance.
読取データCとシェーディング情報dとの組合せに応じ
て所定のシェーディング補正データeが読み出されるR
OM6と、各部を所定のタイミングをもって制御する制
御部7とによって構成されている。Predetermined shading correction data e is read out according to the combination of read data C and shading information d.
It is composed of an OM 6 and a control section 7 that controls each section at predetermined timing.
このように構成されたものにあって、いま原稿の読取り
に先がけて例えば圧板における基準白色面を光走査する
と第2図中Aに示すような特性をもったシェーディング
情報が得られるのでそれをRAM5に書き込む、そして
副走査が進んで原稿の読取りが開始されるが、そのとき
の読取データCを先のシェーディング情報で補正すると
きにRAM5から信号dとして読み出して使用する。ま
たその際、ピークホールド回路4はシェーディング情報
をRAM5に書き込む動作に先だってそれ以前の基準白
色面を光走査したときのピークレベルを検出し、そのレ
ベルを保持する。そのときのピークレベルに応じた出力
信号fにより増幅器2のゲインがFlaI整され、シェ
ーディング中特に前記■の光学系のバラツキ分によるも
のを予め粗い精度で補正するべく、例えばピーク検出時
には第2図中B特性に示すようなレベルにあってもそれ
が増幅されたのちにはA特性に示すようなレベルになる
ようにゲイン調整される。それによりAD変換器3の入
力レベルが適正化され、変換精度が向上することになる
。なお、その光学系のバラツキ分によるものを含めて精
密なシェーディング補正は本発明による本来のシェーデ
ィング補正によって行なわれることになる。このように
してAD変換器3の入力レベルの適正化が行なわれると
、増幅器2のゲインはその状態を保持するように固定さ
れ、以後シェーディング情報の書込みおよび原稿の画情
報の読取りがその状態で行なわれる。次いで、原稿の読
取時にその読取データCとRAM5から読み出されたシ
ェーディング情報dとによってROM6がアクセスされ
、そのアドレスに応じて読取データCとシェーディング
情報dとの組合せに応じたシェーディング補正データe
が適宜読み出される6以上各部のシーケンスおよびタイ
ミング制御、副走査の制御などは制御部7から出される
信号群tにしたがって適宜なされることになる。なおピ
ークレベルの検出はAD変換出力のみならず、ラインイ
メージセンサ1の出力信号aまたは増幅器2の出力信号
すにおけるピークレベルを検出するようにしてもよい。With this configuration, if, for example, the reference white surface of the pressure plate is optically scanned prior to reading the original, shading information having characteristics as shown in A in FIG. 2 is obtained, and this information is stored in the RAM 5. Then, the sub-scanning progresses and reading of the document is started, but when the read data C at that time is corrected with the previous shading information, it is read out from the RAM 5 as a signal d and used. Further, at this time, the peak hold circuit 4 detects the peak level when the reference white surface was optically scanned before the operation of writing the shading information into the RAM 5, and holds that level. The gain of the amplifier 2 is adjusted to FlaI by the output signal f corresponding to the peak level at that time, and during shading, in order to correct in advance the variation due to the optical system described in (2) with rough accuracy, for example, when detecting the peak, as shown in Fig. 2 Even if it is at a level as shown in the medium B characteristic, after it is amplified, the gain is adjusted so that it becomes a level as shown in the A characteristic. As a result, the input level of the AD converter 3 is optimized, and conversion accuracy is improved. It should be noted that precise shading correction, including those due to variations in the optical system, is performed by the original shading correction according to the present invention. When the input level of the AD converter 3 is optimized in this way, the gain of the amplifier 2 is fixed to maintain that state, and from now on, writing shading information and reading image information of the original will be performed in that state. It is done. Next, when reading the original, the ROM 6 is accessed using the read data C and the shading information d read from the RAM 5, and shading correction data e is generated according to the combination of the read data C and the shading information d according to the address.
The sequence and timing control of the six or more parts from which the data are read out as appropriate, the control of sub-scanning, etc. are performed as appropriate in accordance with the signal group t output from the control unit 7. Note that the peak level may be detected not only in the AD conversion output but also in the output signal a of the line image sensor 1 or the output signal A of the amplifier 2.
本発明によるシェーディング方式の要点をシーケンス的
に列挙すると、以下のようになる6(1)イメージセン
サ出力を増幅する増幅器のゲインを初期値に設定したう
えで基準白色面を光走査し、そのとき得られるイメージ
センサ出力信号に応じたピーク値を検出する。The main points of the shading method according to the present invention can be listed in sequence as follows: 6 (1) After setting the gain of the amplifier that amplifies the image sensor output to the initial value, the reference white surface is optically scanned. A peak value corresponding to the obtained image sensor output signal is detected.
(2)少なくともその基準白色面の主走査を1回行なわ
せて、その得られたピーク値にしたがって増幅器のゲイ
ン調整を行なう。(2) Perform main scanning of the reference white surface at least once, and adjust the gain of the amplifier according to the obtained peak value.
(3)その後基準白色面を少なくとも1回以上主走査方
向に光走査してそのとき得られるシェーディング情報を
RAMに書き込む。(3) After that, the reference white surface is optically scanned at least once in the main scanning direction, and the shading information obtained at that time is written into the RAM.
(4)原稿読取時の各主走査ごとにそれと同期してRA
Mからシェーディング情報を読み出し、その読み出され
たシェーディング情報と原稿面の読取データとの組合せ
に応じてROMをアクセスしてシェーディング補正デー
タを得る。(4) RA is synchronized with each main scan when reading the original.
The shading information is read from M, and the ROM is accessed in accordance with the combination of the read shading information and the read data of the document surface to obtain shading correction data.
第3図は増幅器2およびピークホールド回路4の具体的
な構成例を示すもので、ここではデジタル論理構成によ
りピークを検出保持する方式をとるとともに、前述のよ
うに増幅器2のゲイン調整は粗い精度でよいのでAD変
換出力6ビツトのうちの上位4ビツトの読取データをピ
ークホールド回路4に与えるようにしている。FIG. 3 shows a specific configuration example of the amplifier 2 and the peak hold circuit 4. Here, a method is used to detect and hold the peak using a digital logic configuration, and as mentioned above, the gain adjustment of the amplifier 2 is performed with rough precision. Therefore, the read data of the upper 4 bits of the 6 bits of the AD conversion output is supplied to the peak hold circuit 4.
このように構成されたものにあって、まずコンパレータ
41は新規入力信号Cとそれまでラッチ43に保持して
いたピーク値Cpとを比較し、その結果にしたがってセ
レクタ42のS端子にセレクト信号を与える。セレクタ
42はそれに応じて新規入力信号Cとそれまでのピーク
ホールド値CPとの何れかをセレクトしてラッチ43に
送出する。このときのセレクト条件としては、c>cp
ならば信号Cをセレクトし、C≦cpならば信号cpを
セレクトすることになる。それによりラッチ43は、新
規入力信号Cがそれまでのピーク値cpよりも大きいと
きにはそれを更新保持していく。以上の動作を主走査ご
とに順次くり返して行なわせ、その主走査ごとに検出さ
れるピーク値がラッチ43に逐次更新されながら保持さ
れていく。In the device configured as described above, the comparator 41 first compares the new input signal C with the peak value Cp held in the latch 43 until then, and outputs a select signal to the S terminal of the selector 42 according to the result. give. In response, the selector 42 selects either the new input signal C or the previous peak hold value CP and sends it to the latch 43. The selection condition at this time is c>cp
If so, signal C is selected, and if C≦cp, signal cp is selected. Thereby, the latch 43 updates and holds the new input signal C when it is larger than the previous peak value cp. The above operations are sequentially repeated for each main scan, and the peak values detected for each main scan are successively updated and held in the latch 43.
次に主走査ごとに検出されたピーク値がラッチ44に転
送され、そのラッチ出力が増幅器2にゲインw14整信
号fとして与えられる。なお、各ラッチ43.44にお
けるクロックt1、t3およびクリア信号t2.t4は
制御部7から与えられることになる。またゲイン調整信
号fは増幅器2の入力抵抗切換スイッチ(アナログスイ
ッチ)SWt〜SW4の各スイッチング信号となり、そ
れら各スイッチSWI〜SW4のオン、オフ状態の組合
せにより演算増幅器21の入力抵抗の切換えを行なわせ
る。その際、ゲイン調整信号fは4ビツトなので16通
りに入力抵抗値を変化させることができ、したがって演
算増幅器21のゲインが16段階に調整されることにな
る。ここでは16段階のゲインとして、K/16.、に
/15.に/14、・・・K/3、K/2、K/lとし
て設定される。このときゲインはに/f (fは16
レベル)の関係となる。Next, the peak value detected for each main scan is transferred to the latch 44, and the latch output is given to the amplifier 2 as the gain w14 rectified signal f. Note that clocks t1, t3 and clear signals t2. t4 is given from the control section 7. Further, the gain adjustment signal f becomes each switching signal for the input resistance changeover switches (analog switches) SWt to SW4 of the amplifier 2, and the input resistance of the operational amplifier 21 is switched by the combination of on and off states of each of these switches SWI to SW4. let At this time, since the gain adjustment signal f is 4 bits, the input resistance value can be changed in 16 ways, and therefore the gain of the operational amplifier 21 is adjusted in 16 steps. Here, the 16-step gain is K/16. , to/15. /14, . . . K/3, K/2, K/l. At this time, the gain is /f (f is 16
level).
また第4図はAD変換器3の一構成例を示すもので、こ
こでは増幅器2の出力信号すを6ビツトのデジタル信号
Cに変換するようにしている。いまりファレンス電圧を
Vr+、Vr−としてアナログ、デジタルの性質を無視
して機能的に表現すると。FIG. 4 shows an example of the configuration of the AD converter 3, in which the output signal of the amplifier 2 is converted into a 6-bit digital signal C. Imari reference voltages are expressed functionally as Vr+ and Vr-, ignoring their analog and digital properties.
e= (b −(Vr ))/ ((Vr+)
(Vr−))メ
×64 (レベル)
となる。ただし、C≦Vr−のときc = l、C≧V
r+のときc=64 (またはオーバフロー信号発生)
である。e= (b − (Vr))/ ((Vr+)
(Vr-))me×64 (level). However, when C≦Vr-, c = l, C≧V
c=64 when r+ (or overflow signal generated)
It is.
また第4図で、アナログスイッチSW5は制御部7から
の制御信号t5にしたがってスイッチングされて、シェ
ーディング情報のRAM5への書込み期間中は制御信号
t5によりリファレンス電圧Vr−が■2となり、その
他の期間中はリファレンス電圧Vr十がGNDに接続さ
れるようになっている。それは後述するように、シェー
ディング情報書込時の精度を上げる目的で行なうもので
ある。Further, in FIG. 4, the analog switch SW5 is switched according to the control signal t5 from the control unit 7, and the reference voltage Vr- becomes 2 due to the control signal t5 during the writing period of the shading information to the RAM 5, and during other periods. Inside, a reference voltage Vr1 is connected to GND. This is done for the purpose of increasing the accuracy when writing shading information, as will be described later.
さらに第5図にRAM5およびROM6部分の具体的な
一構成例を示している。Further, FIG. 5 shows a specific configuration example of the RAM 5 and ROM 6 portions.
この構成にあって、まずシェーディング情報のRAM5
への書込時には基準白色面を光走査したときのラインイ
メージセンサ1の画素ごとの出力信号に応じたデータC
がRAM本体51のDin端子に入力される。その際、
画素単位による各データ入力ごとに制御部7から与えら
れるアドレス制御信号t6によりRAM本体51のアド
レッシングが行なわれる。同時にそれと同期して書込信
号t7がRAM本体51のW子端子に与えられ。In this configuration, first, the shading information RAM5
When writing data to C, data C corresponds to the output signal for each pixel of the line image sensor 1 when the reference white surface is optically scanned.
is input to the Din terminal of the RAM main body 51. that time,
Addressing of the RAM main body 51 is performed by an address control signal t6 given from the control section 7 for each data input in pixel units. At the same time, a write signal t7 is applied to the W terminal of the RAM main body 51 in synchronization with this.
それにより主走査方向における各画素単位によるシェー
ディング情報がRAM本体51に書き込まれることにな
る0次いで、原稿の読取時における主走査方向の画素単
位による各読取データCがROM6に与えられるととも
に、その画素クロックに同期してアドレス−制御信号t
6によりRAM本体51がアクセスされて先に書き込ま
れたシェーディング情報dが読み出されてラッチ52に
一時保持される。そのラッチ52は、それにクロックt
8が与えラレ、RAM本体51およびROM6にアクセ
スタイムの大きいものでも使用することができるように
必要に応じて設けられている。またこのラッチ52を設
ける場合には、読取データCとシェーディング情報dと
の同期をとるためにRAM本体51におけるアクセスの
タイミングを制御するようにしている。As a result, shading information for each pixel in the main scanning direction is written to the RAM main body 51.Next, each read data C for each pixel in the main scanning direction when reading the original is given to the ROM 6, and the pixel The address-control signal t is synchronized with the clock.
6, the RAM body 51 is accessed and the previously written shading information d is read out and temporarily held in the latch 52. The latch 52 has a clock t
8 is provided as necessary so that the RAM main body 51 and ROM 6 can be used even if the access time is long. Further, when the latch 52 is provided, the timing of access in the RAM main body 51 is controlled in order to synchronize the read data C and the shading information d.
次に、原稿の読取データCとRAM5がら読み出された
シェーディング情報dとで予めそれら各データの種々の
組合せに応じたシェーディング補正値が格納されたRO
M6がアドレッシングされ、それに応じてROM6から
所定のシェーディング補正信号eが読み出される。ここ
では各データC1dともに6ビツト構成がらなり、RO
M6のアドレスAO〜Allのながで、読取データCを
アドレスAO〜A5に対応させ、シェーディング情報d
をアドレスA6〜Allに対応させるようにしている。Next, the read data C of the original and the shading information d read out from the RAM 5 are used to create an RO in which shading correction values corresponding to various combinations of these data are stored in advance.
M6 is addressed, and a predetermined shading correction signal e is read out from the ROM 6 accordingly. Here, each data C1d consists of 6 bits, and RO
In the range of addresses AO to All of M6, read data C is made to correspond to addresses AO to A5, and shading information d is
is made to correspond to addresses A6 to All.
なおこの実施例では、2000個のccDを主走査方向
に配設させたラインイメージセンサ1を使用し、RAM
5に2KX13ビツトの容量をもったものを、またRO
M6に4に×6ビツトの容量をもったものをそれぞれ使
用している。In this embodiment, a line image sensor 1 in which 2000 CCDs are arranged in the main scanning direction is used, and the RAM
5 with a capacity of 2K x 13 bits, and RO
Each M6 with a capacity of 4 x 6 bits is used.
次にシェーディング情報dの精度について、第6図とと
もに以下説明する。Next, the accuracy of the shading information d will be explained below with reference to FIG.
第6図は主走査方向の各画素1〜Nに対する濃度L/
/<ルの特性を示している。Figure 6 shows the density L/ for each pixel 1 to N in the main scanning direction.
/< indicates the characteristics of
いま増幅器2のゲーrンが初期値に設定すなわち各スイ
ッチ5Wl−3W4が全てオフの状態になっているとき
にはその増幅器2のゲインかに/16で、その状態で基
準白色面を光走査したときの読取データをBとする。そ
の読取データBのピーク値をBp、その最小値をBmと
し、例えばBp=27、Bm=18が得られたとする。When the gain r of amplifier 2 is set to the initial value, that is, all switches 5Wl-3W4 are turned off, the gain of amplifier 2 is /16, and when the reference white surface is optically scanned in that state. Let B be the read data. Assume that the peak value of the read data B is Bp and the minimum value is Bm, and for example, Bp=27 and Bm=18 are obtained.
すなわち、この場合には読取データBが18〜17の1
0レベルの範囲にあることになる。第7図に、10進数
で表したレベルを6ビツ1−および4ビツトの各バイナ
リによるデジタル値で表現したときの対照表を示してい
る。第7図からBP”27を6ビツトのデジタル値で表
すとBp=011010となり、またそのときのゲイン
調整信号fはそのピーク値Bpの上位4ビツトでf=0
110(レベル7)となり、したがってそのときの増幅
器2のゲインはに/7に調整される。That is, in this case, the read data B is 1 of 18 to 17.
It will be in the 0 level range. FIG. 7 shows a comparison table when levels expressed in decimal numbers are expressed as digital values of 6-bit 1-bit and 4-bit binary. From FIG. 7, if BP"27 is expressed as a 6-bit digital value, Bp=011010, and the gain adjustment signal f at that time is f=0 with the upper 4 bits of the peak value Bp.
110 (level 7), and therefore the gain of amplifier 2 at that time is adjusted to /7.
次いでシェーディング情報書込のための光走査を基準白
色面に対して行なったとき、増幅rf!2の入力信号a
のレベルはゲイン調整のための光走査時と同じく第6図
中のB特性のようになる。厳密−には、基準白色面の光
反射率のムラや電気系のノイズなどのために多少の差異
が生ずることになる。Next, when optical scanning for writing shading information was performed on the reference white surface, the amplified rf! 2 input signal a
The level is as shown in the B characteristic in FIG. 6, as in the case of optical scanning for gain adjustment. Strictly speaking, some difference will occur due to unevenness in the light reflectance of the reference white surface, noise in the electrical system, etc.
しかして、そのときの基準白色面の読取データBに対し
てそれを増幅する増幅器2のゲインかに/7に設定され
ているため、そのときの増幅器2の出力信号すはBXK
/7となる。したがってBp=27に対する増幅器出力
Bp′は、
BP’ =BPXK/7=27に/7
となり、またBm=1.5に対する増幅出力Bm’は、
Bm’ ==nmXK/7=18に/7となる。Kの実
際の値としてはに=16程度に設定すればよい、それは
第3図の構成にあって、入力抵抗RO〜R4および帰還
抵抗Rfの各位を適宜選定することにより達成される。However, since the gain of amplifier 2 that amplifies the read data B of the reference white surface at that time is set to /7, the output signal of amplifier 2 at that time is BXK.
/7. Therefore, the amplifier output Bp' for Bp=27 is BP' =BPXK/7=27/7, and the amplified output Bm' for Bm=1.5 is Bm'==nmXK/7=18/7. Become. The actual value of K may be set to approximately 16. This can be achieved by appropriately selecting the input resistors RO to R4 and the feedback resistor Rf in the configuration shown in FIG.
またに=16程度に設定するのは、そのゲイン調整によ
り例えば第6図中のB特性がA特性のように補正(ある
いは正規化と考えてもよい)される場合に、Bp’が最
高のレベル64または64以下でそれに近いレベルにな
るように意図するものである0例えば前述のBp’、B
m’の各位では、
Bpl =27に/7Φ61.7
Bm’ ==18に/7−41.1
となる。Also, setting it to about 16 is because when the B characteristic in Figure 6 is corrected (or it can be considered as normalization) as the A characteristic by the gain adjustment, Bp' is the highest. 0 that is intended to be at level 64 or below 64 and close to it For example, the above-mentioned Bp', B
At each position of m', Bpl =27/7Φ61.7 Bm' ==18/7-41.1.
したがって、増幅器2のゲインが初期値での第6図中の
B特性で示す入力信号Bのピークホールド値Bpによっ
てそのゲイン調整をなすことにより、以後図中B特性で
示す入力信号に対する増幅出力はA特性のように補正さ
れることになる。Therefore, by adjusting the gain of the amplifier 2 by the peak hold value Bp of the input signal B shown by the B characteristic in FIG. 6 when the gain of the amplifier 2 is at its initial value, the amplified output for the input signal shown by the B characteristic in the figure will be It will be corrected like the A characteristic.
なお第6図の場合に限らず、例えばBp=40の場合に
は、Bp=100111、f=1001(レベル10)
となり、したがってこの場合にはBp’ =BpxK/
f=64となるとともに、増幅器2のゲインかに/f=
16/10に調整される。Note that this is not limited to the case of FIG. 6; for example, in the case of Bp=40, Bp=100111, f=1001 (level 10)
Therefore, in this case, Bp' = BpxK/
f=64, and the gain of amplifier 2 is /f=
Adjusted to 16/10.
このようにピークホールド値Bpに応じて増幅器2のゲ
インが調整され、その増幅出力Bp′は64またはそれ
以下で64に近いレベルに補正される。In this way, the gain of the amplifier 2 is adjusted according to the peak hold value Bp, and the amplified output Bp' is corrected to a level close to 64 at or below 64.
しかして、第6図に示すように、B特性をもった入力信
号がA特性のように補正されることにより、レベルの分
解能が向上することになる。すなわち、B特性の場合に
はB p −B m + 1 = 10レベル、A特性
の場合にはBp’ −Bm’ +1=22レベルとなり
、分解能が10レベルから22レベルに向上する。ただ
し、この場合における分解能はAD変換器3において6
ビツトすなわち64レベルにデジタル化したレベルで考
えている。As shown in FIG. 6, the input signal having the B characteristic is corrected to have the A characteristic, thereby improving the level resolution. That is, in the case of B characteristic, B p -B m + 1 = 10 levels, and in the case of A characteristic, Bp' - Bm' +1 = 22 levels, and the resolution is improved from 10 levels to 22 levels. However, the resolution in this case is 6 in the AD converter 3.
We are thinking at a digital level of bits, or 64 levels.
次に、シェーディング情報書込時における分解能の向上
について以下説明する。Next, improvement in resolution when writing shading information will be described below.
前述したようにAD変換器3におけるリファレンス電圧
Vr+、Vr−は、(Vr+)=:Vl、(Vr−)=
V2で設定される。Vlは第6図に示す関係でV2<B
m’ を満足する適当な値であり、ここでは光源の劣化
、光学系またはCCDのバラツキなどによるシェーディ
ングが規定の範囲内のときに第6図中のA特性における
Bm’のとり得る最小値より小さい値に選ばれており、
V2=V1/2の関係になっている。すなわち、第6図
におけるy軸の関係からいえば、V1=64レベル、V
2=32レベルとなる。As mentioned above, the reference voltages Vr+ and Vr- in the AD converter 3 are (Vr+)=:Vl, (Vr-)=
Set in V2. Vl is V2<B according to the relationship shown in Figure 6.
m' is an appropriate value that satisfies Bm', and here, when shading due to deterioration of the light source, variations in the optical system or CCD, etc. is within the specified range, it is determined from the minimum possible value of Bm' in characteristic A in Fig. 6. is chosen as a small value,
The relationship is V2=V1/2. That is, from the relationship of the y-axis in FIG. 6, V1=64 level, V
2=32 levels.
このVl、V2に対するAD変換器3の出力レベルを図
示すると第6図中に示すyl軸のようになる、すなおち
、y軸での32〜64間における32レベル分を1〜6
4のレベルで表現したことになる。ここで。If the output level of the AD converter 3 with respect to Vl and V2 is illustrated, it will be as shown in the yl axis shown in FIG.
It is expressed at level 4. here.
y 1 = 2 y −64(32< y≦64)yl
=1(y≦32)
yl=64またはオーバフロー(/>64)となる。y 1 = 2 y −64 (32< y≦64) yl
=1 (y≦32) yl=64 or overflow (/>64).
このように(Vr−)=V2=V l/2の関係にする
ことにより、y軸上での32レベル分がyt軸上では6
4レベルになり、このことは分解能が2倍に向上したこ
とを示している。別の観点からみれば、同じ6ビツトで
もバイナリ表現すればy軸上では100000〜111
111の32レベル、yt軸上ではoooooo〜11
1111の64レベルでA特性が表されることになり、
y軸上では6ビツトの中で5ビツト分しか分解能に寄与
しないのに対して、yt軸上では6ビツト分を全て用い
るでいることになる。By establishing the relationship (Vr-)=V2=Vl/2 in this way, 32 levels on the y-axis correspond to 6 levels on the yt-axis.
4 levels, which means that the resolution has doubled. From another perspective, if the same 6 bits are expressed in binary, it will be 100,000 to 111 on the y-axis.
32 levels of 111, ooooooo ~ 11 on the yt axis
A characteristic will be expressed at the 64th level of 1111,
On the y-axis, only 5 out of 6 bits contribute to the resolution, whereas on the yt-axis, all 6 bits are used.
いま例えば、第6図でBp’ (y=61.7)をy
1座標であられせば、
Bp’ (yl)=2X61.7−64=59.4と
なり、また
Bm’ (y 1)=2X41.1−64 =18.
2となり、したがって
Bp’ (y 1) Bm’ (y 1)+1
=P42となる。For example, in Figure 6, Bp' (y=61.7) is
If it is one coordinate, Bp' (yl) = 2X61.7-64 = 59.4, and Bm' (y 1) = 2X41.1-64 = 18.
2, so Bp' (y 1) Bm' (y 1)+1
=P42.
すなわち、第6図に示すB特性ではBp−8m+1=1
0レベルであったものが、A特性に補正されることによ
りBp’−Bm’+1与2ルベルに分解能が上がり、さ
らにyl軸によるAD変換により42レベルにまで分解
能が上がっている。That is, in the B characteristic shown in FIG. 6, Bp-8m+1=1
By correcting the 0 level to the A characteristic, the resolution is increased to Bp'-Bm'+1/2 levels, and further, the resolution is increased to 42 levels by AD conversion using the yl axis.
第6図に示すyl軸は、yl軸でのレベル1〜64に相
当する分解能を得るべく、すなわちリファレンス電圧V
r−をGNDにおとしたままでAD変換を行なせる際に
yl軸と同等の分解能を得るためにAD変換器3の分解
能を128レベルすなわち7ビツトを要することを示し
ている。The yl axis shown in FIG.
This shows that the resolution of the AD converter 3 needs to be 128 levels, that is, 7 bits, in order to obtain a resolution equivalent to that of the yl axis when performing AD conversion with r- set to GND.
さらに、仮にB特性をA特性に補正するような増幅器2
のゲイン調整を行なわず、B特性のままでシェーディン
グ情報の書込みを行なわせる際にyl軸と同等の分解能
を得るためには、yl軸の場合よりも多い例えば8ビツ
ト(256レベル)以上のレベルが必要となる。またそ
の際、ビット数を増した場合にILsB当りのSN比が
劣化するという問題も生ずる。しかして本発明では、前
述のようにAD変換器3のビット数を多くすることなく
高い分解能でシェーディング情報の取込みを行なわせる
ことができるようにしている。Furthermore, if an amplifier 2 that corrects the B characteristic to the A characteristic
In order to obtain the same resolution as the yl axis when writing shading information using the B characteristic without adjusting the gain of the Is required. In addition, when the number of bits is increased, a problem arises in that the SN ratio per ILsB deteriorates. According to the present invention, however, shading information can be taken in with high resolution without increasing the number of bits of the AD converter 3 as described above.
このように、シェーディング情報書込時にAD変換器3
におけるリファレンス電圧Vr−を制御することによっ
てその分解能を向上させることができるようになる。そ
の場合、(Vr−)=V2=Vl/2の関係はシェーデ
ィング情報書込時のみであり、原稿の読取時にはVr−
はGNDに接続されることになる。In this way, when writing shading information, the AD converter 3
By controlling the reference voltage Vr- at , the resolution can be improved. In that case, the relationship (Vr-) = V2 = Vl/2 is only when writing shading information, and when reading the original, Vr-
will be connected to GND.
次に、原稿の読取時にその読取データCとシェーディン
グ情報dとによりROM6がアクセスされて所定のシェ
ーディング補正データeが得られる過程について以下説
明する。Next, a process in which the ROM 6 is accessed using the read data C and shading information d when reading a document and predetermined shading correction data e is obtained will be described below.
第5図において、原稿の読取データCは6ビツトからな
っており、そのデータをDaとする。またシェーディン
グ情報dは6ビツトで第6図のyl軸に対応しており、
そのデータをDylとする。In FIG. 5, the original reading data C consists of 6 bits, and this data is designated as Da. Also, the shading information d is 6 bits and corresponds to the yl axis in Fig. 6,
Let this data be Dyl.
またそのデータDylに相当するy2軸上でのレベルを
DV2とする。さらにDc=(dc5、dc4、−、d
co)(dc5=MsB)、Dy 1=(dy5、dy
4、・・・、dye)(dy5=MSB)の各ビットと
、ROM6におけるアドレスAO−Allとの対応を下
記のようにする。Further, the level on the y2 axis corresponding to the data Dyl is assumed to be DV2. Furthermore, Dc=(dc5, dc4, -, d
co) (dc5=MsB), Dy 1=(dy5, dy
The correspondence between each bit of 4, . . . , dye) (dy5=MSB) and the address AO-All in the ROM 6 is as follows.
dco=AO d c 1 = A 1 dc5=A5 dyo=A7 dyl=A7 dy5=All この対応を以下アドレス(Dyl、Dc)と表現する。dco=AO d c 1 = A 1 dc5=A5 dyo=A7 dyl=A7 dy5=All This correspondence is hereinafter expressed as an address (Dyl, Dc).
またROM6に格納されているシェーディング補正デー
タをDaとする。Further, the shading correction data stored in the ROM 6 is assumed to be Da.
以上において、アドレス(Dy l、Dc)のROM6
におけるデータDeは、
De= (DcXI28/Dy2) (ランク)なる
計算式によって計算した結果がROM6に格納されてい
る。ここでデータDeは6ビツト構成とした。またアド
レスとして与えられるデータDCは6ビツトであるが、
上記計算に使用するDcとしては6ビツトである必要は
ない。さらにその計算式におけるr′)y2および12
8の数も何ビットで表現される八きかの制約はない。す
なわち、その計算式における各要素およびその計算結果
は高い精度、例えば8ビツト+8ビツト=16ビツトの
表現というように、必要な精度またはビット数で計算し
、その結果のなかから上位6ビツトをデータDeとして
ROM6に格納するようにしている。その際7ビツト目
以下の下位ビットにあっては、ある一定数以上では切り
上げ、未満は切り□1 捨てるようにしている
。In the above, ROM6 at address (Dy l, Dc)
The data De in is stored in the ROM 6 as a result of calculation using the formula: De=(DcXI28/Dy2) (rank). Here, the data De has a 6-bit configuration. Also, the data DC given as an address is 6 bits, but
Dc used in the above calculation does not need to be 6 bits. Furthermore, r′)y2 and 12 in the calculation formula
There is no restriction on how many bits the number 8 can be expressed in. In other words, each element in the calculation formula and its calculation result are calculated with the required precision or number of bits, such as 8 bits + 8 bits = 16 bits, and the upper 6 bits of the result are used as data. It is stored in the ROM 6 as De. At this time, for the lower bits below the 7th bit, numbers above a certain number are rounded up, and numbers below a certain number are rounded down and discarded.
例えば、第6図でBp′をy2軸で表現すると、y2=
27
により。For example, if Bp' is expressed on the y2 axis in Figure 6, then y2=
By 27.
Bp’ (y2)=2X61.7=123.4となる
。Bp' (y2)=2X61.7=123.4.
いまBp′になる主走査方向の位置をNpとし、原稿の
読取時にそのNpの位置での読取データが例えばDe=
38レベルであったとき、ROM6のアドレスとそのと
きの読出データDeを考えてみる。Let Np be the position in the main scanning direction that is now Bp', and the read data at the position Np when reading the original is, for example, De=
Consider the address of the ROM 6 and the read data De at that time when the level is 38.
まずROM6のアドレス(D71.Dc)としては、
Dy1=59.4 (レベル)中111010Dc=3
8 (レベル)=100101となり、したがってアド
レスtitoioto。First, the address (D71.Dc) of ROM6 is 111010Dc=3 in Dy1=59.4 (level)
8 (level)=100101, so the address titoioto.
101=(EC5)、Iとなる。ここで(EC5)Hは
16進表現である。101=(EC5), I. Here, (EC5)H is a hexadecimal expression.
すなわち、NPでDc=38のときはROM6における
アドレス(E C5)Hがアクセスされる。That is, when Dc=38 in NP, address (EC5)H in ROM6 is accessed.
そのアドレス(EC5)、に対応するROM6の内容D
eは、
De=DcXl 28/Dy2
であり、かつDc=38、DY2=123.4であるた
め、
De=38X128/123.4÷39(レベル)=l
OO110(バイナリ6ビツト)
となる。Contents D of ROM6 corresponding to that address (EC5)
Since e is De=DcXl 28/Dy2 and Dc=38 and DY2=123.4, De=38X128/123.4÷39(level)=l
It becomes OO110 (binary 6 bits).
逆にいえば、ROM6のアドレス(EC5)、4に予め
データ100110を書き込んでおけばよし)。In other words, data 100110 should be written in advance to address (EC5), 4 of ROM6).
このように本発明によるシェーディング補正方式によれ
ば、第6図の関係にあってB特性がA特性になるように
増幅器2のゲインを設定することにより、またyt軸の
導入によりシェーディング情報の分解能を有効に向上さ
せることができるようになり、さらにROM6に格納す
るデータとしてそれを予め計算により求めた精度の高い
ものとすることができるために、AD変換3の分解能(
ビット数)が少なくても高精度によるシェーディング補
正を行なわせることができるようになる。As described above, according to the shading correction method according to the present invention, the resolution of shading information can be improved by setting the gain of the amplifier 2 so that the B characteristic becomes the A characteristic in the relationship shown in FIG. 6, and by introducing the yt axis. The resolution of AD conversion 3 (
Even if the number of bits is small, shading correction can be performed with high accuracy.
また本発明にあっては、前述したシェーディング補正方
式の実施に際して任意の濃度特性をもったシェーディン
グ補正データDaを得ることができるようになる。Further, according to the present invention, it is possible to obtain shading correction data Da having arbitrary density characteristics when implementing the above-described shading correction method.
以下、それにつき説明する。This will be explained below.
第8図(a)、(b)−(c)は種々のl農産変換特性
(ガンマ特性)の例をそれぞれ示すもので、原稿の読取
られた入力濃度レベルに対する出力濃度レベルの対応を
示している。Figures 8(a), (b) to (c) respectively show examples of various agricultural conversion characteristics (gamma characteristics), and show the correspondence of the output density level to the input density level when the original is read. There is.
いま原稿の読取データDcの関数をF (DC)とし+
ROM6におけるアドレス(Dyl、Dc)の内容と
して。Now let the function of the read data Dc of the manuscript be F (DC) +
As the contents of address (Dyl, Dc) in ROM6.
De=F (Dc) X 128/Dy 2とすること
を考えてみる。Consider De=F (Dc) x 128/Dy 2.
ここでF (Dc)=Dcであれば、そのときのDeの
内容は前述したシェーディング補正時におけるROM6
のデータ内容と同じであり、その場合における濃度特性
は第8図(a)に示すように直線状になる。その際、F
(Da)=k 1・DCとすれば(klは定数)、同
図(a)の特性でklは直線の傾きを与えることになる
。また1例えばF (Dc)=k 2 ・Dc”とすれ
ば(k2は定数)、第8図(c)に示す2乗形の濃度特
性を得ることができるようになる。すなわち、F (D
c)なる関数に対して上式でDeを計算してその結果を
ROM6に格納するようにすれば任意の濃度特性をもっ
たシェーディング補正データDeが得られることになる
。Here, if F (Dc) = Dc, the contents of De at that time are the ROM6 at the time of shading correction described above.
The data content is the same as that of , and the density characteristic in that case becomes linear as shown in FIG. 8(a). At that time, F
If (Da)=k1·DC (kl is a constant), kl gives the slope of the straight line in the characteristic shown in FIG. For example, if F (Dc) = k 2 ・Dc'' (k2 is a constant), it becomes possible to obtain the squared concentration characteristic shown in FIG. 8(c). That is, F (D
If De is calculated using the above equation for the function c) and the result is stored in the ROM 6, shading correction data De having arbitrary density characteristics can be obtained.
いま、原稿のカラー画像の読取りを行なわせる場合につ
いて以下説明をする。Now, a case will be described below in which a color image of a document is read.
第9図はラインイメージセンサ1′における各CCDセ
ンサ部の配列を示しており、各センサ部は主走査方向に
R,G、Bの順に並んでいる。ここで、Rは赤色に、G
は緑色に、Bは青色にそれぞれ感度をもつセンサ部で、
このような各センサ部は例えばCCDの受光面に各色フ
ィルタをそれぞれ配することにより得られる。これらR
−G、Bの各センサ部の色フィルタを含む分光感度特性
は第10図に示すようになる。FIG. 9 shows the arrangement of each CCD sensor section in the line image sensor 1', and each sensor section is arranged in the order of R, G, and B in the main scanning direction. Here, R is red, G
is a sensor section that is sensitive to green and B is sensitive to blue, respectively.
Each of these sensor sections is obtained, for example, by disposing each color filter on the light-receiving surface of a CCD. These R
The spectral sensitivity characteristics including color filters of the -G and B sensor sections are shown in FIG.
□1 しかして原稿のカラー画像の読取り
をなすスキャナ側に各色の分光感度が異なる性質があり
、またその読み取られたデータにもとすいてカラー画像
の記録を行なわせるプリンタ側にあってもインクやトナ
ーなどに各色に特有の分光特性を有している。したがっ
て、記録時に色再現性を良くする観点からしてR,G、
Bに分解された各色のデータに対してそれぞれ異なるガ
ンマ補正をそれぞれ行なわせる必要がある。それは例え
ば第8図(a)における直線の傾きをR,G、Bごとに
異ならせることである。□1 However, the spectral sensitivity of each color is different on the scanner side, which reads the color image of the document, and even on the printer side, which records the color image based on the read data, the ink Each color has its own unique spectral characteristics. Therefore, from the viewpoint of improving color reproducibility during recording, R, G,
It is necessary to perform different gamma corrections on each color data separated into B. For example, the slope of the straight line in FIG. 8(a) is made different for each of R, G, and B.
第11図はR,G、B各色のデータごとに処理するため
の具体的な構成例を示すもので、Rデータ分用のROM
61.Gデータ分用のROM62、Bデータ分用のRO
M63および3進カウンタ8からなっている。また3進
カウンタ8は、制御部からのクロック[5をカウントし
、各ROM61〜63にそれぞれチップセレクト信号3
m、3m+1.3m+2(m=o、1,2.・・・)を
発生し、また制御部からのクリア信号tloによりリセ
ットされるようになっている。ここで、ROM61〜6
3およびDc、Dylは第5図におけるものに対応して
いる。Figure 11 shows a specific configuration example for processing each color data of R, G, and B.
61. ROM62 for G data, RO for B data
It consists of M63 and ternary counter 8. Further, the ternary counter 8 counts the clock [5] from the control section, and sends a chip select signal 3 to each ROM 61 to 63.
m, 3m+1.3m+2 (m=o, 1, 2, . . . ), and is reset by a clear signal tlo from the control section. Here, ROM61-6
3 and Dc, Dyl correspond to those in FIG.
このように構成されたものにあって、いまラインイメー
ジセンサ1′の主走査方向における各センサ部の配列が
第9図に示すような場合、3進カウンタ8から出される
チップセレクト信号3mに応じて原稿の読取データDC
およびシェーディング情報Dylの中からRデータ分の
みがROM61にそれぞれ読み込まれ、同じくチップセ
レクト信号3m+1に応じて原稿の読取データDCおよ
びシェーディング情報Dylの中がらGデータ分のみが
ROM62にそれぞれ読み込まれ、チップセレクト信号
3m+2に応じて原稿の読取データDcおよびシェーデ
ィング情報Dylの中からBデータ分のみがROM63
にそれぞれ読み込まれることになる。With this configuration, if the arrangement of each sensor section in the main scanning direction of the line image sensor 1' is as shown in FIG. Original reading data DC
From the shading information Dyl, only the R data is read into the ROM 61, and in response to the chip select signal 3m+1, only the G data from the original reading data DC and the shading information Dyl is read into the ROM 62, and the chip In response to the select signal 3m+2, only B data from the original reading data Dc and shading information Dyl is stored in the ROM 63.
will be loaded respectively.
しかして各ROM61〜63には、それぞれ特有のガン
マ補正特性を有する下記式にしたがう計算結果によるデ
ータを予め格納するようにしておけば、シェーディング
補正のみならず所定にガンマ補正された処理データDe
(R)、De (G)−De (B)がそれぞれ得
られることになる。Therefore, if the ROMs 61 to 63 are pre-stored with data based on the calculation results according to the formula below, each having its own unique gamma correction characteristics, not only the shading correction but also the predetermined gamma correction can be applied to the processed data De.
(R) and De (G)-De (B) are obtained, respectively.
De=F (Dc、)Xk/Dy 1 (kは定数)
なお、原稿のカラー画像を色分解して読み取る際、前述
のようにR,G、Bの順にセンサを配列させることなく
、その他に例えば主走査ラインごとに赤色フィルタ、緑
色フィルタ、青色フィルタをそれぞれ介した3回のスキ
ャンをなして色分解するような手段をとることも可能で
、そのような場合には第11図の3進カウンタ8の代わ
りに各色フィルタでのスキャンごとに各ROM61〜6
3を順次選択することができるような例えばデコーダな
どを設けるようにすればよい。De=F (Dc,)Xk/Dy 1 (k is a constant)
Note that when reading a color image of a document by separating the colors, instead of arranging the sensors in the order of R, G, and B as described above, for example, a red filter, a green filter, and a blue filter are installed for each main scanning line. It is also possible to take a method of performing color separation by performing three scans through the filter, and in such a case, instead of using the ternary counter 8 in FIG.
For example, a decoder or the like may be provided that can sequentially select 3.
肱釆
以上1本発明によるシェーディング補正方式にあっては
、簡単な手段により高速でのシェーディング補正を精度
良く行なわせることができるとともに、何ら別処理によ
ることなくガンマ補正をも同時に行なわせることができ
るという優れた利点を有している。In the shading correction method according to the present invention, it is possible to perform high-speed shading correction with high precision using simple means, and gamma correction can also be performed at the same time without any separate processing. It has this excellent advantage.
第1図は本発明によるシェーディング補正方式を具体的
に実施するための構成例を示すブロック図、第2図はラ
インイメージセンサによる原稿の読取データにおけるシ
ェーディング状Sを示す特性図、第3図は同実施例にお
ける増幅器およびピークホールド回路の具体的な構成例
を示す回路図。
第4図は同実施例におけるAD変換器の具体的な構成例
を示す回路図、第5図は同実施例におけるRAMおよび
ROMの具体的な構成例を示す回路図、第6図は同実施
例におけるAD変換出力の出力レベル状態を示す特性図
、第7図は10進法で表したレベルを6ビツトおよび4
ビツトの各バイナリコードを表したときの対照表を示す
表図、第8図(a)、(b)、(c)は種々の濃度変換
特性(ガンマ特性)の例をそれぞれ示す特性図、第9図
はラインイメージセンサにおける各センサ部の配列を示
す図、第10図はR,G、Bの各センぜ サ部
の色フィルタを含む分光感度特性を示す図、第11図は
R,G、B各色のデータごとにシェーディング補正およ
びガンマ補正を行なわせるための具体的な構成例を示す
ブロック図である。FIG. 1 is a block diagram showing a configuration example for concretely implementing the shading correction method according to the present invention, FIG. 2 is a characteristic diagram showing the shading pattern S in data read from a document by a line image sensor, and FIG. FIG. 3 is a circuit diagram showing a specific configuration example of an amplifier and a peak hold circuit in the same embodiment. FIG. 4 is a circuit diagram showing a specific configuration example of the AD converter in the same embodiment, FIG. 5 is a circuit diagram showing a specific configuration example of the RAM and ROM in the same embodiment, and FIG. 6 is a circuit diagram showing a specific configuration example of the AD converter in the same embodiment. A characteristic diagram showing the output level state of the AD conversion output in the example, Fig. 7 shows the level expressed in decimal notation in 6 bits and 4
Figures 8(a), 8(b), and 8(c) are characteristic diagrams showing examples of various density conversion characteristics (gamma characteristics), respectively. Figure 9 is a diagram showing the arrangement of each sensor part in a line image sensor, Figure 10 is a diagram showing the spectral sensitivity characteristics of each sensor part for R, G, and B, including color filters, and Figure 11 is a diagram showing the R, G, and B sensor parts. , B is a block diagram showing a specific configuration example for performing shading correction and gamma correction for each color data.
Claims (1)
走査したときのイメージセンサ出力信号に応じたピーク
レベルによりイメージセンサ出力信号を増幅する増幅器
のゲイン調整を行なわせる手段と、その増幅器のゲイン
調整がなされた状態で基準面を光走査したときのAD変
換器の出力信号をシェーディング情報として第1のメモ
リに書き込ませる手段と、原稿面を光走査したときのA
D変換器の出力信号と第1のメモリから読み出されたシ
ェーディング情報とにより予めシェーディング補正デー
タが格納された第2のメモリをアクセスして所定のシェ
ーディング補正データを得る手段とをとるようにしたシ
ェーディング補正方式。 2、AD変換器における上下2つの基準電圧のうちの何
れか一方に近い値となるように増幅器のゲイン調整をな
すようにしたことを特徴とする前記第1項の記載による
シェーディング補正方式。[Claims] 1. Means for adjusting the gain of an amplifier for amplifying the image sensor output signal according to a peak level corresponding to the image sensor output signal when a reference surface is optically scanned prior to reading a document by a scanner; , means for writing the output signal of the AD converter when the reference surface is optically scanned with the gain of the amplifier being adjusted into the first memory as shading information, and the A when the document surface is optically scanned.
The second memory in which shading correction data is stored in advance is accessed using the output signal of the D converter and the shading information read from the first memory to obtain predetermined shading correction data. Shading correction method. 2. The shading correction method according to item 1 above, characterized in that the gain of the amplifier is adjusted so as to have a value close to either one of the upper and lower reference voltages in the AD converter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59194476A JPS6172474A (en) | 1984-09-17 | 1984-09-17 | Shading correction system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59194476A JPS6172474A (en) | 1984-09-17 | 1984-09-17 | Shading correction system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6172474A true JPS6172474A (en) | 1986-04-14 |
Family
ID=16325176
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59194476A Pending JPS6172474A (en) | 1984-09-17 | 1984-09-17 | Shading correction system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6172474A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0292267U (en) * | 1989-01-10 | 1990-07-23 | ||
JPH03106178A (en) * | 1989-09-20 | 1991-05-02 | Canon Inc | Picture reader |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58106958A (en) * | 1981-12-18 | 1983-06-25 | Ricoh Co Ltd | Picture reader |
-
1984
- 1984-09-17 JP JP59194476A patent/JPS6172474A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58106958A (en) * | 1981-12-18 | 1983-06-25 | Ricoh Co Ltd | Picture reader |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0292267U (en) * | 1989-01-10 | 1990-07-23 | ||
JPH03106178A (en) * | 1989-09-20 | 1991-05-02 | Canon Inc | Picture reader |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4402015A (en) | Picture signal pre-processing method for a picture reproducing machine | |
US5038225A (en) | Image reading apparatus with black-level and/or white level correction | |
US4589034A (en) | Image processing apparatus | |
EP0310021B1 (en) | Gradation converting circuit employing lookup table | |
US5175621A (en) | Gamma correction circuit and method thereof | |
GB2113945A (en) | Picture digital processing | |
JPS6153868A (en) | Calibration in picture scan signal processing | |
US4499547A (en) | Output compensating system | |
US4570186A (en) | Binary transformation method | |
US4764751A (en) | Method of nonlinear A/D conversion | |
EP0687101B1 (en) | Image signal correcting circuit for use in image data processing apparatus | |
US5329111A (en) | Image reader with adjustable contrast range | |
US5191445A (en) | Image reader | |
EP0449013B1 (en) | Image reader using CCD line sensors | |
JPS6172474A (en) | Shading correction system | |
JPS6172475A (en) | Shading correction system | |
US5650784A (en) | Digital AGC circuit for image processing | |
US5426596A (en) | Color signal correction circuit using a second-order correcting formula | |
JPS6172472A (en) | Shading correction system | |
JPS6172473A (en) | Shading correction system | |
US4395752A (en) | Digital control process with inverse function table memory | |
JP2535521B2 (en) | Image data processing method | |
JPS6173479A (en) | Shading compensating method | |
JP2650969B2 (en) | Digital television camera device | |
EP0561287B1 (en) | Density processing method |