JPH0516625B2 - - Google Patents
Info
- Publication number
- JPH0516625B2 JPH0516625B2 JP21725085A JP21725085A JPH0516625B2 JP H0516625 B2 JPH0516625 B2 JP H0516625B2 JP 21725085 A JP21725085 A JP 21725085A JP 21725085 A JP21725085 A JP 21725085A JP H0516625 B2 JPH0516625 B2 JP H0516625B2
- Authority
- JP
- Japan
- Prior art keywords
- ppsf
- counter
- address
- address counter
- circuit
- 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 - Lifetime
Links
Landscapes
- Image Analysis (AREA)
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、デイジタル画像処理において、濃淡
画像の中から任意の領域を抽出する一般化ハフ
(Hough)変換回路に関し、更に詳しくは、一般
化ハフ変換の一部を変更し、2値画像から任意の
曲線を抽出することができるようにした一般化ハ
フ変換回路に関する。Detailed Description of the Invention (Field of Industrial Application) The present invention relates to a generalized Hough transform circuit for extracting an arbitrary region from a grayscale image in digital image processing. The present invention relates to a generalized Hough transform circuit that can extract an arbitrary curve from a binary image by partially changing the Hough transform.
(従来の技術)
デイジタル画像処理において、濃淡画像中から
任意の領域を抽出する手法として、一般化ハフ変
換があり、これはコンピユータを用いソフトウエ
アによつて処理される。(Prior Art) In digital image processing, generalized Hough transform is a method for extracting an arbitrary region from a grayscale image, and this is processed by software using a computer.
(発明が解決しようとする問題点)
しかしながら、これまで公知の一般化ホフ変換
の手法を、2値画像から任意の曲線を抽出する場
合に適用しようとする次のような問題点がある。(Problems to be Solved by the Invention) However, there are the following problems when applying the conventionally known generalized Hoff transform method to the case of extracting an arbitrary curve from a binary image.
濃淡画像に一般化ハフ変換を適用する場合、
各点x,yの濃度Z(x、y)の変化の方向の
情報を利用している。即ち、第5図に示す濃淡
画像において、ベクトル(∂Z/∂x、∂Z/∂y)
の方向φを利用している。しかしながら、第6
図に示す2値画像においては、これに対応する
方向φ′を見つける簡便な手法がない。換言すれ
ば、2値画像に対し、変化の方向(△y/△
x)を精度よく求めるオペレータがない。従つ
て、2値画像から任意の曲線を抽出する問題
に、直接一般化ハフ変換は適用できない。 When applying the generalized Hough transform to a grayscale image,
Information on the direction of change in density Z(x, y) at each point x, y is used. That is, in the grayscale image shown in Fig. 5, the vectors (∂Z/∂x, ∂Z/∂y)
The direction φ is used. However, the sixth
In the binary image shown in the figure, there is no simple method for finding the corresponding direction φ'. In other words, the direction of change (△y/△
There is no operator that can accurately calculate x). Therefore, the generalized Hough transform cannot be directly applied to the problem of extracting an arbitrary curve from a binary image.
ハフ変換をコンピユータを用い、ソフトウエ
アによつて処理しようとすると、処理時間が長
く、実用的でない。 If you try to process the Hough transform using a computer and software, the processing time will be long and it is not practical.
本発明はこのような問題点に鑑みてなされたも
ので、その目的は、一般化ハフ変換の一部を変更
し、2値画像から任意の曲線を高速で抽出するこ
のできる一般化ハフ変換回路を実現することにあ
る。 The present invention has been made in view of these problems, and its purpose is to create a generalized Hough transform circuit that can extract arbitrary curves from binary images at high speed by changing a part of the generalized Hough transform. The aim is to realize this.
(問題点を解決するための手段)
前記した問題点を解決する本発明は、イメージ
空間として機能する2値画像メモリと、この2値
画像メモリにアドレス信号を与える第1のアドレ
スカウンタと、パラメータ・ポイント・スプレツ
ド・フアンクシヨン(ppsf)の個数Nppsfが初期
設定されるバツフアと、このバツフアからの個数
Nppsfがセツトされる第2のアドレスカウンタ
と、この第2のアドレスカウンタからの信号がそ
れぞれアドレス信号として与えられ、予め参照対
象、参照点から計算された原点に対するppsfの
x、y座標がそれぞれ格納されているx−ppsfテ
ーブル及びy−ppsfテーブルと、前記第1のアド
レスカウンタからの信号x、yと前記x−ppsfテ
ーブル、y−ppsfテーブルからそれぞれ読み出さ
れたデータ△x、△yを入力し所定の演算を行う
演算器と、この演算器からの演算結果xc、ycがア
ドレス信号として与えられるパラメータカウンタ
列と、前記2値画像メモリからのデータ及び前記
第2のアドレスカウンタからの“0”検出信号を
入力し、前記各回路に制御信号を与える制御回路
とを備えたことを特徴とするものである。(Means for Solving the Problems) The present invention, which solves the above-mentioned problems, comprises a binary image memory functioning as an image space, a first address counter that provides an address signal to the binary image memory, and a parameter.・Number of point spread functions (ppsf) The buffer where Nppsf is initially set and the number of points from this buffer
A second address counter to which Nppsf is set and a signal from this second address counter are given as address signals, respectively, and the x and y coordinates of ppsf with respect to the origin calculated from the reference object and reference point are stored respectively. x-ppsf table and y-ppsf table, signals x and y from the first address counter, and data △x and △y read from the x-ppsf table and y-ppsf table, respectively. an arithmetic unit that receives input and performs a predetermined operation; a parameter counter string to which the arithmetic results x c and y c from the arithmetic unit are given as address signals; and data from the binary image memory and the second address counter. and a control circuit which inputs a "0" detection signal of 1 and provides a control signal to each of the circuits.
(実施例)
以下、図面を用いて本発明の実施例を詳細に説
明する。(Example) Hereinafter, an example of the present invention will be described in detail using the drawings.
本発明の回路は、形が解析的な形(パラメー
タ)として表現できているとは限らないが、2値
データとしてそれを表現できている曲線(参照対
象)を、雑音が含まれた他の2値画像(イメージ
空間と呼ぶ)から検出し、その位置を知るように
したものであつて、はじめに、処理手順について
説明する。 Although the circuit of the present invention cannot necessarily express the shape as an analytical shape (parameter), it can use a curve (reference object) that can express it as binary data to generate other curves containing noise. This is a system that detects from a binary image (referred to as image space) and learns its position. First, the processing procedure will be explained.
(手順)
(1) パラメータ・ポイント・スプレツド・フアン
クシヨン:Parameter Point Spread
Function(以下:ppsfと略称する)テーブルの
作成
参照対象に対して参照点(xc、yc)を設定
する。(Procedure) (1) Parameter point spread function: Parameter Point Spread
Creating a Function (hereinafter abbreviated as ppsf) table Set reference points (x c , y c ) for the reference target.
この参照点に対する、原点(0、0)の
ppsfテーブルを作成する。 For this reference point, the origin (0,0)
Create ppsf table.
イメージ空間上の点x,yのppsfの値は、点
x,yを通ることのできる全ての参照対象に対
する参照点の集合である。例えば、第7図に示
すように、参照対象が円で参照点が円の中心で
ある場合を考える。この時、第8図に示すイメ
ージ空間の原点を通る(含む)全ての参照対象
を考える。ここで実線の円が原点を含む参照対
象であり、破線の円がその参照点の軌跡、即ち
原点のppsfの値である。第9図は、この参照点
の軌跡を取り出した図であり、(x1、y1)、(x2、
y2)…(xn、yn)が原点に対するppsfの値で
ある。The ppsf value of points x and y on the image space is a set of reference points for all reference objects that can pass through points x and y. For example, as shown in FIG. 7, consider a case where the reference object is a circle and the reference point is the center of the circle. At this time, all reference objects passing through (including) the origin of the image space shown in FIG. 8 are considered. Here, the solid line circle is the reference target including the origin, and the broken line circle is the locus of the reference point, that is, the value of ppsf at the origin. Figure 9 is a diagram showing the trajectory of this reference point, where (x 1 , y 1 ), (x 2 ,
y 2 )...(xn, yn) is the value of ppsf with respect to the origin.
これを第10図に示すようにテーブル化した
ものがppsfテーブルである。 A ppsf table is a table of this as shown in FIG.
第11図乃至第14図は、参照対象が正三角
形、参照点はその正三角形の重心の場合の説明
図であり、第11図は参照対象と参照点、第1
2図はイメージ空間において、原点を通る参照
対象、第13図は原点のppsf、第14図はこれ
をテーブル化した図をそれぞれ示している。 11 to 14 are explanatory diagrams when the reference object is an equilateral triangle and the reference point is the center of gravity of the equilateral triangle. FIG. 11 shows the reference object, the reference point, and the first
Figure 2 shows a reference object passing through the origin in the image space, Figure 13 shows the ppsf at the origin, and Figure 14 shows a table of this.
以上の説明から明らかなように、点(x、
y)のppsfの値は、原点(0、0)のppsfの値
を、(x、y)平行移動したものである。従つ
て、原点のppsfの値は次のように表わされる。 As is clear from the above explanation, the point (x,
The ppsf value of y) is obtained by translating the ppsf value of the origin (0, 0) by (x, y). Therefore, the value of ppsf at the origin is expressed as follows.
{(X、Y)|X△=xc−x′、Y△=yc−y′
ここで、(xc、yc)は参照点
(x′、y′)は参照点上の任意の点)
又、点x,yのppsfの値は次のように表わさ
れる。 { (X, Y ) | ) Also, the value of ppsf at points x and y is expressed as follows.
{(X、Y)|X△=xc−x′+x、
Y△=yc−y′+y}
(2) イメージ空間からパラメータ空間への変換第
15図に示すようなイメージ空間(2値画像)
の“1”である各点x,yについて、次のこと
を行う。{(X, Y) | X△=x c −x′+x, Y△=y c −y′+y} (2) Conversion from image space to parameter space image)
For each point x, y that is "1", the following is performed.
ppsfテーブル上の値(xi、yi)に対し、
(xi c、yi c)△=(x+xi、y+yi)を全て求め
る。 For the values (x i , y i ) on the ppsf table,
Find all (x i c , y i c )△=(x+x i , y+y i ).
ここで、(xi c、yi c)(i=1〜n)は、点
x,yのppsfの値がある。即ち、イメージ空
間上の点x,yは、(xi c、yi c)(i=1〜n)
を参照点とする参照対象の何れかのものの上
の点になる可能性があるということである。 Here, (x i c , y i c ) (i=1 to n) is the value of ppsf at points x and y. That is, the points x and y on the image space are (x i c , y i c ) (i=1 to n)
This means that there is a possibility that it will be a point above any of the objects of reference with .
パラメータ空間で、xi c,yi cの点を+1す
る。尚、パラメータ空間の各点の初期値は
“0”である。 Add 1 to the points x i c and y i c in the parameter space. Note that the initial value of each point in the parameter space is "0".
(3) パラメータ空間の探索
第16図に示すパラメータ空間を探索し、極
大点(x1 c、y1 c)、…(xn c、yn c)を求める。これ
らがイメージ空間上の参照点の位置になる。(3) Search of parameter space Search the parameter space shown in FIG. 16 to find maximum points (x 1 c , y 1 c ), ... (x n c , y n c ). These become the positions of reference points on the image space.
本発明は、上述した手順のうちで、イメージ
空間からパラメータ空間への変換を行う部分を
ハードウエア化し、2値画像からの曲線抽出が
行えるようにしている。 In the present invention, in the above-described procedure, the part that converts the image space to the parameter space is implemented in hardware, so that curve extraction from a binary image can be performed.
第1図は、本発明の一実施例の構成ブロツク
図である。図において、1は全体回路を統括、
制御するタイミング及び制御回路(以下、これ
を単に制御回路と略称する)、2はこの制御回
路1からカウントアツプ信号及びクリア信号が
与えられる第1のアドレスカウンタ、3はアド
レスカウンタ2からのアドレス信号が与えられ
る2値画像メモリで、イメージ空間として機能
するもので、ここから読み出されたデータは、
制御回路1に印加されている。4はバツフア、
5はバツフア4からのデータがセツトされる第
2のアドレスカウンタで、制御回路1からロー
ド、カウントダウンの制御信号が与えられ、
又、ここからは、“0”検出のための信号が制
御回路に印加される。 FIG. 1 is a block diagram of an embodiment of the present invention. In the figure, 1 controls the entire circuit,
A timing and control circuit to control (hereinafter simply referred to as a control circuit), 2 a first address counter to which a count-up signal and a clear signal are given from the control circuit 1, and 3 an address signal from the address counter 2; It is a binary image memory that is given , and functions as an image space, and the data read from it is
It is applied to the control circuit 1. 4 is Batsuhua,
A second address counter 5 is set with data from the buffer 4, and is supplied with load and countdown control signals from the control circuit 1.
From here, a signal for "0" detection is applied to the control circuit.
6はx−ppsfテーブル、7はy−ppsfテーブ
ルで、何れもメモリが用いられており、第2の
アドレスカウンタ5からそれぞれアドレス信号
が与えられている。8はx−ppsfテーブル6か
らのデータ△xと、第1のアドレスカウンタ2
からの信号xとを入力する第1の演算器、9は
y−ppsfテーブル7からのデータ△yと、第1
のアドレスカウンタ2からの信号yとを入力す
る第2の演算器、10は第1、第2の演算器
8,9からの演算結果xc′、yc′をアドレス信号
として入力するパラメータカウンタ列で、パラ
メータ空間として機能するものである。但し、
△x、△yは原点に関するppsfの値であり、
xc′、yc′は(x、y)に関するppsfの値であ
る。 6 is an x-ppsf table, and 7 is a y-ppsf table, both of which use memories and are given address signals from the second address counter 5, respectively. 8 is the data Δx from the x-ppsf table 6 and the first address counter 2
The first arithmetic unit 9 inputs the signal x from the y-ppsf table 7 and the first
a second arithmetic unit which receives the signal y from the address counter 2; and 10 a parameter counter which inputs the calculation results x c ′ and y c ′ from the first and second arithmetic units 8 and 9 as address signals. A column that functions as a parameter space. however,
△x, △y are the ppsf values regarding the origin,
x c ′, y c ′ are the values of ppsf regarding (x, y).
尚、このパラメータ空間としてのパラメータ
カウンタ列10は、これに代えて、ランダム・
アクセス・メモリ(RAM)を用いてもよい。 Note that the parameter counter sequence 10 as this parameter space can be replaced with a random
Access memory (RAM) may also be used.
このように構成した回路の動作を説明すれば、
以下の通りである。 To explain the operation of the circuit configured in this way,
It is as follows.
はじめに、ここには図示していないコンピユー
タのプログラムによつて、参照対象、参照点から
原点に対するppsfの値を計算し、そのx、y座標
を各々x−ppsfテーブル6と、y−ppsfテーブル
7に、それぞれ初期設定すると共に、点の個数
Nppsfをバツフア4にセツトする。この初期設定
状態では、第1のアドレスカウンタ2は、イメー
ジ空間として機能する2値画像メモリ3の最初の
アドレスを指している。又、パラメータカウンタ
列10は、全て“0”が入つている。以上の初期
設定後に、次のような処理動作を行う。 First, a computer program not shown here calculates the ppsf value from the reference object and reference point to the origin, and stores its x and y coordinates in the x-ppsf table 6 and the y-ppsf table 7, respectively. Initialize each and set the number of points.
Set Nppsf to buffer 4. In this initial setting state, the first address counter 2 points to the first address of the binary image memory 3 functioning as an image space. Further, the parameter counter column 10 contains all "0"s. After the above initial settings, the following processing operations are performed.
制御回路1は、2値画像メモリ3からの画像
データが“1”になるまで、第1のアドレスカ
ウンタ2をインクリメントする。 The control circuit 1 increments the first address counter 2 until the image data from the binary image memory 3 becomes "1".
ppsfの個数Nppsfをバツフア4から読み出し
て、第2のアドレスカウンタ5にセツトする。 The number Nppsf of ppsf is read out from the buffer 4 and set in the second address counter 5.
第1、第2の演算器8,9で、x−ppsfテー
ブル6及びy−ppsfテーブル7からそれぞれ読
み出されたデータ△x、△y、アドレスカウン
タ2からの信号x、yとをそれぞれ加算し、原
点用のppsfの値を、サンプルのx、y座標用に
ずらす。 The first and second arithmetic units 8 and 9 add the data △x, △y read from the x-ppsf table 6 and y-ppsf table 7, respectively, and the signals x, y from the address counter 2, respectively. Then, shift the ppsf value for the origin to the x, y coordinates of the sample.
第1、第2の演算器8,9からの演算結果
xc′、yc′で指されるパラメータカウンタ列10
内のカウンタをインクリメントする。 Computation results from the first and second computing units 8 and 9
Parameter counter sequence 10 pointed to by x c ′, y c ′
Increment the counter in
第2のアドレスカウンタ5が“0”ならば、
第1のアドレスカウンタ2を+1し、処理動作
のへ戻る。そうでなければ、第2のアドレス
カウンタ5を−1し、処理動作のへ戻る。 If the second address counter 5 is “0”,
The first address counter 2 is incremented by 1 and the process returns to the processing operation. Otherwise, the second address counter 5 is decremented by 1 and the process returns to the processing operation.
第1のアドレスカウンタ2が2値画像メモリ
全域を走査し終ると動作は終了する。この後
に、パラメータ空間を探索し、極大点(x1 c、
y1 c)…(xn c、yn c)を求めることになるが、この
手法は公知の技術によつて行われる。 The operation ends when the first address counter 2 finishes scanning the entire area of the binary image memory. After this, we explore the parameter space and find the local maximum point (x 1 c ,
y 1 c )...(x n c , y n c ), and this method is performed using a known technique.
第2図は、本発明の他の実施例を示す構成ブロ
ツク図である。この実施例においては、参照対象
が位置だけでなく、大きさS、方向θも未知の場
合も、ハフ変換できるようにしたものである。 FIG. 2 is a block diagram showing another embodiment of the present invention. In this embodiment, the Hough transform can be performed even when the reference object is unknown not only in its position but also in its size S and direction θ.
図において、11はバツフア4から読み出され
る参照対象の拡大・縮小の係数の個数Nsが設定
されるSカウンタ、12は参照対象の拡大・縮小
の係数を格納したスケール関数テーブル、13は
バツフア4から読み出される参照対象の回転角θ
の個数Nθが設定されるθカウンタ、14は参照
対象の回転角θに対するsinθ、cosθの値を格納し
たsin、cos関数テーブルである。15,16は係
数Sを乗算する乗算器、17はこの乗算器からの
信号x、yと、sin、cos関数テーブル14からの
信号sinθ、cosθを入力する回転部演算回路で、こ
こからの演算出力X、Yは、第1、第2の演算器
8,9に印加されている。この実施例において
は、乗算器15,16、回転部演算回路17を、
x−ppsfテーブル6、y−ppsfテーブル7と、第
1、第2の演算器8,9との間に設けた点が第1
図実施例と異なつている。 In the figure, 11 is an S counter in which the number Ns of enlargement/reduction coefficients of the reference object read out from the buffer 4 is set, 12 is a scale function table that stores the enlargement/reduction coefficients of the reference object, and 13 is from the buffer 4. Rotation angle θ of the reference object to be read
14 is a sin and cos function table storing the values of sin θ and cos θ for the rotation angle θ of the reference object. 15 and 16 are multipliers for multiplying by the coefficient S, and 17 is a rotating part calculation circuit that inputs the signals x and y from this multiplier and the signals sinθ and cosθ from the sin and cos function table 14, and the calculations from here are input. The outputs X and Y are applied to first and second arithmetic units 8 and 9. In this embodiment, the multipliers 15 and 16 and the rotating part calculation circuit 17 are
The point provided between the x-ppsf table 6, y-ppsf table 7 and the first and second arithmetic units 8, 9 is the first point.
This is different from the illustrated embodiment.
第3図は、第2図における回転演算回路17の
詳細な構成ブロツク図である。この回路におい
て、MULは何れも掛算器、SUBは減算器、
ADDは加算器を示しており、減算器SUBの出力
X、加算器ADDの出力Yは、次式で表わされる。 FIG. 3 is a detailed block diagram of the rotation calculation circuit 17 in FIG. 2. In this circuit, MUL is a multiplier, SUB is a subtracter,
ADD indicates an adder, and the output X of the subtracter SUB and the output Y of the adder ADD are expressed by the following equation.
X
Y=cosθ−sinθ
sinθ cosθx
y
このように構成した回路の動作を、第1図回路
の動作と重複する部分を除いて説明すれば、以下
の通りである。 X Y = cos θ - sin θ sin θ cos θx y The operation of the circuit configured in this way will be explained as follows, excluding the portions that overlap with the operation of the circuit in FIG.
(追加する初期設定)
考える参照対象の拡大・縮小の係数をスケー
ル関数テーブル12に、その係数の個数Nsを
バツフア4にそれぞれ設定する。(Initial settings to be added) The coefficients for scaling up and down the reference object to be considered are set in the scale function table 12, and the number Ns of the coefficients is set in the buffer 4.
考える参照対象の回転角θに対するsinθ、
cosθの値を、sin、cos関数テーブル14に、こ
の回転角θの個数Nθをバツフア4にそれぞれ
設定する。 sin θ for the rotation angle θ of the reference object considered,
The value of cos θ is set in the sin and cos function table 14, and the number Nθ of this rotation angle θ is set in the buffer 4, respectively.
(動作の変更点)
前記第1図回路の動作説明における項につい
て、次のように変更する。(Changes in operation) The sections in the explanation of the operation of the circuit shown in FIG. 1 will be changed as follows.
x−ppsfテーブル6及びy−ppsfテーブル7
の第2のアドレスカウンタ5で指されるデータ
△x、△yを取り出すと共に、バツフア4の係
数の個性NsをSカウンタ11にロード(load)
する。 x-ppsf table 6 and y-ppsf table 7
The data △x, △y pointed to by the second address counter 5 are taken out, and the individuality Ns of the coefficient of the buffer 4 is loaded into the S counter 11.
do.
Sカウンタ11の値が“0”になるまで、次
の−1〜−3の処理を行う。 The following processes from -1 to -3 are performed until the value of the S counter 11 becomes "0".
‐1 スケール関数テーブル12のSカウンタ
11が指す値を乗算器15,16にセツトす
る。-1 Set the value pointed to by the S counter 11 of the scale function table 12 in the multipliers 15 and 16.
‐2 バツフア4の回転角θの個数Nθを、θ
カウンタ13にロードする。-2 The number Nθ of the rotation angle θ of the buffer 4 is expressed as θ
Load it into the counter 13.
θカウンタ13の値が“0”になるまで、
次の(イ)〜(ニ)の処理を行う。 Until the value of the θ counter 13 becomes “0”,
Perform the following processes (a) to (d).
(イ) sin、cos関数テーブル14のθカウンタ
13が指す値(sinθ、cosθ)を回転演算回
路17にセツトする。 (a) The values (sin θ, cos θ) indicated by the θ counter 13 of the sin, cos function table 14 are set in the rotation calculation circuit 17.
(ロ) 各演算回路で、所定の演算を行い、(xc、
yc)を求める。 (b) Each arithmetic circuit performs a predetermined arithmetic operation, and (x c ,
Find yc ).
(ハ) パラメータカウンタ列10に、Sカウン
タ11、θカウンタ13、各加算器8,9
から与えられる信号θ、S、xc、ycに対応
するカウンタの値を+1する。 (c) The parameter counter row 10 includes an S counter 11, a θ counter 13, and adders 8 and 9.
The counter values corresponding to the signals θ, S, x c , y c given from the above are incremented by 1.
(ニ) θカウンタ11の値を−1する。 (d) Decrement the value of the θ counter 11 by 1.
‐3 Sカウンタ11の値を−1する。-3 Decrement the value of S counter 11 by 1.
第4図は、第2図の実施例において、大き
さS、方向θを変更する部分を乗算器で構成
する代りに、この機能をx−ppsfテーブル6
及びy−ppsfテーブル7に持たせるようにし
た場合の要部の構成ブロツク図である。 FIG. 4 shows that instead of using a multiplier to change the size S and direction θ in the embodiment shown in FIG.
and y-ppsf table 7. FIG.
ここでは、各テーブル6,7のサイズは、
それぞれNθxNs倍になつている。 Here, the size of each table 6 and 7 is
Each is multiplied by NθxNs.
(発明の効果)
以上説明したように、本発明によれば、主要な
部分をハードウエアによつて構成することによ
り、2値画像から任意の曲線を高速で抽出するこ
とのできる一般化ハフ変換回路を実現することが
できる。(Effects of the Invention) As explained above, according to the present invention, the generalized Hough transform can extract any curve from a binary image at high speed by configuring the main parts by hardware. The circuit can be realized.
第1図及び第2図は本発明回路の一例を示す構
成ブロツク図、第3図は第2図回路における回転
部演算回路の詳細な構成ブロツク図、第4図は本
発明回路の他の例を示す要部の構成ブロツク図、
第5図は濃淡画像の説明図、第6図は2値画像の
説明図、第7図乃至第16図は本発明回路による
ハフ変換の原理を説明するための図である。
1……制御回路、2……アドレスカウンタ、3
……2値画像メモリ、4……バツフア、5……ア
ドレスカウンタ、6……x−ppsfテーブル、7…
…y−ppsfテーブル、8,9……加算器、10…
…パラメータカウンタ列。
1 and 2 are configuration block diagrams showing an example of the circuit of the present invention, FIG. 3 is a detailed configuration block diagram of the rotating part calculation circuit in the circuit of FIG. 2, and FIG. 4 is another example of the circuit of the present invention. A block diagram of the main parts showing the
FIG. 5 is an explanatory diagram of a grayscale image, FIG. 6 is an explanatory diagram of a binary image, and FIGS. 7 to 16 are diagrams for explaining the principle of Hough transform by the circuit of the present invention. 1...Control circuit, 2...Address counter, 3
...Binary image memory, 4...Buffer, 5...Address counter, 6...x-ppsf table, 7...
...y-ppsf table, 8, 9...adder, 10...
...parameter counter column.
Claims (1)
と、 この2値画像メモリにアドレス信号を与える第
1のアドレスカウンタと、イメージ空間上のある
点(x、y)を通ることのできるすべての参照対
象に対する参照点の集合であるパラメータ・ポイ
ント・スプレツド・フアンクシヨン(ppsf)の個
数Nppsfが初期設定されるバツフアと、 このバツフアからの個数Nppsfがセツトされる
第2のアドレスカウンタと、 この第2のアドレスカウンタからの信号がそれ
ぞれアドレス信号として与えられ、予め参照対
象、参照点から計算された原点に対するppsfの
x、y座標がそれぞれ格納されているx−ppsfテ
ーブル及びy−ppsfテーブルと、 前記第1のアドレスカウンタからの信号x、y
と前記x−ppsfテーブル、y−ppsfテーブルから
それぞれ読み出されたデータ△x、△yを入力し
所定の演算を行う演算器と、 この演算器からの演算結果xc、ycがアドレス
信号として与えられるパラメータカウンタ列と、 前記2値画像メモリからのデータ及び前記第2
のアドレスカウンタからの“0”検出信号を入力
し、前記各回路に制御信号を与える制御回路 とを備えた一般化ハフ変換回路。[Claims] 1. A binary image memory that functions as an image space, a first address counter that provides an address signal to the binary image memory, and a buffer to which the number Nppsf of parameter point spread functions (ppsf), which is a set of reference points for all possible reference objects, is initially set; a second address counter to which the number Nppsf from this buffer is set; An x-ppsf table and a y-ppsf table in which the signals from this second address counter are respectively given as address signals, and the x and y coordinates of ppsf with respect to the origin calculated from the reference object and reference point are stored, respectively. and signals x, y from the first address counter
and an arithmetic unit that inputs the data △x, △y read from the x-ppsf table and the y-ppsf table, respectively, and performs a predetermined calculation, and the calculation results xc, yc from this arithmetic unit are given as address signals. a parameter counter string stored in the data, and the data from the binary image memory and the second
A generalized Hough transform circuit comprising: a control circuit that receives a "0" detection signal from an address counter of the circuit and provides a control signal to each of the circuits.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21725085A JPS6277690A (en) | 1985-09-30 | 1985-09-30 | Generalized huff converting circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21725085A JPS6277690A (en) | 1985-09-30 | 1985-09-30 | Generalized huff converting circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6277690A JPS6277690A (en) | 1987-04-09 |
| JPH0516625B2 true JPH0516625B2 (en) | 1993-03-04 |
Family
ID=16701201
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP21725085A Granted JPS6277690A (en) | 1985-09-30 | 1985-09-30 | Generalized huff converting circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6277690A (en) |
-
1985
- 1985-09-30 JP JP21725085A patent/JPS6277690A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6277690A (en) | 1987-04-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Bonato et al. | A parallel hardware architecture for scale and rotation invariant feature detection | |
| US4812836A (en) | Picture processing apparatus | |
| KR940006038A (en) | Fuzzy logic operation method and data processing system, and arithmetic operation data processing system | |
| US7047269B2 (en) | Cordic method and architecture applied in vector rotation | |
| JPH0516625B2 (en) | ||
| Ghaffari et al. | A fully pipelined FPGA architecture for multiscale BRISK descriptors with a novel hardware-aware sampling pattern | |
| JPH0516624B2 (en) | ||
| Ruetz et al. | An image-recognition system using algorithmically dedicated integrated circuits | |
| CN114077886A (en) | Electronic device, method and device for recognizing image | |
| Wong et al. | Towards a reconfigurable tracking system | |
| EP0219435B1 (en) | Image contours detection method and local estimation of their parameters in a space with at least three dimensions, and arrangement using this method | |
| JPS63201880A (en) | Image processing device | |
| Hassoun et al. | VLSI gray-scale morphology processor for real-time NDE image-processing applications | |
| Wang et al. | Design of real-time SIFT feature extraction | |
| Ranganath | Hardware implementation of image registration algorithms | |
| JPS5933551A (en) | Operand duplication detecting circuit | |
| Bessalah et al. | Implementation of the Hough Transform by the On-line Mode | |
| JPS62233894A (en) | Arithmetic unit for drift similarity | |
| CA1249370A (en) | Method for processing informations and processors for the working of said method | |
| JPS5816217B2 (en) | Connected region detection method | |
| JPS5839336B2 (en) | Digital processing method for automatic control system | |
| JPS6260755B2 (en) | ||
| JPS63120382A (en) | Similarity arithmetic unit | |
| JPH0740304B2 (en) | Image feature extraction device | |
| Fuller | Optimization and Hardware Implementation of SYBA-An Efficient Feature Descriptor |