JPH04129491A - Coding system for moving picture signal - Google Patents

Coding system for moving picture signal

Info

Publication number
JPH04129491A
JPH04129491A JP2252907A JP25290790A JPH04129491A JP H04129491 A JPH04129491 A JP H04129491A JP 2252907 A JP2252907 A JP 2252907A JP 25290790 A JP25290790 A JP 25290790A JP H04129491 A JPH04129491 A JP H04129491A
Authority
JP
Japan
Prior art keywords
block
valid
map
effective
block map
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.)
Granted
Application number
JP2252907A
Other languages
Japanese (ja)
Other versions
JP2586715B2 (en
Inventor
Junichi Oki
淳一 大木
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP25290790A priority Critical patent/JP2586715B2/en
Priority to DE69126585T priority patent/DE69126585T2/en
Priority to EP91115818A priority patent/EP0476603B1/en
Priority to CA002051891A priority patent/CA2051891C/en
Priority to US07/764,606 priority patent/US5177608A/en
Publication of JPH04129491A publication Critical patent/JPH04129491A/en
Application granted granted Critical
Publication of JP2586715B2 publication Critical patent/JP2586715B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate useless information generated due to the noise of a background part and to enhance a coding efficiency by coding only the inside of a talker area obtained by segmentation. CONSTITUTION:A valid block obtained by an isolated invalid block elimination section 6 is given to a valid block decision section 8, a valid section reset section 9 and a coding section 7, and when the valid block number is a predetermined threshold level or over, the valid block set block 9 replaces the valid block entirely into the invalid block and when the valid block number is less than the threshold level, the block is given to a weight section 3 via a frame delay section 10, in which 2nd weighting is applied and the result is given to an adder 4. The coding section 7 applies coding of a moving picture signal given from the delay section 11 only to a part represented to be the valid block area, that is, a talker area in the given valid block map. Thus, useless coding information quantity generated due to noise from the background is eliminated and the coding efficiency is improved.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、帯域圧縮技術を用いた動画像信号の符号化方
式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a video signal encoding method using band compression technology.

(従来の技術) 従来の帯域圧縮技術を用いた動画像信号の符号化方式と
しては、たとえば1989年電子情報通信学会春季全国
大会、資料番号D−233に記載のr I SDN対応
カラー動画像テレビ電話装置」などが知られている。こ
の動画像信号の符号化方式では、画面における顔領域を
抽出してマツプを作成する。そして、画像符号化部では
フレーム間フレーム内適応予測を行い、この時もし卵の
領域であれば最終段まで符号化をし、それ以外の領域で
あれば1つ前の段階で符号化を止めることにより符号量
を減らしている。
(Prior Art) As an encoding method for a moving image signal using conventional band compression technology, for example, the r I SDN compatible color moving image television described in the 1989 Institute of Electronics, Information and Communication Engineers Spring National Conference, Material No. D-233 is used. "telephone device" is known. In this video signal encoding method, a map is created by extracting face areas on the screen. Then, the image encoding unit performs inter-frame intra-frame adaptive prediction, and at this time, if it is an egg area, encoding is performed up to the final stage, and if it is an other area, encoding is stopped at the previous stage. This reduces the amount of code.

(発明が解決しようとする課題) しかしながら上述した従来の動画像信号の符号化方式で
は、顔量外の背景の部分も粗く符号化するから背景部分
の雑音により無駄な情報が発生してしまう。また、連続
する画面間で背景部分から顔部分に変化したとすると、
粗い符号化から細かい符号化に変るから、予測誤差信号
がここでもかなり発生してしまい、無駄な情報を符号化
することになってしまう。その結果符号化効率が低下し
てしまう。
(Problems to be Solved by the Invention) However, in the conventional video signal encoding method described above, the background portion other than the facial amount is also coarsely encoded, resulting in the generation of useless information due to noise in the background portion. Also, if the background part changes to the face part between consecutive screens,
Since coarse encoding changes to fine encoding, a large amount of prediction error signal is generated here as well, resulting in useless information being encoded. As a result, encoding efficiency decreases.

(課題を解決するための手段) 本発明の動画像信号の符号化方式は、画面間の相関を利
用した動画像信号の符号化方式であって、入力する動画
像信号の1画面を複数画素からなるブロックに分割し、
ブロック毎に前画面との差分を検出し、該差分値が予め
定められた第1の閾値以上のときには有効ブロックとし
、前記差分値が予め定められた第1の閾値未満のときに
は無効ブロックとしてフレーム毎に第1の有効ブロック
マツプを作成する手段と、該第1の有効ブロックマツプ
に対して第1の重みづけを行う手段と、前画面における
第6の有効ブロックマツプに対して第2の重みづけを行
う手段と、前記第1の重みづけを行った第1の有効ブロ
ックマツプと、前記第2の重みづけを行った第6の有効
ブロックマツプとを加算合成して重みづけが成された第
2の有効ブロックマツプを得る手段と、該第2の有効ブ
ロックマツプに対して、各ブロックの近傍のブロックを
参照し、近傍のブロックおよび対象ブロックの値が予め
定められた第2の閾値以上のときには当該対象ブロック
を有効ブロックとし、第2の閾値未満のときには当該対
象ブロックを無効ブロックとするセグメンテーションを
行って第3の有効ブロックマツプを得る手段と、該第3
の有効ブロックマツプ内の孤立無効ブロックについて、
近傍のブロックを参照し、近傍のブロックの値が予め定
められた第3の閾値以上のときには当該孤立無効ブロッ
クを有効ブロックに置き替え、第3の閾値未満のときに
は当該孤立無効ブロックを無効ブロックのままとして第
4の有効ブロックマツプを得る手段と、該第4の有効ブ
ロックマツプの有効ブロック数が予め定められた第4の
閾値以上の場合は前記第4の有効ブロックマツプの有効
ブロックを全て無効ブロックに置き換えて第5の有効ブ
ロックマツプとし、前記第4の有効ブロックマツプの有
効ブロック数が予め定められた第4の閾値未満の場合は
前記第4の有効ブロックマツプをそのままで第5の有効
ブロックマツプとする手段と、該第5の有効ブロックマ
ツプを1フレーム時間遅延させて第6の有効ブロックマ
ツプを得る手段と、前記動画像信号の入力時から前記第
4の有効ブロツクマツプの生成時までの時間の遅延を前
記動画像信号に与える手段と、遅延を与えられた前記動
画像信号について、前記第4の有効ブロックマ・yプで
有効ブロックとされた領域を、画面間の相関、画面内の
相関またはその両方を用いて符号化を行う手段とを有す
る。
(Means for Solving the Problems) The video signal encoding method of the present invention is a video signal encoding method that uses correlation between screens, and one screen of an input video signal is divided into multiple pixels. divided into blocks consisting of
The difference from the previous screen is detected for each block, and when the difference value is greater than or equal to a predetermined first threshold, it is considered a valid block, and when the difference value is less than the first predetermined threshold, it is considered an invalid block and the frame is framed. means for creating a first effective block map for each screen, means for assigning a first weight to the first effective block map, and means for assigning a second weight to the sixth effective block map in the previous screen; The weighting is performed by adding and combining the first effective block map subjected to the first weighting and the sixth effective block map subjected to the second weighting. means for obtaining a second effective block map; and with respect to the second effective block map, referring to blocks in the vicinity of each block, the values of the neighboring blocks and the target block are greater than or equal to a predetermined second threshold; means for obtaining a third valid block map by performing segmentation in which the target block is set as a valid block when the value is less than a second threshold;
Regarding the isolated invalid block in the valid block map of
By referring to neighboring blocks, when the value of the neighboring block is equal to or greater than a predetermined third threshold, the isolated invalid block is replaced with a valid block, and when it is less than the third threshold, the isolated invalid block is replaced with an invalid block. means for obtaining a fourth valid block map as is, and if the number of valid blocks in the fourth valid block map is equal to or greater than a fourth predetermined threshold, all valid blocks in the fourth valid block map are invalidated; If the number of valid blocks in the fourth valid block map is less than a fourth predetermined threshold, the fourth valid block map is left as it is and is used as a fifth valid block map. means for generating a block map; means for delaying the fifth effective block map by one frame time to obtain a sixth effective block map; means for giving the video signal a time delay of and means for encoding using correlation within or both.

(作用) テレビ電話などにおいては、背景部分は固定でおもに話
者が動くことから、話者の部分を切出して符号化を行え
ば、背景などからの雑音によって発生する無駄な符号化
情報量を除去でき符号化能率を上げることができる。
(Function) In videophones, etc., the background part is fixed and the speaker mainly moves, so if the part of the speaker is cut out and encoded, the amount of wasted encoded information generated by noise from the background etc. can be reduced. It can be removed and coding efficiency can be increased.

本発明においては、話者の部分を切出して話者部分のみ
を符号化することにより、符号化効率を高める。話者の
切出し方について図面を参照しながら詳細に説明する。
In the present invention, the coding efficiency is improved by cutting out the speaker's part and encoding only the speaker's part. How to extract speakers will be explained in detail with reference to the drawings.

第1図の時刻to、tl。Time to, tl in FIG.

t2に示すように話者が動いたと仮定する。そして、時
刻toおよび時刻t1の画面間での差分を求めると第2
図の斜線で示される領域が求められ、背景部分の孤立し
た斜線部分は背景の雑音により発生した差分信号である
とする6次に、画面を水平方向n画素×垂直方向n画素
の複数の画素からなるブロックに分割し、各ブロック内
の差分信号の絶対値和か予め定められた第1の閾値以上
のときには、そのブロックを有効ブロックとし、差分信
号の絶対値和か第1の閾値未満のときにはそのブロック
を無効ブロックとする。以上の処理によって得られた時
刻t1における有効ブロックマツプを第3図(B)に示
す。第3図(B)の黒く塗られた部分が有効ブロックで
ある。第3図(A)は、時刻toと時刻10より61画
面前の時刻tO−1との画面間で求められた第6の有効
ブロックマツプであるとする。そして、現画面の有効ブ
ロックマツプ(第3図(B))すなわち第1の有効ブロ
ックマツプに第一の重みづけを行い、前画面の有効ブロ
ックマツプ(第3図(A))である第6の有効ブロック
マツプに対してはごt第2の重みづけを行う、以下に重
みづけの一例を示す0例え、ば、前フレームの有効ブロ
ックを1とし、無効ブロックを0とする。現フレームの
有効ブロックは2とし、現フレームの無効ブロックは前
フレームの無効ブロックと同様にOとする。この様にし
て重みづけを行った前フレームの有効ブロックマツプと
、現フレームの有効ブロックマツプとを加算合成し、第
2の有効ブロックマツプを得る。第2の有効ブロックマ
ツプは、第3図(C)の慌になる。次に、第3図(C)
の加算合成された第2の有効ブロックマツプに対して、
セグメンテーションを行う。セグメンテーションの一例
を第3図および第4図を参照しながら説明する。例えば
、第4図のkをセグメンテーションの対象ブロックとす
ると、ブロックにの近傍のブロックa、b。
Assume that the speaker moves as shown at t2. Then, when calculating the difference between the screens at time to and time t1, the second
The shaded area in the figure is obtained, and the isolated shaded area in the background is a differential signal generated by background noise.6 Next, the screen is divided into multiple pixels of n pixels in the horizontal direction x n pixels in the vertical direction. When the sum of the absolute values of the difference signals in each block is greater than or equal to a predetermined first threshold, that block is considered a valid block, and the sum of the absolute values of the difference signals in each block is determined as a valid block. Sometimes, the block is designated as an invalid block. The effective block map at time t1 obtained through the above processing is shown in FIG. 3(B). The black portions in FIG. 3(B) are valid blocks. It is assumed that FIG. 3(A) is the sixth effective block map obtained between the time to and the time tO-1, which is 61 screens before time 10. Then, the first weighting is applied to the effective block map of the current screen (FIG. 3(B)), that is, the first effective block map, and the sixth effective block map of the previous screen (FIG. 3(A)) is given the first weight. The second weighting is applied to the valid block map. An example of weighting is shown below.For example, the valid blocks of the previous frame are set to 1, and the invalid blocks are set to 0. The valid block of the current frame is set to 2, and the invalid block of the current frame is set to O like the invalid block of the previous frame. The effective block map of the previous frame weighted in this manner and the effective block map of the current frame are added and combined to obtain a second effective block map. The second effective block map becomes the row shown in FIG. 3(C). Next, Figure 3 (C)
For the second effective block map that has been additively synthesized,
Perform segmentation. An example of segmentation will be described with reference to FIGS. 3 and 4. For example, if k in FIG. 4 is the target block for segmentation, blocks a and b in the vicinity of the block.

c、d、e、f、 g、hの値を参照する。すなわち第
3図(C)の第2の有効ブロックマツプの値を参照する
。近傍のブロックa、b、c、d、e。
Refer to the values of c, d, e, f, g, and h. That is, the value of the second effective block map shown in FIG. 3(C) is referred to. Neighboring blocks a, b, c, d, e.

f、g、hおよびブロックにの値が予め定められた第2
の閾値以上のときには、対象ブロックkを有効ブロック
とし、近傍のブロックa、b、c。
A second block with predetermined values of f, g, h, and
When the threshold value is greater than or equal to the threshold value, the target block k is regarded as a valid block, and neighboring blocks a, b, and c.

d、e、f、g、hおよびブロックにの値が予め定めら
れた第2の閾値未満のときには、対象ブロックkを無効
ブロックとする。
When the values of d, e, f, g, h and the block are less than a predetermined second threshold, the target block k is determined to be an invalid block.

新たにセグメンテーションによって得られた第3の有効
ブロックマツプを第3図(D)に示す。
The third effective block map newly obtained by segmentation is shown in FIG. 3(D).

第3の有効ブロックマツプには場合によって、動き部分
に孤立無効ブロックが発生することがある。
In some cases, isolated invalid blocks may occur in the moving portion of the third valid block map.

これは、第1の有効ブロックマツプを得る際1.動き部
分において画面間での差分が第1の閾値よりも少し低か
ったブロックは、無効ブロックとなるから、動き部分に
孤立した無効ブロックが発生する。孤立無効ブロックの
一例を第5図に示す。第5図の様に孤立無効ブロックを
含む第3の有効ブロックマツプ内の有効ブロック領域の
み符号化を実行させると、有効ブロック領域内の孤立し
た無効ブロック部分は、符号化が行われないから無効ブ
ロックの部分と周囲の部分とで符号化画像の連続性がな
くなり、符号化歪が発生してしまう、その結果、非常に
見苦しい符号化画像となってしまうことがある。そこで
、孤立無効ブロックの除去を行う、孤立無効ブロックの
除去方法としては、セグメンテーションと同様な処理を
孤立無効ブロツクの除去を行う。すなわち孤立無効ブロ
ックの近傍のブロックを参照し、近傍のブロックが予め
定められた第3の閾値以上のときに、その対象となる孤
立無効ブロックを有効ブロックを示す値に置き替える6
以上の処理により第5図で孤立無効ブロックであった領
域を除去し、第4の有効ブロックマツプを得る。第4の
有効ブロックマツプを第3図(D)に示す。
This is done in 1. when obtaining the first effective block map. A block whose difference between screens in a moving part is slightly lower than the first threshold value becomes an invalid block, so that an isolated invalid block occurs in a moving part. An example of an isolated invalid block is shown in FIG. If encoding is performed only on the valid block area in the third valid block map that includes isolated invalid blocks as shown in Figure 5, isolated invalid block parts within the valid block area will not be encoded and will therefore be invalid. The continuity of the encoded image is lost between the block portion and the surrounding portions, resulting in encoding distortion, which may result in a very unsightly encoded image. Therefore, as a method for removing isolated invalid blocks, processing similar to segmentation is performed to remove isolated invalid blocks. That is, by referring to blocks near the isolated invalid block, and when the neighboring blocks are equal to or higher than a predetermined third threshold value, the target isolated invalid block is replaced with a value indicating a valid block6.
Through the above processing, the area which is an isolated invalid block in FIG. 5 is removed, and a fourth valid block map is obtained. The fourth effective block map is shown in FIG. 3(D).

次に時刻t2における処理について説明する。Next, the processing at time t2 will be explained.

時刻t1と時刻t2の画面間での差分を求め、前記第1
の閾値にしたがって有効無効判定を行うと、第6図(A
)に示す第1の有効ブロックマツプが得られる。この第
1の有効ブロックマツプに対して第1の重みづけを行う
。そして前画面である時刻t1の有効ブロックマツプが
第3図(D)であるから、第3図(D)の有効ブロック
マツプに対して第2の重みづけを行って第1の重みづけ
を行った第1の有効ブロックマツプと加算合成すると、
第6図(B)に示す第2の有効ブロックマツプが得られ
る。第6図(B)の第2の有効ブロックマツプに対して
、前記セグメンテーションを行うと、第6図(C)に示
す第3の有効ブロックマツプが得られる。次に、第3の
有効ブロックマツプに対して、孤立無効ブロックの除去
を行う。第6図(C)の第3の有効ブロックマツプには
、孤立無効ブロックが存在していなかったので、第3の
有効ブロックマツプがそのまま第4の有効ブロックマツ
プとされ、セグメンテーションによって得られた話者領
域となる6時刻t2における実際の話者領域は、画面の
ほぼ左半分であるのに対し、セグメンテーションによっ
て得られた話者領域は、画面の右半分の背景部分にだい
ぶはみだしているから、第6図(C)の第4の有効ブロ
ックマツプをこのまま用いると、背景の雑音も符号化し
てしまう可能性があり、あまり好ましくない0時刻t1
、t2の場合の様に動きが大きく、セグメンテーション
で得られた有効ブロックの数が多い場合には、前画面に
おける有効ブロックマツプの影響を受けて、前画面の話
者領域にふくらんでしまうからである。従って画面間で
の動きが大きい場合、すなわち第4の有効ブロックマツ
プの有効ブロック数が予め定められた第4の閾値以上の
場合には、第4の有効ブロックマツプに対してリセット
を行い、第4の有効ブロックマツプ内の有効ブロックを
全て無効ブロックに置き換えて第5の有効ブロックマツ
プとする。第5の有効ブロックマツプは1フレーム時間
遅延されて第6の有効ブロックマツプとなり、次の時刻
においてセグメンテーションに用いられる。たとえば、
第3図(A)を前フレームの第4の有効ブロックマツプ
とし、第3図(B)を現フレームの有効ブロックマツプ
すなわち第1の有効ブロックマツプとする。そして、時
刻t1において得られた第4の有効ブロックマツプの有
効ブロック数が、前記第4の閾値以上であったとすると
、第4の有効ブロックマツプ内の有効ブロックを、全て
無効ブロックに置き換えて第5の有効ブロックマツプと
するから、第5の有効ブロックマツプが1フレーム時間
遅延されて得られる時刻t2における第6の有効ブロッ
クマツプも全て無効ブロックとなる。その結果、時刻t
2における第1の有効ブロックマツプが、第6図(A)
であったとすると、重みづけが行われた第2の有効ブロ
ックマツプは第6図(D)の様になり、この第2の有効
ブロックマツプに対して前記セグメンテーションを行う
と、第6図(A)に示す様な第3の有効ブロックマツプ
が得られる。この第3の有効ブロックマツプには孤立無
効ブロックが含まれていなかったから、第3の有効ブロ
ックマツプがそのまま第4の有効ブロックマツプとなり
、背景部分を削除することができる。
Find the difference between the screens at time t1 and time t2, and calculate the difference between the screens at time t1 and time t2.
If validity/invalidity is determined according to the threshold value of Fig. 6 (A
) is obtained. A first weighting is applied to this first effective block map. Since the effective block map at time t1, which is the previous screen, is shown in FIG. 3(D), the second weighting is applied to the effective block map in FIG. 3(D), and then the first weighting is applied. When combined with the first effective block map, we get
A second effective block map shown in FIG. 6(B) is obtained. When the segmentation is performed on the second effective block map shown in FIG. 6(B), a third effective block map shown in FIG. 6(C) is obtained. Next, isolated invalid blocks are removed from the third valid block map. Since there was no isolated invalid block in the third valid block map in FIG. 6(C), the third valid block map was taken as the fourth valid block map and the story obtained by segmentation The actual speaker area at time t2, which is the speaker area, is approximately the left half of the screen, whereas the speaker area obtained by segmentation extends considerably into the background area of the right half of the screen. If the fourth effective block map in FIG. 6(C) is used as is, there is a possibility that background noise will also be encoded, which is not very desirable at time 0 t1.
, when the movement is large and the number of effective blocks obtained by segmentation is large, as in the case of t2, the effective block map of the previous screen will affect the map and bulge into the speaker area of the previous screen. be. Therefore, if there is a large movement between screens, that is, if the number of effective blocks in the fourth effective block map is greater than or equal to a predetermined fourth threshold, the fourth effective block map is reset, and the fourth effective block map is reset. All valid blocks in the fourth valid block map are replaced with invalid blocks to form a fifth valid block map. The fifth valid block map is delayed by one frame time to become the sixth valid block map, which is used for segmentation at the next time. for example,
Let FIG. 3(A) be the fourth effective block map of the previous frame, and FIG. 3(B) be the effective block map of the current frame, that is, the first effective block map. Then, if the number of valid blocks in the fourth valid block map obtained at time t1 is greater than or equal to the fourth threshold, all valid blocks in the fourth valid block map are replaced with invalid blocks and 5, the sixth effective block map at time t2 obtained by delaying the fifth effective block map by one frame time also becomes all invalid blocks. As a result, time t
The first effective block map in 2 is shown in FIG. 6(A).
If so, the weighted second effective block map becomes as shown in FIG. 6(D), and when the segmentation is performed on this second effective block map, FIG. A third effective block map as shown in ) is obtained. Since this third valid block map did not include any isolated invalid blocks, the third valid block map becomes the fourth valid block map as it is, and the background portion can be deleted.

以上の様にして得な第4の有効ブロックマツプの有効ブ
ロック領域内すなわち話者領域を、画面間の相関、画面
内の相関またはその両方を用いて符号化することにより
、背景などの雑音により発生する無駄な情報を容易に削
除でき、符号化効率を高めることができる。
By encoding the effective block area of the advantageous fourth effective block map, that is, the speaker area, using inter-screen correlation, intra-screen correlation, or both, it is possible to reduce noise such as background noise. Generated useless information can be easily deleted and encoding efficiency can be improved.

上記各閾値および重みづけの値については、予め統計的
に調べた最適値を用いる。また、セグメンテーションお
よび孤立無効ブロック除去における参照ブロックの配置
は、上記以外の配置およびブロック数でもかまわない。
For each of the above threshold values and weighting values, optimal values statistically investigated in advance are used. Further, the arrangement of reference blocks in segmentation and isolated invalid block removal may be other than the above arrangement and number of blocks.

(実施例) 次に、図面を参照しながら本発明の一実施例について詳
細に説明する。第7図に本発明の一実施例を示す。入力
する動画像信号は、線100を介して有効−効判定部1
および遅延部11に供給される。有効無効判定部1は、
前画面の動画像信号を蓄えておき、この前画面における
動画像信号と新たに[100を介して入力された動画像
信号とのフレーム差分信号を求め、このフレーム差分信
号を水平方向n画素X垂直方向n画素の複数画素からな
るブロックに分割し、それぞれのブロック毎に、ブロッ
ク内のフレーム差分値の絶対値和を求める。求められた
フレーム差分値の絶対値和が予め定められた第1の閾値
以上であればそのブロックを有効ブロックとし、フレー
ム差分値の絶対値和が第1の閾値未満のときはそのブロ
ックを無効ブロックとして、第1の有効ブロックマツプ
を得る。有効無効判定部1で得られた第1の有効ブロッ
クマツプは、重みづけ部2に与えられる。重みづけ部2
は、有効無効判定部1がら与えられた第1の有効ブロッ
クマツプに対して、予め定められた第1の重みづけを行
う。重みづけ部2で重みづけが成された第1の有効ブロ
ックマツプは、加算器4に与えられる。加算器4は、重
みづけ部2から与えられた第1の有効ブロックマツプと
、4重みづけ部3がら与えられる前画面における有効ブ
ロックマツプである第6の有効ブロックマツプとを加算
し、重みづけが成された第2の有効ブロックマツプを得
る。加算器4で得られた第2の有効ブロックマツプは、
セグメンテーション部5に与えられる。セグメンテーシ
ョン部5は、加算器4から与えられた第2の有効ブロッ
クマツプ内の全てのブロックに対して、セグメンテーシ
ョン処理を行う0例えば、第4図に示す様にセグメンテ
ーションの対象となるブロックをkとすると、kおよび
kの近傍のa+ b、c、a、e、 f、g+ hのブ
ロックの値を参照し、それらの値が予め定められた第2
の閾値以上であればそのブロックkを有効ブロックとし
、近傍のブロックおよびkの値が第2の閾値未満の場合
にはそのブロックkを無効ブロックとして第3の有効ブ
ロックマツプを得る。セグメンテーション部5で得られ
た第3の有効ブロックマツプは、孤立無効ブロック除去
部6に与えられる。孤立無効ブロック除去部6は、セグ
メンテーション部5から与えられた第3の有効ブロック
マツプに含まれている無効ブロックに対して孤立無効ブ
ロック除去の処理を行い、有効ブロックの連結を行う。
(Example) Next, an example of the present invention will be described in detail with reference to the drawings. FIG. 7 shows an embodiment of the present invention. The input moving image signal is sent to the validity determination unit 1 via a line 100.
and is supplied to the delay section 11. The validity/invalidity determination unit 1 is
The moving image signal of the previous screen is stored, the frame difference signal between the moving image signal of the previous screen and the moving image signal newly inputted via It is divided into blocks each consisting of a plurality of n pixels in the vertical direction, and the sum of absolute values of frame difference values within the block is determined for each block. If the sum of the absolute values of the calculated frame difference values is greater than or equal to a predetermined first threshold, the block is made a valid block, and if the sum of the absolute values of the frame difference values is less than the first threshold, the block is made invalid. A first effective block map is obtained as a block. The first valid block map obtained by the validity determining section 1 is provided to the weighting section 2. Weighting section 2
performs a predetermined first weighting on the first valid block map given by the validity determining unit 1. The first effective block map weighted by the weighting section 2 is provided to the adder 4. The adder 4 adds the first effective block map given from the weighting section 2 and the sixth effective block map, which is the effective block map in the previous screen given from the 4 weighting section 3, and performs weighting. A second effective block map is obtained. The second effective block map obtained by adder 4 is
It is given to the segmentation unit 5. The segmentation unit 5 performs segmentation processing on all blocks in the second effective block map given from the adder 4. For example, as shown in FIG. Then, the values of blocks a+ b, c, a, e, f, g+ h near k and k are referred to, and those values are set to a predetermined second
If the value of block k is greater than or equal to the threshold value, the block k is determined to be a valid block, and if the value of the neighboring blocks and k is less than the second threshold value, the block k is determined to be an invalid block and a third valid block map is obtained. The third valid block map obtained by the segmentation section 5 is provided to the isolated invalid block removal section 6. The isolated invalid block removing unit 6 performs a process of removing isolated invalid blocks for the invalid blocks included in the third valid block map given from the segmentation unit 5, and connects the valid blocks.

孤立無効ブロックの処理は、セグメンテーションと同様
に対象となる孤立無効ブロックの近傍のブロックを参照
し、その近傍のブロックの値が予め定められた第3の閾
値以上の場合は、その孤立無効ブロックを有効ブロック
とする。近傍のブロックの値が予め定められた第3の閾
値未満の場合は、その孤立無効ブロックは無効ブロック
のままとし、以上の処理によって孤立無効ブロックの除
去を行った第4の有効ブロックマツプを得る。孤立無効
ブロック除去部6で得られた第4の有効ブロックマツプ
は、有効ブロック数判定部8、有効ブロックリセット部
9および符号化部7に与えられる。有効ブロック数判定
部8は、孤立無効ブロック除去部6から与えられた第4
の有効ブロックマツプの有効ブロック数が予め定められ
た第4の閾値以上の場合には、有効ブロックリセット部
9にリセット実行の指示を与える。
In the processing of an isolated invalid block, similar to segmentation, blocks in the vicinity of the target isolated invalid block are referred to, and if the value of the nearby block is greater than or equal to a predetermined third threshold, the isolated invalid block is processed. Make it a valid block. If the value of a neighboring block is less than a predetermined third threshold, the isolated invalid block is left as an invalid block, and the fourth valid block map from which the isolated invalid block has been removed is obtained through the above process. . The fourth valid block map obtained by the isolated invalid block removing section 6 is provided to a valid block number determining section 8, a valid block resetting section 9, and an encoding section 7. The valid block number determining unit 8 receives the fourth block number from the isolated invalid block removing unit 6.
If the number of valid blocks in the valid block map is equal to or greater than a predetermined fourth threshold, an instruction to execute a reset is given to the valid block reset unit 9.

また、有効ブロック数判定部8は、孤立無効ブロック除
去部6から与えられた第4の有効ブロックマツプの有効
ブロック数が予め定められた第4の閾値未満の場合には
、有効ブロックリセット部9にリセット停止の指示を与
える。有効ブロックリセット部9は、有効ブロック数判
定部8からリセット実行の指示が与えられた場合には、
孤立無効ブロック除去部6から与えられた第4の有効ブ
ロックマツプの有効ブロックを、全て無効ブロックに置
き換えて第5の有効ブロックマツプとする。
Further, if the number of valid blocks in the fourth valid block map given from the isolated invalid block removing unit 6 is less than a predetermined fourth threshold, the valid block number determining unit 8 determines that the valid block resetting unit 9 gives the instruction to reset and stop. When the valid block reset unit 9 is given an instruction to execute a reset from the valid block number determination unit 8,
All valid blocks of the fourth valid block map given from the isolated invalid block removal unit 6 are replaced with invalid blocks to form a fifth valid block map.

また、有効ブロックリセット部9は、有効ブロック数判
定部8からリセット停止の指示が与えられた場合には、
孤立無効ブロック除去部6から与えられた第4の有効ブ
ロックマツプに何の処理も行わずにそのままで第5の有
効ブロックマツプとする。有効ブロックリセット部9で
得られた第5の有効ブロックマツプは、フレーム遅延部
10に与えられる。フレーム遅延部10は、有効ブロッ
クリセット部9から与えられた第5の有効プロ・yクマ
ップを1フレーム時間遅延し、第6の有効ブロックマツ
プを得る。フレーム遅延部10で得られた第6の有効ブ
ロックマツプは、重みづけ部3に与えられる。重みづけ
部3は、フレーム遅延部10から与えられた第6の有効
ブロックマツプに対して、第2の重みづけを行って加算
器4に重みづけが成された第4の有効ブロックマツプを
与える。
Further, when the valid block reset unit 9 is given an instruction to stop the reset from the valid block number determination unit 8,
The fourth valid block map given from the isolated invalid block removing unit 6 is used as the fifth valid block map without any processing. The fifth effective block map obtained by the effective block reset section 9 is provided to the frame delay section 10. The frame delay unit 10 delays the fifth valid block map given from the valid block reset unit 9 by one frame time to obtain a sixth valid block map. The sixth effective block map obtained by the frame delay section 10 is provided to the weighting section 3. The weighting unit 3 performs second weighting on the sixth effective block map provided from the frame delay unit 10, and provides a weighted fourth effective block map to the adder 4. .

遅延部11は、入力した動画像信号に対して入力動画像
信号が供給されてから第4の有効ブロックマツプが符号
化部7に与えられるまでの遅延時間補償を行い、第4の
有効ブロックマツプと入力動画像信号の時間合せを行う
。遅延部11の出力の時間補償された動画像信号は、符
号化部7に与えられる。符号化部7は、孤立無効ブロッ
ク除去部6 から与えられた第4の有効ブロックマップ
内の有効ブロック領域すなわち話者領域であると示され
ている部分についてのみ、遅延11から与えられた動画
像信号の符号化を行い、無効ブロックで示される背景部
分は符号化を行わない。
The delay section 11 compensates for the delay time for the input moving image signal from when the input moving image signal is supplied to when the fourth effective block map is given to the encoding section 7, and converts the input moving image signal into a fourth effective block map. and time alignment of the input video signal. The time-compensated moving image signal output from the delay section 11 is given to the encoding section 7. The encoding unit 7 converts the moving image given from the delay 11 only to the part indicated as the valid block area, that is, the speaker area, in the fourth valid block map given from the isolated invalid block removal unit 6. The signal is encoded, and the background portion indicated by the invalid block is not encoded.

符号化の方法としては、動き補償などの画面間の相関を
利用した方法、または直交変換などの画面内の相関を利
用した方法、あるいは@面−及画面内の両方の相関を利
用した符号化方法を用いる。
Encoding methods include a method that uses inter-screen correlation such as motion compensation, a method that uses intra-screen correlation such as orthogonal transformation, or an encoding method that uses both inter-screen and intra-screen correlation. Use methods.

上記の各閾値および参照ブロック配置などについては、
予め統計的に調べたfi3iI値を用いる。
Regarding each threshold value and reference block arrangement mentioned above,
The fi3iI value statistically investigated in advance is used.

(発明の効果) 以上に詳しく説明したように、本発明の動画像信号の符
号化方式は、セグメンテーションによって得た話者領域
内のみ符号化をすることにより、背景部分の雑音により
発生する無駄な情報を削除でき、符号化の効率を高める
ことができる。
(Effects of the Invention) As explained in detail above, the video signal encoding method of the present invention encodes only within the speaker region obtained by segmentation, thereby eliminating unnecessary noise caused by background noise. Information can be deleted and encoding efficiency can be increased.

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

第1図、第2図、第3図、第4図、第5図および第6図
は本発明の詳細な説明する図、第7図は本発明の一実施
例を示す図である。 1・・・有効無効判定部、2,3・・・重みづけ部、4
・・・加算器、5・・・セグメンテーション部、6・・
・孤立無効ブロック除去部、7・・・符号化部、8・・
・有効ブロック数判定部、9・・・有効ブロックリセッ
ト部、10・・・フレーム遅延部、11・・・遅延部。
1, 2, 3, 4, 5, and 6 are diagrams explaining the present invention in detail, and FIG. 7 is a diagram showing one embodiment of the present invention. 1... Validity/invalidity determination section, 2, 3... Weighting section, 4
...Adder, 5...Segmentation unit, 6...
- Isolated invalid block removal unit, 7... Encoding unit, 8...
- Effective block number determination unit, 9... Effective block reset unit, 10... Frame delay unit, 11... Delay unit.

Claims (1)

【特許請求の範囲】[Claims] 画面間の相関を利用した動画像信号の符号化方式におい
て、入力する動画像信号の1画面を複数画素からなるブ
ロックに分割し、ブロック毎に前画面との差分を検出し
、該差分値が予め定められた第1の閾値以上のときには
有効ブロックとし、前記差分値が予め定められた第1の
閾値未満のときには無効ブロックとしてフレーム毎に第
1の有効ブロックマップを作成する手段と、該第1の有
効ブロックマップに対して第1の重みづけを行う手段と
、前画面における第6の有効ブロックマップに対して第
2の重みづけを行う手段と、前記第1の重みづけを行っ
た第1の有効ブロックマップと、前記第2の重みづけを
行つた第6の有効ブロックマップとを加算合成して重み
づけが成された第2の有効ブロックマップを得る手段と
、該第2の有効ブロックマップに対して、各ブロックの
近傍のブロックを参照し、近傍のブロックおよび対象ブ
ロックの値が予め定められた第2の閾値以上のときには
当該対象ブロックを有効ブロックとし、第2の閾値未満
のときには当該対象ブロックを無効ブロックとするセグ
メンテーションを行つて第3の有効ブロックマップを得
る手段と、該第3の有効ブロックマップ内の孤立無効ブ
ロックについて、近傍のブロックを参照し、近傍のブロ
ックの値が予め定められた第3の閾値以上のときには当
該孤立無効ブロックを有効ブロックに置き替え、第3の
閾値未満のときには当該孤立無効ブロックを無効ブロッ
クのままとして第4の有効ブロックマップを得る手段と
、該第4の有効ブロックマップの有効ブロック数が予め
定められた第4の閾値以上の場合は前記第4の有効ブロ
ックマップの有効ブロックを全て無効ブロックに置き換
えて第5の有効ブロックマップとし、前記第4の有効ブ
ロツクマップの有効ブロック数が予め定められた第4の
閾値未満の場合は前記第4の有効ブロックマップをその
ままで第5の有効ブロックマップとする手段と、該第5
の有効ブロックマップを1フレーム時間遅延させて第6
の有効ブロックマップを得る手段と、前記動画像信号の
入力時から前記第4の有効ブロックマップの生成時まで
の時間の遅延を前記動画像信号に与える手段と、遅延を
与えられた前記動画像信号について、前記第4の有効ブ
ロックマップで有効ブロックとされた領域を、画面間の
相関、画面内の相関またはその両方を用いて符号化を行
う手段とを有することを特徴とする動画像信号の符号化
方式。
In a video signal encoding method that uses correlation between screens, one screen of an input video signal is divided into blocks each consisting of multiple pixels, and the difference between each block and the previous screen is detected, and the difference value is means for creating a first effective block map for each frame; when the difference value is equal to or greater than a predetermined first threshold value, the block is determined to be a valid block; when the difference value is less than the first predetermined threshold value, the block is determined to be an invalid block; means for applying a first weight to the first effective block map; means for applying a second weight to the sixth effective block map in the previous screen; means for obtaining a weighted second effective block map by adding and combining the first effective block map and the sixth effective block map subjected to the second weighting; For the block map, refer to the blocks in the vicinity of each block, and if the values of the neighboring blocks and the target block are greater than or equal to a predetermined second threshold, the target block is regarded as a valid block, and if the value of the target block is less than the second threshold. In some cases, means for obtaining a third valid block map by performing segmentation with the target block as an invalid block, and for an isolated invalid block in the third valid block map, referring to neighboring blocks and calculating the value of the neighboring block. means for obtaining a fourth valid block map by replacing the isolated invalid block with a valid block when the value is greater than or equal to a third predetermined threshold, and by leaving the isolated invalid block as an invalid block when it is less than the third threshold; , if the number of valid blocks of the fourth valid block map is equal to or greater than a predetermined fourth threshold, all valid blocks of the fourth valid block map are replaced with invalid blocks to form a fifth valid block map; means for using the fourth effective block map as a fifth effective block map when the number of effective blocks in the fourth effective block map is less than a predetermined fourth threshold;
The effective block map of the sixth block is delayed by one frame time.
means for obtaining an effective block map of the fourth effective block map; means for providing the moving image signal with a time delay from the input of the moving image signal to the generation of the fourth effective block map; and the moving image to which the delay has been applied. A moving image signal, characterized in that the signal includes means for encoding an area determined as a valid block in the fourth valid block map using inter-screen correlation, intra-screen correlation, or both. encoding method.
JP25290790A 1990-09-20 1990-09-20 Video signal coding method Expired - Lifetime JP2586715B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP25290790A JP2586715B2 (en) 1990-09-20 1990-09-20 Video signal coding method
DE69126585T DE69126585T2 (en) 1990-09-20 1991-09-18 Method and device for coding moving image signals
EP91115818A EP0476603B1 (en) 1990-09-20 1991-09-18 Method and apparatus for coding moving image signal
CA002051891A CA2051891C (en) 1990-09-20 1991-09-19 Method and apparatus for coding moving image signal
US07/764,606 US5177608A (en) 1990-09-20 1991-09-20 Method and apparatus for coding moving image signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25290790A JP2586715B2 (en) 1990-09-20 1990-09-20 Video signal coding method

Publications (2)

Publication Number Publication Date
JPH04129491A true JPH04129491A (en) 1992-04-30
JP2586715B2 JP2586715B2 (en) 1997-03-05

Family

ID=17243828

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25290790A Expired - Lifetime JP2586715B2 (en) 1990-09-20 1990-09-20 Video signal coding method

Country Status (1)

Country Link
JP (1) JP2586715B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04144496A (en) * 1990-10-05 1992-05-18 Nec Corp Device for separating and coding background in moving image signal
WO2002063885A1 (en) * 2001-01-30 2002-08-15 Kabushiki Kaisha Office Noa Moving picture information compressing method and its system
WO2003039163A1 (en) * 2001-11-01 2003-05-08 Kabushiki Kaisha Office Noa Moving picture information compression method and system thereof
US6912318B2 (en) 2000-06-06 2005-06-28 Kabushiki Kaisha Office Noa Method and system for compressing motion image information
US7085424B2 (en) 2000-06-06 2006-08-01 Kobushiki Kaisha Office Noa Method and system for compressing motion image information

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04144496A (en) * 1990-10-05 1992-05-18 Nec Corp Device for separating and coding background in moving image signal
US6912318B2 (en) 2000-06-06 2005-06-28 Kabushiki Kaisha Office Noa Method and system for compressing motion image information
US7085424B2 (en) 2000-06-06 2006-08-01 Kobushiki Kaisha Office Noa Method and system for compressing motion image information
WO2002063885A1 (en) * 2001-01-30 2002-08-15 Kabushiki Kaisha Office Noa Moving picture information compressing method and its system
WO2003039163A1 (en) * 2001-11-01 2003-05-08 Kabushiki Kaisha Office Noa Moving picture information compression method and system thereof

Also Published As

Publication number Publication date
JP2586715B2 (en) 1997-03-05

Similar Documents

Publication Publication Date Title
JPH04334188A (en) Coding system for moving picture signal
US20220046266A1 (en) Image encoder and related non-transitory computer readable medium for image decoding
US5177608A (en) Method and apparatus for coding moving image signal
US5438374A (en) System and method for filtering video signals
US6751350B2 (en) Mosaic generation and sprite-based coding with automatic foreground and background separation
US7822231B2 (en) Optical flow estimation method
JPS6152084A (en) Highly efficient encoder
EP3941063A1 (en) Encoding device, decoding device, encoding method, and decoding method
JPH09275578A (en) Multi-viewpoint encoding and decoding device
JP2003032688A (en) Separation method of foreground and background regions for moving image, and moving image coding method by conditional pixel replenishment by using this method
JPH04129491A (en) Coding system for moving picture signal
JP2586714B2 (en) Video signal coding method
JPH0846961A (en) Method for encoding and decoding picture
JP5180550B2 (en) Image processing apparatus and image processing method
JP2586720B2 (en) Video signal coding method
JPH06165164A (en) Dynamic picture processor
JPH04129490A (en) Coding system for moving picture signal
JPH0244883A (en) Moving picture transmission system
JPH05183891A (en) Moving picture encoder
JPH0681308B2 (en) Quantization noise suppression method in interframe coding
JP2621626B2 (en) Background signal encoding device for image signals
JP2825821B2 (en) Video encoding processing method
JP2576704B2 (en) Video signal encoding device
JPH04144496A (en) Device for separating and coding background in moving image signal
JPH04144495A (en) Encoder for image signal