JP4027573B2 - Image reading device - Google Patents

Image reading device Download PDF

Info

Publication number
JP4027573B2
JP4027573B2 JP2000182132A JP2000182132A JP4027573B2 JP 4027573 B2 JP4027573 B2 JP 4027573B2 JP 2000182132 A JP2000182132 A JP 2000182132A JP 2000182132 A JP2000182132 A JP 2000182132A JP 4027573 B2 JP4027573 B2 JP 4027573B2
Authority
JP
Japan
Prior art keywords
value
image
peak
image data
white level
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
JP2000182132A
Other languages
Japanese (ja)
Other versions
JP2002010078A (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 JP2000182132A priority Critical patent/JP4027573B2/en
Publication of JP2002010078A publication Critical patent/JP2002010078A/en
Application granted granted Critical
Publication of JP4027573B2 publication Critical patent/JP4027573B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、イメージスキャナやデジタル複写機などの画像読取装置に関し、より詳細には、白レベルのピーク検出によりシステムの正常/異常の判断、シェーディングデータの適正判断、黒レベルデータの適正レベルの確保といった制御動作を行なう画像読取装置に関する。
【0002】
【従来の技術】
従来の画像読取装置においては、白レベルの検出を行なうことによって白レベル値が適正であるかや、照明系(ランプ)の点灯が正常であるかなどの判断を行なっている。すなわち、従来は画像処理部のみに画像データのピーク信号(白レベルの最大値)を検出する機能を設け、その値を読み取りユニットの増幅器などへフィードバックすることにより、白レベルが適正な範囲になるように調整を行なったり、このピーク値が著しく小さいときには、光源のランプが点灯しないと判断し、エラー処理を行なっている。
【0003】
また、従来の画像読取装置においては、シェーディングデータを取得するための基準白板の汚れや、ごみの影響を排除するために、同一画素における前ラインまでのデータと現データとを比較し、その差が一定以上大きいときには、現データはごみなどの影響を受けていると判断して現データをシェーディングデータとして採用しないことが行なわれている。これは、シェーディングデータを生成する際に画素データを重加算平均処理し、ノイズなどの影響を排除するものである。
【0004】
平均化してきた重加算データSn−1と新たにサンプリングしたデータSnとを比較し、
Sn−1 − Sn = K
としたときに、このKの値が想定されるノイズ変動分よりも大きい場合に異常値と判断し、このSnを加算せずにSn−1をそのまま保持する動作が行なわれている。一般に、シェーディング板である基準白板102に汚れやごみがあった場合には、読み取った値が小さくなるので、Snがごみの影響を受けた場合には、
Sn−1 ≧ Sn
の関係となる。
【0005】
また、CCD(電荷結合素子)には、オプティカルブラックと呼ばれる光学的に黒レベルを出力する期間がある。オプティカルブラック期間は、CCD内部で遮光することにより、黒レベルを取得し、その後の有効期間の出力が画像データ(白レベル)となる。したがって、画像データの中には黒レベルが含まれており、画像データから黒レベルを除く(デジタル演算として減算する)ことが行なわれている。
【0006】
本来は、有効画素のそれぞれについて遮光(照明ランプOFF)した状態で白レベルのようなシェーディング処理を行ない、各画素の黒レベルのばらつきを抑えることを行なえば(黒シェーディング)よいのであるが、回路規模や演算メモリ容量が大きくなる。また、CCD自体の改善でばらつきが小さくなったことによりオプティカルブラック期間の値を代表値として一律に当てはめてもさほど問題ないとして期間内の画素を平均して代表値とすることが一般に行なわれている。
【0007】
【発明が解決しようとする課題】
しかしながら、上記に示されるような従来の画像読取装置にあっては、読み取りユニットあるいは画像処理ユニットのうち片側のユニットのみのピーク値検出を行なっているため、異常が発生しても正確に認識することができず、誤った調整が行なわれることになるという問題点があった。
【0008】
また、従来におけるシェーディングデータの取得では、白レベルが何らかの影響で誤っていた場合、たとえば、基準白板を確実に読み込んでいなかったり、増幅器のゲインがずれている場合にはシェーディングデータ自体が意味をなさなくなる可能性があった。
【0009】
さらに、従来はサンプリングしたCCDのオプティカルブラック出力期間のデータを平均化することによってノイズの影響を排除しているが、外部的なノイズなどの影響を受けた場合に、この平均処理だけではノイズの影響を完全に排除することができない可能性があった。
【0010】
本発明は、上記に鑑みてなされたものであって、読み取りユニットと画像処理ユニットの両側で白レベルピーク値を検出することにより、正確な異常発生の判断を実現させ、後処理の対応を的確かつ迅速に行なうことを第1の目的とする。
【0013】
【課題を解決するための手段】
上記の目的を達成するために、請求項1にかかる画像読取装置にあっては、読取対象の原稿を撮像素子に光学的に結像させ、画像データとして読み取る読み取り手段と、前記読み取り手段で読み取った画像データに対してシェーディング補正処理、MTF補正処理を加える画像処理手段と、を有する画像読取装置において、前記読み取り手段に設けられ、前記撮像素子で読み取った基準白板の画像データの主走査方向における1ラインの白レベルピーク値を検出する第1ピーク検出手段と、前記画像処理手段に設けられ、前記基準白板の画像データの主走査方向における1ラインの白レベルピーク値を検出する第2ピーク検出手段と、前記第1ピーク検出手段の白レベルピーク値と前記第2ピーク検出手段の白レベルピーク値とを比較し、当該比較結果における両者の差が許容値に収まっているかを判断し、前記差が許容値内である場合に正常と判断し、一方、前記差が許容値から外れている場合に前記読み取り手段と前記画像処理手段の何れかのピーク検出手段に異常、またはこれら相互の伝送経路に異常が発生したとみなし、エラー表示を実行するエラー処理手段と、を備えたものである。
【0014】
この発明によれば、CCDなどの撮像素子で読み取った画像データの主走査方向における1ラインの白レベルピーク値を、読み取り手段の第1ピーク検出手段と画像処理手段の第2ピーク検出手段の両側においてそれぞれ検出し、両者で検出した白レベルピーク値を比較して、その比較結果、両者の差が許容値内である場合に正常と判断し、一方、前記差が許容値から外れている場合に前記読み取り手段と前記画像処理手段の何れかのピーク検出手段に異常、またはこれら相互の伝送経路に異常が発生したとみなし、エラー表示を実行することにより、正確な異常発生の判断が可能になる
【0015】
また、請求項2にかかる画像読取装置にあっては、前記許容値は、前記比較結果における両者の差が所定範囲であるか、または前記比較結果における両者の白レベルピーク値が同一値とするものである。
【0016】
この発明によれば、請求項1において、あらかじめ許容値として所定範囲または同一値として設定し、読み取り手段側と画像処理手段側の白レベルピーク値の検出値を上記許容値と比較することにより、同一値の設定の場合には、いずれかのピーク値に異常があるか相互の伝送経路に異常があるかを判断することができ、他方、検出方法による差、たとえば読み取り手段が1主走査ラインのピーク値を検出し、画像処理手段がシェーディグデータのように副走査方向に平均化された値のピーク値のような場合、所定範囲に入っているかを判断することにより、エラー処理を行なう。
【0017】
また、請求項3にかかる画像読取装置にあっては、前記エラー表示は、当該装置の利用者への異常発生および当該装置の保守を行なうサービス区へ連絡要表示とするものである。
【0018】
この発明によれば、請求項1において、両側の白レベルピーク値があらかじめ定めた許容値ではない場合にエラー処理を実行する際に、そのエラー処理として利用者への表示や音声による報知、およびサービスマンコールによる電話報知あるいはサービスセンターへの自動通信といった報知を行なうことにより、迅速な対応を可能にさせる。
【0025】
【発明の実施の形態】
以下、本発明にかかる画像読取装置の好適な実施の形態について添付図面を参照し、詳細に説明する。なお、本発明はこの実施の形態に限定されるものではない。
【0026】
図1は、本発明の実施の形態にかかる画像読取装置の構成を示すブロック図である。この画像読取装置は、大きくは、後述する符号101〜符号105の機能要素を有する光学ユニット100と、後述する符号111〜符号115の機能要素を有する読み取りユニット110と、後述する符号121〜符号125の機能要素を有する画像処理ユニット120と、から構成される。
【0027】
図において、符号101は読取対象の原稿を載置(セット)するためのコンタクトガラス、符号102はシェーディング補正における基準となる基準白板、符号103は原稿を照明する照明ランプ、符号104は原稿あるいは基準白板102の反射光をつぎのレンズに導くミラー、符号105は反射光をつぎのCCDに結像させるレンズである。
【0028】
また、符号111は1ライン毎に読み取るCCD(固体撮像素子)、符号112はCCD111から出力される画像データを適正な白レベルに調整する増幅器、符号113は増幅器112から出力された画像データをデジタルの画像データに変換するA/D変換器、符号114はCCD111やA/D変換器113の駆動、サンプリング信号の生成、読み取り動作に伴う制御ゲート信号(読み取り幅などの設定)の発生や設定のための各レジスタとのシリアルI/F機能を有するタイミングIC、符号115は画像データの主走査1ラインにおける白レベルのピーク値を検出するピーク検出部である。
【0029】
また、符号121は画像データに対するシェーディング補正(歪み補正)やスキャナガンマ補正、MTF補正などの画像処理を行なう画像処理IC、符号122は画像データの主走査1ラインにおける白レベルのピーク値を検出するピーク検出部、符号123は画像処理ユニット120全体を制御プログラムに従ってデータ取得処理やエラー処理などの各種制御を実行するCPU、符号124は制御プログラムが格納されているROM、符号125はCPU123の制御途中のデータ(シェーディングデータを含む)などを格納するといったワーキングメモリとして使用されるRAMである。
【0030】
つぎに、以上のように構成された画像読取装置の動作について説明する。光学ユニット100からの原稿反射光がCCD111に結像されると、まず、CCD111から反射光の強弱に応じた画像データが出力される。この画像データは増幅器112によって適正な白レベルに調整された後、A/D変換器113によってデジタルの画像データに変換される。なお、ここでは、たとえば8bit(256階調)に変換される。この変換された画像データはタイミングIC114に送られ、タイミングIC114によって次段の画像処理ユニット120に同期転送される。このとき、ピーク検出部115は、画像データの主走査1ラインにおける白レベルのピーク値(白レベルの最大値)Y1を検出する。
【0031】
画像処理ユニット120では、タイミングIC114を経由して送られてきた画像データに対し、シェーディング補正などの画像処理を加えた後、プリンタやパーソナルコンピュータなどの外部機器に転送する。また、画像処理ユニット120のピーク検出部122は、読み取りユニット110と同様に、画像データの主走査1ラインにおける白レベルのピーク値(白レベルの最大値)G1を検出する。
【0032】
さて、先に述べたように、従来は画像処理部のみに画像データのピーク信号(白レベルの最大値)を検出する機能を設け、その値を読み取りユニットの増幅器などへフィードバックすることにより、白レベルが適正な範囲になるように調整を行なったり、このピーク値が著しく小さいときには、光源のランプが点灯しないと判断し、エラー処理を行なっていた。このように片側のユニットのみのピーク値検出では、異常が発生しても正確に認識することができず、誤った調整が行なわれることになってしまう。
【0033】
そこで、本発明では、以下のようにしてこれに対応する。この動作を図2に示すフローチャートを用いて説明する。まず、上述したように読み取った画像データを取得し(ステップS11)、読み取りユニット110のピーク検出部115にて主走査1ラインのピーク値Y1を検出する(ステップS12)。続いて、画像データを画像処理ユニット120へ転送し(ステップS13)、画像処理ユニット120のピーク検出部122にて主走査1ラインのピーク値G1を検出する(ステップS14)。
【0034】
続いて、読み取りユニット110側で検出したピーク値Y1と画像処理ユニット120側で検出したピーク値G1とを比較し、Y1=G1であるか否かを判断する(ステップS15)。ここで、Y1=G1ではないと判断した場合、何れかのピーク検出側に異常が発生しているか、相互の伝送経路に異常が発生したとみなし、所定のエラー制御処理を実行する(ステップS16)。このエラー処理は、装置の操作パネル(図示せず)にエラー発生を表示してユーザに知らせたり、サービスマンコールとしてサービス区に知らせるといった処理である。
【0035】
ところで、実用的には、本来同じ読み取りデータからピーク値を検出しているので、上記ピーク値Y1とG1とは同じ値となるはずである。しかし、検出方法による差、たとえば読み取りユニット110が1主走査ラインのピークを検出し、画像処理ユニット120がシェーディングデータのように副走査方向に平均化された値のピーク値のような場合には若干の差が発生する。その場合には、上記ピーク値Y1とG1とが完全に一致する値ではなく、Y1−G1=Kの値が許容される範囲内に収まっているか否かを判断(上記ステップS15に入れ替える)することによって、エラー制御を実行すればよい。
【0036】
ただし、上述した図2のフローチャートの動作と比較した場合、判定精度が多少低下する。また、たとえば画像データのLSBの結線が切れていたり、ショートしているような場合には検出できないことがある。
【0037】
ところで、従来は、先に述べたように、シェーディング板である基準白板102の汚れや、ごみの影響を排除するために、同一画素における前ラインまでのデータと現データとを比較し、その差が一定以上大きいときには、現データはごみなどの影響を受けていると判断して現データをシェーディングデータとして採用しないことが行なわれている。これは、シェーディングデータを生成する際に画素データを重加算平均処理し、ノイズなどの影響を排除するものである。
【0038】
しかしながら、白レベルが何らかの影響で誤っていた場合、たとえば、基準白板102を確実の読み込んでいなかったり、増幅器のゲインがずれている場合にはシェーディングデータ自体が意味をなさなくなる可能性がある。そこで、本発明では、各主走査ラインのピーク値を検出し、その値が適正であるか否かを判断する条件を加えることにより、シェーディングデータの確からしさを確保するものである。この動作を以下に説明する。
【0039】
図3は、本発明の実施の形態にかかるシェーディング補正処理の手順を示すフローチャートである。まず、画像データの主走査ラインのピーク値(Sn peak、Sn:シェーディングのための画素データ))を検出する(ステップS21)。続いて、LSn peak≧Tであるか否かを判断する(ステップS22)。なお、LSn peakは1主走査ライン中の各Snのピーク値、Tはあらかじめ定めた許容可能な白レベル基準値である。
【0040】
上記ステップS22において、LSn peak≧Tであると判断した場合(判断、Yes)、さらに、(ASn−1)−Sn<Kであるか否かを判断する(ステップS23)。なお、ASn−1は重加算データであり、1/4×(3Sn−1 + Sn)、Kはあらかじめ定めた許容可能な白レベルのばらつきである。ここで(ASn−1)−Sn<Kであると判断した場合(判断、Yes)、Snを重加算平均する(ステップS24)。一方、上記ステップS22において、LSn peak≧Tではないと判断した場合(判断、No)、エラー処理を実行する(ステップS25)。このエラー処理は、装置の操作パネル(図示せず)にエラー発生を表示してユーザに知らせたり、サービスマンコールとしてサービス区に知らせるといった処理である。
【0041】
このように、シェーディングのための基準白板102の読み取り時に、各主走査ラインの最大値が、あらかじめ定めた値より大きいときにのみ、シェーディングデータとして採用することにより、誤った状態、すなわち、白レベルが異常なままの状態でシェーディングデータが生成されるのを回避することができると共に、その状態をユーザやサービス区へ知らせることが可能となる。
【0042】
ところで、CCD111には、オプティカルブラックと呼ばれる光学的黒レベルを出力する期間がある。このCCD111の出力状態を図4に示す。図において、aは1ライン出力期間、bはダミー信号(72画素分)、cは有効画素信号(2928画素分)、dおよびfは各空送り(12画素分)、eは光シールド出力(48画素分)、すなわち、オプティカルブラック期間(黒レベル出力期間)である。すなわち、D0〜D71はダミー信号であることを示し、S1〜S2928は有効なデータであることを示し、ダミー信号のうち、D12〜D59の48画素分がオプティカルブラック期間である。
【0043】
このオプティカルブラック期間eは、CCD111内部で遮光することにより、黒レベルを取得し、その後の有効期間の出力が画像データ(白レベル)となる。したがって、画像データの中には黒レベルが含まれており、画像データから黒レベルを除く(デジタル演算として減算する)ことが行なわれている。
【0044】
また、先に述べたように、本来は、有効画素のそれぞれについて遮光(照明ランプ103OFF)した状態で白レベルのようなシェーディング処理を行ない、各画素の黒レベルのばらつきを押さえることを行なえば(黒シェーディング)よいのであるが、回路規模や演算メモリ容量が大きくなる。また、CCD自体の改善でばらつきが小さくなったことによりオプティカルブラック期間eの値を代表値として一律に当てはめてもさほど問題ないとして期間内の画素を平均して代表値とすることが一般に行なわれている。しかしながら、外部的なノイズなどの影響を受けた場合に、この平均処理だけでは影響を排除することができないことが考えられる。
【0045】
そこで、本発明では、オプティカルブラック期間e内のばらつき、たとえば、最大値と最小値の差が一定以上あった場合に、主走査ラインの黒レベル平均は確かではないと判断し、前回使用した黒レベルの代表値をそのまま代表値として使用する。以下、詳述する。
【0046】
図5は、本発明の実施の形態にかかる画像読取装置の黒レベル調整部分の構成を示すブロック図である。図において、符号201はCCD111の奇数画素をサンプルホールドし増幅するサンプルホールドアンプ、符号202はCCD111の偶数画素をサンプルホールドし増幅するサンプルホールドアンプ、符号203はサンプルホールドアンプ201,202の両画素を入力し、何れかを出力するマルチプレクサ、符号204はマルチプレクサ204からの出力信号を増幅するアンプ、符号205はアンプ204から出力される信号の黒レベルを調整するアンプ、符号206はアンプ205から出力される信号をデジタルの画像データに変換するA/D変換器、符号207はD/A変換器、符号208は画像データに含まれる地肌(汚れ)を検出する地肌検出部、符号209は固定データを出力する固定データ出力部、符号210は地肌検出部208,固定データ出力部209,D/A変換器207それぞれのデータ出力を切り換えA/D変換器206のリファレンスに供給するスイッチである。
【0047】
図6は、本発明の実施の形態にかかる黒データの取得処理を示すフローチャートである。まず、図4に示したCCD111のオプティカルブラック期間eをデータをサンプリングする(ステップS31)。続いて、このオプティカルブラック期間e内の最大値と最小値との差を算出する(ステップS32)。続いて、この最大値と最小値との差があらかじめ定めた許容値以上であるか否かを判断する(ステップS33)。ここで許容値以上であると判断した場合(判断、Yes)、主走査ラインの黒レベルのばらつきが大きい(確かではない)とみなし、前回使用したオプティカルブラック期間eの代表値をそのまま黒データとして使用する(ステップS34)。
【0048】
すなわち、オプティカルブラック期間eのデータをサンプリングした後に、平均化演算を行ない、減算レジスタに保存しておく。そして、平均した値が許容範囲を超えた場合には、減算レジスタに対し更新不可のディスエーブル信号を出力することにより、前ラインの黒レベルを代表値として引き続き使用することができる。これにより、黒レベル情報におけるノイズによる誤データの影響が排除され、適正な画像データが得られる。
【0049】
【発明の効果】
以上説明したように、本発明にかかる画像読取装置(請求項1)によれば、CCDなどの撮像素子で読み取った画像データの主走査方向における1ラインの白レベルピーク値を、読み取り手段の第1ピーク検出手段と画像処理手段の第2ピーク検出手段の両側においてそれぞれ検出し、両者で検出した白レベルピーク値を比較して、その比較結果、両者の差が許容値内である場合に正常と判断し、一方、前記差が許容値から外れている場合に前記読み取り手段と前記画像処理手段の何れかのピーク検出手段に異常、またはこれら相互の伝送経路に異常が発生したとみなし、エラー表示を実行するため、読み取り手段と画像処理手段それぞれの異常および両手段間の異常発生を正確に判断することができ、その後の処理も迅速に行なうことができる。
【0050】
また、本発明にかかる画像読取装置(請求項2)によれば、請求項1において、あらかじめ許容値として所定範囲または同一値として設定し、読み取り手段側と画像処理手段側の白レベルピーク値の検出値を許容値と比較することにより、同一値の設定の場合には、いずれかのピーク値に異常があるか相互の伝送経路に異常があるかを判断し、他方、検出方法による差、たとえば読み取り手段が1主走査ラインのピーク値を検出し、画像処理手段がシェーディグデータのように副走査方向に平均化された値のピーク値のような場合、所定範囲に入っているかを判断するため、その結果に基づいた的確なエラー処理を行なうことができる。
【0051】
また、本発明にかかる画像読取装置(請求項3)によれば、請求項1において、両側の白レベルピーク値があらかじめ定めた許容値ではない場合にエラー処理を実行する際に、そのエラー処理として利用者への表示や音声による報知、およびサービスマンコールによる電話報知あるいはサービスセンターへの自動通信といった報知を行なうため、異常箇所に対する修理といった作業が迅速に進み、画像読取装置のダウンタイムを短くすることができる。
【図面の簡単な説明】
【図1】本発明の実施の形態にかかる画像読取装置の構成を示すブロック図である。
【図2】本発明の実施の形態にかかる白ラインピーク値検出の処理動作を示すフローチャートである。
【図3】本発明の実施の形態にかかるシェーディング補正処理の動作を示すフローチャートである。
【図4】CCDの出力状態(タイミング)を示す説明図である。
【図5】本発明の実施の形態にかかる画像読取装置の黒レベル調整部分の構成を示すブロック図である。
【図6】本発明の実施の形態にかかる黒データの取得処理を示すフローチャートである。
【符号の説明】
100 光学ユニット
102 基準白板
110 読み取りユニット
111 CCD
113 A/D変換器
114 タイミングIC
115,122 ピーク検出部
120 画像処理IC
123 CPU
125 RAM
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image reading apparatus such as an image scanner or a digital copying machine, and more specifically, determination of normal / abnormality of a system, determination of appropriateness of shading data, and ensuring of an appropriate level of black level data by detecting a peak of white level. The present invention relates to an image reading apparatus that performs such a control operation.
[0002]
[Prior art]
In the conventional image reading apparatus, it is determined whether the white level value is appropriate or whether the illumination system (lamp) is lit normally by detecting the white level. That is, conventionally, only the image processing unit is provided with a function of detecting a peak signal (maximum white level value) of the image data, and the white level falls within an appropriate range by feeding back the value to the amplifier of the reading unit. If the peak value is extremely small, it is determined that the lamp of the light source is not turned on, and error processing is performed.
[0003]
Further, in the conventional image reading apparatus, in order to eliminate the influence of dirt on the reference white plate for acquiring shading data and the influence of dust, the data up to the previous line in the same pixel is compared with the current data, and the difference between them is compared. When is larger than a certain value, it is determined that the current data is affected by dust and the like, and the current data is not adopted as the shading data. In this method, pixel data is subjected to a double addition averaging process when generating shading data to eliminate the influence of noise and the like.
[0004]
The averaged multiple addition data Sn-1 is compared with the newly sampled data Sn,
Sn-1−Sn = K
When the value of K is larger than the expected noise fluctuation, an abnormal value is determined, and Sn-1 is held as it is without adding Sn. In general, when the reference white plate 102 which is a shading plate is dirty or dusty, the read value becomes small. Therefore, when Sn is affected by dust,
Sn-1 ≧ Sn
It becomes the relationship.
[0005]
The CCD (Charge Coupled Device) has an optical black level output period called optical black. In the optical black period, the black level is acquired by shielding the light inside the CCD, and the output of the subsequent effective period becomes image data (white level). Therefore, the black level is included in the image data, and the black level is removed from the image data (subtracted as a digital calculation).
[0006]
Originally, it is only necessary to perform shading processing such as white level in a state where each effective pixel is shielded from light (illumination lamp OFF) and suppress variation in black level of each pixel (black shading). Scale and computing memory capacity increase. In addition, it is generally performed that the pixels within the period are averaged as a representative value because there is no problem even if the optical black period value is uniformly applied as a representative value due to the small variation due to the improvement of the CCD itself. Yes.
[0007]
[Problems to be solved by the invention]
However, in the conventional image reading apparatus as described above, the peak value is detected only on one side of the reading unit or the image processing unit, so that even if an abnormality occurs, it is accurately recognized. There is a problem in that it cannot be performed and incorrect adjustment is performed.
[0008]
In addition, in the conventional shading data acquisition, if the white level is incorrect due to some influence, for example, if the reference white plate is not read reliably or the gain of the amplifier is shifted, the shading data itself is meaningful. There was a possibility that it would disappear.
[0009]
Furthermore, in the past, the influence of noise has been eliminated by averaging the data of the sampled optical black output period of the CCD. There was a possibility that the influence could not be completely eliminated.
[0010]
The present invention has been made in view of the above, and by detecting the white level peak value on both sides of the reading unit and the image processing unit, it is possible to accurately determine the occurrence of an abnormality and accurately deal with post-processing. The first object is to perform it quickly.
[0013]
[Means for Solving the Problems]
In order to achieve the above object, in the image reading apparatus according to claim 1, an original image to be read is optically imaged on an image sensor and read as image data, and read by the reading means. And an image processing unit that performs shading correction processing and MTF correction processing on the obtained image data. The image reading device is provided in the reading unit and read in the main scanning direction of the image data of the reference white plate read by the image sensor. First peak detection means for detecting a white level peak value for one line, and second peak detection provided in the image processing means for detecting a white level peak value for one line in the main scanning direction of the image data of the reference white plate And a white level peak value of the first peak detecting means and a white level peak value of the second peak detecting means. Determine the difference between them in the comparison result is within the allowable value, it is determined to be normal if the difference is within the allowable value, on the other hand, the said reading means if said difference is out of tolerance And an error processing means for executing error display on the assumption that any one of the peak detection means of the image processing means is abnormal or an abnormality has occurred in the mutual transmission path .
[0014]
According to the present invention, the white level peak value of one line in the main scanning direction of image data read by an image pickup device such as a CCD is obtained on both sides of the first peak detecting means of the reading means and the second peak detecting means of the image processing means. When the white level peak values detected by the two are compared, and the difference between the two is within the allowable value, it is determined to be normal. On the other hand, the difference is outside the allowable value. In addition, it is considered that an abnormality has occurred in one of the reading means and the peak detection means of the image processing means, or an abnormality has occurred in the transmission path between them, and an error display is executed, so that it is possible to accurately determine the occurrence of an abnormality. Become .
[0015]
In the image reading apparatus according to claim 2, the permissible value is such that a difference between the two in the comparison result is within a predetermined range , or a white level peak value in the comparison result is the same value . Is.
[0016]
According to the present invention, in claim 1, by setting in advance a predetermined range or the same value as an allowable value, and comparing the detected value of the white level peak value on the reading means side and the image processing means side with the allowable value, In the case of setting the same value, it is possible to determine whether any of the peak values is abnormal or whether there is an abnormality in the mutual transmission path. On the other hand, the difference depending on the detection method, for example, the reading means is one main scanning line. In the case where the peak value of the value averaged in the sub-scanning direction as in the shading data is detected, the error processing is performed by determining whether the peak value is within a predetermined range. .
[0017]
Further, in the image reading apparatus according to claim 3, wherein the error indication is for a display of abnormality and contact needed to service ku perform maintenance of the apparatus to the user of the device.
[0018]
According to the present invention, when error processing is executed when the white level peak value on both sides is not a predetermined allowable value in claim 1, the error processing includes display to the user and notification by voice, By making a notification such as telephone notification by a serviceman call or automatic communication to a service center, it is possible to respond quickly.
[0025]
DETAILED DESCRIPTION OF THE INVENTION
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, a preferred embodiment of an image reading apparatus according to the invention will be described in detail with reference to the accompanying drawings. The present invention is not limited to this embodiment.
[0026]
FIG. 1 is a block diagram showing a configuration of an image reading apparatus according to an embodiment of the present invention. The image reading apparatus mainly includes an optical unit 100 having functional elements 101 to 105 described later, a reading unit 110 having functional elements 111 to 115 described later, and 121 to 125 described later. And an image processing unit 120 having the following functional elements.
[0027]
In the figure, reference numeral 101 is a contact glass for placing (setting) a document to be read, reference numeral 102 is a reference white plate serving as a reference for shading correction, reference numeral 103 is an illumination lamp for illuminating the original, and reference numeral 104 is a document or reference. A mirror for guiding the reflected light of the white plate 102 to the next lens, and a lens 105 for imaging the reflected light on the next CCD.
[0028]
Reference numeral 111 denotes a CCD (solid-state imaging device) that reads line by line, reference numeral 112 denotes an amplifier that adjusts the image data output from the CCD 111 to an appropriate white level, and reference numeral 113 denotes digital image data output from the amplifier 112. The A / D converter 114 converts the image data into the image data, and the reference numeral 114 denotes the drive of the CCD 111 and the A / D converter 113, the generation of the sampling signal, and the generation and setting of the control gate signal (setting of the reading width, etc.) accompanying the reading operation. A timing IC having a serial I / F function with each register, and a reference numeral 115 is a peak detection unit for detecting a white level peak value in one main scanning line of image data.
[0029]
Reference numeral 121 denotes an image processing IC that performs image processing such as shading correction (distortion correction), scanner gamma correction, and MTF correction on the image data, and reference numeral 122 detects a white level peak value in one main scanning line of the image data. A peak detection unit, reference numeral 123 denotes a CPU that executes various controls such as data acquisition processing and error processing according to the control program for the entire image processing unit 120, reference numeral 124 denotes a ROM that stores the control program, and reference numeral 125 denotes a control process in the middle of the CPU 123. This RAM is used as a working memory for storing data (including shading data).
[0030]
Next, the operation of the image reading apparatus configured as described above will be described. When the original reflected light from the optical unit 100 is imaged on the CCD 111, first, image data corresponding to the intensity of the reflected light is output from the CCD 111. The image data is adjusted to an appropriate white level by the amplifier 112 and then converted to digital image data by the A / D converter 113. Here, for example, it is converted into 8 bits (256 gradations). The converted image data is sent to the timing IC 114, and is synchronously transferred to the next-stage image processing unit 120 by the timing IC 114. At this time, the peak detector 115 detects a white level peak value (maximum white level) Y1 in one main scanning line of the image data.
[0031]
The image processing unit 120 performs image processing such as shading correction on the image data sent via the timing IC 114 and then transfers the image data to an external device such as a printer or a personal computer. Similarly to the reading unit 110, the peak detection unit 122 of the image processing unit 120 detects a white level peak value (maximum white level value) G1 in one main scanning line of image data.
[0032]
As described above, conventionally, only the image processing unit is provided with a function for detecting the peak signal (maximum white level value) of the image data, and the value is fed back to the amplifier of the reading unit, so that white Adjustment was made so that the level was in an appropriate range, or when this peak value was extremely small, it was determined that the lamp of the light source did not light, and error processing was performed. As described above, in the peak value detection of only one unit, even if an abnormality occurs, it cannot be accurately recognized, and erroneous adjustment is performed.
[0033]
Therefore, the present invention addresses this as follows. This operation will be described with reference to the flowchart shown in FIG. First, the image data read as described above is acquired (step S11), and the peak value Y1 of one main scanning line is detected by the peak detector 115 of the reading unit 110 (step S12). Subsequently, the image data is transferred to the image processing unit 120 (step S13), and the peak detection unit 122 of the image processing unit 120 detects the peak value G1 of one main scanning line (step S14).
[0034]
Subsequently, the peak value Y1 detected on the reading unit 110 side is compared with the peak value G1 detected on the image processing unit 120 side, and it is determined whether Y1 = G1 (step S15). If it is determined that Y1 = G1 is not satisfied, it is considered that an abnormality has occurred on any of the peak detection sides or an abnormality has occurred in the mutual transmission path, and a predetermined error control process is executed (step S16). ). This error process is a process of displaying an error occurrence on the operation panel (not shown) of the apparatus and notifying the user, or notifying the service area as a service man call.
[0035]
Practically, since the peak value is originally detected from the same read data, the peak values Y1 and G1 should be the same value. However, when there is a difference depending on the detection method, for example, when the reading unit 110 detects a peak of one main scanning line and the image processing unit 120 is a peak value of a value averaged in the sub-scanning direction like shading data. A slight difference occurs. In that case, it is determined whether or not the value of Y1−G1 = K is within the allowable range, and the peak values Y1 and G1 are not completely coincident (replaced in step S15). Therefore, error control may be executed.
[0036]
However, when compared with the operation of the flowchart of FIG. 2 described above, the determination accuracy is somewhat lowered. In addition, for example, when the LSB connection of image data is broken or short-circuited, it may not be detected.
[0037]
Conventionally, as described above, in order to eliminate the influence of dirt and dust on the reference white plate 102 which is a shading plate, the data up to the previous line in the same pixel and the current data are compared, and the difference When is larger than a certain value, it is determined that the current data is affected by dust and the like, and the current data is not adopted as the shading data. In this method, pixel data is subjected to a double addition averaging process when generating shading data to eliminate the influence of noise and the like.
[0038]
However, if the white level is wrong due to some influence, for example, if the reference white plate 102 is not read reliably or the gain of the amplifier is deviated, the shading data itself may become meaningless. Therefore, in the present invention, the peak value of each main scanning line is detected and a condition for determining whether or not the value is appropriate is added to ensure the accuracy of the shading data. This operation will be described below.
[0039]
FIG. 3 is a flowchart showing a procedure of shading correction processing according to the embodiment of the present invention. First, the peak value (Sn peak, Sn: pixel data for shading) of the main scanning line of the image data is detected (step S21). Subsequently, it is determined whether or not LSn peak ≧ T (step S22). Note that LSn peak is a peak value of each Sn in one main scanning line, and T is a predetermined allowable white level reference value.
[0040]
If it is determined in step S22 that LSn peak ≧ T (determination, Yes), it is further determined whether (ASn-1) −Sn <K (step S23). Note that ASn-1 is the double addition data, 1/4 × (3Sn-1 + Sn), and K is a predetermined allowable white level variation. Here, when it is determined that (ASn-1) -Sn <K (determination, Yes), Sn is added and averaged (step S24). On the other hand, if it is determined in step S22 that LSn peak ≧ T is not satisfied (determination, No), error processing is executed (step S25). This error process is a process of displaying an error occurrence on the operation panel (not shown) of the apparatus and notifying the user, or notifying the service area as a service man call.
[0041]
As described above, when the reference white plate 102 for shading is read, only when the maximum value of each main scanning line is larger than a predetermined value, it is adopted as shading data, so that an incorrect state, that is, a white level is obtained. It is possible to avoid the generation of shading data in a state where is abnormal, and to notify the user or service area of the state.
[0042]
By the way, the CCD 111 has a period for outputting an optical black level called optical black. The output state of the CCD 111 is shown in FIG. In the figure, a is a one-line output period, b is a dummy signal (for 72 pixels), c is an effective pixel signal (for 2928 pixels), d and f are each idle feed (for 12 pixels), and e is a light shield output (for 12 pixels). 48 pixels), that is, an optical black period (black level output period). That is, D0 to D71 indicate dummy signals, S1 to S2928 indicate valid data, and among the dummy signals, 48 pixels D12 to D59 are the optical black period.
[0043]
In the optical black period e, the black level is acquired by shielding the light inside the CCD 111, and the output in the subsequent effective period becomes image data (white level). Therefore, the black level is included in the image data, and the black level is removed from the image data (subtracted as a digital calculation).
[0044]
Further, as described above, originally, if each effective pixel is shielded from light (illumination lamp 103 OFF), shading processing such as white level is performed to suppress variation in black level of each pixel ( Black shading) is good, but the circuit scale and the calculation memory capacity increase. In addition, it is generally performed that the pixels within the period are averaged to be the representative value because there is no problem even if the optical black period e is uniformly applied as the representative value due to the small variation due to the improvement of the CCD itself. ing. However, when affected by external noise or the like, it is conceivable that the influence cannot be eliminated only by this averaging process.
[0045]
Therefore, in the present invention, when the variation within the optical black period e, for example, the difference between the maximum value and the minimum value is greater than or equal to a certain value, it is determined that the black level average of the main scanning line is not certain, and the previously used black The representative value of the level is used as a representative value as it is. Details will be described below.
[0046]
FIG. 5 is a block diagram showing the configuration of the black level adjustment portion of the image reading apparatus according to the embodiment of the present invention. In the figure, reference numeral 201 is a sample and hold amplifier that samples and holds odd pixels of the CCD 111, a reference numeral 202 is a sample and hold amplifier that samples and holds even pixels of the CCD 111, and reference numeral 203 is both sample hold amplifiers 201 and 202. Multiplexer that inputs and outputs either, reference numeral 204 is an amplifier that amplifies the output signal from the multiplexer 204, reference numeral 205 is an amplifier that adjusts the black level of the signal output from the amplifier 204, and reference numeral 206 is output from the amplifier 205. A / D converter that converts the signal to digital image data, 207 is a D / A converter, 208 is a background detection unit that detects the background (dirt) included in the image data, and 209 is fixed data. Fixed data output unit to output, reference numeral 210 is background detection 208 is a switch for supplying the reference fixed data output section 209, D / A converter 207 is switched each data output A / D converter 206.
[0047]
FIG. 6 is a flowchart showing black data acquisition processing according to the embodiment of the present invention. First, data is sampled during the optical black period e of the CCD 111 shown in FIG. 4 (step S31). Subsequently, the difference between the maximum value and the minimum value in the optical black period e is calculated (step S32). Subsequently, it is determined whether or not the difference between the maximum value and the minimum value is greater than or equal to a predetermined allowable value (step S33). If it is determined that the value is equal to or greater than the allowable value (Yes, determination), it is considered that the black level variation of the main scanning line is large (not sure), and the representative value of the optical black period e used last time is used as black data as it is. Used (step S34).
[0048]
That is, after sampling the data of the optical black period e, an averaging operation is performed and stored in the subtraction register. When the average value exceeds the allowable range, the black level of the previous line can be continuously used as the representative value by outputting a non-updatable disable signal to the subtraction register. Thereby, the influence of erroneous data due to noise in the black level information is eliminated, and appropriate image data can be obtained.
[0049]
【The invention's effect】
As described above, according to the image reading apparatus (claim 1) of the present invention, the white level peak value of one line in the main scanning direction of the image data read by the image pickup device such as a CCD is read by the reading means. Detected on both sides of the first peak detecting means and the second peak detecting means of the image processing means, the white level peak values detected by both are compared, and the result of the comparison is normal if the difference between them is within an allowable value On the other hand, if the difference deviates from the allowable value, it is considered that an error has occurred in any of the reading means and the peak detection means of the image processing means, or an abnormality has occurred in the mutual transmission path, and an error has occurred. for performing display, it is possible to accurately determine the abnormality between the reading means and the image processing unit each of the abnormality and both means, also be performed rapidly subsequent processing That.
[0050]
According to the image reading apparatus of the present invention (Claim 2), in Claim 1, the allowable value is set in advance as a predetermined range or the same value, and the white level peak values on the reading means side and the image processing means side are set. By comparing the detection value with the permissible value, in the case of setting the same value, it is determined whether there is an abnormality in any of the peak values or in the mutual transmission path. For example, when the reading means detects the peak value of one main scanning line and the image processing means is a peak value of a value averaged in the sub-scanning direction such as shading data, it is determined whether it is within a predetermined range. Therefore, accurate error processing based on the result can be performed.
[0051]
According to the image reading apparatus of the present invention (claim 3), when the error processing is executed when the white level peak value on both sides is not a predetermined allowable value in claim 1, the error processing is performed. As a notification to the user, notification by voice, telephone notification by serviceman call or automatic communication to the service center, work such as repairing abnormal parts proceeds quickly, and downtime of the image reading apparatus is shortened. can do.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an image reading apparatus according to an embodiment of the present invention.
FIG. 2 is a flowchart showing a processing operation of white line peak value detection according to the embodiment of the present invention.
FIG. 3 is a flowchart showing an operation of a shading correction process according to the embodiment of the present invention.
FIG. 4 is an explanatory diagram showing an output state (timing) of a CCD.
FIG. 5 is a block diagram showing a configuration of a black level adjustment portion of the image reading apparatus according to the embodiment of the present invention.
FIG. 6 is a flowchart showing black data acquisition processing according to the embodiment of the present invention;
[Explanation of symbols]
100 Optical unit 102 Reference white plate 110 Reading unit 111 CCD
113 A / D converter 114 Timing IC
115, 122 Peak detector 120 Image processing IC
123 CPU
125 RAM

Claims (3)

読取対象の原稿を撮像素子に光学的に結像させ、画像データとして読み取る読み取り手段と、前記読み取り手段で読み取った画像データに対してシェーディング補正処理、MTF補正処理を加える画像処理手段と、を有する画像読取装置において、
前記読み取り手段に設けられ、前記撮像素子で読み取った基準白板の画像データの主走査方向における1ラインの白レベルピーク値を検出する第1ピーク検出手段と、
前記画像処理手段に設けられ、前記基準白板の画像データの主走査方向における1ラインの白レベルピーク値を検出する第2ピーク検出手段と、
前記第1ピーク検出手段の白レベルピーク値と前記第2ピーク検出手段の白レベルピーク値とを比較し、当該比較結果における両者の差が許容値に収まっているかを判断し、前記差が許容値内である場合に正常と判断し、一方、前記差が許容値から外れている場合に前記読み取り手段と前記画像処理手段の何れかのピーク検出手段に異常、またはこれら相互の伝送経路に異常が発生したとみなし、エラー表示を実行するエラー処理手段と、
を備えたことを特徴とする画像読取装置。
A reading unit that optically forms an image of a document to be read on an image sensor and reads the image data as image data, and an image processing unit that adds shading correction processing and MTF correction processing to the image data read by the reading unit. In the image reading device,
A first peak detection unit that is provided in the reading unit and detects a white level peak value of one line in the main scanning direction of image data of a reference white plate read by the image sensor;
A second peak detecting means provided in the image processing means for detecting a white level peak value of one line in the main scanning direction of the image data of the reference white plate ;
The white level peak value of the first peak detecting means and the white level peak value of the second peak detecting means are compared, and it is determined whether the difference between the two in the comparison result falls within an allowable value. If it is within the value, it is judged as normal, while if the difference is outside the allowable value , either the reading means or the peak detection means of the image processing means is abnormal, or the mutual transmission path is abnormal. An error processing means for executing an error display ,
An image reading apparatus comprising:
前記許容値は、前記比較結果における両者の差が所定範囲であるか、または前記比較結果における両者の白レベルピーク値が同一値とすることを特徴とする請求項1に記載の画像読取装置。2. The image reading apparatus according to claim 1, wherein the allowable value is such that a difference between the two in the comparison result is within a predetermined range or the white level peak value in the comparison result is the same value . 前記エラー表示は、当該装置の利用者への異常発生および当該装置の保守を行なうサービス区へ連絡要表示であることを特徴とする請求項1に記載の画像読取装置。The error display includes an image reading apparatus according to claim 1, characterized in that a display of the contact main to service ku performing maintenance abnormality and the device to the user of the device.
JP2000182132A 2000-06-16 2000-06-16 Image reading device Expired - Fee Related JP4027573B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000182132A JP4027573B2 (en) 2000-06-16 2000-06-16 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000182132A JP4027573B2 (en) 2000-06-16 2000-06-16 Image reading device

Publications (2)

Publication Number Publication Date
JP2002010078A JP2002010078A (en) 2002-01-11
JP4027573B2 true JP4027573B2 (en) 2007-12-26

Family

ID=18682954

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000182132A Expired - Fee Related JP4027573B2 (en) 2000-06-16 2000-06-16 Image reading device

Country Status (1)

Country Link
JP (1) JP4027573B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010010189A (en) * 2008-06-24 2010-01-14 Shinetsu Film Kk Back sheet for solar cell module having excellent weatherability
JP6733229B2 (en) 2016-03-15 2020-07-29 株式会社リコー Solid-state imaging device, image reading device, and image forming device

Also Published As

Publication number Publication date
JP2002010078A (en) 2002-01-11

Similar Documents

Publication Publication Date Title
US7463294B2 (en) Signal processing unit for correcting shading of image signal, and electronic camera
JP2005045423A (en) Image processor
JPH11164147A (en) Image reader
KR20010050876A (en) Method for detecting a pixel defect and image processing device
US20050030412A1 (en) Image correction processing method and image capture system using the same
JP4027573B2 (en) Image reading device
US7251064B2 (en) Calibration of an image scanning system
JPH0799850B2 (en) Image reading device for image recording device
JP3985985B2 (en) Image reading apparatus and image processing apparatus including the image reading apparatus
JP3501717B2 (en) Image reading device, opaque object detection method, and storage medium
US7542177B2 (en) Image reading device and shading correcting method for the same
JP2002152509A (en) Image reader
JP4262253B2 (en) Image pickup apparatus having image signal processing apparatus, and camera using the same
JP3907847B2 (en) Image processing device
JP4239302B2 (en) Image reading device
KR100265885B1 (en) Method for compensating the shading distortion in scanner
JP2000358160A (en) Image reader
JP2882227B2 (en) Pixel defect correction device
JP2004222180A (en) Image processor
JP2006148748A (en) Pixel defect correcting device and pixel defect correcting method
JPH11122490A (en) Image reader
JP2000106629A (en) Image reader
JPH114345A (en) Image processor
JP2000349966A (en) Image reader
JP2006087053A (en) Image reading apparatus, image reading method, program, recording medium and image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050114

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050127

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070227

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070427

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: 20071009

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071010

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

Free format text: PAYMENT UNTIL: 20101019

Year of fee payment: 3

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: 20111019

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121019

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131019

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees