JP3569059B2 - Image reading device - Google Patents
Image reading device Download PDFInfo
- Publication number
- JP3569059B2 JP3569059B2 JP32972395A JP32972395A JP3569059B2 JP 3569059 B2 JP3569059 B2 JP 3569059B2 JP 32972395 A JP32972395 A JP 32972395A JP 32972395 A JP32972395 A JP 32972395A JP 3569059 B2 JP3569059 B2 JP 3569059B2
- Authority
- JP
- Japan
- Prior art keywords
- white reference
- reference data
- line sensor
- defective pixel
- scanning direction
- 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
Links
Images
Landscapes
- Image Input (AREA)
- Facsimile Scanning Arrangements (AREA)
- Facsimile Image Signal Circuits (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、イメージスキャナ、ファクシミリ装置、複写機などに用いられるシェーディング補正装置を備えた画像読取装置に関する。
【0002】
【従来の技術】
従来、この種の画像読取装置に使用されるシェーディング装置としては、例えば特開平3−289872号公報に記載のものや、特開平6−121162号公報に記載のものが知られている。前者は、白基準データとするための白基準板を数ライン読み込み、欠陥画素の有無にかかわらずライン間で平均化処理を行ってシェディング補正の白基準データとするものである。後者は、白基準データとするための白基準板を数ライン読み込み、欠陥画素の判定を行って、この欠陥画素データを白基準データ内に取り入れないものである。
【0003】
【発明が解決しようとする課題】
しかし、特開平3−289872号公報に記載のものでは、読み込んだ数ラインのデータの中に欠陥画素が含まれていると、平均化による丸め込み処理を用いても補正が不完全となるという問題がある。
また、特開平6−121162号公報に記載のものでは、取り入れない欠陥画素を含んだデータがある場合には、欠陥画素を含まないラインデータに至るまで、ラインデータを検証しながら白基準データを取り込む処理が起こるので、この処理がオーバーヘッドとなり高速読み取りの支障になるという問題がある。
【0004】
そこで、本発明の目的は、欠陥画素が存在する場合に、欠陥画素の存在しないラインまで速やかに移動し、オーバーヘッドを極力なくすようにした画像読取装置を提供することにある。
【0005】
【課題を解決するための手段】
請求項1記載の発明は、ラインセンサにより白基準部材の白基準画像を予め読み取り、原稿の画像を前記ラインセンサで読み取る際に、前記ラインセンサの出力を前記白基準画像のデータによりシェーディング補正する画像読取装置において、前記ラインセンサが初期読み取り位置で読み取った前記白基準部材の白基準画像を白基準データとして記憶する記憶手段と、この記憶手段の記憶した前記白基準データ中から、予め想定するレベル範囲から外れている欠陥画素を検出する第1検出手段と、この第1検出手段が前記欠陥画素を検出したときに、この欠陥画素の主走査方向の大きさを検出する第2検出手段と、この第2検出手段が検出した前記欠陥画素の主走査方向の大きさに基づいて、前記欠陥画素を含まない白基準データを前記ラインセンサから取り込める副走査方向の範囲を予測する予測手段とを備え、前記第1検出手段が前記欠陥画素を検出したときに、前記予測手段の予測した前記範囲で前記ラインセンサから前記欠陥画素を含まない白基準データを新たに取り込むようにしたことで、前記目的を達成する。
【0006】
請求項2記載の発明は、請求項1に記載の発明において、前記予測手段の予測した前記範囲で前記ラインセンサから新たに取り込んだ前記欠陥画素を含まない白基準データ中から、前記欠陥画素とほとんど変らない主走査方向の位置にある新たな欠陥画素を前記第1検出手段が検出したときに、前記第2検出手段が検出した前記新たな欠陥画素の主走査方向の大きさに基づいて、前記新たな欠陥画素を含まない白基準データを前記ラインセンサから取り込める副走査方向の新たな範囲を前記予測手段が予測し、前記新たな範囲で前記ラインセンサから前記新たな欠陥画素を含まない白基準データを新たに取り込むようにしたことで、前記目的を達成する。
【0008】
請求項3記載の発明は、請求項1または請求項2に記載の発明において、前記初期読み取り位置で前記ラインセンサから取り込んだ白基準データの最大値が上限レベルを上回るか否かを判定する判定手段を備え、この判定手段が、前記初期読み取り位置で前記ラインセンサから取り込んだ白基準データの最大値が前記上限レベルを上回ると判定したときに、前記上限レベルを上回る最大値を含まない主走査方向に所定量離れた位置で前記ラインセンサから白基準データを読み取り、前記主走査方向に所定量離れた位置で前記ラインセンサから取り込んだ白基準データの最小値が下限レベル以下であるか否かを判定する判定手段を備え、この判定手段が前記主走査方向に所定量離れた位置で前記ラインセンサから読み取った白基準データの最小値が前記下限レベル以下であると判定したときに、前記白基準部材の読み取り位置を現在位置から副走査方向に所定量移動させた位置で前記ラインセンサから白基準データを取り込み、前記読み取り位置を現在位置から前記副走査方向に所定量移動させた位置で前記ラインセンサから取り込まれた白基準データから利得制御値を設定し、前記初期読み取り位置における白基準データの取り込みの際に取り込んだ白基準データを、前記利得制御値で増幅させる可変増幅手段を備えるようにしたものである。
【0010】
【発明の実施の形態】
以下、本発明の画像読取装置における好適な実施の形態について、図1ないし図12を参照して詳細に説明する。
図1は、本発明の第1の実施の形態である画像読取装置の概略側面図である。図2は、同画像読取装置の主要な構成要素を示すブロック図である。図3は、同画像読取装置のブックモード時の画像読み取りの主要部を示す概略側面図である。図4は、同画像読取装置のADFモード時の画像読み取りの主要部を示す概略側面図である。図5は、同画像読取装置の画像処理部の詳細を示すブロック図である。
【0011】
この画像読取装置は、装置本体1の右側上部に自動給紙装置(ADF)2が設けられ、装置本体1の上面には原稿読み取り台3が設けられており、これによりイメージスキャナを構成している。
装置本体1の内部には、光源4aとミラー4bとを備えた第1の走行体4と、ミラー5a、5bを備えた第2の走行体5と、レンズ6と、1次元の光電変換素子(ここでは、CCDを使用するので、以下、CCDとする)7と、第1の走行体4および第2の走行体5を駆動するステッピングモータ8とからなる露光走査光学系9が構成されている。なお、この露光走査光学系9の下段の構成については、ここではその説明は省略する。
自動給紙装置2には、ADFユニット10と、原稿台11とが設けられている。ADFユニット10内にはステッピングモータ12が備えられている。更に、原稿読み取り台3の上部には、原稿押さえ板14が回転自在に取り付けられており、原稿13はその原稿押さえ板14の下にセットされる。原稿読み取り台3の端部には、シェーディング補正用の白基準板15が配置されている。
【0012】
このような画像読取装置では、露光走査光学系9により読み取られた画像データの処理は、図2に示す制御回路によって行われる。また、画像読取装置の原稿読み取りモードとしては、図3に示すような原稿読み取り台3を用いて画像データの読み取りを行うブックモードと、図4に示すような自動給紙装置2を用いて画像データの読み取りをおこなうADFモードとがある。
【0013】
そこで、まず、図3に示すようなブックモードにおける画像データ読み取りの基本動作について述べる。
この場合には、原稿13を原稿押さえ板14の下の原稿読み取り台3上にセットした後、動作を開始させると、図2に示すCPU(中央処理装置)16は、光源ドライバ17を動作させて光源4aを点灯する。
次に、CCD駆動部18により駆動されるCCD7によって白基準板15を読み取り、画像処理部19内のA/Dコンバータ(図示せず)でアナログディジタル変換を行ない、画像データのシェーディング補正用の基準データとして画像処理部19内のRAM(図示せず)に記憶する。
さらにCPU16は、モータドライバ20を駆動してステッピングモータ8を動作させ、これにより走行体4は原稿13のある下面位置へ移動する。この走行体4が原稿面を一定速度で走査することにより、その原稿13の画像データがCCD7により光電変換される。
【0014】
図5は、図2に示す画像処理部19の最も基本的な内部構成を示す図であり、CCD7で光電変換されたアナログビデオ信号aは、アナログビデオ処理部21でディジタル変換の処理が行われた後、シェーディング補正処理部22、画像データ処理部23により、それぞれシェーディング補正、各種の画像データ処理が行われ、2値化処理部24により、所望の2値化処理された2値化データbが作成され、この2値化データbが、図2に示すスキャンバッファ25内に順次記憶されていく。
I/Fコントローラ26は、スキャンバッファ25内のデータを外部のホストコンピュータ(図示せず)等の装置に出力する制御を行う。バッファコントローラ27は、スキャンバッファ25への画像データの入出力管理を行なう。
【0015】
次に、図4に示すように、自動給紙装置2を用いて画像の読み取りを行うADFモードの基本動作について述べる。
この場合にも、まず、白基準板15が読み込まれた後、CPU16がモータドライバ28を駆動してステピッングモータを動作させ、原稿台11にセットされた原稿13を分離ローラ29、搬送ローラ30で搬送して行き、走行体4の所定の読み取り位置まで搬送する。この時、原稿13は一定速度で搬送されて行き、走行体4は停止したままで原稿面の画像データをCCD7で読み取る。以下、ブックモードと同様の処理を行ない、2値化された画像データはスキャンバッファ25に順次記憶され、I/Fコントローラ26を介してホストコンピュータ(図示せず)等に送られる。
【0016】
本発明の実施の形態にかかる画像読取装置の構成と動作の概要は以上の通りであり、以下に、さらに詳細な構成と動作について説明する。
図6は、図1から図5に示す画像読取装置のシェーディング補正に関する部分を細分化、かつ抜粋したものであり、図中、図1から図5に示すものと同一の部分には、同一の符号を付すものとする。
図6では、光源4aによりコンタクトガラス上にある原稿13を照明し、その反射光をシェーディング調整板32を通してレンズ6によって集光し、ラインセンサであるCCD7に結像する構成となっている。なお、この図では、説明の簡略化のために反射光を折り返すためのミラーは省略している。
シェーディング調整板32は、ラインセンサであるCCD7の中央部と端部での反射光量の差を無くすための光量調整の役割を果たすものである。これは、シェーディング演算処理において、CCD7の中央部と端部で反射光量の差があり過ぎると、多分に歪を含んだ演算結果しか得られないため、予め、反射光量の差をなくした後に、シェーディング演算処理を行なうためのものである。
【0017】
このシェーディング調整板32の働きについて、図7(a)、(b)を参照して説明する。図7(a)は、シェーディング調整板32が無い場合の白基準板15のビデオデータを読み込んだ際の再現レベル分布であり、この場合には、中央部がレベルが高く、端部でレベルが落ちる。一方、図7(b)は、シェーディング調整板32を用いた場合の同再現レベル分布であり、平均したレベルになっていることが判る。次に、CCD7で光電変換した後、アナログビデオデータとしてプリアンプ回路33と可変増幅回路34により所定のレベルとなるように増幅した後(レベル調整)、A/Dコンバータ35によりディジタル変換を行なう。ディジタル化したビデオデータは、黒側のオフセット分となる部分を黒演算回路36にて取り除き、シェーディング補正演算回路37に送る。ここで、プリアンプ回路33と可変増幅回路34とは、図5中のアナログビデオ処理部21に相当し、A/Dコンバータ35、黒演算回路36、およびシェーディング補正演算回路37は、図5中のシェーディング補正処理部22に相当する。なお、上述の黒側のオフセット分には、ラインセンサであるCCD7の出力が2チャンネルである場合、そのチャンネル間の差分を含んでおり、黒演算回路36による演算処理は、そのチャンネル間の誤差成分を除くのが大きな目的である。
【0018】
シェーディング補正演算のためには、白基準板15を読み取った白基準データをラインバッファ31に記憶し、実際の原稿読み取りの際には、この白基準データと原稿読み取りデータ間でシェーディング演算処理を行ない、画像データとして次段の処理部に出力する。
本実施の形態での白基準板15を読み取った白基準データのラインバッファへ31への格納方法としては、複数ラインのデータを読み取り、その平均化処理を行いながら格納処理をする方法と、1ライン分のデータを格納する方法があるが、何れの方法でも良い。
【0019】
図8は、白基準板15の読み取り位置で読み取った白基準データの一例を示し、これに図中のA,Bに示す様な欠陥画素があった場合、以下のようにしてこの欠陥画素を検知する。図9に、その手段を一部模式化して示してあるが、これは、図6に示したシェーディング補正演算回路部37とラインバッファ31の構成部分から上述の欠陥画素の検知処理を抜き出したものである。
【0020】
この例では、白基準データのラインバッファ31への格納処理と共に、白基準データの平均化処理を行う白基準データ平均化処理部41を図示のように有するが、白基準データ平均化処理部41はなくても良い。
この例では、白基準データとして格納したデータをラインバッファ31から取り込み、次段の演算処理部45に渡す際に白基準データ中の最大値をホールドするMaxデータホールド処理部42と、白基準データ中の最小値をホールドするMinデータホールド処理部43とを有する。図8の例では、図中のAが最小値のレベルを示し、図中のBが最大値のレベルを示す。
【0021】
ラインバッファ31に格納される白基準データが取り出されると、この取り出された白基準データは、Maxデータホールド処理部42と、Minデータホールド処理部43によりデータサンプリングされ、そのサンプリングされたデータを演算処理部45(CPU16)が読み込むことにより、白基準データ中の最大値(Maxhold)の判定と、最小値(Minhold)の判定を行なう。
また、これと同時に、最大値と、最小値とをホールドした際のX,Y方向のアドレス情報をサンプリングする。このアドレスデータは、図9に示すように、X,YアドレスデータMaxおよびX,YアドレスデータMinでそれぞれホールド処理し、最大値、最小値と同様に、演算処理部45(CPU16)からそのアドレスデータを読み込むことによりデータホールドした最大値、および最小値のアドレスを読むことができる。
【0022】
この例では、ラインバッファ31に格納される白基準データのレベルが、予め想定するレベル範囲より外れていると演算処理部45が判断した時には、欠陥画素を含む白基準データをラインバッファ31に格納していると判断する。また、その想定レベルが明確では無い場合には、この処理と共に、ラインバッファ31に格納した白基準データに対して平均処理を行ない、あるいは更に標準偏差を求めてバラツキ具合を調べることにより、白基準データのレベル範囲を定め、そのレベル範囲外ならば、欠陥画素を含む白基準データをラインバッファ31に格納していると判断する。
【0023】
次に、このような処理により得られた欠陥画素の位置におけるアドレス付近の画像データを、演算処理部45がラインバッファ31から取り込み、その画像濃度レベルの検証について図10を参照して説明する。
図10は、白基準データのMaxホールド値のアドレス近傍におけるレベルを示す。この例ではMaxホールド値について示しているが、Minホールド値の場合にも同様である。図10に示すように、Maxホールド値の近傍の画素を検証すると、白基準板15の白画像の読み取り時に悪影響を及ぼす白基準データのアドレス範囲が検出できる。
この悪影響と考えられる画素濃度レベルは、白基準データとして規定する濃度レベルとどれだけ差があるかで規定し、その規定以上の差があるときに、欠陥画素の範囲に含める。このようにして求めた欠陥画素の範囲aを図11に示し、この欠陥画素の範囲aは、白基準データとして読み込んだ白基準板15にこの大きさのごみ等があって、白基準データに影響を及ぼしていると考えられる。従って、白基準データに影響を及ぼすごみなどの主走査方向の大きさは、その欠陥画素の範囲aであると予測される。
【0024】
ここで、このごみの形状を縦横比が一定と仮定し、ごみの副走査方向の大きさを主走査方向の大きさに基づいて求めると、主走査方向の大きさに等しいものと考えられる。従って、ごみに影響されずにCCD7が白基準画像を読み取ってその白基準データを取り込める副走査方向の次の読み取り位置を予測すると、欠陥画素の読み取り位置を基準に副走査方向に上述で求めた主走査方向の大きさ分だけ移動した位置となる。すなわち、図11に示すように、白基準板15をAラインで読み取った白基準画像に斜線部で示すような欠陥画素(ごみ)が含まれていたときには、この欠陥画素の主走査方向の大きさを上述のように求め、この求めた主走査方向の大きさ分だけ副走査方向にBラインまで読み取り位置を移動させ、移動後のBラインでCCD7が白基準画像を読み取って、その読み取った白基準データをラインバッファ31に取り込むようにする。
【0025】
次に、本実施の形態のデータ処理について、図12及び図13のフローチャートを参照して説明する。
まず、白基準板15の初期読み取り位置において、CCD7が白基準板15を1ライン分読み取り、この読み取られた白基準画像データは、画像処理部19の各部で処理されてラインバッファ31に一旦格納される(ステップ1、ステップ2)。
次に、ラインバッファ31から取り出した白基準データから、最大値(Maxhold)と最小値(Minhold)とを上述のように求め、その求めた最大値(Maxhold)と最小値(Minhold)とを、あらかじめ定めてある上限レベル(Thmax)と下限レベル(Thmin)を用いて比較する(ステップ3〜ステップ5)。
【0026】
その比較の結果、白基準データの最大値(Maxhold)が上限レベル(Thmax)以下であって(ステップ4;N)、その最小値(Maxhold)が下限レベル(Thmin)以上のときには(ステップ5;N)、ラインバッファ31が取り込んで格納されているデータは正常であるため、そのデータを白基準データとする(ステップ6)。そして、その白基準データを使用して、シェーディン補正による原稿画像の読み取りを行う(ステップ7)。一方、白基準データの最大値(Maxhold)が上限レベル(Thmax)以上の場合には(ステップ4;Y)、その白基準データには異常なデータを含むため、その最大値(Maxhold)のアドレスデータMax(X)、Max(Y)を取り込んだのち(ステップ8)(図13参照)主走査方向に所定量離れた位置の白基準データをラインバッファ31から読み込む(ステップ9)。
【0027】
次に、その読み込んだ白基準データが下限レベル(Thmin)以下であるか否かを判定する(ステップ10)。その判定の結果、白基準データが下限レベル(Thmin)以上のときには(ステップ10;N)、白基準データ中の最大値(Maxhold)のアドレスMax(X)近傍の画像データをラインバッファ31から取り込み(ステップ11)、上述のようにして、その画像データ中に含まれる欠陥画素の主走査方向の大きさを求める(ステップ12)。次に、その求めた主走査方向の大きさの分だけ、CCD7の読み取り位置を副走査方向に移動させ(ステップ13)、その移動後の位置でCCD7が白基準画像を読み取り、その読み取った白基準データをラインバッファ31に取り込む(ステップ2)。
【0028】
一方、ステップ10において、白基準データが下限レベル(Thmin)以下であると判断されたときには(ステップ10;Y)、図6に示す可変増幅回路34のゲインコントロール値(利得制御値)が適正でないと判断する(ステップ14)。そして、白基準板15の読み取り位置を現在位置から所定量移動させて、その移動させた位置でCCD7の読み取る画像を取り込み、その取り込んだデータを可変増幅回路34の利得制御値に供するようにする(ステップ15)。
【0029】
ところで、上述のように、ステップ4、ステップ8からステップ9、ステップ14、およびステップ15の各処理を行うが、これらの処理の理由について、図6を参照して以下に説明する。この例では、白基準データを取り込む際に予め、可変増幅回路34に対して、ゲインコントロール値(利得制御値)を初期設定値にし、その設定により白基準板15の白基準画像をCCD7が読み取るようになっている。そして、その読み込んだ白基準データの中でピークホールド処理をして得られたピークホールドデータによって、可変増幅回路34に対してゲインコントロール値を与える。従って、このゲインコントロール値を決める白基準データを取り込んだ際に、下限レベル以下の異常な反射光量を含んだ白基準データを取り込むと、その異常値に合わせてゲインコントロール値を設定してしまうからである。
【0030】
そこで、この例では、ゲインコントロール値のサンプリングライン位置と白基準データのサンプリング位置が同じラインであるものとして、白基準データの欠陥画素の検知からゲインコントロール値に異常があると判断した際には、白基準板15の読み取り位置を現在位置から副走査方向に所定量移動し、そこでゲインコントロール値のサンプリング処理から始めるようにした。また、そこで同様に可変増幅回路34に設定したゲインコントロール値が異常であると判断した場合には、再度、副走査方向に所定量移動して、ゲインコントロール値のサンプリングから始める。従って、本処理を繰り返す事により、正しいゲインコントロール値を用いて白基準データを取り込むことが出来る。
【0031】
ところで、白基準データの最大値(Maxhold)が上限レベル(Thmax)以下であって(ステップ4;N)、その白基準データの最小値(Minhold)が下限レベル(Thmin)以下の場合には(ステップ5;Y)、白基準データ中に異常なデータが含まれるために、ステップ16に移行する。
ステップ16では、白基準データ中の最小値(Minhold)のアドレスMin(X)近傍の画像データをラインバッファ31から取り込み(ステップ16)、上述のようにして、その画像データ中に含まれる欠陥画素の主走査方向の大きさを求める(ステップ17)。次に、その求めた主走査方向に大きさの分だけ、CCD7の読み取り位置を副走査方向に移動させ(ステップ18)、その移動後の位置でCCD7が白基準画像を読み取り、その読み取った白基準データをラインバッファ31に取り込む(ステップ2)。
【0032】
以上述べたような処理により、CCD7が白基準板15を読み取った白基準データ中に異常なデータが含まれて欠陥画素がある場合には、その欠陥画素の影響を受けない位置の白基準画像を読み取って新たな白基準データを得るようにしたので、その欠陥画素が排除された正常な白基準データを短時間で得ることができる。
【0033】
次に、本発明の他の実施の形態について、以下に説明する。第2の実施の形態では、上記のように、CCD7が白基準板15を読み取った白基準データ中に異常なデータが含まれている欠陥画素がある場合には、その欠陥画素の影響を受けない位置の白基準画像をCCD7が再び読み取って新たな白基準データを得るようにしたが、この白基準データ中から新たな欠陥画素が検出され、しかもこの欠陥画素の主走査方向の位置が、前回に検出された欠陥画素の主走査方向の位置とほとんど変わらないときには、その欠陥画素は副走査方向に連続していると判断するものである。そこで、このような判断をしたときには、さらに、白基準板15の読み取り位置を前回と同様の移動量だけ移動させ、その移動後の位置で再び白基準板15を読み取った白基準データを取り込むようにした。そして、その白基準データ中から欠陥画素を検出処理するようにし、欠陥画素を含まない白基準データを得るようにする。
【0036】
【発明の効果】
以上説明したように、請求項1記載の発明では、白基準データ中に異常なデータが含まれた欠陥画素がある場合には、その欠陥画素の含まれていない位置の白基準画像を読み取って新たな白基準データを得るようにしたので、その欠陥画素が排除された正常な白基準データを短時間で得ることができ、もって白基準データを取り込む際に発生するオーバーヘッド分をなくすことができる。請求項2記載の発明では、ラインセンサから新たに取り込んだ白基準データ中から、前回に検出した欠陥画素とほとんど変らない主走査方向の位置にある新たな欠陥画素を検出したときには、さらに前回と同様に移動した位置で読み取りを行うようにしたので、白基準データを再び読み取る際に招ずる時間を短縮でき、その際のオーバーヘッド分をなくすることができる。
【0037】
請求項3記載の発明では、ラインセンサから取り込んだ白基準データを増幅させる可変増幅手段の利得制御値が適正でないときには、適正な利得制御値のサンプリングを行なうようにしたので、再生される画質の品質を確保できる。
【図面の簡単な説明】
【図1】本発明の実施の形態である画像読取装置の概略側面図である。
【図2】同画像読取装置の主要な構成要素を示すブロック図である。
【図3】同画像読取装置のブックモード時の画像読み取りの主要部を示す概略側面図である。
【図4】同画像読取装置のADFモード時の画像読み取りの主要部を示す概略側面図である。
【図5】同画像読取装置の画像処理部の詳細を示すブロック図である。
【図6】同画像読取装置におけるシェーディング補正の動作を説明するためのブロック図である。
【図7】同画像読取装置のシェーディング補正動作時におけるシェーディング調整板の働きを説明するための信号レベルの状態を示す波形図である。
【図8】同画像読取装置のシェーディング補正動作時における白基準データの一例を示す波形図である。
【図9】同画像読取装置のシェーディング補正動作時における白基準データの欠陥画素を検出する手段を説明するためのブロック図である。
【図10】同画像読取装置が検出したの欠陥画素の濃度レベルの検証をするために波形図である。
【図11】同画像読取装置の白基準板の画像の読取において、欠陥画素が検出されて再読み取りが必要な場合の説明図である。
【図12】同画像読取装置のデータ処理を示すフローチャートである。
【図13】同じく、同画像読取装置のデータ処理を示すフローチャートである。
【符号の説明】
1 本体装置
2 自動給紙装置
3 原稿読取台
4 第1の走行体
5 第2の走行体
6 レンズ
7 CCD(ラインセンサ)
8 ステッピングモータ
9 露光走査光学系
10 ADFユニット
11 原稿台
12 ステッピングモータ
13 原稿
14 原稿押さえ板
15 白基準板
16 CPU
17 光源ドライバ
18 CCD駆動部
19 画像処理部
20 モータドライバ
21 アナログビデオ処理部
22 シェーディング補正処理部
23 画像データ処理部
24 2値化処理部
25 スキャンバッファ
26 I/Fコントローラ
27 バッファコントローラ
28 モータドライバ
31 ラインバッファ
32 シェーディング調整板
33 プリアンプ部
34 可変増幅回路
35 A/Dコンバータ
36 黒演算回路
37 シェーディング補正演算海路
41 白基準データ平均化処理部
42 Maxデータホールド処理部
43 Minデータホールド処理部
45 演算処理部[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image reading device provided with a shading correction device used for an image scanner, a facsimile machine, a copying machine, and the like.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, as a shading device used in this type of image reading device, for example, a device described in JP-A-3-289872 and a device described in JP-A-6-121162 are known. In the former method, several lines of a white reference plate for reading white reference data are read, and averaging processing is performed between the lines regardless of the presence or absence of a defective pixel to obtain white reference data for shedding correction. In the latter case, several lines of a white reference plate to be used as white reference data are read, defective pixels are determined, and the defective pixel data is not incorporated into the white reference data.
[0003]
[Problems to be solved by the invention]
However, the method described in Japanese Patent Application Laid-Open No. 3-289872 has a problem that if defective pixels are included in the data of several lines read, the correction is incomplete even if the rounding processing by averaging is used. There is.
Further, in Japanese Patent Application Laid-Open No. Hei 6-121162, when there is data including a defective pixel which is not taken in, the white reference data is verified while verifying the line data until the line data does not include the defective pixel. Since the fetching process occurs, there is a problem that this process becomes an overhead and hinders high-speed reading.
[0004]
SUMMARY OF THE INVENTION It is an object of the present invention to provide an image reading apparatus in which, when a defective pixel exists, the image reading apparatus quickly moves to a line where no defective pixel exists, thereby minimizing overhead.
[0005]
[Means for Solving the Problems]
According to the first aspect of the invention, the white reference image of the white reference member is read in advance by the line sensor, and the image of the original is read.SaidWhen reading with a line sensor,SaidIn an image reading device that performs shading correction on the output of a line sensor based on the data of the white reference image, the line sensor mayAt the initial reading positionReadSaidStorage means for storing a white reference image of a white reference member as white reference data;SaidFrom white reference dataIs out of the expected level rangeFirst detecting means for detecting a defective pixel, and the first detecting meansSaidA second detecting means for detecting the size of the defective pixel in the main scanning direction when the defective pixel is detected;SaidBased on the size of the defective pixel in the main scanning direction,SaidDefective pixelDoes not containWhite reference dataFrom the line sensorPrediction means for predicting a range in the sub-scanning direction which can be taken in, wherein the first detection meansSaidWhen a defective pixel is detectedBeforePrediction meansofPredictedSaidIn a rangeDoes not include the defective pixel from the line sensorWhite reference dataNewlyThe above object is achieved by taking in.
[0006]
According to a second aspect of the present invention, in the first aspect of the present invention, the defective pixel is selected from white reference data that does not include the defective pixel newly acquired from the line sensor in the range predicted by the prediction unit. When the first detection unit detects a new defective pixel at a position in the main scanning direction that hardly changes,SaidOf the new defective pixel detected by the second detecting means.In the main scanning directionBased on the size, the prediction unit predicts a new range in the sub-scanning direction in which white reference data that does not include the new defective pixel can be captured from the line sensor, and the new range from the line sensor in the new range. The object is achieved by newly taking in white reference data that does not include a defective pixel.
[0008]
According to a third aspect of the present invention, in the first or second aspect, the determination is made as to whether or not the maximum value of the white reference data acquired from the line sensor at the initial reading position exceeds an upper limit level. Means for determining whether the maximum value of the white reference data acquired from the line sensor at the initial reading position exceeds the upper limit level, does not include the maximum value exceeding the upper limit level.A predetermined distance in the main scanning directionRead the white reference data from the line sensor at the position,A predetermined distance in the main scanning directionDetermination means for determining whether or not the minimum value of the white reference data fetched from the line sensor at the position is equal to or lower than a lower limit level;A predetermined distance in the main scanning directionWhen it is determined that the minimum value of the white reference data read from the line sensor at the position is equal to or less than the lower limit level, the reading position of the white reference member is shifted from the current position.In the sub scanning directionAt a position shifted by a predetermined amount, white reference data is fetched from the line sensor, and the reading position is shifted from the current position to the current position.In the sub scanning directionMove a predetermined amountPlaceWhite reference data captured from the line sensorFromGain control valueSetThe white reference data captured at the time of capturing the white reference data at the initial reading position is, With the gain control valueA variable amplifying means for amplifying is provided.
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, preferred embodiments of the image reading apparatus according to the present invention will be described in detail with reference to FIGS.
FIG. 1 is a schematic side view of an image reading apparatus according to a first embodiment of the present invention. FIG. 2 is a block diagram showing main components of the image reading apparatus. FIG. 3 is a schematic side view showing a main part of image reading in the book mode of the image reading apparatus. FIG. 4 is a schematic side view showing a main part of image reading in the ADF mode of the image reading apparatus. FIG. 5 is a block diagram illustrating details of an image processing unit of the image reading apparatus.
[0011]
In this image reading apparatus, an automatic paper feeder (ADF) 2 is provided on the upper right side of the apparatus main body 1, and a document reading table 3 is provided on the upper surface of the apparatus main body 1, thereby forming an image scanner. I have.
Inside the apparatus main body 1, a first traveling
The
[0012]
In such an image reading apparatus, the processing of the image data read by the exposure scanning optical system 9 is performed by the control circuit shown in FIG. As the document reading mode of the image reading apparatus, a book mode in which image data is read using a document reading table 3 as shown in FIG. 3 and an image reading mode using an automatic
[0013]
Therefore, first, the basic operation of reading image data in the book mode as shown in FIG. 3 will be described.
In this case, after the
Next, the
Further, the
[0014]
FIG. 5 is a diagram showing the most basic internal configuration of the
The I /
[0015]
Next, as shown in FIG. 4, a basic operation in the ADF mode for reading an image using the
Also in this case, first, after the
[0016]
The outline of the configuration and operation of the image reading apparatus according to the embodiment of the present invention has been described above, and a more detailed configuration and operation will be described below.
FIG. 6 is a fragmentation and an excerpt of a portion relating to shading correction of the image reading apparatus shown in FIGS. 1 to 5, and in FIG. 6, the same portions as those shown in FIGS. A code shall be attached.
In FIG. 6, the original 13 on the contact glass is illuminated by the
The shading adjustment plate 32 plays a role in adjusting the amount of light for eliminating the difference in the amount of reflected light between the center and the end of the
[0017]
The function of the shading adjustment plate 32 will be described with reference to FIGS. FIG. 7A shows a reproduction level distribution when the video data of the
[0018]
For the shading correction calculation, the white reference data obtained by reading the
As a method of storing the white reference data read from the
[0019]
FIG. 8 shows an example of white reference data read at the reading position of the
[0020]
In this example, a white reference data averaging
In this example, data stored as white reference data is fetched from the
[0021]
When the white reference data stored in the
At the same time, the address information in the X and Y directions when the maximum value and the minimum value are held is sampled. As shown in FIG. 9, this address data is subjected to hold processing with X, Y address data Max and X, Y address data Min, respectively, and, like the maximum value and the minimum value, from the arithmetic processing unit 45 (CPU 16). By reading the data, the address of the maximum value and the minimum value of the data held can be read.
[0022]
In this example, when the arithmetic processing unit 45 determines that the level of the white reference data stored in the
[0023]
Next, the image processing in the vicinity of the address at the position of the defective pixel obtained by such processing is fetched from the
FIG. 10 shows the level near the address of the Max hold value of the white reference data. Although this example shows the Max hold value, the same applies to the case of the Min hold value. As shown in FIG. 10, when the pixels near the Max hold value are verified, the address range of the white reference data that has an adverse effect when reading the white image on the
The pixel density level considered to be adversely affected is defined by how much the density level differs from the density level defined as the white reference data, and when the difference exceeds the specified level, it is included in the range of defective pixels. FIG. 11 shows the range a of the defective pixel obtained in this manner. The range a of the defective pixel indicates that the
[0024]
Here, assuming that the shape of the dust has a constant aspect ratio and that the size of the dust in the sub-scanning direction is determined based on the size in the main scanning direction, it is considered to be equal to the size in the main scanning direction. Therefore, without being affected by garbageCCD7 predicts the next reading position in the sub-scanning direction in which the white reference image can be read and the white reference data can be taken in, and only the size in the main scanning direction obtained in the sub-scanning direction based on the defective pixel reading position in the sub-scanning direction is used. It will be the moved position. That is, as shown in FIG. 11, when a white reference image obtained by reading the
[0025]
Next, data processing according to the present embodiment will be described with reference to the flowcharts in FIGS.
First, at the initial reading position of the
Next, the maximum value (Maxhold) and the minimum value (Minhold) are obtained from the white reference data extracted from the
[0026]
As a result of the comparison, when the maximum value (Maxhold) of the white reference data is equal to or less than the upper limit level (Thmax) (
[0027]
Next, it is determined whether or not the read white reference data is lower than the lower limit level (Thmin) (step 10). As a result of the determination, when the white reference data is equal to or more than the lower limit level (Thmin) (
[0028]
On the other hand, when it is determined in
[0029]
By the way, as described above, each processing of
[0030]
Therefore, in this example, assuming that the sampling line position of the gain control value and the sampling position of the white reference data are on the same line, when it is determined from the detection of the defective pixel of the white reference data that the gain control value is abnormal, The reading position of the
[0031]
By the way, when the maximum value (Maxhold) of the white reference data is equal to or less than the upper limit level (Thmax) (
In
[0032]
According to the processing described above, when abnormal data is included in the white reference data obtained by reading the
[0033]
Next, another embodiment of the present invention will be described below. In the second embodiment, as described above, abnormal data is included in the white reference data obtained by the
[0036]
【The invention's effect】
As described above, according to the first aspect of the invention, abnormal data is included in the white reference data.WasIf there is a defective pixel,Not includedSince the new white reference data is obtained by reading the white reference image at the position, normal white reference data from which the defective pixel has been eliminated can be obtained in a short time, and this occurs when the white reference data is imported. Overhead can be eliminated. According to the second aspect of the present invention, a defective pixel detected last time is selected from white reference data newly acquired from a line sensor.The position in the main scanning direction is almost the sameWhen a new defective pixel is detected,alikeSince the reading is performed at the moved position, the time required for reading the white reference data again can be reduced, and the overhead at that time can be eliminated.
[0037]
ContractRequest3In the described invention, the white reference data acquired from the line sensor is increased.WidthVariable amplification meansProfitableYourvalueIs not appropriate,gaincontrolPerform value samplingAs a result, the quality of the reproduced image quality can be secured..
[Brief description of the drawings]
FIG. 1 is a schematic side view of an image reading apparatus according to an embodiment of the present invention.
FIG. 2 is a block diagram showing main components of the image reading apparatus.
FIG. 3 is a schematic side view showing a main part of image reading in the book mode of the image reading apparatus.
FIG. 4 is a schematic side view showing a main part of image reading in the ADF mode of the image reading apparatus.
FIG. 5 is a block diagram illustrating details of an image processing unit of the image reading apparatus.
FIG. 6 is a block diagram for explaining an operation of shading correction in the image reading apparatus.
FIG. 7 is a waveform diagram illustrating a signal level state for explaining a function of a shading adjustment plate during a shading correction operation of the image reading apparatus.
FIG. 8 is a waveform chart showing an example of white reference data during a shading correction operation of the image reading apparatus.
FIG. 9 is a block diagram for explaining a unit for detecting a defective pixel of white reference data during a shading correction operation of the image reading apparatus.
FIG. 10 is a waveform chart for verifying the density level of a defective pixel detected by the image reading apparatus.
FIG. 11 is an explanatory diagram of a case where a defective pixel is detected and re-reading is required in reading an image on the white reference plate of the image reading apparatus.
FIG. 12 is a flowchart illustrating data processing of the image reading apparatus.
FIG. 13 is a flowchart showing data processing of the image reading apparatus.
[Explanation of symbols]
1 Main unit
2 Automatic paper feeder
3 Document reading table
4 First traveling body
5 Second traveling body
6 lenses
7 CCD (line sensor)
8 Stepping motor
9 Exposure scanning optical system
10 ADF unit
11 Platen
12 Stepping motor
13 manuscript
14 Document holding plate
15 White reference plate
16 CPU
17 Light source driver
18 CCD drive unit
19 Image processing unit
20 Motor driver
21 Analog Video Processing Unit
22 Shading correction processing unit
23 Image data processing unit
24 Binarization processing unit
25 scan buffer
26 I / F controller
27 Buffer Controller
28 Motor driver
31 line buffer
32 Shading adjustment plate
33 Preamplifier section
34 Variable amplifier circuit
35 A / D converter
36 Black arithmetic circuit
37 Shading correction calculation sea route
41 White reference data averaging unit
42 Max data hold processing unit
43 Min data hold processing unit
45 Arithmetic processing unit
Claims (3)
前記ラインセンサが初期読み取り位置で読み取った前記白基準部材の白基準画像を白基準データとして記憶する記憶手段と、
この記憶手段の記憶した前記白基準データ中から、予め想定するレベル範囲から外れている欠陥画素を検出する第1検出手段と、
この第1検出手段が前記欠陥画素を検出したときに、この欠陥画素の主走査方向の大きさを検出する第2検出手段と、
この第2検出手段が検出した前記欠陥画素の主走査方向の大きさに基づいて、前記欠陥画素を含まない白基準データを前記ラインセンサから取り込める副走査方向の範囲を予測する予測手段とを備え、
前記第1検出手段が前記欠陥画素を検出したときに、前記予測手段の予測した前記範囲で前記ラインセンサから前記欠陥画素を含まない白基準データを新たに取り込むようにしたことを特徴とする画像読取装置。An image reading device that reads a white reference image of a white reference member in advance by a line sensor, and performs shading correction on the output of the line sensor based on the data of the white reference image when an image of a document is read by the line sensor.
Storage means for storing a white reference image of the white reference member read by the line sensor at an initial reading position as white reference data,
A first detection unit that detects a defective pixel that is out of a level range assumed in advance from the white reference data stored in the storage unit;
When the first detecting means detects the defective pixel, a second detecting means for detecting the size of the defective pixel in the main scanning direction;
Prediction means for predicting a range in the sub-scanning direction in which white reference data not including the defective pixel can be taken in from the line sensor based on the size of the defective pixel in the main scanning direction detected by the second detection means. ,
An image characterized in that when the first detection means detects the defective pixel, white reference data not including the defective pixel is newly taken from the line sensor in the range predicted by the prediction means. Reader.
この判定手段が、前記初期読み取り位置で前記ラインセンサから取り込んだ白基準データの最大値が前記上限レベルを上回ると判定したときに、前記上限レベルを上回る最大値を含まない主走査方向に所定量離れた位置で前記ラインセンサから白基準データを読み取り、
前記主走査方向に所定量離れた位置で前記ラインセンサから取り込んだ白基準データの最小値が下限レベル以下であるか否かを判定する判定手段を備え、
この判定手段が前記主走査方向に所定量離れた位置で前記ラインセンサから読み取った白基準データの最小値が前記下限レベル以下であると判定したときに、前記白基準部材の読み取り位置を現在位置から副走査方向に所定量移動させた位置で前記ラインセンサから白基準データを取り込み、
前記読み取り位置を現在位置から前記副走査方向に所定量移動させた位置で前記ラインセンサから取り込まれた白基準データから利得制御値を設定し、前記初期読み取り位置における白基準データの取り込みの際に取り込んだ白基準データを、前記利得制御値で増幅させる可変増幅手段を備えるようにしたことを特徴とする請求項1または請求項2に記載の画像読取装置。A determination unit that determines whether the maximum value of the white reference data captured from the line sensor at the initial reading position exceeds an upper limit level,
When the determination unit determines that the maximum value of the white reference data acquired from the line sensor at the initial reading position exceeds the upper limit level, the determination unit determines a predetermined amount in the main scanning direction that does not include the maximum value exceeding the upper limit level. Read white reference data from the line sensor at a remote position,
A determination unit configured to determine whether a minimum value of the white reference data captured from the line sensor at a position separated by a predetermined amount in the main scanning direction is equal to or less than a lower limit level,
When the determination unit determines that the minimum value of the white reference data read from the line sensor at a position separated by a predetermined amount in the main scanning direction is equal to or less than the lower limit level, the reading position of the white reference member is set to a current position. From the line sensor at a position shifted by a predetermined amount in the sub-scanning direction from the line sensor,
Set the gain control value from the white reference data taken from the line sensor at a position which is moved by a predetermined amount in the sub-scanning direction the reading position from the current position, when the white reference data uptake in the initial reading position The image reading apparatus according to claim 1 , further comprising a variable amplifying unit configured to amplify the white reference data captured in the control unit using the gain control value .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP32972395A JP3569059B2 (en) | 1995-11-24 | 1995-11-24 | Image reading device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP32972395A JP3569059B2 (en) | 1995-11-24 | 1995-11-24 | Image reading device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH09149217A JPH09149217A (en) | 1997-06-06 |
JP3569059B2 true JP3569059B2 (en) | 2004-09-22 |
Family
ID=18224558
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP32972395A Expired - Fee Related JP3569059B2 (en) | 1995-11-24 | 1995-11-24 | Image reading device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3569059B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000050062A (en) * | 1998-07-31 | 2000-02-18 | Minolta Co Ltd | Image input device |
JP3554199B2 (en) | 1998-08-31 | 2004-08-18 | キヤノン株式会社 | Shading correction device, shading correction method, and image reading device |
JP2006211054A (en) * | 2005-01-25 | 2006-08-10 | Ricoh Co Ltd | Image processor |
US8094345B2 (en) * | 2007-04-12 | 2012-01-10 | Kabushiki Kaisha Toshiba | Image forming apparatus and image forming method specifying read start position of white reference plate |
-
1995
- 1995-11-24 JP JP32972395A patent/JP3569059B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH09149217A (en) | 1997-06-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4513622B2 (en) | Image reading device | |
JP3569059B2 (en) | Image reading device | |
JPH0927909A (en) | Image reader | |
JP6645294B2 (en) | Image reading device | |
JP3417723B2 (en) | Image reading device | |
JP3907033B2 (en) | Image reading device | |
JP3754173B2 (en) | Image reading device | |
JP3539812B2 (en) | Image reading device | |
JP2003219117A (en) | Both-ends of original detecting device | |
JP2004266522A (en) | Digital picture reader | |
JP2006211054A (en) | Image processor | |
JP2001036742A (en) | Image reader | |
JP2002262086A (en) | Image processor | |
JP3538939B2 (en) | Document size detector | |
JPH09219793A (en) | Image reading device | |
JP2003032490A (en) | Image processing apparatus | |
JP2004112101A (en) | Image reader | |
JP2004104363A (en) | Image reader | |
JP3347787B2 (en) | Image density correction method in image reading device | |
JP3011942B2 (en) | Digital image output device | |
JP2000032262A (en) | Image reader | |
JPH08237478A (en) | Image reader | |
JPH1098616A (en) | Image processor | |
JP2004173161A (en) | Image reader | |
JP2000175039A (en) | Image reader |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040224 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040421 |
|
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: 20040608 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040617 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080625 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090625 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090625 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100625 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110625 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110625 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120625 Year of fee payment: 8 |
|
LAPS | Cancellation because of no payment of annual fees |