JPS61239377A - Device for detecting angle difference between pictures - Google Patents
Device for detecting angle difference between picturesInfo
- Publication number
- JPS61239377A JPS61239377A JP60080700A JP8070085A JPS61239377A JP S61239377 A JPS61239377 A JP S61239377A JP 60080700 A JP60080700 A JP 60080700A JP 8070085 A JP8070085 A JP 8070085A JP S61239377 A JPS61239377 A JP S61239377A
- Authority
- JP
- Japan
- Prior art keywords
- angle
- histogram
- circuit
- maximum
- value
- 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
Landscapes
- Collating Specific Patterns (AREA)
- Image Input (AREA)
- Image Analysis (AREA)
Abstract
Description
【発明の詳細な説明】
〔概要〕
合同・相似または類似する二つの画像の間の角度差を検
出する装置において1画素値の最大変化方向の角度ヒス
トグラムの最大値を利用することによって、検出速度の
増大を図ったもの。Detailed Description of the Invention [Summary] In a device that detects the angular difference between two congruent, similar, or similar images, the detection speed can be increased by using the maximum value of the angular histogram in the direction of maximum change in one pixel value. The aim is to increase the number of people.
画像処理技術の一応用分野である例えば印鑑照合装置に
おいては、照合の対象とする被照合印鑑すなわち被照合
画像と、照合の基準とする登録印影すなわち基準画像と
を、パターンマツチング等の手法によって照合し両者の
一致性の検査が行われる。For example, in a seal matching device, which is an applied field of image processing technology, a matching seal impression, that is, a matching image, and a registered seal impression, that is, a reference image, are used as a reference for matching, using techniques such as pattern matching. The information is compared and the consistency between the two is checked.
ところが、もし被照合画像の角度すなわち向きと基準画
像のそれそが異なる場合には、そのままでは照合が困難
である。However, if the angle or orientation of the image to be matched is different from that of the reference image, matching is difficult as is.
したがって、印鑑照合装置等には、二つの画像の角度を
合わせる(向きを揃える)ために5画像間の角度差検出
装置が用いられる。Therefore, in a seal verification device or the like, an angular difference detection device between five images is used to match the angles (align the directions) of the two images.
この際、二つの画像間の角度差が少ない演算量によって
短時間で検出できることが望ましい。At this time, it is desirable that the angular difference between the two images can be detected in a short time with a small amount of calculation.
第3図は画像間の角度差検出装置の従来例の原理ブロッ
ク図であり。FIG. 3 is a principle block diagram of a conventional example of an angular difference detection device between images.
1は2被照合画像の濃度を、方眼状に一定ピッチで配列
される画素毎に、量子化された画素値として記憶する画
像メモリ。Reference numeral 1 denotes an image memory that stores the density of the image to be compared as a quantized pixel value for each pixel arranged at a constant pitch in a grid pattern.
2は1画像メモリ1に記憶されている画像を(3×3)
の微分演算ウィンドーによって走査し、各画素における
濃度の最大変化方向すなわち空間微分値を求める空間微
分回路。2 is the image stored in 1 image memory 1 (3 x 3)
A spatial differentiation circuit that scans through a differential calculation window to find the direction of maximum change in density, that is, the spatial differential value, at each pixel.
3は、空間微分回路2によって得られた画素値の最大変
化方向を角度毎に計数して角度ヒストグラムを求めるヒ
ストグラム算出回路。3 is a histogram calculation circuit that calculates the angle histogram by counting the maximum change direction of the pixel values obtained by the spatial differentiation circuit 2 for each angle.
4は、ヒストグラム算出回路3に依って得られた角度ヒ
ストグラムを、0〜359度の角度をアドレスとして格
納する第一のヒストグラムメモリ。A first histogram memory 4 stores the angle histogram obtained by the histogram calculation circuit 3 using angles from 0 to 359 degrees as addresses.
8は、同様にして、予め基準画像から求めた角度ヒスト
グラムを、0〜359度の角度をアドレスとして格納す
る第二のヒストグラムメモリ。A second histogram memory 8 similarly stores an angle histogram obtained in advance from a reference image using angles from 0 to 359 degrees as addresses.
9は、0〜359のアドレスを発生するアドレス発生回
路。9 is an address generation circuit that generates addresses from 0 to 359;
10は、アドレス発生回路9が発生した各アドレスを1
変車位に0〜359度ずつシフトしたアドレスに変換す
るアドレス変換回路。10 is 1 for each address generated by the address generation circuit 9.
An address conversion circuit that converts the address to an address shifted by 0 to 359 degrees in the variable position.
11は、第一のヒストグラムメモリ4から読み出された
ヒストグラムと第二のヒストグラムメモリ8から読み出
された角度ヒストグラムとの差の絶対値の積算値を求め
る差積算回路。Reference numeral 11 denotes a difference integration circuit that calculates the integrated value of the absolute value of the difference between the histogram read from the first histogram memory 4 and the angle histogram read from the second histogram memory 8.
12は、アドレス変換回路10においてシフトしたシフ
ト角度をアドレスとして、差積算回路10によって得ら
れた積算値すなわち距離を格納する積算値メモリである
。Reference numeral 12 denotes an integrated value memory that stores the integrated value, that is, the distance, obtained by the difference integrating circuit 10 using the shift angle shifted by the address conversion circuit 10 as an address.
すなわち、第一のヒストグラムメモリ4に格納した被照
合画像の角度ヒストグラムに対して0〜359度のシフ
トを与え、その各々と第二のヒストグラムメモリ8に格
納するヒストグラムとの距離を求め、最小の距離が得ら
れたときのシフト量をもって、二つの画像間の回転角度
差とするものである。That is, the angle histogram of the image to be matched stored in the first histogram memory 4 is shifted from 0 to 359 degrees, the distance between each of them and the histogram stored in the second histogram memory 8 is determined, and the minimum The shift amount when the distance is obtained is used as the rotation angle difference between the two images.
前記従来例においては、二つの角度ヒストグラムの間の
距離の計算を360回おこない、また各計算において角
度毎の角度ヒストグラムの差の計算を360回も行う必
要がある。したがって演算回数が膨大になるという問題
点がある。In the conventional example, it is necessary to calculate the distance between two angle histograms 360 times, and in each calculation, it is necessary to calculate the difference between the angle histograms for each angle 360 times. Therefore, there is a problem that the number of calculations becomes enormous.
すなわち9本発明の目的は前記従来例における膨大な演
算量を減少することにある。That is, an object of the present invention is to reduce the enormous amount of calculations in the conventional example.
第1図は本発明の原理ブロック図であり、第4図従来例
と共通する符号の他。FIG. 1 is a block diagram of the principle of the present invention, and FIG. 4 shows the same reference numerals as those of the conventional example.
5は、ヒストグラムメモリ4に格納する被照合画像から
求めた角度ヒストグラムの最大値に対応する角度を検出
する最大値検出回路。Reference numeral 5 denotes a maximum value detection circuit that detects the angle corresponding to the maximum value of the angle histogram obtained from the matched image stored in the histogram memory 4.
6は、同様にして、予め基準画像から求めた角度ヒスト
グラムの最大値に対応する角度を記憶するレジスタ。6 is a register that similarly stores the angle corresponding to the maximum value of the angle histogram obtained in advance from the reference image.
7は、最大値検出回路5によって検出した角度と、レジ
スタ6に記憶する角度との差を求める減算回路であり、
減算回路7によって得られた角度が被照合画像と基準画
像との間の回転角度差である。7 is a subtraction circuit that calculates the difference between the angle detected by the maximum value detection circuit 5 and the angle stored in the register 6;
The angle obtained by the subtraction circuit 7 is the rotation angle difference between the image to be matched and the reference image.
すなわち、最大値検出回路5は、ヒストグラムメモリ4
から角度ヒストグラムの最大値を求め。That is, the maximum value detection circuit 5 uses the histogram memory 4
Find the maximum value of the angle histogram from.
その値が読み出されたときのアドレスを検出し。Detect the address when that value was read.
検出された値と予めレジスタ6に記憶した角度との差が
、基準画像と被照合画像その角度差として、減算回路7
から出力される。The difference between the detected value and the angle stored in the register 6 in advance is used as the angular difference between the reference image and the matched image by the subtraction circuit 7.
is output from.
第2図は実施例の構成図であり、最大値検出回路5は比
較回路(COM)5a・選択回路(MPχ) 5bよび
レジスタ5cから構成されている。FIG. 2 is a block diagram of the embodiment, and the maximum value detection circuit 5 is composed of a comparison circuit (COM) 5a, a selection circuit (MPχ) 5b, and a register 5c.
レジスタ5cには初期値としてゼロをセットし。Zero is set in register 5c as an initial value.
比較回路5aは、レジスタ5cに記憶されている角度の
値とヒストグラムメモリ4から読み出された角度の値と
を比較し9選択回路5bは、比較回路5aにおける比較
結果に基づいて、何れか大きい角度の値をそのアドレス
と共にレジスタ5Cに送り、レジスタ5cはこれらを記
憶する。The comparison circuit 5a compares the angle value stored in the register 5c with the angle value read from the histogram memory 4, and the selection circuit 5b selects whichever is larger based on the comparison result in the comparison circuit 5a. The angle values along with their addresses are sent to register 5C, which stores them.
その結果、アドレス発生器9によって0〜359度のす
べての角度ヒストグラムの値が読み出しが終わったあと
、これらの中の最大値とその値に対応するアドレスすな
わち角度とがレジスタ5Cによって検出され、検出され
た角度と予めレジスタ6に記憶した角度との差が減算回
路7によって得られる。As a result, after the address generator 9 finishes reading out all angle histogram values from 0 to 359 degrees, the register 5C detects the maximum value among them and the address, that is, the angle corresponding to that value. The subtraction circuit 7 obtains the difference between the calculated angle and the angle stored in the register 6 in advance.
この実施例によれば、前記従来例に比べ1/360の演
算量で二つの画像の間の角度差を求めることができる。According to this embodiment, the angular difference between two images can be determined with a calculation amount of 1/360 compared to the conventional example.
以上説明したように2本発明によれば、二つの画像の間
の角度差を従来例に比べて非常に少ない演算量で求める
ことができる。As explained above, according to the present invention, the angular difference between two images can be determined with a much smaller amount of calculation compared to the conventional example.
したがって1例えば印鑑照合装置における照合速度を大
幅に短縮することができる。Therefore, for example, the verification speed in a seal verification device can be significantly reduced.
第2図は実施例の構成図。FIG. 2 is a configuration diagram of the embodiment.
第3図は従来例の原理ブロック図を示す。FIG. 3 shows a principle block diagram of a conventional example.
図中。In the figure.
1は画像メモリ、 2は空間微分回路。1 is an image memory, 2 is a spatial differentiation circuit.
3はヒストグラム算出回路。3 is a histogram calculation circuit.
4はヒストグラムメモリ。4 is histogram memory.
5は最大値検出回路、 6はレジスタ。5 is a maximum value detection circuit, and 6 is a register.
捉濠例の原理1υ・7目 番3呵Principle of trap moat example 1υ・7th Ban 3 呵
Claims (1)
た画素値によって表される画像の各画素毎の画素値の最
大変化方向を求める空間微分回路(2)と、 空間微分回路(2)によって得られた画素値の最大変化
方向を角度毎に計数して角度ヒストグラムを求めるヒス
トグラム算出回路(3)と、 ヒストグラム算出回路(3)によって得られた角度ヒス
トグラムの最大値に対応する角度を検出する最大値検出
回路(5)と、 予め基準画像から求めた角度ヒストグラムの最大値に対
応する角度を記憶するレジスタ(6)と、最大値検出回
路5によって検出した角度とレジスタ(6)に記憶する
角度との差を求める減算回路(7)とを備えることを特
徴とする画像間の角度差検出装置。[Scope of Claims] A spatial differentiation circuit (2) for determining the direction of maximum change in pixel value for each pixel of an image represented by quantized pixel values for each pixel arranged in a grid shape at a constant pitch; , a histogram calculation circuit (3) that calculates the angle histogram by counting the direction of maximum change in pixel values obtained by the spatial differentiation circuit (2) for each angle; A maximum value detection circuit (5) that detects the angle corresponding to the value, a register (6) that stores the angle corresponding to the maximum value of the angle histogram obtained from the reference image in advance, and an angle detected by the maximum value detection circuit 5. An angular difference detection device between images, comprising a subtraction circuit (7) for determining the difference between the angle and the angle stored in the register (6).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60080700A JPS61239377A (en) | 1985-04-16 | 1985-04-16 | Device for detecting angle difference between pictures |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60080700A JPS61239377A (en) | 1985-04-16 | 1985-04-16 | Device for detecting angle difference between pictures |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61239377A true JPS61239377A (en) | 1986-10-24 |
Family
ID=13725602
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP60080700A Pending JPS61239377A (en) | 1985-04-16 | 1985-04-16 | Device for detecting angle difference between pictures |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61239377A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4870694A (en) * | 1987-03-24 | 1989-09-26 | Fuji Photo Film Co., Ltd. | Method of determining orientation of image |
US5987162A (en) * | 1996-03-27 | 1999-11-16 | Mitsubishi Denki Kabushiki Kaisha | Image processing method and apparatus for recognizing an arrangement of an object |
-
1985
- 1985-04-16 JP JP60080700A patent/JPS61239377A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4870694A (en) * | 1987-03-24 | 1989-09-26 | Fuji Photo Film Co., Ltd. | Method of determining orientation of image |
US5987162A (en) * | 1996-03-27 | 1999-11-16 | Mitsubishi Denki Kabushiki Kaisha | Image processing method and apparatus for recognizing an arrangement of an object |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Woodham | Photometric method for determining surface orientation from multiple images | |
EP0864134B1 (en) | Vector correlation system for automatically locating patterns in an image | |
Christensen et al. | Three-dimensional shape from color photometric stereo | |
JP2003148919A (en) | Device and method for detecting three-dimensional relative movement | |
JPH03294976A (en) | Reference mark pattern detecting device | |
Schraml et al. | An event-driven stereo system for real-time 3-D 360 panoramic vision | |
JP2002170120A (en) | Motion information recognition system | |
Ghidoni et al. | A multi-viewpoint feature-based re-identification system driven by skeleton keypoints | |
JPS61239377A (en) | Device for detecting angle difference between pictures | |
JPH05135155A (en) | Three-dimensional model constitution device using successive silhouette image | |
US20030182076A1 (en) | Gravity-reference vision system | |
JPS61239376A (en) | Device for detecting angle difference between pictures | |
Socher et al. | 3-D Reconstruction and Camera Calibration from Images with Known Objects. | |
Hao et al. | Development of 3D feature detection and on board mapping algorithm from video camera for navigation | |
Wei et al. | Optical flow determination with complex-sinusoidally modulated imaging | |
JPS5932742B2 (en) | correlation tracking device | |
Shomar et al. | An expert system for recovering 3D shape and orientation from a single view | |
Tamas et al. | Heterogeneous feature based correspondence estimation | |
Werner et al. | Rendering real-world objects without 3-D model | |
JPH0219509B2 (en) | ||
Dreyfus | Visual robots | |
Al-Anssari | Solid Vector Subtraction Operation and 3-D Gradient and Laplacian Spatial Filters of a Field of Vectors for Geometrical Edges Magnitude and Direction Detection in Point Cloud Surfaces | |
Tommaselli et al. | A Mathematical model for camera calibration using straight lines | |
McDonald et al. | A new approach to active illumination | |
Javor et al. | Model for Application of Optical Passive SFM Method in Reconstruction of 3D Space and Objects |