JP3253595B2 - Moving image specific color detection apparatus and detection method - Google Patents
Moving image specific color detection apparatus and detection methodInfo
- Publication number
- JP3253595B2 JP3253595B2 JP01821099A JP1821099A JP3253595B2 JP 3253595 B2 JP3253595 B2 JP 3253595B2 JP 01821099 A JP01821099 A JP 01821099A JP 1821099 A JP1821099 A JP 1821099A JP 3253595 B2 JP3253595 B2 JP 3253595B2
- Authority
- JP
- Japan
- Prior art keywords
- specific color
- moving image
- moving
- block
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Color Television Systems (AREA)
- Processing Of Color Television Signals (AREA)
- Image Analysis (AREA)
Description
【0001】[0001]
【発明の属する技術分野】この発明は、動画像特定色物
体検出装置及び方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus and a method for detecting a moving image specific color object.
【0002】[0002]
【従来の技術】これまで、動画像監視システムでは、主
に画面内に進入してきた物体等を検出する場合がほとん
どである。しかし、監視している画像が例えば、プラン
トの計器盤などの場合、変化するのは、ランプの色であ
ったりする場合がある。このような場合、特定の色を検
出することにより、監視画像の異常を検出することがで
きる。2. Description of the Related Art Hitherto, in most cases, a moving image monitoring system mainly detects an object or the like entering a screen. However, when the monitored image is, for example, an instrument panel of a plant, the change may be the color of the lamp. In such a case, the abnormality of the monitoring image can be detected by detecting the specific color.
【0003】特定色検出をするためには、一般に画素毎
の色を調べること必要がある。しかし、画素毎にその色
を調べる処理は、実は、多くの計算量を必要とするとい
う問題がある。例えば、ITU−T H.261、H.
263、ISO/IEC MPEG−4等でよく用いら
れるCIFフォーマットの場合、横352画素、縦28
8画素で合計101376画素もの画素について、色空
間を変換することになる。このような計算量の多い処理
に対しては、専用のハードウェアを用意する必要があっ
たりして、コスト面でも大きな問題があった。In order to detect a specific color, it is generally necessary to check the color of each pixel. However, the process of examining the color for each pixel actually has a problem of requiring a large amount of calculation. For example, ITU-TH. 261, H .;
263, CIF format often used in ISO / IEC MPEG-4, etc.
The color space is converted for a total of 101376 pixels of eight pixels. For such a process with a large amount of calculation, it is necessary to prepare dedicated hardware, and there has been a great problem in terms of cost.
【0004】[0004]
【発明が解決しようとする課題】上述したように、従来
技術によると、高速に特定色を検出するためには、多く
の計算量を必要とするという問題点があった。As described above, according to the prior art, there is a problem that a large amount of calculation is required to detect a specific color at high speed.
【0005】本発明は、高速でかつ安定して精度よく特
定の色物体を検出することのできる動画像特定色検出装
置を提供することを目的とする。SUMMARY OF THE INVENTION An object of the present invention is to provide a moving image specific color detecting device capable of detecting a specific color object at high speed and stably with high accuracy.
【0006】[0006]
【課題を解決するための手段】本発明に係る動画像特定
色検出装置は、動画像内の特定の色を検出する装置にお
いて、動画像を圧縮した符号化データを復号する動画像
復号化手段と特定色物体検出手段を有し、前記特定色物
体検出手段は、前記動画像復号化手段によって復号され
たブロック毎を復号結果からブロック内の画像が静止状
態か動状態かを判定する手段と、ブロック毎の静動判定
結果から特定色物体を判定する手段と、判定した特定色
物体の領域を前記動画像復号化手段によって作成された
再生画像信号と合成して表示する手段とを有する。A moving image specific color detecting device according to the present invention is a device for detecting a specific color in a moving image, the moving image decoding means for decoding encoded data obtained by compressing a moving image. And a specific color object detection means, wherein the specific color object detection means determines, for each block decoded by the moving image decoding means, whether an image in the block is in a still state or a moving state from a decoding result. Means for determining a specific color object from the result of static / movement determination for each block, and means for combining the determined area of the specific color object with a reproduced image signal created by the moving image decoding means and displaying the combined image.
【0007】この動画像特定色物体検出装置の復号され
たブロック毎を復号結果からブロック内の画像が静止状
態か動状態かを判定する手段は、動画像復号化手段によ
って復号されたブロック毎のモード情報と、動きベクト
ル情報と、変換係数情報と、現在の再生画像信号と1フ
レーム前の再生画像との差分から、ブロックが静止状態
か、動状態かを判定する。The means for determining whether the image in the block is still or moving from the decoded result of each decoded block of the moving image specific color object detecting device is provided for each block decoded by the moving image decoding means. From the mode information, the motion vector information, the transform coefficient information, and the difference between the current reproduced image signal and the reproduced image one frame before, it is determined whether the block is in the stationary state or the moving state.
【0008】このように、動画像復号化装置と特定色の
検出を組み合わせることにより、復号化と同時に実行で
きるともに、ブロック毎の静動判定結果から、特定色を
検出する範囲を大幅に絞り込むことができるため、高速
に特定色検出が可能となる。As described above, by combining the moving picture decoding apparatus with the detection of the specific color, the decoding can be performed simultaneously with the decoding, and the range of detecting the specific color can be greatly narrowed based on the result of the still / moving judgment for each block. , The specific color can be detected at high speed.
【0009】また、本発明に係る動画像特定色検出装置
は、動画像内の特定色物体検出する装置において、動画
像を符号化する動画像符号化手段と、特定色物体検出手
段と、動画像を圧縮した符号化データを復号化する動画
像復号化手段とを有し、前記特定色物体検出手段は、前
記動画像符号化手段によって符号化されたブロック毎を
符号化結果からブロック内の画像が静止状態か動状態か
を判定する手段と、ブロック毎の静動判定結果から特定
色物体を判定する手段と、前記動画像符号化手段は、特
定色物体の判定結果を符号化データと多重化して伝送
し、前記動画像復号化手段は、符号化データを復号し、
再生画像信号と、特定色物体の判定結果を合成して表示
する手段とを有する。A moving image specific color detecting device according to the present invention is a device for detecting a specific color object in a moving image, wherein the moving image coding means for coding a moving image, the specific color object detecting means, a moving image Moving image decoding means for decoding the encoded data obtained by compressing the image, and the specific color object detecting means converts each block coded by the moving image coding means Means for determining whether the image is in a still state or a moving state; means for determining a specific color object from a result of the still / moving determination for each block; and the moving image encoding means, wherein the determination result of the specific color object is encoded data and Multiplexed and transmitted, the video decoding means decodes the encoded data,
Means for combining and displaying the reproduced image signal and the determination result of the specific color object.
【0010】この動画像特定色物体検出装置の復号され
たブロック毎を符号化結果からブロック内の画像が静止
状態か動状態かを判定する手段は、動画像符号化手段に
よって符号化されたブロック毎のモード情報と、動きベ
クトル情報と、変換係数情報と、現在の入力動画像信号
と1フレーム前の局部復号画像との差分から、ブロック
が静止状態か、動状態かを判定する。The means for judging whether the image in the block is still or moving from the coding result of each decoded block of the moving image specific color object detecting device is a block coded by the moving image coding means. Whether the block is stationary or moving is determined based on the mode information, the motion vector information, the transform coefficient information, and the difference between the current input moving image signal and the locally decoded image one frame before.
【0011】また、この動画像特定色物体検出装置は、
判定した特定色物体の領域を動画像符号手段と前記動画
像符号化手段によって作成された局部画像信号と合成し
て表示する手段を有する。Further, the moving image specific color object detecting apparatus includes:
The image processing apparatus further includes a moving image encoding unit that combines the determined area of the specific color object with a local image signal created by the moving image encoding unit and displays the combined image.
【0012】このように、動画像符号化装置と特定色の
検出を組み合わせることにより、符号化と同時に実行で
きるともに、ブロック毎の静動判定結果から、特定色を
検出する範囲を大幅に絞り込むことができるため、高速
に特定色検出が可能となる。As described above, the combination of the moving picture coding apparatus and the detection of the specific color can be performed simultaneously with the coding, and the range of detecting the specific color can be greatly narrowed from the result of the still / moving judgment for each block. , The specific color can be detected at high speed.
【0013】また、これらの動画像特定色物体検出装置
のブロック毎の静動判定結果から特定色物体を判定する
手段は、ブロック内の画像が特定色検出ブロックを包含
する図形で特定色物体を判定する。The means for judging a specific color object from the still / moving judgment result for each block of the moving image specific color object detection device includes the step of recognizing the specific color object by a figure in which the image in the block includes the specific color detection block. judge.
【0014】また、本発明に係る動画像特定色検出方法
は、動画像を圧縮した符号化データを復号する復号化ス
テップと、その復号化手段によって復号された復号結果
からブロック毎にブロック内の画像が静止状態か動状態
かを判定するステップと、ブロック毎の静動判定結果か
ら動状態のブロックの特定色物体を判定するステップ
と、判定した特定色物体の領域を示す画像を前記動画像
復号化ステップによって作成された再生画像信号を生成
するステップとを有することを特徴とする。このような
処理により、検出誤差の影響を抑えることができ、検出
結果をより明確に表示することができる。Further, in the moving image specific color detecting method according to the present invention, a decoding step of decoding coded data obtained by compressing a moving image, and a decoding result decoded by the decoding means for each block in the block. A step of determining whether the image is a stationary state or a moving state; a step of determining a specific color object of the moving state block from the result of the static / moving determination for each block; Generating a reproduced image signal created by the decoding step. By such processing, the influence of the detection error can be suppressed, and the detection result can be displayed more clearly.
【0015】[0015]
【発明の実施の形態】(第1の実施の形態)以下、図面
を参照して本発明の第1の実施形態を説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) A first embodiment of the present invention will be described below with reference to the drawings.
【0016】図1は、本発明の実施形態の動画像特定色
物体検出装置の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a moving image specific color object detecting apparatus according to an embodiment of the present invention.
【0017】図1の動画像特定色物体検出装置は、動画
像復号化部110と特定色物体検出部116の2つの部
分から成り立っている。The moving image specific color object detecting apparatus shown in FIG. 1 is composed of two parts, a moving image decoding unit 110 and a specific color object detecting unit 116.
【0018】動画像復号化部110においては、まず、
伝送路または蓄積系から受信した符号化データは、入力
バッファ101に一度蓄えられ、多重化分離部102に
より1フレーム毎にシンタクスに基づいて分離し、可変
長復号化部103に出力する。可変長復号化部103で
は、各シンタクスの情報の可変長符号の復号をおこな
う。In the moving picture decoding unit 110, first,
Coded data received from a transmission path or a storage system is once stored in an input buffer 101, separated by a demultiplexing unit 102 on a frame-by-frame basis based on syntax, and output to a variable-length decoding unit 103. The variable length decoding unit 103 decodes a variable length code of information of each syntax.
【0019】可変長復号化部103において、マクロブ
ロックのモードがINTRAならば、モード切替スイッ
チ109をオフに選択して、可変長復号化部103で復
号化された量子化DCT係数情報は、逆量子化部104
で逆量子化され、IDCT部105で逆離散コサイン変
換処理をおこなうことにより、再生画像信号を生成させ
る。この再生画像信号は、フレームメモリ107に参照
画像として蓄積される一方、特定色物体検出部116内
の特定色物体合成表示部115に入力される。In the variable length decoding section 103, if the mode of the macroblock is INTRA, the mode changeover switch 109 is selected to be off, and the quantized DCT coefficient information decoded by the variable length decoding section 103 is inverted. Quantization unit 104
, And the IDCT unit 105 performs an inverse discrete cosine transform process to generate a reproduced image signal. The reproduced image signal is stored in the frame memory 107 as a reference image, and is input to the specific color object synthesis display unit 115 in the specific color object detection unit 116.
【0020】可変長復号化部103において、マクロブ
ロックのモードがINTER及びNOT_CODEDな
らば、モード切替スイッチ109をオフに選択して、可
変長復号化部103で復号化された量子化DCT係数情
報は、逆量子化部104で逆量子化され、IDCT部1
05で逆離散コサイン変換処理をおこない、可変長復号
化部103で復号化された動きベクトル情報に基づい
て、動き補償部108において参照画像を動き補償し、
加算器106で足しあわせて、再生画像信号を生成させ
る。この再生画像信号は、フレームメモリ107に参照
画像として蓄積される一方、特定色物体検出部116内
の特定色物体合成表示部115に入力される。If the macroblock mode is INTER or NOT_CODED in the variable length decoding unit 103, the mode changeover switch 109 is turned off, and the quantized DCT coefficient information decoded by the variable length decoding unit 103 is , Is inversely quantized by the inverse quantization unit 104 and the IDCT unit 1
05, performs an inverse discrete cosine transform process, and based on the motion vector information decoded by the variable length decoding unit 103, performs motion compensation on the reference image in the motion compensation unit 108,
The addition is performed by the adder 106 to generate a reproduced image signal. The reproduced image signal is stored in the frame memory 107 as a reference image, and is input to the specific color object synthesis display unit 115 in the specific color object detection unit 116.
【0021】一方、特定色物体検出部116において
は、図2の流れ図のように、1フレーム毎にマクロブロ
ック静動判定(S101)、特定色物体判定(S10
2)、特定色物体合成表示(S103)の3つの処理を
それぞれ、マクロブロック静動判定部111、特定色物
体判定部112、特定色物体合成表示部115で行う。On the other hand, in the specific color object detecting section 116, as shown in the flow chart of FIG. 2, the macro block static / moving judgment (S101) and the specific color object judgment (S10) are performed for each frame.
2) The three processes of the specific color object combination display (S103) are performed by the macroblock still / movement determination unit 111, the specific color object determination unit 112, and the specific color object combination display unit 115, respectively.
【0022】マクロブロック静動判定部111では、可
変長復号部103において復号されたモード情報、動き
ベクトル情報、DCT係数情報と、減算器112で求め
たINTRAマクロブロックの時の再生画像信号と1フ
レーム前のフレームメモリとの差分絶対値和(SAD)
から、フレーム内のマクロブロック毎の静動判定を行
う。The macroblock static / motion determining unit 111 includes the mode information, the motion vector information, the DCT coefficient information decoded by the variable length decoding unit 103 and the reproduced image signal for the INTRA macroblock obtained by the subtractor 112 and 1 Sum of absolute difference (SAD) with frame memory before frame
Then, a still / moving decision is made for each macroblock in the frame.
【0023】図3は、マクロブロック静動判定(S10
1)の具体的な流れ図である。ここで、iとjは、フレ
ーム内の垂直方向と水平方向のマクロブロックのアドレ
スをそれぞれ表し、V_NMBとH_NMBはフレーム
内の垂直方向と水平方向のマクロブロック数を表してい
る。2次元配列M[i][j]は、各マクロブロックが
動マクロブロックか否かの情報を蓄える配列で、TRU
Eならば動マクロブロック、FALSEならば静止マク
ロブロックを表す。FIG. 3 is a flowchart showing a macroblock static / movement determination (S10).
It is a specific flowchart of 1). Here, i and j represent the vertical and horizontal macroblock addresses in the frame, respectively, and V_NMB and H_NMB represent the number of vertical and horizontal macroblocks in the frame. The two-dimensional array M [i] [j] is an array for storing information as to whether each macroblock is a moving macroblock.
E indicates a moving macroblock, and FALSE indicates a still macroblock.
【0024】まず、マクロブロック毎に可変長復号化部
103からのモード情報MODEの判定を行う。(S2
03) もし、MODEがINTRAならば、そのマクロブロッ
クの再生画像信号と1フレーム前のフレームメモリとの
差分絶対値和(SAD)を計算し、閾値T0と比較を行
う。(S204)もし、閾値T0よりも大きい場合、そ
のマクロブロックは動マクロブロックと判定し、M
[i][j]にTRUEが代入される。(S206) もし、MODEがINTERならば、可変長復号化部1
03からの動きベクトル情報及びDCT係数情報から、
そのマクロブロックの動きベクトルの絶対値和Σ|MV
|及び、DCT係数の絶対値和Σ|COF|を計算し、
それぞれの閾値T1、T2と比較を行う。(S205)
もし、動きベクトルの絶対値和と、DCT係数の絶対値
和が閾値以上の場合には、そのマクロブロックは動マク
ロブロックと判定し、M[i][j]にTRUEが代入
される。(S206) 特定色物体判定部113では、マクロブロック静動判定
部112のマクロブロック毎の静動判定情報から、特定
色物体の判定を行う。図4は、その具体的な流れ図であ
る。図4で示すように処理内容は、特定色検出処理(S
301)と特定色物体包含処理(S302)の2つから
成り立っている。特定色検出処理(S301)では、背
景画像の小物体の揺らぎや画像取り込み時の雑音によっ
て動マクロブロックと誤検出されてしまう防止するため
に、周囲8マクロブロックが全て静止している動マクロ
ブロックを取り除いている。特定色物体包含処理(S3
02)は、雑音を取り除いた後の静動判定結果から、隣
接して動マクロブロックが存在する領域を包含する最小
の長方形の検出する処理を行う。この処理で、特定色物
体を包含する長方形を見つけることができる。First, the mode information MODE from the variable length decoding unit 103 is determined for each macroblock. (S2
03) If MODE is INTRA, calculate the sum of absolute differences (SAD) between the reproduced image signal of the macroblock and the frame memory one frame before, and compare it with the threshold value T0. (S204) If it is larger than the threshold value T0, the macro block is determined to be a moving macro block, and M
TRUE is substituted for [i] [j]. (S206) If MODE is INTER, the variable length decoding unit 1
03 from the motion vector information and DCT coefficient information from
Sum of absolute values of motion vectors of the macro block Σ | MV
And the sum of absolute values of DCT coefficients Σ | COF |
A comparison is made with the respective threshold values T1 and T2. (S205)
If the sum of the absolute value of the motion vector and the sum of the absolute values of the DCT coefficients are equal to or larger than the threshold, the macroblock is determined to be a moving macroblock, and TRUE is substituted for M [i] [j]. (S206) The specific color object determination unit 113 determines a specific color object based on the static / movement determination information for each macroblock of the macroblock static / movement determination unit 112. FIG. 4 is a specific flowchart. As shown in FIG. 4, the processing content is a specific color detection process (S
301) and the specific color object inclusion processing (S302). In the specific color detection processing (S301), in order to prevent the small macro-objects in the background image from being erroneously detected as moving macro-blocks due to the fluctuation of the small object or noise at the time of image capturing, a moving macro-block in which all eight surrounding macro blocks are still Has been removed. Specific color object inclusion processing (S3
In step 02), a process of detecting the smallest rectangle that includes a region where an adjacent moving macroblock exists is performed based on the result of the still / moving determination after removing noise. Through this processing, a rectangle that includes the specific color object can be found.
【0025】図5は、特定色検出処理の具体的な処理内
容である。図3と同様に、iとjは、フレーム内の垂直
方向と水平方向のマクロブロックのアドレスをそれぞれ
表し、V_NMBとH_NMBはフレーム内の垂直方向
と水平方向のマクロブロック数を表している。ここでの
2次元配列M[i][j]は、各マクロブロックが特定
色マクロブロックか否かの情報を蓄える配列で、TRU
Eならば特定色マクロブロックを表す。FIG. 5 shows the specific processing contents of the specific color detection processing. As in FIG. 3, i and j represent the addresses of the vertical and horizontal macroblocks in the frame, respectively, and V_NMB and H_NMB represent the numbers of the vertical and horizontal macroblocks in the frame. The two-dimensional array M [i] [j] here is an array for storing information as to whether or not each macroblock is a specific color macroblock.
E indicates a specific color macroblock.
【0026】まず、マクロブロック毎の静動判定結果を
みる。(S403)既に2次元配列M[i][j]は、
マクロブロック静動判定処理(S101)によって、静
動判定結果が格納されていて、TRUEならば動マクロ
ブロック、FALSEならば静止マクロブロックを表し
ている。もし、2次元配列M[i][j]の値がFAL
SE、つまり、静止マクロブロックならば、そのマクロ
ブロックでは何も行わず、次のマクロブロックにいく。
もし、2次元配列M[i][j]の値がTURE、つま
り、動マクロブロックならば、そのマクロブロックの画
素値が特定色指定部によって指定された色空間の範囲に
入っているかどうかチェックする。(S405)もし、
入っていなければ、動マクロブロックつまり新たに書き
換わったマクロブロックには特定色はなかったと判定
し、FALSEに書き換える。(S406) 特定色指定部114では、検出を行う色の色空間の範囲
を指定を行う。もし、予め色が分かっている場合は、Y
CbCr色空間上で直接指定することができる。ここ
で、D1〜D6は閾値である。First, the result of static / dynamic determination for each macroblock will be examined. (S403) The two-dimensional array M [i] [j] is already
The static / movement determination result is stored by the macroblock static / movement determination process (S101). TRUE indicates a moving macroblock, and FALSE indicates a stationary macroblock. If the value of the two-dimensional array M [i] [j] is FAL
SE, that is, if the macroblock is a still macroblock, the macroblock does nothing and goes to the next macroblock.
If the value of the two-dimensional array M [i] [j] is TURE, that is, if it is a moving macroblock, it is checked whether the pixel value of the macroblock is within the range of the color space specified by the specific color specifying unit. I do. (S405) If
If not, it is determined that there is no specific color in the moving macroblock, that is, the newly rewritten macroblock, and is rewritten to FALSE. (S406) The specific color specification unit 114 specifies the range of the color space of the color to be detected. If the color is known in advance, Y
It can be specified directly on the CbCr color space. Here, D1 to D6 are threshold values.
【数1】 別の特定色の指定方法としては、ユーザにRGB色空間
上で色の範囲をしてしてもらい、その範囲を式(2)を
用いてYCbCrに変換して決定する方法もある。(Equation 1) As another method of specifying a specific color, there is a method in which a user sets a color range in an RGB color space, and the range is converted into YCbCr using Expression (2) and determined.
【数2】 また、別の特定色の指定方法としては、符号化を行って
いるYCbCr色空間を式(3)を用いてRGB空間に
変換して、式(4)のような形で検出する方法もある。(Equation 2) As another method of specifying a specific color, there is also a method of converting the YCbCr color space being coded into an RGB space using Expression (3), and detecting the RGB space in Expression (4). .
【数3】 (Equation 3)
【数4】 このように、適当な色空間上で判別できる範囲を指定す
ることができるならば、どのような方法で、指定しても
実行できる。(Equation 4) As described above, if a range that can be distinguished in an appropriate color space can be designated, it can be executed by any method.
【0027】図6〜図8は、特定色物体包含処理(S1
02)の具体的な処理内容である。ここで、nは、特定
色物体の数を示すカウンタであり、S1〜S4は、特定
色物体を包含する長方形を探索する範囲を示すパラメー
タで、S1、S2は、垂直方向のアドレスの始点と終点
であり、S3、S4は、水平方向のアドレスの始点と終
点である。FIGS. 6 to 8 show the specific color object inclusion processing (S1).
02). Here, n is a counter indicating the number of specific color objects, S1 to S4 are parameters indicating a search range of a rectangle including the specific color object, and S1 and S2 are the starting points of the vertical address. This is the end point, and S3 and S4 are the start point and end point of the address in the horizontal direction.
【0028】図6の流れ図は、探索範囲としてフレーム
全体を指定するように、初期化を行う。(S501)次
に指定された探索範囲で特定色物体を包含する最小の長
方形を探索する関数Rectangularを呼び出
す。(S502) 図7、図8の流れ図は、関数Rectangular
(S502)の処理の内容を示している。関数Rect
angularは、探索範囲であるS1〜S4と特定色
物体の数を示すnと各マクロブロックの静動判定結果の
格納された2次元配列Mを入力とし、探索結果の長方形
のアドレスを格納した1次元配列B1〜B4と特定色物
体の数を示すnとを出力とする。In the flowchart of FIG. 6, initialization is performed so that the entire frame is designated as a search range. (S501) Next, a function Rectangular for searching for the smallest rectangle including the specific color object in the specified search range is called. (S502) The flowcharts of FIGS. 7 and 8 show the function Rectangular.
The content of the process of (S502) is shown. Function Rect
angular receives as input a search range S1 to S4, n indicating the number of specific color objects, and a two-dimensional array M storing static / movement determination results of each macroblock, and stores a rectangular address of the search results. The dimensional arrays B1 to B4 and n indicating the number of specific color objects are output.
【0029】ここで、1次元配列HVは、垂直方向の動
マクロブロックの数のヒストグラムを作成するための作
業配列であり、1次元配列HHは、水平方向の動マクロ
ブロックの数のヒストグラムを作成するための作業配列
である。また、変数VFLAGは、水平方向のヒストグ
ラムの値が0でない状態の時にTRUEとなり、値が0
の時にFALSEとなるように変更されるフラグであ
り、変数HFLAGは、垂直方向のヒストグラムの値が
0でない状態の時にTRUEとなり、値が0の時にFA
LSEとなるように変更されるフラグである。Here, the one-dimensional array HV is a work array for creating a histogram of the number of moving macroblocks in the vertical direction, and the one-dimensional array HH creates a histogram of the number of moving macroblocks in the horizontal direction. It is a work arrangement to perform. The variable VFLAG becomes TRUE when the value of the histogram in the horizontal direction is not 0, and the value VFLAG becomes 0.
The flag HFLAG is set to TRUE when the value of the vertical histogram is not 0, and is set to FALSE when the value is 0.
This flag is changed to be LSE.
【0030】まず、垂直方向の動マクロブロックの数の
ヒストグラムを作成するための作業配列HVの探索範囲
であるS1〜S2の範囲を値0で初期化する。(S60
1) 次のLOOP1とLOOP2の2重ループでは、探索範
囲での垂直方向の動マクロブロックの数のヒストグラム
を作成している。つまり、マクロブロック毎の静動判定
結果M[i][j]の値を比較し(S604)、値がT
URE、つまり、動マクロブロックならば、HV[i]
をプラス1し(S605)、FALSEの場合は、何も
しないという動作をとっている。First, the range of S1 to S2, which is the search range of the work array HV for creating a histogram of the number of moving macroblocks in the vertical direction, is initialized with a value of 0. (S60
1) In the next double loop of LOOP1 and LOOP2, a histogram of the number of moving macroblocks in the vertical direction in the search range is created. That is, the values of the static / movement determination result M [i] [j] for each macroblock are compared (S604), and
URE, that is, if it is a moving macroblock, HV [i]
Is incremented by 1 (S605), and in the case of FALSE, an operation is performed in which nothing is performed.
【0031】次に、その垂直方向のヒストグラムの中か
ら、0でない連続した部分を探索する。まず、フラグV
FLAGをFALSEにセットする。(S608)次
に、探索範囲S1からS2の順序で、ヒストグラムHV
が0でなく、VFLAGがFALSEであるかをチェッ
クする。(S610)この条件に当てはまるのは、ヒス
トグラムが0でない連続した部分の始点の部分である。
従って、探索している長方形の垂直方向の始点の候補と
なるので、1次元配列B1[n]にアドレスiを格納
し、VFLAGをTUREにセットする。(S611) 次に、ヒストグラムHVが0あるいは、探索範囲の終点
で、VFLAGがTUREであるかをチェックする。
(S612)この条件に当てはまるのは、ヒストグラム
が0でない連続した部分の終点の部分である。従って、
探索している長方形の垂直方向の終点の候補となるの
で、もし、ヒストグラムHVが0の場合は、1次元配列
B2[n]にアドレスi−1を格納し(S614)、そ
うでない場合は、1次元配列B2[n]にアドレスiを
格納する。(S615)そして、VFLAGを再びFA
LSEにセットする。(S611) 図8は、図7の流れ図の続きである。今度は、水平方向
の動マクロブロックの数のヒストグラムを作成するため
の作業配列HVの探索範囲であるS3〜S4の範囲を値
0で初期化する。(S617)次のLOOP4とLOO
P5の2重ループでは、探索範囲での水平方向の動マク
ロブロックの数のヒストグラムを作成している。つま
り、マクロブロック毎の静動判定結果M[i][j]の
値を比較し(S604)、値がTURE、つまり、動マ
クロブロックならば、HH[i]をプラス1し(S60
5)、FALSEの場合は、何もしないという動作をと
っている。Next, a non-zero continuous portion is searched from the histogram in the vertical direction. First, the flag V
Set FLAG to FALSE. (S608) Next, in the order of the search range S1 to S2, the histogram HV
Is not 0 and VFLAG is FALSE. (S610) The condition that satisfies this condition is the start point of a continuous portion where the histogram is not zero.
Therefore, since it is a candidate for the starting point in the vertical direction of the rectangle being searched, the address i is stored in the one-dimensional array B1 [n], and VFLAG is set to TURE. (S611) Next, it is checked whether the histogram HV is 0 or VFLAG is TURE at the end point of the search range.
(S612) The condition corresponding to this condition is the end point of a continuous portion where the histogram is not zero. Therefore,
If the histogram HV is 0, the address i-1 is stored in the one-dimensional array B2 [n] (S614). The address i is stored in the one-dimensional array B2 [n]. (S615) Then, the VFLAG is reset to FA again.
Set to LSE. (S611) FIG. 8 is a continuation of the flowchart of FIG. This time, the range of S3 to S4, which is the search range of the working array HV for creating a histogram of the number of moving macroblocks in the horizontal direction, is initialized with a value of 0. (S617) Next LOOP4 and LOO
In the double loop of P5, a histogram of the number of moving macroblocks in the horizontal direction in the search range is created. That is, the value of the static / movement determination result M [i] [j] for each macroblock is compared (S604), and if the value is TURE, that is, if the value is a moving macroblock, HH [i] is incremented by one (S60).
5) In the case of FALSE, an operation of doing nothing is performed.
【0032】次に、その水平方向のヒストグラムの中か
ら、0でない連続した部分を探索する。まず、フラグH
FLAGをFALSEにセットする。(S624)次
に、探索範囲S3からS4の順序で、ヒストグラムHH
が0でなく、HFLAGがFALSEであるかをチェッ
クする。(S626)この条件に当てはまるのは、ヒス
トグラムが0でない連続した部分の始点の部分である。
従って、探索している長方形の水平方向の始点の候補と
なるので、1次元配列B3[n]にアドレスjを格納
し、HFLAGをTUREにセットする。(S627) 次に、ヒストグラムHHが0あるいは、探索範囲の終点
で、HFLAGがTUREであるかをチェックする。
(S628)この条件に当てはまるのは、ヒストグラム
が0でない連続した部分の終点の部分である。従って、
探索している長方形の水平方向の終点の候補となるの
で、もし、ヒストグラムHHが0の場合は、1次元配列
B4[n]にアドレスj−1を格納し(S630)、そ
うでない場合は、1次元配列B4[n]にアドレスjを
格納する。(S631)そして、HFLAGを再びFA
LSEにセットする。(S632) ここで、1通りの垂直方向と水平方向のヒストグラムに
よる探索が終了したが、探索した結果B1[n]〜B4
[n]が探索範囲S1〜S4と一致するかをチェックし
て(S633)、一致する場合は、もうこれ以上探索す
る範囲がないので、最小の長方形が求まっていると判定
できる。(S634)そして、特定色物体の数を表すn
をプラス1して(S635)、次の特定色物体の探索に
移る。探索した結果B1[n]〜B4[n]が探索範囲
S1〜S4と一致しない場合、探索した結果の範囲にま
だ複数の特定色物体が存在するので、探索した結果B1
[n]〜B4[n]をS1〜S4に移し替えて(S63
7)、再び、関数Rectangularを呼び出す。
(S637) 図9は、特定色物体判定部113の判定結果の例であ
る。ここでは、2つの特定色物体を判定した。それぞれ
の判定結果は、図に示すようにこの例では、マクロブッ
クのアドレスの原点は、フレームの左上であり、B1
[0]〜B4[0]とB1[1]〜B4[1]のような
配置で特定色物体を判定している。Next, a continuous portion other than 0 is searched from the horizontal histogram. First, the flag H
Set FLAG to FALSE. (S624) Next, in the order of the search ranges S3 to S4, the histogram HH
Is not 0 and HFLAG is FALSE. (S626) The condition that satisfies this condition is the start point of a continuous portion where the histogram is not zero.
Therefore, since it becomes a candidate of the horizontal start point of the rectangle being searched, the address j is stored in the one-dimensional array B3 [n], and HFLAG is set to TURE. (S627) Next, it is checked whether the histogram HH is 0 or HFLAG is TURE at the end point of the search range.
(S628) The condition that satisfies this condition is the end point of a continuous portion where the histogram is not zero. Therefore,
If the histogram HH is 0, the address j-1 is stored in the one-dimensional array B4 [n] (S630). The address j is stored in the one-dimensional array B4 [n]. (S631) Then, HFLAG is restored to FA again.
Set to LSE. (S632) Here, the search using one vertical and horizontal histogram has been completed, but the search results B1 [n] to B4
It is checked whether [n] matches the search ranges S1 to S4 (S633). If they match, there is no more search range, so it can be determined that the smallest rectangle has been found. (S634) Then, n representing the number of specific color objects
Is increased by 1 (S635), and the process proceeds to the search for the next specific color object. If the search results B1 [n] to B4 [n] do not match the search ranges S1 to S4, there are still a plurality of specific color objects in the search result range.
[N] to B4 [n] are transferred to S1 to S4 (S63
7) Call the function Rectangular again.
(S637) FIG. 9 is an example of the determination result of the specific color object determination unit 113. Here, two specific color objects were determined. As shown in the figure, the result of each determination is that, in this example, the origin of the address of the macro book is at the upper left of the frame, and B1
The specific color object is determined in an arrangement such as [0] to B4 [0] and B1 [1] to B4 [1].
【0033】特定色物体合成表示部115では、特定色
物体判定部113で判定した特定色物体の領域と再生動
画像信号を合成した画像を作成する。図10は、その具
体的な流れ図である。ここで、nは、特定色物体判定部
113で求めたフレーム内の特定色物体数を示してい
る。処理の流れとしては、特定色物体毎に、B1[i]
〜B4[i]が特定色物体の4角のマクロブロックを表
しているので、それを囲むような長方形の白い線を描
き、再生画像と合成する。(S602) 図11は、特定色物体合成表示部によって作成された画
像の例である。 (第2の実施の形態)図12と図13は、本発明の第2
の実施形態の動画像特定色物体検出装置の構成を示すブ
ロック図である。この実施の形態において、特定色物体
検出部は、動画像符号化部と組み合わされている。The specific color object synthesizing display unit 115 creates an image in which the area of the specific color object determined by the specific color object determination unit 113 and the reproduced moving image signal are synthesized. FIG. 10 is a specific flowchart. Here, n indicates the number of specific color objects in the frame obtained by the specific color object determination unit 113. As the processing flow, B1 [i] for each specific color object
Since B4 [i] represents a rectangular macroblock of a specific color object, a rectangular white line surrounding the macroblock is drawn and combined with the reproduced image. (S602) FIG. 11 is an example of an image created by the specific color object synthesis display unit. (Second Embodiment) FIGS. 12 and 13 show a second embodiment of the present invention.
It is a block diagram which shows the structure of the moving image specific color object detection apparatus of embodiment. In this embodiment, the specific color object detection unit is combined with a moving image encoding unit.
【0034】図12において、入力動画像信号は、ブロ
ック化回路201でマクロブロックに分割される。マク
ロブロックに分割された入力動画像信号は、減算器20
2に入力され、予測画像信号との差分がとられて、予測
残差信号が生成される。この予測残差信号と、ブロック
化回路201からの入力動画像信号のいずれか一方を、
モード選択スイッチ203によって選択し、DCT(離
散コサイン変換)回路204により離散コサイン変換さ
れる。DCT回路204で得られDCT係数データは、
量子化回路205で量子化される。量子化器205で量
子化された信号は2分岐され、一方は可変長符号化回路
215で可変長符号化される。In FIG. 12, an input moving image signal is divided into macro blocks by a blocking circuit 201. An input video signal divided into macro blocks is input to a subtractor 20.
2, and a difference from the predicted image signal is calculated to generate a predicted residual signal. One of the prediction residual signal and one of the input video signals from the blocking circuit 201 is
The signal is selected by a mode selection switch 203 and is subjected to a discrete cosine transform by a DCT (discrete cosine transform) circuit 204. The DCT coefficient data obtained by the DCT circuit 204 is
The quantization is performed by the quantization circuit 205. The signal quantized by the quantizer 205 is branched into two, and one of the signals is subjected to variable-length encoding by a variable-length encoding circuit 215.
【0035】一方、量子化回路205で量子化され2分
岐された信号の他方は、逆量子化回路206及びIDC
T(逆離散コサイン変換)回路207により量子化回路
205およびDCT回路204の処理と逆の処理を順次
受けた後、加算器208でスイッチ211を介して入力
される予測画像信号と加算されることにより、局部復号
信号が生成される。この局部復号信号は、フレームメモ
リ209に蓄えられ、動き補償回路210に入力され
る。動き補償回路210では、予測画像信号が生成され
るとともに、モード選択回路203に必要な情報を送
る。On the other hand, the other of the signals quantized and bifurcated by the quantization circuit 205 is supplied to the inverse quantization circuit 206 and the IDC.
After the inverse discrete cosine transform (T) circuit 207 sequentially receives the inverse processing of the processing of the quantization circuit 205 and the DCT circuit 204, the adder 208 adds the predicted image signal input via the switch 211. As a result, a locally decoded signal is generated. This local decoded signal is stored in the frame memory 209 and input to the motion compensation circuit 210. The motion compensation circuit 210 generates a predicted image signal and sends necessary information to the mode selection circuit 203.
【0036】モード選択回路212では、マクロブロッ
ク単位に動き補償回路210からの予測情報Pに基づい
て、フレーム間符号化をおこなうマクロブロックとフレ
ーム内符号化をおこなうマクロブロックを選択する。フ
レーム内符号化(イントラ符号化)をおこなう場合は、
モード選択スイッチ情報MをAとし、スイッチ情報Sを
Aとする。フレーム間符号化(インター符号化)をおこ
なう場合は、モード選択スイッチ情報MをBとし、スイ
ッチ情報SをBとする。モード選択スイッチ203では
モード選択スイッチ情報Pに基づき、スイッチを変更
し、また、スイッチ216ではスイッチ情報Sに基づ
き、スイッチを変更する。The mode selection circuit 212 selects a macroblock for performing inter-frame coding and a macroblock for performing intra-frame coding based on the prediction information P from the motion compensation circuit 210 in macroblock units. When performing intra-frame coding (intra coding),
The mode selection switch information M is A, and the switch information S is A. When performing inter-frame coding (inter coding), the mode selection switch information M is set to B, and the switch information S is set to B. The mode selection switch 203 changes the switch based on the mode selection switch information P, and the switch 216 changes the switch based on the switch information S.
【0037】ここで、モードとして、イントラモード
(INTRA)、インターモード(INTER)、非符
号化モード(NOT_CODED)があり、各マクロブ
ロック毎に対応づけられ、INTRAのマクロブロック
はフレーム内符号化される画像領域、INTERのマク
ロブロックはフレーム間符号化される画像領域、NOT
_CODEDのマクロブロックは、符号化不要の画像領
域である。The modes include an intra mode (INTRA), an inter mode (INTER), and a non-coding mode (NOT_CODED), which are associated with each macroblock, and the INTRA macroblock is subjected to intra-frame coding. Image area, INTER macroblock is an image area to be inter-coded, NOT
The macroblock of _CODED is an image area that does not require encoding.
【0038】一方、特定色物体検出部222において
は、まず、可変長符号化部214に入力されたモード情
報、動きベクトル情報、DCT係数情報をマクロブロッ
ク静動判定部に入力し、その判定結果を特定色物体判定
部220に入力する。特定色物体判定部220で、判定
された結果は、特定色物体合成表示部に入力されるとと
もに、動画像符号化部218の多重化部215に入力さ
れる。特定色物体合成部221では、動画像符号化部に
よって作成された局部復号信号と特定色物体を合成した
画像を作成し、局部再生信号として出力する。なお、マ
クロブロック静動判定部219、特定色物体判定部22
0、特定色物体合成表示部221の具体的な処理内容
は、第1の実施の形態のでの図2〜図11の処理と同一
である。On the other hand, in the specific color object detecting section 222, first, the mode information, motion vector information, and DCT coefficient information input to the variable length coding section 214 are input to the macroblock static / motion determining section, and the determination result is obtained. Is input to the specific color object determination unit 220. The result determined by the specific color object determination unit 220 is input to the specific color object synthesis display unit and to the multiplexing unit 215 of the video encoding unit 218. The specific color object synthesizing unit 221 generates an image in which the local decoded signal generated by the moving image encoding unit and the specific color object are synthesized, and outputs the image as a local reproduction signal. Note that the macroblock still / movement determination unit 219 and the specific color object determination unit 22
0, the specific processing content of the specific color object synthesis display unit 221 is the same as the processing in FIGS. 2 to 11 in the first embodiment.
【0039】符号化制御回路214では、符号化部21
8の符号化情報と出力バッファ216のバッファ量をも
とに符号化部217を制御する。可変長符号化回路21
4で符号化された符号化データは、特定色物体判定部2
20からの特定色物体判定結果とともに、多重化回路2
16で多重化され、出力バッファ217で送信レートを
平滑化され、符号化データとして伝送系または蓄積系に
送られる。In the encoding control circuit 214, the encoding section 21
The encoding unit 217 is controlled based on the encoding information of No. 8 and the buffer amount of the output buffer 216. Variable length coding circuit 21
The encoded data encoded in the specific color object determination unit 2
Multiplexing circuit 2 together with the specific color object determination result from
The data is multiplexed at 16 and the transmission rate is smoothed at the output buffer 217 and sent to the transmission system or storage system as encoded data.
【0040】図13は、図12の符号化側に対する復号
化側のブロック図である。FIG. 13 is a block diagram on the decoding side with respect to the encoding side in FIG.
【0041】まず、動画像復号化部310においては、
まず、伝送路または蓄積系から受信した符号化データ
は、入力バッファ301に一度蓄えられ、多重化分離部
302により1フレーム毎にシンタクスに基づいて分離
し、可変長復号化部303に出力する。可変長復号化部
303では、各シンタクスの情報の可変長符号の復号を
おこなう。First, in the moving picture decoding unit 310,
First, encoded data received from a transmission path or a storage system is once stored in an input buffer 301, separated by a demultiplexing unit 302 on a frame-by-frame basis based on syntax, and output to a variable-length decoding unit 303. The variable length decoding unit 303 decodes a variable length code of information of each syntax.
【0042】可変長復号化部303において、マクロブ
ロックのモードがINTRAならば、モード切替スイッ
チ309をオフに選択して、可変長復号化部303で復
号化された量子化DCT係数情報は、逆量子化部304
で逆量子化され、IDCT部305で逆離散コサイン変
換処理をおこなうことにより、再生画像信号を生成させ
る。この再生画像信号は、フレームメモリ307に参照
画像として蓄積される一方、特定色物体検出部115内
の特定色物体合成表示部311に入力される。If the macroblock mode is INTRA in the variable length decoding section 303, the mode changeover switch 309 is turned off, and the quantized DCT coefficient information decoded by the variable length decoding section 303 is inverted. Quantizer 304
The IDCT unit 305 performs an inverse discrete cosine transform to generate a reproduced image signal. The reproduced image signal is stored in the frame memory 307 as a reference image, and is input to the specific color object synthesis display unit 311 in the specific color object detection unit 115.
【0043】可変長復号化部303において、マクロブ
ロックのモードがINTER及びNOT_CODEDな
らば、モード切替スイッチ309をオフに選択して、可
変長復号化部303で復号化された量子化DCT係数情
報は、逆量子化部304で逆量子化され、IDCT部3
05で逆離散コサイン変換処理をおこない、可変長復号
化部303で復号化された動きベクトル情報に基づい
て、動き補償部308において参照画像を動き補償し、
加算器306で足しあわせて、再生画像信号を生成させ
る。この再生画像信号は、フレームメモリ307に参照
画像として蓄積される一方、特定色物体合成表示部31
1に入力される。In the variable length decoding unit 303, if the mode of the macroblock is INTER or NOT_CODED, the mode changeover switch 309 is selected to be off, and the quantized DCT coefficient information decoded by the variable length decoding unit 303 is , And inversely quantized by the inverse quantization unit 304, and the IDCT unit 3
05, performs an inverse discrete cosine transform process, and based on the motion vector information decoded by the variable length decoding unit 303, performs motion compensation on the reference image in a motion compensation unit 308,
The addition is performed by the adder 306 to generate a reproduced image signal. The reproduced image signal is stored in the frame memory 307 as a reference image, while the specific color object composite display unit 31
1 is input.
【0044】一方、多重化分離部で、分離された特定色
物体判定結果は、特定色物体合成表示部311に入力さ
れ、図10の流れ図に従って動作する。On the other hand, the specific color object determination result separated by the multiplexing / demultiplexing unit is input to the specific color object synthesis display unit 311 and operates according to the flowchart of FIG.
【0045】以上、実施の形態においては、マクロブロ
ックを単位に処理を行う例を示したが、それよりの小さ
な単位での処理でも大きな単位での処理でも同様の方法
ができることは、言うまでもない。As described above, in the embodiment, an example in which processing is performed in units of macroblocks has been described. However, it goes without saying that the same method can be applied to processing in a smaller unit or processing in a larger unit.
【0046】また、動画像符号化方式として、DCTを
使った方式の例で説明したが、その他の変換手法、例え
ばWavelet変換等でも同様の方法が使える。Although an example of a method using DCT has been described as a moving picture coding method, a similar method can be used in other transform methods such as Wavelet transform.
【0047】[0047]
【発明の効果】以上、説明したように本発明によれば、
高速でかつ安定して精度よく特定の色物体を検出するこ
とのできる動画像特定色検出装置および動画像特定色検
出方法を提供することができる。As described above, according to the present invention,
It is possible to provide a moving image specific color detecting device and a moving image specific color detecting method capable of detecting a specific color object at high speed and stably with high accuracy.
【図1】本発明の第1の実施形態の動画像特定色物体検
出装置の構成を示すブロック図。FIG. 1 is a block diagram showing a configuration of a moving image specific color object detection device according to a first embodiment of the present invention.
【図2】本発明の特定色物体検出部の動作を示す流れ
図。FIG. 2 is a flowchart showing the operation of a specific color object detection unit of the present invention.
【図3】本発明のマクロブロック静動判定部の動作を示
す流れ図。FIG. 3 is a flowchart showing the operation of a macroblock still / movement determination unit according to the present invention.
【図4】本発明の特定色物体判定部の動作を示す流れ
図。FIG. 4 is a flowchart showing the operation of the specific color object determination unit of the present invention.
【図5】本発明の特定色物体判定部の雑音処理の動作を
示す流れ図。FIG. 5 is a flowchart showing an operation of noise processing of the specific color object determination unit of the present invention.
【図6】本発明の特定色物体判定部の特定色物体包含処
理の動作を示す流れ図。FIG. 6 is a flowchart showing an operation of a specific color object inclusion process of the specific color object determination unit of the present invention.
【図7】本発明の特定色物体判定部の特定色物体包含処
理の動作を示す流れ図。FIG. 7 is a flowchart showing an operation of a specific color object inclusion process of the specific color object determination unit of the present invention.
【図8】本発明の特定色物体判定部の特定色物体包含処
理の動作を示す流れ図。FIG. 8 is a flowchart showing an operation of a specific color object inclusion process of the specific color object determination unit of the present invention.
【図9】本発明の特定色物体判定部の判定結果の例を示
す図。FIG. 9 is a diagram illustrating an example of a determination result of a specific color object determination unit according to the present invention.
【図10】本発明の特定色物体合成表示部の動作を示す
流れ図。FIG. 10 is a flowchart showing the operation of the specific color object synthesis display unit of the present invention.
【図11】本発明の特定色物体判定部の表示結果の例を
示す図。FIG. 11 is a diagram showing an example of a display result of the specific color object determination unit of the present invention.
【図12】本発明の第2の実施形態の動画像特定色物体
検出装置の符号化側の構成を示すブロック図。FIG. 12 is a block diagram showing a configuration on an encoding side of a moving image specific color object detection device according to a second embodiment of the present invention.
【図13】本発明の第2の実施形態の動画像特定色物体
検出装置の復号化側の構成を示すブロック図。FIG. 13 is a block diagram showing the configuration on the decoding side of the moving image specific color object detection device according to the second embodiment of the present invention.
101…入力バッファ 102…多重化分離部 103…可変長復号化部 104…逆量子化部 105…IDCT部 106…加算器 107…フレームメモリ 108…動き補償部 109…モード切替スイッチ 110…動画像復号化部 111…マクロブロック静動判定部 112…減算器 113…特定色物体判定部 114…特定色指定部 115…特定色物体合成表示部 116…特定色物体検出部 201…ブロック化回路 202…減算器 203…モード選択スイッチ 204…DCT回路 205…量子化回路 206…逆量子化回路 207…IDCT回路 208…加算器 209…フレームメモリ 210…動き補償回路 211…スイッチ 212…モード選択回路 213…符号化制御回路 214…可変長符号化回路 215…多重化回路 216…出力バッファ 217…符号化部 218…動画像符号化部 219…マクロブロック静動判定部 220…特定色物体判定部 221…特定色指定部 222…特定色物体合成表示部 223…特定色物体検出部 301…入力バッファ 302…多重化分離部 303…可変長復号化部 304…逆量子化部 305…IDCT部 306…加算器 307…フレームメモリ 308…動き補償部 309…モード切替スイッチ 310…動画像復号化部 311…特定色物体合成表示部 Reference Signs List 101 input buffer 102 demultiplexing unit 103 variable length decoding unit 104 inverse quantization unit 105 IDCT unit 106 adder 107 frame memory 108 motion compensation unit 109 mode switching switch 110 moving image decoding Conversion unit 111 macroblock static / motion determination unit 112 subtractor 113 specific color object determination unit 114 specific color designation unit 115 specific color object synthesis display unit 116 specific color object detection unit 201 blocking circuit 202 subtraction Unit 203: Mode selection switch 204 ... DCT circuit 205 ... Quantization circuit 206 ... Inverse quantization circuit 207 ... IDCT circuit 208 ... Adder 209 ... Frame memory 210 ... Motion compensation circuit 211 ... Switch 212 ... Mode selection circuit 213 ... Encoding Control circuit 214 ... Variable length coding circuit 215 ... Multiplexing circuit 216 ... Output buffer 217: Encoding unit 218: Moving image encoding unit 219: Macroblock still / moving determining unit 220: Specific color object determining unit 221: Specific color specifying unit 222: Specific color object combining display unit 223: Specific color object detecting unit 301 input buffer 302 demultiplexing unit 303 variable length decoding unit 304 inverse quantization unit 305 IDCT unit 306 adder 307 frame memory 308 motion compensation unit 309 mode switching switch 310 moving image decoding Conversion unit 311: specific color object synthesis display unit
───────────────────────────────────────────────────── フロントページの続き (72)発明者 中村 善史 東京都府中市東芝町1番地 株式会社東 芝 府中工場内 (58)調査した分野(Int.Cl.7,DB名) H04N 11/00 - 11/22 H04N 9/44 - 9/78 ────────────────────────────────────────────────── ─── Continuation of front page (72) Yoshifumi Nakamura, Inventor 1 Toshiba-cho, Fuchu-shi, Tokyo Toshiba Corporation Fuchu Plant (58) Fields investigated (Int. Cl. 7 , DB name) H04N 11/00- 11/22 H04N 9/44-9/78
Claims (7)
いて、動画像を圧縮した符号化データを復号する動画像
復号化手段と特定色物体検出手段を有し、前記特定色物
体検出手段は、前記動画像復号化手段によって復号され
たブロック毎に復号結果からブロック内の画像が静止状
態か動状態かを判定する手段と、ブロック毎の静動判定
結果から動状態のブロックの特定色物体を判定する手段
と、特定色物体と判定された領域を示す画像を前記動画
像復号化手段によって作成された再生画像信号と合成し
て表示する手段とを有することを特徴とする動画像特定
色検出装置。1. An apparatus for detecting a specific color in a moving image, comprising: moving image decoding means for decoding encoded data obtained by compressing the moving image; and a specific color object detecting means, wherein the specific color object detecting means is provided. Means for determining, for each block decoded by the moving image decoding means, whether an image in the block is in a still state or a moving state based on a decoding result; A moving image identification unit comprising: a unit for judging an object; and a unit for combining and displaying an image indicating an area determined to be a specific color object with a reproduced image signal created by the moving image decoding unit. Color detection device.
おいて、復号されたブロック毎に復号結果からブロック
内の画像が静止状態か動状態かを判定する手段は、動画
像復号化手段によって復号されたブロック毎のモード情
報と、動きベクトル情報と、変換係数情報と、現在の再
生画像信号と1フレーム前の再生画像との差分から、ブ
ロックが静止状態か、動状態かを判定することを特徴と
する動画像特定色検出装置。2. The moving image specific color object detecting device according to claim 1, wherein the means for determining whether the image in the block is still or moving from the decoding result for each decoded block is a moving image decoding unit. Determining whether a block is in a stationary state or a moving state from the decoded mode information for each block, motion vector information, transform coefficient information, and the difference between the current reproduced image signal and the reproduced image one frame before. A moving image specific color detection device characterized by the above-mentioned.
いて、動画像を符号化して圧縮する動画像符号化手段
と、特定色物体検出手段と、動画像を圧縮した符号化デ
ータを復号化する動画像復号化手段とを有し、前記特定
色物体検出手段は、前記動画像符号化手段によって符号
化されたブロック毎に符号化結果からブロック内の画像
が静止状態か動状態かを判定する手段と、ブロック毎の
静動判定結果から動状態のブロックの特定色物体を判定
する手段と、前記動画像符号化手段は、特定色物体の判
定結果を符号化データと多重化して伝送し、前記動画像
復号化手段は、符号化データを復号し、再生画像信号
と、特定色物体と判定された領域を示す画像を合成して
表示する手段とを有することを特徴とする動画像特定色
検出装置。3. A device for detecting a specific color object in a moving image, a moving image encoding means for encoding and compressing the moving image, a specific color object detecting means, and decoding the encoded data obtained by compressing the moving image. The specific color object detecting means determines, for each block coded by the moving image coding means, whether the image in the block is in a still state or a moving state from the coding result. Means for determining a specific color object of a moving block from the still / moving determination result for each block; and the moving image encoding means multiplexes the determination result of the specific color object with encoded data and transmits the multiplexed result. Wherein the moving image decoding means decodes the encoded data, and synthesizes and displays a reproduced image signal and an image indicating an area determined to be a specific color object. Color detection device.
おいて、符号化されたブロック毎を符号化結果からブロ
ック内の画像が静止状態か動状態かを判定する手段は、
動画像符号化手段によって復号されたブロック毎のモー
ド情報と、動きベクトル情報と、変換係数情報と、現在
の入力動画像信号と1フレーム前の局部復号画像との差
分から、ブロックが静止状態か、動状態かを判定するこ
とを特徴とする動画像特定色検出装置。4. The moving image specific color object detecting device according to claim 3, wherein for each of the encoded blocks, the means for determining whether an image in the block is in a still state or a moving state from an encoding result.
Based on the mode information for each block, motion vector information, transform coefficient information, and the difference between the current input moving image signal and the locally decoded image one frame before, whether the block is in a stationary state, is determined by the moving image encoding means. A moving image specific color detecting device for determining whether the moving image is in a moving state.
おいて、判定した特定色物体の領域を動画像符号手段と
前記動画像符号化手段によって作成された局部画像信号
と合成して表示する手段を有することを特徴とする動画
像特定色検出装置。5. The moving image specific color object detecting device according to claim 3, wherein the determined area of the specific color object is synthesized and displayed with a moving image encoding unit and a local image signal generated by the moving image encoding unit. A moving image specific color detecting device comprising:
検出装置において、ブロック毎の静動判定結果から特定
色物体を判定する手段は、ブロック内の画像が動状態の
ブロックを包含する図形で特定色物体を判定することを
特徴とする動画像特定色検出装置。6. A moving image specific color object detecting device according to claim 3, wherein the means for determining the specific color object from the result of the still / moving determination for each block includes a block in which the image in the block is in a moving state. A moving image specific color detection device, wherein a specific color object is determined based on a figure to be processed.
る復号化ステップと、その復号化ステップによって復号
された復号結果からブロック毎にブロック内の画像が静
止状態か動状態かを判定するステップと、ブロック毎の
静動判定結果から動状態のブロックの特定色物体を判定
するステップと、判定した特定色物体の領域を示す画像
を前記動画像復号化ステップによって作成された再生画
像信号と合成して新たな再生画像信号を生成するステッ
プとを有することを特徴とする動画像特定色検出方法。7. A decoding step of decoding the compressed coded data a moving image, the image determining whether stationary state or moving state of the block for each block from the decoding result decoded by the decoding step When, determining a particular color object block of the dynamic state from the movement determination result for each block, reproduced image signal created an image showing a region of a specific color object as determined by the moving image decoding step and synthesis step of generating a new reproduced image signal
Moving image specified color detection method characterized by having a flop.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP01821099A JP3253595B2 (en) | 1999-01-27 | 1999-01-27 | Moving image specific color detection apparatus and detection method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP01821099A JP3253595B2 (en) | 1999-01-27 | 1999-01-27 | Moving image specific color detection apparatus and detection method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2000217129A JP2000217129A (en) | 2000-08-04 |
| JP3253595B2 true JP3253595B2 (en) | 2002-02-04 |
Family
ID=11965301
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP01821099A Expired - Fee Related JP3253595B2 (en) | 1999-01-27 | 1999-01-27 | Moving image specific color detection apparatus and detection method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3253595B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3732760B2 (en) | 2001-06-29 | 2006-01-11 | 株式会社東芝 | Object recognition apparatus and object recognition method |
-
1999
- 1999-01-27 JP JP01821099A patent/JP3253595B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2000217129A (en) | 2000-08-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7444026B2 (en) | Image processing apparatus and method of motion vector detection in a moving picture, and recording medium used therewith | |
| CN102369730B (en) | Video encoding device, video decoding device, video encoding method, and video decoding method | |
| JP4157234B2 (en) | Moving object detection device in moving images | |
| JPH1075457A (en) | Apparatus for detecting moving objects in moving images | |
| JP2003102014A (en) | Video data conversion device and video data conversion program | |
| JP2001197501A (en) | Motion vector searcher, motion vector search method, and video encoding device | |
| KR100415494B1 (en) | Image encoding method and apparatus, recording apparatus, video signal encoding apparatus, processing apparatus and method, video data processing apparatus and method | |
| JP3253595B2 (en) | Moving image specific color detection apparatus and detection method | |
| JP3732760B2 (en) | Object recognition apparatus and object recognition method | |
| JP3548028B2 (en) | Moving image moving object detection apparatus and detection method | |
| JP3873000B2 (en) | Moving image moving object detection apparatus and detection method | |
| JP3677165B2 (en) | Moving picture coding apparatus and moving picture coding method | |
| JP3711022B2 (en) | Method and apparatus for recognizing specific object in moving image | |
| JP3407872B2 (en) | Method and apparatus for detecting additional information | |
| JP3641219B2 (en) | Method and apparatus for detecting specific object in moving image | |
| JP3595238B2 (en) | Moving image analysis method and apparatus | |
| JP2002185969A (en) | Method and apparatus for format conversion of encoded video data | |
| JP2000184380A (en) | Video compression encoding apparatus and video compression decoding apparatus | |
| US6697528B1 (en) | Image synthesis system and method | |
| KR19980066971A (en) | Image Coding Device with Motion Movement Detection | |
| JPH0974567A (en) | Video coding / decoding method and apparatus | |
| JP2001283227A (en) | Moving image analysis processing method and apparatus | |
| JPH08223579A (en) | Encoding device, decoding device, and communication device including them | |
| JP2005150808A (en) | Surveillance video recording system | |
| JPH1198510A (en) | Image decoding device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071122 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081122 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091122 Year of fee payment: 8 |
|
| LAPS | Cancellation because of no payment of annual fees |