JP3004799B2 - Image coding method and apparatus - Google Patents

Image coding method and apparatus

Info

Publication number
JP3004799B2
JP3004799B2 JP6109592A JP6109592A JP3004799B2 JP 3004799 B2 JP3004799 B2 JP 3004799B2 JP 6109592 A JP6109592 A JP 6109592A JP 6109592 A JP6109592 A JP 6109592A JP 3004799 B2 JP3004799 B2 JP 3004799B2
Authority
JP
Japan
Prior art keywords
signal
picture
prediction
luminance
pictures
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 - Lifetime
Application number
JP6109592A
Other languages
Japanese (ja)
Other versions
JPH05236461A (en
Inventor
泰男 片山
公一 大山
Original Assignee
ジー・シー・テクノロジー株式会社
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 ジー・シー・テクノロジー株式会社 filed Critical ジー・シー・テクノロジー株式会社
Priority to JP6109592A priority Critical patent/JP3004799B2/en
Publication of JPH05236461A publication Critical patent/JPH05236461A/en
Application granted granted Critical
Publication of JP3004799B2 publication Critical patent/JP3004799B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Image Processing (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は動画像信号の符号化方法
と装置に関する。具体的には、動画像信号を内挿予測符
号化して伝送する場合に、生じやすいフリッカを除去す
る画像符号化方法と装置を提供せんとするものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture signal encoding method and apparatus. Specifically, it is an object of the present invention to provide an image encoding method and apparatus for removing a flicker which is likely to occur when a moving image signal is transmitted by interpolation prediction encoding.

【0002】[0002]

【従来の技術】動画像信号は膨大な情報量を有する。そ
のために、従来より、動画像信号を高能率で符号化して
効率的な画像伝送を図る各種の方法が使われている。こ
の高能率符号化に用いられるものに、画像信号のピクチ
ャ(フレームまたはフィールド)間の相関を利用して、
1つ前のピクチャから現在のピクチャを予測するピクチ
ャ間予測符号化がある。現在のピクチャの画像信号と1
つ前のピクチャの画像信号との画素ごとの差分値を予測
誤差データとして求め、得られた予測誤差データのみを
符号化して伝送する。これにより、符号化して伝送すべ
き画像の情報量が低減される。
2. Description of the Related Art A moving image signal has a huge amount of information. For this purpose, various methods have been conventionally used for efficiently encoding a moving image signal for efficient image transmission. By using the correlation between pictures (frames or fields) of an image signal,
There is inter-picture prediction coding for predicting a current picture from a previous picture. Image signal of current picture and 1
A difference value for each pixel from the image signal of the immediately preceding picture is obtained as prediction error data, and only the obtained prediction error data is encoded and transmitted. As a result, the information amount of the image to be encoded and transmitted is reduced.

【0003】しかし、静止領域では、ピクチャ間予測符
号化は有効であるが、動領域では大きな予測誤差データ
を生じ、画質も劣化する欠点がある。これを是正する手
段として用いられているのが動き補償ピクチャ間予測符
号化である。動き補償ピクチャ間予測符号化では、ピク
チャ間の予測誤差データを求める前に、現在のピクチャ
の符号化する部分の1つ前の復号化されたピクチャとの
間の移動量である動ベクトルを検出する。動ベクトルが
得られると、1つ前の復号化ピクチャの中で動ベクトル
に従ってずらした位置の現在のピクチャの符号化する部
分との予測誤差データを求める。得られた予測誤差デー
タは符号化されて動ベクトルとともに受信側に伝送され
る。
[0003] However, although inter-picture prediction coding is effective in a still region, large prediction error data is generated in a moving region, and the picture quality is degraded. The means used to correct this is motion compensated inter-picture prediction coding. In motion-compensated inter-picture prediction coding, before calculating prediction error data between pictures, a motion vector, which is the amount of movement between the current picture to be coded and the immediately preceding decoded picture, is detected. I do. When a motion vector is obtained, prediction error data is calculated for the current picture to be coded at a position shifted according to the motion vector in the immediately preceding decoded picture. The obtained prediction error data is encoded and transmitted to the receiving side together with the motion vector.

【0004】動ベクトルを用いて補正したピクチャ間の
予測誤差データを符号化して伝送するならば、伝送符号
量は動き補償なしのフレーム間符号化に比べて低減され
る。
If the prediction error data between pictures corrected using a motion vector is encoded and transmitted, the amount of transmission code is reduced as compared with inter-frame encoding without motion compensation.

【0005】しかし、現画面の処理ブロックがまったく
変わってしまい、ピクチャ間に相関がない場合にも、ピ
クチャ間予測符号化を行なうと、予測誤差データが現在
のピクチャのみのデータよりも多くなってしまう場合が
ある。その場合にはピクチャ内符号化によるのが望まし
い。
[0005] However, even when the processing block of the current screen is completely changed and there is no correlation between the pictures, if the inter-picture prediction coding is performed, the prediction error data becomes larger than the data of the current picture only. In some cases. In that case, it is desirable to use intra-picture encoding.

【0006】蓄積メディア用動画像符号化では画面にタ
イプを設けるので、図4を用いて説明する。ここで、ブ
ロック単位の処理がなされる。Iピクチャ(Intra pict
ure)では、ピクチャに含まれたすべてのブロックでピ
クチャ内符号化が行なわれる。Pピクチャ(Predictive
picture)ではピクチャ間予測符号化と、ピクチャ内符
号化とがブロックごとに選択される。以下、I,Pピク
チャというときは、IピクチャまたはPピクチャの意味
である。
[0006] In the moving image coding for storage media, a type is provided on the screen, and the description will be made with reference to FIG. Here, processing is performed in block units. I picture (Intra pict
ure), intra-picture encoding is performed on all blocks included in the picture. P picture (Predictive
picture), inter-picture prediction coding and intra-picture coding are selected for each block. Hereinafter, the terms I and P pictures mean I pictures or P pictures.

【0007】Bピクチャ(Bidirectional picture )で
は、前方(過去)のI,Pピクチャを予測(動き補償を
含む)に使用するだけではなく、後方(未来)のI,P
ピクチャをも予測に使うことができる。これには入力画
像の処理順が変更されることにより、未来のI,Pピク
チャの復号画像が予測に(Bピクチャの処理は後方I,
Pピクチャより遅らされる)使用される。Bピクチャで
は、ピクチャ内符号化(予測信号は0),前方予測符号
化,後方予測符号化そして内挿予測符号化の4種の予測
がブロック毎に選択される。
In a B picture (Bidirectional picture), not only the forward (past) I and P pictures are used for prediction (including motion compensation), but the backward (future) I and P pictures are used.
Pictures can also be used for prediction. This is done by changing the processing order of the input images so that decoded images of future I and P pictures are predicted (the processing of B pictures is
P picture). In a B picture, four types of predictions are selected for each block: intra-picture encoding (the prediction signal is 0), forward prediction encoding, backward prediction encoding, and interpolation prediction encoding.

【0008】前方と後方のI,Pピクチャを用いて予測
誤差データの検出を行なう内挿予測符号化が選択された
たときには、Bピクチャにおける1つのブロックに対し
て前方と後方の2つのI,Pピクチャを参照して2つの
動ベクトル情報を使用する。この2つの動ベクトル情報
の値は、Bピクチャにおける処理対象ブロックに対し、
前方および後方の参照ピクチャであるI,Pピクチャ内
で求められている。内挿予測信号は前方予測信号と後方
予測信号との平均で作られる。
When interpolation prediction coding for detecting prediction error data using the front and rear I and P pictures is selected, the two front and rear I and P pictures for one block in a B picture are selected. Two pieces of motion vector information are used with reference to a P picture. The values of these two pieces of motion vector information are:
It is determined in the I and P pictures that are the reference pictures at the front and rear. The interpolated prediction signal is formed by averaging the forward prediction signal and the backward prediction signal.

【0009】一般に上記の蓄積メディア用動画像符号化
装置において、BピクチャはI,Pピクチャに比べて、
画像がぼやけて再現される。
[0009] In general, in the above-described video coding apparatus for storage media, a B picture is compared with an I or P picture.
The image is blurred and reproduced.

【0010】それは、Bピクチャは前方および後方の両
I,Pピクチャを参照して予測しているから予測誤差は
小さいことを理由として、またBピクチャは次に予測に
使用されることのない画像タイプであることから、Bピ
クチャには一般にI,Pピクチャに割当てられる符号量
よりも少ない符号量しか割当てられないからである。ま
た、Bピクチャは、前方および後方の両I,Pピクチャ
からの予測信号の平均による予測信号により画像が得ら
れるために、画像の細かい部分(テクスチャー)が失わ
れてぼやけ易い。
This is because the B picture is predicted with reference to both the forward and backward I and P pictures, so that the prediction error is small, and the B picture is an image which is not used for the next prediction. This is because, because of the type, only a smaller code amount is generally assigned to the B picture than to the I and P pictures. In addition, since a picture is obtained from a B picture by a prediction signal obtained by averaging prediction signals from both the front and rear I and P pictures, a fine portion (texture) of the picture is lost and the picture is easily blurred.

【0011】このような画像のぼやけ現象は、画像信号
の交流振幅が小さくなることを意味する。この交流振幅
が小さくなることによって、ブラウン管に代表される表
示器の非線形特性を考慮したガンマ特性と呼ばれる非線
形特性が入力信号にかけられているために、輝度の平均
レベルが低下したと感じられる。
Such an image blur phenomenon means that the AC amplitude of the image signal is reduced. It is felt that the average level of luminance has decreased because the input signal is subjected to a non-linear characteristic called a gamma characteristic in consideration of the non-linear characteristic of a display device typified by a cathode ray tube by reducing the AC amplitude.

【0012】この画像信号である入力信号レベルYと表
示器上の輝度Iの関係を図5に示し説明する。ここでは
表示の都合上、逆ガンマ特性を表わす太線で示す曲線の
曲率を大きく表現している。
The relationship between the input signal level Y, which is an image signal, and the luminance I on the display will be described with reference to FIG. Here, for the sake of display, the curvature of the curve shown by the thick line representing the inverse gamma characteristic is expressed large.

【0013】たとえば、明瞭な縦縞の画像信号の交流振
幅は大きく、その入力信号レベルの最低および最高値
は、YA1, YB1であらわされるとき、曲線上の点A1,
B1が対応しており、その場合の視覚に感知される平均
的輝度は、点A1とB1との中点のC1の輝度IC1であ
る。ところが、縦縞の画像がぼやけたものであるときに
は、画像信号の交流振幅は小さくなり、その入力信号レ
ベルの最低および最高値は、YA2,YB2で表わされ、曲
線上の点A2,B2が対応する。すると、このときの平
均的輝度は点A2とB2との中点のC2の輝度IC2とな
り、IC1とIC2の差だけ、輝度の平均レベルが低下して
知覚される。すなわち、ぼやけたBピクチャは、明瞭
な,I,Pピクチャに対して、輝度が低下して感知され
る。
For example, when the AC amplitude of a clear vertical stripe image signal is large, and the minimum and maximum values of the input signal level are represented by Y A1 and Y B1 , points A 1 and A 1 on the curve are obtained.
B1 corresponds, and the average luminance perceived visually in this case is the luminance I C1 of C1 at the midpoint between points A1 and B1. However, when the image of the vertical stripes is blurred, the AC amplitude of the image signal becomes small, and the minimum and maximum values of the input signal level are represented by Y A2 and Y B2 , and points A2 and B2 on the curve. Corresponds. Then, the average luminance at this time becomes the luminance I C2 of C2 at the midpoint between points A2 and B2, and the average luminance level is perceived as being lower by the difference between I C1 and I C2 . That is, the blurred B picture is perceived as having lower luminance than clear I and P pictures.

【0014】[0014]

【発明が解決しようとする課題】前後のI,Pピクチャ
は明瞭であり、Bピクチャはぼやけるために輝度が低下
して知覚されるから、BピクチャとI,Pピクチャが時
間的に交互に並ぶと、I,Pピクチャの周期をもつフリ
ッカとして知覚されるという解決されるべき課題が残さ
れていた。
Since the preceding and succeeding I and P pictures are clear, and the B picture is perceived with a reduced brightness due to blurring, the B picture and the I and P pictures are alternately arranged in time. And a problem to be solved, which is perceived as flicker having a period of I and P pictures.

【0015】[0015]

【課題を解決するための手段】画像信号である入力信号
と予測信号の差をとり、表示器(CRT)上の輝度を補
正するための補正信号を加えて予測誤差信号を得る手段
を設けた。
Means are provided for obtaining a difference between an input signal which is an image signal and a prediction signal, and adding a correction signal for correcting luminance on a display (CRT) to obtain a prediction error signal. .

【0016】[0016]

【作用】このような手段により、図5のぼけた現画像で
あるBピクチャの入力信号レベルYA2、YB2を右側へシ
フトし、曲線上の対応点A2,B2およびその中間点C
2を補正信号により右へシフトして、中間点C2の輝度
レベルIC2が輝度レベルIC1に一致するようにした。こ
れにより、フリッカを減少せしめて、より自然な画像を
再現することができるようになった。
By such means, the input signal levels Y A2 and Y B2 of the B picture which is the blurred current picture in FIG. 5 are shifted to the right, and the corresponding points A2 and B2 on the curve and the intermediate point C thereof
2 is shifted to the right by the correction signal so that the luminance level I C2 of the intermediate point C2 matches the luminance level I C1 . As a result, flicker can be reduced and a more natural image can be reproduced.

【0017】[0017]

【実施例】本発明の一実施例を図1に示し説明する。FIG. 1 shows an embodiment of the present invention.

【0018】現画像信号であるBピクチャが入力端子4
0より入力され、加算器20および補正回路21に印加
される。補正回路21は入力端子40に印加されたBピ
クチャの画像信号と予測信号45を受けて、後に詳述す
る輝度補正用の補正信号50を出力している。
The B picture which is the current image signal is supplied to the input terminal 4
It is input from 0 and applied to the adder 20 and the correction circuit 21. The correction circuit 21 receives the image signal of the B picture and the prediction signal 45 applied to the input terminal 40, and outputs a correction signal 50 for luminance correction described later.

【0019】加算器20では、Bピクチャ内の処理対象
となっているブロックに含まれている画素ごとの信号レ
ベルと切替スイッチ36の端子aを介して印加される補
正信号の和をとり、それから予測信号45を減じて予測
誤差信号44を得ている。
The adder 20 calculates the sum of the signal level of each pixel included in the block to be processed in the B picture and the correction signal applied via the terminal a of the changeover switch 36, and then calculates the sum. The prediction error signal 44 is obtained by subtracting the prediction signal 45.

【0020】予測誤差信号44は、直交変換を行なう変
換器22において直交変換され、量子化器23で量子化
されて符号化データ41が出力される。符号化データ4
1は受信側に送出されると同時に逆量子化器24におい
て逆量子化され、それが逆変換器25によって逆直交変
換されて、量子化誤差信号47を得ている。
The prediction error signal 44 is orthogonally transformed by the transformer 22 that performs orthogonal transformation, and is quantized by the quantizer 23 to output coded data 41. Encoded data 4
1 is transmitted to the receiving side and is inversely quantized by the inverse quantizer 24, and is inversely orthogonally transformed by the inverse transformer 25 to obtain a quantization error signal 47.

【0021】加算器26には量子化誤差信号47と予測
信号45が印加され、加算して復号化信号51が得ら
れ、切替スイッチ27の端子dまたはeを介してピクチ
ャ・メモリ30または32に印加され格納される。入力
端子40にBピクチャの画像信号が印加されており、切
替スイッチ27はBピクチャを処理しているときには端
子cに接続され、入力端子40に前方または後方のI,
Pピクチャの画像信号が印加されており、前方または後
方のI,Pピクチャを処理しているときには切替スイッ
チ27は端子dまたはeに接続される。そこで前方また
は後方のI,Pピクチャの処理時の復号化信号51はピ
クチャ・メモリ30,32に格納さる。動き補償回路3
1,33において動ベクトルを使用してピクチャ・メモ
リ30または32に格納された前方または後方のI,P
ピクチャから動き補償されたブロックの画像信号を読出
して動き補償された信号48または49を得て、これが
内挿回路34および切替スイッチ35の端子fおよびh
に印加される。
The adder 26 is supplied with the quantization error signal 47 and the prediction signal 45, and adds the decoded signal 51 to the decoded signal 51. The decoded signal 51 is supplied to the picture memory 30 or 32 via the terminal d or e of the changeover switch 27. Applied and stored. The image signal of the B picture is applied to the input terminal 40, and the changeover switch 27 is connected to the terminal c when processing the B picture.
The switch 27 is connected to the terminal d or e when the image signal of the P picture is being applied and the front or rear I or P picture is being processed. Therefore, the decoded signal 51 at the time of processing the front or rear I or P picture is stored in the picture memories 30 and 32. Motion compensation circuit 3
1 and 33, using the motion vectors at the forward or backward I, P stored in the picture memory 30 or 32
The picture signal of the motion-compensated block is read out from the picture to obtain a motion-compensated signal 48 or 49, which is connected to the interpolation circuit 34 and the terminals f and h of the changeover switch 35.
Is applied to

【0022】前方および後方のI,Pピクチャからの動
き補償された信号48,49を受けた内挿回路34で
は、内挿予測信号を演算して内挿予測信号46を出力
し、これが切替スイッチ35の端子gに印加される。
The interpolation circuit 34, which has received the motion-compensated signals 48 and 49 from the front and rear I and P pictures, calculates an interpolation prediction signal and outputs an interpolation prediction signal 46, which is a changeover switch. 35 is applied to the terminal g.

【0023】切替スイッチ35において、端子fまたは
hが選択されたときは、前方または後方のI,Pピクチ
ャからの動き補償された信号を選び、それを予測信号4
5として出力することになる。端子gが選択されたとき
には、内挿予測信号46が予測信号45として出力され
る。端子iが選択されたときには、ゼロ(0)値43が
予測信号45として出力される。切替スイッチ35の切
替は画像内のブロック単位に最適のモードが選択され図
示されてはいない外部からの制御信号により切替えられ
る。
When the terminal f or h is selected by the changeover switch 35, a motion-compensated signal from the front or rear I or P picture is selected, and the selected signal is used as the prediction signal 4.
5 will be output. When the terminal g is selected, the interpolation prediction signal 46 is output as the prediction signal 45. When the terminal i is selected, a zero (0) value 43 is output as the prediction signal 45. Switching of the changeover switch 35 is performed by an external control signal (not shown) by selecting an optimum mode for each block in the image.

【0024】切替スイッチ36において端子aが選択さ
れるのはBピクチャの処理時に切替スイッチ35の選択
とはかかわりなく選択される。I,Pピクチャの処理時
には、切替スイッチ36の端子bが選択される。切替ス
イッチ36の制御は図示されてはいない制御信号によっ
てなされる。
The terminal a is selected by the changeover switch 36 regardless of the selection of the changeover switch 35 at the time of processing a B picture. When processing I and P pictures, the terminal b of the changeover switch 36 is selected. The control of the changeover switch 36 is performed by a control signal (not shown).

【0025】前方または後方のI,Pピクチャの処理時
に、切替スイッチ27の端子eまたはdのいずれかが交
互に選択されるが、その様子を図2を用いて説明する。
When processing the front or rear I and P pictures, either the terminal e or d of the changeover switch 27 is alternately selected. This will be described with reference to FIG.

【0026】図2において、BピクチャはB1,B2,
B3…で表わされ、I,PピクチャはI1,I2,I
3,…で表わされており、BピクチャとIピクチャ
(I,Pピクチャ)が交互に並んでいる場合が示されて
いる。
In FIG. 2, B pictures are B1, B2,
B3 ..., the I and P pictures are I1, I2, I
, And shows a case where B pictures and I pictures (I, P pictures) are alternately arranged.

【0027】I1ピクチャが処理される場合に切替スイ
ッチ27の端子dが選択されて、B1ピクチャの前方の
ピクチャであるI1ピクチャの復号化信号51はピクチ
ャ・メモリ30に格納されるとする。つぎに切替スイッ
チ27は端子eに切替えられてB1ピクチャの後方のピ
クチャであるI2ピクチャが符号化される。このとき、
ピクチャ・メモリ30から、動き補償回路31を通して
信号は伝えられ、切替スイッチ35は端子hを選択す
る。I2ピクチャの復号化信号51はピクチャ・メモリ
32に格納される。前後の予測に使用する画面が用意さ
れているので、次にB1ピクチャが符号化される。Bピ
クチャ処理時には、切替スイッチ27は端子cに接続さ
れる。B1ピクチャの予測には、切替スイッチ35は端
子i,h,g,fのいずれも使用可能である。
It is assumed that when the I1 picture is processed, the terminal d of the changeover switch 27 is selected, and the decoded signal 51 of the I1 picture which is the picture preceding the B1 picture is stored in the picture memory 30. Next, the changeover switch 27 is switched to the terminal e, and the I2 picture which is the picture behind the B1 picture is encoded. At this time,
A signal is transmitted from the picture memory 30 through the motion compensation circuit 31, and the changeover switch 35 selects the terminal h. The decoded signal 51 of the I2 picture is stored in the picture memory 32. Since the screens used for the preceding and following predictions are prepared, the B1 picture is encoded next. During B picture processing, the changeover switch 27 is connected to the terminal c. To predict the B1 picture, the changeover switch 35 can use any of the terminals i, h, g, and f.

【0028】つぎに切替スイッチ27は端子dに切替え
られ、B2ピクチャの後方のピクチャであるI3ピクチ
ャが符号化され、その場合、切替スイッチ35の端子h
が選択される。その復号化信号51がピクチャ・メモリ
30に格納され、これと、すでにピクチャ・メモリ32
に格納されているI2ピクチャをB2ピクチャの前方の
ピクチャとして使用して、次の符号化画面B2ピクチャ
の予測信号45を切替スイッチ35から得ることができ
るようにする。
Next, the changeover switch 27 is switched to the terminal d, and the I3 picture, which is the picture behind the B2 picture, is coded.
Is selected. The decoded signal 51 is stored in the picture memory 30, and the decoded signal 51 is already stored in the picture memory 32.
Is used as the picture preceding the B2 picture, so that the prediction signal 45 of the next coded picture B2 picture can be obtained from the changeover switch 35.

【0029】つぎに補正回路21の動作について図3を
用いて説明する。図3には図5に示した輝度特性と同じ
曲線が示され、そこに示された点A1,B1,C1やA
2,B2,C2についてもすでに従来の技術の項で説明
したものに同じである。すなわち、従来の内挿予測符号
化によるならば、明瞭な画像である前方または後方の
I,Pピクチャの平均輝度はIC1で示され、ぼけた画像
であるBピクチャの平均輝度はIC2で示されるために、
BピクチャはI,Pピクチャよりも低い輝度で知覚され
るから、フリッカを生じていた。
Next, the operation of the correction circuit 21 will be described with reference to FIG. FIG. 3 shows the same curve as the luminance characteristic shown in FIG. 5, and points A1, B1, C1 and A shown in FIG.
2, B2 and C2 are the same as those already described in the section of the prior art. That is, according to the conventional interpolation predictive coding, the average luminance of the front or rear I or P picture which is a clear image is indicated by I C1 , and the average luminance of the B picture which is a blurred image is I C2 . To be shown,
Since the B picture is perceived at a lower luminance than the I and P pictures, flicker has occurred.

【0030】そこで、補正回路21では、図3の入力信
号レベルYA2をYA3に、YB2をYB3に平行移動せしめ
て、両点A3,B3の中点C3の輝度IC3が輝度IC1
等しくなるようにするための補正信号50を発生し、 IC1=IC3 を実現するために、入力信号レベルを YA3−YA2=YB3−YB2 だけシフトしている。
[0030] Therefore, in the correction circuit 21, an input signal level Y A2 of FIG. 3 in Y A3, Y B2 are moved parallel to the Y B3, luminance I C3 luminance I midpoint C3 of both points A3, B3 The input signal level is shifted by Y A3 -Y A2 = Y B3 -Y B2 in order to generate a correction signal 50 for making it equal to C 1 and to realize I C1 = I C3 .

【0031】このために、補正回路21では入力端子4
0からのBピクチャの画像信号と、予測信号45を受け
てつぎの演算を行なう。
For this reason, in the correction circuit 21, the input terminal 4
The following operation is performed upon receiving the image signal of the B picture from 0 and the prediction signal 45.

【0032】入力端子40からの画像信号の入力信号レ
ベルをY、ディスプレイ(たとえばブラウン管)上の輝
度をI、逆ガンマ特性をI=f(Y)とする。画像信号
はピクチャ内のブロック単位に処理されるものとし、ブ
ロック内の入力信号レベルをYijとし、iおよびjはブ
ロック内の空間位置を示すものとする。そのブロック内
の処理対象画素数をN、予測信号45(図1)の信号レ
ベルをY2ij 、また補正信号50のレベルをαとする。
そこで入力端子40に印加された現画像信号に含まれた
ブロック内の入力信号Yijに対応する輝度の平均と、輝
度補正後の予測信号45の信号レベルY2ij に対応する
表示器(図1には図示されてはいない)上の輝度の平均
が一致するようにしてフリッカを低減するためには、 (1/N)Σf(Yij )=(1/N)Σf(Y2ij +α) (1) となるようにすればよい。ここでΣはiとjについての
累和を表わしている。以下同様である。
It is assumed that the input signal level of the image signal from the input terminal 40 is Y, the luminance on the display (for example, a cathode ray tube) is I, and the inverse gamma characteristic is I = f (Y). It is assumed that an image signal is processed in units of blocks in a picture, an input signal level in a block is Y ij, and i and j indicate spatial positions in the block. The number of pixels to be processed in the block is N, the signal level of the prediction signal 45 (FIG. 1) is Y 2ij , and the level of the correction signal 50 is α.
Therefore, an average of the luminance corresponding to the input signal Y ij in the block included in the current image signal applied to the input terminal 40 and the display corresponding to the signal level Y 2ij of the predicted signal 45 after the luminance correction (FIG. 1) (Not shown) to reduce the flicker so that the average of the above luminances coincides, (1 / N) Σf (Y ij ) = (1 / N) Σf (Y 2ij + α) ( 1) What is necessary is to make it become. Here, Σ represents a cumulative sum for i and j. The same applies hereinafter.

【0033】逆ガンマ特性は近似的に、 I=kY2 (2) で表わすことができる。ここでkは定数であり、指数の
2は2.2〜2.8の値であるが、2を採用したときに
実施(演算)が容易であるという特徴がある。
The inverse gamma characteristic can be approximately expressed by I = kY 2 (2). Here, k is a constant, and 2 of the exponent is a value of 2.2 to 2.8. However, when 2 is adopted, implementation (operation) is easy.

【0034】式(1)および(2)より、 ΣYij 2 =Σ(Y2ij +α)2 (3) が得られる。この式(3)より、 α2 +2αΣY2ij +ΣY2ij 2 −ΣYij 2=0 (4) が得られ、この式(4)から、 α=−ΣY2ij +β1/2 (5) が得られる。ここで β=(ΣY2ij2 +ΣYij 2 −ΣY2ij 2 である。From equations (1) and (2), ΣY ij 2 = Σ (Y 2ij + α) 2 (3) is obtained. From equation (3), α 2 + 2αΣY 2ij + ΣY 2ij 2 −ΣY ij 2 = 0 (4) is obtained, and from equation (4), α = −ΣY 2ij + β 1/2 (5) is obtained. Here, β = ( ΣY 2ij ) 2 + ΣY ij 2 −ΣY 2ij 2 .

【0035】さらにα<<ΣY2ijなる条件を用いる
と、 α=(ΣYij 2−ΣY2ij 2 )(2ΣY2ij-1 (6) が得られる。
Further, when the condition of α << 2Y 2ij is used, α = (ΣY ij 2 -ΣY 2ij 2 ) (2ΣY 2ij ) -1 (6) is obtained.

【0036】式(5)または(6)に示したαの値が補
正信号50のレベルを表わしている。このようにして求
めたαを補正信号50として、Bピクチャの内挿予測符
号化時に入力端子40からのBピクチャの画像信号にあ
らかじめ加算することによって、ぼやけたBピクチャと
ガンマ特性に基因するフリッカを低減することができ
る。
The value of α shown in the equation (5) or (6) represents the level of the correction signal 50. The α thus obtained is added in advance as a correction signal 50 to the image signal of the B picture from the input terminal 40 at the time of interpolation prediction encoding of the B picture, so that the blurred B picture and the flicker caused by the gamma characteristic are obtained. Can be reduced.

【0037】[0037]

【発明の効果】以上の説明から明らかなように、本発明
によるならば、鮮明な画像とぼやけた画像が交互に再現
される内挿予測符号化を用いた画像信号に対して、表示
装置の非線形特性を考慮したガンマ特性によって生ずる
フリッカを低減することができる。したがって本発明の
効果は極めて大きい。
As is apparent from the above description, according to the present invention, the display apparatus can be used for an image signal using interpolation prediction coding in which a clear image and a blurry image are alternately reproduced. It is possible to reduce flicker caused by a gamma characteristic in consideration of a non-linear characteristic. Therefore, the effect of the present invention is extremely large.

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

【図1】本発明の一実施例を示す回路構成図である。FIG. 1 is a circuit diagram showing an embodiment of the present invention.

【図2】図1の構成要素である2つのピクチャ・メモリ
の切替動作を説明するためのピクチャ位置図である。
FIG. 2 is a picture position diagram for explaining a switching operation of two picture memories which are components of FIG. 1;

【図3】図1の構成要素である補正回路において輝度補
正を行う動作を説明するための入力信号レベルに対する
輝度特性図である。
FIG. 3 is a luminance characteristic diagram with respect to an input signal level for describing an operation of performing luminance correction in a correction circuit which is a component of FIG. 1;

【図4】従来の前方および後方ピクチャから動ベクトル
を検出する動作を説明するためのピクチャ位置図であ
る。
FIG. 4 is a picture position diagram for explaining a conventional operation of detecting a motion vector from front and rear pictures.

【図5】従来の内挿予測符号化時の入力信号に対する輝
度を示す輝度特性図である。
FIG. 5 is a luminance characteristic diagram showing luminance with respect to an input signal at the time of conventional interpolation prediction encoding.

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

20 加算器 21 補正回路 22 変換器 23 量子化器 24 逆量子化器 25 逆変換器 26 加算器 27 切替スイッチ 30,32 ピクチャ・メモリ 31,33 動き補償回路 34 内挿回路 35,36 切替スイッチ 40 入力端子 41 符号化データ 43 ゼロ値 44 予測誤差信号 45 予測信号 46 内挿予測信号 47 量子化誤差信号 48,49 動き補償された信号 50 補正信号 51 復号化信号 100,101 ピクチャ 102,103 ブロック 104 検索領域 m,n ピクチャ間隔 Reference Signs List 20 adder 21 correction circuit 22 converter 23 quantizer 24 inverse quantizer 25 inverse transformer 26 adder 27 changeover switch 30, 32 picture memory 31, 33 motion compensation circuit 34 interpolation circuit 35, 36 changeover switch 40 Input terminal 41 Encoded data 43 Zero value 44 Prediction error signal 45 Prediction signal 46 Interpolation prediction signal 47 Quantization error signal 48, 49 Motion compensated signal 50 Correction signal 51 Decoded signal 100, 101 Picture 102, 103 Block 104 Search area m, n picture interval

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭58−215186(JP,A) 特開 平2−164187(JP,A) 特開 平4−888(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 7/24 - 7/68 H04N 5/14 - 5/217 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-58-215186 (JP, A) JP-A-2-164187 (JP, A) JP-A-4-888 (JP, A) (58) Survey Field (Int.Cl. 7 , DB name) H04N 7/ 24-7/68 H04N 5/14-5/217

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】現ピクチャの画像信号(40)と、その前
方および後方のピクチャから得た予測信号(45)の差
をとり、前記現ピクチャの輝度を補正するための補正信
号(50)を加えて(20)、予測誤差信号(44)を
得、 前記予測信号と前記現ピクチャの画像信号とから、前記
予測信号の表示器上の輝度を前記現ピクチャの画像信号
の前記表示器上の輝度に近づけるように前記予測信号を
補正するための前記補正信号を得る画像符号化方法。
1. A difference signal between an image signal (40) of a current picture and a prediction signal (45) obtained from a picture before and after the current picture, and a correction signal (50) for correcting the luminance of the current picture is obtained. In addition (20), a prediction error signal (44) is obtained, and from the prediction signal and the image signal of the current picture, the luminance of the prediction signal on the display is changed by the luminance of the image signal of the current picture on the display. An image coding method for obtaining the correction signal for correcting the prediction signal so as to approach luminance.
【請求項2】現ピクチャの画像信号(40)と、その前
方および後方のピクチャから得た予測信号(45)の差
をとり、前記現ピクチャの輝度を補正するための補正信
号(50)を加えて予測誤差信号(44)を得るための
第1の累算手段(20)と、 前記前方および後方のピクチャから得た前記復号化信号
のそれぞれを一時的に格納するためのメモリ手段(3
0,32)と、 前記メモリ手段に格納された前記前方および後方のピク
チャからそれぞれ動ベクトルを検出して前記前方および
後方のピクチャからそれぞれ動き補償された信号(4
8,49)を出力するための動き補償手段(31,3
3)と、 前記前方および後方ピクチャから得た前記動き補償され
た信号から内挿予測信号(46)を出力するための内挿
手段(46)と、 前記予測信号と前記現ピクチャの画像信号とを受けて、
前記予測信号の表示器上の輝度を前記現ピクチャの表示
器上の輝度に近づけるように前記予測信号を補正するた
めの前記補正信号を出力する補正手段(21)とを含む
画像符号化装置。
2. A correction signal (50) for correcting the luminance of the current picture by taking the difference between the image signal (40) of the current picture and the prediction signal (45) obtained from the preceding and following pictures. In addition, first accumulating means (20) for obtaining a prediction error signal (44), and memory means (3) for temporarily storing each of the decoded signals obtained from the forward and backward pictures.
0, 32), and a motion vector detected from the front and rear pictures stored in the memory means, and a motion compensated signal (4
8, 49) for outputting the motion compensating means (31, 3).
3), interpolation means (46) for outputting an interpolation prediction signal (46) from the motion-compensated signal obtained from the front and rear pictures, and the prediction signal and the image signal of the current picture. Receiving
A correction unit (21) for outputting the correction signal for correcting the prediction signal so that the luminance of the prediction signal on the display approaches the luminance of the display of the current picture.
JP6109592A 1992-02-17 1992-02-17 Image coding method and apparatus Expired - Lifetime JP3004799B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6109592A JP3004799B2 (en) 1992-02-17 1992-02-17 Image coding method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6109592A JP3004799B2 (en) 1992-02-17 1992-02-17 Image coding method and apparatus

Publications (2)

Publication Number Publication Date
JPH05236461A JPH05236461A (en) 1993-09-10
JP3004799B2 true JP3004799B2 (en) 2000-01-31

Family

ID=13161184

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6109592A Expired - Lifetime JP3004799B2 (en) 1992-02-17 1992-02-17 Image coding method and apparatus

Country Status (1)

Country Link
JP (1) JP3004799B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1845735A4 (en) 2004-12-28 2009-07-15 Nec Corp Moving picture encoding method, and apparatus and computer program using the same

Also Published As

Publication number Publication date
JPH05236461A (en) 1993-09-10

Similar Documents

Publication Publication Date Title
JP4083265B2 (en) Method and apparatus for converting image signal system
US9247250B2 (en) Method and system for motion compensated picture rate up-conversion of digital video using picture boundary processing
US6226327B1 (en) Video coding method and apparatus which select between frame-based and field-based predictive modes
US7224734B2 (en) Video data encoding apparatus and method for removing a continuous repeat field from the video data
US6819714B2 (en) Video encoding apparatus that adjusts code amount by skipping encoding of image data
US20120314772A1 (en) Optical flow based motion vector estimation systems and methods
JP2970417B2 (en) Video coding method
JPH02285816A (en) Adaptive inter-frame prediction encoding system
JP2005318620A (en) Motion vector detection employing adaptive temporal prediction
JP2000134585A (en) Motion vector deciding method and method and circuit for number of frames of image signal conversion
JP3031152B2 (en) Motion prediction processor and motion prediction device
KR20060047638A (en) Film mode correction in still areas
JP3210082B2 (en) Encoding device and method
JP2885322B2 (en) Inter-field prediction encoding device and decoding device
US7302003B2 (en) Method and device for image interpolation with motion compensation
US6930728B2 (en) Scan conversion apparatus
JPH11298861A (en) Method and device for converting frame number of image signal
JPH0678298A (en) Motion compensation prediction device for interlace animation
KR970000761B1 (en) Mini high-definition television
JP2003348594A (en) Device and method for decoding image
JP3004799B2 (en) Image coding method and apparatus
JPH0851599A (en) Image information converter
KR970001171B1 (en) Motion vector detecting method included in image information
JP3362463B2 (en) Frame interpolation device
JP3778606B2 (en) Image quality improvement device