JP3075934B2 - Motion vector detection circuit and subject tracking camera device using the same - Google Patents

Motion vector detection circuit and subject tracking camera device using the same

Info

Publication number
JP3075934B2
JP3075934B2 JP06256477A JP25647794A JP3075934B2 JP 3075934 B2 JP3075934 B2 JP 3075934B2 JP 06256477 A JP06256477 A JP 06256477A JP 25647794 A JP25647794 A JP 25647794A JP 3075934 B2 JP3075934 B2 JP 3075934B2
Authority
JP
Japan
Prior art keywords
motion vector
color information
information data
color
detection
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
Application number
JP06256477A
Other languages
Japanese (ja)
Other versions
JPH08125910A (en
Inventor
秀樹 松村
昭男 小林
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP06256477A priority Critical patent/JP3075934B2/en
Priority to US08/546,219 priority patent/US6002428A/en
Publication of JPH08125910A publication Critical patent/JPH08125910A/en
Application granted granted Critical
Publication of JP3075934B2 publication Critical patent/JP3075934B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は動きベクトル検出回路
およびそれを用いた被写体追尾カメラ装置に関し、特に
たとえば被写体を自動的に追尾するビデオカメラなどに
用いられる動きベクトル検出回路およびそれを用いた被
写体追尾カメラ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motion vector detecting circuit and a subject tracking camera apparatus using the same, and more particularly, to a motion vector detecting circuit used for a video camera for automatically tracking a subject and a subject using the same. The present invention relates to a tracking camera device.

【0002】[0002]

【従来の技術】画面内を移動する被写体をカメラで撮影
する場合の被写体追尾技術として、色情報を利用する技
術がある。たとえば、指定された検出ブロック内の映像
信号中から色情報を検出し、それを特定の色として登録
することによって目標とする被写体の判別に利用するも
のである。
2. Description of the Related Art As a subject tracking technique when a subject moving in a screen is photographed by a camera, there is a technique using color information. For example, color information is detected from a video signal in a designated detection block, and the detected color information is registered as a specific color to be used for discrimination of a target subject.

【0003】[0003]

【発明が解決しようとする課題】この従来技術では、被
写体を代表する色ではなく、被写体としては微小領域で
ある部分の色が、偶然指定された検出ブロック内に入り
しかもその検出ブロックの大部分の面積を占める場合で
も特定の色として登録してしまう恐れがある。このとき
には、被写体を代表する色の面積が検出ブロックに対し
て小さくなり、すなわち被写体としては微小領域である
部分の色の影響を大きく受けて、登録される特定の色が
設定される。しかし、この特定の色に基づく被写体の追
尾は困難であるという問題点があった。
In this prior art, the color of a part which is a minute area for a subject, not the color representative of the subject, accidentally enters a designated detection block and most of the detection block. May be registered as a specific color even if it occupies an area. At this time, the specific color to be registered is set with the area of the color representative of the subject being smaller than that of the detection block, that is, greatly influenced by the color of the portion that is a minute region as the subject. However, there is a problem that it is difficult to track the subject based on the specific color.

【0004】それゆえに、この発明の主たる目的は、新
規な動きベクトル検出回路を提供することである。ま
た、この発明の他の目的は、精度よく被写体を追尾でき
る、被写体追尾カメラ装置を提供することである。
[0004] Therefore, a main object of the present invention is to provide a novel motion vector detecting circuit. It is another object of the present invention to provide a subject tracking camera device that can accurately track a subject.

【0005】[0005]

【課題を解決するための手段】第1の発明は、動きベク
トル検出領域内に複数の検出ブロックを設定し、検出ブ
ロックの色情報を利用して被写体の動きベクトルを検出
する動きベクトル検出回路であって、特定の検出ブロッ
クの色情報に基づいて第1色情報データを得る第1の演
算手段、所望の検出ブロック毎の色情報に基づいて所望
の検出ブロック毎に第2色情報データを得る第2の演算
手段、および第1色情報データと第2色情報データとに
基づいて第1色情報データを動きベクトル検出のために
登録するか否かを判定する登録判定手段を備える、動き
ベクトル検出回路である。
According to a first aspect of the present invention, there is provided a motion vector detecting circuit for setting a plurality of detection blocks in a motion vector detection area and detecting a motion vector of a subject using color information of the detection blocks. A first calculating unit that obtains first color information data based on color information of a specific detection block, and obtains second color information data for each desired detection block based on color information of each desired detection block A motion vector comprising: a second calculating unit; and a registration determining unit that determines whether to register the first color information data for detecting a motion vector based on the first color information data and the second color information data. It is a detection circuit.

【0006】第2の発明は、上述の動きベクトル検出回
路を用いた、被写体追尾カメラ装置である。
A second invention is a subject tracking camera device using the above-described motion vector detection circuit.

【0007】[0007]

【作用】まず、動きベクトル検出領域内に設定された複
数の検出ブロックのうちの特定の検出ブロックの第1色
情報データが第1の演算手段で計算され、所望の検出ブ
ロック毎の第2色情報データが第2の演算手段で計算さ
れる。これらの第1色情報データおよび第2色情報デー
タを構成する色情報としては、たとえばY,R−Y,B
−Y信号やY,Cr,Cb信号などの異なる3種類の色
要素が含まれる。
First, first color information data of a specific detection block among a plurality of detection blocks set in a motion vector detection area is calculated by a first calculating means, and a second color information data of each desired detection block is calculated. The information data is calculated by the second calculation means. The color information constituting the first color information data and the second color information data includes, for example, Y, RY, B
-Includes three different types of color elements such as a Y signal and Y, Cr, Cb signals.

【0008】そして、登録判定手段に含まれる相関手段
で、第1色情報データと第2色情報データとの相関値が
検出され、比較手段でその相関値と所定の閾値とが比較
される。登録判定手段では、比較結果に基づいて、特定
の検出ブロックの第1色情報データを登録するか否かが
判定される。ここで、登録判定手段としては、第1登録
判定手段および第2登録判定手段を含み、被写体の状態
等に応じて選択手段によって第1登録判定手段または第
2登録判定手段が選択される。
[0008] Then, the correlation means included in the registration judging means detects a correlation value between the first color information data and the second color information data, and the comparison means compares the correlation value with a predetermined threshold value. The registration determination unit determines whether to register the first color information data of the specific detection block based on the comparison result. Here, the registration judging means includes a first registration judging means and a second registration judging means, and the first registration judging means or the second registration judging means is selected by the selecting means according to the state of the subject or the like.

【0009】第1登録判定手段を用いるときには、第2
の演算手段で全ての検出ブロック毎の第2色情報データ
が計算され、第2登録判定手段を用いるときには、全検
出ブロック数より少ない特定の検出ブロックの周囲の各
検出ブロックたとえば左斜め上,右斜め上,左斜め下お
よび右斜め下の各検出ブロックの第2色情報データが第
2の演算手段で計算される。
When using the first registration judging means, the second
Calculating the second color information data for every detection block, and using the second registration judging means, when using the second registration judging means, each detection block around a specific detection block less than the total number of detection blocks, for example, diagonally upper left, right The second color information data of each of the detection blocks at the obliquely upper, lower left, and lower right is calculated by the second calculating means.

【0010】そして、第1登録判定手段では、「相関値
<閾値」を満足する検出ブロックの全検出ブロックに占
める割合がたとえば80%以上であれば、特定の検出ブ
ロックの第1色情報データを登録すると判定される。第
2登録判定手段では、比較される全ての検出ブロックが
「相関値<閾値」を満足すれば、特定の検出ブロックの
第1色情報データを登録すると判定される。
In the first registration determining means, if the ratio of the detection blocks satisfying “correlation value <threshold value” to all the detection blocks is, for example, 80% or more, the first color information data of the specific detection block is determined. It is determined to register. The second registration determination means determines that the first color information data of the specific detection block is to be registered if all the detected blocks to be compared satisfy “correlation value <threshold”.

【0011】このように、登録判定手段によって、特定
の検出ブロックの第1色情報データを登録するか否か、
すなわちその第1色情報データを被写体の代表色として
用いることができるか否かが判定される。したがって、
被写体追尾のための第1色情報データとしては、信頼性
の高い第1色情報データだけが用いられる。第1色情報
データを登録するときは、被写体追尾動作の待機状態に
なり、その後の被写体追尾動作では、登録された第1色
情報データに基づいて被写体が追尾される。一方、第1
色情報データを登録しないときは、再度の登録判定動作
の待機状態となる。
As described above, whether or not to register the first color information data of a specific detection block is determined by the registration determination means.
That is, it is determined whether the first color information data can be used as the representative color of the subject. Therefore,
Only highly reliable first color information data is used as first color information data for subject tracking. When the first color information data is registered, a standby state of the subject tracking operation is set, and in the subsequent subject tracking operation, the subject is tracked based on the registered first color information data. Meanwhile, the first
When the color information data is not registered, the apparatus enters a standby state for the registration determination operation again.

【0012】[0012]

【発明の効果】この発明によれば、被写体追尾のための
第1色情報データを登録するか否かを判定し、登録する
と判定された信頼性の高い第1色情報データだけを被写
体の代表色として被写体の追尾に用いる。すなわち、被
写体の代表色ではなく、被写体としては微小領域である
部分の色が偶然特定の検出ブロック内に入っている場合
にはその第1色情報データを登録しない。したがって、
動きベクトルの検出をより正確に行え、カメラを被写体
に追従させるのが容易になり、より精度よく被写体を追
尾できる。
According to the present invention, it is determined whether or not to register first color information data for tracking a subject, and only the highly reliable first color information data determined to be registered is represented by the representative of the subject. The color is used for tracking the subject. In other words, if the color of a portion that is a minute region as a subject, not the representative color of the subject, is accidentally included in a specific detection block, the first color information data is not registered. Therefore,
The motion vector can be detected more accurately, the camera can easily follow the subject, and the subject can be tracked more accurately.

【0013】この発明の上述の目的,その他の目的,特
徴および利点は、図面を参照して行う以下の実施例の詳
細な説明から一層明らかとなろう。
The above objects, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

【0014】[0014]

【実施例】図1に、動きベクトル検出回路16(図2参
照)を用いて構成した被写体追尾カメラ装置10を示
す。被写体追尾カメラ装置10は、被写体を撮像して映
像信号に変換するカメラ12を含む。カメラ12のビュ
ーファインダ14には、被写体が表示されるほか、代表
色メモリ80に格納された色情報の積算色データを登録
しないことを示す「NG」が表示される。カメラ12か
らの映像信号は動きベクトル検出回路16に与えられ
る。動きベクトル検出回路16は、たとえば図2に示す
ように構成される。
FIG. 1 shows an object tracking camera device 10 constructed using a motion vector detection circuit 16 (see FIG. 2). The subject tracking camera device 10 includes a camera 12 that images a subject and converts the image into a video signal. The subject is displayed on the viewfinder 14 of the camera 12, and “NG” indicating that the integrated color data of the color information stored in the representative color memory 80 is not registered is displayed. The video signal from the camera 12 is provided to a motion vector detection circuit 16. The motion vector detection circuit 16 is configured, for example, as shown in FIG.

【0015】図2に示す動きベクトル検出回路16は、
A/D変換器18を含む。A/D変換器18では、与え
られた映像信号が画素毎のディジタルデータに変換され
る。このディジタルデータは、たとえばY,R−Y,B
−Y信号をディジタル化したデータである。また、映像
信号は、H−SYNC分離回路20および水平アドレス
カウンタ22に与えられる。水平アドレスカウンタ22
では、映像信号に応じて横方向の画素数がカウントさ
れ、H−SYNC分離回路20からの水平同期信号に基
づいて1ライン毎にリセットされる。水平アドレスカウ
ンタ22からの出力は水平デコーダ24に与えられ、水
平デコーダ24からは6種類の水平信号H0ないしH5
が出力される。
The motion vector detecting circuit 16 shown in FIG.
An A / D converter 18 is included. The A / D converter 18 converts the given video signal into digital data for each pixel. This digital data is, for example, Y, RY, B
-Data obtained by digitizing the Y signal. The video signal is supplied to the H-SYNC separation circuit 20 and the horizontal address counter 22. Horizontal address counter 22
In, the number of pixels in the horizontal direction is counted according to the video signal, and is reset for each line based on the horizontal synchronization signal from the H-SYNC separation circuit 20. The output from the horizontal address counter 22 is applied to a horizontal decoder 24, which outputs six types of horizontal signals H0 to H5.
Is output.

【0016】また、映像信号は、V−SYNC分離回路
26および垂直アドレスカウンタ28に与えられる。垂
直アドレスカウンタ28では、映像信号に応じて縦方向
の画素数がカウントされ、1フィールド毎にV−SYN
C分離回路26からの垂直同期信号に基づいてリセット
される。垂直アドレスカウンタ28からの出力は垂直デ
コーダ30に与えられ、垂直デコーダ30からは5種類
の垂直信号V0ないしV4が出力される。
The video signal is applied to a V-SYNC separation circuit 26 and a vertical address counter 28. In the vertical address counter 28, the number of pixels in the vertical direction is counted according to the video signal, and V-SYN
It is reset based on the vertical synchronizing signal from the C separation circuit 26. The output from the vertical address counter 28 is applied to a vertical decoder 30, and the vertical decoder 30 outputs five types of vertical signals V0 to V4.

【0017】水平信号H0ないしH5および垂直信号V
0ないしV4は、たとえば図3(A)ないし(C)に示
すような信号である。図3において、ビューファインダ
14の画面32に表示される動きベクトル検出領域34
は、この実施例ではたとえば25個の検出ブロック36
に分割される。また、動きベクトル検出回路16は、C
PU38を含む。CPU38には、スイッチ40が接続
される。スイッチ40は、被写体追尾モードに設定する
ための追尾モードスイッチ42a,代表色メモリ80に
格納された色情報の積算色データを登録するか否かすな
わち有効とみなして動きベクトルの検出に用いるか否か
を判定するための登録判定スイッチ42bおよび42c
を含む。
The horizontal signals H0 to H5 and the vertical signal V
0 to V4 are signals as shown in FIGS. 3A to 3C, for example. In FIG. 3, a motion vector detection area 34 displayed on a screen 32 of the viewfinder 14 is shown.
In this embodiment, for example, 25 detection blocks 36
Is divided into Further, the motion vector detection circuit 16
PU38. A switch 40 is connected to the CPU 38. The switch 40 includes a tracking mode switch 42 a for setting the subject tracking mode, and whether or not to register the integrated color data of the color information stored in the representative color memory 80, that is, whether or not to register the integrated color data and use it for detecting a motion vector. Registration determination switches 42b and 42c for determining whether
including.

【0018】図4をも参照して、登録判定スイッチ42
bがオンされると、全ての検出ブロック36を用いて色
情報の積算色データを登録するか否かが判定される。こ
のモードを以下、「登録判定モード1」という。一方、
登録判定スイッチ42cがオンされると、特定の検出ブ
ロック36aの左斜め上,右斜め上,左斜め下および右
斜め下の各検出ブロック36bないし36eを用いて色
情報の積算色データを登録するか否かが判定される。こ
のモードを以下、「登録判定モード2」という。これら
の登録判定モードは、初期フィールド、すなわち登録判
定スイッチ42bまたは42cがオンされた後の1フィ
ールド期間でのみ行われる。なお、登録判定スイッチ4
2bがオンされると、CPU38からは初期フィールド
にのみ信号bが出力され、登録判定スイッチ42bがオ
ンされると、初期フィールドにのみ信号cが出力され、
また、追尾モードスイッチ42aがオンされると、被写
体追尾モードになり、被写体追尾動作を行っている限り
信号aが出力される。
Referring also to FIG. 4, registration judgment switch 42
When b is turned on, it is determined whether or not to register the integrated color data of the color information using all the detection blocks 36. This mode is hereinafter referred to as “registration determination mode 1”. on the other hand,
When the registration determination switch 42c is turned on, the integrated color data of the color information is registered using the detection blocks 36b to 36e at the upper left, lower right, lower left, and lower right of the specific detection block 36a. Is determined. This mode is hereinafter referred to as “registration determination mode 2”. These registration determination modes are performed only in the initial field, that is, in one field period after the registration determination switch 42b or 42c is turned on. Note that the registration determination switch 4
When the switch 2b is turned on, the signal b is output from the CPU 38 only in the initial field, and when the registration determination switch 42b is turned on, the signal c is output only in the initial field.
When the tracking mode switch 42a is turned on, the mode is the subject tracking mode, and the signal a is output as long as the subject tracking operation is performed.

【0019】さらに、CPU38にはROM44および
RAM46が接続される。ROM44には、動きベクト
ル検出回路16の動作を制御するためのプログラムが格
納され、RAM46には、代表色メモリ80に格納され
る色情報の積算色データを登録するか否かを示す判定フ
ラグが格納される。そして、映像信号のディジタルデー
タは、水平信号H0ないしH3,垂直信号V0ないしV
3,およびCPU38からの信号a,bおよびcに基づ
いて、ラッチ回路48にラッチされる。
Further, a ROM 44 and a RAM 46 are connected to the CPU 38. A program for controlling the operation of the motion vector detection circuit 16 is stored in the ROM 44, and a determination flag indicating whether or not to register the integrated color data of the color information stored in the representative color memory 80 is stored in the RAM 46. Is stored. The digital data of the video signal includes horizontal signals H0 to H3 and vertical signals V0 to V3.
3, and are latched by a latch circuit 48 based on signals a, b and c from the CPU 38.

【0020】すなわち、登録判定スイッチ42bがオン
されると、初期フィールド期間中CPU38からORゲ
ート50およびANDゲート52へ信号bが出力され
る。この初期フィールドにおいて、水平信号H0および
垂直信号V0が出力されると、ANDゲート54および
56を介してイネーブル信号がラッチ回路48に出力さ
れる。また、初期フィールドにおいて、水平信号H3お
よび垂直信号V3が出力されると、ANDゲート58,
52およびORゲート60を介して、イネーブル信号が
ラッチ回路48に与えられる。
That is, when the registration determination switch 42b is turned on, a signal b is output from the CPU 38 to the OR gate 50 and the AND gate 52 during the initial field period. When the horizontal signal H0 and the vertical signal V0 are output in this initial field, an enable signal is output to the latch circuit 48 via AND gates 54 and 56. When the horizontal signal H3 and the vertical signal V3 are output in the initial field, the AND gate 58,
An enable signal is applied to the latch circuit 48 via the AND gate 60 and the OR gate 60.

【0021】すると、ラッチ回路48では、ANDゲー
ト56からのイネーブル信号に基づいて、図4(A)に
示す特定の検出ブロック36aの各画素のデータがラッ
チされる。また、ラッチ回路48では、ANDゲート5
2およびORゲート60を介して与えられるイネーブル
信号に基づいて、図4(B)に示す25個の各検出ブロ
ック36の各画素のデータがラッチされる。
Then, the latch circuit 48 latches the data of each pixel of the specific detection block 36a shown in FIG. 4A based on the enable signal from the AND gate 56. In the latch circuit 48, the AND gate 5
2 and data of each pixel of each of the 25 detection blocks 36 shown in FIG. 4B are latched on the basis of the enable signal provided through the OR gate 60.

【0022】また、登録判定スイッチ42cがオンされ
ると、初期フィールド期間中CPU38からANDゲー
ト62へ信号cが出力される。このとき、水平信号H1
および垂直信号V1,水平信号H1および垂直信号V
2,水平信号H2および垂直信号V1,ならびに水平信
号H2および垂直信号V2が出力されると、それぞれA
NDゲート64ないし70,ORゲート72,ANDゲ
ート62およびORゲート60を介して、ラッチ回路4
8にイネーブル信号が出力される。すると、ラッチ回路
48では、図4(C)に示す検出ブロック36bないし
36eの各画素のデータがラッチされる。
When the registration determination switch 42c is turned on, a signal c is output from the CPU 38 to the AND gate 62 during the initial field period. At this time, the horizontal signal H1
And vertical signal V1, horizontal signal H1 and vertical signal V
2, when the horizontal signal H2 and the vertical signal V1 and the horizontal signal H2 and the vertical signal V2 are output, A
Via ND gates 64 to 70, OR gate 72, AND gate 62 and OR gate 60, latch circuit 4
8, an enable signal is output. Then, the latch circuit 48 latches the data of each pixel of the detection blocks 36b to 36e shown in FIG.

【0023】図4(A)と図4(C)とをみてわかるよ
うに、検出ブロック36bないし36eは、それぞれ検
出ブロック36aの左斜め上,右斜め上,左斜め下,お
よび右斜め下の検出ブロックである。なお、追尾モード
スイッチ42aがオンされると、CPU38からAND
ゲート74へ信号aが出力される。このとき、水平信号
H3および垂直信号V3が出力されると、ANDゲート
74およびORゲート60を介してラッチ回路48にイ
ネーブル信号が与えられる。すると、ラッチ回路48で
は、このイネーブル信号に基づいて、図4(B)に示す
25個の各検出ブロック36の各画素のデータがラッチ
される。
As can be seen from FIGS. 4 (A) and 4 (C), the detection blocks 36b to 36e are located at the upper left, lower right, lower left, and lower right of the detection block 36a, respectively. It is a detection block. When the tracking mode switch 42a is turned on, an AND operation is performed by the CPU 38.
Signal a is output to gate 74. At this time, when the horizontal signal H3 and the vertical signal V3 are output, an enable signal is supplied to the latch circuit 48 via the AND gate 74 and the OR gate 60. Then, the latch circuit 48 latches the data of each pixel of each of the 25 detection blocks 36 shown in FIG. 4B based on the enable signal.

【0024】そして、ラッチ回路48からは、イネーブ
ル信号に応じた検出ブロック(図4(A)ないし図4
(C)のいずれか)のデータが検出ブロック積算回路7
6に与えられる。検出ブロック積算回路76の動作を、
図5を参照して説明する。図5に示す検出ブロック36
には、たとえば8×8=64個の画素が含まれる。各画
素の色情報を構成する3つの色要素のそれぞれの値を、
図5に示すようにyij,(r−y)ij,(b−y)ij
する。
Then, a detection block (FIG. 4A to FIG. 4A) corresponding to the enable signal is output from the latch circuit 48.
(C) is the detection block integrating circuit 7
6 given. The operation of the detection block integrating circuit 76 is
This will be described with reference to FIG. Detection block 36 shown in FIG.
Includes, for example, 8 × 8 = 64 pixels. The value of each of the three color elements constituting the color information of each pixel is
As shown in FIG. 5, let y ij , (ry) ij , and (by) ij .

【0025】すると、特定の検出ブロック36aに含ま
れる画素の色情報の積算色データ(色情報データ)は数
1によって求められる。
Then, the integrated color data (color information data) of the color information of the pixels included in the specific detection block 36a is obtained by Expression 1.

【0026】[0026]

【数1】 (Equation 1)

【0027】この積算色データは、登録判定スイッチ4
2bまたは42cがオンされたとき、初期フィールドに
おいて得られ、そしてセレクタ78を介して代表色メモ
リ80に格納される。セレクタ78は、信号bおよび信
号cをORゲート81に与えて得られる制御信号によっ
て制御され、信号bおよび信号cのいずれか一方が出力
されているときには、検出ブロック積算回路76からの
積算色データがセレクタ78を介して代表色メモリ80
に与えられる。
The integrated color data is stored in the registration judgment switch 4
When 2b or 42c is turned on, it is obtained in the initial field and stored in the representative color memory 80 via the selector 78. The selector 78 is controlled by a control signal obtained by giving the signal b and the signal c to the OR gate 81. When either the signal b or the signal c is output, the integrated color data from the detection block integrating circuit 76 is output. Is supplied to the representative color memory 80 via the selector 78.
Given to.

【0028】また、登録判定スイッチ42bがオンされ
たとき、同じく初期フィールドでは、ANDゲート52
およびORゲート60を介してラッチ回路48に与えら
れるイネーブル信号に基づいて、ラッチ回路48から図
4(B)に示す25個の全ての検出ブロック36の画素
のデータが検出ブロック積算回路76に与えられる。検
出ブロック積算回路76では、25個の検出ブロック3
6のそれぞれについて、色情報が積算され、積算色デー
タが得られる。各検出ブロック36毎に、画素の色情報
を積算した積算色データは数2によって求められる。
When the registration determination switch 42b is turned on, the AND gate 52
Based on the enable signal applied to the latch circuit 48 via the OR gate 60, the data of the pixels of all 25 detection blocks 36 shown in FIG. Can be In the detection block integrating circuit 76, 25 detection blocks 3
For each of No. 6, the color information is integrated, and integrated color data is obtained. For each detection block 36, integrated color data obtained by integrating the color information of the pixels is obtained by Expression 2.

【0029】[0029]

【数2】 (Equation 2)

【0030】検出ブロック36の個数分(この実施例で
は25個分)の積算色データは、積算色メモリ82に格
納される。一方、登録判定スイッチ42cがオンされた
とき、同じく初期フィールドでは、ANDゲート62お
よびORゲート60を介して与えられるイネーブル信号
に基づいて、ラッチ回路48から図4(C)に示す4個
の検出ブロック36bないし36eの各画素のデータが
検出ブロック積算回路76に与えられる。検出ブロック
積算回路76では、数2によって積算色データが求めら
れた後、積算色メモリ82に、各検出ブロック36bな
いし36eの積算色データが格納される。
The integrated color data corresponding to the number of the detection blocks 36 (25 in this embodiment) is stored in the integrated color memory 82. On the other hand, when the registration determination switch 42c is turned on, in the same initial field, the four detection signals shown in FIG. 4C are output from the latch circuit 48 based on the enable signal given through the AND gate 62 and the OR gate 60. The data of each pixel of the blocks 36b to 36e is supplied to the detection block integrating circuit 76. In the detection block integrating circuit 76, after the integrated color data is obtained by the equation 2, the integrated color data of each of the detection blocks 36 b to 36 e is stored in the integrated color memory 82.

【0031】さらに、追尾モードスイッチ42aがオン
され、信号aが出力されたときには、ANDゲート74
およびORゲート60を介して与えられるイネーブル信
号に基づいて、ラッチ回路48から図4(B)に示す2
5個の検出ブロック36の各画素のデータが検出ブロッ
ク積算回路76に与えられ、検出ブロック積算回路76
では、数2によって積算色データが得られ、その積算色
データは積算色メモリ82に格納される。
When the tracking mode switch 42a is turned on and the signal a is output, the AND gate 74
And an enable signal provided via OR gate 60, and latch circuit 48 outputs the signal shown in FIG.
The data of each pixel of the five detection blocks 36 is given to the detection block integration circuit 76, and the detection block integration circuit 76
In this case, integrated color data is obtained by Equation 2, and the integrated color data is stored in the integrated color memory 82.

【0032】なお、検出ブロック積算回路76は、たと
えばラッチ回路48から与えられる画素の個数をカウン
トするカウンタAおよびB(図示せず)を含む。そし
て、この実施例では、カウンタAが8×8=64をカウ
ントすれば検出ブロック積算回路76から代表色メモリ
80へ積算色データが出力される。同様に、「登録判定
モード1」および「被写体追尾モード」のときにはカウ
ンタBが8×8×25=1600をカウントすれば、
「登録判定モード2」のときにはカウンタBが8×8×
4=256をカウントすれば、それぞれ検出ブロック積
算回路76から積算色メモリ82へ積算色データが出力
される。
The detection block integrating circuit 76 includes, for example, counters A and B (not shown) for counting the number of pixels supplied from the latch circuit 48. Then, in this embodiment, if the counter A counts 8 × 8 = 64, the integrated color data is output from the detection block integration circuit 76 to the representative color memory 80. Similarly, when the counter B counts 8 × 8 × 25 = 1600 in “registration determination mode 1” and “subject tracking mode”,
In the “registration determination mode 2”, the counter B is 8 × 8 ×
When 4 = 256 is counted, the integrated color data is output from the detection block integrating circuit 76 to the integrated color memory 82, respectively.

【0033】そして、ラッチ回路84に接続されるAN
Dゲート86に、図3(B)に示すような水平信号H4
および垂直信号V4が与えられると、代表色メモリ80
内の積算色データがラッチされ、相関器88に与えられ
る。また、ラッチ回路90に接続されるANDゲート9
2に、図3(C)に示すような水平信号H5および垂直
信号V4が与えられると、積算色メモリ82内の積算色
データがラッチされ、相関器88に与えられる。水平信
号H5は、検出ブロック数分出力される。したがって、
水平信号H5は、「登録判定モード1」のときには25
個出力され、「登録判定モード2」のときには4個出力
される。
The AN connected to the latch circuit 84
A horizontal signal H4 as shown in FIG.
And the vertical signal V4, the representative color memory 80
Is integrated and supplied to the correlator 88. The AND gate 9 connected to the latch circuit 90
When the horizontal signal H5 and the vertical signal V4 as shown in FIG. 3 (C) are applied to 2, the integrated color data in the integrated color memory 82 is latched and applied to the correlator 88. The horizontal signal H5 is output for the number of detected blocks. Therefore,
The horizontal signal H5 is 25 when in the “registration determination mode 1”.
Are output, and four are output in the “registration determination mode 2”.

【0034】相関器88では、ラッチ回路84からの積
算色データとラッチ回路90からの積算色データとにつ
いて演算が行われる。すなわち、数3によって、それぞ
れの色要素の積算色データについて差分絶対値が計算さ
れ、さらにその和Dxyが計算される。
The correlator 88 performs an operation on the integrated color data from the latch circuit 84 and the integrated color data from the latch circuit 90. That is, the absolute value of the difference is calculated for the integrated color data of each color element according to Equation 3, and the sum D xy is calculated.

【0035】[0035]

【数3】Dxy=|Yxy−Y0|+|(R−Y)xy−(R
−Y)0|+|(B−Y)xy−(B−Y)0| 各検出ブロック毎にこの演算が行われ、Dxyすなわち相
関値が得られる。そして、セレクタ94は、セレクタ7
8と同様、ORゲート81からの制御信号によって制御
され、信号bまたは信号cが出力されているときには相
関器88からの相関値が閾値比較回路96に与えられ、
それ以外の場合には相関値が動きベクトル発生回路98
に与えられる。
Equation 3] D xy = | Y xy -Y0 | + | (R-Y) xy - (R
−Y) 0 | + | (B−Y) xy− (B−Y) 0 | This operation is performed for each detection block, and Dxy, that is, a correlation value is obtained. Then, the selector 94 selects the selector 7
8, the signal is controlled by the control signal from the OR gate 81, and when the signal b or the signal c is being output, the correlation value from the correlator 88 is given to the threshold comparing circuit 96.
In other cases, the correlation value is calculated by the motion vector generation circuit 98.
Given to.

【0036】閾値比較回路96では、各検出ブロック毎
に得られた相関値が所定の閾値と比較される。「登録判
定モード1」では、25個の相関値がそれぞれ所定の閾
値と比較され、その比較結果がCPU38に与えられ
る。「登録判定モード2」では、4個の相関値がそれぞ
れ所定の閾値と比較され、その比較結果がCPU38に
与えられる。
In the threshold comparison circuit 96, the correlation value obtained for each detection block is compared with a predetermined threshold. In the “registration determination mode 1”, the 25 correlation values are respectively compared with predetermined threshold values, and the comparison result is provided to the CPU. In the “registration determination mode 2”, the four correlation values are respectively compared with predetermined threshold values, and the comparison result is provided to the CPU.

【0037】CPU38では、「登録判定モード1」の
ときには、相関値<閾値を満足する検出ブロックの全検
出ブロックに占める割合がたとえば80%以上あれば、
「登録判定モード2」のときには、たとえば全て(4
個)の検出ブロック36bないし36eにおいて相関値
<閾値を満たしていれば、それぞれ、代表色メモリ80
に格納されている積算色データを登録すると判定され
る。すなわち、その積算色データを有効と判定し被写体
の代表色として用いる。このとき、RAM46に格納さ
れる判定フラグは「1」にされる。それ以外の場合に
は、代表色メモリ80に格納される積算色データは被写
体の代表色として用いることができず、RAM46の判
定フラグは「0」にされる。判定フラグが「1」のとき
には被写体追尾動作の待機状態となり、判定フラグが
「0」のときには再度の登録判定動作の待機状態とな
る。
In the "registration determination mode 1", if the ratio of the detection block satisfying the correlation value <threshold to all the detection blocks is 80% or more, for example,
In the “registration determination mode 2”, for example, all (4
If the correlation value <threshold value is satisfied in the detection blocks 36b to 36e, the representative color memory 80
Is determined to register the integrated color data stored in the. That is, the integrated color data is determined to be valid and used as the representative color of the subject. At this time, the determination flag stored in the RAM 46 is set to “1”. In other cases, the integrated color data stored in the representative color memory 80 cannot be used as the representative color of the subject, and the determination flag in the RAM 46 is set to “0”. When the determination flag is “1”, the standby state of the subject tracking operation is set. When the determination flag is “0”, the standby state of the registration determination operation is performed again.

【0038】そして、判定フラグが「1」のときには、
その後、追尾モードスイッチ42aがオンされると、通
常の被写体追尾動作に入る。被写体追尾動作において、
相関器88では、代表色メモリ80に格納された積算色
データすなわち被写体の代表色と、その後のフィールド
において積算色メモリ82に格納された積算色データと
が演算され、相関値が求められる。この相関値は、セレ
クタ94を介して動きベクトル発生回路98に与えられ
る。動きベクトル発生回路98では、それぞれの相関値
すなわちDxyが比較されて、Dxyが最小の値となる位置
に検出ブロック36aの中心が移動したと判断され、被
写体の移動量と方向とを示す動きベクトルが得られる
(図6(A)および(B)参照)。次のフィールドで
は、図6(C)に示すように、動きベクトル分だけ動き
ベクトル検出領域34が移動される。
When the judgment flag is "1",
Thereafter, when the tracking mode switch 42a is turned on, a normal subject tracking operation starts. In the subject tracking operation,
In the correlator 88, the integrated color data stored in the representative color memory 80, that is, the representative color of the subject, and the integrated color data stored in the integrated color memory 82 in the subsequent fields are calculated, and a correlation value is obtained. This correlation value is provided to the motion vector generation circuit 98 via the selector 94. The motion vector generation circuit 98, and the respective correlation value, that D xy is compared, the center of the detection block 36a at a position D xy is the minimum value is determined to be moving, showing the movement and direction of the object A motion vector is obtained (see FIGS. 6A and 6B). In the next field, as shown in FIG. 6C, the motion vector detection area 34 is moved by the amount of the motion vector.

【0039】図1に戻って、動きベクトル検出回路16
からは動きベクトルが雲台制御回路100に与えられ
る。雲台制御回路100は、与えられた動きベクトルに
基づいて駆動装置102を駆動する。そして、駆動装置
102によって雲台104の動きが水平方向,垂直方向
等に制御され、それに伴ってカメラ12の追尾動作が制
御される。すなわち、動きベクトルが零になる(図6
(C)に示す破線部分34aが動きベクトル検出領域3
4に重なる)ようにカメラ12が制御される。
Returning to FIG. 1, the motion vector detecting circuit 16
The motion vector is supplied to the pan head control circuit 100 from. The camera platform control circuit 100 drives the driving device 102 based on the given motion vector. Then, the movement of the camera platform 104 is controlled in the horizontal direction, the vertical direction, and the like by the driving device 102, and the tracking operation of the camera 12 is controlled accordingly. That is, the motion vector becomes zero (FIG. 6
The broken line part 34a shown in FIG.
4 is overlapped).

【0040】次いで、図7ないし図9を参照して、この
実施例の被写体追尾カメラ装置10の主要な動作を説明
する。図7に示すステップS1において、登録判定スイ
ッチ42bがオンされたか否かが判断される。“YE
S”であれば、以下の「登録判定モード1」の処理が行
われる。
Next, with reference to FIGS. 7 to 9, the main operation of the subject tracking camera device 10 of this embodiment will be described. In step S1 shown in FIG. 7, it is determined whether the registration determination switch 42b has been turned on. “YE
If S ", the following" registration determination mode 1 "processing is performed.

【0041】すなわち、ステップS3において、映像信
号が入力され、ステップS5において垂直信号V0が出
力されかつステップS7において水平信号H0が出力さ
れると、ステップS9に進む。ステップS9において、
検出ブロック積算回路76で検出ブロック36aの色情
報の積算色データが計算され、ステップS11におい
て、検出ブロック積算回路76内のカウンタAが所定の
カウント値になったか否かが判断される。この実施例で
は、カウント値が64になったか否かが判断される。
“YES”であればステップS13に進み、色情報の積
算色データが代表色メモリ80に格納され、ステップS
15に進む。ステップS5,S7およびS11が“N
O”のときは、それぞれステップS15に進む。
That is, when a video signal is input in step S3, a vertical signal V0 is output in step S5, and a horizontal signal H0 is output in step S7, the process proceeds to step S9. In step S9,
The detection block integration circuit 76 calculates integrated color data of the color information of the detection block 36a, and in step S11, it is determined whether or not the counter A in the detection block integration circuit 76 has reached a predetermined count value. In this embodiment, it is determined whether or not the count value has reached 64.
If "YES", the flow advances to step S13 to store the accumulated color data of the color information in the representative color memory 80.
Go to 15. Steps S5, S7 and S11 are "N
If O ", the process proceeds to step S15.

【0042】ステップS15において垂直信号V3が出
力されかつステップS17において水平信号H3が出力
されると、ステップS19に進む。ステップS19にお
いて、検出ブロック積算回路76で25個の各検出ブロ
ック36の積算色データが計算され、ステップS21に
進む。ステップS21において、検出ブロック積算回路
76内のカウンタBが所定のカウント値になったか否か
が判断される。この実施例では、64×25=1600
になったか否かが判断される。“YES”であれば図8
に示すステップS23において、積算色メモリ82に積
算色データが格納され、ステップS25に進む。ステッ
プS15,S17およびS21が“NO”のときはステ
ップS25に進む。
When the vertical signal V3 is output in step S15 and the horizontal signal H3 is output in step S17, the process proceeds to step S19. In step S19, the integrated color data of each of the 25 detection blocks 36 is calculated by the detection block integration circuit 76, and the process proceeds to step S21. In step S21, it is determined whether or not the counter B in the detection block integrating circuit 76 has reached a predetermined count value. In this embodiment, 64 × 25 = 1600
Is determined. If “YES”, FIG. 8
In step S23 shown in (2), the accumulated color data is stored in the accumulated color memory 82, and the process proceeds to step S25. When steps S15, S17 and S21 are "NO", the operation proceeds to step S25.

【0043】ステップS25において垂直信号V4が出
力されかつステップS27aにおいて水平信号H4が出
力されると、ステップS29aにおいて、代表色メモリ
80に格納された積算色データがラッチ回路84を介し
て相関器88に与えられ、ステップS31に進む。ま
た、ステップS25において垂直信号V4が出力されか
つステップS27bにおいて水平信号H5が出力される
と、ステップS29bにおいて、積算色メモリ82に格
納された積算色データがラッチ回路90を介して相関器
88に与えられ、ステップS31に進む。なお、ステッ
プS25,S27aおよびS27bが“NO”であれ
ば、ステップS3に戻る。
When the vertical signal V4 is output in step S25 and the horizontal signal H4 is output in step S27a, the integrated color data stored in the representative color memory 80 is passed through the latch circuit 84 to the correlator 88 in step S29a. And the process proceeds to step S31. When the vertical signal V4 is output in step S25 and the horizontal signal H5 is output in step S27b, the integrated color data stored in the integrated color memory 82 is sent to the correlator 88 via the latch circuit 90 in step S29b. And the process proceeds to step S31. If steps S25, S27a and S27b are "NO", the process returns to step S3.

【0044】ステップS31において、相関器88で相
関演算が行われる。この実施例では、25個の全ての検
出ブロック36について相関値が計算される。次いで、
ステップS33において、閾値比較回路96で25個の
相関値について相関値<閾値か否かが判断される。その
結果がCPU38に与えられ、この条件をたとえば80
%以上の検出ブロックが満たしていれば、ステップS3
5aに進む。ステップS35aにおいて、代表色メモリ
80に格納されている積算色データは被写体の代表色と
して登録される。すなわち、被写体追尾カメラ装置10
は、その後の被写体追尾動作の待機状態にされ、終了す
る。
In step S31, a correlation operation is performed by the correlator 88. In this embodiment, correlation values are calculated for all 25 detection blocks 36. Then
In step S33, the threshold comparing circuit 96 determines whether or not the correlation value <the threshold value for the 25 correlation values. The result is given to the CPU 38, and this condition is
If not less than% of the detection blocks are satisfied, step S3
Proceed to 5a. In step S35a, the integrated color data stored in the representative color memory 80 is registered as the representative color of the subject. That is, the subject tracking camera device 10
Is in a standby state for the subsequent subject tracking operation, and ends.

【0045】一方、ステップS33において、相関値<
閾値の条件を満たす検出ブロック36の割合がたとえば
80%未満であれば、ステップS35bに進む。ステッ
プS35bにおいて、代表色メモリ80に格納されてい
る積算色データは被写体の代表色とはならず登録されな
い。すなわち、被写体追尾カメラ装置10は、登録判定
動作の待機状態になり、その後の登録判定モードにおい
て、代表色メモリ80の積算色データが更新され、その
積算色データを登録するか否かが再び判定される。そし
て終了する。
On the other hand, in step S33, the correlation value <
If the ratio of the detection blocks 36 satisfying the threshold condition is less than, for example, 80%, the process proceeds to step S35b. In step S35b, the integrated color data stored in the representative color memory 80 does not become the representative color of the subject and is not registered. That is, the subject tracking camera device 10 enters a standby state of the registration determination operation, and in the subsequent registration determination mode, the integrated color data of the representative color memory 80 is updated, and it is determined again whether or not to register the integrated color data. Is done. And it ends.

【0046】図7に戻って、ステップS1が“NO”で
あればステップS37において、登録判定スイッチ42
cがオンされたか否かが判断される。“NO”であれば
ステップS1に戻り、“YES”であれば、以下の「登
録判定モード2」の処理が行われる。すなわち、ステッ
プS39において、映像信号が入力され、ステップS4
1において垂直信号V0が出力されかつステップS43
において水平信号H0が出力されると、ステップS45
に進む。ステップS45において、検出ブロック積算回
路76で検出ブロック36aの色情報の積算色データが
計算され、ステップS47において、カウンタAが所定
のカウント値になったか否かが判断される。この実施例
では、64になったか否かが判断される。“YES”で
あればステップS49において、代表色メモリ80に積
算色データが格納され、ステップS51に進む。ステッ
プS41,S43およびS47が“NO”のときはそれ
ぞれステップS51に進む。
Returning to FIG. 7, if step S1 is "NO", in step S37, the registration judgment switch 42
It is determined whether or not c is turned on. If "NO", the process returns to the step S1, and if "YES", the following "registration determination mode 2" processing is performed. That is, in step S39, a video signal is input, and in step S4
1, the vertical signal V0 is output and the step S43 is performed.
Is output in step S45.
Proceed to. In step S45, the integrated color data of the color information of the detection block 36a is calculated by the detection block integration circuit 76, and in step S47, it is determined whether or not the counter A has reached a predetermined count value. In this embodiment, it is determined whether or not the number has reached 64. If "YES", in step S49, the accumulated color data is stored in the representative color memory 80, and the process proceeds to step S51. When steps S41, S43, and S47 are "NO", the process proceeds to step S51.

【0047】ステップS51において垂直信号V1が出
力されかつステップS53において水平信号H1が出力
されると、ステップS55に進む。ステップS55にお
いて、検出ブロック積算回路76で図4(C)に示す検
出ブロック36bの積算色データが計算され、ステップ
S57に進む。ステップS53が“NO”のときはステ
ップS57に進む。
When the vertical signal V1 is output in step S51 and the horizontal signal H1 is output in step S53, the process proceeds to step S55. In step S55, the detection block integration circuit 76 calculates the integrated color data of the detection block 36b shown in FIG. 4C, and proceeds to step S57. When step S53 is "NO", the process proceeds to step S57.

【0048】ステップS57において水平信号H2が出
力されると、図8に示すステップS59において、図4
(C)に示す検出ブロック36cの積算色データが計算
され、ステップS61に進む。ステップS51およびS
57が“NO”のときはステップS61に進む。ステッ
プS61において垂直信号V2が出力されかつステップ
S63において水平信号H1が出力されると、ステップ
S65において図4(C)に示す検出ブロック36dの
積算色データが計算され、ステップS67に進む。ステ
ップS63が“NO”ときはステップS67に進む。
When the horizontal signal H2 is output in step S57, in step S59 shown in FIG.
The integrated color data of the detection block 36c shown in (C) is calculated, and the process proceeds to step S61. Steps S51 and S
When 57 is "NO", the flow proceeds to step S61. When the vertical signal V2 is output in step S61 and the horizontal signal H1 is output in step S63, the integrated color data of the detection block 36d shown in FIG. 4C is calculated in step S65, and the process proceeds to step S67. When step S63 is "NO", the process proceeds to step S67.

【0049】ステップS67において水平信号H2が出
力されると、ステップS69において、図4(C)に示
す検出ブロック36eの積算色データが計算され、ステ
ップS71に進む。ステップS71において、カウンタ
Bが所定のカウント値になったか否かが判断される。こ
の実施例では、64×4=256になったか否かが判断
される。“YES”であればステップS73において、
積算色メモリ82に積算色データが格納され、ステップ
S75に進む。ステップS61,S67およびS71が
“NO”ときはそれぞれステップS75に進む。
When the horizontal signal H2 is output in step S67, the integrated color data of the detection block 36e shown in FIG. 4C is calculated in step S69, and the flow advances to step S71. In step S71, it is determined whether or not the counter B has reached a predetermined count value. In this embodiment, it is determined whether or not 64 × 4 = 256. If “YES”, in step S73,
The accumulated color data is stored in the accumulated color memory 82, and the process proceeds to step S75. When steps S61, S67, and S71 are "NO", the process proceeds to step S75.

【0050】ステップS75において垂直信号V4が出
力されかつ図9に示すステップS77aにおいて水平信
号H4が出力されると、ステップS79aに進む。ステ
ップS79aにおいて、代表色メモリ80に格納された
積算色データがラッチ回路84を介して相関器88に出
力され、ステップS81に進む。また、ステップS75
において垂直信号V4が出力されかつステップS77b
において水平信号H5が出力されると、ステップS79
bに進む。ステップS79bにおいて、積算色メモリ8
2に格納された積算色データがラッチ回路90を介して
相関器88に出力され、ステップS81に進む。なお、
ステップS75,S77aおよびS77bが“NO”で
あれば、それぞれステップS39に戻る。
When the vertical signal V4 is output in step S75 and the horizontal signal H4 is output in step S77a shown in FIG. 9, the flow advances to step S79a. In step S79a, the integrated color data stored in the representative color memory 80 is output to the correlator 88 via the latch circuit 84, and the flow advances to step S81. Step S75
, A vertical signal V4 is output and step S77b
When the horizontal signal H5 is output in step S79,
Proceed to b. In step S79b, the integrated color memory 8
2 is output to the correlator 88 via the latch circuit 90, and the process proceeds to step S81. In addition,
If steps S75, S77a and S77b are "NO", the process returns to step S39.

【0051】ステップS81において、相関器88で相
関演算が行われる。この実施例では、検出ブロック36
bないし36eの4個の検出ブロックについて相関値が
得られ、ステップS83に進む。ステップS83におい
て、閾値比較回路96で4個の相関値がそれぞれ所定の
閾値と比較される。その比較結果がCPU38に与えら
れ、たとえば4個の相関値が全て相関値<閾値の条件を
満たしていればステップS85aに進む。ステップS8
5aにおいて、ステップS35aと同様、代表色メモリ
80に格納されている積算色データが被写体の代表色と
して登録され、終了する。一方、ステップS83におい
て、たとえば相関値<閾値の条件を満たしてしない相関
値が1つでもあれば、ステップS85bに進み、ステッ
プS35bと同様、その代表色メモリ80に格納された
積算色データは被写体の代表色とはならず登録されず、
終了する。
In step S81, a correlation operation is performed by the correlator 88. In this embodiment, the detection block 36
Correlation values are obtained for the four detection blocks b to 36e, and the process proceeds to step S83. In step S83, the threshold value comparison circuit 96 compares each of the four correlation values with a predetermined threshold value. The comparison result is provided to the CPU 38. For example, if all four correlation values satisfy the condition of correlation value <threshold, the process proceeds to step S85a. Step S8
In step 5a, similarly to step S35a, the integrated color data stored in the representative color memory 80 is registered as the representative color of the subject, and the process ends. On the other hand, in step S83, for example, if there is at least one correlation value that does not satisfy the condition of correlation value <threshold, the process proceeds to step S85b, and as in step S35b, the integrated color data stored in the representative color memory 80 includes Is not registered as a representative color of
finish.

【0052】このようにこの実施例によれば、登録判定
モードとして「登録判定モード1」または「登録判定モ
ード2」を選択できるので、被写体の状態等を考慮した
登録判定が可能となる。なお、この実施例では、登録判
定モードを切り換えるようにしたが、「登録判定モード
1」および「登録判定モード2」のいずれか一方のみを
採用してもよい。「登録判定モード2」を採用すること
によって、回路規模を小さくしかつ信頼性の高い代表色
を設定することができる。
As described above, according to this embodiment, "registration determination mode 1" or "registration determination mode 2" can be selected as the registration determination mode, so that registration determination can be made in consideration of the state of the subject and the like. In this embodiment, the registration determination mode is switched, but only one of “registration determination mode 1” and “registration determination mode 2” may be employed. By employing the “registration determination mode 2”, it is possible to reduce the circuit scale and set a highly reliable representative color.

【0053】なお、上述の実施例の「登録判定モード
2」では、特定の検出ブロック36aに斜めに隣接する
検出ブロック36bないし36eを用いて登録判定した
が、これに限定されず、特定の検出ブロック36aの周
囲の任意の検出ブロックを用いて登録判定できる。ま
た、上述の実施例では、色情報として、Y,R−Y,B
−Y信号の3つの色要素を用いた。これはビデオ信号な
どを処理する場合に有効である。それ以外に、原色系C
CDなどの信号を処理する場合には、R,G,B信号の
3つの色要素を用い、補色系でモザイクフィルタを配し
たCCDなどを処理する場合に、Y,Cr(=R−2
G),Cb(=B−2G)信号の3つの色要素を用いる
のが好ましい。
In the "registration determination mode 2" of the above-described embodiment, the registration is determined using the detection blocks 36b to 36e obliquely adjacent to the specific detection block 36a. However, the present invention is not limited to this. The registration can be determined using an arbitrary detection block around the block 36a. In the above embodiment, Y, RY, B
Three color components of the -Y signal were used. This is effective when processing a video signal or the like. In addition, primary color system C
When processing a signal such as a CD, three color elements of R, G, and B signals are used, and when processing a CCD or the like having a mosaic filter arranged in a complementary color system, Y, Cr (= R−2)
It is preferable to use three color elements of G) and Cb (= B-2G) signals.

【0054】さらに、R,G,B信号をそれぞれY信号
で割った、R/Y,G/Y,B/Y信号の3つの色要素
を用いてもよい。このようにY信号で割って正規化する
ことによって、照明の差などによる明度の影響を取り除
き、色相と彩度とが同じであれば同色とみなすようにす
ることができる。なお、閾値は、要求される相関の程度
や色情報を構成する色要素の種類に応じて、任意に設定
される。
Further, three color elements of R / Y, G / Y, and B / Y signals obtained by dividing the R, G, and B signals by the Y signal may be used. In this manner, by normalizing by dividing by the Y signal, it is possible to remove the influence of lightness due to a difference in illumination or the like, and if the hue and the saturation are the same, they can be regarded as the same color. The threshold value is set arbitrarily according to the required degree of correlation and the type of the color element constituting the color information.

【0055】また、上述の実施例では、動きベクトル検
出回路16を被写体追尾カメラ装置10に適用した場合
について述べたが、この発明の動きベクトル検出回路
は、手振れ補正装置を有するビデオカメラにも適用でき
ることはいうまでもない。
In the above embodiment, the case where the motion vector detection circuit 16 is applied to the subject tracking camera device 10 has been described. However, the motion vector detection circuit of the present invention is also applied to a video camera having a camera shake correction device. It goes without saying that you can do it.

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

【図1】この発明の一実施例の被写体追尾カメラ装置の
一例を示すブロック図である。
FIG. 1 is a block diagram illustrating an example of a subject tracking camera device according to an embodiment of the present invention.

【図2】動きベクトル検出回路の一例を示すブロック図
である。
FIG. 2 is a block diagram illustrating an example of a motion vector detection circuit.

【図3】(A)はラッチ回路48のイネーブル信号を生
成するための水平信号および垂直信号を示す図解図であ
り、(B)はラッチ回路84のイネーブル信号を生成す
るための水平信号および垂直信号を示す図解図であり、
(C)はラッチ回路90のイネーブル信号を生成するた
めの水平信号および垂直信号を示す図解図である。
3A is an illustrative view showing a horizontal signal and a vertical signal for generating an enable signal of a latch circuit 48, and FIG. 3B is a schematic diagram showing a horizontal signal and a vertical signal for generating an enable signal of a latch circuit 84; FIG. 4 is an illustrative view showing a signal,
FIG. 3C is an illustrative view showing a horizontal signal and a vertical signal for generating an enable signal of the latch circuit 90;

【図4】(A)は特定の検出ブロックを示す図解図であ
り、(B)は登録判定モード1で用いられる全ての検出
ブロックを示す図解図であり、(C)は登録判定モード
2で用いられる4個の検出ブロックを示す図解図であ
る。
4A is an illustrative view showing a specific detection block, FIG. 4B is an illustrative view showing all detection blocks used in a registration determination mode 1, and FIG. FIG. 4 is an illustrative view showing four detection blocks used;

【図5】検出ブロックおよび画素を示す図解図である。FIG. 5 is an illustrative view showing a detection block and pixels;

【図6】(A)ないし(C)は動きベクトルの発生およ
び被写体追尾動作を説明するための図解図である。
FIGS. 6A to 6C are illustrative views for explaining generation of a motion vector and an object tracking operation.

【図7】この実施例の主要な動作を示すフロー図であ
る。
FIG. 7 is a flowchart showing main operations of this embodiment.

【図8】図7の続きを示すフロー図である。FIG. 8 is a flowchart showing a continuation of FIG. 7;

【図9】図8の続きを示すフロー図である。FIG. 9 is a flowchart showing a continuation of FIG. 8;

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

10 …被写体追尾カメラ装置 12 …カメラ 16 …動きベクトル検出回路 24 …水平デコーダ 30 …垂直デコーダ 38 …CPU 40 …スイッチ 48,84,90 …ラッチ回路 76 …検出ブロック積算回路 78,94 …セレクタ 80 …代表色メモリ 82 …積算色メモリ 88 …相関器 96 …閾値比較回路 98 …動きベクトル発生回路 100 …雲台制御回路 102 …駆動装置 104 …雲台 Reference Signs List 10 subject camera device 12 camera 16 motion vector detecting circuit 24 horizontal decoder 30 vertical decoder 38 CPU 40 switches 48, 84, 90 latch circuit 76 detection block integrating circuit 78, 94 selector 80 Representative color memory 82 ... Integrated color memory 88 ... Correlator 96 ... Threshold value comparison circuit 98 ... Motion vector generation circuit 100 ... Head head control circuit 102 ... Drive device 104 ... Head head

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 5/232 G06T 7/20 H04N 7/18 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04N 5/232 G06T 7/20 H04N 7/18

Claims (10)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】動きベクトル検出領域内に複数の検出ブロ
ックを設定し、前記検出ブロックの色情報を利用して被
写体の動きベクトルを検出する動きベクトル検出回路で
あって、 特定の検出ブロックの色情報に基づいて第1色情報デー
タを得る第1の演算手段、 所望の検出ブロック毎の色情報に基づいて前記所望の検
出ブロック毎に第2色情報データを得る第2の演算手
段、および前記第1色情報データと前記第2色情報デー
タとに基づいて前記第1色情報データを前記動きベクト
ル検出のために登録するか否かを判定する登録判定手段
を備える、動きベクトル検出回路。
1. A motion vector detection circuit for setting a plurality of detection blocks in a motion vector detection area and detecting a motion vector of a subject using color information of the detection blocks, wherein a color of a specific detection block is First calculating means for obtaining first color information data based on information; second calculating means for obtaining second color information data for each desired detection block based on color information for each desired detection block; A motion vector detection circuit, comprising: registration determination means for determining whether to register the first color information data for the motion vector detection based on the first color information data and the second color information data.
【請求項2】前記登録判定手段は、前記第1色情報デー
タと前記第2色情報データとの相関値を検出する相関手
段、前記相関値と閾値とを比較する比較手段、および前
記比較手段での比較結果に基づいて前記第1色情報デー
タを登録するか否かを判定する判定手段を含む、請求項
1記載の動きベクトル検出回路。
2. The registration determining means according to claim 1, wherein said registration determining means detects a correlation value between said first color information data and said second color information data, a comparing means comparing said correlation value with a threshold value, and said comparing means. 2. The motion vector detection circuit according to claim 1, further comprising a determination unit configured to determine whether to register the first color information data based on a result of the comparison.
【請求項3】前記第2演算手段で得られる前記第2色情
報データは前記動きベクトル検出領域内の全ての検出ブ
ロック毎の第2色情報データを含む、請求項1または2
記載の動きベクトル検出回路。
3. The second color information data obtained by the second calculation means includes second color information data for every detection block in the motion vector detection area.
The described motion vector detection circuit.
【請求項4】前記第2演算手段で得られる第2色情報デ
ータは前記動きベクトル検出領域内の全検出ブロック数
より少ない前記特定の検出ブロックの周囲の各検出ブロ
ックの第2色情報データを含む、請求項1または2記載
の動きベクトル検出回路。
4. The second color information data obtained by the second calculating means is the second color information data of each detection block around the specific detection block which is smaller than the total number of detection blocks in the motion vector detection area. The motion vector detection circuit according to claim 1, further comprising:
【請求項5】前記周囲の各検出ブロックは、前記特定の
検出ブロックの左斜め上,右斜め上,左斜め下および右
斜め下の各検出ブロックを含む、請求項4記載の動きベ
クトル検出回路。
5. The motion vector detection circuit according to claim 4, wherein each of the surrounding detection blocks includes a detection block on the upper left, lower right, lower left and lower right of the specific detection block. .
【請求項6】前記登録判定手段は、前記第1色情報デー
タと前記動きベクトル検出領域内の全ての検出ブロック
の第2色情報データとに基づいて前記第1色情報データ
を登録するか否かを判定する第1登録判定手段、および
前記第1色情報データと前記動きベクトル検出領域内の
全検出ブロック数より少ない前記特定の検出ブロックの
周囲の各検出ブロックの第2色情報データとに基づいて
前記第1色情報データを登録するか否かを判定する第2
登録判定手段を含み、 さらに、前記第1登録判定手段および前記第2登録判定
手段のいずれか一方を選択する選択手段を備える、請求
項1または2記載の動きベクトル検出回路。
6. The registration determining means determines whether to register the first color information data based on the first color information data and the second color information data of all the detection blocks in the motion vector detection area. A first registration determination unit that determines whether the first color information data and the second color information data of each detection block around the specific detection block that is smaller than the total number of detection blocks in the motion vector detection area. A second step of determining whether to register the first color information data based on the second color information data
The motion vector detection circuit according to claim 1, further comprising a registration determination unit, further comprising a selection unit that selects one of the first registration determination unit and the second registration determination unit.
【請求項7】前記色情報は異なる3種類の色要素を含
む、請求項1ないし6のいずれかに記載の動きベクトル
検出回路。
7. The motion vector detecting circuit according to claim 1, wherein said color information includes three different color elements.
【請求項8】前記3種類の色要素は、Y,R−Y,B−
Y信号である、請求項7記載の動きベクトル検出回路。
8. The three color elements are Y, RY, B-
The motion vector detection circuit according to claim 7, wherein the motion vector detection circuit is a Y signal.
【請求項9】前記3種類の色要素は、Y,Cr,Cb信
号である、請求項7記載の動きベクトル検出回路。
9. The motion vector detecting circuit according to claim 7, wherein said three types of color elements are Y, Cr, and Cb signals.
【請求項10】請求項1ないし9のいずれかに記載の動
きベクトル検出回路を用いた、被写体追尾カメラ装置。
10. A subject tracking camera device using the motion vector detection circuit according to claim 1.
JP06256477A 1994-10-21 1994-10-21 Motion vector detection circuit and subject tracking camera device using the same Expired - Fee Related JP3075934B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP06256477A JP3075934B2 (en) 1994-10-21 1994-10-21 Motion vector detection circuit and subject tracking camera device using the same
US08/546,219 US6002428A (en) 1994-10-21 1995-10-20 Motion vector detection circuit and object tracking camera device utilizing the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06256477A JP3075934B2 (en) 1994-10-21 1994-10-21 Motion vector detection circuit and subject tracking camera device using the same

Publications (2)

Publication Number Publication Date
JPH08125910A JPH08125910A (en) 1996-05-17
JP3075934B2 true JP3075934B2 (en) 2000-08-14

Family

ID=17293186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06256477A Expired - Fee Related JP3075934B2 (en) 1994-10-21 1994-10-21 Motion vector detection circuit and subject tracking camera device using the same

Country Status (1)

Country Link
JP (1) JP3075934B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3052893B2 (en) 1997-05-16 2000-06-19 日本電気株式会社 Video encoding device
TW472484B (en) 1999-03-09 2002-01-11 Sanyo Electric Co Method and apparatus for processing camera signals

Also Published As

Publication number Publication date
JPH08125910A (en) 1996-05-17

Similar Documents

Publication Publication Date Title
US8509481B2 (en) Image processing apparatus, image processing method, imaging apparatus
JP4912117B2 (en) Imaging device with tracking function
EP0905977B1 (en) Image synthesis apparatus
CN1838737B (en) Frame rate converting apparatus, pan/tilt determining apparatus, and video apparatus
EP0449283B1 (en) An image sensing apparatus having camera-shake detection function
JPH08191411A (en) Scene discrimination method and representative image recording and display device
EP0729036B1 (en) Tracking area determination apparatus and object tracking apparatus utilizing the same
CN101827215A (en) From photographic images, extract the filming apparatus in subject zone
JP2010114752A (en) Device and method of imaging and program
JP2001243478A (en) Target body tracing device
JP3075934B2 (en) Motion vector detection circuit and subject tracking camera device using the same
JP3296675B2 (en) Subject tracking apparatus and subject tracking method
JP3108355B2 (en) Subject tracking camera device
US20040028137A1 (en) Motion detection camera
JP3075937B2 (en) Motion vector detection circuit and subject tracking camera device using the same
JP3192872B2 (en) Motion vector detection circuit and subject tracking camera device using the same
JP3075936B2 (en) Motion vector detection circuit and subject tracking camera device using the same
JP3174869B2 (en) Target object tracking device
JPH09265538A (en) Automatic tracking device
JPH11286377A (en) Elevator control method and its device
JPH08265740A (en) Camera monitoring device
JP2005275765A (en) Image processor, image processing method, image processing program and recording medium recording the program
JP2004343650A (en) Video camera
JPH09179880A (en) Device and method for extracting important image of moving picture
JP4065149B2 (en) Image signal processing device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000516

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080609

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090609

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090609

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100609

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110609

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110609

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120609

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130609

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130609

Year of fee payment: 13

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130609

Year of fee payment: 13

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees