JP3751422B2 - Image reading device - Google Patents

Image reading device Download PDF

Info

Publication number
JP3751422B2
JP3751422B2 JP26359497A JP26359497A JP3751422B2 JP 3751422 B2 JP3751422 B2 JP 3751422B2 JP 26359497 A JP26359497 A JP 26359497A JP 26359497 A JP26359497 A JP 26359497A JP 3751422 B2 JP3751422 B2 JP 3751422B2
Authority
JP
Japan
Prior art keywords
peak value
value
data
shading correction
main scanning
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.)
Expired - Fee Related
Application number
JP26359497A
Other languages
Japanese (ja)
Other versions
JPH11103390A (en
Inventor
淑人 坪井
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 JP26359497A priority Critical patent/JP3751422B2/en
Publication of JPH11103390A publication Critical patent/JPH11103390A/en
Application granted granted Critical
Publication of JP3751422B2 publication Critical patent/JP3751422B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、原稿画像をデジタル的に読み取るイメージスキャナ、デジタル複写機等の画像読取装置に関する。
【0002】
【従来の技術】
一般に、この種の画像読取装置では、光源から原稿に光を照射し、その反射光を1次元CCD等の光電変換素子により光電変換してアナログ信号を生成し、このアナログ信号を増幅器により所定の利得で増幅した後、A/D変換器によりデジタル信号に変換して原稿画像の読取りを行なうようにしている。ここで、光源の光量分布や光学系のばらつきや、CCDの画素間の感度のばらつきを補正する目的で、シェーディング補正を行なうようにしている。このシェーディング補正は、原稿画像の読取りに先立って基準白板の読取りを行なうことにより、各画素毎のシェーディング補正データを取得してメモリに格納しておき、実際の原稿画像の読取りにより得られる画素毎の読取りデータと対応するシェーディング補正データとを演算する処理として行なわれる。
【0003】
例えば、8ビットの読取りデータを取扱う場合を考える。この場合、白が255/255、黒が0/255となる。基準白板は主走査ラインの全長に渡って一定の濃度(白)で均一であるという前提の下に読み取られるものであり、読み取った値は本来全ての画素について255でなければならないが、実際には、前述した如く各種のばらつきに起因して、或る画素では220であったり、或る画素では240であったりする。そこで、前提として全ての画素の読取りデータが255になるべきことから
K1=255/220、K2=255/240
といった係数K1,K2をシェーディング補正データとして格納しおき、対応する画素の読取りデータに乗ずることにより、ばらつきを補正し得るというものである。
【0004】
ところで、この種の画像読取装置では、原稿の地肌濃度を除去する処理が必要とされている。このような原稿の地肌濃度を除去するに当たっては、アナログ、デジタルを問わず、原稿画像の読取りデータ中のピーク値を地肌濃度と考え、A/D変換器のリファレンス電圧をピーク値と同等となるように調整するか、或いは、CCDから出力される信号を増幅してリファレンス電圧と同等となるように調整するか、又は、データの振幅を制限する、等の処理、制御により、見掛け上、原稿の地肌濃度を白レベルとするような操作が行なわれている。ここに、前述したシェーディング補正を伴う場合には、地肌除去処理とが併用される。即ち、或る原稿画像を読み取ったときの主走査ラインのピーク値(A/D変換後のデジタル値)をP1とし、このP1を地肌濃度と考えた場合、
T1=255/P1
となるT1を前述したシェーディング補正データK1,K2にフィードバックして乗算することにより、修正された新たなシェーディング補正データとして用いるものである。これにより、シェーディング補正処理及び地肌濃度除去処理が同時に行なわれる。
【0005】
【発明が解決しようとする課題】
ところが、このような従来例によると、デジタル変換されたピーク値を直接的にシェーディング補正データにフィードバックさせているので、そのピーク値自身にノイズ成分が含まれていた場合には、十分に地肌濃度が除去されない可能性がある。即ち、原稿画像のピークではなく、何らかの原因で突発的に生じたノイズ成分のピークをサンプリングしてしまったような場合である。また、たまたま原稿に黒ベタ情報が主走査ライン全域に渡って存在するような地肌濃度のピーク値の急激な変化があった場合には、このようなピーク値に基づき修正を加えた処理によると、得られる読取りデータは非常に濃度変化の激しいものとなってしまい、読取品質が著しく低下してしまう。
【0006】
そこで、本発明は、デジタル変換後のピーク値におけるノイズ成分による影響を除去しつつ原稿自体の急激なピーク値変化の影響を受けることなく、適正に原稿の地肌濃度を滑らかに除去した原稿画像の読取りを行なえる画像読取装置を提供することを目的とする。
【0007】
また、本発明は、読取り画像データのダイナミックレンジを変化させないことで、本来の画像の読取りに支障を来すことなく、原稿の地肌濃度のみを除去した原稿画像の読取りを行なえる画像読取装置を提供することを目的とする。
【0008】
【課題を解決するための手段】
請求項1記載の発明は、光源から原稿に光を照射し、その反射光を光電変換してアナログ信号を生成し、このアナログ信号を増幅器により増幅した後、A/D変換器によりデジタル信号に変換して原稿画像の読取りを行なうとともに、原稿の読取りに先立つ基準白板の読取りにより得られメモリに記憶されたシェーディング補正データを用いて原稿画像の読取りデータを補正する画像読取装置において、前記原稿の主走査ライン毎の読取りデータ中のピーク値を検出するピーク値検出手段と、検出された先行する主走査ラインのピーク値に基づく所定値より大きい読み取りデータを白レベルデータに変換し、前記所定値以下の読み取りデータを、前記シェーディング補正データを用いて補正する白変換手段と、を備える。
【0009】
従って、デジタル変換後のピーク値をシェーディング補正データの修正用にフィードバックさせることなく、先行する主走査ラインのピーク値から所定の比率範囲内の読取りデータを強制的に白レベルに変換するので、地肌周辺の濃度データのみを除去することができ、本来の読取りデータを処理するためのダイナミックレンジに変更を来さないので、読取りデータを本来の濃度値として読み取ることができ、画像データとしての再現性が向上する。
【0010】
請求項2記載の発明は、請求項1記載の発明において、前記所定値は、先行する主走査ラインのピーク値に所定の係数を乗じた値であることを特徴とする。
【0011】
所定値は先行する主走査ラインのピーク値に係数を乗じたものであるので、当該原稿の濃度に適切な所定値を得ることができる。
【0015】
【発明の実施の形態】
本発明の第一の実施の形態を図1に基づいて説明する。まず、光源(図示せず)により露光された原稿や基準白板からの反射光を複数のミラーや結像レンズ等を介して受光する1次元アレイ状のCCD1が設けられている。このCCD1により光電変換されたアナログ信号は、画像読取部2に入力されてデジタル変換等の処理を受ける。ここに、この画像読取部2中には周知のようにサンプルホールド回路3、所定の利得を持つ増幅器4、A/D変換器5、シェーディング補正回路6が順に設けられている。これにより、CCD1からのアナログ信号は、サンプルホールド回路3に入力されてサンプルホールドされた後、増幅器4により所定の利得で増幅される。増幅されたアナログ信号は、CPU7によりD/A変換器8を介して制御されている基準電圧発生部9から出力されるリファレンス電圧に基づきA/D変換器5によりデジタル信号に変換される。このデジタル信号の形で画像処理部10に出力される。この画像処理部10に出力される前にシェーディング補正回路6によって必要なシェーディング補正処理を受ける。即ち、原稿の読取りに先立つ基準白板の読取りにより得られてデジタル変換された各画素毎のシェーディング補正データはメモリ11に予め記憶されており、シェーディング補正回路6は主走査ライン毎にこのシェーディング補正データを用いて周知のようにシェーディング補正を行なう。なお、A/D変換器5からシェーディング補正回路6側への出力とメモリ11側への出力との切換えは周知の週報により適宜行なわれる。
【0016】
このような基本的な周知構成の下、本実施の形態では、原稿の主走査ライン毎のデジタル変換された読取りデータ中のピーク値を検出するピーク値検出回路(ピーク値検出手段)12と、このピーク値検出回路12により検出された主走査ライン毎のピーク値を記憶するメモリ(ピーク値記憶手段)13と、このメモリ13に記憶されたピーク値について所定の演算処理を行なうピーク値演算回路(演算手段)14とが設けられており、このピーク値演算回路14の出力がシェーディング補正データを格納したメモリ11にフィードバック接続されることによりフィードバック処理手段15が構成されている。ここに、ピーク値演算回路14はメモリ11に格納された複数のピーク値に関して副走査方向に重加算平均処理することでピーク値の重加算平均値を算出する処理を行なうもので、ハードウェアにて容易に構成し得る。フィードバック処理手段15では算出されたピーク値の重加算平均値をメモリ11中のシェーディング補正データにフィードバックすることで、シェーディング補正データを修正する処理を行なう。
【0017】
このような構成において、基本的には、原稿の地肌濃度をピーク値と見做して、その値を白レベル(最大階調であって、8ビットデータの場合であれば、255)に変換することで地肌濃度を除去するものである。ここに、地肌濃度の除去処理について説明する。原稿から読取られた主走査ライン毎のピーク値(デジタル値)について、nライン目のピーク値をPK(n)とすると、シェーディング補正データにフィードバックすべき補正ピーク値(ピーク値の重加算平均値)PKz(n)は、
PKz(n+1)=(τ*PK(n+1)+PK(n))÷(τ+1)
として表すことができる。ここで、τは重加算平均における重み付けのための定数である。
【0018】
この式のPKz(n+1)を前述したT1=255/P1中のP1に代入して
T1=255/PKz(n+1)
となるT1の値をフィードバック処理手段15によってシェーディング補正データに乗ずることにより、シェーディング補正データの修正に伴う地肌濃度の除去が可能となる。ここに、重み付け定数τの値が大きい程、nライン目で読み取ったピーク値のデータの影響は小さくなる。従って、重み付け定数τ=0であれば、ピーク値を直接的にフィードバックする従来の地肌濃度の除去処理と等価的となるが、重み付け定数τ≧1であれば、重加算平均処理を伴うことにより、ピーク値に影響する突発的なノイズや原稿画像自体の急激な変化があっても、その影響を受けない、或いは、軽減し得る滑らかな地肌濃度の除去が可能となる。
【0019】
本発明の第二の実施の形態を図2に基づいて説明する。前記実施の形態で示した部分と同一部分は同一符号を用いて示し、説明も省略する。本実施の形態でも、前記実施の形態の場合と同様にピーク値検出回路12及びメモリ13が設けられている他、ピーク値演算回路16が設けられ、このピーク値演算回路16の出力がシェーディング補正データを格納したメモリ11にフィードバック接続されることによりフィードバック処理手段17が構成されている。本実施の形態におけるピーク値演算回路16は、メモリ11に格納された複数のピーク値について副走査方向にピーク値間の差を算出するとともにその差に適正なパラメータを乗算した値をピーク値に加算する処理を行なうもので、ハードウェアにて容易に構成し得る。フィードバック処理手段17はピーク値演算回路16により加算して得られた値をメモリ11中のシェーディング補正データにフィードバックすることで、シェーディング補正データを修正する処理を行なう。
【0020】
このような構成において、本実施の形態の場合も基本的には、原稿の地肌濃度をピーク値と見做して、その値を白レベルに変換することで地肌濃度を除去するものである。ここに、地肌濃度の除去処理について説明する。まず、原稿から読取られた主走査ライン毎のピーク値(デジタル値)について、nライン目のピーク値をPk(n)、シェーディング補正データにフィードバックすべき補正ピーク値をPkz(n)、追従係数(パラメータ値)をWとすると、
Pkz(n+1)=(Pk(n)−Pk(nー1))×W+Pk(n)
但し、Pkz(0,1)=Pk(0)
によりPkzを求める。
【0021】
ここで、追従係数(パラメータ値)Wの設定値を可変とすることで、主走査ライン毎のピーク値が上昇する側に変化した場合(差が正となる場合)と減少する側に変化した場合(差が負となる場合)とで、原稿の地肌濃度の変化に対する追従度を変えることができる。
【0022】
例えば、追従係数(パラメータ値)Wの設定範囲として、
▲1▼ (Pk(n)−Pk(nー1))>0(正)の場合
W;1/2,1/3,1/4,1/5,…,1/31中の何れかによりパラメータを設定
▲2▼ (Pk(n)−Pk(nー1))<0(負)の場合
W;1/32,1/64,1/96,1/128,…,1/265中の何れかによりパラメータを設定
のように白方向へのピーク値の追従性と黒方向へのピーク値の追従性とを独立して設定することで、原稿の地肌濃度が明るい方向には比較的早く、暗くなる方向にはゆっくりと追従させることができる。結果として、原稿に応じて木目細かい地肌濃度の除去が可能となる。
【0023】
本発明の第三の実施の形態を図3及び図4に基づいて説明する。前述した第一,二の実施の形態では、原稿の地肌濃度をピーク値と見做して、その値を白レベルに変換することで地肌濃度を除去することを基本としており、原稿地肌以外の部分の画像情報、例えば、本来の文字情報やグレイスケールの情報は、ダイナミックレンジが変わることによって、本来の値でなくなってしまう。通常は、問題とされない場合が多いが、非常に暗い(原稿濃度が大きい)原稿の場合には、本来であれば、30/255なる値の読取りデータであっても、ダイナミックレンジが半分になれば、見掛け上は、60/255なる値の読取りデータに変換されてしまい、真のデータとはいい難くなる。図4(a)では、例えば地肌部=ピーク値が240/255なる主走査ライン上で読取られた任意の或る読取りデータが100/255であった場合に、ピーク値240/255が白レベル(255/255)に変換されることに伴い、ダイナミックレンジが変化し、任意の或る読取りデータが125/255なる読取りデータに変換される様子を模式的に示している。
【0024】
本実施の形態では、このようなダイナミックレンジの変更を伴わず、地肌部濃度周辺のデータのみを白データとして除去し得るように構成されている。このため、ピーク値検出回路12及びメモリ13が設けられている他、A/D変換器5によりデジタル信号に変換された読取りデータが先行する主走査ラインのピーク値に対して予め設定された比率範囲内の値であるか否かを比較する比較器18が設けられている。ここに、先行する主走査ラインのピーク値は、本実施の形態では、前ラインのピーク値とするが、前述した第一,二の実施の形態のように当該主走査ラインのピーク値も考慮して補正されたピーク値PKz(n)やPkz(n)(即ち、ピーク値演算回路14又は16の出力)であってもよい。この比較器18の出力側にはシェーディング補正回路6と白レベル変換回路19とが並列的に接続されている。読取りデータが先行する主走査ラインのピーク値に対して比率範囲内の値よりも小さいという比較結果はシェーディング補正回路6側に出力され、通常通りのシェーディング補正処理を受ける。読取りデータが先行する主走査ラインのピーク値に対して比率範囲内の値よりも大きいという比較結果は白レベル変換回路19側に出力され、強制的に白レベルデータ(255/255)に変換する処理を受ける。これらのシェーディング補正回路6と白レベル変換回路19との出力側には両者の出力を合成して時系列的なデータとして画像処理部10に出力するマルチプレクス部20が設けられている。
【0025】
例えば、ピーク値に対する比率範囲を規定する重み係数(比率)をRとした場合、この重み係数Rは0.8の如く設定される。これにより、例えば図4(b)に示すように先行するピーク値が255/255(白レベル)であった場合、次の主走査ラインの読取りデータに関しては当該主走査ラインにおけるピーク値(240/255)だけでなく、ピーク値*0.8以上の読取りデータが全て白レベル変換回路19によって一律に白レベル(255/255)に変換されて出力される。つまり、ダイナミックレンジを変化させることなく、地肌濃度を除去することができ、本来の画像情報の読取り値を適正値として読取ることができ、後で画像データとして再現する場合の再現性のよいものとなる。
【0026】
なお、これらの実施の形態では、基本的な構成に関して、CCD1として1チャンネル型のものを用いたので、画像読取部2のサンプルホールド部3等を1系統として構成したが、偶数画素、奇数画素別に出力する2チャンネル型のCCDを用いた場合であれば、サンプルホールド部等を2系統に分けて設け、マルチプレクサ部で合成して時系列的に1系統のシリアル信号とするようにしてもよい。
【0027】
【発明の効果】
請求項1記載の発明によれば、先行する主走査ラインのピーク値に基づき所定値より大きい読み取りデータを白レベルデータに変換し、所定値以下の読み取りデータを、シェーディング補正データを用いて補正することしたので、先行する主走査ラインのピーク値から所定の比率範囲内の読取りデータを強制的に白レベルに変換し、地肌周辺の濃度データのみを除去することができ、本来の読取りデータを処理するためのダイナミックレンジに変更を来さないので、読取りデータを本来の濃度値として読み取ることができ、画像データとしての再現性が向上する。
【0028】
請求項2記載の発明によれば、当該原稿の濃度に適切な所定値を得ることができる。
【0029】
請求項3記載の発明によれば、請求項2記載の画像読取装置において、演算手段が差に乗算するパラメータは、ピーク値間の差の正負に応じて異なる値が設定されているので、原稿濃度が明るい方向には比較的早く、原稿濃度が暗くなる方向にはゆっくりと追従させることができ、結果的に、原稿濃度の影響を受けにくい状態で地肌濃度を木目細かく除去することができる。
【0030】
請求項4記載の発明によれば、デジタル変換後のピーク値をシェーディング補正データの修正用にフィードバックさせることなく、先行する主走査ラインのピーク値から所定の比率範囲内の読取りデータを強制的に白レベルに変換するようにしたので、地肌濃度周辺の濃度データのみを除去することができ、本来の読取りデータを処理するためのダイナミックレンジに変更を来さないので、読取りデータを本来の濃度値として読み取ることができ、画像データとしての再現性を向上させることができる。
【図面の簡単な説明】
【図1】本発明の第一の実施の形態を示すブロック図である。
【図2】本発明の第二の実施の形態を示すブロック図である。
【図3】本発明の第三の実施の形態を示すブロック図である。
【図4】白レベル、ピーク値等を説明するための模式図である。
【符号の説明】
4 増幅器
5 A/D変換器
11 メモリ
12 ピー検出手段
13 ピーク値記憶手段
14 演算手段
15 フィードバック処理手段
16 演算手段
17 フィードバック処理手段
19 白変換手段
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image reading apparatus such as an image scanner or a digital copying machine that digitally reads an original image.
[0002]
[Prior art]
In general, in this type of image reading apparatus, a document is irradiated with light from a light source, the reflected light is photoelectrically converted by a photoelectric conversion element such as a one-dimensional CCD, and an analog signal is generated. After being amplified by the gain, it is converted into a digital signal by an A / D converter so as to read an original image. Here, shading correction is performed for the purpose of correcting the light amount distribution of the light source, the variation of the optical system, and the variation of the sensitivity between the pixels of the CCD. This shading correction is performed by reading the reference white plate prior to reading the original image, thereby obtaining shading correction data for each pixel and storing it in the memory, and for each pixel obtained by reading the actual original image. This is performed as a process for calculating the read data and the corresponding shading correction data.
[0003]
For example, consider the case of handling 8-bit read data. In this case, white is 255/255 and black is 0/255. The reference white plate is read on the premise that it is uniform at a constant density (white) over the entire length of the main scanning line, and the read value should be 255 for all the pixels. As described above, due to various variations, it may be 220 for a certain pixel or 240 for a certain pixel. Therefore, since the read data of all the pixels should be 255 as a premise, K1 = 255/220, K2 = 255/240
These coefficients K1 and K2 are stored as shading correction data, and the variation can be corrected by multiplying the corresponding pixel read data.
[0004]
By the way, this type of image reading apparatus requires processing for removing the background density of the original. In removing the background density of such an original, regardless of whether it is analog or digital, the peak value in the read data of the original image is considered as the background density, and the reference voltage of the A / D converter is equal to the peak value. Or by adjusting the signal output from the CCD and adjusting it to be equal to the reference voltage, or limiting the amplitude of data, etc. The operation is performed to set the background density of the white to the white level. Here, in the case where the above-described shading correction is involved, the background removal processing is used together. That is, when the peak value (digital value after A / D conversion) of the main scanning line when a certain document image is read is P1, and this P1 is considered as the background density,
T1 = 255 / P1
Is fed back to the above-described shading correction data K1 and K2 and multiplied to be used as new corrected shading correction data. As a result, the shading correction process and the background density removal process are performed simultaneously.
[0005]
[Problems to be solved by the invention]
However, according to such a conventional example, since the digitally converted peak value is directly fed back to the shading correction data, if the noise value is included in the peak value itself, the background density is sufficiently high. May not be removed. That is, it is a case where the peak of the noise component suddenly generated for some reason is sampled instead of the peak of the original image. In addition, when there is a sudden change in the peak value of the background density such that the black solid information happens to exist over the entire main scanning line in the document, according to the processing with correction based on such peak value, Thus, the obtained read data has a drastic change in density, and the read quality is remarkably deteriorated.
[0006]
Therefore, the present invention eliminates the influence of the noise component in the peak value after digital conversion, and is not affected by a sudden change in the peak value of the original itself, and properly removes the background density of the original smoothly. An object is to provide an image reading apparatus capable of reading.
[0007]
In addition, the present invention provides an image reading apparatus capable of reading a document image from which only the background density of the document has been removed without affecting the reading of the original image by not changing the dynamic range of the read image data. The purpose is to provide.
[0008]
[Means for Solving the Problems]
According to the first aspect of the present invention, the original is irradiated with light from a light source, the reflected light is photoelectrically converted to generate an analog signal, the analog signal is amplified by an amplifier, and then converted into a digital signal by an A / D converter. In the image reading apparatus for converting the original image by converting the original image and reading the original image using the shading correction data obtained by reading the reference white plate prior to reading the original and stored in the memory. Peak value detecting means for detecting a peak value in read data for each main scanning line, and converting read data larger than a predetermined value based on the detected peak value of the preceding main scanning line into white level data, the predetermined value White conversion means for correcting the following read data using the shading correction data .
[0009]
Therefore, the read data within a predetermined ratio range is forcibly converted to a white level from the peak value of the preceding main scanning line without feeding back the peak value after digital conversion for correction of shading correction data. Only the surrounding density data can be removed, and the dynamic range for processing the original read data is not changed, so the read data can be read as the original density value, and reproducibility as image data Will improve.
[0010]
According to a second aspect of the invention, in the first aspect of the invention, the predetermined value is a value obtained by multiplying a peak value of a preceding main scanning line by a predetermined coefficient.
[0011]
Since the predetermined value is obtained by multiplying the peak value of the preceding main scanning line by a coefficient, a predetermined value appropriate for the density of the document can be obtained.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
A first embodiment of the present invention will be described with reference to FIG. First, a one-dimensional array CCD 1 is provided that receives reflected light from a document or a reference white plate exposed by a light source (not shown) through a plurality of mirrors, imaging lenses, and the like. The analog signal photoelectrically converted by the CCD 1 is input to the image reading unit 2 and subjected to processing such as digital conversion. In this image reading section 2, a sample hold circuit 3, an amplifier 4 having a predetermined gain, an A / D converter 5, and a shading correction circuit 6 are provided in this order as is well known. Thus, the analog signal from the CCD 1 is input to the sample hold circuit 3 and sampled and held, and then amplified by the amplifier 4 with a predetermined gain. The amplified analog signal is converted into a digital signal by the A / D converter 5 based on the reference voltage output from the reference voltage generator 9 controlled by the CPU 7 via the D / A converter 8. This digital signal is output to the image processing unit 10. A necessary shading correction process is performed by the shading correction circuit 6 before being output to the image processing unit 10. That is, shading correction data for each pixel obtained by reading a reference white plate prior to reading a document and digitally converted is stored in advance in the memory 11, and the shading correction circuit 6 performs this shading correction data for each main scanning line. Is used to perform shading correction as is well known. Note that switching between the output from the A / D converter 5 to the shading correction circuit 6 side and the output to the memory 11 side is appropriately performed by a known weekly report.
[0016]
Under this basic well-known configuration, in the present embodiment, a peak value detection circuit (peak value detection means) 12 for detecting a peak value in digitally converted read data for each main scanning line of the document, A memory (peak value storage means) 13 for storing the peak value for each main scanning line detected by the peak value detection circuit 12, and a peak value calculation circuit for performing predetermined calculation processing on the peak value stored in the memory 13 (Calculating means) 14 is provided, and the feedback processing means 15 is configured by feedback connection of the output of the peak value calculating circuit 14 to the memory 11 storing the shading correction data. Here, the peak value calculation circuit 14 performs a process of calculating a multiple addition average value of peak values by subjecting a plurality of peak values stored in the memory 11 to a multiple addition average process in the sub-scanning direction. And can be configured easily. The feedback processing means 15 performs a process of correcting the shading correction data by feeding back the calculated average value of the peak values to the shading correction data in the memory 11.
[0017]
In such a configuration, basically, the background density of the document is regarded as a peak value, and the value is converted to a white level (255 in the case of 8-bit data with maximum gradation). By doing this, the background density is removed. Here, the background density removal process will be described. Assuming that the peak value (digital value) for each main scanning line read from the document is PK (n), the correction peak value to be fed back to the shading correction data (the average value of multiple addition of peak values) ) PKz (n) is
PKz (n + 1) = (τ * PK (n + 1) + PK (n)) ÷ (τ + 1)
Can be expressed as Here, τ is a constant for weighting in the multiple addition average.
[0018]
By substituting PKz (n + 1) of this expression into P1 in T1 = 255 / P1 described above, T1 = 255 / PKz (n + 1)
By multiplying the shading correction data by the feedback processing means 15 with the value of T1, the background density accompanying the correction of the shading correction data can be removed. Here, the larger the value of the weighting constant τ, the smaller the influence of the peak value data read in the nth line. Accordingly, if the weighting constant τ = 0, it is equivalent to the conventional background density removal process that directly feeds back the peak value, but if the weighting constant τ ≧ 1, it is accompanied by a multiple addition averaging process. Even if there is a sudden noise affecting the peak value or an abrupt change in the document image itself, it is possible to remove a smooth background density that is not affected or can be reduced.
[0019]
A second embodiment of the present invention will be described with reference to FIG. The same parts as those shown in the above embodiment are denoted by the same reference numerals, and description thereof is also omitted. Also in the present embodiment, a peak value calculation circuit 16 is provided in addition to the peak value detection circuit 12 and the memory 13 as in the case of the above embodiment, and the output of the peak value calculation circuit 16 is subjected to shading correction. Feedback processing means 17 is configured by feedback connection to the memory 11 storing the data. The peak value calculation circuit 16 in this embodiment calculates a difference between peak values in the sub-scanning direction for a plurality of peak values stored in the memory 11, and sets a value obtained by multiplying the difference by an appropriate parameter as a peak value. The process of adding is performed and can be easily configured by hardware. The feedback processing means 17 performs a process of correcting the shading correction data by feeding back the value obtained by the addition by the peak value calculation circuit 16 to the shading correction data in the memory 11.
[0020]
In such a configuration, in the case of the present embodiment as well, basically, the background density of the document is regarded as a peak value, and the background density is removed by converting the value to a white level. Here, the background density removal process will be described. First, regarding the peak value (digital value) for each main scanning line read from the document, the peak value of the nth line is Pk (n), the correction peak value to be fed back to the shading correction data is Pkz (n), and the tracking coefficient. If (parameter value) is W,
Pkz (n + 1) = (Pk (n) −Pk (n−1)) × W + Pk (n)
However, Pkz (0,1) = Pk (0)
To obtain Pkz.
[0021]
Here, by changing the setting value of the follow-up coefficient (parameter value) W, the peak value for each main scanning line changes to an increasing side (when the difference becomes positive) and changes to a decreasing side. In such a case (when the difference is negative), it is possible to change the degree of follow-up with respect to changes in the background density of the document.
[0022]
For example, as a setting range of the tracking coefficient (parameter value) W,
(1) When (Pk (n) -Pk (n-1))> 0 (positive), W; any of 1/2, 1/3, 1/4, 1/5,. (2) (Pk (n) −Pk (n−1)) <0 (negative) W; 1/32, 1/64, 1/96, 1/128,... By setting the tracking capability of the peak value in the white direction and the tracking capability of the peak value in the black direction independently as if the parameter is set by any of the parameters, the background density of the original is compared It can follow the direction of darkness quickly and slowly. As a result, it is possible to remove a fine background density according to the original.
[0023]
A third embodiment of the present invention will be described with reference to FIGS. In the first and second embodiments described above, the background density of the document is regarded as a peak value, and the background density is removed by converting the value to a white level. The partial image information, for example, original character information and gray scale information is not the original value due to the change of the dynamic range. Normally, this is not a problem, but in the case of a very dark original (high original density), the dynamic range can be halved even if the read data is 30/255. In other words, it is converted into read data having a value of 60/255, and it is difficult to say that it is true data. In FIG. 4A, for example, when arbitrary read data read on the main scanning line where the background portion = peak value is 240/255 is 100/255, the peak value 240/255 is the white level. A dynamic range is changed in accordance with conversion to (255/255), and a state in which arbitrary read data is converted into read data of 125/255 is schematically shown.
[0024]
In the present embodiment, it is configured such that only data around the background portion density can be removed as white data without changing the dynamic range. Therefore, in addition to the provision of the peak value detection circuit 12 and the memory 13, a ratio set in advance with respect to the peak value of the preceding main scanning line in which the read data converted into the digital signal by the A / D converter 5 is provided. A comparator 18 is provided for comparing whether or not the value is within the range. Here, the peak value of the preceding main scanning line is the peak value of the previous line in this embodiment, but the peak value of the main scanning line is also taken into account as in the first and second embodiments described above. The corrected peak value PKz (n) or Pkz (n) (that is, the output of the peak value calculation circuit 14 or 16) may be used. A shading correction circuit 6 and a white level conversion circuit 19 are connected in parallel to the output side of the comparator 18. The comparison result that the read data is smaller than the value within the ratio range with respect to the peak value of the preceding main scanning line is output to the shading correction circuit 6 side and subjected to a normal shading correction process. The comparison result that the read data is larger than the value within the ratio range with respect to the peak value of the preceding main scanning line is output to the white level conversion circuit 19 side, and is forcibly converted to white level data (255/255). Get processed. On the output side of the shading correction circuit 6 and the white level conversion circuit 19, a multiplex unit 20 is provided for synthesizing the outputs of the two and outputting them to the image processing unit 10 as time-series data.
[0025]
For example, when the weighting factor (ratio) that defines the ratio range with respect to the peak value is R, the weighting factor R is set as 0.8. Thus, for example, as shown in FIG. 4B, when the preceding peak value is 255/255 (white level), the read value of the next main scanning line is the peak value (240 / In addition to 255), all read data having a peak value * 0.8 or more are uniformly converted to a white level (255/255) by the white level conversion circuit 19 and output. In other words, the background density can be removed without changing the dynamic range, the read value of the original image information can be read as an appropriate value, and the reproducibility when reproduced as image data later is good. Become.
[0026]
In these embodiments, since the CCD 1 is a one-channel type with respect to the basic configuration, the sample hold unit 3 and the like of the image reading unit 2 are configured as one system. In the case of using a two-channel type CCD that outputs separately, a sample hold unit and the like may be provided separately in two systems, and synthesized in a multiplexer unit to be a serial signal of one system in time series. .
[0027]
【The invention's effect】
According to the first aspect of the present invention, read data larger than a predetermined value is converted into white level data based on the peak value of the preceding main scanning line, and the read data less than the predetermined value is corrected using the shading correction data. As a result, the read data within the specified ratio range can be forcibly converted to the white level from the peak value of the preceding main scanning line, and only the density data around the background can be removed, and the original read data is processed. Therefore, the read data can be read as the original density value, and the reproducibility as image data is improved.
[0028]
According to the invention described in claim 2, it is possible to obtain a predetermined value appropriate for the density of the document.
[0029]
According to the third aspect of the present invention, in the image reading apparatus according to the second aspect, the parameter that the arithmetic means multiplies the difference is set to a different value according to the sign of the difference between the peak values. It is possible to follow relatively slowly in the direction where the density is bright and slowly follow the direction where the density of the document is dark, and as a result, it is possible to remove the background density finely in a state where it is hardly affected by the density of the document.
[0030]
According to the fourth aspect of the present invention, the read data within a predetermined ratio range is forcibly set from the peak value of the preceding main scanning line without feeding back the peak value after the digital conversion for correcting the shading correction data. Since it is converted to the white level, only the density data around the background density can be removed, and the dynamic range for processing the original read data is not changed. And the reproducibility as image data can be improved.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a first embodiment of the present invention.
FIG. 2 is a block diagram showing a second embodiment of the present invention.
FIG. 3 is a block diagram showing a third embodiment of the present invention.
FIG. 4 is a schematic diagram for explaining a white level, a peak value, and the like.
[Explanation of symbols]
4 amplifier 5 A / D converter 11 memory 12 peak detection means 13 peak value storage means 14 calculation means 15 feedback processing means 16 calculation means 17 feedback processing means 19 white conversion means

Claims (2)

光源から原稿に光を照射し、その反射光を光電変換してアナログ信号を生成し、このアナログ信号を増幅器により増幅した後、A/D変換器によりデジタル信号に変換して原稿画像の読取りを行なうとともに、原稿の読取りに先立つ基準白板の読取りにより得られメモリに記憶されたシェーディング補正データを用いて原稿画像の読取りデータを補正する画像読取装置において、
前記原稿の主走査ライン毎の読取りデータ中のピーク値を検出するピーク値検出手段と、
検出された先行する主走査ラインのピーク値に基づく所定値より大きい読み取りデータを白レベルデータに変換し前記所定値以下の読み取りデータを、前記シェーディング補正データを用いて補正する白変換手段と、
を備えることを特徴とする画像読取装置。
The original is irradiated with light from the light source, the reflected light is photoelectrically converted to generate an analog signal, the analog signal is amplified by an amplifier, and then converted to a digital signal by an A / D converter to read the original image. In the image reading apparatus for correcting the read data of the document image using the shading correction data obtained by reading the reference white plate prior to reading the document and stored in the memory,
A peak value detecting means for detecting a peak value in read data for each main scanning line of the original;
White conversion means for converting read data larger than a predetermined value based on the detected peak value of the preceding main scanning line into white level data, and correcting the read data below the predetermined value using the shading correction data;
An image reading apparatus comprising:
前記所定値は、先行する主走査ラインのピーク値に所定の係数を乗じた値であることを特徴とする請求項1記載の画像読み取り装置。 2. The image reading apparatus according to claim 1, wherein the predetermined value is a value obtained by multiplying a peak value of a preceding main scanning line by a predetermined coefficient.
JP26359497A 1997-09-29 1997-09-29 Image reading device Expired - Fee Related JP3751422B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26359497A JP3751422B2 (en) 1997-09-29 1997-09-29 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26359497A JP3751422B2 (en) 1997-09-29 1997-09-29 Image reading device

Publications (2)

Publication Number Publication Date
JPH11103390A JPH11103390A (en) 1999-04-13
JP3751422B2 true JP3751422B2 (en) 2006-03-01

Family

ID=17391723

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26359497A Expired - Fee Related JP3751422B2 (en) 1997-09-29 1997-09-29 Image reading device

Country Status (1)

Country Link
JP (1) JP3751422B2 (en)

Also Published As

Publication number Publication date
JPH11103390A (en) 1999-04-13

Similar Documents

Publication Publication Date Title
US5086343A (en) Method and apparatus for compensating for sensitivity variations in the output of a solid state image sensor
JPH0254683A (en) Picture scanner and its correction method
US6038038A (en) Method for determining offset and gain correction for a light sensitive sensor
JP2007158663A (en) Method for adjusting offset of analog image signal
JP3130593B2 (en) Document reader
US5084772A (en) Shading correcting method in image reading device
US7161626B1 (en) Image reading apparatus
US6175660B1 (en) Image reading apparatus
JPS62501884A (en) Dynamic gain adjuster for image scanners
US6961151B1 (en) Image reading-out apparatus, copying machine and facsimile device utilizing the same, and method of reading out image
JP3751422B2 (en) Image reading device
US5220626A (en) Method of smoothly combining signals from overlapping sensors
EP0406897A2 (en) Method of correcting image signal
JP2592147B2 (en) Image signal processing device
JP3105936B2 (en) Image reading device
JP2592146B2 (en) Image signal processing device
JP2667288B2 (en) Image signal judgment device
JPH02148972A (en) Method and apparatus for correcting picture signal
JPH0671309B2 (en) Image sensor output correction method
JP2786324B2 (en) Image reading device
JP3086477B2 (en) Image capture device
JP2522700B2 (en) Image signal processing method
JP2002094793A (en) Image reader and image processor provided with the image reader
JPH02192375A (en) Method for correcting dark current for solid-state image sensor
JP2002281300A (en) Image reader

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050712

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050620

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050906

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051107

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20051206

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051207

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081216

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091216

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101216

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101216

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111216

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111216

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121216

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131216

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees