JPH08202853A - Picture reader - Google Patents

Picture reader

Info

Publication number
JPH08202853A
JPH08202853A JP7009208A JP920895A JPH08202853A JP H08202853 A JPH08202853 A JP H08202853A JP 7009208 A JP7009208 A JP 7009208A JP 920895 A JP920895 A JP 920895A JP H08202853 A JPH08202853 A JP H08202853A
Authority
JP
Japan
Prior art keywords
image
dimensional
range
mosaic
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7009208A
Other languages
Japanese (ja)
Inventor
Masahiro Furuta
正寛 古田
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.)
Nikon Corp
Original Assignee
Nikon Corp
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 Nikon Corp filed Critical Nikon Corp
Priority to JP7009208A priority Critical patent/JPH08202853A/en
Publication of JPH08202853A publication Critical patent/JPH08202853A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE: To efficiently obtain the combination position of plural pictures which are read. CONSTITUTION: A mosaic picture 2110 obtained by converting the 8×8 picture element of a reference picture extracted from a picture 2100 into one picture element occupying the same range as the 8×8 picture element is generated. The generated mosaic picture 2110 and a picture 2000 are pattern-matched and the optimum combination position is obtained. When the optimum combination position is obtained, the mosaic pictures obtained by converting the 4×4 picture elements of the reference picture into one picture element occupying the same range of the 4×4 picture element are sequentially generated. Pattern matching with the picture 2000 is executed from the obtained optimum combination position, and the optimum combination position is updated. Above processings are repeated until one picture element in the mosaic picture and one picture element in the reference picture become the same size, and the final combination position is obtained.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、画像を読み取る画像読
み取り装置に関し、特に、画像を読み取る原稿上を移動
しながら原稿の画像を読み取るハンドスキャナを用いた
画像読み取り装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading apparatus for reading an image, and more particularly to an image reading apparatus using a hand scanner for reading an image of an original while moving on the original for reading the image.

【0002】[0002]

【従来の技術】従来、光学的に読み取った原稿の画像
を、接続されたパ−ソナルコンピュ−タ(パソコン)や
ワ−ドプロセッサに送るスキャナのタイプとしては、大
きく分けて2種類のタイプ(フラットベッドスキャナと
ハンディスキャナ)が知られている。
2. Description of the Related Art Conventionally, there are roughly two types of scanners for sending an image of an optically read original to a connected personal computer (personal computer) or a word processor. Flatbed scanners and handy scanners) are known.

【0003】フラットベッドスキャナは、原稿をスキャ
ナに用意された読み取り面に置いて読み取る方式のスキ
ャナであり、必然的に原稿よりもスキャナの方を大きく
する必要がある。したがい、大きな原稿に対応するため
には、スキャナ本体も大きくする必要がある。このた
め、パソコン等の周辺に広い面積を占有することとな
る。
The flatbed scanner is a scanner of a type in which an original is placed on a reading surface prepared for the scanner and is read, and the scanner is necessarily larger than the original. Therefore, in order to handle a large document, it is necessary to enlarge the scanner body. Therefore, a large area is occupied around the personal computer or the like.

【0004】このことは、省スペース化の要望に反する
ものであり、フラットベッドスキャナの欠点となってい
る。
This is against the demand for space saving, and is a drawback of the flatbed scanner.

【0005】もう一方のハンディスキャナは、利用者
が、原稿上を移動させながら使用するタイプのスキャナ
である。ハンディスキャナは、移動に伴い順次原稿の画
像を読み取っていく。このためハンディスキャナは、読
み取る原稿の大きさに、スキャナの大きさが依存するこ
となく、原稿の大きさよりも小さくすることができる。
しかし、ハンディスキャナは、原稿上を移動しながら画
像を読み取るため、画像を読み取っている位置をスキャ
ナの移動に応じて正確に検出する必要がある。すなわ
ち、ハンディスキャナは、通常、原稿上を回転しながら
移動する棒状のローラーを備えており、このロ−ラの回
転に応じてスキャナの移動距離を測定し、生成する画像
の1ライン分の距離をスキャナが移動するたびに、一次
元のCCDセンサー等のラインセンサーによって、一ラ
イン分の原稿の画像を取り込み、取り込んだ各ラインの
画像を取り込み順に並べることにより原稿全体の画面を
生成している。もしくは、一定期間毎に、一次元のCC
Dセンサー等のラインセンサーによって、一ライン分の
原稿の画像を取り込み、その時点のスキャナの移動距離
によって特定されるスキャナの位置に対応する画面上の
位置に取り込んだ各ラインの画像をはめこむことにより
原稿全体の画面を生成している。
The other handy scanner is a type of scanner used by a user while moving on a document. The handy scanner sequentially reads the image of the document as it moves. Therefore, the handy scanner can be made smaller than the size of the document without depending on the size of the document to be read by the size of the scanner.
However, since the handy scanner reads an image while moving on a document, it is necessary to accurately detect the position where the image is read according to the movement of the scanner. That is, the handy scanner is usually provided with a rod-shaped roller that moves while rotating on the original, and the moving distance of the scanner is measured according to the rotation of this roller, and the distance for one line of the generated image is measured. Each time the scanner moves, a line sensor such as a one-dimensional CCD sensor captures an image of the original for one line, and the images of each captured line are arranged in the capture order to generate a screen of the entire original. . Or, one-dimensional CC at regular intervals
Using a line sensor such as a D sensor to capture the image of one line of the original, and to fit the image of each line captured at the position on the screen that corresponds to the position of the scanner specified by the moving distance of the scanner at that time. Creates the screen of the entire document.

【0006】ここで、棒状のローラーによる位置検出で
は、一次元方向の移動情報しか得られない。したがっ
て、一次元の読み取りセンサーの両端の速度が、それぞ
れ一定でない場合(スキャナの回転成分を含む移動があ
った場合)には、読み取られる一ライン分の画像は、そ
の前に読み取った画像のラインに対し傾くことになり原
稿全体の画像を正確に生成することができない。
Here, in the position detection by the rod-shaped roller, only movement information in the one-dimensional direction can be obtained. Therefore, if the speeds at both ends of the one-dimensional reading sensor are not constant (when there is movement including the rotational component of the scanner), the image for one line to be read is the line of the image read before that. However, the image of the entire original cannot be accurately generated.

【0007】ここで、この問題について、一定移動量の
移動毎に1ライン分の画像を取り込む場合を例にとり、
より詳細に説明する。
Regarding this problem, taking as an example the case where an image of one line is taken in every movement of a fixed amount of movement,
This will be described in more detail.

【0008】図6は、従来のハンディスキャナの構成を
示したものである。
FIG. 6 shows the structure of a conventional handy scanner.

【0009】図6中、1000がハンディスキャナ、2
000がハンディスキャナ1000が接続されたパ−ソ
ナルコンピュ−タである。
In FIG. 6, reference numeral 1000 denotes a handy scanner, 2
000 is a personal computer to which a handy scanner 1000 is connected.

【0010】利用者が、図示を省略した読み取り開始の
ボタンを押しながら、ハンディスキャナ1000を原稿
上を手動により走行させると、ハンディスキャナ100
0のライン状に並んだ原稿を照明用光源1101が発光
し、原稿の表面を直線上に照らす。
When the user manually runs the handy scanner 1000 on the document while pressing a reading start button (not shown), the handy scanner 100 is operated.
The illumination light source 1101 emits light from the originals arranged in a line of 0 to illuminate the surface of the original in a straight line.

【0011】この照明用光源より発せられた光は、原稿
表面上で反射し、この反射光は、光学系1102により
収光され、一次元センサー1103上に結像される。一
次元センサー1103では、結像された反射光を電気信
号に変換し、1ライン分の画像データとして制御回路1
104に出力する。ここでは、一次元センサー1104
による反射光の電気信号への変換、すなわち、1ライン
分の画像データの読み取りは、スキャナ1000に設け
られたローラー1106の回転を検出する一つのエンコ
−ダにより測定した移動量が一定の量(画像の1ライン
の幅に相当する距離)に達する度に行われるものとす
る。
The light emitted from the illumination light source is reflected on the surface of the original, and the reflected light is collected by the optical system 1102 and imaged on the one-dimensional sensor 1103. In the one-dimensional sensor 1103, the reflected light formed into an image is converted into an electric signal, and the control circuit 1 converts it into image data for one line.
To 104. Here, the one-dimensional sensor 1104
In the conversion of the reflected light into an electric signal by means of, that is, the reading of the image data for one line, the movement amount measured by one encoder which detects the rotation of the roller 1106 provided in the scanner 1000 is a constant amount ( It is assumed to be performed each time the distance (corresponding to the width of one line of the image) is reached.

【0012】制御回路1104は受け取った1ライン分
の画像データをインタフェ−ス回路1105を介してパ
−ソナルコンピュ−タ2000に送信する。
The control circuit 1104 transmits the received image data for one line to the personal computer 2000 via the interface circuit 1105.

【0013】パ−ソナルコンピュ−タ2000では、イ
ンタフェ−ス回路2001でハンディスキャナ1000
より送信された1ライン分の画像データを受信し、メモ
リ2002に記憶する。
In the personal computer 2000, an interface circuit 2001 is used for a handy scanner 1000.
The image data for one line transmitted by the above is received and stored in the memory 2002.

【0014】以上の動作を、読み取り開始のボタンが解
除されるまで繰り返すことにより、パ−ソナルコンピュ
−タ2000のメモリ2002上に、1ライン分の画像
データが順次格納され、1画面を構成する。すなわち、
パ−ソナルコンピュ−タ2000がi番目に受信した1
ライン分の画像データが画面のiラインを構成する。さ
て、この場合において、スキャナ1000がカーブを描
くように移動した場合には、原稿に対し異なる傾きで1
ライン分の画像データが順次読み取られることになる。
この場合、原稿上で相互に傾いている2ラインがパ−ソ
ナルコンピュ−タ2000のメモリ上では、平行な2ラ
インとして画面を構成するため、原稿の正確な画像の画
面を生成することができない。
By repeating the above operation until the reading start button is released, image data for one line is sequentially stored in the memory 2002 of the personal computer 2000 to form one screen. . That is,
Personal computer 2000 received i-th 1
The image data for a line constitutes an i-line on the screen. Now, in this case, when the scanner 1000 moves so as to draw a curve, the scanner 1 moves at a different inclination with respect to the original.
The image data for the lines are sequentially read.
In this case, two lines that are inclined with respect to each other on the original form the screen as two parallel lines in the memory of the personal computer 2000, so that it is not possible to generate an accurate image of the original. .

【0015】このため、特開平3−256448号公報
記載の技術では、スキャナの読み取り部分の両端に二つ
の位置センサーを設け、それぞれの位置センサーに相互
に直交方向の移動量をそれぞれ検出させ、スキャナ10
00が曲線的に移動した場合には、二つの位置センサー
の検出した移動量に応じて、読み取った各ラインの相互
の位置関係を補正することにより正確な画面を生成させ
ている。
For this reason, in the technique disclosed in Japanese Patent Laid-Open No. 3-256448, two position sensors are provided at both ends of the reading portion of the scanner, and the position sensors respectively detect the amounts of movement in the mutually orthogonal directions. 10
When 00 moves curvilinearly, an accurate screen is generated by correcting the mutual positional relationship between the read lines in accordance with the moving amounts detected by the two position sensors.

【0016】また、原稿の上部又は下部に設置したシー
トに刻まれた位置情報を、画像データの読み取り時に併
せて読み取ることにより、スキャナのシ−ト上の位置を
検出し、これに応じて、読み取った各ラインの相互の位
置関係を補正することにより正確な画面を生成させる技
術も知られている。
Further, by reading the position information engraved on the sheet installed on the upper or lower part of the original together with the reading of the image data, the position on the sheet of the scanner is detected, and accordingly, the position is detected. A technique is known in which an accurate screen is generated by correcting the positional relationship between the read lines.

【0017】[0017]

【発明が解決しようとする課題】前述した特開平3−2
56448号公報記載の技術によれば、現実的には、2
つの位置センサーによって正確に移動量を検出すること
ができず誤差が生じてしまう。このため、生成した画面
において、文字や直線等が滑らかにつながらず、ずれ等
が発生することがさけられない。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention
According to the technology described in Japanese Patent No. 56448, in reality, 2
The two position sensors cannot accurately detect the movement amount, resulting in an error. Therefore, in the generated screen, characters, straight lines, etc. are not smoothly connected, and a shift or the like is unavoidable.

【0018】一方、位置情報を刻んだシ−トを用いる方
法によれば、原稿大の位置情報を記録したシート等を必
要とするため省スペ−スを実現することはできず、ハン
ディスキャナの最大の利点を滅却させる結果となる。
又、いちいちシート設置する必要もあるため、利用の際
のわずらわしさも増大する。
On the other hand, according to the method of using the sheet in which the position information is engraved, the space saving cannot be realized because a sheet or the like in which the position information of the size of the original is recorded is required, and thus the handy scanner cannot be realized. The result is that the greatest advantage is destroyed.
Moreover, since it is necessary to install the seats one by one, the annoyance at the time of use increases.

【0019】そこで、本発明は、特別なシ−ト等を必要
とすることなく、より正確に原稿の画像を効率良く生成
することのできる画像読み取り装置を提供することを目
的とする。
Therefore, it is an object of the present invention to provide an image reading apparatus capable of more accurately and efficiently generating an image of a document without requiring a special sheet or the like.

【0020】[0020]

【課題を解決するための手段】前記目的達成のために、
本発明は、原稿上を利用者によって移動され、原稿の部
分毎の二次元画像を前記移動に伴い順次撮像する撮像手
段と、前記移動に伴い順次前回撮像した2次元画像と一
部範囲が重複した2次元画像を撮像するように、前記撮
像手段に原稿の部分の二次元画像を撮像させる制御手段
と、順次、前記撮像手段がi+1番目に撮像した2次元
画像を、第1番目からi番目までに撮像した2次元画像
を組み合わせた2次元画像に組み合わせる画像組み合わ
せ部とを有し、前記画像組み合わせ部は、組み合わせる
2つの二次元画像のうちの一方に含まれる、他方の二次
元画像と重複する範囲中の画像である参照画像を抽出
し、抽出した参照画像を、抽出した参照画像中の複数の
画素毎に、当該複数の画素の階調値の平均値を階調値と
して持つ当該複数の画素と同じ空間的大きさを持つ一つ
の画素に変換したモザイク画像に変換し、前記モザイク
画像と前記他方の二次元画像とを比較し、前記モザイク
画像に、最も近似する前記他方の二次元画像中の範囲を
求める組み合わせ位置判定手段と、前記一方の画像中の
参照画像が、前記他方の二次元画像中の前記組み合わせ
位置判定手段が求めた範囲に位置するように、前記一方
の画像と前記他方の画像とを組み合わせる組み合わせ手
段とを有することを特徴とする画像読み取り装置を提供
する。
[Means for Solving the Problems] To achieve the above object,
According to the present invention, an image pickup means that moves a document on a document by a user and sequentially captures a two-dimensional image of each part of the document with the movement, and a partial range overlaps with the two-dimensional image sequentially captured last time with the movement. Control means for causing the image pickup means to pick up a two-dimensional image of a document portion so as to pick up the two-dimensional image, and the i + 1th two-dimensional image picked up by the image pickup means sequentially from the first to i-th And an image combination unit that combines the two-dimensional images captured up to 2 to a two-dimensional image, the image combination unit overlapping with the other two-dimensional image included in one of the two two-dimensional images to be combined. A reference image that is an image in the range to be extracted is extracted, and the extracted reference image is stored for each of a plurality of pixels in the extracted reference image, the gradation value having an average value of the gradation values of the plurality of pixels. of Converted to a mosaic image converted into one pixel having the same spatial size as the element, comparing the mosaic image and the other two-dimensional image, the mosaic image, the other two-dimensional image most approximate A combination position determining means for determining an inner range, and a reference image in the one image, so that the one of the images and the reference image in the other two-dimensional image is located in the range determined by the combination position determining means. There is provided an image reading device having a combination means for combining the other image.

【0021】[0021]

【作用】本発明に係る画像読み取り装置によれば、画像
組み合わせ部の組み合わせ位置判定手段は、組み合わせ
る2つの二次元画像のうちの一方に含まれる、他方の二
次元画像と重複する範囲中の画像である参照画像を抽出
し、抽出した参照画像を、抽出した参照画像中の複数の
画素毎に、当該複数の画素の階調値の平均値を階調値と
して持つ当該複数の画素と同じ空間的大きさを持つ一つ
の画素に変換したモザイク画像に変換し、前記モザイク
画像と前記他方の二次元画像とを比較し、前記モザイク
画像に、最も近似する前記他方の二次元画像中の範囲を
求める。
According to the image reading apparatus of the present invention, the combination position determination means of the image combination unit includes an image in a range included in one of the two two-dimensional images to be combined and overlapping with the other two-dimensional image. Is extracted, and the extracted reference image is stored in the same space as the plurality of pixels having the average value of the gradation values of the plurality of pixels as a gradation value for each of the plurality of pixels in the extracted reference image. Converted to a mosaic image converted into one pixel having a physical size, comparing the mosaic image and the other two-dimensional image, the mosaic image, the range in the other two-dimensional image most approximate Ask.

【0022】そして、組み合わせ手段は、前記一方の画
像中の参照画像が、前記他方の二次元画像中の前記組み
合わせ位置判定手段が求めた範囲に位置するように、前
記一方の画像と前記他方の画像とを組み合わせる。
Then, the combining means sets the one image and the other image so that the reference image in the one image is located in the range obtained by the combination position determining means in the other two-dimensional image. Combine with the image.

【0023】すなわち、本発明では、いわゆるパタ−ン
マッチングの手法により、組み合わせ位置を求めるの
で、曲線的に移動された場合でも、順次読み取った二次
元画像を正しい位置関係で組み合わせることができる。
また、本発明では組み合わせる二次元画像の一方を、主
として空間周波数の低い成分よりなる画像に変換した後
に、これと他方の二次元画像を比較することにより、両
者を組み合わせるべき位置を求める。このように、主と
して空間周波数の低い成分よりなる画像を、組み合わせ
る位置を求めるための画像とすれば、その情報量の低さ
より高速な処理が期待できる。また、ノイズ等による高
空間周波数成分による誤判定を防止することができる。
That is, in the present invention, since the combination position is obtained by the so-called pattern matching method, the sequentially read two-dimensional images can be combined in the correct positional relationship even when the two-dimensional image is moved in a curved manner.
Further, in the present invention, one of the two-dimensional images to be combined is converted into an image mainly composed of a component having a low spatial frequency, and then the other two-dimensional image is compared to obtain the position where the two should be combined. In this way, if an image mainly composed of low spatial frequency components is used as an image for determining the position to be combined, high-speed processing can be expected due to its low information amount. Further, it is possible to prevent erroneous determination due to high spatial frequency components due to noise or the like.

【0024】[0024]

【実施例】以下、本発明に係る画像読み取り装置の一実
施例を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the image reading apparatus according to the present invention will be described below.

【0025】本実施例に係る画像読み取り装置の構成を
図1に示す。
The configuration of the image reading apparatus according to this embodiment is shown in FIG.

【0026】図中、100はハンディスキャナ、200
はパ−ソナルコンピュ−タである。ハンディスキャナ1
00は、制御回路102、二次元画像を撮影するエリア
CCDセンサー105、原稿を照射する発光ダイオード
アレイからなる光源104、エリアCCDセンサー10
5に原稿の反射光を結像させる光学系106、画像組み
合わせ手段103、メモリ107、位置検出手段10
9、インタフェ−ス回路111を備えている。エリアC
CDセンサー105は、一度には、原稿の一部のみを撮
影する。
In the figure, 100 is a handy scanner, and 200
Is a personal computer. Handy scanner 1
Reference numeral 00 denotes a control circuit 102, an area CCD sensor 105 for capturing a two-dimensional image, a light source 104 including a light emitting diode array for illuminating a document, and an area CCD sensor 10.
5, an optical system 106 for forming an image of reflected light of an original, an image combining means 103, a memory 107, and a position detecting means 10.
9. An interface circuit 111 is provided. Area C
The CD sensor 105 photographs only a part of the document at one time.

【0027】また、ハンディスキャナ100は、エリア
CCDセンサー105の中心に対して対象な位置に、2
つのボ−ル状の球101を備えている。ボール状の球1
01のそれぞれには、図が煩雑となるのを避けるために
図示するのを省略したが、相互の直交する予め定めた2
方向に回転する2つのローラーが球の回転に伴い回転す
るように設けられている、また、各ロ−ラにはロ−ラの
回転を検出するエンコーダーが接続されている。
Further, the handy scanner 100 is placed at a target position with respect to the center of the area CCD sensor 105.
It is provided with one ball-shaped sphere 101. Ball-shaped sphere 1
In each of 01, although not shown in order to avoid complication of the drawing, a predetermined 2
Two rollers that rotate in the same direction are provided so as to rotate with the rotation of the sphere, and an encoder that detects the rotation of the roller is connected to each roller.

【0028】ボ−ル状の球は、ハンディスキャナ100
の移動に伴い回転する。この回転は、それに隣接して設
けられたローラーにより相互に直交する成分に分解さ
れ、各々の成分の移動量は、エンコーダーにより検出さ
れる。この検出された移動量は、パルス情報(パルスの
数により移動量を表わす)の形式で、位置検出手段10
9に伝達される。
The ball-shaped sphere is a handy scanner 100.
Rotates with the movement of. This rotation is decomposed into mutually orthogonal components by a roller provided adjacent to the rotation, and the amount of movement of each component is detected by the encoder. The detected movement amount is in the form of pulse information (the movement amount is represented by the number of pulses), and the position detecting means 10 is used.
9 is transmitted.

【0029】一方、パ−ソナルコンピュ−タ200は、
インタフェ−ス回路201とメモリ202を備えてい
る。
On the other hand, the personal computer 200 is
The interface circuit 201 and the memory 202 are provided.

【0030】以下、本実施例に係る画像読み取り装置の
行う動作について説明する。
The operation of the image reading apparatus according to this embodiment will be described below.

【0031】画像読み取りが開始されると、ハンディス
キャナ100の制御回路102は一定期間毎にエリアC
CD105が撮影した画像を部分画像として一旦メモリ
107に記憶する。
When image reading is started, the control circuit 102 of the handy scanner 100 causes the area C to be read at regular intervals.
The image captured by the CD 105 is temporarily stored in the memory 107 as a partial image.

【0032】前記一定期間は、予想される最大速度ハン
ディスキャナ100が移動された場合にも、エリアCC
D105が、毎回、前回撮影した原稿の範囲の一部を含
んだ原稿の範囲を撮影できるように定める。
During the certain period, even when the expected maximum speed handy scanner 100 is moved, the area CC
D105 determines that the range of the document including a part of the range of the document photographed last time can be photographed each time.

【0033】画像組合わせ手段は103、部分画像が取
り込まれる度に、もしくは、原稿全体についての部分画
像の取り込みが終了した後に、メモリ107上で、部分
画像を組み合わせて原稿全体の画像を表す全体画像を作
成する。この全体画像の作成は、撮影した部分画像を順
次組み合わせることにより行う。たとえば、部分画像が
取り込まれる度に、それまで、取り込んだ部分画像を組
み合わせていく場合には、前回までに撮影した部分画像
を組み合わせて作成した全体画像に、今回取り込んだ部
分画像を組あわせ、これを新たな全体画像としていくよ
うにする。
The image combining means 103 combines the partial images in the memory 107 every time a partial image is captured or after the partial images of the entire document are completely captured to represent the image of the entire document. Create an image. This whole image is created by sequentially combining the photographed partial images. For example, each time a partial image is captured, if you want to combine the partial images captured until then, combine the partial image captured this time with the entire image created by combining the partial images captured up to the previous time, This is used as a new whole image.

【0034】以下、この全体画像作成の詳細について、
部分画像が取り込まれる度に部分画像を組み合わせて原
稿全体の画像を表す全体画像を作成する場合を例にとり
説明する。
The details of creating the whole image will be described below.
An example will be described in which a partial image is combined every time a partial image is captured to create an entire image representing an image of the entire original.

【0035】まず、第1回目にメモリ107に格納され
た部分画像を全体画像とする。そして、第2回目の部分
画像がメモリ107に格納されたら、画像組み合わせ手
段103は、位置検出手段109より、ハンディスキャ
ナ100の移動量を受け取る。ハンディスキャナ10の
移動量は、移動量の直進成分と回転成分に分けて、位置
検出手段109において次のように求められる。
First, the partial image stored in the memory 107 for the first time is set as the entire image. Then, when the second partial image is stored in the memory 107, the image combination means 103 receives the movement amount of the handy scanner 100 from the position detection means 109. The movement amount of the handy scanner 10 is divided into a straight-moving component and a rotation component of the movement amount, and is obtained by the position detecting means 109 as follows.

【0036】すなわち、現在の、ふたつのボ−ル状の球
101の移動量に応じて求めた、基準とする原点に対す
るふたつのボ−ル状の球の位置を直交軸座標で(X1,
Y1)(X2,Y2)とし、前回画像を取り込んだ際の
位置を(XO1,YO1)(XO2,YO2)とする。
That is, the positions of the two ball-shaped spheres with respect to the reference origin, which are obtained according to the current movement amounts of the two ball-shaped spheres 101, are expressed by (X1,
Y1) (X2, Y2), and the position when the previous image was captured is (XO1, YO1) (XO2, YO2).

【0037】そして、エリアCCDセンサ105の中心
位置の直進成分量を、 ({(XO1+XO2)−(X1+X2)}/2, {(YO1+YO2)−(Y1+Y2)}/2)とする。
Then, the straight-ahead component amount at the central position of the area CCD sensor 105 is set to ({(XO1 + XO2)-(X1 + X2)} / 2, {(YO1 + YO2)-(Y1 + Y2)} / 2).

【0038】又、回転成分量を、 (X1−X2)^2+(Y1−Y2)^2 =(XO1−XO2)^2+(YO1−YO2)^2 =R^2として、 cos θ=1−[{(X2−X1)−(XO2−XO1)}^
2+{(Y2−Y1)−(YO2−YO1)}^2]/2R
^2とする。
Further, the rotation component amount is (X1-X2) ^ 2 + (Y1-Y2) ^ 2 = (XO1-XO2) ^ 2 + (YO1-YO2) ^ 2 = R ^ 2, and cos θ = 1- [{(X2-X1)-(XO2-XO1)} ^
2 + {(Y2-Y1)-(YO2-YO1)} ^ 2] / 2R
Let's say 2

【0039】さて、画像組み合わせ手段103は、この
位置検出手段109より受け取った移動量を基に、第2
回目の部分画像の第1回目の部分画像に対する相対位
置、角度を求める。
Now, the image combining means 103 uses the movement amount received from the position detecting means 109 to determine the second
The relative position and angle of the partial image of the first time with respect to the partial image of the first time are obtained.

【0040】そして、このようにして求めた相対位置、
角度によって、第2回目の部分画像を全体画像に組み合
わせた場合の両者の重複範囲を求める。また、第2回目
の部分画像の、求めた全体画像と重複する範囲から、適
当な大きさの範囲の画像を参照画像として抽出する。た
だし、第2回目の部分画像の、求めた全体画像と重複す
る範囲の全てを参照画像とするようにしてもよい。そし
て、処理Aの処理を行う。
Then, the relative position thus obtained,
Depending on the angle, the overlapping range between the second partial image and the entire image when combined is obtained. In addition, an image of an appropriate size range is extracted as a reference image from the range of the second partial image that overlaps the obtained overall image. However, the entire range of the second partial image that overlaps the obtained overall image may be used as the reference image. Then, the process A is performed.

【0041】(処理A)図2bに示すように、第2回目
の部分画像(図2a)より抽出した参照画像の8×8画
素を、当該8×8画素と同じ範囲を占有する一つの画素
に変換したモザイク画像2110を生成する。そして、
生成したモザイク画像を、図2cに示すように位置検出
手段109から受け取った相対位置、角度に適合するよ
うに、全体画像上2000に重ねる。すなわち、位置検
出手段109の求めた移動量処理が正しかったとした場
合に、モザイク画像に対応する原稿上の範囲が、モザイ
ク画像が重なる全体画像の範囲が対応する原稿上の範囲
と等しくなるように重ねる。そして、処理Bの処理を行
う。
(Processing A) As shown in FIG. 2b, the 8 × 8 pixel of the reference image extracted from the second partial image (FIG. 2a) is converted into one pixel which occupies the same range as the 8 × 8 pixel. To generate a mosaic image 2110. And
The generated mosaic image is overlaid on the whole image 2000 so as to match the relative position and angle received from the position detection means 109 as shown in FIG. 2c. That is, if the movement amount processing obtained by the position detection unit 109 is correct, the range on the document corresponding to the mosaic image is set so that the range of the entire image where the mosaic images overlap is equal to the range on the corresponding document. Overlap. Then, the process B is performed.

【0042】(処理B)まず、全体画像から、モザイク
画像各画素毎に、当該画素と重なるの画素群を抽出す
る。この抽出は、図3aに示すように、モザイク画像の
画素との重複する面積が、当該画素の半分以上となって
いる画素を抽出することにより行う。そして、モザイク
画像各画素毎に、当該画素と重なるの画素群の各画素の
階調の平均値を取る。
(Process B) First, for each pixel of the mosaic image, a pixel group overlapping the pixel is extracted from the entire image. This extraction is performed by extracting a pixel in which the area overlapping the pixel of the mosaic image is half or more of the pixel as shown in FIG. 3a. Then, for each pixel of the mosaic image, the average value of the gradation of each pixel of the pixel group overlapping the pixel is taken.

【0043】そして、それぞれのモザイク画像の画素
と、それに重なる全体画像の画素群の階調の平均値と違
いの総和ITを式1により求める。
Then, the sum IT, which is the difference between the average value of the gradations of the pixels of each mosaic image and the pixel group of the entire image which overlaps with it, is calculated by the equation 1.

【0044】 IT=Σ((GO)−(GN))⌒2 ……(式1) GN:モザイク画像の画素Nの階調 GO:Nと重なる全体画像の画素群の各画素の階調の平
均値 Σは、モザイク画像の全ての画素についての和をとるこ
とを示している。
IT = Σ ((GO) − (GN)) 2 (Equation 1) GN: gradation of pixel N of mosaic image GO: gradation of each pixel of the pixel group of the entire image overlapping N The average value Σ indicates that the sum is calculated for all pixels of the mosaic image.

【0045】そして、次に、a)モザイク画像を、現在
の位置から全体画像上で、図3b,cに示すように上下
左右方向について順次全体画像の1画素分ずつ平行移動
した位置について、処理Bを行い、各位置のITを求め
る。そして、ITが最小となった位置を基準位置とす
る。そして、b)基準位置から、モザイク画像を、全体
画像上で、上下左右方向について順次全体画像の1画素
分ずつ平行移動した位置について、処理Bを行い、各位
置のITを求める。そして、求めたITが、平行移動前
の位置のITより小さければ、b)で求めたITが最小
となった位置を新たな基準として、b)の処理を再度行
う(パタ−ンマッチングを行うことに相当)。一方、求
めたITが、平行移動前の位置のITより大きければ、
平行移動前の位置(基準位置)を次回の最終基準位置と
して記憶し、処理Cの処理を行う。
Then, a) processing the mosaic image from the current position on the whole image in parallel in the vertical and horizontal directions as shown in FIGS. Perform B to obtain IT at each position. Then, the position where IT becomes the minimum is set as the reference position. Then, b) processing B is performed at the position where the mosaic image is translated in parallel in the vertical and horizontal directions on the entire image one pixel at a time from the reference position, and IT of each position is obtained. Then, if the obtained IT is smaller than the IT at the position before the parallel movement, the process of b) is performed again using the position where the IT obtained in b) is the minimum as a new reference (pattern matching is performed). Equivalent to that). On the other hand, if the calculated IT is larger than the IT at the position before translation,
The position before the parallel movement (reference position) is stored as the next final reference position, and the process C is performed.

【0046】(処理C)モザイク画像の画素の大きさを
図3dに示すように1/4や1/16に小さくしたモザ
イク画像を生成する。たとえば、いままでの、モザイク
画像の画素が参照画像の8×8画素に対応するものであ
ったならば、今度は、参照画像の4×4画素を当該4×
4画素と同じ範囲を占有する一つの画素に変換したモザ
イク画像を生成する。
(Processing C) A mosaic image in which the pixel size of the mosaic image is reduced to 1/4 or 1/16 as shown in FIG. 3d is generated. For example, if the pixels of the mosaic image up to now correspond to the 8 × 8 pixels of the reference image, this time, the 4 × 4 pixels of the reference image are converted to the 4 × 4 pixels of the reference image.
A mosaic image converted into one pixel occupying the same range as four pixels is generated.

【0047】そして、生成したモザイク画像を、全体画
像上の、記憶しておいた最終基準位置に重ね、処理Bの
処理を行う。
Then, the generated mosaic image is superimposed on the stored final reference position on the entire image, and the process B is performed.

【0048】ただし、もし、いままでの、モザイク画像
の画素が参照画像の1×1画素に対応するものであった
ならば、記憶しておいた最終基準位置を最適位置とし、
第2回目の部分画像を、当該部分画像内の前記参照画像
部分が位置するように、全体画像に組み合わせる。
However, if the pixel of the mosaic image so far corresponds to 1 × 1 pixel of the reference image, the stored final reference position is set as the optimum position,
The second partial image is combined with the whole image so that the reference image portion in the partial image is located.

【0049】そして、全体画像と部分画像の画像の境界
部分において、文字や直線等が滑らかに連続しないズレ
が生じていないかを検出し、生じている場合には、ズレ
が解消されるよう、部分画像を微小角度、何度か少しづ
つ角度を異ならせて回転させてみる。そして、この回転
によってもズレが解消しない場合には、解消するまで文
字全体を1画素ずつ水平移動させ、ズレを解消する。
Then, at the boundary between the images of the entire image and the partial image, it is detected whether or not there is a deviation in which characters, straight lines, etc. do not continue smoothly, and if so, the deviation is eliminated. Rotate the partial image at a small angle, a few times with slightly different angles. If the displacement is not eliminated by this rotation, the entire character is horizontally moved pixel by pixel until the displacement is eliminated.

【0050】そして、ズレが解消したならば、位置変換
手段109は、部分画像を、全体画像メッシュに適合す
るメッシュをもった部分画像に変換する処理を行う(ス
テップ211)。ここでメッシュとは、図4に示すよう
に画素の並びを定めるものであり、メッシュ中の各益が
画素に対応する。
When the displacement is eliminated, the position conversion means 109 carries out a process of converting the partial image into a partial image having a mesh suitable for the whole image mesh (step 211). Here, the mesh defines the arrangement of pixels as shown in FIG. 4, and each profit in the mesh corresponds to a pixel.

【0051】すなわち、回転や移動を施した部分画像
(図4a符号502)の各画素の並びは、全体画像(図
4a符号501)の画素の並びと揃わない。そこで、施
した回転や移動を基に、回転や移動を施した部分画像
を、全体画像の画素の並びと揃った並びの画素よりなる
部分画像(図4b符号503)に変換する。
That is, the arrangement of pixels in the rotated or moved partial image (reference numeral 502 in FIG. 4a) is not aligned with the arrangement of pixels in the entire image (reference numeral 501 in FIG. 4a). Therefore, based on the applied rotation or movement, the rotated or moved partial image is converted into a partial image (reference numeral 503 in FIG. 4b) made up of pixels arranged in the same arrangement as the pixels of the entire image.

【0052】この変換は、回転、移動を施した部分画像
に、全体画像のメッシュを延長して重ね、各メッシュ中
の変換後(図5符号604)の部分画像の画素(図5符
号601)の値(階調)を、その位置に重なる変換前の
部分画像(図5符号603)の画素(図5符号602)
の値を用いて次式により求めることにより行う。
In this conversion, the mesh of the whole image is extended and overlapped on the rotated and moved partial image, and the pixel (reference numeral 601) of the converted partial image in each mesh (reference numeral 604). Value (gradation) of the partial image before conversion (reference numeral 603 in FIG. 5) that overlaps that position (reference numeral 602 in FIG. 5)
The value is calculated by the following formula.

【0053】変換後の画素の階調=Σ(変換前の画素と
重複する面積×変換前の画素の階調)/画素の面積 そして、得られた階調を基準メッシュ上での画素の階調
とする。(カラー画像を生成する場合では、この階調を
R,G,B各々について求めることにより、カラー画像
の変換が可能となる) そして、最後に、変換した第2回目の部分画像を全体画
像につなげた画像をメモリ107上に作成し、これを画
像を第3回目の部分画像に対する全体画像とする。この
際に、全体画像と第2回目の部分画像の重複する範囲が
生じるので、この範囲については部分画像と全体画像の
いづれかの画像を有効とし、他方の画像を無効とする。
本実施例では、部分画像の全体画像と重複しない範囲の
みを全体画像につなげるようにする。
Gradation of pixel after conversion = Σ (area overlapping with pixel before conversion × gradation of pixel before conversion) / area of pixel Then, the obtained gradation is the floor of the pixel on the reference mesh. To the key (In the case of generating a color image, it is possible to convert the color image by obtaining this gradation for each of R, G, and B.) Finally, the converted second partial image is converted into the whole image. The connected image is created in the memory 107, and this image is used as the whole image for the third partial image. At this time, a range in which the whole image and the second partial image overlap each other occurs. Therefore, in this range, either one of the partial image and the whole image is valid, and the other image is invalid.
In this embodiment, only the range of the partial image that does not overlap with the entire image is connected to the entire image.

【0054】以上の処理を各回の部分画像について繰り
返すことによりメモリ107上には原稿全体の全体画像
が作成されることになる。
By repeating the above processing for each partial image, the entire image of the entire original is created in the memory 107.

【0055】さて、メモリ107上に原稿全体の全体画
像が作成されたら、制御回路102は、これをインタフ
ェ−ス回路111を介してパ−ソナルコンピュ−タ20
0に送る。パ−ソナルコンピュ−タ200は、インタフ
ェ−ス回路201でこれを受信し、メモリ202に格納
する。
Now, when the entire image of the entire original document is created on the memory 107, the control circuit 102 sends it through the interface circuit 111 to the personal computer 20.
Send to 0. In the personal computer 200, the interface circuit 201 receives this and stores it in the memory 202.

【0056】以上、本発明の一実施例を説明した。The embodiment of the present invention has been described above.

【0057】以上のように、本実施例によれば、ハンデ
ィスキャナを移動する際、回転成分が加わった曲線的な
移動をした場合においても、部分画像を順次、原稿の画
像を正確に再現するようにつなぎ合わせることができ
る。
As described above, according to the present embodiment, when the handy scanner is moved, even when the hand-held scanner is moved in a curvilinear manner to which a rotation component is added, the partial images are sequentially reproduced and the image of the original is accurately reproduced. Can be spliced together.

【0058】また、以上の説明では、ハンディスキャナ
100の制御回路102は一定期間毎にエリアCCD1
05が撮影した画像を部分画像として取り込んだが、こ
れは、エリアCCD105が、毎回、前回撮影した原稿
の範囲の一部を含んだ原稿の範囲を撮影するように、ハ
ンディスキャナ100の制御回路102が、エンコ−ダ
より送られる移動量に応じて、エリアCCD105が撮
影した画像を部分画像として取り込むようにしてもよ
い。
Further, in the above description, the control circuit 102 of the handy scanner 100 has the area CCD 1 at regular intervals.
The image photographed by 05 is captured as a partial image. This is because the control circuit 102 of the handy scanner 100 causes the area CCD 105 to photograph the range of the original including a part of the range of the original taken every time. The image captured by the area CCD 105 may be captured as a partial image according to the amount of movement sent from the encoder.

【0059】また、本実施例では、部分画像のつなぎ合
わせをハンディスキャナ100側で行い、完成した全体
画像をパ−ソナルコンピュ−タ200に送ったが、ハン
ディスキャナ100から部分画像をそのまま、順次パ−
ソナルコンピュ−タ200に送り、部分画像のつなぎ合
わせをパ−ソナルコンピュ−タ側で行い、最終的な全体
画像を得るようにしてもよい。
In the present embodiment, the partial images are joined on the handy scanner 100 side and the completed whole image is sent to the personal computer 200. However, the partial images are directly output from the handy scanner 100 as they are. Par
Alternatively, the partial images may be sent to the personal computer 200, and the partial images may be joined on the personal computer side to obtain the final entire image.

【0060】また、本実施例では、全体画像に組み合わ
せる部分画像側よりモザイク画像を生成し、両者を組み
合わせるべき最適位置を求めたが、これは、逆に全体画
像側よりモザイク画像を生成し、両者を組み合わせるべ
き最適位置を求めるようにしてもよい。
Further, in the present embodiment, the mosaic image is generated from the partial image side to be combined with the whole image and the optimum position where the two are combined is obtained. On the contrary, the mosaic image is generated from the whole image side, You may make it obtain | require the optimal position which should combine both.

【0061】また、本実施例において、前述したよう
に、部分画像の全体画像への組み合わせの最適位置を求
める際に、あらかじめ、部分画像と全体画像の両方、も
しくは、どちらか一方の画像を、中間値生成等による補
間によって拡大した画像に変換しておくようにしてもよ
い。このようにすることにより、画像の位置合わせをよ
り細密に行うことができ、読み込んだ画像の画素密度が
粗い場合でも、ずれが生じ目立ちやすくなることを防ぐ
ことができる。
Further, in the present embodiment, as described above, when obtaining the optimum position of the combination of the partial images to the entire image, both the partial image and the entire image, or either one of them is previously calculated. You may make it convert into the enlarged image by the interpolation by intermediate value generation etc. By doing so, the position of the image can be more finely adjusted, and even if the pixel density of the read image is rough, it is possible to prevent the deviation from becoming conspicuous.

【0062】また、部分画像の全体画像への組み合わせ
の最適位置を求める際に、あらかじめ、部分画像と全体
画像の両方、もしくは、どちらか一方の画像を、各画素
の値を、その移動平均値に変換した画像に変換しておく
ようにしてもよい。すなわち、画素の値を、その画素周
辺の所定範囲内の画素の値の平均値に変換した画像に変
換するようにしてもよい。このようにして、画像をぼか
すことにより、画像内に存在する高周波成分を除去し、
パターンマッチングの正確性を高めることができる。
Further, when obtaining the optimum position of the combination of the partial images to the entire image, the value of each pixel of the partial image and the entire image, or either one of them is calculated in advance as the moving average value. You may make it convert into the image converted into. That is, the pixel value may be converted into an image in which the average value of the pixel values within a predetermined range around the pixel is converted. By blurring the image in this way, the high frequency components present in the image are removed,
The accuracy of pattern matching can be improved.

【0063】ところで、以上のように本実施例によれ
ば、読み取った画像をモザイク画像に変換して組み合わ
せの最適位置を求めるが、このようにすることは、一
見、情報を切り捨てているため、組み合わせの最適位置
を求める上で不利であるように感じられるかもしれな
い。
By the way, according to the present embodiment as described above, the read image is converted into the mosaic image to obtain the optimum position of the combination. However, this is because information is truncated at first sight, It may seem like a disadvantage in finding the optimal position for the combination.

【0064】しかし、実際には、たとえば、人間が画像
と画像の比較を行う際、逐一細かい部分についての比較
を行うのではなく、最初は、対象となる画像の全体につ
いて、相似するか否かの比較を行い、その後に、細かい
部分の相違点について比較を行っていくものである。こ
のことは、言葉を換えれば、最初に空間周波数の低い部
分(大ざっぱな全体像)について比較を行い、その後、
空間周波数の高い部分について比較を行っていることに
相当する。そして、このような比較は、階層的であるが
故に、比較的効率的な手法である。
However, in actuality, for example, when a person compares images with each other, rather than comparing the details one by one, at first, it is determined whether or not the entire target image is similar. Are compared, and then the differences in the details are compared. In other words, first compare the low spatial frequencies (rough overview), then
This is equivalent to making a comparison for a portion having a high spatial frequency. And, such comparison is a relatively efficient approach because it is hierarchical.

【0065】そこで、本実施例では、これに習い、先に
述べたように、読み取った画像についてモザイク画像を
生成することにより、読み取った画像を主として空間周
波数の低い成分よりなる画像を得、最初はこの画像を基
準として、おおまかに最適位置を求めることにより、効
率的な処理を実現し、処理を高速化したものである。前
述した、あらかじめ、画像を、各画素の値を、その移動
平均値に変換した画像に変換しておくのも、画像の空間
周波数を低くするのに役立つからである。
Therefore, in the present embodiment, learning from this, as described above, by generating a mosaic image for the read image, an image mainly composed of low spatial frequency components is obtained from the read image. Is to realize an efficient process and speed up the process by roughly determining the optimum position based on this image. This is also because it is useful for lowering the spatial frequency of the image that the image is converted into an image in which the value of each pixel is converted to the moving average value thereof in advance.

【0066】また、このように、モザイク画像を利用す
ることによって、従来より問題となっていた、ノイズ等
によって微妙に微小部分(高周波成分)が異なる画像に
ついて、一致するか否かの判別が困難となるという事も
少なくなる。なお、CCD等の読み取り素子において
は、画素の読み取り位置が常に一定であるとは限らず、
同じ画像を読み取っても、読み取りの角度、位置が少し
でもずれると、微小部分が異なる画像が得られるので、
このような場合に対しても本実施例は有効である。
Further, as described above, by using the mosaic image, it is difficult to determine whether or not the images, which have been subtly different from each other due to noise or the like, have a minute portion (high frequency component), which has been a problem. It is less likely that In a reading element such as a CCD, the reading position of pixels is not always constant,
Even if you read the same image, if the reading angle or position shifts even a little, you can get an image with different minute parts.
Even in such a case, the present embodiment is effective.

【0067】[0067]

【発明の効果】以上のように本発明によれば、特別なシ
−ト等を必要とすることなく、より正確に原稿の画像を
効率的に生成することのできる画像読み取り装置を提供
することができる。
As described above, according to the present invention, it is possible to provide an image reading apparatus capable of efficiently producing an image of a document more accurately and without requiring a special sheet or the like. You can

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例に係る画像読み取り装置の構成
を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an image reading apparatus according to an embodiment of the present invention.

【図2】本発明の実施例に係る画像読み取り装置が行う
画像の組み合わせのようすを示す図である。
FIG. 2 is a diagram showing how images are combined by an image reading apparatus according to an embodiment of the present invention.

【図3】本発明の実施例に係る画像読み取り装置が行う
画像の組み合わせのようすを示す図である。
FIG. 3 is a diagram showing how images are combined by an image reading apparatus according to an embodiment of the present invention.

【図4】本発明の実施例に係る画像読み取り装置が行う
画像の組み合わせのようすを示す図である。メッシュ適
合のための画像変換のようすを示す図である。
FIG. 4 is a diagram showing how images are combined by an image reading apparatus according to an embodiment of the present invention. It is a figure which shows the state of the image conversion for mesh adaptation.

【図5】本発明の実施例に係る画像読み取り装置が行う
画像の組み合わせのようすを示す図である。メッシュ適
合のための画像変換のようすを示す図である。
FIG. 5 is a diagram showing how images are combined by an image reading apparatus according to an embodiment of the present invention. It is a figure which shows the state of the image conversion for mesh adaptation.

【図6】従来の画像読み取り装置のこうせいを示すブロ
ック図である。
FIG. 6 is a block diagram showing how the conventional image reading apparatus operates.

【符号の簡単な説明】[Brief description of reference numerals]

100 ハンディスキャナ 101 球 102 制御回路 103 画像組み合わせ手段 104 光源 105 エリアCCDセンサー 106 光学系 107 メモリ 109 位置検出手段 111 インタフェ−ス回路 200 パ−ソナルコンピュ−タ 100 Handy Scanner 101 Sphere 102 Control Circuit 103 Image Combination Means 104 Light Source 105 Area CCD Sensor 106 Optical System 107 Memory 109 Position Detecting Means 111 Interface Circuit 200 Personal Computer

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 15/66 355 C ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location G06F 15/66 355 C

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】原稿上を利用者によって移動され、原稿の
部分毎の二次元画像を前記移動に伴い順次撮像する撮像
手段と、 前記移動に伴い順次前回撮像した2次元画像と一部範囲
が重複した2次元画像を撮像するように、前記撮像手段
に原稿の部分の二次元画像を撮像させる制御手段と、 順次、前記撮像手段がi+1番目に撮像した2次元画像
を、第1番目からi番目までに撮像した2次元画像を組
み合わせた2次元画像に組み合わせる画像組み合わせ部
とを有し、 前記画像組み合わせ部は、 組み合わせる2つの二次元画像のうちの一方に含まれ
る、他方の二次元画像と重複する範囲中の画像である参
照画像を抽出し、抽出した参照画像を、抽出した参照画
像中の複数の画素毎に、当該複数の画素の階調値の平均
値を階調値として持つ当該複数の画素と同じ空間的大き
さを持つ一つの画素に変換したモザイク画像に変換し、
前記モザイク画像と前記他方の二次元画像とを比較し、
前記モザイク画像に、最も近似する前記他方の二次元画
像中の範囲を求める組み合わせ位置判定手段と、 前記一方の画像中の参照画像が、前記他方の二次元画像
中の前記組み合わせ位置判定手段が求めた範囲に位置す
るように、前記一方の画像と前記他方の画像とを組み合
わせる組み合わせ手段とを有することを特徴とする画像
読み取り装置。
1. An image pickup unit that is moved on a document by a user and sequentially captures a two-dimensional image of each part of the document as the document moves, and a two-dimensional image that is sequentially captured last time and a partial range. Control means for causing the image pickup means to pick up a two-dimensional image of a document portion so as to pick up overlapping two-dimensional images; And an image combination unit that combines the two captured two-dimensional images into a two-dimensional image, the image combination unit including the other two-dimensional image included in one of the two two-dimensional images to be combined. A reference image that is an image in an overlapping range is extracted, and the extracted reference image has a gradation value that is an average value of gradation values of the plurality of pixels for each of a plurality of pixels in the extracted reference image. Compound Converted to a mosaic image converted into one pixel with the same spatial size as several pixels,
Comparing the mosaic image and the other two-dimensional image,
In the mosaic image, a combination position determination unit that finds the range in the other two-dimensional image that is most approximate, and a reference image in the one image is obtained by the combination position determination unit in the other two-dimensional image. An image reading apparatus comprising: a combining unit that combines the one image and the other image so that the image is located in a different range.
【請求項2】原稿上を利用者によって移動され、原稿の
部分毎の二次元画像を前記移動に伴い順次撮像する撮像
手段と、 利用者によって移動された移動量を検出する移動量検出
手段と、 前記移動量検出手段が検出した移動量に基づいて、順次
前回撮像した2次元画像と一部範囲が重複した2次元画
像を撮像するように、前記撮像手段に原稿の部分の二次
元画像を撮像させる制御手段と、 順次、前記撮像手段がi+1番目に撮像した2次元画像
を、第1番目からi番目までに撮像した2次元画像を組
み合わせた2次元画像に組み合わせる画像組み合わせ手
段とを有し、 前記画像組み合わせ部は、組み合わせ位置判定手段と、
組み合わせ手段とを有し、 前記組み合わせ位置判定手段は、 ア)組み合わせる2つの二次元画像のうちの一方に含ま
れる、他方の二次元画像と重複する範囲中の画像である
参照画像を抽出し、 イ)前記移動量検出手段が検出した移動量に基づいて、
抽出した参照画像と同じ原稿の部分を撮影した画像の範
囲であると推定される前記他方の二次元画像中の範囲を
候補範囲とし、 ウ)抽出した参照画像を、抽出した参照画像中のn個の
画素毎に、当該複数の画素の階調値の平均値を階調値と
して持つ当該複数の画素と同じ空間的大きさを持つ一つ
の画素に変換したモザイク画像に変換し、前記モザイク
画像に、最も近似する前記他方の二次元画像の範囲を、
前記他方の二次元画像中より前記候補範囲を探索の中心
として探索することにより求め、前記他方の二次元画像
中の範囲を新たな候補範囲とする処理を、 前記nの値を順次小さくしながら所定回数繰返し、 エ) 最後に得られた候補範囲を最終候補範囲とし、 前記組み合わせ手段は、 前記一方の画像中の参照画像が、前記他方の二次元画像
中の前記最終候補範囲に位置するように、前記一方の画
像と前記他方の画像とを組み合わせることを特徴とする
画像読み取り装置。
2. An image pickup means which is moved by a user on a document and sequentially picks up a two-dimensional image of each part of the document according to the movement, and a movement amount detection means which detects a movement amount moved by the user. Based on the movement amount detected by the movement amount detecting means, a two-dimensional image of the document portion is sequentially displayed on the image pickup means so as to pick up a two-dimensional image whose partial range overlaps with the two-dimensional image taken last time. A control means for capturing an image; and an image combining means for sequentially combining the two-dimensional images captured by the image capturing means i + 1th with the two-dimensional images captured from the first to i-th images. The image combination unit includes combination position determination means,
Combining means, wherein the combination position determining means: a) extracting a reference image which is an image in a range overlapping with the other two-dimensional image included in one of the two two-dimensional images to be combined, A) Based on the movement amount detected by the movement amount detecting means,
A range in the other two-dimensional image estimated to be a range of an image obtained by photographing the same original part as the extracted reference image is set as a candidate range, and c) the extracted reference image is n in the extracted reference image. For each pixel, the average value of the gradation values of the plurality of pixels is converted into a mosaic image converted into one pixel having the same spatial size as the plurality of pixels having a gradation value, and the mosaic image , The range of the other two-dimensional image that most closely approximates
Obtaining by searching the candidate range from the other two-dimensional image as the center of the search, the process of making the range in the other two-dimensional image a new candidate range, while sequentially decreasing the value of n. Repeated a predetermined number of times, d) The finally obtained candidate range is set as the final candidate range, and the combining means sets the reference image in the one image to be located in the final candidate range in the other two-dimensional image. An image reading apparatus characterized by combining the one image and the other image.
【請求項3】請求項1または2記載の画像読み取り装置
であって、 前記組み合わせ位置判定手段は、 モザイク画像の各画素について求めた、モザイク画像の
画素の階調値と当該モザイク画像の画素に対応する前記
他方の二次元画像中の複数の画素の階調の平均値との差
分の総和が最も小さくなる、前記他方の二次元画像中の
範囲を、前記モザイク画像に最も近似する前記他方の二
次元画像中の範囲として求めることを特徴とする画像読
み取り装置。
3. The image reading apparatus according to claim 1 or 2, wherein the combination position determining means determines the gradation value of the pixel of the mosaic image and the pixel of the mosaic image, which are obtained for each pixel of the mosaic image. The sum of the differences from the average value of the gradation of a plurality of pixels in the other corresponding two-dimensional image is the smallest, the range in the other two-dimensional image, the other of the other closest to the mosaic image. An image reading device characterized by being obtained as a range in a two-dimensional image.
【請求項4】請求項1または2記載の画像読み取り装置
であって、 前記像画像組み合わせ部は、 前記組み合わせ位置判定手段による2つの二次元画像の
組み合わせに先立ち、当該2つの二次元画像のそれぞれ
を、少なくとも当該2つの二次元画像の重複範囲につい
て、補間によって拡大する補間手段を有し、 前記組み合わせ位置判定手段は、補間によって拡大され
た2つの二次元画像を対象として処理を行うことを特徴
とする画像読み取り装置。
4. The image reading apparatus according to claim 1 or 2, wherein the image-image combining unit is configured to combine the two two-dimensional images with each other prior to combining the two two-dimensional images by the combination position determining unit. Is provided with an interpolating unit that enlarges at least the overlapping range of the two two-dimensional images by interpolation, and the combination position determining unit performs processing on the two two-dimensional images enlarged by the interpolation. Image reading device.
【請求項5】請求項1または2記載の画像読み取り装置
であって、 前記像画像組み合わせ部は、 前記組み合わせ位置判定手段による2つの二次元画像の
組み合わせに先立ち、当該2つの二次元画像のそれぞれ
を、少なくとも当該2つの二次元画像の重複範囲につい
て、当該二次元画像の各画素の階調値を移動平均によっ
て求めた値とした二次元画像に変換する手段を有し、 前記組み合わせ位置判定手段は、変換された2つの二次
元画像を対象として処理を行うことを特徴とする画像読
み取り装置。
5. The image reading apparatus according to claim 1 or 2, wherein the image-image combination unit is configured to combine the two two-dimensional images with each other before combining the two two-dimensional images by the combination position determination unit. For converting at least the overlapping range of the two two-dimensional images into a two-dimensional image in which the gradation value of each pixel of the two-dimensional image is a value obtained by a moving average. Is an image reading device, which performs processing on two converted two-dimensional images.
JP7009208A 1995-01-24 1995-01-24 Picture reader Pending JPH08202853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7009208A JPH08202853A (en) 1995-01-24 1995-01-24 Picture reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7009208A JPH08202853A (en) 1995-01-24 1995-01-24 Picture reader

Publications (1)

Publication Number Publication Date
JPH08202853A true JPH08202853A (en) 1996-08-09

Family

ID=11714058

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7009208A Pending JPH08202853A (en) 1995-01-24 1995-01-24 Picture reader

Country Status (1)

Country Link
JP (1) JPH08202853A (en)

Similar Documents

Publication Publication Date Title
JP4019063B2 (en) Optical terminal device, image processing method and system
US7313289B2 (en) Image processing method and apparatus and computer-readable storage medium using improved distortion correction
US6554431B1 (en) Method and apparatus for image projection, and apparatus controlling image projection
US8441695B2 (en) Handheld scanner with high image quality
US8119975B2 (en) High speed deterministic, non-contact, 3-axis free trajectory measurement device and free trajectory imaging device
US7221810B2 (en) Method and device for recording of information
WO2005059819A1 (en) Method, apparatus, computer program and storage medium for recording a movement of a user unit
JPH07220026A (en) Method and device for picture processing
US5909521A (en) Multi-shot still image reader
JP2002204342A (en) Image input apparatus and recording medium, and image compositing method
JP3621215B2 (en) 3D measuring device
JPH08202853A (en) Picture reader
JP2005227966A (en) Fingerprint input device
JPH08139868A (en) Image reader
JPH0865457A (en) Image input device
JPH08149260A (en) Image reader
JPH08139912A (en) Image reader
JPH06259557A (en) Picture input device
JP2002514021A (en) Device for recording information in different modes
JP3240899B2 (en) Document image input device
US20070122057A1 (en) Method of scanning an image using surface coordinate values and device using thereof
JP3265096B2 (en) Image evaluation method and apparatus
JPH06281421A (en) Image processing method
JP4651184B2 (en) Method and apparatus for registering, displaying and decoding spatially aligned information
JPH08279034A (en) Image synthesizing process system and scanner