JPH01173269A - Automatic measuring instrument for position of color object - Google Patents

Automatic measuring instrument for position of color object

Info

Publication number
JPH01173269A
JPH01173269A JP62332153A JP33215387A JPH01173269A JP H01173269 A JPH01173269 A JP H01173269A JP 62332153 A JP62332153 A JP 62332153A JP 33215387 A JP33215387 A JP 33215387A JP H01173269 A JPH01173269 A JP H01173269A
Authority
JP
Japan
Prior art keywords
color
module
projection
video rate
horizontal
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
JP62332153A
Other languages
Japanese (ja)
Inventor
Noboru Ozaki
暢 尾崎
Shigeru Sasaki
繁 佐々木
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62332153A priority Critical patent/JPH01173269A/en
Publication of JPH01173269A publication Critical patent/JPH01173269A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To process the automatic measurement of the position of a color object with a video rate setting a moving image as an object by specifying the position of the said color object at every frame. CONSTITUTION:The designation of a color to be extracted is performed by the parameter setting of hue, saturation, and lightness from a host computer via an interfere part 7, and a threshold value is set on a binarization part 4, and horizontal and vertical area setting are performed on horizontal and vertical projection parts 5 and 6. After that, the image signals and the synchronizing signals of R, G and B are sent from a color TV camera 1, and a synchronization control signal is sent to every part from a control signal generation part 2, and every part processes the signal with the video rate, and calculates a projection result in horizontal and vertical directions at every frame. The computer 8 decides that the object with a designated color exists when projection of a prescribed value continues over prescribed number of lines, and specifies the position of the color object based on the minimum and the maximum values, etc., of a line position.

Description

【発明の詳細な説明】 〔概要〕 カラーテレビカメラから得られる赤(R)、緑(G)。[Detailed description of the invention] 〔overview〕 Red (R) and green (G) obtained from a color television camera.

青(B)信号を処理して、特定の色を持つ物体の位置を
ビデオレートで測定する装置に関し、動画像を対象とし
た色物体位置の自動測定をビデオレートで処理すること
を目的とし、カラーテレビ画像から得られる赤(R)、
緑(G)、青(B)信号を入力して、予め、ホスト計算
機から指定されている色の画素を抽出し、その色情報を
二値化処理した後の画像の水平、垂直方向の投影結果を
1フレーム毎に求めて、該1フレーム毎の投影結果デー
タに基づいて、該指定された色物体の位置を、ホスト計
算機で求めることを繰り返して、該色を持つ物体の位置
を自動的に、且つビデオレートで測定するように構成す
る。
Regarding a device that processes a blue (B) signal and measures the position of an object with a specific color at a video rate, the purpose is to automatically measure the position of a colored object in a moving image at a video rate, Red (R) obtained from color television images,
Inputs green (G) and blue (B) signals, extracts pixels of the color specified by the host computer in advance, and projects the image in the horizontal and vertical directions after binarizing the color information. The host computer repeatedly calculates the result for each frame and uses the host computer to determine the position of the specified colored object based on the projection result data for each frame, and automatically determines the position of the object with the specified color. and configured to measure at video rate.

〔産業上の利用分野〕[Industrial application field]

本発明は、カラーテレビカメラから得られる赤(R)、
緑(G)、青(B)信号を処理して、特定の色を持っ物
体の位置をビデオレートで測定する装置に関する。
The present invention relates to red (R) obtained from a color television camera,
This invention relates to a device that processes green (G) and blue (B) signals to measure the position of an object with a specific color at video rate.

最近の画像処理技術の進歩と、カラーテレビカメラ、テ
レビ受像機の普及に伴い、経済的に得られるカラー動画
像の上記入出力装置(カラーテレビカメラ、テレビ受像
機)を用いて、該カラー動画像をビデオレートで画像処
理することが求められる動向にある。
With the recent advances in image processing technology and the spread of color television cameras and television receivers, color moving images can be produced using input/output devices (color television cameras, television receivers) that can be economically obtained. The trend is to process images at video rates.

例えば、特定の色を持つ物体の位置を自動的に測定する
ことで、その物体の監視を行う自動監視システムとか、
ある物体の持つ色を指定して、その色の部分の位置を自
動的に測定することにより、該物体の追跡を行う自動追
跡システム等が求められている。
For example, an automatic monitoring system that monitors objects with a specific color by automatically measuring the position of the object.
There is a need for an automatic tracking system that tracks an object by specifying the color of the object and automatically measuring the position of a portion of that color.

具体的な例としては、建設業界等において、“赤色″′
で塗装されているクレーンの動きだけを、例えば、“赤
色”の色物体を抽出することで、監視、追跡することが
できると、該クレーンの操作者が、該クレーンを効果的
に操作しているかどうかの「査察」を短時間で行うこと
ができる。
As a specific example, in the construction industry, “red”
If the movement of a painted crane could be monitored and tracked by extracting, for example, "red" colored objects, it would be possible for the operator of the crane to operate the crane effectively. It is possible to conduct an "inspection" in a short period of time to see if there is a problem.

このような事情から、カラーテレビカメラで得られたカ
ラー画像について、特定の色を指定し、該指定した色の
物体の動き、即ち、位置の移動をビデオレートで処理し
て表示できる色物体位置自動測定装置が必要とされる。
Under these circumstances, for color images obtained with a color television camera, a color object position that can be displayed by specifying a specific color and processing the movement of the object of the specified color, that is, the movement of the position at a video rate. Automatic measuring equipment is required.

〔従来の技術と発明が解決しようとする問題点〕第6図
は従来のビデオレート色抽出装置の構成例を示した図で
あり、第7図は従来の画像の縦。
[Prior art and problems to be solved by the invention] FIG. 6 is a diagram showing an example of the configuration of a conventional video rate color extraction device, and FIG. 7 is a vertical view of a conventional image.

又は横の投影をビデオレー1・で算出する装置の構成例
を示した図である。
2 is a diagram illustrating an example of the configuration of an apparatus for calculating lateral projection using a videoray 1.

第6図に示したビデオレート色抽出装置は、本願出願者
が先願している特願昭62−165792号に開示して
いるもので、テレビカメラ(TVカメラ)1から得られ
る赤(R)、緑(G)、青(B)信号をアナログ/ディ
ジタル(A/D)変換し、得られたディジタルのR,G
、B信号を、予め、与えられたテーブル変換部(a) 
31のテーブルによりテーブル変換して、色相、彩度、
明度のデータを得て、そのデータを再度テーブル変換部
(b) 32でテーブル変換して、予め、指定しである
色情報(色相、彩度、明度)の画素を有効画素とするよ
うな信号を生成し、その信号により、予め、指定された
色の画素を実時間で抽出するようにしたものである。
The video rate color extraction device shown in FIG. ), green (G), and blue (B) signals to analog/digital (A/D) conversion, and the resulting digital R, G
, B signal is given in advance by the table converter (a)
Table conversion is performed using 31 tables, hue, saturation,
Obtain lightness data, convert the data again into a table in the table converter (b) 32, and generate a signal that makes pixels with specified color information (hue, saturation, brightness) effective pixels. is generated, and pixels of a pre-specified color are extracted in real time using the signal.

従って、テレビカメラから得られるカラー画像中の指定
する色の画素をビデオレートで抽出することはできるが
、該抽出した画素の位置を認識することができないと云
う問題があった。
Therefore, although it is possible to extract pixels of a specified color from a color image obtained from a television camera at a video rate, there is a problem in that the position of the extracted pixel cannot be recognized.

次に、第7図に示したビデオレート投影装置は、本願出
願者が先願している特願昭61−288045号に開示
しているもので、カラーテレビカメラからのディジタル
ビデオ信号(画像)の、例えば、垂直方向の投影結果(
各ラインの垂直方向の画素の画素値の総和)を加算器(
加算)54において、パイプライン処理によってビデオ
レートで算出し、その投影結果を2つのメモリ(1) 
58−1.メモリ(2)58−2で交互に保持し、それ
らの切り替えを該画像の1画面間の区切りである垂直同
期信号で同期を採りながら行うことにより、常に、最新
の投影結果を、該2つのメモリ(1) 、 (2)の存
在を意識することな(読み出すことができるようにした
ものである。
Next, the video rate projection device shown in FIG. 7 is disclosed in Japanese Patent Application No. 61-288045, which was previously filed by the applicant of the present application, and is based on a digital video signal (image) from a color television camera. For example, the vertical projection result (
The sum of the pixel values of the pixels in the vertical direction of each line) is added to the adder (
In addition) 54, calculation is performed at the video rate by pipeline processing, and the projection result is stored in two memories (1).
58-1. By alternately holding the data in the memory (2) 58-2 and switching between them while synchronizing with the vertical synchronization signal that separates one screen of the image, the latest projection results are always displayed between the two images. Memory (1) and (2) can be read without being aware of their existence.

同じようにして、画像の水平方向の投影結果を得ること
ができる。
In the same way, a horizontal projection of the image can be obtained.

該画像の垂直方向5水平方向の投影結果をビデオレート
で算出して取り出すことにより、該画像中の特定部分の
位置を特定することができるが、この技術のみでは、カ
ラー画像中の特定の色物体の位置を特定することができ
ないと云う問題があった。
By calculating and extracting the vertical and horizontal projection results of the image at a video rate, it is possible to specify the position of a specific part in the image, but with this technology alone, it is not possible to identify a specific color in a color image. There was a problem in that the position of the object could not be specified.

然して、例えば、静止画像に対しては、ソフトウェア手
段によって、特定の色を持つ領域の位置を特定すること
ができるが、該ソフトウェア処理では、動画像に対処す
ることは不可能である。
Thus, for example, for still images it is possible to specify the position of an area having a particular color by software means, but it is not possible to deal with moving images by means of software means.

本発明は上記従来の欠点に鑑み、カラーテレビカメラの
画像から得られる色情報に基づいて、特定の色をビデオ
レー1・で抽出する技術と、画像の縦、及び横の投影結
果をビデオレートで算出することができる技術があるこ
とに着目し、動画像に対する色物体位置の自動測定をビ
デオレートで行う方法を提供することを目的とするもの
である。
In view of the above-mentioned drawbacks of the conventional art, the present invention provides a technology for extracting a specific color using a video ray 1, based on color information obtained from an image of a color television camera, and a technique for extracting the vertical and lateral projection results of the image at a video ray rate. The purpose of this paper is to provide a method for automatically measuring the position of a colored object in a moving image at a video rate.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の色物体位置自動測定装置の原理構成図
である。
FIG. 1 is a diagram showing the principle structure of an automatic color object position measuring device according to the present invention.

上記の問題点は下記の如くに構成された色物体位置自動
測定装置によって解決される。
The above problems are solved by an automatic color object position measuring device configured as follows.

カラーテレビカメラ1から得られる赤(R)、緑(G)
、青(B)信号を処理して、特定の色を持つ物体の位置
をビデオレート、で測定する装置であって、該カラーテ
レビカメラ1からの赤(R)、緑(G)、青(B)信号
からなるビデオ信号をアナログ/ディジタル変換して逐
次出力し、又、該ビデオ信号の同期信号(SYNC)か
ら画像データの有効期間を示す信号を生成して出力する
A/D変換・同期制御信号生成モジュール2と、 上記A/D変換・同期制御信号生成モジュール2の出力
を入力とし、ホスト計算機8から指定された色の画素を
ビデオレートで抽出する色抽出モジュール3と、 該色抽出モジュール3の出力を入力とし、ホスト計算機
8から指定された閾値により、該色抽出結果画像の二値
化をビデオレートで行う二値化モジュール4と、 該二値化モジュール4の出力を入力とし、水平方向の投
影をビデオレートで行う水平方向投影モージュール5と
、 該二値化モジュール4の出力を入力とし、垂直方向の投
影をビデオレートで行う垂直方向投影モジュール6と、 上記色抽出モジュール3への抽出すべき色の指定、二値
化モジュール4への閾値の指定、水平方向投影モジュー
ル5で得られる投影結果から色物体の水平位置の特定、
及び垂直方向投影モジュール6で得られる投影結果から
該色物体の垂直位置の特定を行うホスト計算機8と、 
 −該ホスト計算機8と上記各モジュールとのインタフ
ェース制御を行うインタフェース部7とで構成する。
Red (R) and green (G) obtained from color television camera 1
, blue (B) signals to measure the position of an object having a specific color at a video rate, the device processes red (R), green (G), and blue ( B) A/D conversion/synchronization that converts a video signal from analog to digital and outputs it sequentially, and also generates and outputs a signal indicating the valid period of image data from the synchronization signal (SYNC) of the video signal. a control signal generation module 2; a color extraction module 3 which receives the output of the A/D conversion/synchronization control signal generation module 2 as input and extracts pixels of a color designated by the host computer 8 at a video rate; A binarization module 4 takes the output of the module 3 as an input and binarizes the color extraction result image at a video rate using a threshold specified by the host computer 8; , a horizontal projection module 5 that performs horizontal projection at video rate; a vertical projection module 6 that receives the output of the binarization module 4 as input and performs vertical projection at video rate; and the color extraction module. 3, specifying the threshold value to the binarization module 4, specifying the horizontal position of the colored object from the projection result obtained by the horizontal projection module 5,
and a host computer 8 that specifies the vertical position of the colored object from the projection result obtained by the vertical projection module 6;
- It is composed of an interface section 7 that performs interface control between the host computer 8 and each of the above modules.

〔作用〕[Effect]

即ち、本発明によれば、カラーテレビカメラ画像から得
られる赤(R)、緑(G)、青(B)信号を入力とし、
指定された色を抽出して、その色を持つ物体の位置を自
動的に、且つビデオレートで測定するのに、ホスト計算
機からインタフェース部を通して、色抽出モジュールに
対して、抽出すべき色の指定を色相、彩度、明度のパラ
メータ設定により行い、次に二値化モジュールに対して
、雑音除去を行う為の二値化の閾値パラメータの設定を
行い、更に、水平、垂直投影モジュールに対して水平。
That is, according to the present invention, red (R), green (G), and blue (B) signals obtained from a color television camera image are input,
To extract a specified color and measure the position of an object with that color automatically and at video rate, the host computer specifies the color to be extracted to the color extraction module through the interface section. This is done by setting parameters for hue, saturation, and brightness, then setting threshold parameters for binarization to remove noise for the binarization module, and then setting the binarization threshold parameters for the horizontal and vertical projection modules. Horizontal.

垂直の領域設定を行う。Perform vertical area settings.

これらの初期設定を終了した後、カラーテレビカメラか
らは赤(R)、緑(G)、青(B)の画像信号と同期信
号(SYNC)が出力され、A/D変換・同期制御信号
生成モジュールでは、該R,G、 B信号をアナログ/
ディジタル変換して各モジュールに出力すると共に、同
期信号(SYNC)から同期制御信号(垂直同期信号(
VD) 、フレームイネーブル(FE)、  ラインイ
ネーブル(LE))を生成して各モジュールに出力する
After completing these initial settings, the color TV camera outputs red (R), green (G), and blue (B) image signals and a synchronization signal (SYNC), and generates A/D conversion and synchronization control signals. The module converts the R, G, and B signals into analog/
In addition to digitally converting and outputting to each module, the synchronization signal (SYNC) is converted into a synchronization control signal (vertical synchronization signal (
VD), frame enable (FE), and line enable (LE)) and outputs them to each module.

各モジュールはこれらの信号をビデオレートで処理する
。即ち、色抽出、二値化処理された後の画像の水平、垂
直方向の投影結果が1フレーム毎に算出される。 (第
3図参照) 該算出された水平、垂直方向の投影結果は、各ラインに
おける指定された色の面積を表している。
Each module processes these signals at video rates. That is, the horizontal and vertical projection results of the image after color extraction and binarization processing are calculated for each frame. (See FIG. 3) The calculated horizontal and vertical projection results represent the area of the designated color on each line.

そこで、ホスト計算機によって、ある値以上の投影があ
るライン数、例えば、2ライン以上続いた時に、該指定
した色の物体があるもの判定し、そのライン位置の最小
値(第3図の“U”、或いは、′L゛)と、最大値(第
3図の0 +、或いは、′R゛)等によって、該色物体
の位置の特定を行う。
Therefore, the host computer determines whether there is an object of the specified color when the number of lines with a projection of more than a certain value (for example, two or more lines continues) and the minimum value of the line position ("U" in Figure 3) is determined. ” or 'L') and the maximum value (0 + or 'R' in FIG. 3), etc., the position of the color object is specified.

このようにして、1フレーム毎の当該色物体の位置を特
定することで、該色物体の位置の測定をビデオレートで
行うことができるので、動物体の自動追尾、自動監視が
可能となる効果がある。
In this way, by specifying the position of the colored object for each frame, the position of the colored object can be measured at video rate, making it possible to automatically track and monitor moving objects. There is.

〔実施例〕〔Example〕

以下本発明の実施例を図面によって詳述する。 Embodiments of the present invention will be described in detail below with reference to the drawings.

前述の第1図が本発明の色物体位置自動測定装置の原理
構成図であり、第2図は本発明の一実施例をブロック図
で示した図であり、第3図は二値化画像に対する投影処
理の概念を示した図であり、第4図は動画像の同期信号
と同期制御信号との関係を示した図であり、第5図は入
力画像と二値画像との関係を示した図であり、第1図、
第2図における色抽出部(モジュール)3.水平、垂直
投影部(モジュール)5,6.及びホスト計算機8での
色物体の位置の特定手段が本発明を実施するのに必要な
手段である。尚、全図を通して同じ符号は同じ対象物を
示している。
The above-mentioned FIG. 1 is a diagram showing the principle configuration of the automatic color object position measuring device of the present invention, FIG. 2 is a block diagram showing an embodiment of the present invention, and FIG. 3 is a diagram showing a binary image. FIG. 4 is a diagram showing the relationship between a synchronization signal of a moving image and a synchronization control signal, and FIG. 5 is a diagram showing the relationship between an input image and a binary image. Figure 1,
Color extraction section (module) in FIG. 2 3. Horizontal and vertical projection units (modules) 5, 6. The means for specifying the position of the colored object in the host computer 8 are necessary means for carrying out the present invention. Note that the same reference numerals indicate the same objects throughout the figures.

以下、第1図を参照しながら、第2図〜第5図によって
、本発明の色物体位置自動測定装置の動作を説明する。
Hereinafter, with reference to FIG. 1 and FIGS. 2 to 5, the operation of the automatic color object position measuring apparatus of the present invention will be explained.

先ず、カラーテレビカメラ(TVカメラ)1から出力さ
れる赤(R)、緑(G)、青(B)信号は、A/D変換
・同期制御信号生成部2のΔ/D変換■21.[相]2
2゜[相]23でアナログ/ディジタル変換される。又
、同期信号(SYNC)からVD分離部■24で、第4
図に示した垂直同期信号(VD)を分離し、FE生成部
[相]25でフレームイネーブル(FE)を、LH生成
部[相]26でラインイネーブル(LH)を生成する。
First, the red (R), green (G), and blue (B) signals output from the color television camera (TV camera) 1 are subjected to Δ/D conversion in the A/D conversion/synchronization control signal generation section 21. [Phase] 2
Analog/digital conversion is performed at 2° [phase] 23. In addition, in the VD separation section 24 from the synchronization signal (SYNC),
The vertical synchronization signal (VD) shown in the figure is separated, and an FE generation section [phase] 25 generates a frame enable (FE), and an LH generation section [phase] 26 generates a line enable (LH).

色抽出部3に対しては、ホスト計算機8からインタフェ
ース部7を介して、アドレス(A)、データ(D)、ラ
イトイネーブル(W)信号によって、抽出すべき色の指
定の設定(具体的には、色抽出の為のテーブル変換部(
b) 32へのパラメータ設定(第6図参照))が行わ
れる。
The color extraction unit 3 receives address (A), data (D), and write enable (W) signals from the host computer 8 via the interface unit 7 to specify settings for specifying the color to be extracted (specifically, is the table conversion part for color extraction (
b) Parameter settings to 32 (see Figure 6) are performed.

その後、フレームイネーブル(FE)、  ラインイネ
ーブル(LE)で示される画像データの有効期間(第4
図のフレーム有効期間、ライン有効期間参照)において
、上記A/D変換021〜023の出力であるディジタ
ルなR,G、 B信号から抽出すべき色の画素だけ、そ
の画素の明度(M)をビデオレートで出力する。
After that, the valid period (fourth period) of image data indicated by frame enable (FE) and line enable (LE)
(Refer to the frame effective period and line effective period in the figure), the brightness (M) of only the pixels of the color to be extracted from the digital R, G, and B signals output from the A/D converters 021 to 023 is changed. Output at video rate.

次の二値化部4においても、ホスト計算機8がらインタ
フェース部7を介して、閾値の設定が行われ、その後、
フレームイネーブル(FE)、 ラインイネーブル(L
E)で示される画像データの有効期間(第4図参照)に
おいて、上記色抽出部3からの明度(M)をビデオレー
トで二値化する。
In the next binarization unit 4, the threshold value is also set from the host computer 8 via the interface unit 7, and then,
Frame enable (FE), line enable (L)
During the validity period of the image data indicated by E) (see FIG. 4), the brightness (M) from the color extraction section 3 is binarized at the video rate.

第5図は入力画像から、例えば、赤色の部分を抽出して
二値化画像を得る迄の過程を示したものである。本図に
示されているように、該二値化処理によって、当該“赤
色゛の領域、或いは、他の色の領域で生じる雑音が除去
される。
FIG. 5 shows the process of extracting, for example, a red portion from an input image to obtain a binarized image. As shown in this figure, the binarization process removes noise occurring in the "red" area or other color areas.

続いて、水平方向投影部(モジュール)5において、上
記二値化部4の出力(B)の水平方向の投影(具体的に
は、ライン上の°1゛の値を持つ画素の個数の算出)を
ビデオレートで算出し、当該モジュールが持つメモリ 
(例えば、第7図のメモリ(1)、(2) 58−L2
参照)に蓄える。
Next, a horizontal projection unit (module) 5 projects the output (B) of the binarization unit 4 in the horizontal direction (specifically, calculates the number of pixels having a value of 1° on the line). ) at the video rate, and calculate the memory that the module has.
(For example, memory (1), (2) 58-L2 in FIG.
(see).

同様にして、垂直方向投影部(モジュール)6において
、上記二値化部4の出力(B)の垂直方向の投影をビデ
オレートで算出し、当該モジュールが持つメモリ (例
えば、第7図のメモリ(1) 、 (2)58−1.2
参照)に蓄える。
Similarly, the vertical projection unit (module) 6 calculates the vertical projection of the output (B) of the binarization unit 4 at the video rate, and calculates the vertical projection of the output (B) of the binarization unit 4 at the video rate, (1), (2)58-1.2
(see).

第3図はこのようにして算出した投影結果を示したもの
である。二値化後の画像に対して、水平方向の投影結果
(U、D)と、垂直方向の投影結果(1,。
FIG. 3 shows the projection results calculated in this manner. For the image after binarization, the horizontal projection results (U, D) and the vertical projection results (1,.

R)が得られる。R) is obtained.

この投影結果から当該物体の位置が特定できる。The position of the object can be identified from this projection result.

即ち、ホスト計算機8は、インタフェース部7を介して
、上記水平方向、及び垂直方向の投影結果を分析して、
例えば、ある閾値以上の個数が2ライン以上続いた場合
に、該投影結果を有効と判定して、そのラインの位置の
最小値(第3図の“U′或いは、L゛)と、最大値(第
3図のD゛或いは、“R’)を求め、それにより、該ホ
スト計算機8が、予め、指定した色も持つ画像の領域(
ごれを、色物体と云う)の位置の特定を行う。
That is, the host computer 8 analyzes the horizontal and vertical projection results via the interface unit 7, and
For example, if two or more lines continue to have a number exceeding a certain threshold, the projection result is determined to be valid, and the minimum value (“U′ or L′ in FIG. 3) and maximum value of the position of the line are determined to be valid. (D' or "R'" in FIG. 3), and thereby the host computer 8 determines the area of the image (D' or "R'" in FIG.
The location of the dirt (called a colored object) is determined.

このような色物体の位置の特定を1フレーム毎に算出さ
れた投影結果を基に行うことにより、該色物体の位置の
1フレーム毎の推移が測定できることになり、結果とし
て該色物体の位置が自動測定できる。
By specifying the position of the color object based on the projection results calculated for each frame, it becomes possible to measure the transition of the position of the color object for each frame, and as a result, the position of the color object can be determined. can be measured automatically.

このように、本発明は、カラーテレビカメラの画像から
得られる赤(R)、緑(G)、青(B)信号をディジタ
ル信号に変換し、該ディジタルなR,G、B信号を入力
して、予め、指定された色を持つ画素を抽出し、該抽出
された画素の明度(M)について、予め、指定された閾
値により二値化を行い、得られた二値化画像に基づいて
、水平、垂直方向の投影を算出し、該算出された投影結
果を基に、該抽出された色を持つ画像(色物体)の位置
を特定することを、1フレーム毎に、ビデオレートで行
うことにより、該色物体の1フレーム毎の位置を測定す
るようにした所に特徴がある。
As described above, the present invention converts red (R), green (G), and blue (B) signals obtained from images of a color television camera into digital signals, and inputs the digital R, G, and B signals. Then, pixels with a specified color are extracted in advance, and the brightness (M) of the extracted pixels is binarized using a specified threshold value, and based on the obtained binarized image. , calculate the projection in the horizontal and vertical directions, and specify the position of the image (color object) having the extracted color based on the calculated projection result for each frame at the video rate. Therefore, the feature is that the position of the colored object is measured for each frame.

〔発明の効果〕〔Effect of the invention〕

以上、詳細に説明したように、本発明の色物体位置自動
測定装置は、カラーテレビカメラから得られる赤(R)
、緑(G)5青(B)信号を処理して、特定の色を持つ
物体の位置をビデオレートで測定する装置において、カ
ラーテレビ画像から得られる赤(R)、緑(G)、青(
B)信号を入力して、予め、ホスト計算機から指定され
ている色の画素を抽出し、その色情報を二値化処理した
後の画像の水平、垂直方向の投影結果を1フレーム毎に
求めて、該1フレーム毎の投影結果データに基づいて、
該指定された色物体の位置を、ホスト計算機で求めるこ
とを繰り返して、該色を持つ物体の位置を自動的に。
As described above in detail, the color object position automatic measuring device of the present invention is capable of measuring red (R) obtained from a color television camera.
, green (G), and blue (B) signals to determine the position of an object with a specific color at video rate. (
B) Input the signal, extract the pixels of the color specified by the host computer in advance, and calculate the horizontal and vertical projection results of the image for each frame after binarizing the color information. Based on the projection result data for each frame,
The host computer repeatedly determines the position of the object with the specified color, and the position of the object with the specified color is automatically determined.

且つビデオレートで測定するようにしたものであるので
、1フレーム毎の当該色物体の位置を特定することで、
該色物体の位置の測定をビデオレートで行うことができ
るので、動物体の自動追尾。
Moreover, since it is designed to measure at the video rate, by specifying the position of the color object in each frame,
The position of the colored object can be measured at video rate, allowing automatic tracking of moving objects.

自動監視が可能となる効果がある。This has the effect of enabling automatic monitoring.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の色物体位置自動測定装置の原理構成図
。 第2図は本発明の一実施例をブロック図で示した図。 第3図は二値化画像に対する投影処理の概念を示した図
。 第4図は動画像の同期信号と同期制御信号との関係を示
した図。 第5図は入力画像と二値画像との関係を示した図。 第6図は従来のビデオレート色抽出装置の構成例=16
− を示した図。 第7図は従来の画像の縦、又は横の投影をビデオレート
で算出する装置の構成例を示した図。 である。 図面においで、 1はカラーテレビカラー(TVカメラ)。 2はA/D変換・同期制御信号生成部。 21〜23はへ/D変換部(A/D変換■、[相]、[
相])(モジュール)。 24はVD分離部、25はFE生成部。 26はLE生成部。 3は色抽出部(モジュール)。 4は二値化部(モジュール)。 5は水平方向投影部(モジュール)。 6は垂直方向投影部(モジュール)。 7はインタフェース部、8はホスト計算機。 R,G、 Bは色情報、    VDは垂直同期信号。 FBはフレームイネーブル。 LEはラインイネ−プル。 Aはアドレス、     Dはデータ。 Wはライトイネーブル。 門は明度、      Bは二値化部の出力。 をそれぞれ示す。 γL釆の高4淑の肘←ヌ(L慢 構収伴Jを牟Cた(イ) の4夛影Σビデオし−l−7゛算よて3装置の茅 7 
FIG. 1 is a diagram showing the principle configuration of the automatic color object position measuring device of the present invention. FIG. 2 is a block diagram showing an embodiment of the present invention. FIG. 3 is a diagram showing the concept of projection processing for a binarized image. FIG. 4 is a diagram showing the relationship between synchronization signals and synchronization control signals for moving images. FIG. 5 is a diagram showing the relationship between an input image and a binary image. Figure 6 shows an example of the configuration of a conventional video rate color extraction device = 16
- Diagram showing. FIG. 7 is a diagram showing an example of the configuration of a conventional device for calculating vertical or horizontal projection of an image at a video rate. It is. In the drawing, 1 is a color TV (TV camera). 2 is an A/D conversion/synchronization control signal generation section. 21 to 23 are A/D conversion units (A/D conversion ■, [phase], [
phase]) (module). 24 is a VD separation section, and 25 is an FE generation section. 26 is an LE generation section. 3 is a color extraction section (module). 4 is a binarization unit (module). 5 is a horizontal projection unit (module). 6 is a vertical projection unit (module). 7 is an interface section, and 8 is a host computer. R, G, B are color information, VD is vertical synchronization signal. FB is frame enable. LE is line enable. A is address, D is data. W is write enable. Gate is the brightness, and B is the output of the binarization section. are shown respectively. γL's high 4's elbow ← Nu (L's arrogant structure J was MU C's (I)'s 4 images Σ video - l-7゛ count 3 equipment's grass 7
to

Claims (1)

【特許請求の範囲】 カラーテレビカメラ(1)から得られる赤(R)、緑(
G)、青(B)信号を処理して、特定の色を持つ物体の
位置をビデオレートで測定する装置であって、該カラー
テレビカメラ(1)からの赤(R)、緑(G)、青(B
)信号からなるビデオ信号をアナログ/ディジタル変換
して逐次出力し、又、該ビデオ信号の同期信号(SYN
C)から画像データの有効期間を示す信号を生成して出
力するA/D変換・同期制御信号生成モジュール(2)
と、 上記A/D変換・同期制御信号生成モジュール(2)の
出力を入力とし、ホスト計算機(8)から指定された色
の画素をビデオレートで抽出する色抽出モジュール(3
)と、 該色抽出モジュール(3)の出力を入力とし、ホスト計
算機(8)から指定された閾値により、該色抽出結果画
像の二値化をビデオレートで行う二値化モジュール(4
)と、 該二値化モジュール(4)の出力を入力とし、水平方向
の投影をビデオレートで行う水平方向投影モジュール(
5)と、 該二値化モジュール(4)の出力を入力とし、垂直方向
の投影をビデオレートで行う垂直方向投影モジュール(
6)と、 上記色抽出モジュール(3)への抽出すべき色の指定、
二値化モジュール(4)への閾値の指定、水平方向投影
モジュール(5)で得られる投影結果から色物体の水平
位置の特定、及び垂直方向投影モジュール(6)で得ら
れる投影結果から該色物体の垂直位置の特定を行うホス
ト計算機(8)と、該ホスト計算機(8)と上記各モジ
ュールとのインタフェース制御を行うインタフェース部
(7)とを有することを特徴とする色物体位置自動測定
装置。
[Claims] Red (R), green (
G), a device for processing the red (R), green (G) signals from the color television camera (1) to determine the position of objects of a particular color at video rate; , blue (B
) signal is analog/digital converted and outputted sequentially, and the synchronization signal (SYN) of the video signal is
A/D conversion/synchronization control signal generation module (2) that generates and outputs a signal indicating the valid period of image data from C)
and a color extraction module (3) which takes the output of the A/D conversion/synchronization control signal generation module (2) as input and extracts pixels of a color designated by the host computer (8) at a video rate.
), and a binarization module (4) which takes the output of the color extraction module (3) as input and binarizes the color extraction result image at video rate using a threshold specified by the host computer (8).
), and a horizontal projection module (4) that receives the output of the binarization module (4) and performs horizontal projection at a video rate.
5), and a vertical projection module (4) that receives the output of the binarization module (4) and performs vertical projection at video rate.
6) and specifying the color to be extracted to the color extraction module (3),
Specify the threshold value to the binarization module (4), specify the horizontal position of the colored object from the projection result obtained by the horizontal projection module (5), and specify the color from the projection result obtained from the vertical projection module (6). An automatic color object position measuring device characterized by having a host computer (8) that specifies the vertical position of an object, and an interface section (7) that performs interface control between the host computer (8) and each of the above modules. .
JP62332153A 1987-12-28 1987-12-28 Automatic measuring instrument for position of color object Pending JPH01173269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62332153A JPH01173269A (en) 1987-12-28 1987-12-28 Automatic measuring instrument for position of color object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62332153A JPH01173269A (en) 1987-12-28 1987-12-28 Automatic measuring instrument for position of color object

Publications (1)

Publication Number Publication Date
JPH01173269A true JPH01173269A (en) 1989-07-07

Family

ID=18251742

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62332153A Pending JPH01173269A (en) 1987-12-28 1987-12-28 Automatic measuring instrument for position of color object

Country Status (1)

Country Link
JP (1) JPH01173269A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0474483A2 (en) * 1990-09-06 1992-03-11 Fujitsu Limited High speed image pickup system
WO2002063564A1 (en) * 2001-02-02 2002-08-15 Monolith Co.,Ltd. Image area tracking method and apparatus
KR20190019904A (en) 2016-06-17 2019-02-27 소니 주식회사 Image processing apparatus, image pickup apparatus, and image processing system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61286986A (en) * 1985-06-13 1986-12-17 Kubota Ltd Fruit recognizing device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61286986A (en) * 1985-06-13 1986-12-17 Kubota Ltd Fruit recognizing device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0474483A2 (en) * 1990-09-06 1992-03-11 Fujitsu Limited High speed image pickup system
EP0474483A3 (en) * 1990-09-06 1993-05-05 Fujitsu Limited High speed image pickup system
WO2002063564A1 (en) * 2001-02-02 2002-08-15 Monolith Co.,Ltd. Image area tracking method and apparatus
KR20190019904A (en) 2016-06-17 2019-02-27 소니 주식회사 Image processing apparatus, image pickup apparatus, and image processing system
US11202046B2 (en) 2016-06-17 2021-12-14 Sony Corporation Image processor, imaging device, and image processing system

Similar Documents

Publication Publication Date Title
JP4489848B2 (en) Method for correcting image steadyness error in television film scanning, method for changing the motion sequence of a predetermined image object in a television image, and apparatus for performing the method
JPH01173269A (en) Automatic measuring instrument for position of color object
JPH07160891A (en) Picture monitoring device
JP2005173879A (en) Fused image display device
JPS60128314A (en) Fruit discriminating device
JPH0962444A (en) Indication information input device
JPH04156212A (en) Automatic inspection of aerial wire
JPH10336506A (en) Image-processing system, system and method for tracking and storage medium
JPS607584A (en) Video contour extractor
JP3163601B2 (en) Image processing apparatus and method
JPH02274083A (en) Dynamic vector detecting device
JPH03135174A (en) Detector for sharpness of picture
JPH02123876A (en) Focus adjustment device
JP2698492B2 (en) Motion vector detection device
JP3518175B2 (en) Motion detection device, motion detection method, and video camera system
KR100278670B1 (en) Inspection method and apparatus for TV screen
JPH0237481A (en) Subject color discriminator
KR100387197B1 (en) Apparatus and method for performing high speed vision inspection
JPH05328188A (en) Picture processing unit
JPH10224775A (en) Video monitoring device
JPS62200408A (en) Correlation tracking device
JPS61224672A (en) Characteristic extracting device
JPH0552767A (en) Image inspecting apparatus
JPH01124064A (en) Image processing system
JP2003110856A (en) Image processing device and method therefor