JP3582988B2 - Non-contact image reader - Google Patents

Non-contact image reader Download PDF

Info

Publication number
JP3582988B2
JP3582988B2 JP18713798A JP18713798A JP3582988B2 JP 3582988 B2 JP3582988 B2 JP 3582988B2 JP 18713798 A JP18713798 A JP 18713798A JP 18713798 A JP18713798 A JP 18713798A JP 3582988 B2 JP3582988 B2 JP 3582988B2
Authority
JP
Japan
Prior art keywords
unit
image
document
housing
reading
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
JP18713798A
Other languages
Japanese (ja)
Other versions
JP2000022869A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP18713798A priority Critical patent/JP3582988B2/en
Publication of JP2000022869A publication Critical patent/JP2000022869A/en
Application granted granted Critical
Publication of JP3582988B2 publication Critical patent/JP3582988B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、紙などの媒体に記載,印字された文字や図形,画像、又は押印された印影などの情報を非接触で読み取り認識したり、照合する画像読取装置に関する。特に読み取り位置を自由に可変可能な画像入力装置に制御方法及び、それを用いた制御システムに関する。
【0002】
【従来の技術】
現在製品化されている画像入力装置としては、フラットベッドスキャナ,シートスキャナ,デジタルカメラ等がある。しかし、フラットベッドスキャナは、解像度が高いが、設置面積が大きく読み取り速度が遅い、また、シートスキャナは、設置面積は小さいが、シート形状のものしか読み取れない。デジタルカメラは、文書などの高解像度の画像が撮れないというように、一長一短があり、様々なものを高速に高画質で読み取りたいというユーザのニーズを満たしていなかった。
【0003】
また、本発明を含む非接触型の例としては、例えば特開平8−9102 号公報,特開平8−274955号公報,特開平8−154153号公報などに記載されているものが提案されている。
【0004】
【発明が解決しようとする課題】
上記従来技術文献では、略上方からの読み取り位置に固定されており、画像を読み取る際に設置面積が大きくなり、自由な位置からの読み取りができない問題があった。
【0005】
よって、本発明の第1の目的は、自由度が高く、操作性の良い非接触型画像読取装置を提供することにある。
【0006】
また、第2の目的は、高速読取が可能で、高画質に文書画像を入力,認識する非接触画像読取装置を提供することにある。
【0007】
第3の目的は、小型で低価格な画像読取装置を提供することにある。
【0008】
【課題を解決するための手段】
少なくとも上記目的の1つを解決するために、本発明は、原稿を読み取るセンサ部を収納する筐体と、前記筐体を支持する支持体と、前記原稿を置く原稿置き台と、前記筐体と前記原稿の位置関係を検出する検出部と、前記位置関係に基づいて歪んだ画像を補正する画像補正部を有する。
【0009】
また、原稿を読み取るセンサ部を収納する筐体と、前記筐体を支持し、前記筐体を可動とするための可動部を有する支持体と、前記原稿の位置を認識するための目印が付加され、前記原稿を置く原稿置き台と、前記目印に基づいて前記筐体と前記原稿の位置関係を検出する検出部と、前記筐体に付加され、前記検出部を起動するスイッチと、前記位置関係に基づいて歪んだ画像を補正する画像補正部を有する。
【0010】
このように原稿と筐体の位置関係を検出する検出部を有することで、筐体が原稿に対して、どのような位置(例えば斜め上方など)でも原稿を正確に読み取ることができ、高画質に原稿を入力・認識することが出来る。
【0011】
また、支持体に可動部を設けることで、自由な位置からの読み取りはもちろんのこと、何もやならい時には、筐体を別な位置に動かしておくことができ、他の作業の邪魔にはならない。さらには、筐体と支持台と原稿置き台といった、簡単な構成にすることで、小型,低価格の画像読取装置を提供できる。
【0012】
【発明の実施の形態】
以下、本発明の一実施例について図面を参照して説明する。
【0013】
図1は本発明の一実施例の画像読取装置の機能ブロック図を示したものである。本発明の画像入力装置100は、可動スキャナ101から画像データを読み込み、認識部108へ二値データを出力する。この可動スキャナ101は、文書を正上方から読み込むだけでなく、斜め上方からの読み込みを行う。このため、撮像画像は、長方形とならない場合がある。このまま二値化すると文字が歪んでくるため認識ができない。このため、透視変換部105で歪んだ画像を透視変換し、正面から撮像した画像に変換する必要がある。しかし、読み取り位置によって変換係数が異なるため、読み取り位置移動毎に調節しなければならない。そこで、移動後、可動スキャナ101に装着した座標検出スイッチ102により、切り替え器106を制御し、可動スキャナ101の出力を、そのまま二値化し、座標検出器103で、矩形の頂点を抽出し、係数決定部104で、透視変換のための係数を決定し、透視変換部105へ係数を出力する。その後、座標検出スイッチ102を切り替え、今度は、可動スキャナ101の出力を透視変換部105を経由し、二値化処理部107で二値化し、認識部108に、歪みのない二値化画像データを出力する。
【0014】
このように非接触で、自在な位置から読取を実現できるので、画像入力の効率化を実現出来る。また、読取センサ位置を移動しても、自動で歪み補正係数を算出するので、再度設定をする必要が無い。また、センサの筐体に、基準位置読取指示スイッチがあるので、操作が簡単で、キーボードを探す必要が無く、パソコンのソフトウエアなどディジタルの画像処理で歪み補正を実施するため、装置の低コスト化に寄与できるといったメリットがある。
【0015】
図2は、本発明の一実施例の画像読取装置のハードウエアブロック図を示したものである。可動スキャナ101の中には画像を読み取るセンサが格納され、センサからのアナログ信号はA/D変換され、前処理ボード120にディジタル多値信号として電送される。前処理ボード120には、センサバラツキ補正部125 で、センサの奇数偶数ビットバラツキなどを補正し、DMAコントローラ126にて、処理本体であるパソコン121に転送される。ここで接続バス127は PCIバスを用いた。パソコン121では、送られた画像信号を一時、メモリ 128に蓄え、キーボード123を介して指示を受けCPU124にて画像補正,処理,認識を行い、結果をディスプレイ122に表示したり、ファイル129に格納する。
【0016】
ここで、読取原稿112は、原稿置き台111上に置かれるが、事前に原稿置き台にマークされた位置決めマーカ113a,b,c,dを、可動スキャナ101 に装着された座標検出スイッチ102で指示することにより検出し、画像の幾何学的な歪み量を検出し補正する。
【0017】
次に、図3に、本発明である画像読み取り処理のフローチャートを示す。まず、座標検出スイッチ押下検出部504によって、座標検出スイッチ102が押下されているかどうかを判断し、押下されると原稿置き台にマークされた位置決めマーカ113a、b、c、dをテンプレートマッチングなどの画像を比較して検出する方法で、その座標位置を基準座標検出部505にて検出する。そしてこれらの座標位置が正常かどうかを座標位置判断部506により判断し、座標位置に不整合や範囲のはみ出しが発生して異常と判断された時は、アラーム発行部508 によりアラームを発して警告する。座標位置が正常な場合は、歪んだ画像を投透視して変換するための座標変換パラメータを座標変換パラメータ算出部507により算出し、そのパラメータに基づいて透視変換部509により透視変換処理を実行して、正面から撮影したような画像に変換させ、その画像を認識処理512にて認識してディスプレイ等の表示機器へ表示する。
【0018】
図4は、パソコン121内での、画像補正,画像処理,認識処理のソフトウエアの構成を示している。まず、基準位置検出モードでは、基準位置検出スイッチ入力部403で座標検出スイッチ102の押下を検出すると、可動スキャナ101 から入力した画像信号は、画質補正部401で信号補正し、選択器404を経由し、浮動閾値二値化器405で二値化データに変換し、基準座標検出部408で座標値を検出し、透視変換係数抽出部409で係数を求め、透視変換部402へパラメータとして出力する。ここで、図中の破線はコントロール信号,パラメータ信号を示し、太い実線は多値データ、細い実線は二値データを示している。
【0019】
このようなアラーム機能を付加することで移動位置が不適切で読取範囲を超えてしまってもアラームで知らせるため、設定ミスが無い。
【0020】
次に、読取モードでは、可動スキャナ101からの信号は、同様に画質補正部401で信号補正後透視変換部402で歪んだ画像の幾何学歪みを正規化し、正面から見た画像に変換する。その出力は、選択器404を経由し、浮動閾値二値化器405で二値化し、認識処理部407に転送され、文字や記号を認識する。
以下、各部の詳細を説明する。
【0021】
図5は、画質補正部401での処理手順を示している。スキャナからの信号を、まず二次元シェーディング補正601し、蛍光燈からのちらつき補正602し、画像の重畳603によりノイズを軽減し、距離によってフィルタをフィルタ可変部604で可変し、画質の補正を実施している。
【0022】
以下、さらにこれらの詳細を説明する。
【0023】
図6は、二次元シェーディング補正601の詳細処理のフローチャートを示している。(a)は、白紙入力を用いた基準値作成である。白紙を白紙読取部6011により読み取り、白紙を読み取った波形が、どのように歪んでいるのかによって、その形状モデルを形状モデル作成部6012により作成する。一般的に、中央部が明るく、周辺部が暗い特性になるので、屋根状モデルに実際の中央および周辺の読取レベルを合わせ込めば、モデルが完成する。次に、これから、各読取ラインにおける歪みを表す式を式抽出部6013により抽出し、登録部6014によりテーブルに登録する。これは、すべてのラインのすべての画素について作成すれば、完全な補正が実現できるが、実際は、大まかな補正で十分であり、最初のライン,中央のライン,最後のラインなど特徴的なラインのみテーブル化しておき、それ以外は注目しているライン位置や画素位置でリニア補完処理することで補正が実現できる。
【0024】
次に、(b)は、読取モードで、座標入力部により注目画素の座標を入力し、上述のようにテーブル補間部6016によりテーブルの補間を行い、シューディング参照値算出部6017によって注目画素位置のシェーディング参照値を算出し、補間演算部6018により補間演算する。これは、入力画素値をシェーディング参照値で除算し、正規化すべき最大値を乗算することで正規化している。しかし、CPU124による除算は時間がかかるので、これもテーブルを用いて演算している。
【0025】
図7は、ちらつき防止の詳細フローを示している。本発明のスキャナでは、特別な照明なく、自由位置で読み取るスキャナであるため、蛍光燈のちらつきに影響を受ける。このため、ライン単位で、最大輝度検出部6021によりライン内の輝度の最大値を検出し、リミット値比較部6022において検出値がリミット値以上であれば、ここでの正規化参照値として採用し、そうでなければリミット値を参照値として用いる。これは、情報の無い、たとえば紙から外れた領域のラインを読んだとき、あやまってそのラインの最大値を参照値として用いないためである。参照値が求まれば、正規化演算部6024により画素毎に正規化する。また、本発明のスキャナでは、読取時照明が暗い場合、ノイズが多いため、同じ画像を複数枚撮影し、これを重ね合わせ平均化することでノイズの削減を実施している。
【0026】
図8は、距離によってフィルタを可変するフローを示している。まず、距離計算部6041によりカメラから特定の読取位置までの距離の計算を行い、これを用いてレンズによるボケ補正を実施している。そして補正範囲判断部6042においてフィルタで補正できる範囲であれば、ピントが合った位置からのずれ量を計算し、フィルタ係数制御部6043により先鋭化フィルタの係数を制御する。もし、補正範囲外に出てしまったら、リミッタ値固定部6045によりフィルタのリミッタ値を適用する。これをフィルタ演算部6044により画素毎に適用することで、高画質化が可能になった。
【0027】
図9は、浮動閾値二値化器405の概念図(a)と詳細フロー(b)を示している。主走査方向XWIN画素,副走査方向YWIN画素のブロックで合計値を求め、これから平均値を算出する。ここで、計算結果を利用することで、処理時間を短縮している。つまり、合計値SUMは、スティックStick[x],Stick [x−XWIN]を用いて、合計値更新部4061によりSUM=SUM+Stick [x]−Stick[x−XWIN] 記述でき、スティックも同様に、スティック更新部4060にて、Stick[x]=Stick「x」+pImg[x+y_old_adr]−pImg[x+y_old_adr]と表すことができる。このため、ウインドウサイズに依存すること無く、1ウインドウにつき、4メモリアクセス,4加減算で合計値を求めることができる。
【0028】
図10は、基準座標検出フローを示している。まず、位置決めマーク検出部 4081にて位置決めマークを検出し、読取範囲判断部4082において、マーク位置が読取範囲内にあれば、座標リスト作成部4083により座標リストを作成し、正規化補正係数演算部4084によって正規化補正係数を求める。そして基準マークが範囲外であれば、アラーム発行部4085によりアラームを発行する。ここで、位置決めマークの検出アルゴリズムは、一般的に知られているテンプレートマッチング手法を用いているため、ここでは詳しく述べない。テンプレートとして、基準マークとして用いた画像を登録しておき、これを全画像にわたりマッチング処理させることで、類似度の高い位置を検出位置としている。
【0029】
図11は、透視変換前の読取画像の形態を示している。スキャナから読み取った多値データはメモリに図11のように格納されている。つまり、長方形の画像を読み取っても、A−D辺のように近くの画像は大きく見え、B−C辺のように遠くの画像は小さく見える。
【0030】
図12に透視変換の詳細フローを示す。透視変換では、まず、スタート位置計算部4090にて、A−B辺を垂直にそろえ、縮小値計算部4091にて画像を各ラインで縮小率を変化させ、縮小処理部4092により、すべてB−C辺の長さ:Dest_Widthに統一することで実現している。
【0031】
ここでは、歪みが台形の場合を示したが、一般的には歪んだ矩形に変形している。
【0032】
図13は、可動スキャナ101の支持体をフレキシブル支持体1101にした例を示す。このような自由に可動する支持体によるスキャンで読取を行うと、メモリには(b)のように、原稿台がA,B,C,Dのように歪んでおり、そこに置かれた文書もE,F,G,Hのように歪んでいる。しかし、このような歪みは、基準座標さえわかれば、3Dグラフィックス処理で良く用いられるテクスチャーマッピングの手法で、高画質にマッピング可能である。
【0033】
図14は、本発明のスキャナを印鑑照合機に適用した例である。スキャナから取り込んだ印鑑画像を、本発明の画像処理部で補正し、キーボード123から指示されたテンプレートとしての照合画像をテンプレート読み出し部1202で、テンプレートファイル1203から読み出し、照合部1204で照合し、結果出力部1206でディスプレイ122に表示する。このことにより、従来用紙の種類が限定されていた印鑑照合書類の種類数を飛躍的に増やすことができ、高速化,省力化できるというメリットがある。
【0034】
図15は、本発明のスキャナをディスプレイと一体化させた例である。ディスプレイ下部にセンサおよびセンサ筐体を取り付け、ディスプレイ上部に回転ミラー1011を取り付け、原稿置き台111上に置かれた画像を回転ミラー1011に反射させセンサで読み取る。このようにすることで、従来のフラットベッドスキャナのように場所を取ることなく、簡易に高速に画像入力ができるようになった。
【0035】
図16は、本発明のスキャナを携帯電話,PHS,PDAなど携帯端末に適用した例である。斜めからの読取でも、歪みが補正できるため、従来のデジタルカメラのように正面から構えてとる必要が無く、手軽に画像入力できる。
【0036】
図17は、本発明のスキャナをコピー機1301に適用した例である。スキャナから読み取った画像は画像補正部1302,正規化部1305で正面からとった画像に変換され、操作パネルからの編集指示を編集解析部1303解析し、必要であれば画像ファイル1304などを参照しながら、編集部1307で合成,トリミング,拡大,縮小を実行し、プリンタ1306でプリント出力する。
【0037】
非接触で読み取れるため、今までのコピー機ようにふたを開けて、読み取り面を下面に接触させること無く、簡単に読み取ることができる。さらに、読取速度も1秒程度と高速なため、たとえば本をぺらぺらめくるだけで画像入力が完了する。
【0038】
【発明の効果】
本発明によれば自由度が高く、操作性の良い非接触型画像読取装置を提供できる。また、高速読取が可能で、高画質に文書画像を入力,認識することが可能であり、小型で低価格な画像読取装置を提供できる。
【図面の簡単な説明】
【図1】本発明からなる非接触型画像読取装置の一実施例を示す図である。
【図2】本発明からなる非接触型画像読取装置の一実施例の概略図を示す図である。
【図3】本発明の非接触型画像読取装置の処理手順を説明するためのフローチャートを示す図である。
【図4】本発明のパソコン内部の画像処理を示す図である。
【図5】本発明の画像補正部のフローチャートを説明する図である。
【図6】本発明の二次元シェーディング補正部のフローチャートを説明する図である。
【図7】本発明のちらつき防止方法を示すフローチャートを説明する図である。
【図8】本発明のフィルタ可変方法を示すフローチャートを説明する図である。
【図9】本発明の浮動閾値二値化方法を示すフローチャートを説明する図である。
【図10】本発明の基準座標検出方法を示すフローチャートを説明する図である。
【図11】本発明の読み取られた画像の一形態を示す図である。
【図12】本発明の透視変換方法を示すフローチャートを説明する図である。
【図13】本発明からなる非接触型画像読取装置の他の実施例を示す図である。
【図14】本発明の非接触型画像読取装置を備えた印鑑照合機の一実施例を示す図である。
【図15】本発明の非接触型画像読取装置とディスプレイとを組み合わせた一実施例を示す図である。
【図16】本発明の非接触型画像読取装置を備えた携帯電話の一実施例を示す図である。
【図17】本発明の非接触型画像読取装置を備えたコピー機の一実施例を示す図である。
【符号の説明】
100…画像入力装置、101…可動スキャナ、102…座標検出スイッチ、103…座標検出器、104…係数決定部、105…透視変換部、106…切り替え器、107…二値化処理部、108…認識部、110…支持体、111…原稿置き台、112…読取原稿、113a,b,c,d…位置決めマーカ、120…前処理ボード、121…パソコン、122…ディスプレイ、123…キーボード、124…CPU、125…センサバラツキ補正部、126…DMAコントローラ、127…接続バス、128…メモリ、129…ファイル、401…画質補正部、402,509…透視変換部、403…基準位置検出スイッチ入力部、 404…選択器、405…浮動閾値二値化器、407…認識処理部、408, 505…基準座標検出部、409…透視変換係数抽出部、504…座標検出スイッチ押下検出部、506…座標位置判断部、507…座標変換パラメータ算出部、508…アラーム発行部、512…認識処理、601…二次元シェーディング補正、602…ちらつき補正、603…画像の重畳、604…フィルタ可変部、1011…回転ミラー、1101…フレキシブル支持体、1201…印鑑照合機、1202…テンプレート読み出し部、1203…テンプレートファイル、1204…照合部、1205…画像処理部、1206…結果出力部、1225…携帯電話、1301…コピー機、1302…画像補正部、1303…編集解析部、1304…画像ファイル、1305…正規化部、1306…プリンタ、1307…編集部、4060…スティック更新部、4061…合計値更新部、4081…位置決めマーク検出部、4082…読取範囲判断部、4083…座標リスト作成部、4084…正規化補正係数演算部、4085…アラーム発行部、4090…スタート位置計算部、4091…縮小値計算部、4092…縮小処理部、6011…白紙読取部、6012…形状モデル作成部、6013…式抽出部、6014…登録部、6015…座標入力部、6016…テーブル補間部、6017…シェーディング参照値算出部、6018…補間演算部、6021…最大輝度値検出部、6022…リミット値比較部、6023…リミット値決定部、6024…正規化演算部、6025…最大輝度値決定部、6041…距離計算部、6042…補正範囲判断部、6043…フィルタ係数制御部、6044…フィルタ演算部、6045…リミッタ値固定部。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image reading apparatus for reading, recognizing, and collating information such as characters, figures, images, or imprints imprinted or imprinted on a medium such as paper without contact. In particular, the present invention relates to a control method for an image input device capable of freely changing a reading position and a control system using the same.
[0002]
[Prior art]
Currently, commercialized image input devices include a flatbed scanner, a sheet scanner, and a digital camera. However, the flatbed scanner has a high resolution but has a large installation area and a low reading speed, and the sheet scanner has a small installation area but can only read a sheet-shaped sheet. Digital cameras have advantages and disadvantages, such as the inability to take high-resolution images of documents and the like, and do not satisfy the needs of users who want to read various objects at high speed with high image quality.
[0003]
Further, as examples of the non-contact type including the present invention, those described in, for example, JP-A-8-9102, JP-A-8-274955, and JP-A-8-154153 have been proposed. .
[0004]
[Problems to be solved by the invention]
In the above-mentioned prior art document, the image is fixed at a reading position from substantially above, and the installation area becomes large when reading an image.
[0005]
Therefore, a first object of the present invention is to provide a non-contact type image reading apparatus having a high degree of freedom and good operability.
[0006]
It is a second object of the present invention to provide a non-contact image reading apparatus capable of high-speed reading, inputting and recognizing a document image with high image quality.
[0007]
A third object is to provide a small and inexpensive image reading device.
[0008]
[Means for Solving the Problems]
In order to solve at least one of the above objects, the present invention provides a housing for housing a sensor unit for reading a document, a support for supporting the housing, a document table on which the document is placed, and the housing And a detecting unit for detecting a positional relationship between the document and the original, and an image correcting unit for correcting an image distorted based on the positional relationship.
[0009]
In addition, a housing for accommodating a sensor unit for reading a document, a support for supporting the housing and having a movable part for making the housing movable, and a mark for recognizing the position of the document are added. A document table on which the document is placed, a detection unit for detecting a positional relationship between the case and the document based on the mark, a switch added to the case, and activating the detection unit; An image correction unit is provided for correcting an image distorted based on the relationship.
[0010]
In this manner, the presence of the detection unit that detects the positional relationship between the document and the housing enables the housing to accurately read the document at any position (for example, obliquely upward) with respect to the document, and achieve high image quality. Can input and recognize the original.
[0011]
In addition, by providing a movable part on the support, it is possible to move the housing to a different position when reading anything from a free position, as well as when nothing is wrong, and it will not interfere with other work. No. Furthermore, a simple and low-cost image reading apparatus can be provided by using a simple configuration such as a housing, a support table, and a document table.
[0012]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0013]
FIG. 1 is a functional block diagram of an image reading apparatus according to an embodiment of the present invention. The image input device 100 of the present invention reads image data from the movable scanner 101 and outputs binary data to the recognition unit 108. The movable scanner 101 reads a document not only from directly above but also from above. For this reason, the captured image may not be rectangular. If binarization is performed as it is, characters cannot be recognized because the characters are distorted. For this reason, it is necessary to perform a perspective transformation on the distorted image in the perspective transformation unit 105 and convert the distorted image into an image taken from the front. However, since the conversion coefficient differs depending on the reading position, it must be adjusted every time the reading position is moved. Therefore, after moving, the switch 106 is controlled by the coordinate detection switch 102 attached to the movable scanner 101, the output of the movable scanner 101 is binarized as it is, and the vertex of the rectangle is extracted by the coordinate detector 103, and the coefficient is extracted. The determining unit 104 determines coefficients for perspective transformation and outputs the coefficients to the perspective transformation unit 105. After that, the coordinate detection switch 102 is switched. This time, the output of the movable scanner 101 is binarized by the binarization processing unit 107 via the perspective transformation unit 105, and the binarized image data without distortion is sent to the recognition unit 108. Is output.
[0014]
As described above, since the reading can be performed from any position without contact, the efficiency of image input can be improved. Further, even if the reading sensor position is moved, the distortion correction coefficient is automatically calculated, so that there is no need to set again. In addition, since the sensor housing has a reference position reading instruction switch, the operation is simple, there is no need to search for a keyboard, and distortion correction is performed by digital image processing such as PC software. There is an advantage that it can contribute to the development.
[0015]
FIG. 2 is a hardware block diagram of the image reading apparatus according to one embodiment of the present invention. A sensor for reading an image is stored in the movable scanner 101, an analog signal from the sensor is A / D converted, and transmitted to the preprocessing board 120 as a digital multi-value signal. In the pre-processing board 120, a sensor variation correcting unit 125 corrects a variation in odd-numbered and even-numbered bits of a sensor, and the like, and the DMA controller 126 transfers the data to a personal computer 121 which is a processing main body. Here, a PCI bus was used as the connection bus 127. The personal computer 121 temporarily stores the transmitted image signal in the memory 128, receives an instruction via the keyboard 123, performs image correction, processing, and recognition by the CPU 124, and displays the result on the display 122 or stores the result in the file 129. I do.
[0016]
Here, the read document 112 is placed on the document table 111, and the positioning markers 113 a, b, c, and d previously marked on the document table are changed by the coordinate detection switch 102 mounted on the movable scanner 101. The detection is performed by instructing, and the geometric distortion amount of the image is detected and corrected.
[0017]
Next, FIG. 3 shows a flowchart of the image reading process according to the present invention. First, the coordinate detection switch press detection unit 504 determines whether or not the coordinate detection switch 102 is pressed, and when pressed, the positioning markers 113a, b, c, and d marked on the document table are used for template matching or the like. In the method of comparing and detecting images, the coordinate position is detected by the reference coordinate detecting unit 505. The coordinate position judging unit 506 judges whether or not these coordinate positions are normal. If it is determined that the coordinate positions are inconsistent or the range is out of range, the alarm issuing unit 508 issues an alarm and issues a warning. I do. When the coordinate position is normal, a coordinate conversion parameter for projecting and transforming the distorted image is calculated by the coordinate conversion parameter calculation unit 507, and a perspective conversion process is executed by the perspective conversion unit 509 based on the parameter. Then, the image is converted into an image taken from the front, and the image is recognized in the recognition processing 512 and displayed on a display device such as a display.
[0018]
FIG. 4 shows the configuration of software for image correction, image processing, and recognition processing in the personal computer 121. First, in the reference position detection mode, when the reference position detection switch input unit 403 detects that the coordinate detection switch 102 is pressed, the image signal input from the movable scanner 101 is signal-corrected by the image quality correction unit 401, and passed through the selector 404. Then, the data is converted into binary data by the floating threshold binarizer 405, the coordinate value is detected by the reference coordinate detection unit 408, the coefficient is obtained by the perspective transformation coefficient extraction unit 409, and is output to the perspective transformation unit 402 as a parameter. . Here, broken lines in the figure indicate control signals and parameter signals, thick solid lines indicate multi-valued data, and thin solid lines indicate binary data.
[0019]
By adding such an alarm function, even if the moving position is inappropriate and exceeds the reading range, it is notified by an alarm, so that there is no setting error.
[0020]
Next, in the reading mode, similarly, the signal from the movable scanner 101 is normalized by the image quality correction unit 401 after signal correction by the perspective transformation unit 402, and converted into an image viewed from the front. The output is passed through the selector 404, binarized by the floating threshold binarizer 405, transferred to the recognition processing unit 407, and recognizes characters and symbols.
Hereinafter, details of each unit will be described.
[0021]
FIG. 5 shows a processing procedure in the image quality correction unit 401. First, the signal from the scanner is subjected to two-dimensional shading correction 601, flicker correction 602 from fluorescent light, noise is reduced by superimposition 603 of the image, and the filter is changed by the filter variable unit 604 according to the distance to correct the image quality. are doing.
[0022]
Hereinafter, these details will be further described.
[0023]
FIG. 6 shows a flowchart of the detailed processing of the two-dimensional shading correction 601. (A) is a reference value creation using blank page input. The blank paper is read by the blank paper reading unit 6011, and the shape model is created by the shape model creating unit 6012 according to how the waveform of the blank paper is distorted. Generally, the central portion has a bright characteristic and the peripheral portion has a dark characteristic. Therefore, if the actual central and peripheral reading levels are matched with the roof-like model, the model is completed. Next, the equation representing the distortion in each read line is extracted by the equation extraction unit 6013 and registered in the table by the registration unit 6014. This can be achieved by creating all the pixels in all the lines, so that a complete correction can be realized. However, in practice, a rough correction is sufficient, and only characteristic lines such as the first line, the center line, and the last line are used. Correction can be realized by making a table, and performing linear complementation processing at the line position or pixel position of interest in other cases.
[0024]
Next, (b) shows the reading mode, in which the coordinates of the pixel of interest are input by the coordinate input unit, the table is interpolated by the table interpolation unit 6016 as described above, and the pixel reference position is calculated by the pseudo-reference value calculation unit 6017. Is calculated, and an interpolation operation is performed by the interpolation operation unit 6018. This is performed by dividing an input pixel value by a shading reference value and multiplying by a maximum value to be normalized. However, since the division by the CPU 124 takes time, this is also calculated using a table.
[0025]
FIG. 7 shows a detailed flow of flicker prevention. In the scanner of the present invention, since the scanner reads at a free position without special illumination, it is affected by flickering of the fluorescent lamp. For this reason, the maximum luminance detection unit 6021 detects the maximum value of the luminance in the line for each line, and if the detected value is equal to or larger than the limit value in the limit value comparison unit 6022, the maximum value is adopted as the normalized reference value here. Otherwise, the limit value is used as a reference value. This is because, when a line having no information, for example, a line out of the paper is read, the maximum value of the line is not used as a reference value. When the reference value is obtained, normalization is performed by the normalization calculation unit 6024 for each pixel. Further, in the scanner of the present invention, when the illumination at the time of reading is dark, there is a lot of noise. Therefore, the same image is photographed a plurality of times, and the images are superimposed and averaged to reduce the noise.
[0026]
FIG. 8 shows a flow of changing the filter according to the distance. First, the distance calculation unit 6041 calculates the distance from the camera to a specific reading position, and uses this to perform blur correction using a lens. If the correction range is within the range that can be corrected by the filter in the correction range determination unit 6042, the amount of deviation from the in-focus position is calculated, and the coefficient of the sharpening filter is controlled by the filter coefficient control unit 6043. If the value falls outside the correction range, the limiter value fixing unit 6045 applies the limiter value of the filter. By applying this to each pixel by the filter operation unit 6044, high image quality can be achieved.
[0027]
FIG. 9 shows a conceptual diagram (a) and a detailed flow (b) of the floating threshold binarizer 405. A total value is calculated for a block of XWIN pixels in the main scanning direction and YWIN pixels in the sub-scanning direction, and an average value is calculated from the total value. Here, the processing time is shortened by using the calculation result. That is, the total value SUM can be described as SUM = SUM + Stick [x] -Stick [x-XWIN] by the total value updating unit 4061 using the sticks Stick [x] and Stick [x-XWIN]. In the stick update unit 4060, Stick [x] = Stick “x” + pImg [x + y_old_adr] −pImg [x + y_old_adr]. Therefore, the total value can be obtained by four memory accesses and four additions / subtractions per window without depending on the window size.
[0028]
FIG. 10 shows a reference coordinate detection flow. First, a positioning mark is detected by a positioning mark detection unit 4081, and a reading range determination unit 4082 creates a coordinate list by a coordinate list creation unit 4083 if the mark position is within the reading range. In step 4084, a normalization correction coefficient is obtained. If the reference mark is out of the range, the alarm issuance unit 4085 issues an alarm. Here, the algorithm for detecting the positioning mark uses a generally known template matching method, and thus will not be described in detail here. An image used as a reference mark is registered as a template, and a matching process is performed on all the images, so that a position having a high degree of similarity is set as a detection position.
[0029]
FIG. 11 shows a form of the read image before the perspective transformation. The multi-value data read from the scanner is stored in the memory as shown in FIG. That is, even if a rectangular image is read, a nearby image such as the side A-D looks large, and an image far away such as the side BC appears small.
[0030]
FIG. 12 shows a detailed flow of the perspective transformation. In the perspective transformation, first, the start position calculation unit 4090 aligns the AB side vertically, the reduction value calculation unit 4091 changes the reduction ratio of each line in the image, and the reduction processing unit 4092 performs all B-B images. Length of C side: realized by unifying Dest_Width.
[0031]
Here, the case where the distortion is trapezoidal is shown, but it is generally deformed into a distorted rectangle.
[0032]
FIG. 13 shows an example in which the support of the movable scanner 101 is a flexible support 1101. When reading is performed by scanning with such a freely movable support, the document table is distorted in the memory as shown in (b) as A, B, C, and D, and the document placed there is read. Are also distorted like E, F, G, H. However, such distortion can be mapped with high image quality by a texture mapping method often used in 3D graphics processing, as long as the reference coordinates are known.
[0033]
FIG. 14 is an example in which the scanner of the present invention is applied to a seal verification machine. The seal image captured from the scanner is corrected by the image processing unit of the present invention, a collation image as a template specified by the keyboard 123 is read from the template file 1203 by the template reading unit 1202, and collation is performed by the collation unit 1204. The output unit 1206 displays the information on the display 122. As a result, the number of types of seal verification documents that have conventionally been limited to the types of paper can be dramatically increased, and there is an advantage that the speed and labor can be reduced.
[0034]
FIG. 15 shows an example in which the scanner of the present invention is integrated with a display. A sensor and a sensor housing are attached to the lower part of the display, and a rotating mirror 1011 is attached to the upper part of the display. The image placed on the document table 111 is reflected by the rotating mirror 1011 and read by the sensor. This makes it possible to easily and quickly input an image without taking up space as in a conventional flatbed scanner.
[0035]
FIG. 16 shows an example in which the scanner of the present invention is applied to a mobile terminal such as a mobile phone, a PHS, and a PDA. Even if the image is read obliquely, the distortion can be corrected, so that it is not necessary to hold the digital camera from the front as in a conventional digital camera, and an image can be easily input.
[0036]
FIG. 17 shows an example in which the scanner of the present invention is applied to a copier 1301. The image read from the scanner is converted into an image taken from the front by the image correction unit 1302 and the normalization unit 1305, and the editing instruction from the operation panel is analyzed by the editing analysis unit 1303, and if necessary, the image file 1304 or the like is referred to. In the meantime, the editing unit 1307 executes synthesis, trimming, enlargement, and reduction, and prints out with the printer 1306.
[0037]
Since it can be read without contact, it can be easily read without opening the lid like a conventional copier and bringing the reading surface into contact with the lower surface. Further, since the reading speed is as high as about 1 second, image input is completed only by flipping a book.
[0038]
【The invention's effect】
According to the present invention, it is possible to provide a non-contact type image reading apparatus having a high degree of freedom and good operability. Further, it is possible to provide a small-sized and low-cost image reading apparatus which can perform high-speed reading, can input and recognize a document image with high quality, and can recognize it.
[Brief description of the drawings]
FIG. 1 is a diagram showing one embodiment of a non-contact type image reading apparatus according to the present invention.
FIG. 2 is a diagram showing a schematic view of an embodiment of a non-contact type image reading apparatus according to the present invention.
FIG. 3 is a flowchart illustrating a processing procedure of the non-contact image reading apparatus of the present invention.
FIG. 4 is a diagram showing image processing inside the personal computer of the present invention.
FIG. 5 is a diagram illustrating a flowchart of the image correction unit of the present invention.
FIG. 6 is a diagram illustrating a flowchart of a two-dimensional shading correction unit according to the present invention.
FIG. 7 is a diagram illustrating a flowchart illustrating a flicker preventing method according to the present invention.
FIG. 8 is a diagram illustrating a flowchart showing a filter variable method according to the present invention.
FIG. 9 is a diagram illustrating a flowchart showing a floating threshold binarization method of the present invention.
FIG. 10 is a diagram illustrating a flowchart illustrating a reference coordinate detection method according to the present invention.
FIG. 11 is a diagram showing one embodiment of a read image of the present invention.
FIG. 12 is a diagram illustrating a flowchart showing a perspective transformation method of the present invention.
FIG. 13 is a view showing another embodiment of the non-contact type image reading apparatus according to the present invention.
FIG. 14 is a diagram showing an embodiment of a seal stamp collating machine provided with the non-contact type image reading device of the present invention.
FIG. 15 is a diagram showing an embodiment in which the non-contact image reading device of the present invention and a display are combined.
FIG. 16 is a diagram showing an embodiment of a mobile phone provided with the non-contact image reading device of the present invention.
FIG. 17 is a diagram showing an embodiment of a copying machine provided with the non-contact image reading device of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 100 ... Image input device, 101 ... Movable scanner, 102 ... Coordinate detection switch, 103 ... Coordinate detector, 104 ... Coefficient determination unit, 105 ... Perspective transformation unit, 106 ... Switcher, 107 ... Binarization processing unit, 108 ... Recognition unit, 110: support, 111: document table, 112: read document, 113a, b, c, d: positioning marker, 120: preprocessing board, 121: personal computer, 122: display, 123: keyboard, 124 ... CPU, 125: sensor variation correction unit, 126: DMA controller, 127: connection bus, 128: memory, 129: file, 401: image quality correction unit, 402, 509: perspective conversion unit, 403: reference position detection switch input unit 404: selector, 405: floating threshold binarizer, 407: recognition processing unit, 408, 505: reference coordinate detection unit 409: perspective transformation coefficient extraction unit, 504: coordinate detection switch press detection unit, 506: coordinate position determination unit, 507: coordinate conversion parameter calculation unit, 508: alarm issuing unit, 512: recognition processing, 601: two-dimensional shading correction, 602: Flicker correction, 603: Image superposition, 604: Filter variable unit, 1011: Rotating mirror, 1101: Flexible support, 1201: Seal verification machine, 1202: Template reading unit, 1203: Template file, 1204: Verification unit, 1205 image processing unit, 1206 result output unit, 1225 mobile phone, 1301 copy machine, 1302 image correction unit, 1303 edit editing unit, 1304 image file, 1305 normalization unit, 1306 printer, 1307 ... Editing unit, 4060 ... Stick updating unit, 406 1 ... Total value update unit, 4081 ... Positioning mark detection unit, 4082 ... Read range determination unit, 4083 ... Coordinate list creation unit, 4084 ... Normalization correction coefficient calculation unit, 4085 ... Alarm issuing unit, 4090 ... Start position calculation unit 4091 reduction value calculation unit, 4092 reduction processing unit, 6011 blank sheet reading unit, 6012 shape model creation unit, 6013 expression extraction unit, 6014 registration unit, 6015 coordinate input unit, 6016 table interpolation unit, 6017 ... Shading reference value calculation section, 6018 interpolation calculation section, 6021 maximum brightness value detection section, 6022 limit value comparison section, 6023 limit value determination section, 6024 normalization calculation section, 6025 maximum brightness value determination section, 6041 distance calculation unit, 6042 correction range determination unit, 6043 filter coefficient control unit, 6044 filter Calculation unit, 6045 ... limiter value fixed portion.

Claims (4)

原稿を読み取るセンサ部収納された筐体と、
前記筐体を支持し、前記筐体を可動とするための可動部を有する支持体と、
記原稿を置く原稿置き台と、
前記センサ部から入力された画像を処理する画像処理部とを有し、
前記原稿置き台は、前記原稿の位置を検出するための位置決めマークを有し、
前記画像処理部は、前記位置決めマークに基づいて前記筐体と前記原稿の位置関係を検出する検出部と、前記検出部の検出結果に基づいて正規化補正係数を算出する正規化補正係数演算部と、算出された正規化補正係数に基づいて画像の幾何学歪みを正規化する透視変換部とを有する非接触型画像読取装置。
A housing in which a sensor unit for reading a document is stored;
A support having a movable part for supporting the housing and making the housing movable,
And a document holder to put the previous Symbol manuscript,
An image processing unit that processes an image input from the sensor unit,
The document table has a positioning mark for detecting the position of the document,
The image processing unit includes a detection unit that detects a positional relationship between the housing and the document based on the positioning mark, and a normalization correction coefficient calculation unit that calculates a normalization correction coefficient based on a detection result of the detection unit. And a perspective transformation unit for normalizing geometric distortion of the image based on the calculated normalization correction coefficient .
原稿を読み取るセンサ部が収納され、読み取り位置が可変可能な筐体と、
前記原稿を置く原稿置き台と、
前記センサ部から入力された画像を処理する画像処理部とを有し、
前記原稿置き台は、前記原稿の位置を検出するための位置決めマークを有し、
前記画像処理部は、前記位置決めマークに基づいて前記筐体と前記原稿の位置関係を検出する検出部と、前記検出部の検出結果に基づいて正規化補正係数を算出する正規化補正係数演算部と、算出された正規化補正係数に基づいて画像の幾何学歪みを正規化する透視変換部とを有する非接触型画像読取装置。
A housing in which a sensor unit for reading the original is stored and the reading position is variable;
A document table on which the document is placed;
An image processing unit that processes an image input from the sensor unit,
The document table has a positioning mark for detecting the position of the document,
The image processing unit includes a detection unit that detects a positional relationship between the housing and the document based on the positioning mark, and a normalization correction coefficient calculation unit that calculates a normalization correction coefficient based on a detection result of the detection unit. And a perspective transformation unit for normalizing geometric distortion of the image based on the calculated normalization correction coefficient.
請求項1または2記載の非接触型画像読取装置において、
前記検出部を起動するスイッチを有する非接触型画像読取装置。
The non-contact image reading device according to claim 1 or 2,
A non-contact image reading device having a switch for activating the detection unit.
請求項1または2記載の非接触型画像読取装置において、
前記検出部の検出結果である座標位置情報が正常か異常かを判断する座標位置判断手段と、判断結果が異常である場合、アラームを発するアラーム発行手段と、を有する非接触型画像読取装置。
The non-contact image reading device according to claim 1 or 2,
A non-contact image reading apparatus comprising: a coordinate position determining unit that determines whether coordinate position information detected by the detection unit is normal or abnormal; and an alarm issuing unit that issues an alarm when the determination result is abnormal.
JP18713798A 1998-07-02 1998-07-02 Non-contact image reader Expired - Fee Related JP3582988B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18713798A JP3582988B2 (en) 1998-07-02 1998-07-02 Non-contact image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18713798A JP3582988B2 (en) 1998-07-02 1998-07-02 Non-contact image reader

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2004145773A Division JP2004318896A (en) 2004-05-17 2004-05-17 Non-contact image reading apparatus

Publications (2)

Publication Number Publication Date
JP2000022869A JP2000022869A (en) 2000-01-21
JP3582988B2 true JP3582988B2 (en) 2004-10-27

Family

ID=16200782

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18713798A Expired - Fee Related JP3582988B2 (en) 1998-07-02 1998-07-02 Non-contact image reader

Country Status (1)

Country Link
JP (1) JP3582988B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013191922A (en) * 2012-03-12 2013-09-26 Nec Computertechno Ltd Terminal device and read method for read object

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3649942B2 (en) * 1999-04-02 2005-05-18 三洋電機株式会社 Image input device, image input method, and storage medium
JP4238749B2 (en) * 2004-03-10 2009-03-18 カシオ計算機株式会社 Image processing apparatus, image projection apparatus, image processing method, and program
JP4524616B2 (en) * 2004-07-06 2010-08-18 カシオ計算機株式会社 Imaging apparatus, image processing method and program for captured image
JP2006074512A (en) 2004-09-02 2006-03-16 Casio Comput Co Ltd Photographing device, and image processing method, and program for photographing device
JP4561302B2 (en) * 2004-10-15 2010-10-13 カシオ計算機株式会社 Image capturing apparatus, image processing method for image capturing apparatus, and program
JP4640582B2 (en) 2005-03-09 2011-03-02 ソニー株式会社 Collation device, registration device, image correction method, and program
JP4465619B2 (en) 2005-10-31 2010-05-19 ソニー株式会社 Registration device, verification device, image correction method, and program
CN110458998B (en) * 2019-07-11 2021-11-16 深圳怡化电脑股份有限公司 Bill detection method, bill detection device and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013191922A (en) * 2012-03-12 2013-09-26 Nec Computertechno Ltd Terminal device and read method for read object

Also Published As

Publication number Publication date
JP2000022869A (en) 2000-01-21

Similar Documents

Publication Publication Date Title
JP3425366B2 (en) Image correction device
JP5951367B2 (en) Imaging apparatus, captured image processing system, program, and recording medium
US7412113B2 (en) Captured image projection apparatus and captured image correction method
JP3631333B2 (en) Image processing device
JPH06124358A (en) Method for detection of mark on paper
JP6426815B2 (en) Image processing apparatus and image processing method
EP0922356A1 (en) Method and arrangement for ensuring quality during scanning/copying of images/documents
WO2001003416A1 (en) Border eliminating device, border eliminating method, and authoring device
US20060215232A1 (en) Method and apparatus for processing selected images on image reproduction machines
US5796877A (en) Method and apparatus for automatically fitting an input image to the size of the output document
US20070269109A1 (en) Method and apparatus for processing selected images on image reproduction machines
JP3582988B2 (en) Non-contact image reader
JP2007335920A (en) Image processing apparatus and image processing program
JP2007241356A (en) Image processor and image processing program
JP2005260657A (en) Photographing apparatus, image processing method and program therefor
CN1941960A (en) Embedded scanning cell phone
JP3733686B2 (en) Image processing method and apparatus
JP2004318896A (en) Non-contact image reading apparatus
JP2000261653A (en) Image processing unit
JP3480234B2 (en) Image processing device
US8358848B2 (en) Image recognition device, copy apparatus and image recognition method
JP3852247B2 (en) Image forming apparatus and transfer image distortion correction method
JP2006229685A (en) Distortion determination device for business form
JP2004048130A (en) Image processing method, image processing apparatus, and image processing program
JP3684479B2 (en) Digital camera

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040316

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040517

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040727

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees