JPH087113A - Image feature extraction method - Google Patents

Image feature extraction method

Info

Publication number
JPH087113A
JPH087113A JP6157996A JP15799694A JPH087113A JP H087113 A JPH087113 A JP H087113A JP 6157996 A JP6157996 A JP 6157996A JP 15799694 A JP15799694 A JP 15799694A JP H087113 A JPH087113 A JP H087113A
Authority
JP
Japan
Prior art keywords
output
sets
coordinate
extraction method
image feature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6157996A
Other languages
Japanese (ja)
Inventor
Takahisa Yamaguchi
貴久 山口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Avionics Co Ltd
Original Assignee
Nippon Avionics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Avionics Co Ltd filed Critical Nippon Avionics Co Ltd
Priority to JP6157996A priority Critical patent/JPH087113A/en
Publication of JPH087113A publication Critical patent/JPH087113A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

(57)【要約】 【目的】 簡素な回路構成で実施できるようにする。 【構成】 F/F2は、初期状態では逆相出力を“1”
にしているので、2値化処理器33が出力を最初に
“1”にすると、ゲート3からF/F4のラッチ指令が
出力され、その時のY座標データがF/F4に取り込ま
れる。F/F2は逆相出力を“0”にするので、以後F
/F4はY座標上の最小値を保持出力する。一方F/F
5では、2値化処理器33が出力を“1”にする度にY
座標データを取り込むが、2値化処理器33が出力を最
後に“1”にするのは垂直走査が目標点を通過する直前
までであるので、結局、F/F5にはY座標上の最大値
が保持される。
(57) [Summary] [Purpose] To enable implementation with a simple circuit configuration. [Structure] F / F2 outputs negative phase output "1" in the initial state.
Therefore, when the binarization processor 33 first sets the output to “1”, the gate 3 outputs a latch command for the F / F 4, and the Y coordinate data at that time is fetched in the F / F 4. Since F / F2 sets the reverse phase output to "0",
/ F4 holds and outputs the minimum value on the Y coordinate. Meanwhile F / F
In 5, every time the binarization processor 33 sets the output to “1”, Y
Although the coordinate data is fetched, the binarization processor 33 sets the output to "1" at the end just before the vertical scanning passes the target point, so that the F / F5 has the maximum on the Y coordinate. The value is retained.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、1個の物品を撮像した
画像データからその1個の物品のY座標上における輪郭
を抽出する画像の特徴量抽出方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for extracting a feature amount of an image, in which the contour on the Y coordinate of one article is extracted from the image data of one article.

【0002】[0002]

【従来の技術】ラスタスキャン方式は、例えば図2に示
すように、長方形画面の左上隅を走査の起点とし、左か
ら右への水平走査と上から下への垂直走査とにより1画
面の画像信号を取得する方式であるが、かかる画面内の
位置は、水平走査方向をX軸、垂直走査方向をY軸とす
るXY座標で示される。
2. Description of the Related Art In a raster scan system, for example, as shown in FIG. 2, an upper left corner of a rectangular screen is used as a scanning starting point, and an image of one screen is obtained by horizontal scanning from left to right and vertical scanning from top to bottom. Although this is a method of acquiring a signal, the position within the screen is indicated by XY coordinates with the horizontal scanning direction as the X axis and the vertical scanning direction as the Y axis.

【0003】ここに、本発明が対象とする画像の特徴量
抽出方法は、このようなラスタスキャン方式で取得され
る画面内には図2に示すように1個の物品たる目標点1
のみが存在する場合のその目標点1のY座標上における
輪郭(最小値、最大値)を抽出(検出)する方法であ
る。この種の画像の特徴量抽出方法としては、従来、例
えば図3に示す方法が知られている。
Here, in the image feature amount extraction method of the present invention, as shown in FIG. 2, a target point 1 which is an article is displayed in the screen acquired by such a raster scan method.
This is a method of extracting (detecting) the contour (minimum value, maximum value) on the Y coordinate of the target point 1 when only the target point 1 exists. As a feature amount extraction method of this type of image, a method shown in FIG. 3 is conventionally known.

【0004】図3において、ビデオカメラ31で撮像し
た画像信号は、1個の物品のみを含むものである。この
ビデオカメラ31で取得した画像信号は、A/D変換器
32でディジタル化される。
In FIG. 3, the image signal picked up by the video camera 31 includes only one article. The image signal acquired by the video camera 31 is digitized by the A / D converter 32.

【0005】2値化処理器33では、A/D変換器32
の出力値と閾値との大小関係を比較し、出力値が閾値を
越えていれば“1”を出力し、越えていなければ“0”
を出力する。この2値化処理器33の出力は、2つの比
較器(34、35)の制御端Gに与えられる。
In the binarization processor 33, the A / D converter 32 is used.
Of the output value and the threshold value are compared, and if the output value exceeds the threshold value, "1" is output, and if it does not exceed the threshold value, "0" is output.
Is output. The output of the binarization processor 33 is given to the control terminals G of the two comparators (34, 35).

【0006】比較器34(35)は、一方の入力端Aに
フリップフロップ(F/F)36(37)のQ出力が印
加され、他方の入力端BにA/D変換器32の出力(Y
座標データ)が印加され、両入力の大小関係を2値化処
理器33から“1”が入力する度に比較し、両入力の大
小関係がA>B(A<B)のときF/F36(37)の
ラッチ入力端にラッチ指令の信号を出力する。この34
と35の2つの比較器は、共に、2値化処理器33の出
力が“1”になると、両入力の比較動作を同時に開始す
る。
In the comparator 34 (35), the Q output of the flip-flop (F / F) 36 (37) is applied to one input terminal A, and the output of the A / D converter 32 ( Y
Coordinate data) is applied, and the magnitude relationship between both inputs is compared every time "1" is input from the binarization processor 33. When the magnitude relationship between both inputs is A> B (A <B), the F / F 36 The signal of the latch command is output to the latch input terminal of (37). This 34
When the output of the binarization processor 33 becomes "1", the two comparators 35 and 35 simultaneously start the comparison operation of both inputs.

【0007】F/F36(37)は、入力端DにA/D
変換器32の出力(Y座標データ)が印加され、ラッチ
指令に応答してY座標データを取り込み、出力端Qから
Y座標データを出力する。このF/F36と同37は、
共に、Y座標データのビット数分存在するが、初期状態
では、F/F36は全てのQ出力を“1”にしてラッチ
指令信号の入力に備え、F/F37は全てのQ出力を
“0”にしてラッチ指令信号の入力に備えている。
The F / F 36 (37) has an A / D at the input terminal D.
The output (Y coordinate data) of the converter 32 is applied, the Y coordinate data is fetched in response to the latch command, and the Y coordinate data is output from the output terminal Q. This F / F36 and 37 are
Both of them exist for the number of bits of the Y coordinate data, but in the initial state, the F / F 36 sets all the Q outputs to "1" to prepare for the input of the latch command signal, and the F / F 37 sets all the Q outputs to "0". To prepare for inputting the latch command signal.

【0008】以上の構成において、2値化処理器33が
最初に“1”を出力すると、比較器34ではA>Bの条
件が成立し、F/F36が起動され、その出力端子にY
座標データが出力される。そして、その後の“1”の入
力に対し、比較器34ではA>Bの条件が成立すればF
/F36に今回入力のY座標データを取り込ませる。こ
のようにして、F/F36のQ出力にはY座標上の最小
値が検出出力される。多くの場合、2値化処理器33が
最初に“1”を出力したときに取り込んだY座標データ
が最小値である。
In the above configuration, when the binarization processor 33 first outputs "1", the condition of A> B is satisfied in the comparator 34, the F / F 36 is activated, and Y is output to its output terminal.
Coordinate data is output. Then, for the subsequent input of "1", if the condition of A> B is satisfied in the comparator 34, F
The Y coordinate data input this time is loaded into / F36. In this way, the minimum value on the Y coordinate is detected and output to the Q output of the F / F 36. In many cases, the Y coordinate data captured when the binarization processor 33 first outputs "1" is the minimum value.

【0009】一方、比較器35では、F/F37のQ出
力の初期値が“0”であるので、垂直走査が目標点1を
通過するまでA<Bの条件が成立し、それまでは2値化
処理器33の出力が“1”となる度にF/F37のQ出
力を更新し、A>Bとなった時以降において更新動作を
停止する。つまり、F/F37のQ出力には、垂直走査
が目標点1を通過する直前のY座標データがY座標上の
最大値として出力される。
On the other hand, in the comparator 35, since the initial value of the Q output of the F / F 37 is "0", the condition of A <B is satisfied until the vertical scanning passes the target point 1, and until then, 2 The Q output of the F / F 37 is updated every time the output of the digitization processor 33 becomes "1", and the updating operation is stopped after A> B. That is, to the Q output of the F / F 37, the Y coordinate data immediately before the vertical scanning passes the target point 1 is output as the maximum value on the Y coordinate.

【0010】[0010]

【発明が解決しようとする課題】従来の画像の特徴量抽
出方法は、前回値と今回値の大小比較により最小値と最
大値を検出するので、比較器が必要であるが、比較器は
多機能の回路であるから回路規模が増大するだけでな
く、比較器にもビット数分の配線パターンが必要となる
ので、パターン本数が膨大なものとなるという問題があ
る。
In the conventional image feature amount extraction method, the minimum value and the maximum value are detected by comparing the previous value and the current value, so that a comparator is required, but many comparators are required. Not only does the circuit scale increase because it is a functional circuit, but there is also the problem that the number of patterns becomes enormous because the wiring pattern for the number of bits is also required for the comparator.

【0011】本発明は、このような従来の問題に鑑みな
されたもので、その目的は、回路規模の縮小化と配線パ
ターン本数の減少化が図れる画像の特徴量抽出方法を提
供することにある。
The present invention has been made in view of such conventional problems, and an object thereof is to provide an image feature amount extraction method capable of reducing the circuit scale and the number of wiring patterns. .

【0012】[0012]

【課題を解決するための手段】前記目的を達成するた
め、本発明の画像の特徴量抽出方法は次の如き構成を有
する。即ち、本発明の画像の特徴量抽出方法は、1個の
物品をラスタスキャン方式で撮像した画像信号をディジ
タル化し、それの2値化データが“1”であるときのデ
ィジタル信号から前記1個の物品の垂直走査方向におけ
る輪郭(最小値、最大値)を抽出する画像の特徴量抽出
方法において; 2値化データが最初に“1”となった
ときのディジタル信号を最小値とし; 2値化データが
“1”を継続するときの最後の“1”のときのディジタ
ル信号を最大値とする; ことを特徴とするものであ
る。
In order to achieve the above-mentioned object, the image feature amount extraction method of the present invention has the following configuration. That is, the image feature amount extraction method of the present invention digitizes an image signal obtained by picking up one article by the raster scan method, and digitizes the image signal from the digital signal when the binarized data is "1". Image feature amount extraction method for extracting the contours (minimum value, maximum value) of the article in the vertical scanning direction; the digital signal when the binarized data first becomes "1" is the minimum value; The maximum value is the digital signal at the last "1" when the digitized data continues to be "1".

【0013】[0013]

【作用】次に前記の如く構成される本発明の画像の特徴
量抽出方法の作用を説明する。本発明では、2値化デー
タが最初に“1”となったときのディジタル信号を最小
値として検出し、2値化データが“1”を継続するとき
の最後の“1”のときのディジタル信号を最大値として
検出する。
Next, the operation of the image feature amount extraction method of the present invention configured as described above will be described. In the present invention, the digital signal when the binarized data first becomes "1" is detected as the minimum value, and the digital signal at the last "1" when the binarized data continues "1". The signal is detected as the maximum value.

【0014】従って、本発明方法を実施する回路は、フ
リップフロップとゲートとで構成でき、回路規模が縮小
化される。また、配線パターンも比較器がない分少なく
できる。
Therefore, the circuit for implementing the method of the present invention can be constituted by the flip-flop and the gate, and the circuit scale can be reduced. Further, the wiring pattern can be reduced because there is no comparator.

【0015】[0015]

【実施例】以下、本発明の実施例を図面を参照して説明
する。図1は、本発明の画像の特徴量抽出方法を実施す
る回路の一例を示す。図1において、この本発明方法の
実施回路は、2値化処理器33の後段に、F/F2とゲ
ート3とF/F4とF/F5とを設けたものである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows an example of a circuit for implementing the image feature amount extraction method of the present invention. In FIG. 1, the implementation circuit of the method of the present invention has an F / F2, a gate 3, an F / F4, and an F / F5 provided in a stage subsequent to the binarization processor 33.

【0016】2値化処理器33の出力は、F/F2の入
力端Jとゲート3の一方の入力端とF/F5のラッチ入
力端とに供給される。F/F2のQバー出力(以下「逆
相出力」)はゲート3の他方の入力端に供給され、ゲー
ト3の出力はF/F4のラッチ入出端に供給される。ま
た、F/F4と同5の入力端DにはA/D変換器32の
出力(Y座標データ)が供給される。
The output of the binarization processor 33 is supplied to the input terminal J of the F / F2, one input terminal of the gate 3 and the latch input terminal of the F / F5. The Q-bar output of the F / F2 (hereinafter referred to as "negative phase output") is supplied to the other input end of the gate 3, and the output of the gate 3 is supplied to the latch input / output end of the F / F4. The output (Y coordinate data) of the A / D converter 32 is supplied to the input terminal D of the F / F 4 and the same 5.

【0017】以上の構成において、F/F2は、初期状
態では逆相出力を“1”にしているので、2値化処理器
33が出力を最初に“1”にすると、ゲート3からF/
F4のラッチ指令が出力され、その時のY座標データが
F/F4に取り込まれる。そして、F/F2は、2値化
処理器33からの最初の“1”の入力により、逆相出力
を“0”にするので、以後2値化処理器33が“1”を
出力してもゲート3はそのゲートを閉じ、F/F4には
ラッチ指令が出力されず、F/F4は最初に取り込んだ
Y座標データを保持出力する。図2から明らかなよう
に、この最初に取り込んだY座標データはY座標上での
最小値である。
In the above configuration, the F / F2 has the anti-phase output set to "1" in the initial state. Therefore, when the binarization processor 33 first sets the output to "1", the F / F2 outputs from the gate 3 to the F / F2.
The latch command of F4 is output, and the Y coordinate data at that time is fetched in F / F4. Then, the F / F2 sets the negative phase output to "0" by the first input of "1" from the binarization processor 33, so that the binarization processor 33 thereafter outputs "1". Also, the gate 3 closes the gate, the latch command is not output to the F / F 4, and the F / F 4 holds and outputs the Y-coordinate data that is initially captured. As is clear from FIG. 2, the Y coordinate data that is first captured is the minimum value on the Y coordinate.

【0018】一方、F/F5では、2値化処理器33が
出力を“1”にする度にY座標データを取り込むが、2
値化処理器33が出力を最後に“1”にするのは垂直走
査が目標点1を通過する直前までであるので、結局、F
/F5にはY座標上の最大値が保持される。
On the other hand, in the F / F5, the Y coordinate data is fetched each time the binarization processor 33 sets the output to "1".
The value processor 33 finally sets the output to “1” until just before the vertical scanning passes the target point 1. Therefore, after all, F
The maximum value on the Y coordinate is held in / F5.

【0019】本実施回路は、単機能のフリップフロップ
とゲートとで構成されるので、非常に簡素に構成でき、
配線パターン数も比較器がない分少なくなる。
Since this embodiment circuit is composed of a single-function flip-flop and a gate, it can be constructed very simply.
The number of wiring patterns is also reduced because there is no comparator.

【0020】[0020]

【発明の効果】以上説明したように、本発明の画像の特
徴量抽出方法は、2値化データが最初に“1”となった
ときのディジタル信号を最小値として検出し、2値化デ
ータが“1”を継続するときの最後の“1”のときのデ
ィジタル信号を最大値として検出するようにしたので、
本発明方法を実施する回路は、フリップフロップとゲー
トとで構成でき、回路規模が縮小化される。また、配線
パターンも比較器がない分少なくできる効果がある。
As described above, according to the image feature amount extraction method of the present invention, the digital signal when the binarized data first becomes "1" is detected as the minimum value, and the binarized data is detected. Since the digital signal at the last "1" when "1" continues to be detected as the maximum value,
A circuit for implementing the method of the present invention can be composed of a flip-flop and a gate, and the circuit scale can be reduced. Further, there is an effect that the wiring pattern can be reduced because there is no comparator.

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

【図1】本発明の画像の特徴量抽出方法を実施する回路
の一例を示す回路図である。
FIG. 1 is a circuit diagram showing an example of a circuit that implements an image feature amount extraction method of the present invention.

【図2】ラスタスキャン方式による画面の構成例及び本
発明方法の特徴量抽出の対象の一例を示す図である。
FIG. 2 is a diagram showing an example of a screen configuration by a raster scan method and an example of a target of feature amount extraction of the method of the present invention.

【図3】従来の画像の特徴量抽出方法を実施する回路の
一例を示す回路図である。
FIG. 3 is a circuit diagram showing an example of a circuit that implements a conventional image feature amount extraction method.

【符号の説明】[Explanation of symbols]

1 目標点 2,4,5 フリップフロップ(F/F) 3 ゲート 31 ビデオカメラ 32 A/D変換器 33 2値化処理器 1 Target Point 2, 4, 5 Flip-Flop (F / F) 3 Gate 31 Video Camera 32 A / D Converter 33 Binarization Processor

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 1個の物品をラスタスキャン方式で撮像
した画像信号をディジタル化し、それの2値化データが
“1”であるときのディジタル信号から前記1個の物品
の垂直走査方向における輪郭(最小値、最大値)を抽出
する画像の特徴量抽出方法において; 2値化データが
最初に“1”となったときのディジタル信号を最小値と
し; 2値化データが“1”を継続するときの最後の
“1”のときのディジタル信号を最大値とする; こと
を特徴とする画像の特徴量抽出方法。
1. An image signal obtained by picking up an image of one article by a raster scan method is digitized, and the contour of the one article in the vertical scanning direction is obtained from the digital signal when the binary data of the image signal is "1". In the image feature amount extraction method for extracting (minimum value, maximum value); the digital signal when the binarized data first becomes "1" is set as the minimum value; the binarized data continues to be "1" The maximum value is the digital signal at the last "1" when performing the following;
JP6157996A 1994-06-16 1994-06-16 Image feature extraction method Pending JPH087113A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6157996A JPH087113A (en) 1994-06-16 1994-06-16 Image feature extraction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6157996A JPH087113A (en) 1994-06-16 1994-06-16 Image feature extraction method

Publications (1)

Publication Number Publication Date
JPH087113A true JPH087113A (en) 1996-01-12

Family

ID=15661970

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6157996A Pending JPH087113A (en) 1994-06-16 1994-06-16 Image feature extraction method

Country Status (1)

Country Link
JP (1) JPH087113A (en)

Similar Documents

Publication Publication Date Title
JP2940936B2 (en) Tablespace identification method
JPH0552987B2 (en)
JPH11134509A (en) Drawing recognition processing method and architectural drawing recognition processing method
JPS62297981A (en) Binarization system for image
JPH0413750B2 (en)
JPH08194825A (en) Contour information extraction device
JP2508075B2 (en) Image processing device
JPS60200375A (en) Template matching system
JPS63253489A (en) Image recognition method
JPH04213170A (en) Ramp pattern extraction device
JPS6279580A (en) Image processing device
JPH05113315A (en) Center position detection method for circular image data
JP3031565B2 (en) Table space judgment method
JPH03154176A (en) Pattern processing method
JPS61206389A (en) Pattern discrimination device
JPH0916764A (en) Image processing device
JPH06333046A (en) Image feature value extracting device
JPH08219720A (en) Electronic component joint position recognition method
JPH02165281A (en) Distortion eliminating system
JPH0432429B2 (en)
JPH0559547U (en) Image target detection device
JPH07210694A (en) Image processing device
JPS6365347A (en) Singular point detecting method by image processing
JPS62202292A (en) Pattern matching method
JPS59212701A (en) Position recognition method using pattern matching