JP3738511B2 - Video coding system - Google Patents

Video coding system Download PDF

Info

Publication number
JP3738511B2
JP3738511B2 JP00776597A JP776597A JP3738511B2 JP 3738511 B2 JP3738511 B2 JP 3738511B2 JP 00776597 A JP00776597 A JP 00776597A JP 776597 A JP776597 A JP 776597A JP 3738511 B2 JP3738511 B2 JP 3738511B2
Authority
JP
Japan
Prior art keywords
unit
inter
output
frame
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP00776597A
Other languages
Japanese (ja)
Other versions
JPH10210474A (en
Inventor
喜子 幡野
まさ子 浅村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP00776597A priority Critical patent/JP3738511B2/en
Publication of JPH10210474A publication Critical patent/JPH10210474A/en
Application granted granted Critical
Publication of JP3738511B2 publication Critical patent/JP3738511B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/004Predictors, e.g. intraframe, interframe coding

Description

【0001】
【発明の属する技術分野】
この発明は、動画像の時間軸方向の相関を利用して符号化を行う動画像符号化方式に関する。
【0002】
【従来の技術】
図7は、例えば、特公平8−2106号公報に示された従来の動画像符号化方式を示すブロック図である。図7において、入力端子1より供給される入力画像信号は減算器2の第一の入力に与えられる。減算器2の出力は遅延器3aを介して、切替器4の第一の入力に与えられる。入力端子1より供給される入力画像信号は遅延器3bを介して、切替器4の第二の入力にも与えられる。切替器4の第三の入力には零信号が与えられる。一方、入力端子1より供給される入力画像信号と減算器2の出力は、有効ブロック判定部およびフレーム間/フレーム内選択部(以下、「判定および選択部」という)5にも入力される。この判定および選択部5の第一,第二の出力は、それぞれ、切替器4の第四,第五の入力に与えられる。切替器4の出力は直交変換器6および量子化器7を介して図示していない復号器側に送出されるが、合わせて逆量子化器8にも送られる。逆量子化器8の出力は逆直交変換器9を介して、加算器10の第一の入力に与えられる。加算器10の出力は動き補償予測器11の第一の入力に与えられる。動き補償予測器11の第二の入力には入力端子1から供給される入力画像信号が与えられ、動き補償予測器11の出力は減算器2の第二の入力と切替器12の第一の入力に与えられる。切替器12の第二の入力には零信号が与えられ、切替器12の第三の入力には判定および選択部5の第一の出力が与えられる。切替器12の出力は加算器10の第二の入力に与えられる。
【0003】
次に動作について説明する。入力信号は動画像信号を複数画素分まとめてブロック化したものである。この入力信号は入力端子1から供給されて、減算器2において動き補償予測値との差分がとられ、フレーム間予測誤差信号が得られる。この予測誤差信号と入力画像信号は、判定および選択部5に送られる。この判定および選択部5は、各ブロックをフレーム間で符号化するかフレーム内で符号化するかを示す第一の制御信号と、各ブロックが有効ブロックであるか否かを示す第二の制御信号とを出力する。遅延器3aおよび3bは判定および選択部5内で生ずる遅延分を補正するためのものである。切替器4は判定および選択部5から出力される2つの制御信号に基づき、フレーム間予測誤差信号、フレーム内信号、零信号のいずれかを選択して出力する。切替器4の出力は直交変換され、量子化されて、図示していない復号器側へ出力される。
【0004】
この量子化された変換係数は、逆量子化器8を介して逆直交変換器9にも入力され、再生値が出力される。加算器10において、この再生値に動き補償予測値を加えるか、零を加えるかは、前記フレーム間/フレーム内選択部5からの第一の制御信号により決定され、切替器12で選択される。
【0005】
加算器10から出力される信号は復号信号であり、動き補償予測器11の中に記憶され、以後の予測符号化に使用される。動き補償予測器11は、入力端子1から供給される入力信号と、記憶されている復号信号との比較により動き量を検出し、動き補償予測値を出力する。
【0006】
判定および選択部5は、両部分を別々に構成することもできるが、共通化できる部分も多数あるため、両者を合わせた判定および選択部5で示している。一般に、テレビ会議信号のような動画像信号を対象とする場合、背景などの静止している部分については、フレーム間予測誤差信号が0となるので、この誤差信号を送らないことにより伝送効率を高めることが可能である。しかしながら、このような静止部分においても、入力画像信号に雑音が乗っていたりするために、予測誤差信号が0とならず、これを直交変換するとある変換係数に大きな値が生じることがある。この場合、本来なら情報を送らなくてよいブロックについても信号を送らなくてはならないことになる。このような場合には、伝送効率の低下となるばかりでなく、隣り合うブロックで情報を送ったり送らなかったりするために、ブロック歪みが生じて視覚的妨害となることがある。そこで、直交変換を行う前に、予測誤差信号をブロック毎にまとめて有効/無効の判定を行い、無効ブロックについては予測誤差信号を0にリセットすることで、効率の低下を防いでいる。
【0007】
また、動きの大きなブロックやシーンチェンジにおいては、予測誤差が大きくなるため、入力画像信号をそのまま直交変換した方が伝送効率が高くなることがある。そこで、ブロック毎に、フレーム間/フレーム内符号化を選択することが有効となる。
【0008】
まず、有効ブロック判定部は、ブロック毎に予測誤差信号の2乗和Smをとり、この評価量Smが予め定められた閾値T1以上のときは現入力ブロックを有効ブロックとしてフレーム間予測誤差信号をそのまま直交変換符号化するが、T1未満のときは現入力ブロックを無効ブロックとし、以後このブロックの予測誤差信号を全て零とする。また、フレーム間/フレーム内選択部は、上記評価値Smと、入力ブロックの分散値Siとを用い、予め定めた閾値T2について、Sm≧T2でかつSm>Siの時には、入力画像信号を選択して、フレーム内符号化を行うように制御し、Sm<T2またはSm≦Siの時にはフレーム間予測誤差信号を選択するよう制御する。
【0009】
【発明が解決しようとする課題】
従来の動画像符号化方式においては、静止している部分の画像に雑音が乗っている場合も、画質劣化や伝送効率の低下を生じないように、有効ブロックの判定を行なっていた。しかしながら、従来、有効ブロックの判定には予測誤差信号のみを用いているため、予測誤差信号を符号化するときの量子化歪みについては考慮されていない。特に低レートの固定レート符号化においては、有効ブロックが多いと量子化が粗くなり、無効ブロックが多いと量子化が細かくなるので、無効ブロックとして予測誤差信号が送られないことによる劣化より、有効ブロックとしたために生じる量子化歪みの方が視覚的に目だつことがあるという問題があった。
【0010】
また、従来の動画像符号化方式においては、有効ブロックの判定において入力画像の性質を考慮していないので、視覚的に目立たない予測誤差も符号化を行い、符号量削減の妨害となっているという問題があった。
【0011】
この発明は上記のような問題点を解消するためになされたもので、有効ブロックとしたときの量子化歪みと、予測誤差信号の大きさとを比較することにより、歪みを最小にするという意味で最適な有効ブロック判定を行う動画像符号化方式を得ることを目的とする。
【0012】
また、この発明は、有効ブロックとしたときの量子化歪みと、無効ブロックとした場合の視覚的妨害の大きさとを比較することにより、視覚的な歪みを最小にするという意味で最適な有効ブロック判定を行う動画像符号化方式を得ることを目的とする。
【0013】
また、この発明は、無効ブロックとした場合の視覚的妨害の大きさを用いて有効ブロック判定を行うことにより、視覚的に目立たない予測誤差の伝送を行なわず、符号量削減のできる動画像符号化方式を得ることを目的とする。
【0014】
【課題を解決するための手段】
この発明による動画像符号化方式は、動画像信号を複数画素分まとめてブロック化した入力画像信号と前記入力画像信号より前に入力された画像信号とを比較して動き量検出を行い動き補償予測値を出力する動き補償予測部と、前記動き補償予測値および前記入力画像信号に基づき求めたフレーム間予測誤差と前記入力画像信号とに基づきフレーム間符号化またはフレーム内符号化のいずれかを行うことを選択する選択部と、前記選択部がフレーム内符号化を選択した場合に前記入力画像信号を出力し、フレーム間符号化を選択した場合に前記フレーム間予測誤差を出力する第1の切替器と、この第一の切替器からの出力を直交変換する直交変換部と、この直交変換部からの出力を量子化する量子化部と、この量子化部からの出力を逆量子化する逆量子化部と、前記選択部においてフレーム内符号化を行うことが選択された場合に、すべてのブロックを有効ブロックと判定するとともに、前記選択部においてフレーム間符号化を行うことが選択された場合に、前記直交変換部の出力と前記逆量子化部の出力から算出される量子化誤差の評価量と、前記フレーム間予測誤差の評価量とを比較して前記フレーム間予測誤差の評価量に対して前記量子化誤差の評価量が小さい場合に有効ブロックと判定し、前記フレーム間予測誤差の評価量に対して前記量子化誤差の評価量が大きい場合に無効ブロックと判定する有効ブロック判定部と、前記有効ブロック判定部の判定に基づき、前記有効ブロックと判定された場合に前記直交変換部の出力する前記フレーム間予測誤差値を直交変換した信号を出力し、前記無効ブロックと判定された場合にゼロ信号を出力する第2の切替部を備えるものである。
【0015】
また、この発明による動画像符号化方式は、動画像信号を複数画素分まとめてブロック化した入力画像信号と前記入力画像信号より前に入力された画像信号とを比較して動き量検出を行い動き補償予測値を出力する動き補償予測部と、前記動き補償予測値および前記入力画像信号に基づき求めたフレーム間予測誤差と前記入力画像信号とに基づきフレーム間符号化またはフレーム内符号化のいずれかを行うことを選択する選択部と、前記選択部がフレーム内符号化を選択した場合に前記入力画像信号を出力し、フレーム間符号化を選択した場合に前記フレーム間予測誤差を出力する第1の切替器と、この第一の切替器からの出力を直交変換する直交変換部と、この直交変換部からの出力を量子化する量子化部と、この量子化部からの出力を逆量子化する逆量子化部と、前記選択部においてフレーム内符号化を行うことが選択された場合に、すべてのブロックを有効ブロックと判定するとともに、前記選択部においてフレーム間符号化を行うことが選択された場合に、前記直交変換部の出力と前記逆量子化部の出力から算出される量子化誤差の評価量と、前記フレーム間予測誤差の評価量とを比較して前記フレーム間予測誤差の評価量に対して前記量子化誤差の評価量が小さい場合に有効ブロックと判定し、前記フレーム間予測誤差の評価量に対して前記量子化誤差の評価量が大きい場合に無効ブロックと判定する有効ブロック判定部と、前記前記有効ブロック判定部の判定に基づき、前記有効ブロックと判定された場合に前記直交変換部の出力する前記フレーム間予測誤差値を直交変換した信号を出力し、前記無効ブロックと判定された場合に前記フレーム間予測誤差の平均値を出力する第2の切替部を備えるものである。
【0016】
さらにこの発明による動画像符号化方式は、前記入力画像信号の各画素について水平方向の変化度と垂直方向の変化度とを比較して、いずれか小さい方を選択し、この選択された前記水平または垂直方向の変化度に基づいて誤差許容度を算出する誤差許容度演算部をさらに備え、前記有効ブロック判定部は、算出した誤差許容度の大きさに応じて前記フレーム間予測誤差信号の評価量を下げ、この下げた前記フレーム間予測誤差信号を用いて有効ブロックか無効ブロックかを判定するものである。
【0018】
【発明の実施の形態】
以下、この発明をその実施の形態を示す図面に基づいて具体的に説明する。
実施の形態1.
図1はこの発明の一実施形態による動画像符号化方式を示すブロック図である。図において、1は入力端子であり、入力端子1から入力された画像信号は減算器2の第一の入力と遅延器(T)3bの入力とフレーム内/フレーム間選択部5aの第一の入力と動き補償予測器11の第一の入力に与えられる。減算器2の出力は遅延器3aに入力されるとともに、フレーム内/フレーム間選択部5aの第二の入力にも与えられる。遅延器(T)3aの出力は切替器4aの第一の入力に与えられる。切替器4aの第二の入力には遅延器3bの出力が与えられ、切替器4aの第三の入力にはフレーム内/フレーム間選択部5aの出力が与えられる。切替器4aの出力は直交変換器6の入力と有効ブロック判定部101の第一の入力に与えられる。直交変換器6の出力は量子化器(Q)7の入力と有効ブロック判定部101の第二の入力に与えられる。量子化器7の出力は遅延器(T)3cを介して切替器4bの第一の入力に与えられる。切替器4bの第二の入力には零信号が与えられる。
【0019】
一方、量子化器7の出力は逆量子化器8にも入力される。逆量子化器(Q-1)8の出力は逆直交変換器9に入力されるとともに、有効ブロック判定部101の第三の入力に与えられる。有効ブロック判定部101の第四の入力にはフレーム内/フレーム間選択部5aの出力が与えられる。有効ブロック判定部101の出力は切替器4bの第三の入力に与えられる。切替器4bの出力は可変長符号器102に入力され、可変長符号器(VLC)102の出力は図示していない復号器側へ伝送される。
【0020】
逆直交変換器9の出力は切替器4cの第一の入力に与えられる。切替器4cの第二の入力には零信号が与えられ、切替器4cの第三の入力には有効ブロック判定部101の出力が与えられる。切替器4cの出力は加算器10の第一の入力に与えられ、加算器10の出力は動き補償予測器11の第二の入力に与えられる。動き補償予測器11の出力は減算器2の第二の入力と切替器12の第一の入力に与えられる。切替器12の第二の入力には零信号が与えられ、切替器12の第三の入力にはフレーム内/フレーム間選択部5aの出力が与えられる。切替器12の出力は加算器10の第二の入力に与えられる。
【0021】
次に動作について説明する。入力信号は動画像信号を複数画素分まとめてブロック化したものである。この入力信号は入力端子1から供給されて、減算器2において動き補償予測値との差分がとられ、フレーム間予測誤差信号が得られる。この予測誤差信号と入力画像信号は、フレーム間/フレーム内選択部5aに送られる。このフレーム間/フレーム内選択部5aは、各ブロックをフレーム間で符号化するかフレーム内で符号化するかを示す制御信号を出力する。遅延器3aおよび3bはフレーム間/フレーム内選択部5a内で生ずる遅延分を補正するためのものである。切替器4aはフレーム間/フレーム内選択部5aから出力される制御信号に基づき、フレーム間予測誤差信号、フレーム内信号のいずれかを選択して出力する。切替器4aの出力は直交変換され、量子化される。量子化された変換係数は、遅延器3cに入力されるとともに、逆量子化器8で逆量子化される。
【0022】
切替器4aから出力される直交変換前の信号と、量子化前の変換係数と、量子化・逆量子化された変換係数とは、有効ブロック判定部101に送られる。有効ブロック判定部101は各ブロックが有効ブロックか無効ブロックかを示す制御信号を出力する。遅延器3cは有効ブロック判定部101内で生ずる遅延分を補正するためのものである。切替器4bは、有効ブロック判定部101から出力される制御信号が有効ブロックを示しているときには量子化された変換係数を、無効ブロックを示しているときは零信号を選択して出力する。切替器4bの出力は可変長符号器102で可変長符号化されて、図示していない復号器側へ伝送される。
【0023】
一方、逆量子化器8の出力は、逆直交変換器9で逆直交変換される。切替器4cは、有効ブロック判定部101から出力される制御信号が有効ブロックを示しているときは逆直交変換器9の出力を、無効ブロックを示しているときは零信号を選択して出力する。この切替器4cにより、復号器側で得られるのと同じ再生値が得られる。加算器10において、この再生値に動き補償予測値を加えるか、零を加えるかは、先のフレーム間/フレーム内選択部5aからの制御信号により決定され、切替器12で選択される。
【0024】
加算器10から出力される信号は復号信号であり、動き補償予測器11の中に記憶され、以後の予測符号化に使用される。動き補償予測器11は、入力端子1から供給される入力信号と、記憶されている復号信号との比較により動き量を検出し、動き補償予測値を出力する。
【0025】
フレーム内/フレーム間選択部5aの動作は、前記従来例のフレーム内/フレーム間選択部5と同様である。すなわち、予測誤差の二乗和Smと、入力ブロックの分散値Siとを用い、予め定めた閾値T2について、Sm≧T2でかつSm>Siの時には、入力画像信号を選択して、フレーム内符号化を行うように制御し、Sm<T2またはSm≦Siの時にはフレーム間予測誤差信号を選択するよう制御する。
【0026】
有効ブロック判定部101は、フレーム内/フレーム間選択部5aから出力される制御信号がフレーム間予測誤差信号の選択を示している場合に、予測誤差信号の評価量と、量子化前の変換係数と量子化・逆量子化された変換係数の誤差の評価量とから、各ブロックが有効ブロックか無効ブロックかを判定する。例えば、予測誤差信号の評価量Emとして予測誤差の二乗和を用い、変換係数の量子化誤差の評価量Eqとして量子化誤差の二乗和を用いる。すなわち、ブロックの大きさをN画素×Nライン(Nは自然数)とし、各ブロックの予測誤差信号をp(i,j)(0≦i,j<N;i,jは整数)、量子化前の変換係数をd(i,j)、量子化・逆量子化後の変換係数をdq(i,j)とすると、
【0027】
【数1】

Figure 0003738511
【0028】
【数2】
Figure 0003738511
【0029】
とする。
【0030】
一般に、直交変換の性質から、p(i,j)と、これを直交変換した変換係数d(i,j)の間には、
【0031】
【数3】
Figure 0003738511
【0032】
という関係が成り立つ。また、逆直交変換器9の出力をpq(i,j)とすると、dq(i,j)はpq(i,j)を直交変換したときの変換係数であるから、直交変換の線形性より、p(i,j)−pq(i,j)の直交変換がd(i,j)−dq(i,j)となる。従って、
【0033】
【数4】
Figure 0003738511
【0034】
が成り立つ。よって、予測誤差信号の量子化歪みp(i,j)−pq(i,j)は、変換係数の量子化誤差の評価量Eqで表わすことができる。そこで、評価量Emが評価量Eq以上のときは当該ブロックを有効ブロック、評価量Eq未満のときは無効ブロックと判定すると、予測誤差信号を送らないことによる劣化より量子化歪みの方が大きいときは無効ブロック、そうでないときは有効ブロックと判定される。ただし、フレーム内/フレーム間選択部5aから出力される制御信号がフレーム内符号化を示している場合は、すべてのブロックを有効ブロックとする。
【0035】
既に述べたように、無効ブロックと判定された場合には切替器4bおよび4cにより、そのブロックの変換係数および予測誤差信号が0に置き換えられるため、当該ブロックに関する予測誤差情報は送られない。
【0036】
なお、上記実施の形態1においては、予測誤差信号の評価量Emとして予測誤差の二乗和を用い、変換係数の量子化誤差の評価量Eqとして量子化誤差の二乗和を用いたが、評価量Em、Eqはこれに限るものではなく、それぞれ、予測誤差、量子化誤差の、絶対値和、絶対値の最大値、またこれらの値にオフセット値を加えたものなど、大きさの指標となる評価量を用いることができる。
【0037】
実施の形態2.
図2は、この発明の実施の形態2による動画像符号化方式を示すブロック図である。図中、図1と同一符号は同一または相当部分を示している。図において、1は入力端子であり、入力端子1から入力された画像信号は減算器2の第一の入力と遅延器3bの入力とフレーム内/フレーム間選択部5aの第一の入力と動き補償予測器11の第一の入力に与えられる。減算器2の出力は遅延器3aに入力されるとともに、フレーム内/フレーム間選択部5aの第二の入力にも与えられる。遅延器3aの出力は切替器4aの第一の入力に与えられる。切替器4aの第二の入力には遅延器3bの出力が与えられ、切替器4aの第三の入力にはフレーム内/フレーム間選択部5aの出力が与えられる。切替器4aの出力は直交変換器6の入力と有効ブロック判定部101の第一の入力に与えられる。直交変換器6の出力は量子化器7の入力と有効ブロック判定部101の第二の入力に与えられる。量子化器7の出力は遅延器3cを介して切替器4dの第一の入力に与えられる。切替器4dの第二の入力には零信号が与えられる。
【0038】
一方、量子化器7の出力は逆量子化器8にも入力される。逆量子化器8の出力は遅延器3dに入力されるとともに、有効ブロック判定部101の第三の入力に与えられる。有効ブロック判定部101の第四の入力にはフレーム内/フレーム間選択部5aの出力が与えられる。有効ブロック判定部101の出力は切替器4dの第三の入力に与えられる。切替器4dの出力は可変長符号器102に入力され、可変長符号器102の出力は復号器側へ伝送される。
【0039】
遅延器(T)3dの出力は切替器4eの第一の入力に与えられる。切替器4eの第二の入力には零信号が与えられ、切替器4eの第三の入力には有効ブロック判定部101の出力が与えられる。切替器4eの出力は逆直交変換器9を介して加算器10の第一の入力に与えられ、加算器10の出力は動き補償予測器11の第二の入力に与えられる。動き補償予測器11の出力は減算器2の第二の入力と切替器12の第一の入力に与えられる。切替器12の第二の入力には零信号が与えられ、切替器12の第三の入力にはフレーム内/フレーム間選択部5aの出力が与えられる。切替器12の出力は加算器10の第二の入力に与えられる。
【0040】
次に動作について説明する。この実施の形態2による動画像符号化方式は、有効ブロック判定部101の判定が無効ブロックを示している場合に、当該ブロックの予測誤差の平均値のみを伝送する点が、実施の形態1と異なる。すなわち、有効ブロック判定部101から出力される制御信号が無効ブロックを示している場合に、切替器4dと4eは、DC以外の変換係数を0に置き換える。これにより、無効ブロックについては、ブロックの予測誤差信号の平均値のみが伝送されることになる。なお、遅延器3cと3dは有効ブロック判定部101内で生じる遅延分を補正するためのものである。
【0041】
実施の形態3.
図3は、この発明の実施の形態3による動画像符号化方式を示すブロック図である。図中、図2と同一符号は同一または相当部分を示している。図において、1は入力端子であり、入力端子1から入力された画像信号は減算器2の第一の入力と遅延器3bの入力とフレーム内/フレーム間選択部5aの第一の入力と誤差許容度演算部103と動き補償予測器11の第一の入力に与えられる。減算器2の出力は遅延器3aに入力されるとともに、フレーム内/フレーム間選択部5aの第二の入力にも与えられる。遅延器3aの出力は切替器4aの第一の入力に与えられる。切替器4aの第二の入力には遅延器3bの出力が与えられ、切替器4aの第三の入力にはフレーム内/フレーム間選択部5aの出力が与えられる。切替器4aの出力は直交変換器6の入力と有効ブロック判定部101aの第一の入力に与えられる。直交変換器6の出力は量子化器7の入力と有効ブロック判定部101aの第二の入力に与えられる。量子化器7の出力は遅延器3cを介して切替器4dの第一の入力に与えられる。切替器4dの第二の入力には零信号が与えられる。
【0042】
一方、量子化器7の出力は逆量子化器8にも入力される。逆量子化器8の出力は遅延器3dに入力されるとともに、有効ブロック判定部101aの第三の入力に与えられる。有効ブロック判定部101aの第四の入力には誤差許容度演算部103の出力が、第五の入力にはフレーム内/フレーム間選択部5aの出力が与えられる。有効ブロック判定部101aの出力は切替器4dの第三の入力に与えられる。切替器4dの出力は可変長符号器102に入力され、可変長符号器102の出力は復号器側へ伝送される。
【0043】
遅延器3dの出力は切替器4eの第一の入力に与えられる。切替器4eの第二の入力には零信号が与えられ、切替器4eの第三の入力には有効ブロック判定部101aの出力が与えられる。切替器4eの出力は逆直交変換器9を介して加算器10の第一の入力に与えられ、加算器10の出力は動き補償予測器11の第二の入力に与えられる。動き補償予測器11の出力は減算器2の第二の入力と切替器12の第一の入力に与えられる。切替器12の第二の入力には零信号が与えられ、切替器12の第三の入力にはフレーム内/フレーム間選択部5aの出力が与えられる。切替器12の出力は加算器10の第二の入力に与えられる。
【0044】
次に動作について説明する。この実施の形態3による動画像符号化方式は、有効ブロック判定部101aの判定に、誤差許容度演算部103の出力が使われる点が、実施の形態2と異なる。一般に、図4(a)のような画像信号があった場合、図4(b)のように、平坦部に乗ったノイズは目立ちやすいが、エッジ部に乗ったノイズは目立ちにくい。すなわち、同じ大きさのノイズでも、元の画像信号の特徴により、主観的に許容できる画質になる場合と許容できない画質になる場合とがある。そこで、誤差許容度演算部103は入力画像信号から画面内の各画素がどの程度のレベルまで誤差を許容できるかを示す誤差許容度を求める。
【0045】
図5は誤差許容度演算部103の一構成例を示すブロック図である。図において、501は水平変化度演算部、502は垂直変化度演算部、503は最小値検出器、504は誤差許容度変換部である。まず、入力画像は、水平変化度演算部501および垂直変化度演算部502において、水平および垂直方向の変化度が各画素毎に求められる。たとえば、入力画像信号をg(x,y)(0≦x<L、0≦y<M;L、Mは画像の水平、垂直方向の画素数)とすると、各画素(x,y)について、水平変化度Ch(x,y)を
【0046】
【数5】
Figure 0003738511
【0047】
により求め、垂直変化度Cv(x,y)を
【0048】
【数6】
Figure 0003738511
【0049】
により求める。最小値検出器503は、水平変化度と垂直変化度のうち小さい方、すなわち、C(x,y)=min{Ch(x,y),Cv(x,y)}を出力する。誤差許容度変換部504は、この変化度C(x,y)を
D(x,y)=f(C(x,y))
により誤差許容度D(x,y)に変換する。ここで、f(z)は図6のような特性をもつ関数である。従って、変化度が小さいときには誤差許容度は小さく、変化度が大きいときには誤差許容度は大きくなる。この誤差許容度D(x,y)は有効ブロック判定部101aに出力される。
【0050】
有効ブロック判定部101aは、フレーム内/フレーム間選択部5aから出力される制御信号がフレーム間予測誤差信号の選択を示している場合に、予測誤差信号の評価量Emと、変換係数の量子化誤差の評価量Eqとを求め、評価量Emが評価量Eq以上のときは当該ブロックを有効ブロック、評価量Eq未満のときは無効ブロックと判定する。このとき、予測誤差信号の大きさの評価に、誤差許容度D(x,y)を用いる。例えば、予測誤差信号の大きさから誤差許容度D(x,y)を差し引き、その二乗和を評価量Emとする。すなわち、ブロックの大きさをN画素×Nライン(Nは自然数)とし、各ブロックの予測誤差信号をp(i,j)(0≦i,j<N;i,jは整数)、このブロックの誤差許容度をDb(i,j)=D(x0+i,y0+j)(ここで(x0,y0)は当該ブロックの左上の画素の位置)とすると、
【0051】
【数7】
Figure 0003738511
【0052】
とする。これにより、予測誤差信号の評価量Emは視覚特性を考慮した誤差の評価となる。評価量Eqは実施の形態1、2と同様に求める。有効ブロック判定部101aは、これらの評価量Em、Eqをもとに、有効ブロック/無効ブロックの判定を行う。
【0053】
他の動作は実施の形態2と同様である。すなわち、有効ブロック判定部101aから出力される制御信号が無効ブロックを示している場合に、切替器4dと4eは、DC以外の変換係数を0に置き換える。これにより、無効ブロックについては、ブロックの予測誤差信号の平均値のみが伝送されることになる。
【0054】
なお、上記実施の形態3においては、予測誤差信号の大きさから誤差許容度D(x,y)を差し引き、その二乗和を評価量Emとしたが、予測誤差信号の評価量Emはこれに限るものではなく、例えば、二乗和の代わりに、絶対値和、絶対値の最大値を用いてもよい。
また、誤差許容度D(x,y)の用い方も、減算だけでなく、割り算で反映させてもよく、例えば、予測誤差信号の大きさに誤差許容度D(x,y)の逆数をかけた値の二乗和を評価量Emとしてもよい。
【0055】
また、誤差許容度D(x,y)も、水平変化度Ch(x,y)と垂直変化度Cv(x,y)の最小値から求めることに限定されるものではなく、高域通過フィルタの出力などを用いてもよい。
【0056】
また、上記実施の形態3においては、切替器4dと4eは、DC以外の変換係数を0に置き換えるとしたが、切替器4dと4eは、すべての変換係数を0に置き換えるよう構成してもよい。
【0057】
さらに、上記実施の形態3においては、有効ブロック判定部101aが予測誤差信号の評価量Emと、変換係数の量子化誤差の評価量Eqとから有効ブロック/無効ブロックの判定を行なったが、有効ブロック判定部101aは、誤差許容度D(x,y)を用いて求めた予測誤差信号の評価量Emのみを使って、有効ブロック/無効ブロックの判定を行なってもよい。すなわち、評価量Emが所定値以上のときは当該ブロックを有効ブロック、所定値未満のときは無効ブロックと判定する。
【0058】
【発明の効果】
以上のように、この発明による動画像符号化方式は、動画像信号を複数画素分まとめてブロック化した入力画像信号と前記入力画像信号より前に入力された画像信号とを比較して動き量検出を行い動き補償予測値を出力する動き補償予測部と、前記動き補償予測値および前記入力画像信号に基づき求めたフレーム間予測誤差と前記入力画像信号とに基づきフレーム間符号化またはフレーム内符号化のいずれかを行うことを選択する選択部と、前記選択部がフレーム内符号化を選択した場合に前記入力画像信号を出力し、フレーム間符号化を選択した場合に前記フレーム間予測誤差を出力する第1の切替器と、この第一の切替器からの出力を直交変換する直交変換部と、この直交変換部からの出力を量子化する量子化部と、この量子化部からの出力を逆量子化する逆量子化部と、前記選択部においてフレーム内符号化を行うことが選択された場合に、すべてのブロックを有効ブロックと判定するとともに、前記選択部においてフレーム間符号化を行うことが選択された場合に、前記直交変換部の出力と前記逆量子化部の出力から算出される量子化誤差の評価量と、前記フレーム間予測誤差の評価量とを比較して前記フレーム間予測誤差の評価量に対して前記量子化誤差の評価量が小さい場合に有効ブロックと判定し、前記フレーム間予測誤差の評価量に対して前記量子化誤差の評価量が大きい場合に無効ブロックと判定する有効ブロック判定部と、前記有効ブロック判定部の判定に基づき、前記有効ブロックと判定された場合に前記直交変換部の出力する前記フレーム間予測誤差値を直交変換した信号を出力し、前記無効ブロックと判定された場合にゼロ信号を出力する第2の切替部を備えたので、歪みを最小にするという意味で最適な有効ブロック判定を行う動画像符号化方式を得ることが出来る。
【0059】
また、この発明による動画像符号化方式は、動画像信号を複数画素分まとめてブロック化した入力画像信号と前記入力画像信号より前に入力された画像信号とを比較して動き量検出を行い動き補償予測値を出力する動き補償予測部と、前記動き補償予測値および前記入力画像信号に基づき求めたフレーム間予測誤差と前記入力画像信号とに基づきフレーム間符号化またはフレーム内符号化のいずれかを行うことを選択する選択部と、前記選択部がフレーム内符号化を選択した場合に前記入力画像信号を出力し、フレーム間符号化を選択した場合に前記フレーム間予測誤差を出力する第1の切替器と、この第一の切替器からの出力を直交変換する直交変換部と、この直交変換部からの出力を量子化する量子化部と、この量子化部からの出力を逆量子化する逆量子化部と、前記選択部においてフレーム内符号化を行うことが選択された場合に、すべてのブロックを有効ブロックと判定するとともに、前記選択部においてフレーム間符号化を行うことが選択された場合に、前記直交変換部の出力と前記逆量子化部の出力から算出される量子化誤差の評価量と、前記フレーム間予測誤差の評価量とを比較して前記フレーム間予測誤差の評価量に対して前記量子化誤差の評価量が小さい場合に有効ブロックと判定し、前記フレーム間予測誤差の評価量に対して前記量子化誤差の評価量が大きい場合に無効ブロックと判定する有効ブロック判定部と、前記前記有効ブロック判定部の判定に基づき、前記有効ブロックと判定された場合に前記直交変換部の出力する前記フレーム間予測誤差値を直交変換した信号を出力し、前記無効ブロックと判定された場合に前記フレーム間予測誤差の平均値を出力する第2の切替部を備えたので、歪みを最小にするという意味で最適な有効ブロック判定を行う動画像符号化方式を得ることができる。
【0060】
さらに、この発明による動画像符号化方式は、前記入力画像信号の各画素について水平方向の変化度と垂直方向の変化度とを比較して、いずれか小さい方を選択し、この選択された前記水平または垂直方向の変化度に基づいて誤差許容度を算出する誤差許容度演算部をさらに備え、前記有効ブロック判定部は、算出した誤差許容度の大きさに応じて前記フレーム間予測誤差信号の評価量を下げ、この下げた前記フレーム間予測誤差信号を用いて有効ブロックか無効ブロックかを判定するので符号量の削減できる動画像符号化方式を得ることができる。
【0061】
また、この発明による動画像符号化方式は、入力画像信号から画面の各画素の誤差許容度を求める手段と、この誤差許容度をもとに予測誤差信号の評価量Emを求め、評価量Emが所定値以上のときは当該ブロックを有効ブロック、所定値未満のときは無効ブロックと判定する有効ブロック判定部を有し、無効ブロックと判定された場合には当該ブロックに関する予測誤差情報は送らず、有効ブロックと判定された場合には直交変換した後にその変換係数を量子化し、非零信号が生じた場合には量子化された変換係数値を伝送するので、視覚的に目立たない予測誤差の伝送を行なわず、符号量削減のできる動画像符号化方式を得ることができる。
【図面の簡単な説明】
【図1】 この発明の実施の形態1による動画像符号化方式を示すブロック図である。
【図2】 この発明の実施の形態2による動画像符号化方式を示すブロック図である。
【図3】 この発明の実施の形態3による動画像符号化方式を示すブロック図である。
【図4】 実施の形態3による動画像符号化方式の動作を説明するための、画像信号の波形図である。
【図5】 実施の形態3による動画像符号化方式の誤差許容度演算部の一構成例を示すブロック図である。
【図6】 実施の形態3による動画像符号化方式の誤差許容度の求め方を示す概念図である。
【図7】 従来の動画像符号化装置を示すブロック図である。
【符号の説明】
2 減算器、3a,3b,3c,3d 遅延器、4a,4b,4c,4d 切替器、5a フレーム内/フレーム間選択部、6 直交変換器、7 量子化器、8 逆量子化器、9 逆直交変換器、10 加算器、11 動き補償予測器、101,101a 有効ブロック判定部、103 誤差許容度演算部。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a moving picture coding system that performs coding using correlation in the time axis direction of moving pictures.
[0002]
[Prior art]
FIG. 7 is a block diagram showing a conventional moving picture encoding method disclosed in, for example, Japanese Patent Publication No. 8-2106. In FIG. 7, the input image signal supplied from the input terminal 1 is given to the first input of the subtractor 2. The output of the subtracter 2 is given to the first input of the switch 4 via the delay device 3a. The input image signal supplied from the input terminal 1 is also given to the second input of the switch 4 via the delay device 3b. A zero signal is given to the third input of the switch 4. On the other hand, the input image signal supplied from the input terminal 1 and the output of the subtracter 2 are also input to an effective block determination unit and an interframe / intraframe selection unit (hereinafter referred to as “determination and selection unit”) 5. The first and second outputs of the determination and selection unit 5 are given to the fourth and fifth inputs of the switch 4, respectively. The output of the switch 4 is sent to the decoder side (not shown) via the orthogonal transformer 6 and the quantizer 7, but is also sent to the inverse quantizer 8 together. The output of the inverse quantizer 8 is given to the first input of the adder 10 via the inverse orthogonal transformer 9. The output of the adder 10 is given to the first input of the motion compensated predictor 11. The input image signal supplied from the input terminal 1 is given to the second input of the motion compensation predictor 11, and the output of the motion compensation predictor 11 is the second input of the subtracter 2 and the first input of the switch 12. Given to input. A zero signal is given to the second input of the switch 12, and the first output of the determination and selection unit 5 is given to the third input of the switch 12. The output of the switch 12 is given to the second input of the adder 10.
[0003]
Next, the operation will be described. The input signal is a moving image signal which is a block made up of a plurality of pixels. This input signal is supplied from the input terminal 1, and the subtracter 2 calculates a difference from the motion compensated prediction value to obtain an inter-frame prediction error signal. The prediction error signal and the input image signal are sent to the determination and selection unit 5. The determination and selection unit 5 includes a first control signal indicating whether each block is encoded between frames or within a frame, and a second control indicating whether each block is an effective block. Signal. The delay units 3a and 3b are for correcting a delay generated in the determination and selection unit 5. The switch 4 selects and outputs any of the inter-frame prediction error signal, the intra-frame signal, and the zero signal based on the two control signals output from the determination and selection unit 5. The output of the switch 4 is orthogonally transformed, quantized, and output to a decoder side (not shown).
[0004]
The quantized transform coefficient is also input to the inverse orthogonal transformer 9 via the inverse quantizer 8, and a reproduction value is output. In the adder 10, whether to add a motion compensation predicted value or zero to this reproduction value is determined by the first control signal from the inter-frame / intra-frame selector 5 and is selected by the switch 12. .
[0005]
The signal output from the adder 10 is a decoded signal, stored in the motion compensated predictor 11, and used for subsequent predictive coding. The motion compensation predictor 11 detects a motion amount by comparing the input signal supplied from the input terminal 1 with the stored decoded signal, and outputs a motion compensation prediction value.
[0006]
The determination and selection unit 5 can be configured separately for both parts, but since there are many parts that can be shared, the determination and selection unit 5 is shown together. In general, when a moving image signal such as a video conference signal is targeted, an inter-frame prediction error signal is 0 for a stationary part such as a background. Therefore, transmission efficiency is reduced by not sending this error signal. It is possible to increase. However, even in such a stationary portion, noise is added to the input image signal, so that the prediction error signal does not become 0, and if this is orthogonally transformed, a large value may be generated in a certain conversion coefficient. In this case, a signal must be sent even for a block that normally does not need to send information. In such a case, not only the transmission efficiency is lowered, but also information is not sent or not sent between adjacent blocks, so that block distortion may occur, resulting in visual disturbance. Therefore, before performing orthogonal transform, the prediction error signal is collectively determined for each block to determine whether it is valid / invalid, and for the invalid block, the prediction error signal is reset to 0 to prevent a reduction in efficiency.
[0007]
In addition, in a block or scene change with a large motion, a prediction error becomes large, so that the transmission efficiency may be higher when the input image signal is subjected to orthogonal transformation as it is. Therefore, it is effective to select interframe / intraframe coding for each block.
[0008]
First, the effective block determination unit calculates the sum of squares Sm of prediction error signals for each block, and when this evaluation amount Sm is equal to or greater than a predetermined threshold T1, the current input block is set as an effective block to generate an inter-frame prediction error signal. Orthogonal transform coding is performed as it is, but when it is less than T1, the current input block is set as an invalid block, and thereafter the prediction error signals of this block are all set to zero. The inter-frame / intra-frame selection unit uses the evaluation value Sm and the variance value Si of the input block to select an input image signal when Sm ≧ T2 and Sm> Si for a predetermined threshold T2. Then, control is performed so that intra-frame coding is performed, and control is performed so as to select an inter-frame prediction error signal when Sm <T2 or Sm ≦ Si.
[0009]
[Problems to be solved by the invention]
In the conventional moving image coding method, the effective block is determined so that the image quality is not deteriorated and the transmission efficiency is not lowered even when noise is added to the still image. However, conventionally, only the prediction error signal is used to determine the effective block, and therefore, quantization distortion when encoding the prediction error signal is not taken into consideration. Especially in low-rate fixed-rate coding, if there are many effective blocks, the quantization becomes coarse, and if there are many invalid blocks, the quantization becomes fine, so it is more effective than deterioration due to the fact that no prediction error signal is sent as an invalid block. There was a problem that the quantization distortion caused by the block may be visually noticeable.
[0010]
In addition, in the conventional moving image encoding method, since the property of the input image is not considered in the determination of the effective block, the prediction error that is visually inconspicuous is also encoded, which hinders the code amount reduction. There was a problem.
[0011]
The present invention has been made to solve the above problems, and in the sense that the distortion is minimized by comparing the quantization distortion when the effective block is used with the size of the prediction error signal. An object of the present invention is to obtain a moving picture coding system that performs optimum effective block determination.
[0012]
In addition, the present invention compares the quantization distortion when an effective block is used with the magnitude of visual interference when an invalid block is used, thereby reducing the optimum effective block in the sense of minimizing visual distortion. An object is to obtain a moving image coding method for performing the determination.
[0013]
The present invention also provides a moving picture code capable of reducing the amount of codes without performing visually inconspicuous prediction error transmission by performing effective block determination using the magnitude of visual interference in the case of an invalid block. The purpose is to obtain a system.
[0014]
[Means for Solving the Problems]
  The moving image encoding system according to the present invention is:A motion-compensated prediction unit that detects a motion amount by comparing an input image signal obtained by blocking a plurality of pixels of a moving image signal and an image signal input before the input image signal, and outputs a motion-compensated prediction value; A selection unit that selects either interframe coding or intraframe coding based on the interframe prediction error obtained based on the motion compensation prediction value and the input image signal and the input image signal; A first switch that outputs the input image signal when the selection unit selects intra-frame coding, and outputs the inter-frame prediction error when inter-frame coding is selected; and the first switch An orthogonal transform unit that orthogonally transforms the output from the output unit, a quantization unit that quantizes the output from the orthogonal transform unit, an inverse quantization unit that dequantizes the output from the quantization unit, and the selection unit. When it is selected to perform intra-frame coding, all blocks are determined to be valid blocks, and when the selection unit is selected to perform inter-frame coding, the output of the orthogonal transform unit The quantization error evaluation amount calculated from the output of the inverse quantization unit and the inter-frame prediction error evaluation amount are compared, and the quantization error evaluation amount is compared with the inter-frame prediction error evaluation amount. A valid block determining unit that determines that the block is an effective block when the evaluation amount of the quantization error is large with respect to the evaluation amount of the inter-frame prediction error, and a determination of the effective block determination unit Based on the above, when the effective block is determined, a signal obtained by orthogonally transforming the inter-frame prediction error value output from the orthogonal transform unit is output, and the invalid block is determined. In which a second switching section for outputting a zero signal when.
[0015]
  In addition, the moving picture coding system according to the present invention is:A motion-compensated prediction unit that detects a motion amount by comparing an input image signal obtained by blocking a plurality of pixels of a moving image signal and an image signal input before the input image signal, and outputs a motion-compensated prediction value; A selection unit that selects either interframe coding or intraframe coding based on the interframe prediction error obtained based on the motion compensation prediction value and the input image signal and the input image signal; A first switch that outputs the input image signal when the selection unit selects intra-frame coding, and outputs the inter-frame prediction error when inter-frame coding is selected; and the first switch An orthogonal transform unit that orthogonally transforms the output from the output unit, a quantization unit that quantizes the output from the orthogonal transform unit, an inverse quantization unit that dequantizes the output from the quantization unit, and the selection unit. When it is selected to perform intra-frame coding, all blocks are determined to be valid blocks, and when the selection unit is selected to perform inter-frame coding, the output of the orthogonal transform unit The quantization error evaluation amount calculated from the output of the inverse quantization unit and the inter-frame prediction error evaluation amount are compared, and the quantization error evaluation amount is compared with the inter-frame prediction error evaluation amount. An effective block determining unit that determines that the block is an effective block when the evaluation amount of the quantization error is large with respect to the evaluation amount of the inter-frame prediction error, and the effective block determining unit Based on the determination, outputs a signal obtained by orthogonally transforming the inter-frame prediction error value output by the orthogonal transform unit when the valid block is determined, and the invalid block In which a second switching unit that outputs the average value of the inter-frame prediction error if it is constant.
[0016]
  Furthermore, the moving picture coding system according to the present invention is:For each pixel of the input image signal, the degree of change in the horizontal direction is compared with the degree of change in the vertical direction, and the smaller one is selected, and an error is allowed based on the selected degree of change in the horizontal or vertical direction. An error tolerance calculation unit for calculating a degree, and the effective block determination unit reduces the evaluation amount of the inter-frame prediction error signal according to the calculated error tolerance, and the reduced inter-frame prediction The error signal is used to determine whether the block is a valid block or an invalid block.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the present invention will be specifically described with reference to the drawings showing embodiments thereof.
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a moving picture coding system according to an embodiment of the present invention. In the figure, 1 is an input terminal, and an image signal input from the input terminal 1 is a first input of a subtracter 2, an input of a delay unit (T) 3b, and a first of an intra-frame / inter-frame selection unit 5a. Input and given to the first input of the motion compensated predictor 11. The output of the subtracter 2 is input to the delay unit 3a and also supplied to the second input of the intra-frame / inter-frame selector 5a. The output of the delay device (T) 3a is given to the first input of the switch 4a. The output of the delay unit 3b is given to the second input of the switch 4a, and the output of the intra-frame / inter-frame selector 5a is given to the third input of the switch 4a. The output of the switch 4 a is given to the input of the orthogonal transformer 6 and the first input of the effective block determination unit 101. The output of the orthogonal transformer 6 is given to the input of the quantizer (Q) 7 and the second input of the effective block determination unit 101. The output of the quantizer 7 is given to the first input of the switch 4b via the delay device (T) 3c. A zero signal is given to the second input of the switch 4b.
[0019]
On the other hand, the output of the quantizer 7 is also input to the inverse quantizer 8. Inverse quantizer (Q-1) 8 is input to the inverse orthogonal transformer 9 and also to the third input of the effective block determination unit 101. The fourth input of the valid block determination unit 101 is given the output of the intra-frame / inter-frame selection unit 5a. The output of the valid block determination unit 101 is given to the third input of the switch 4b. The output of the switch 4b is input to the variable length encoder 102, and the output of the variable length encoder (VLC) 102 is transmitted to the decoder side (not shown).
[0020]
The output of the inverse orthogonal transformer 9 is given to the first input of the switch 4c. A zero signal is given to the second input of the switch 4c, and the output of the effective block determination unit 101 is given to the third input of the switch 4c. The output of the switch 4 c is given to the first input of the adder 10, and the output of the adder 10 is given to the second input of the motion compensation predictor 11. The output of the motion compensation predictor 11 is given to the second input of the subtracter 2 and the first input of the switch 12. A zero signal is given to the second input of the switch 12, and the output of the intra-frame / inter-frame selector 5 a is given to the third input of the switch 12. The output of the switch 12 is given to the second input of the adder 10.
[0021]
Next, the operation will be described. The input signal is a moving image signal which is a block made up of a plurality of pixels. This input signal is supplied from the input terminal 1, and the subtracter 2 calculates a difference from the motion compensated prediction value to obtain an inter-frame prediction error signal. The prediction error signal and the input image signal are sent to the inter-frame / intra-frame selection unit 5a. The inter-frame / intra-frame selection unit 5a outputs a control signal indicating whether each block is encoded between frames or within a frame. The delay devices 3a and 3b are for correcting a delay generated in the inter-frame / intra-frame selector 5a. The switch 4a selects and outputs either the inter-frame prediction error signal or the intra-frame signal based on the control signal output from the inter-frame / intra-frame selection unit 5a. The output of the switch 4a is orthogonally transformed and quantized. The quantized transform coefficient is input to the delay unit 3 c and is inversely quantized by the inverse quantizer 8.
[0022]
The signal before orthogonal transform, the transform coefficient before quantization, and the quantized / dequantized transform coefficient output from the switch 4a are sent to the effective block determination unit 101. The valid block determination unit 101 outputs a control signal indicating whether each block is a valid block or an invalid block. The delay unit 3 c is for correcting a delay generated in the effective block determination unit 101. The switch 4b selects and outputs a quantized transform coefficient when the control signal output from the valid block determination unit 101 indicates a valid block, and a zero signal when the control signal indicates an invalid block. The output of the switch 4b is variable-length encoded by the variable-length encoder 102 and transmitted to a decoder (not shown).
[0023]
On the other hand, the output of the inverse quantizer 8 is inversely orthogonally transformed by the inverse orthogonal transformer 9. The switch 4c selects and outputs the output of the inverse orthogonal transformer 9 when the control signal output from the valid block determination unit 101 indicates a valid block, and selects the zero signal when the control signal indicates an invalid block. . By this switch 4c, the same reproduction value as that obtained on the decoder side can be obtained. In the adder 10, whether to add a motion compensation prediction value or zero to this reproduction value is determined by the control signal from the previous inter-frame / intra-frame selection unit 5 a and is selected by the switch 12.
[0024]
The signal output from the adder 10 is a decoded signal, stored in the motion compensated predictor 11, and used for subsequent predictive coding. The motion compensation predictor 11 detects a motion amount by comparing the input signal supplied from the input terminal 1 with the stored decoded signal, and outputs a motion compensation prediction value.
[0025]
The operation of the intra-frame / inter-frame selector 5a is the same as that of the intra-frame / inter-frame selector 5 in the conventional example. That is, using the sum of squares Sm of prediction errors and the variance value Si of the input block, when Sm ≧ T2 and Sm> Si for a predetermined threshold T2, an input image signal is selected and intra-frame coding is performed. The control is performed so that the inter-frame prediction error signal is selected when Sm <T2 or Sm ≦ Si.
[0026]
When the control signal output from the intra-frame / inter-frame selection unit 5a indicates the selection of the inter-frame prediction error signal, the effective block determination unit 101 determines the prediction error signal evaluation amount and the transform coefficient before quantization. Whether each block is a valid block or an invalid block is determined from the error and the evaluation amount of the quantized / dequantized transform coefficient. For example, a square sum of prediction errors is used as the evaluation amount Em of the prediction error signal, and a square sum of quantization errors is used as the evaluation amount Eq of the quantization error of the transform coefficient. That is, the block size is N pixels × N lines (N is a natural number), the prediction error signal of each block is p (i, j) (0 ≦ i, j <N; i and j are integers), and quantization is performed. If the previous transform coefficient is d (i, j) and the transform coefficient after quantization / inverse quantization is dq (i, j),
[0027]
[Expression 1]
Figure 0003738511
[0028]
[Expression 2]
Figure 0003738511
[0029]
And
[0030]
In general, due to the nature of orthogonal transformation, between p (i, j) and the transformation coefficient d (i, j) obtained by orthogonal transformation thereof,
[0031]
[Equation 3]
Figure 0003738511
[0032]
This relationship holds. If the output of the inverse orthogonal transformer 9 is pq (i, j), dq (i, j) is a transform coefficient when pq (i, j) is orthogonally transformed. , P (i, j) -pq (i, j) is d (i, j) -dq (i, j). Therefore,
[0033]
[Expression 4]
Figure 0003738511
[0034]
Holds. Therefore, the quantization distortion p (i, j) -pq (i, j) of the prediction error signal can be expressed by the evaluation amount Eq of the quantization error of the transform coefficient. Therefore, when the evaluation amount Em is equal to or greater than the evaluation amount Eq, if the block is determined to be an effective block, and if the evaluation amount Em is less than the evaluation amount Eq, the quantization distortion is larger than the deterioration caused by not sending the prediction error signal. Is determined to be an invalid block, otherwise it is determined to be a valid block. However, if the control signal output from the intra-frame / inter-frame selector 5a indicates intra-frame coding, all blocks are valid blocks.
[0035]
As described above, when the block is determined to be an invalid block, the switching units 4b and 4c replace the transform coefficient and the prediction error signal of the block with 0, so that the prediction error information regarding the block is not sent.
[0036]
In the first embodiment, the sum of squares of prediction errors is used as the evaluation amount Em of the prediction error signal, and the square sum of quantization errors is used as the evaluation amount Eq of the quantization error of the transform coefficient. Em and Eq are not limited to these, and are indicators of magnitude, such as the sum of absolute values of prediction errors and quantization errors, the maximum value of absolute values, and the value obtained by adding an offset value to these values, respectively. Evaluation quantities can be used.
[0037]
Embodiment 2. FIG.
FIG. 2 is a block diagram showing a moving picture coding system according to Embodiment 2 of the present invention. In the figure, the same reference numerals as those in FIG. 1 denote the same or corresponding parts. In the figure, reference numeral 1 denotes an input terminal, and an image signal input from the input terminal 1 moves with the first input of the subtracter 2, the input of the delay unit 3b, and the first input of the intra-frame / inter-frame selector 5a. This is given to the first input of the compensation predictor 11. The output of the subtracter 2 is input to the delay unit 3a and also supplied to the second input of the intra-frame / inter-frame selector 5a. The output of the delay device 3a is given to the first input of the switch 4a. The output of the delay unit 3b is given to the second input of the switch 4a, and the output of the intra-frame / inter-frame selector 5a is given to the third input of the switch 4a. The output of the switch 4 a is given to the input of the orthogonal transformer 6 and the first input of the effective block determination unit 101. The output of the orthogonal transformer 6 is given to the input of the quantizer 7 and the second input of the effective block determination unit 101. The output of the quantizer 7 is given to the first input of the switch 4d via the delay unit 3c. A zero signal is given to the second input of the switch 4d.
[0038]
On the other hand, the output of the quantizer 7 is also input to the inverse quantizer 8. The output of the inverse quantizer 8 is input to the delay unit 3d and also supplied to the third input of the effective block determination unit 101. The fourth input of the valid block determination unit 101 is given the output of the intra-frame / inter-frame selection unit 5a. The output of the valid block determination unit 101 is given to the third input of the switch 4d. The output of the switch 4d is input to the variable length encoder 102, and the output of the variable length encoder 102 is transmitted to the decoder side.
[0039]
The output of the delay device (T) 3d is given to the first input of the switch 4e. A zero signal is given to the second input of the switch 4e, and the output of the effective block determination unit 101 is given to the third input of the switch 4e. The output of the switch 4e is given to the first input of the adder 10 via the inverse orthogonal transformer 9, and the output of the adder 10 is given to the second input of the motion compensation predictor 11. The output of the motion compensation predictor 11 is given to the second input of the subtracter 2 and the first input of the switch 12. A zero signal is given to the second input of the switch 12, and the output of the intra-frame / inter-frame selector 5 a is given to the third input of the switch 12. The output of the switch 12 is given to the second input of the adder 10.
[0040]
Next, the operation will be described. The moving picture coding method according to the second embodiment is different from the first embodiment in that, when the determination by the effective block determination unit 101 indicates an invalid block, only the average value of the prediction error of the block is transmitted. Different. That is, when the control signal output from the valid block determination unit 101 indicates an invalid block, the switches 4d and 4e replace conversion coefficients other than DC with 0. As a result, for the invalid block, only the average value of the prediction error signal of the block is transmitted. The delay units 3c and 3d are for correcting a delay generated in the effective block determination unit 101.
[0041]
Embodiment 3 FIG.
FIG. 3 is a block diagram showing a moving picture coding system according to Embodiment 3 of the present invention. In the figure, the same reference numerals as those in FIG. 2 denote the same or corresponding parts. In the figure, reference numeral 1 denotes an input terminal, and an image signal input from the input terminal 1 is an error between the first input of the subtracter 2, the input of the delay unit 3b, the first input of the intra-frame / inter-frame selection unit 5a. This is given to the first input of the tolerance calculation unit 103 and the motion compensation predictor 11. The output of the subtracter 2 is input to the delay unit 3a and also supplied to the second input of the intra-frame / inter-frame selector 5a. The output of the delay device 3a is given to the first input of the switch 4a. The output of the delay unit 3b is given to the second input of the switch 4a, and the output of the intra-frame / inter-frame selector 5a is given to the third input of the switch 4a. The output of the switch 4a is given to the input of the orthogonal transformer 6 and the first input of the effective block determination unit 101a. The output of the orthogonal transformer 6 is given to the input of the quantizer 7 and the second input of the effective block determination unit 101a. The output of the quantizer 7 is given to the first input of the switch 4d via the delay unit 3c. A zero signal is given to the second input of the switch 4d.
[0042]
On the other hand, the output of the quantizer 7 is also input to the inverse quantizer 8. The output of the inverse quantizer 8 is input to the delay unit 3d and is also supplied to the third input of the effective block determination unit 101a. The fourth block of the valid block determination unit 101a is supplied with the output of the error tolerance calculation unit 103, and the fifth input is supplied with the output of the intra-frame / inter-frame selection unit 5a. The output of the valid block determination unit 101a is given to the third input of the switch 4d. The output of the switch 4d is input to the variable length encoder 102, and the output of the variable length encoder 102 is transmitted to the decoder side.
[0043]
The output of the delay device 3d is given to the first input of the switch 4e. A zero signal is given to the second input of the switch 4e, and the output of the effective block determination unit 101a is given to the third input of the switch 4e. The output of the switch 4e is given to the first input of the adder 10 via the inverse orthogonal transformer 9, and the output of the adder 10 is given to the second input of the motion compensation predictor 11. The output of the motion compensation predictor 11 is given to the second input of the subtracter 2 and the first input of the switch 12. A zero signal is given to the second input of the switch 12, and the output of the intra-frame / inter-frame selector 5 a is given to the third input of the switch 12. The output of the switch 12 is given to the second input of the adder 10.
[0044]
Next, the operation will be described. The moving picture coding system according to the third embodiment is different from the second embodiment in that the output of the error tolerance calculation unit 103 is used for the determination by the effective block determination unit 101a. In general, when there is an image signal as shown in FIG. 4A, the noise on the flat part is noticeable as shown in FIG. 4B, but the noise on the edge part is not noticeable. That is, even with the same amount of noise, depending on the characteristics of the original image signal, there may be a case where the subjectively acceptable image quality is obtained or an unacceptable image quality. Therefore, the error tolerance calculation unit 103 obtains an error tolerance indicating from what level the error can be allowed for each pixel in the screen from the input image signal.
[0045]
FIG. 5 is a block diagram illustrating a configuration example of the error tolerance calculation unit 103. In the figure, reference numeral 501 denotes a horizontal change degree calculation unit, 502 denotes a vertical change degree calculation unit, 503 denotes a minimum value detector, and 504 denotes an error tolerance conversion unit. First, the degree of change in the horizontal and vertical directions of the input image is obtained for each pixel in the horizontal change degree calculation unit 501 and the vertical change degree calculation unit 502. For example, if the input image signal is g (x, y) (0 ≦ x <L, 0 ≦ y <M; L and M are the number of pixels in the horizontal and vertical directions of the image), each pixel (x, y) , Horizontal change Ch (x, y)
[0046]
[Equation 5]
Figure 0003738511
[0047]
The vertical change degree Cv (x, y) is obtained by
[0048]
[Formula 6]
Figure 0003738511
[0049]
Ask for. The minimum value detector 503 outputs the smaller one of the horizontal change degree and the vertical change degree, that is, C (x, y) = min {Ch (x, y), Cv (x, y)}. The error tolerance conversion unit 504 calculates the change degree C (x, y).
D (x, y) = f (C (x, y))
To convert to error tolerance D (x, y). Here, f (z) is a function having characteristics as shown in FIG. Therefore, the error tolerance is small when the degree of change is small, and the error tolerance is large when the degree of change is large. The error tolerance D (x, y) is output to the effective block determination unit 101a.
[0050]
The effective block determination unit 101a, when the control signal output from the intra-frame / inter-frame selection unit 5a indicates selection of the inter-frame prediction error signal, the prediction error signal evaluation amount Em and the transform coefficient quantization An error evaluation amount Eq is obtained. When the evaluation amount Em is equal to or greater than the evaluation amount Eq, the block is determined to be an effective block, and when the evaluation amount Em is less than the evaluation amount Eq, it is determined to be an invalid block. At this time, the error tolerance D (x, y) is used for evaluating the magnitude of the prediction error signal. For example, the error tolerance D (x, y) is subtracted from the magnitude of the prediction error signal, and the sum of squares thereof is set as the evaluation amount Em. That is, the block size is N pixels × N lines (N is a natural number), the prediction error signal of each block is p (i, j) (0 ≦ i, j <N; i and j are integers), and this block Let Db (i, j) = D (x0 + i, y0 + j) (where (x0, y0) is the position of the upper left pixel of the block),
[0051]
[Expression 7]
Figure 0003738511
[0052]
And Thereby, the evaluation amount Em of the prediction error signal is an error evaluation considering the visual characteristics. The evaluation amount Eq is obtained in the same manner as in the first and second embodiments. The valid block determining unit 101a determines a valid block / invalid block based on these evaluation quantities Em and Eq.
[0053]
Other operations are the same as those in the second embodiment. That is, when the control signal output from the valid block determination unit 101a indicates an invalid block, the switches 4d and 4e replace conversion coefficients other than DC with 0. As a result, for the invalid block, only the average value of the prediction error signal of the block is transmitted.
[0054]
In the third embodiment, the error tolerance D (x, y) is subtracted from the magnitude of the prediction error signal, and the square sum thereof is used as the evaluation amount Em. For example, the sum of absolute values and the maximum value of the absolute values may be used instead of the sum of squares.
The usage of the error tolerance D (x, y) may be reflected not only by subtraction but also by division. For example, the inverse of the error tolerance D (x, y) is added to the magnitude of the prediction error signal. The sum of squares of the multiplied values may be used as the evaluation amount Em.
[0055]
Further, the error tolerance D (x, y) is not limited to being obtained from the minimum values of the horizontal change rate Ch (x, y) and the vertical change rate Cv (x, y). May be used.
[0056]
In the third embodiment, the switches 4d and 4e replace conversion coefficients other than DC with 0. However, the switches 4d and 4e may be configured to replace all conversion coefficients with 0. Good.
[0057]
Further, in the third embodiment, the valid block determination unit 101a determines the valid block / invalid block from the evaluation amount Em of the prediction error signal and the evaluation amount Eq of the quantization error of the transform coefficient. The block determination unit 101a may determine the valid block / invalid block using only the evaluation amount Em of the prediction error signal obtained using the error tolerance D (x, y). That is, when the evaluation amount Em is equal to or greater than a predetermined value, the block is determined as a valid block, and when the evaluation amount Em is less than the predetermined value, it is determined as an invalid block.
[0058]
【The invention's effect】
  As described above, the moving picture coding method according to the present invention is as follows.A motion-compensated prediction unit that detects a motion amount by comparing an input image signal obtained by blocking a plurality of pixels of a moving image signal and an image signal input before the input image signal, and outputs a motion-compensated prediction value; A selection unit that selects either interframe coding or intraframe coding based on the interframe prediction error obtained based on the motion compensation prediction value and the input image signal and the input image signal; A first switch that outputs the input image signal when the selection unit selects intra-frame coding, and outputs the inter-frame prediction error when inter-frame coding is selected; and the first switch An orthogonal transform unit that orthogonally transforms the output from the output unit, a quantization unit that quantizes the output from the orthogonal transform unit, an inverse quantization unit that dequantizes the output from the quantization unit, and the selection unit. When it is selected to perform intra-frame coding, all blocks are determined to be valid blocks, and when the selection unit is selected to perform inter-frame coding, the output of the orthogonal transform unit The quantization error evaluation amount calculated from the output of the inverse quantization unit and the inter-frame prediction error evaluation amount are compared, and the quantization error evaluation amount is compared with the inter-frame prediction error evaluation amount. A valid block determining unit that determines that the block is an effective block when the evaluation amount of the quantization error is large with respect to the evaluation amount of the inter-frame prediction error, and a determination of the effective block determination unit Based on the above, when the effective block is determined, a signal obtained by orthogonally transforming the inter-frame prediction error value output from the orthogonal transform unit is output, and the invalid block is determined. The so with a second switching unit for outputting a zero signal ifThus, it is possible to obtain a moving picture coding system that performs optimum effective block determination in the sense of minimizing distortion.
[0059]
    In addition, the moving picture coding system according to the present invention is:A motion-compensated prediction unit that detects a motion amount by comparing an input image signal obtained by blocking a plurality of pixels of a moving image signal and an image signal input before the input image signal, and outputs a motion-compensated prediction value; A selection unit that selects either interframe coding or intraframe coding based on the interframe prediction error obtained based on the motion compensation prediction value and the input image signal and the input image signal; A first switch that outputs the input image signal when the selection unit selects intra-frame coding, and outputs the inter-frame prediction error when inter-frame coding is selected; and the first switch An orthogonal transform unit that orthogonally transforms the output from the output unit, a quantization unit that quantizes the output from the orthogonal transform unit, an inverse quantization unit that dequantizes the output from the quantization unit, and the selection unit. When it is selected to perform intra-frame coding, all blocks are determined to be valid blocks, and when the selection unit is selected to perform inter-frame coding, the output of the orthogonal transform unit The quantization error evaluation amount calculated from the output of the inverse quantization unit and the inter-frame prediction error evaluation amount are compared, and the quantization error evaluation amount is compared with the inter-frame prediction error evaluation amount. An effective block determining unit that determines that the block is an effective block when the evaluation amount of the quantization error is large with respect to the evaluation amount of the inter-frame prediction error, and the effective block determining unit Based on the determination, outputs a signal obtained by orthogonally transforming the inter-frame prediction error value output by the orthogonal transform unit when the valid block is determined, and the invalid block Since a second switching unit that outputs the average value of the inter-frame prediction error if it is a constant,It is possible to obtain a moving picture coding system that performs optimum effective block determination in the sense of minimizing distortion.
[0060]
  Furthermore, the moving picture coding system according to the present invention is:For each pixel of the input image signal, the degree of change in the horizontal direction is compared with the degree of change in the vertical direction, and the smaller one is selected, and an error is allowed based on the selected degree of change in the horizontal or vertical direction. An error tolerance calculation unit for calculating a degree, and the effective block determination unit reduces the evaluation amount of the inter-frame prediction error signal according to the calculated error tolerance, and the reduced inter-frame prediction Determine whether the block is valid or invalid using the error signalTherefore, it is possible to obtain a moving image encoding method that can reduce the amount of code.
[0061]
In addition, the moving picture coding system according to the present invention obtains an evaluation amount Em of the prediction error signal based on the means for obtaining the error tolerance of each pixel of the screen from the input image signal, and the evaluation amount Em. Has an effective block determination unit that determines that the block is an effective block when the value is greater than or equal to a predetermined value, and an invalid block when the value is less than the predetermined value. If it is determined to be an effective block, the transform coefficient is quantized after orthogonal transformation, and if a non-zero signal is generated, the quantized transform coefficient value is transmitted, so that the prediction error that is not visually noticeable It is possible to obtain a moving picture coding method capable of reducing the code amount without performing transmission.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a moving picture coding system according to Embodiment 1 of the present invention.
FIG. 2 is a block diagram showing a moving picture coding system according to Embodiment 2 of the present invention.
FIG. 3 is a block diagram showing a moving picture coding system according to Embodiment 3 of the present invention.
FIG. 4 is a waveform diagram of an image signal for explaining the operation of the moving picture coding system according to the third embodiment.
FIG. 5 is a block diagram illustrating a configuration example of an error tolerance calculation unit of a moving image coding system according to a third embodiment.
FIG. 6 is a conceptual diagram showing how to obtain an error tolerance of the moving picture coding system according to the third embodiment.
FIG. 7 is a block diagram showing a conventional moving image encoding apparatus.
[Explanation of symbols]
2 Subtractor, 3a, 3b, 3c, 3d Delayer, 4a, 4b, 4c, 4d Switcher, 5a Intraframe / interframe selector, 6 Orthogonal transformer, 7 Quantizer, 8 Inverse quantizer, 9 Inverse orthogonal transformer, 10 adder, 11 motion compensation predictor, 101, 101a effective block determination unit, 103 error tolerance calculation unit.

Claims (3)

動画像信号を複数画素分まとめてブロック化した入力画像信号と前記入力画像信号より前に入力された画像信号とを比較して動き量検出を行い動き補償予測値を出力する動き補償予測部と、A motion-compensated prediction unit that compares an input image signal obtained by blocking a plurality of pixels of a moving image signal and an image signal input before the input image signal, detects a motion amount, and outputs a motion-compensated prediction value; ,
前記動き補償予測値および前記入力画像信号に基づき求めたフレーム間予測誤差と前記入力画像信号とに基づきフレーム間符号化またはフレーム内符号化のいずれかを行うことを選択する選択部と、A selection unit that selects whether to perform inter-frame coding or intra-frame coding based on the motion compensation prediction value and the inter-frame prediction error obtained based on the input image signal and the input image signal;
前記選択部がフレーム内符号化を選択した場合に前記入力画像信号を出力し、フレーム間符号化を選択した場合に前記フレーム間予測誤差を出力する第1の切替器と、A first switch that outputs the input image signal when the selection unit selects intra-frame coding, and outputs the inter-frame prediction error when inter-frame coding is selected;
この第一の切替器からの出力を直交変換する直交変換部と、An orthogonal transform unit that orthogonally transforms the output from the first switch;
この直交変換部からの出力を量子化する量子化部と、A quantization unit for quantizing the output from the orthogonal transformation unit;
この量子化部からの出力を逆量子化する逆量子化部と、An inverse quantization unit that inversely quantizes the output from the quantization unit;
前記選択部においてフレーム内符号化を行うことが選択された場合に、すべてのブロックを有効ブロックと判定するとともに、前記選択部においてフレーム間符号化を行うことが選択された場合に、前記直交変換部の出力と前記逆量子化部の出力から算出される量子化誤差の評価量と、前記フレーム間予測誤差の評価量とを比較して前記フレーム間予測誤差の評価量に対して前記量子化誤差の評価量が小さい場合に有効ブロックと判定し、前記フレーム間予測誤差の評価量に対して前記量子化誤差の評価量が大きい場合に無効ブロックと判定する有効ブロック判定部と、When the selection unit selects to perform intra-frame encoding, all the blocks are determined to be effective blocks, and when the selection unit selects to perform inter-frame encoding, the orthogonal transform is performed. The quantization error evaluation amount calculated from the output of the output unit and the output of the inverse quantization unit and the evaluation amount of the inter-frame prediction error are compared, and the quantization is performed on the evaluation amount of the inter-frame prediction error An effective block determining unit that determines an effective block when the error evaluation amount is small, and determines an invalid block when the quantization error evaluation amount is large with respect to the inter-frame prediction error evaluation amount;
前記有効ブロック判定部の判定に基づき、前記有効ブロックと判定された場合に前記直交変換部の出力する前記フレーム間予測誤差値を直交変換した信号を出力し、前記無効ブロックと判定された場合にゼロ信号を出力する第2の切替部を備えることを特徴とする動画像符号化方式。Based on the determination of the effective block determination unit, outputs a signal obtained by orthogonally transforming the inter-frame prediction error value output from the orthogonal transform unit when determined as the effective block, and when determined as the invalid block A moving image coding system comprising a second switching unit that outputs a zero signal.
動画像信号を複数画素分まとめてブロック化した入力画像信号と前記入力画像信号より前に入力された画像信号とを比較して動き量検出を行い動き補償予測値を出力する動き補償予測部と、A motion-compensated prediction unit that compares an input image signal obtained by blocking a plurality of pixels of a moving image signal and an image signal input before the input image signal, detects a motion amount, and outputs a motion-compensated prediction value; ,
前記動き補償予測値および前記入力画像信号に基づき求めたフレーム間予測誤差と前記入力画像信号とに基づきフレーム間符号化またはフレーム内符号化のいずれかを行うことを選択する選択部と、A selection unit that selects whether to perform inter-frame coding or intra-frame coding based on the motion compensation prediction value and the inter-frame prediction error obtained based on the input image signal and the input image signal;
前記選択部がフレーム内符号化を選択した場合に前記入力画像信号を出力し、フレーム間符号化を選択した場合に前記フレーム間予測誤差を出力する第1の切替器と、A first switch that outputs the input image signal when the selection unit selects intra-frame coding, and outputs the inter-frame prediction error when inter-frame coding is selected;
この第一の切替器からの出力を直交変換する直交変換部と、An orthogonal transform unit that orthogonally transforms the output from the first switch;
この直交変換部からの出力を量子化する量子化部と、A quantization unit for quantizing the output from the orthogonal transformation unit;
この量子化部からの出力を逆量子化する逆量子化部と、An inverse quantization unit that inversely quantizes the output from the quantization unit;
前記選択部においてフレーム内符号化を行うことが選択された場合に、すべてのブロックを有効ブロックと判定するとともに、前記選択部においてフレーム間符号化を行うことが選択された場合に、前記直交変換部の出力と前記逆量子化部の出力から算出される量子化誤差の評価量と、前記フレーム間予測誤差の評価量とを比較して前記フレーム間予測誤差の評価量に対して前記量子化誤差の評価量が小さい場合に有効ブロックと判定し、前記フレーム間予測誤差の評価量に対して前記量子化誤差の評価量が大きい場合に無効ブロックと判定する有効ブロック判定部と、When the selection unit selects to perform intra-frame encoding, all the blocks are determined to be effective blocks, and when the selection unit selects to perform inter-frame encoding, the orthogonal transform is performed. The quantization error evaluation amount calculated from the output of the output unit and the output of the inverse quantization unit and the evaluation amount of the inter-frame prediction error are compared, and the quantization is performed on the evaluation amount of the inter-frame prediction error An effective block determining unit that determines an effective block when the error evaluation amount is small, and determines an invalid block when the quantization error evaluation amount is large with respect to the inter-frame prediction error evaluation amount;
前記前記有効ブロック判定部の判定に基づき、前記有効ブロックと判定された場合に前記直交変換部の出力する前記フレーム間予測誤差値を直交変換した信号を出力し、前記無効ブロックと判定された場合に前記フレーム間予測誤差の平均値を出力する第2の切替部を備えることを特徴とする動画像符号化方式。When a signal obtained by orthogonally transforming the inter-frame prediction error value output from the orthogonal transform unit when it is determined as the valid block based on the determination of the valid block determination unit is determined as the invalid block And a second switching unit that outputs an average value of the inter-frame prediction errors.
前記入力画像信号の各画素について水平方向の変化度と垂直方向の変化度とを比較して、いずれか小さい方を選択し、この選択された前記水平または垂直方向の変化度に基づいて誤差許容度を算出する誤差許容度演算部をさらに備え、For each pixel of the input image signal, the degree of change in the horizontal direction is compared with the degree of change in the vertical direction, and the smaller one is selected, and an error is allowed based on the selected degree of change in the horizontal or vertical direction. An error tolerance calculation unit for calculating the degree,
前記有効ブロック判定部は、算出した誤差許容度の大きさに応じて前記フレーム間予測誤差信号の評価量を下げ、この下げた前記フレーム間予測誤差信号を用いて有効ブロック  The effective block determination unit reduces the evaluation amount of the inter-frame prediction error signal according to the calculated error tolerance, and uses the reduced inter-frame prediction error signal to determine the effective block. か無効ブロックかを判定することを特徴とする請求項1または2に記載の動画像符号化方式。3. The moving picture encoding method according to claim 1, wherein it is determined whether the block is an invalid block or not.
JP00776597A 1997-01-20 1997-01-20 Video coding system Expired - Fee Related JP3738511B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00776597A JP3738511B2 (en) 1997-01-20 1997-01-20 Video coding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00776597A JP3738511B2 (en) 1997-01-20 1997-01-20 Video coding system

Publications (2)

Publication Number Publication Date
JPH10210474A JPH10210474A (en) 1998-08-07
JP3738511B2 true JP3738511B2 (en) 2006-01-25

Family

ID=11674789

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00776597A Expired - Fee Related JP3738511B2 (en) 1997-01-20 1997-01-20 Video coding system

Country Status (1)

Country Link
JP (1) JP3738511B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2907989B1 (en) * 2006-10-27 2009-01-16 Actimagine Sarl METHOD AND DEVICE FOR OPTIMIZING THE COMPRESSION OF A VIDEO STREAM
JP4748603B2 (en) * 2007-02-28 2011-08-17 株式会社Kddi研究所 Video encoding device
JP5299340B2 (en) * 2010-03-31 2013-09-25 株式会社Jvcケンウッド Image coding apparatus, image coding method, and image coding program
WO2011121938A1 (en) 2010-03-31 2011-10-06 株式会社Jvcケンウッド Image encoding device, image encoding method, image encoding program, image decoding device, image decoding method, and image decoding program
JP5299341B2 (en) * 2010-03-31 2013-09-25 株式会社Jvcケンウッド Image decoding apparatus, image decoding method, and image decoding program

Also Published As

Publication number Publication date
JPH10210474A (en) 1998-08-07

Similar Documents

Publication Publication Date Title
KR100391027B1 (en) A method and apparatus for predictive encoding of video information
JP3861698B2 (en) Image information encoding apparatus and method, image information decoding apparatus and method, and program
JP2006025428A (en) Method or device for coding sequence of source image
JP2001145113A (en) Device and method for image information conversion
JPH05183888A (en) Information source encoder
EP0680217B1 (en) Video signal decoding apparatus capable of reducing blocking effects
JP2000102016A (en) Motion compensation prediction circuit
KR19980017213A (en) Image Decoding System with Compensation Function for Degraded Image
JP3738511B2 (en) Video coding system
JPH01228384A (en) Moving image coding system using area division
US20060146932A1 (en) Method and apparatus for providing motion estimation with weight prediction
JP3432886B2 (en) Hierarchical encoding / decoding apparatus and method, and transmission / reception system
KR0172902B1 (en) Mpeg encoder
KR0134505B1 (en) Image coder with adaptive motion detection function
JP2512165B2 (en) Video signal encoder
JPH0984024A (en) Coder for moving image signal
JPH10210480A (en) Dynamic image coding system
JPH0775095A (en) Rate control circuit
JP2892701B2 (en) Video signal encoding device
KR100774455B1 (en) Bit rate operation apparatus for realtime video transmit application
JP4359273B2 (en) Coding mode selection method
JP4000581B2 (en) Image coding apparatus and method
JP4100067B2 (en) Image information conversion method and image information conversion apparatus
JPH05227513A (en) Video signal transmitter
JPH1127674A (en) Reversible coding system for interlace-scanned moving image

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20040625

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050329

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050526

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20051011

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051024

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

Free format text: PAYMENT UNTIL: 20081111

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20091111

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091111

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101111

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111111

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees