JPH03295355A - Picture read method - Google Patents
Picture read methodInfo
- Publication number
- JPH03295355A JPH03295355A JP2096905A JP9690590A JPH03295355A JP H03295355 A JPH03295355 A JP H03295355A JP 2096905 A JP2096905 A JP 2096905A JP 9690590 A JP9690590 A JP 9690590A JP H03295355 A JPH03295355 A JP H03295355A
- Authority
- JP
- Japan
- Prior art keywords
- image
- sensor
- noise
- input
- images
- 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
Links
- 238000000034 method Methods 0.000 title claims description 16
- 238000010586 diagram Methods 0.000 description 5
- 238000012840 feeding operation Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 1
Landscapes
- Light Receiving Elements (AREA)
- Character Input (AREA)
- Image Input (AREA)
- Facsimile Scanning Arrangements (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、文字、図形等の画像を手送り操作により入力
する画像読み取り方法に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image reading method in which images such as characters and figures are input by manual feeding operation.
[従来の技術]
手送り操作による画像読み取り装置において、2本の一
次元イメージセンサを用いた従来の読み取り方法は、特
開昭61−78274がある。該方法は、手送り方向に
対して一定間隔で第1センサと第2センサを配置し、第
1センサがある位置で読み取った画像と第2センサが読
み取った画像との排他的論理和を求め、一致度がある値
以上になったときに前記第1センサの読み取り位置に前
記第2センサがきたものと見なし、その間の読み取り走
査回数から前記第1、第2センサの速度を検出し画像の
読み取り制御を行っている。[Prior Art] A conventional reading method using two one-dimensional image sensors in an image reading device using manual feeding operation is disclosed in Japanese Patent Laid-Open No. 61-78274. This method involves arranging a first sensor and a second sensor at regular intervals in the hand-feeding direction, and calculating the exclusive OR of the image read by the first sensor at a certain position and the image read by the second sensor. When the degree of coincidence exceeds a certain value, it is assumed that the second sensor has come to the reading position of the first sensor, and the speeds of the first and second sensors are detected from the number of reading scans during that time, and the image Reading control is in progress.
しかしながら、前記方法は、入力画像にノイズ等が含ま
れることを前提としていない。従って、もし、入力画像
中にノイズが存在した場合には、2つのセンサより得ら
れた画像の排他的論理和により一致度を求めると一致度
が低くなってしまう。However, the method does not assume that the input image contains noise or the like. Therefore, if noise is present in the input image, the degree of coincidence will be low if the degree of coincidence is determined by the exclusive OR of the images obtained from the two sensors.
このような状態で一致度を比較し、入力画像の対応付け
を行うと、実際には対応画像が存在していても一致度が
低いために発見できなくなることがある。その結果、特
徴点を発見するまで捜し続けることになり、画像の歪補
正が出来ない。もしくはさらに後から出現した特徴点と
結び付く可能性もあり、正確な歪補正が出来ない。If the degree of coincidence is compared and the input images are associated in such a state, even if a corresponding image actually exists, it may not be possible to find it because the degree of coincidence is low. As a result, the search continues until the feature point is found, making it impossible to correct image distortion. Or, there is a possibility that it will be connected to a feature point that appeared later, making it impossible to perform accurate distortion correction.
そこで、本発明は、上記のような課題を解決するもので
、その目的とするところは、入力した画像中にノイズが
含まれていても正確に特徴を計算し画像を対応付は速度
を検出し歪の無い画像を得る画像読み取り方法を提供す
ることにある。Therefore, the present invention is intended to solve the above-mentioned problems, and its purpose is to accurately calculate features even if noise is included in the input image, and to detect the speed of image matching. An object of the present invention is to provide an image reading method that obtains images without distortion.
[課題を解決するための手段]
本発明は、文字、図形を読み取る一次元イメージセンサ
からなる第1センサ、第2センサの少なくとも2個を有
し、手送り方向に対して先に進む前記第1センサがある
位置において読み取った画像を、後から進む前記第2セ
ンサが読み取るまでの時間を検出し画像の歪補正を行い
ながらW像を読み取る方法において、入力画像のライン
中の白画像あるいは黒画像の傾向より画像中の短いライ
ンがノイズかどうかを判断し、ノイズの場合には周りの
画像に吸収させて特徴を計算した後、特徴を比較して速
度を検出し、画像の歪補正を行うことを特徴とする。[Means for Solving the Problems] The present invention has at least two sensors, a first sensor and a second sensor, each of which is a one-dimensional image sensor that reads characters and graphics, and the first sensor that moves forward in the hand-feeding direction. In a method of reading a W image while correcting image distortion by detecting the time taken for an image read by one sensor at a certain position to be read by the second sensor proceeding later, the white image or black image in a line of the input image is detected. It determines whether a short line in the image is noise based on the image trend, and if it is noise, it is absorbed into the surrounding images and its features are calculated.The features are compared to detect the speed and image distortion is corrected. It is characterized by doing.
[実施例] 以下、本発明を、実施例に基づいて詳細に説明する。[Example] Hereinafter, the present invention will be explained in detail based on examples.
第1図は、本発明の入力した画像(ライン)中のノイズ
を判断し画像の正確な特徴を検出する方法を示した図で
ある。第2図は、前記特徴を比較し一致度を計算する方
法を示し力面である。第3図は手送り方向に対して平行
に並んだ2本のセンサを有する画像読み取り装置である
。第4図は、前記画像読み取り装置で入力した2本のセ
ンサから得られる画像である。FIG. 1 is a diagram illustrating a method of the present invention for determining noise in an input image (line) and detecting accurate features of the image. FIG. 2 shows a method of comparing the features and calculating the degree of coincidence in terms of force. FIG. 3 shows an image reading device having two sensors arranged parallel to the manual feeding direction. FIG. 4 shows images obtained from two sensors input by the image reading device.
以下、本発明の画像読み取り方法を説明する。The image reading method of the present invention will be explained below.
本発明に用いる画像読み取り装置は、手送り方向308
に対して平行に並んだ2本の一次元イメージセンサ(3
02及び303)を具備し、前記2本の一次元イメージ
センサには、レンズ306によって画像307の反射光
が結像されるようになっている。また、画像307は常
にLED等の光源(図示せず)により照射されている。The image reading device used in the present invention has a manual feed direction 308.
Two one-dimensional image sensors (3
02 and 303), and the reflected light of an image 307 is formed on the two one-dimensional image sensors by a lens 306. Further, the image 307 is always illuminated by a light source (not shown) such as an LED.
該画像入力装置により手送り方向308に手送り操作に
より画像入力装置を移動し画像の人力を行った場合、平
行に並んだ2本の一次元イメージセンサ(302及び3
03)には304及び305に示された領域の画像が人
力される。前記−次元イメージセンサ(302及び30
3)は間隔d30114けて平行に並んでおり、またレ
ンズ306は、画像を1対1投影するようセットしであ
るので、読み取り位置304及び305の間隔309は
間隔d301と同じ間隔である。また、画像入力装置の
手送り方向は308で示した方向であり、レンズ306
により投影されているので、位W305の画像情報はセ
ンサ303に、位置304の画像情報はセンサ302に
それぞれ入力され、また、センサ303(以後第1セン
サと呼ぶ)に入力した画像よりも間隔d301の移動時
間遅れてセンサ302(以後第2センサと呼ぶ)に同一
地点の画像が入力される。When the image input device is manually moved in the manual feed direction 308 to perform manual image capture, two one-dimensional image sensors (302 and 3
03), images of the areas shown in 304 and 305 are manually input. The -dimensional image sensor (302 and 30
3) are arranged in parallel with an interval d30114, and since the lens 306 is set to project images one-to-one, the interval 309 between the reading positions 304 and 305 is the same as the interval d301. Further, the manual feeding direction of the image input device is the direction indicated by 308, and the lens 306
Since the image information at position W305 is input to the sensor 303 and the image information at position 304 is input to the sensor 302, the distance d301 is smaller than the image input to the sensor 303 (hereinafter referred to as the first sensor). An image of the same point is input to the sensor 302 (hereinafter referred to as the second sensor) after a travel time delay of .
次に、前記画像入力装置によって手送り操作により入力
された画像の特徴点を検出し歪を補正する方法について
説明する。原稿上に書かれた画像第4図(a)を第3図
に示した画像入力装置により手送り操作により入力する
と、手送り速度が一定でないため、第1センサ303よ
り第4図(b)に示す画像、第2センサ302より第4
図(C)に示す画像が得られる。尚、前記2つの画像第
4図(b)及び第4W(c)は、横方向は時間軸401
で示され、時間軸401上で同一の時刻の位置にある画
像は同時に入力されたものである。従って、該2つの画
像の同一地点の画像の時間の遅れを検出することにより
、第1センサと第2センサの間隔dよりこの間の画像入
力装置の移動速度かもとまり、歪の無い画像を得ること
が可能となる。また、画像の特徴点の対応付けは特開昭
61−78274のように二つの画像の排他的論理和を
計算して一致度を求めても良いが本発明においては、第
2図に示すように白画像と黒画像の境界点を対応付けて
そのずれ量により一致度を求め、速度補正を行うことに
する。Next, a method of detecting feature points of an image input by hand-feeding operation using the image input device and correcting distortion will be described. When the image shown in FIG. 4(a) written on the manuscript is input by manual feeding operation using the image input device shown in FIG. 3, the first sensor 303 inputs the image shown in FIG. The image shown in FIG.
The image shown in Figure (C) is obtained. Note that the two images shown in FIGS. 4(b) and 4(c) have the time axis 401 in the horizontal direction.
Images located at the same time on the time axis 401 are input at the same time. Therefore, by detecting the time delay between the images at the same point in the two images, the moving speed of the image input device during this time can be determined from the distance d between the first sensor and the second sensor, and an image without distortion can be obtained. becomes possible. Further, the correspondence between feature points of images may be determined by calculating the exclusive OR of two images as in JP-A-61-78274, but in the present invention, as shown in FIG. The boundary points between the white image and the black image are associated with each other, and the degree of coincidence is calculated based on the amount of deviation, and speed correction is performed.
本発明に於いては、一致度の比較の前に入力画像中にノ
イズが存在しているかどうかの判断を行う。判断の方法
としてはまず全体の画像の流れに着目する。第1図(a
)101に着目すると、画像は、左から111.112
.113.114.115の5つのグループで構成され
ている。ここで、111から115の5つのグループの
領域の長さの流れに着目する。そうすると、112の領
域の長さが他の領域の長さに比べて極端に短くなってお
り全体の領域の長さの流れを狂わせている。In the present invention, it is determined whether noise is present in the input image before comparing the degree of matching. As a method of judgment, first focus on the overall flow of the image. Figure 1 (a
) 101, the image is 111.112 from the left
.. It consists of five groups: 113, 114, and 115. Here, we will focus on the flow of the lengths of the five groups of regions 111 to 115. In this case, the length of the region 112 is extremely short compared to the lengths of the other regions, which disturbs the flow of the length of the entire region.
従って、112の領域はノイズである可能性が高い。そ
こで、本発明に於いては、このようなノイズの可能性の
ある領域は周りの領域、すなわち111と113の領域
に吸収させる。そうすることにより、第1図(a)10
1の画像は102のような画像となり、ノイズの無い画
像となる。こうして、ノイズの無い画像の特徴を作成す
ることにより正確な画像の比較が可能となる。例えば、
ノイズの存在する画像101 (201)とノイズの存
在しない画像102 (203)を、正しい画像202
(または204)の画像の各領域の境界との位置ずれ(
211〜2]4と215〜216及び241〜242と
243〜244)を比較すると第2図(a)及び第2図
(b)に示すようになる。これは、ノイズ222が存在
するか否かの違いにより一致度がどのくらい違うかを示
したものである。全体に対してたった5パーセントのノ
イズ222が存在するために、画像の一致度は45パー
セントに下がってしまうことを意味している。Therefore, the area 112 is likely to be noise. Therefore, in the present invention, such areas where noise is likely to occur are absorbed into the surrounding areas, that is, the areas 111 and 113. By doing so, Figure 1 (a) 10
The image 1 becomes an image 102, which is a noise-free image. In this way, accurate image comparisons are possible by creating noise-free image features. for example,
The image 101 (201) with noise and the image 102 (203) without noise are combined into the correct image 202.
(or 204) with respect to the boundaries of each area of the image (
211-2] 4 and 215-216 and 241-242 and 243-244), the results are shown in FIGS. 2(a) and 2(b). This shows how much the degree of matching differs depending on whether noise 222 is present or not. This means that the presence of noise 222, which is only 5% of the total, reduces the degree of matching of the images to 45%.
ノイズの一致度に及ぼす影響は特徴の比較の方法によっ
て異なるが如何なる特徴の比較のし方においてもノイズ
の影響は大きいものである。第2図の231〜233及
び261で示した領域は、致している領域を意味する。The influence of noise on the degree of matching differs depending on the method of feature comparison, but the influence of noise is significant no matter how the features are compared. The areas indicated by 231 to 233 and 261 in FIG. 2 mean matching areas.
また、本発明は、ノイズかどうかの判断を全体の画像の
流れに着目することにより行っている。Furthermore, the present invention determines whether or not it is noise by focusing on the flow of the entire image.
従って、画像101においてノイズと判断された領域1
12より小さい領域であっても画像103のように各領
域が小さく全体の流れを狂わせないような場合にはノイ
ズと判断しない。画像103においてノイズと判断され
たのは領域137のみでこの領域は領域136と138
に吸収されて画像104で領域】56となっている。こ
のように、全体の流れに着目してノイズか否かの判断を
行うので、画像の特徴を損なうことなく正確にノイズの
除去ができ、正確な特徴の抽出が可能となる。Therefore, the area 1 determined to be noise in the image 101
Even if the area is smaller than 12, if each area is small and does not disrupt the overall flow, as in image 103, it is not determined to be noise. In image 103, only area 137 was determined to be noise, and this area is similar to areas 136 and 138.
It is absorbed into the image 104 and becomes an area ]56. In this way, since it is determined whether or not it is noise by focusing on the overall flow, noise can be accurately removed without damaging the features of the image, and accurate features can be extracted.
以上のようにして第1センサより入力した画像中より特
徴点を抽出し、該特徴点に対応した画像を第2センサよ
り入力した画像から捜し、対応する画像の読み込み時間
のずれより画像入力装置の移動速度を検出し画像の歪補
正を行うためきれいな画像を得ることが可能となる。ま
た、本発明においてノイズの判断は全体の画像の各領域
の大きさの流れに着目して行っている。その結果、実際
にはノイズでなくても領域が他と比べて小さいためにノ
イズと判断して周りの領域に吸収させてしまうごとがあ
る。しかしながら、このような画像は、対応する画像も
同じように吸収させてしまうので、対応する画像の特徴
は一致する。As described above, a feature point is extracted from the image input from the first sensor, an image corresponding to the feature point is searched from the image input from the second sensor, and the image input device By detecting the moving speed of the camera and correcting image distortion, it is possible to obtain clear images. Further, in the present invention, noise is determined by focusing on the flow of the size of each region of the entire image. As a result, even if it is not actually noise, because the area is small compared to other areas, it may be determined to be noise and absorbed by surrounding areas. However, since such images also absorb the corresponding images in the same way, the characteristics of the corresponding images match.
以上述べたように、本発明によれば入力画像の白画像領
域と黒画像領域の長さの全体的な流れに着目し、領域の
長さの流れを乱すような小さい領域の画像の場合にはノ
イズと判断して周りの画像に吸収させて特徴を抽出する
のでノイズに影響されない正確な特徴の比較が可能とな
る。その結果、画像入力装置の速度を正確に検出するこ
とが可能となり、歪の無いきれいな画像を得ることが可
能となる。As described above, according to the present invention, attention is paid to the overall flow of the length of the white image area and black image area of the input image, and in the case of an image with a small area that disturbs the flow of the length of the area, is determined to be noise and is absorbed into the surrounding images to extract the features, making it possible to compare accurate features unaffected by noise. As a result, it becomes possible to accurately detect the speed of the image input device, and it becomes possible to obtain a clear image without distortion.
以上述べたように、本発明によれば、入力ライン中の白
画像あるいは黒画像の領域の流れに着目し、領域が全体
的な流れに比較して極端に小さい場合にはノイズである
と判断して周りの領域に吸収させ7′:佳特徴を比較す
るので、ノイズが存在するために一致度が小さくなった
り、また、同一の画像でありながら別の画像と判断して
しまうようなことがなくなり、正確に特徴の比較ができ
る。As described above, according to the present invention, attention is paid to the flow of the white image or black image area in the input line, and if the area is extremely small compared to the overall flow, it is determined that it is noise. 7': Since good features are compared, the degree of matching may be low due to the presence of noise, or the images may be judged as different images even though they are the same. This eliminates the need for accurate feature comparisons.
その結果、特徴点の対応付けが正確となり、歪の無いき
れいな画像を得ることが可能となる。As a result, the correspondence between feature points becomes accurate, and it becomes possible to obtain a clear image without distortion.
本発明の画像読み取り方法により、位置決め等のエンコ
ーダーが不用となるため小型の画像入力装置をさらに小
型化し、非常に使いやすい画像入力装置を提供すること
が可能となる。The image reading method of the present invention eliminates the need for an encoder for positioning, etc., making it possible to further downsize a small image input device and provide an image input device that is extremely easy to use.
第1図は本発明の詳細な説明図。第2図は、特徴を比較
し一致度検出説明図。第3図は本発明に用いる画像読み
取り装置構成図。第4図は、前記画像読み取り装置によ
り入力した画像説明図。
101・・・・ノイズ除去前入力画像
102・・・・ノイズ除去後入力画像
103・・・・ノイズ除去前入力画像
104・・・・ノイズ除去後入力画像
301・・・・センサ間隔
302・・・・第2センサ
303・・・・第1センサ
304 ・
305 ・
306 ・
307 ・
401 ・
・第2センサ読み取り位置
・第1センサ読み取り位置
・レンズ
・読み取り原画像
・時間軸
以上FIG. 1 is a detailed explanatory diagram of the present invention. FIG. 2 is an explanatory diagram of matching degree detection by comparing features. FIG. 3 is a configuration diagram of an image reading device used in the present invention. FIG. 4 is an explanatory diagram of an image input by the image reading device. 101... Input image before noise removal 102... Input image after noise removal 103... Input image before noise removal 104... Input image after noise removal 301... Sensor interval 302...・・Second sensor 303・・・・First sensor 304 ・ 305 ・ 306 ・ 307 ・ 401 ・・Second sensor reading position・First sensor reading position・Lens・Reading original image・More than time axis
Claims (1)
第1センサ、第2センサの少なくとも2個を有し、手送
り方向に対して先に進む前記第1センサがある位置にお
いて読み取った画像を、後から進む前記第2センサが読
み取るまでの時間を検出し画像の歪補正を行いながら画
像を読み取る方法において、入力画像のライン中の白画
像あるいは黒画像の傾向より画像中の短いラインがノイ
ズかどうかを判断し、ノイズの場合には周りの画像に吸
収させて特徴を計算した後、特徴を比較して速度を検出
し、画像の歪補正を行うことを特徴とする画像読み取り
方法。It has at least two sensors, a first sensor and a second sensor, which are one-dimensional image sensors that read characters and figures, and the image read at a certain position by the first sensor, which moves forward in the hand-feeding direction, is later read. In the method of reading an image while detecting the time until the second sensor reads the image and correcting the image distortion, it is determined whether a short line in the image is noise based on the tendency of white images or black images among the lines of the input image. An image reading method is characterized in that, in the case of noise, the characteristics are calculated by absorbing it into the surrounding image, and then the characteristics are compared to detect the speed and correct the distortion of the image.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2096905A JPH03295355A (en) | 1990-04-12 | 1990-04-12 | Picture read method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2096905A JPH03295355A (en) | 1990-04-12 | 1990-04-12 | Picture read method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03295355A true JPH03295355A (en) | 1991-12-26 |
Family
ID=14177385
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2096905A Pending JPH03295355A (en) | 1990-04-12 | 1990-04-12 | Picture read method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03295355A (en) |
-
1990
- 1990-04-12 JP JP2096905A patent/JPH03295355A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3425366B2 (en) | Image correction device | |
| JP3249605B2 (en) | Document edge detection device | |
| US8018629B2 (en) | Image reading apparatus, image reading method, and program for implementing the method | |
| JPH08123900A (en) | Position determination method and apparatus for line scan image | |
| JPH03295355A (en) | Picture read method | |
| JPH06274788A (en) | Number plate reading device | |
| JPS61277248A (en) | Image quality determination method and device for image reading device | |
| JP2982287B2 (en) | Character string detection method, character string detection device, character string reading method, and character string reading device | |
| JP2900495B2 (en) | Image reading method | |
| JP3053723B2 (en) | License plate character recognition method and device | |
| JPH05164569A (en) | Road detection device for moving vehicles | |
| JP2848407B2 (en) | Mobile vehicle environment recognition device | |
| JPH0382262A (en) | Picture read method | |
| JPH0969162A (en) | In-vehicle image processing device | |
| JPH03297264A (en) | Picture read method | |
| JPH06187492A (en) | Character string imaging method | |
| JP2704933B2 (en) | Image processing position detection method | |
| JPH10229486A (en) | Image reader | |
| JPS6027436B2 (en) | Character recognition correction method | |
| JPS6280779A (en) | Character reader | |
| JPH04276888A (en) | Character reader | |
| JPH03250387A (en) | Character segmenting system | |
| JPH07104137B2 (en) | Method of detecting the rotation angle of the target pattern | |
| JPH03292052A (en) | Image reading method | |
| JPS6225220B2 (en) |