JP3387681B2 - Feature extraction processing device - Google Patents
Feature extraction processing deviceInfo
- Publication number
- JP3387681B2 JP3387681B2 JP04944995A JP4944995A JP3387681B2 JP 3387681 B2 JP3387681 B2 JP 3387681B2 JP 04944995 A JP04944995 A JP 04944995A JP 4944995 A JP4944995 A JP 4944995A JP 3387681 B2 JP3387681 B2 JP 3387681B2
- Authority
- JP
- Japan
- Prior art keywords
- voting
- evaluation value
- value
- quantization
- input data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Image Analysis (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、様々な自然界の実空間
に対し、その実空間上の点をある特徴で表される特徴パ
ラメータ空間に対して変換、投票していくことにより、
その実空間上に存在する真の特徴点に票が集積していく
ことを利用した、物体の特徴を抽出するための投票処理
による特徴抽出処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention transforms and votes for various natural real spaces by converting points in the real space into a feature parameter space represented by a certain feature.
The present invention relates to a feature extraction processing device by a voting process for extracting features of an object, which utilizes the fact that votes are accumulated at true feature points existing in the real space.
【0002】[0002]
【従来の技術】入力した特徴が未知である複数のデータ
から、そのデータの持つ特徴を抽出する、通常の投票処
理を用いた特徴抽出処理について説明する。2. Description of the Related Art A description will be given of a feature extraction process using a normal voting process for extracting a feature of data from a plurality of input data whose features are unknown.
【0003】従来の特徴抽出処理装置を図5に示す。図
中の符号1は入力データ、8は投票箱メモリ、9はピー
ク検出処理部、51は特徴演算処理部、52は投票処理
制御部、53は投票量生成部、54はアドレス生成部を
表している。FIG. 5 shows a conventional feature extraction processing device. In the figure, reference numeral 1 is input data, 8 is a ballot box memory, 9 is a peak detection processing unit, 51 is a feature calculation processing unit, 52 is a voting processing control unit, 53 is a voting amount generation unit, and 54 is an address generation unit. ing.
【0004】入力データの特徴を抽出するため、判別し
たい特徴をパラメータとする空間の各量子化点に投票箱
メモリ8を備え、その入力した情報の特徴をアドレスと
して、その情報の示す位置の量子化の投票箱メモリ8へ
投票処理する。すなわち、投票箱の値に、ある投票量を
加算する。In order to extract the characteristic of the input data, a voting box memory 8 is provided at each quantization point in the space having the characteristic to be discriminated as a parameter, and the characteristic of the input information is used as an address and the quantum at the position indicated by the information is used. The voting process is executed in the voting box memory 8 for conversion. That is, a certain voting amount is added to the value of the voting box.
【0005】この投票処理を用いた特徴抽出処理におい
て、さらに、その抽出する特徴量の精度を高くするた
め、量子化サイズを小さくした特徴パラメータ空間への
投票処理を行った場合、入力データに存在する誤差によ
り本来の投票位置からずれた位置に投票され、そのた
め、真の特徴量に投票が集積しないという問題点があ
る。そこで、1入力データに対して、その指し示す投票
箱の近傍の量子化点の複数の投票箱にも、重み付けを行
いながら投票していくことで、高精度な特徴抽出処理を
実現している。In the feature extraction process using this voting process, if the voting process is performed on the feature parameter space with a smaller quantization size in order to further improve the accuracy of the extracted feature quantity, it is present in the input data. There is a problem in that the votes are not accumulated in the true feature amount because the votes are cast at a position deviated from the original voting position due to the error. Therefore, high-precision feature extraction processing is realized by weighting one input data to a plurality of ballot boxes of quantization points near the ballot box indicated by weighting.
【0006】1個の入力データから特徴演算処理部51
により特徴量を求め投票処理制御部52に入力する。投
票処理制御部52では、1個の入力データの特徴量につ
いて、アドレス生成部54が、投票を行う複数のアドレ
スを生成し、その各々のアドレスに対する投票量を、投
票量生成部53が生成し、投票箱メモリ8の値にその投
票量を加算する処理を行う。A feature calculation processing unit 51 from one input data
The feature amount is obtained by and is input to the voting process control unit 52. In the voting processing control unit 52, the address generation unit 54 generates a plurality of addresses for voting for the feature amount of one input data, and the voting amount generation unit 53 generates the voting amount for each address. , The value of the voting box memory 8 is added to the voting amount.
【0007】例えば、特徴空間の量子化サイズを0.1、
入力データの特徴の最も近い特徴パラメータ空間のアド
レスκ=5.5、投票を行う投票空間の範囲をκ±0.5と
すると、投票処理は、5.1,5.2,5.3,・・・,5.
5,・・・,5.8,5.9の9点の投票箱へ、それぞれ、
0.2,0.4,0.6,・・・,1.0,・・・,0.4,0.2
を投票量として加算する。このときの入力データの特徴
κに対する量子化点xにおける投票量は、1−2×|x
−κ|により決定している。For example, if the quantization size of the feature space is 0.1,
Assuming that the address of the feature parameter space closest to the features of the input data is κ = 5.5 and the range of the voting space for voting is κ ± 0.5, the voting process is 5.1, 5.2, 5.3. ···,Five.
5, ..., 5.8, 5.9 to 9 ballot boxes,
0.2, 0.4, 0.6, ..., 1.0, ..., 0.4, 0.2
Is added as the voting amount. The voting amount at the quantization point x for the characteristic κ of the input data at this time is 1-2 × | x
It is determined by −κ |.
【0008】最後に、ピーク検出処理部9は、投票箱メ
モリ8から、その投票値のピークとなる量子化点を検出
することにより、入力データに存在する特徴を抽出す
る。Finally, the peak detection processing unit 9 detects the quantization point which is the peak of the voting value from the voting box memory 8 to extract the feature existing in the input data.
【0009】[0009]
【発明が解決しようとする課題】重み付きの投票処理の
ためには、1点の入力データに対して、複数の投票箱に
対して、異なる値の投票量を順次加算していく必要があ
り、処理時間が非常に大きくなる問題がある。In order to perform weighted voting processing, it is necessary to sequentially add voting values of different values to a plurality of voting boxes for one input data. However, there is a problem that the processing time becomes very long.
【0010】本発明は、重み付きの投票処理を、処理時
間を小にしつつ達成することを目的としている。An object of the present invention is to achieve a weighted voting process while reducing the processing time.
【0011】[0011]
【課題を解決するための手段】本発明においては、特徴
パラメータ空間の量子化点の評価値の上位ビットと入力
データの評価値とを比較して投票処理を行うか否かを、
その量子化点毎に判定する手段と、前記判定の結果、投
票すると決定した量子化点において、該量子化点の評価
値の下位ビットを投票量として、各々の量子化点の投票
箱に投票量の絶対値を加算する手段とを有する。In the present invention, in order to solve the problems], whether to perform the voting process by comparing the evaluation values of the upper bits and the input data of the evaluation value of the quantization point feature parameter space,
A means for determining each of the quantization points, and, as a result of the determination, at the quantization points determined to vote, the lower bits of the evaluation value of the quantization points are used as the voting amount, and the votes are cast in the ballot boxes of the respective quantization points. Means for adding the absolute values of the quantities.
【0012】また、特徴パラメータ空間の量子化点にお
ける前記処理を、並列処理により同時に実行する手段を
有する。また、全量子化点に関するメモリとしてCAM
(連想メモリ)を具備し、その1ワードに、各量子化点
における評価値と投票箱とを合わせて持つ手段と、その
CAMにおいて、特徴パラメータ空間の量子化点におけ
る前記処理手段を、CAM上に展開して並列に実行する
手段を有する。Further, there is provided means for simultaneously executing the above-mentioned processing at the quantization points of the characteristic parameter space by parallel processing. In addition, CAM is used as a memory for all quantization points.
(Associative memory), a means for holding the evaluation value at each quantization point and the ballot box in one word, and the processing means at the quantization point of the feature parameter space in the CAM It has a means to be expanded and executed in parallel.
【0013】[0013]
【作用】投票量として、投票する量子化点が各々持って
いる評価値の下位ビットをそのまま用いることが可能と
なり、従来、複雑な演算を行っていたことと異なる。The lower bit of the evaluation value held by each of the quantizing points to vote can be used as it is as the voting amount, which is different from the conventional complicated calculation.
【0014】特徴パラメータ空間の全量子化点において
並列に投票処理する高速化が可能となり、従来、異なる
量子化点への投票を順次処理していたことと異なる。ま
た、並列処理装置をCAMで実現した小型化が可能とな
る。It is possible to speed up the voting process in parallel at all the quantization points in the feature parameter space, which is different from the conventional case where the voting to different quantization points is sequentially processed. Further, the parallel processing device can be downsized by using the CAM.
【0015】[0015]
【実施例】
(実施例1)図1は、本発明の第一の実施例を説明する
図を示す。図中の符号1は入力データ、2は投票決定処
理部、3は評価値設定部、4は評価値メモリ、5は上位
ビット、6は下位ビット、7は投票演算処理部、8は投
票箱メモリ、9はピーク検出処理部を表している。EXAMPLE 1 FIG. 1 shows a diagram for explaining a first example of the present invention. In the figure, reference numeral 1 is input data, 2 is a voting decision processing unit, 3 is an evaluation value setting unit, 4 is an evaluation value memory, 5 is an upper bit, 6 is a lower bit, 7 is a voting operation processing unit, and 8 is a ballot box. A memory and 9 represent a peak detection processing unit.
【0016】評価値設定部3は、特徴パラメータ空間に
属するすべての量子化点について、その評価値を求め、
評価値メモリ4に格納する。評価値メモリ4を、入力デ
ータ1と同じ分解能を持つビット位置の上位ビットPU
5と下位ビットPL 6に分ける。このとき、評価値は、
前記のとおり分割した際の下位ビットの先頭のビットが
1であり、その他の上位ビット、下位ビットとも0であ
る数値を、あらかじめ加算しておくこととする。例え
ば、外部からの入力データを整数と仮定すると、評価値
メモリの上位ビットを整数部、下位ビットを小数部とし
て扱うことになり、評価値は、小数第1位のビットのみ
が1である値、即ち0.5だけ高く設定することになる。The evaluation value setting unit 3 obtains evaluation values of all quantization points belonging to the feature parameter space,
Stored in the evaluation value memory 4. The evaluation value memory 4 is set to the upper bit P U of the bit position having the same resolution as the input data 1.
5 and lower bits P L 6. At this time, the evaluation value is
As described above, a numerical value in which the leading bit of the lower bits when divided is 1 and the other upper bits and lower bits are 0 is added in advance. For example, assuming that the input data from the outside is an integer, the upper bits of the evaluation value memory are treated as an integer part and the lower bits as a decimal part, and the evaluation value is a value in which only the first decimal place bit is 1. That is, it will be set higher by 0.5.
【0017】投票決定処理部2は、外部から与えられた
入力データIに対し、すべての量子化点における評価値
の上位ビットPU とを比較し、PU =Iである投票箱に
投票処理を行うと決定する。例えば、前例と同様、入力
データおよび評価値メモリの上位ビットを整数と仮定
し、外部からの入力データが「01011」(=13)
であるとした場合、評価値が12.5以上13.5未満の量
子化点において投票処理を行う。評価値は、あらかじめ
0.5だけ高く設定していることから、評価値メモリの値
が13.0以上14.0未満、即ち評価値メモリの上位ビッ
トである整数部分のみを入力データと比較すれば、投票
処理を行うかどうかを判定できる。The voting decision processing unit 2 compares the input data I given from the outside with the high-order bits P U of the evaluation values at all the quantization points, and votes for the voting box with P U = I. Decide to do. For example, as in the previous example, assuming that the upper bits of the input data and the evaluation value memory are integers, the external input data is “01011” (= 13).
If it is, the voting process is performed at the quantization points with the evaluation value of 12.5 or more and less than 13.5. The evaluation value is
Since it is set to 0.5 higher, the value of the evaluation value memory is not less than 13.0 and less than 14.0, that is, if only the integer part which is the upper bit of the evaluation value memory is compared with the input data, the voting process You can decide whether to do it.
【0018】次に投票演算処理部7は、投票決定処理部
の結果、投票を行うと決定された量子化点において、そ
の量子化点の評価値の下位ビットPL の値をそのまま用
いた投票値として、投票箱メモリ8に加算する。Next, the voting calculation processing unit 7 uses the value of the lower bit P L of the evaluation value of the quantization point as it is at the quantization point determined to vote as a result of the voting decision processing unit. The value is added to the voting box memory 8.
【0019】この下位ビットPL が、その最上位ビット
を符号ビットとする2の補数形式であるとすると、その
下位ビットの値は、正負のいずれの可能性もある値とな
る。そこで、投票演算処理部7は、下位ビットのデータ
が正である時には、読み込んだ投票箱メモリの値に、下
位ビットの値を加算して、投票箱メモリ8に戻す。ま
た、下位ビットのデータが負である時には、読み込んだ
投票箱メモリの値から下位ビットの値を減算して、投票
箱メモリに戻す。Assuming that the lower bit P L is in a two's complement format with the most significant bit as a sign bit, the value of the lower bit is a value that can be positive or negative. Therefore, when the data of the lower bits is positive, the voting calculation processing unit 7 adds the value of the lower bits to the read value of the voting box memory and returns it to the voting box memory 8. When the data of the lower bit is negative, the value of the lower bit is subtracted from the value of the read ballot box memory and the value is returned to the ballot box memory.
【0020】このように、評価値の下位ビットの値の絶
対値をそのまま投票値とした重みつき投票処理を行う。
さらに、投票演算処理部7における重みつき投票処理の
別の実施例として、下位ビットのデータが負である時に
は、その下位ビットの各々のビットが0であるときには
1に、1であるときには0に、全ビットを反転させた値
を投票値とした重みつき投票処理を行うこともできる。In this way, the weighted voting process is performed with the absolute value of the lower bit of the evaluation value as it is as the voting value.
Further, as another embodiment of the weighted voting process in the voting operation processing unit 7, when the data of the lower bit is negative, it is 1 when each bit of the lower bit is 0, and when it is 1, it is 0. It is also possible to perform a weighted voting process in which a value obtained by inverting all bits is used as a voting value.
【0021】最後に、ピーク検出処理部9は、全量子化
点の投票処理部の投票箱メモリ8から、その投票値のピ
ークとなる量子化点を検出することにより、入力データ
に存在する特徴を抽出する。Finally, the peak detection processing unit 9 detects the quantization point which becomes the peak of the voting value from the ballot box memory 8 of the voting processing unit for all the quantization points, so that the feature existing in the input data is detected. To extract.
【0022】(実施例2)図2は請求項2に挙げた本発
明の他の実施例を示している。図2においては、特徴パ
ラメータ上の全量子化点(K点)に関して、各量子化点
毎に独立して、評価値メモリ4、投票箱メモリ8、投票
決定処理部2、投票演算処理部7を有する量子化点数の
投票処理部10をもっている。(Embodiment 2) FIG. 2 shows another embodiment of the present invention recited in claim 2. In FIG. 2, with respect to all the quantization points (K points) on the feature parameter, the evaluation value memory 4, the ballot box memory 8, the vote determination processing unit 2, and the vote calculation processing unit 7 are independently provided for each quantization point. It has a quantized score voting processing unit 10 having.
【0023】評価値設定部3は、全量子化点の評価値メ
モリ4を設定する。次に、入力データ1を順次、全量子
化点の投票処理部10へ放送する。全量子化点の投票処
理部10は、各々の量子化点における第一の実施例で述
べた投票決定処理、投票演算処理を、同時に実行する。The evaluation value setting unit 3 sets the evaluation value memory 4 of all quantization points. Next, the input data 1 is sequentially broadcast to the voting processing units 10 for all the quantization points. The voting processing unit 10 for all quantization points simultaneously executes the voting determination processing and voting calculation processing described in the first embodiment at each quantization point.
【0024】最後に、ピーク検出処理部9は、全量子化
点の投票処理部10の投票箱メモリ8から、その投票値
のピークとなる量子化点を検出することにより、入力デ
ータに存在する特徴を抽出する。Finally, the peak detection processing unit 9 detects the quantization point which becomes the peak of the voting value from the voting box memory 8 of the voting processing unit 10 for all the quantization points, so that it exists in the input data. Extract features.
【0025】(実施例3)図3はCAMを用いた重みつ
き投票処理の並列処理を行う本発明の他の実施例を示
す。図中の符号は図1に対応しており、21は検索処理
部、22はCAM、23はワード、24は評価値フィー
ルド、25は上位ビット、26は下位ビット、27は投
票箱フィールドを表している。(Embodiment 3) FIG. 3 shows another embodiment of the present invention for performing parallel processing of weighted voting processing using CAM. Reference numerals in the figure correspond to those in FIG. 1, 21 is a search processing unit, 22 is CAM, 23 is a word, 24 is an evaluation value field, 25 is an upper bit, 26 is a lower bit, and 27 is a ballot box field. ing.
【0026】全量子化点に関するメモリとしてCAM2
2を具備し、その1ワードに1量子化点を割り当て、1
ワード23を評価値フィールド24と投票箱フィールド
27に分割する。CAM2 as a memory for all quantization points
2 is provided, and 1 quantization point is assigned to 1 word, 1
The word 23 is divided into an evaluation value field 24 and a ballot box field 27.
【0027】評価値設定部3は、全ワードの評価値フィ
ールド24の値を設定する。次に、入力データ1を順
次、検索処理部21へ入力する。検索処理部21は、入
力されたデータを評価値フィールドの上位ビット25に
対する検索データとして、全ワードに対して同時に検索
する。The evaluation value setting unit 3 sets the value of the evaluation value field 24 of all words. Next, the input data 1 is sequentially input to the search processing unit 21. The search processing unit 21 simultaneously searches all the words, using the input data as search data for the upper bits 25 of the evaluation value field.
【0028】検索の結果、一致している量子化点のワー
ドについて、次に投票処理を実行する。投票処理は、検
索の結果投票処理を実行すると決定されたワード(量子
化点)において、同時に、そのワードの評価値フィール
ドの下位ビット26をそのまま用いて、第一、第二の実
施例で述べた投票演算処理と同様に、投票箱フィールド
に評価値フィールドの下位ビットの値の絶対値、あるい
は下位ビットの0と1を反転した値を投票値として、加
算するよう投票演算処理部7はCAM22に命令する。As a result of the search, a voting process is executed next for the word of the quantization point that matches. The voting process is described in the first and second embodiments by using the lower bit 26 of the evaluation value field of the word in the word (quantization point) determined to execute the voting process as a result of the search at the same time. As in the voting calculation process, the voting calculation processing unit 7 adds the absolute value of the value of the lower bit of the evaluation value field or the value obtained by inverting the lower bits 0 and 1 to the voting box field as the voting value. To order.
【0029】CAMにおけるフィールド間の加算処理に
ついては、公知の処理であり、具体的な処理制御法につ
いてはここでは省略する。最後に、ピーク検出処理部
は、全ワードの投票箱フィールドから、その値のピーク
となるワード(量子化点)を検出することにより、入力
データに存在する特徴を抽出する。The addition processing between fields in the CAM is a known processing, and a specific processing control method will be omitted here. Finally, the peak detection processing unit extracts the feature existing in the input data by detecting the word (quantization point) that becomes the peak of the value from the voting box field of all the words.
【0030】このようにCAMを用いて、特徴パラメー
タ空間の全量子化点における投票処理を、CAMのワー
ド間の並列処理機能を用いて並列に実行する。
(実施例4)図4はハフ変換処理を行う本発明の他の実
施例を示す。As described above, the voting process at all the quantization points in the characteristic parameter space is executed in parallel using the CAM by using the parallel processing function between words of the CAM. (Embodiment 4) FIG. 4 shows another embodiment of the present invention for performing Hough transform processing.
【0031】これまでに説明した投票処理を用いた特徴
抽出処理の具体例として、ハフ変換により高精度で直線
検出を可能とする重みつき投票処理の直線抽出ハフ変換
処理装置を図4を用いて説明する。As a specific example of the feature extraction process using the voting process described so far, a straight line extraction Hough transform processing device for weighted voting process that enables highly accurate straight line detection by Hough transform will be described with reference to FIG. explain.
【0032】図4においては、実施例3で説明した処理
装置を用い、画像走査読み出し装置32により入力画像
31から得られた黒点座標データを検索処理部21へ、
また、画像走査読み出し装置の走査情報を評価値設定部
3へ入力する。In FIG. 4, using the processing device described in the third embodiment, the black dot coordinate data obtained from the input image 31 by the image scanning / reading device 32 is sent to the search processing portion 21.
Further, the scanning information of the image scanning reading device is input to the evaluation value setting unit 3.
【0033】まず、直線抽出ハフ変換処理について簡単
に説明する。画像空間(x−y平面)中の直線は、原点
からの距離(ρ)と、X軸から見た傾き(θ)をパラメ
ータとすることにより、一意に決定できる。そこで、対
象とする入力画像に存在する直線を抽出するため、直線
のパラメータであるρ,θを軸とする座標空間を特徴パ
ラメータ空間とする。First, the straight line extraction Hough transform process will be briefly described. A straight line in the image space (xy plane) can be uniquely determined by using the distance (ρ) from the origin and the inclination (θ) viewed from the X axis as parameters. Therefore, in order to extract a straight line existing in the target input image, the coordinate space having the straight line parameters ρ and θ as axes is used as the feature parameter space.
【0034】ハフ変換とは、入力画像中の黒点画素
(x,y)に対し、その黒点を通るすべての直線のパラ
メータを、前記特徴パラメータ空間の投票箱に投票する
処理であり、そのパラメータ空間の投票箱のピークを検
出することにより、入力画像に存在した直線を検出する
ことができる。ここでの投票処理は、黒点画素(a,
b)を通る直線が
ρ=a cosθ+b sinθ
を満たすρ,θで表されることから、この式で表される
曲線をパラメータ空間に投票することになる。The Hough transform is a process for voting the parameters of all straight lines passing through the black point pixel (x, y) in the input image in the ballot box of the characteristic parameter space, and the parameter space By detecting the peak of the ballot box of, the straight line existing in the input image can be detected. The voting process here is performed by black dot pixels (a,
Since the straight line passing through b) is represented by ρ and θ that satisfy ρ = a cos θ + b sin θ, the curve represented by this formula is voted in the parameter space.
【0035】次に、本発明と直線抽出ハフ変換処理の関
係について説明する。CAM22の1ワード23は、特
徴パラメータ空間の1量子化点に割り当てられており、
ハフ変換においては、画像空間上の1本の直線を担当す
ることになる。Next, the relationship between the present invention and the straight line extraction Hough transform processing will be described. One word 23 of the CAM 22 is assigned to one quantization point in the feature parameter space,
In the Hough transform, one straight line in the image space is in charge.
【0036】パラメータ空間の量子化点(i,j)にお
ける評価値として、その量子化点に相当する画像空間上
の直線(ρi ,θj )がy=κと交差するx座標の値に
0.5を加算した値とし、評価値設定部3において実行さ
れる。すなわち、交点座標xを求める式は、
x=(ρi / cosθj )−κ tanθj (1)
であり、その結果、評価値f(ρi ,θj )は、
f(ρi ,θj )=(ρi / cosθj )−κ tanθj +0.5 (2)
となる。なお上記κは、文献「1994年電子情報通信
学会春季大会講演論文集D−433,リアルタイム直線
抽出ハフ変換の超並列ハードウェアアルゴリズム」に開
示されているκに対応しており、y座標の値を逐次変化
させた任意の値である。また、x座標の値に0.5加算す
ることは、x座標の値を整数の値に四捨五入することに
相当している。 As the evaluation value at the quantization point (i, j) in the parameter space, the value of the x coordinate at which the straight line (ρ i , θ j ) on the image space corresponding to the quantization point intersects y = κ.
The evaluation value setting unit 3 executes the value with 0.5 added. That is, the equation for obtaining the intersection point coordinate x is x = (ρ i / cos θ j ) −κ tan θ j (1), and as a result, the evaluation value f (ρ i , θ j ) is f (ρ i , θ j ) = (ρ i / cos θ j ) −κ tan θ j +0.5 (2). Note that the above κ is based on the reference “1994 Electronic Information Communication
Proceedings of the Spring Meeting of the Society D-433, real-time straight line
"Extensive Hough Transform Massively Parallel Hardware Algorithm"
Corresponds to the indicated κ and changes the y-coordinate value sequentially
It is an arbitrary value. Also, add 0.5 to the x-coordinate value
This means rounding the x-coordinate value to an integer value.
It is equivalent.
【0037】入力される黒点座標を検索データとして、
評価値フィールドの上位ビット25を検索し、一致して
いるワードでは、その担当直線が投票対象であり、評価
値フィールドの下位ビット26をそのまま、第三の実施
例で説明した投票演算処理と同様、投票箱フィールド2
7へ加算する。With the input black point coordinates as search data,
The upper bit 25 of the evaluation value field is searched, and in the matching word, the straight line in charge is the voting target, and the lower bit 26 of the evaluation value field is left unchanged, similar to the voting calculation process described in the third embodiment. , Ballot box field 2
Add to 7.
【0038】前記投票処理を全入力画像の黒点に対して
行い、その結果の投票箱フィールド27から、その投票
値のピークを検出して、入力画像中に存在する直線を精
度良く抽出できる。The voting process is performed on the black dots of all input images, the peak of the voting value is detected from the resulting voting box field 27, and the straight line existing in the input image can be accurately extracted.
【0039】なおハフ変換処理に関連する技術として
は、出願人が先に提出している特願平6−316187
号が存在する。As a technique related to the Hough conversion process, the applicant has previously filed Japanese Patent Application No. 6-316187.
There is an issue.
【0040】[0040]
【発明の効果】以上説明した如く、本発明によれば、高
精度な特徴抽出のための重みつき投票処理を、並列処理
により高速に実行でき、また、CAMへの実装により、
その処理ハードウェアの小型化をはかることができる。As described above, according to the present invention, the weighted voting process for highly accurate feature extraction can be executed at high speed by parallel processing, and by implementing in CAM,
The processing hardware can be miniaturized.
【図1】本発明の第一の実施例を示す。FIG. 1 shows a first embodiment of the present invention.
【図2】本発明の第二の実施例を示す。FIG. 2 shows a second embodiment of the present invention.
【図3】本発明の第三の実施例を示す。FIG. 3 shows a third embodiment of the present invention.
【図4】ハフ変換処理を行う本発明の他の実施例を示
す。FIG. 4 shows another embodiment of the present invention for performing Hough transform processing.
【図5】従来例を示す。FIG. 5 shows a conventional example.
1:入力データ 2:投票決定処理部 3:評価値設定部 5:上位ビット 6:下位ビット 7:投票演算処理部 8:投票箱メモリ 9:ピーク検出処理部 10:投票処理部 1: Input data 2: Voting decision processing section 3: Evaluation value setting section 5: Upper bit 6: Lower bit 7: Voting calculation processing unit 8: Ballot box memory 9: Peak detection processing unit 10: Voting processor
Claims (4)
ら、該入力データの持つ特徴を抽出するため、判別した
い特徴空間の全量子化点に投票箱を備え、 各量子化点に対応した評価値を求め、当該量子化点に対
応した評価値が入力データの評価値に対応した値を持つ
量子化点の投票箱に対して投票する処理を全入力データ
について実行し、該投票処理終了後の投票箱の値のピー
クをとる特徴点位置を検出して、入力データの持つ特徴
を抽出する特徴抽出処理装置において、 入力データの評価値と各量子化点における評価値との差
に応じた重み付きの投票値を加算していく投票処理手段
を備え、 前記入力データの評価値と各量子化点における評価値と
の差に応じた重み付きの投票値を求めるに際して、 各々の量子化点において評価値を粗く量子化した値であ
る上位ビットと入力データの評価値とが一致した量子化
点を、投票すべき量子化点として決定した後、 投票が決定した量子化点における入力データの評価値と
該量子化点の評価値との差として、該量子化点での評価
値の詳細な情報である下位ビットを用いた、重み付きの
投票値を決定するようにした ことを特徴とする特徴抽出
処理装置。1. In order to extract the features of the input data from a plurality of input data of which features are unknown, ballot boxes are provided at all quantization points of the feature space to be discriminated, and evaluations corresponding to each quantization point are provided. calculated values, versus to the quantized point
The process of vote for the ballot box quantization points whose values evaluation value response is corresponding to the evaluation value of the input data performed for all input data, a peak value of ballot boxes after the voting process ends In the feature extraction processing device that detects the feature point position and extracts the feature of the input data, the weighted voting value is added according to the difference between the evaluation value of the input data and the evaluation value at each quantization point. Voting processing means
And an evaluation value of the input data and an evaluation value at each quantization point,
When calculating the weighted voting value according to the difference of , the evaluation value is roughly quantized at each quantization point.
Quantization in which the upper bits of the input data and the evaluation value of the input data match
After determining the point as the quantization point to vote , the evaluation value of the input data at the quantization point determined by the vote and
Evaluation at the quantization point as a difference from the evaluation value of the quantization point
Weighted using the low-order bits that are detailed information of the value
A feature extraction processing device characterized in that a vote value is determined .
トを用いて重み付きの投票値を決定する際、 量子化点の評価値の下位ビットが正の場合には、そのま
ま重みとした投票値として決定する手段と、量子化点の
評価値の下位ビットが負の場合には、1の補数または2
の補数で表された負の数として、該下位ビットの正負を
反転した値を投票値として決定する手段とを、有するこ
とを特徴とする請求項1記載の特徴抽出処理装置。2. When determining a weighted voting value by using lower bits which are detailed information of the evaluation value, when the lower bit of the evaluation value of the quantization point is positive, the voting with the weight as it is Means for determining the value, and if the lower bit of the evaluation value of the quantization point is negative, 1's complement or 2
As a negative number represented by the complement, and means for determining a value obtained by inverting the polarity of the lower significant bit as the voting value, the feature extraction apparatus according to claim 1 Symbol placement and having.
装置において、その特徴パラメータ空間の1量子化点に
おける投票処理につき1個の処理手段を有し、全量子化
点における投票処理をすべて並列に実行できる手段を有
することを特徴とする特徴抽出処理装置。3. The feature extraction processing apparatus according to claim 1 or 2 Symbol mounting, has one processing unit per voting process in one quantization point of the feature parameter space, a voting process in all quantization point A feature extraction processing device characterized in that it has means that can be executed in parallel.
う装置において、その特徴パラメータ空間の量子化点に
おける評価値および投票箱の記憶手段として、1量子化
点に1ワードを割り当てた全特徴空間に対する連想メモ
リを具備し、請求項1記載の投票処理手段を全量子化点
にわたり並列に実行できることを特徴とする特徴抽出処
理装置。4. An apparatus for performing the feature extraction processing according to claim 3 in parallel, wherein one word is assigned to each quantization point as a storage means of an evaluation value and a ballot box at the quantization point of the feature parameter space. A feature extraction processing device comprising an associative memory for a feature space, wherein the voting processing means according to claim 1 can be executed in parallel over all quantization points.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP04944995A JP3387681B2 (en) | 1995-03-09 | 1995-03-09 | Feature extraction processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP04944995A JP3387681B2 (en) | 1995-03-09 | 1995-03-09 | Feature extraction processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH08249473A JPH08249473A (en) | 1996-09-27 |
| JP3387681B2 true JP3387681B2 (en) | 2003-03-17 |
Family
ID=12831457
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP04944995A Expired - Fee Related JP3387681B2 (en) | 1995-03-09 | 1995-03-09 | Feature extraction processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3387681B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111554030B (en) * | 2020-04-26 | 2020-12-04 | 华北电力大学 | A verifiable quantum anonymous voting method based on Bell state |
-
1995
- 1995-03-09 JP JP04944995A patent/JP3387681B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH08249473A (en) | 1996-09-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112446327B (en) | Remote sensing image target detection method based on non-anchor frame | |
| US20080013805A1 (en) | Finger sensing device using indexing and associated methods | |
| CN106504182B (en) | A kind of extraction of straight line system based on FPGA | |
| US4982342A (en) | Image processor system having multifunction look-up table units | |
| JPH10177650A (en) | Device for extracting picture characteristic, device for analyzing picture characteristic, and system for collating picture | |
| CN115690803B (en) | Digital image recognition method, device, electronic device and readable storage medium | |
| CN114743189B (en) | Methods, devices, electronic equipment and storage media for reading pointer instruments | |
| CN108537832B (en) | Image registration method and image processing system based on local invariant gray feature | |
| CN114358166A (en) | Multi-target positioning method based on self-adaptive k-means clustering | |
| CN110942473A (en) | Moving target tracking detection method based on characteristic point gridding matching | |
| CN112668580A (en) | Text recognition method, text recognition device and terminal equipment | |
| US20090022405A1 (en) | System and method for video object identification | |
| EP0524797B1 (en) | Image processing method and apparatus | |
| JP3054682B2 (en) | Image processing method | |
| JP2864735B2 (en) | Object identification method and apparatus, and image processing method and apparatus for object identification | |
| US20220180546A1 (en) | Image processing device and image processing program | |
| JP3387681B2 (en) | Feature extraction processing device | |
| JP2003091730A (en) | Image checkup device, image checkup method and image checkup program | |
| CN110287984A (en) | Gradient image matching method, device, and electronic equipment based on main feature information | |
| JPWO1994001831A1 (en) | Object identification method and device, and image processing method and device for object identification | |
| Garg et al. | A simple approach to image tilt correction with self-attention mobilenet for smartphones | |
| CN115761292B (en) | A robust greedy clustering method | |
| JP2001506383A (en) | How to perform character recognition on a pixel matrix | |
| Cao et al. | Loflat: Local feature matching using focused linear attention transformer | |
| CN109740618B (en) | Test paper score automatic statistical method and device based on FHOG characteristics |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090110 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |