JPH05236461A - Mehtod and device for encoding image - Google Patents

Mehtod and device for encoding image

Info

Publication number
JPH05236461A
JPH05236461A JP6109592A JP6109592A JPH05236461A JP H05236461 A JPH05236461 A JP H05236461A JP 6109592 A JP6109592 A JP 6109592A JP 6109592 A JP6109592 A JP 6109592A JP H05236461 A JPH05236461 A JP H05236461A
Authority
JP
Japan
Prior art keywords
signal
picture
prediction
current picture
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.)
Granted
Application number
JP6109592A
Other languages
Japanese (ja)
Other versions
JP3004799B2 (en
Inventor
Yasuo Katayama
泰男 片山
Koichi Oyama
公一 大山
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.)
G C TECHNOL KK
Original Assignee
G C TECHNOL KK
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 G C TECHNOL KK filed Critical G C TECHNOL KK
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)

Abstract

PURPOSE:To decrease flicker caused by lowering of average luminance level to the level lower than that of preceding and following pictures due to the blurring of a current picture in the case of executing the interpolation predictive signaling of an image signal. CONSTITUTION:Motion-compensated signals 48 and 49 are obtained by detecting motion vectors from preceding and following pictures stored in two picture memories 30 and 32, and an interpolation predictive signal 46 is obtained. When adding difference from a signal 40 of the current picture at an adder 20 while defining this signal as a predictive signal 45, a correcting signal 50 to correct the luminance of the current picture on a display is added to the signal 40, and the average luminance of the current picture is increased. Therefore, since the average luminance of the current picture is increased at the same degree of that of preceding and following pictures, flicker is decreased and picture quality is improved.

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 coding method and apparatus. Specifically, it is an object of the present invention to provide an image coding method and apparatus for removing flicker that tends to occur when a moving image signal is interpolatively predictively coded and transmitted.

【0002】[0002]

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

【0003】しかし、静止領域では、ピクチャ間予測符
号化は有効であるが、動領域では大きな予測誤差データ
を生じ、画質も劣化する欠点がある。これを是正する手
段として用いられているのが動き補償ピクチャ間予測符
号化である。動き補償ピクチャ間予測符号化では、ピク
チャ間の予測誤差データを求める前に、現在のピクチャ
の符号化する部分の1つ前の復号化されたピクチャとの
間の移動量である動ベクトルを検出する。動ベクトルが
得られると、1つ前の復号化ピクチャの中で動ベクトル
に従ってずらした位置の現在のピクチャの符号化する部
分との予測誤差データを求める。得られた予測誤差デー
タは符号化されて動ベクトルとともに受信側に伝送され
る。
However, although the inter-picture predictive coding is effective in the still area, it has a drawback that large prediction error data is generated in the moving area and the image quality is deteriorated. Motion-compensated inter-picture predictive coding is used as a means for correcting this. In motion-compensated inter-picture predictive coding, a motion vector, which is the amount of movement between the current picture and the immediately preceding decoded picture, is detected before determining inter-picture prediction error data. To do. When the motion vector is obtained, the prediction error data with respect to the part to be coded of the current picture at the position shifted according to the motion vector in the immediately preceding decoded picture is obtained. 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 the motion vector is coded and transmitted, the transmission code amount is reduced as compared with the interframe coding without motion compensation.

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

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

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

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

【0009】一般に上記の蓄積メディア用動画像符号化
装置において、BピクチャはI,Pピクチャに比べて、
画像がぼやけて再現される。
In general, in the above-described moving picture coding apparatus for storage media, B pictures are compared to I and P pictures.
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 by referring to both the forward and backward I and P pictures, so that the prediction error is small, and the B picture is not used for the next prediction. This is because, since it is a type, only a code amount smaller than the code amounts assigned to I and P pictures is generally assigned to B pictures. Further, in the B picture, since an image is obtained by the prediction signal obtained by averaging the prediction signals from both the front and rear I and P pictures, a fine portion (texture) of the image is lost and is easily blurred.

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

【0012】この画像信号である入力信号レベルYと表
示器上の輝度Iの関係を図5に示し説明する。ここでは
表示の都合上、逆ガンマ特性を表わす太線で示す曲線の
曲率を大きく表現している。
The relationship between the input signal level Y which is the image signal and the brightness I on the display will be described with reference to FIG. Here, for convenience of display, the curvature of the curve indicated by the thick line representing the inverse gamma characteristic is represented 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 , the points A 1 and 1 on the curve are indicated.
B1 corresponds and the average visually perceived luminance in that case is the luminance I C1 of C1 at the midpoint between points A1 and B1. However, when the image with 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 the points A2 and B2 on the curve are indicated. Corresponds. Then, the average brightness at this time becomes the brightness I C2 of C2, which is the middle point between the points A2 and B2, and the average brightness level is perceived to be reduced by the difference between I C1 and I C2 . That is, the blurred B picture is perceived as having a lower brightness than the clear I and P pictures.

【0014】[0014]

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

【0015】[0015]

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

【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 image of 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 brightness level I C2 at the intermediate point C2 matches the brightness level I C1 . As a result, flicker can be reduced and a more natural image can be reproduced.

【0017】[0017]

【実施例】本発明の一実施例を図1に示し説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of the present invention will be described with reference to FIG.

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

【0019】加算器20では、Bピクチャ内の処理対象
となっているブロックに含まれている画素ごとの信号レ
ベルと切替スイッチ36の端子aを介して印加される補
正信号の和をとり、それから予測信号45を減じて予測
誤差信号44を得ている。
The adder 20 takes 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 signal 45 is subtracted to obtain the prediction error signal 44.

【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, quantized by the quantizer 23, and encoded data 41 is output. Encoded data 4
At the same time as 1 is sent to the receiving side, it is inversely quantized by the inverse quantizer 24, which is inversely orthogonally transformed by the inverse transformer 25 to obtain the quantized 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 quantizer error signal 47 and the prediction signal 45 are applied to the adder 26, and the decoded signal 51 is obtained by adding them to the picture memory 30 or 32 via the terminal d or e of the changeover switch 27. Applied and stored. An image signal of a B picture is applied to the input terminal 40, the changeover switch 27 is connected to the terminal c when processing a B picture, and the input terminal 40 is connected to the front or rear I,
When the picture signal of the P picture is applied and the forward or backward I and P pictures are processed, the changeover switch 27 is connected to the terminal d or e. Therefore, the decoded signal 51 at the time of processing the forward or backward I and P pictures is stored in the picture memories 30 and 32. Motion compensation circuit 3
Forward or backward I, P stored in the picture memory 30 or 32 using the motion vector at 1, 33
The image signal of the motion-compensated block is read out from the picture to obtain the motion-compensated signal 48 or 49, which is the terminals f and h of the interpolation circuit 34 and the changeover switch 35.
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 the interpolation prediction signal and outputs the 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 change-over switch 35, a motion-compensated signal from the front or rear I or P picture is selected, and is selected as the prediction signal 4.
It will be output as 5. When the terminal g is selected, the interpolation prediction signal 46 is output as the prediction signal 45. When the terminal i is selected, the zero (0) value 43 is output as the prediction signal 45. The changeover switch 35 is switched by an optimum mode selected for each block in the image and by a control signal from the outside (not shown).

【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 changeover switch 36 is controlled by a control signal (not shown).

【0025】前方または後方のI,Pピクチャの処理時
に、切替スイッチ27の端子eまたはdのいずれかが交
互に選択されるが、その様子を図2を用いて説明する。
At the time of processing the forward or backward I and P pictures, either the terminal e or the terminal d of the changeover switch 27 is alternately selected, which 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 ..., I, P pictures are I1, I2, I
, 3, and 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 forward and backward prediction are prepared, the B1 picture is encoded next. During the B picture processing, the changeover switch 27 is connected to the terminal c. For the prediction of 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 changed over to the terminal d, and the I3 picture which is the picture behind the B2 picture is coded. In that case, the terminal h of the changeover switch 35 is selected.
Is selected. The decoded signal 51 is stored in the picture memory 30 and is already stored in the picture memory 32.
The I2 picture stored in the above is used as a picture ahead of the B2 picture so that the prediction signal 45 of the next encoded screen 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 there are shown.
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 brightness of the forward or backward I and P pictures which are clear images is indicated by I C1 , and the average brightness of the B picture which is a blurred image is I C2 . To be shown
Since the B picture is perceived with lower luminance than the I and P pictures, flicker occurs.

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

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

【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 brightness on the display (for example, a cathode ray tube) is I, and the inverse gamma characteristic is I = f (Y). It is assumed that the image signal is processed for each block in the picture, the input signal level in the block is Y ij, and i and j indicate the spatial position 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, the average of 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 luminance correction (see FIG. 1). (1 / n) Σf (Y ij ) = (1 / N) Σf (Y 2ij + α) ( 1) should be satisfied. Here, Σ represents the cumulative sum of 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 represented by I = kY 2 (2). Here, k is a constant, and the exponent 2 is a value of 2.2 to 2.8. However, when 2 is adopted, there is a feature that the operation (calculation) 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 this equation (3), α 2 + 2αΣY 2ij + ΣY 2ij 2 −ΣY ij 2 = 0 (4) is obtained, and from this 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, if the condition α << ΣY 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 α obtained in this way is added as a correction signal 50 to the image signal of the B picture from the input terminal 40 in advance during interpolation prediction coding of the B picture, so that the flicker due to the blurred B picture and the gamma characteristic is caused. Can be reduced.

【0037】[0037]

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

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

【図1】本発明の一実施例を示す回路構成図である。FIG. 1 is a circuit configuration 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 constituent elements of FIG.

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

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

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

【符号の説明】[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 ピクチャ間隔 20 adder 21 correction circuit 22 converter 23 quantizer 24 inverse quantizer 25 inverse converter 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 Coded 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

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】現ピクチャの画像信号(40)と、その前
方および後方のピクチャから得た予測信号(45)の差
をとり、前記現ピクチャの輝度を補正するための補正信
号(50)を加えて(20)、予測誤差信号(44)を
得、 前記予測信号と前記現ピクチャの画像信号とから、前記
予測信号の表示器上の輝度を前記現ピクチャの画像信号
の前記表示器上の輝度に近づけるように前記予測信号を
補正するための前記補正信号を得る画像符号化方法。
1. 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 signals (45) obtained from the pictures before and after the current picture. In addition (20), a prediction error signal (44) is obtained, and from the prediction signal and the image signal of the current picture, the brightness of the prediction signal on the display is displayed on the display of the image signal of the current picture. An image coding method for obtaining the correction signal for correcting the prediction signal so as to approximate the 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 signals (45) obtained from the pictures before and after the current picture. In addition, a first accumulating means (20) for obtaining a prediction error signal (44) and a memory means (3) for temporarily storing each of the decoded signals obtained from the forward and backward pictures.
0, 32), and motion-compensated signals respectively detected from the forward and backward pictures stored in the memory means and motion-compensated from the forward and backward pictures (4
Motion compensation means (31, 3) for outputting
3), interpolation means (46) for outputting an interpolation prediction signal (46) from the motion-compensated signals obtained from the forward and backward pictures, the prediction signal and the image signal of the current picture Received
An image coding apparatus, comprising: a correction unit (21) for outputting the correction signal for correcting the prediction signal so that the brightness of the prediction signal on the display approaches the brightness 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 true JPH05236461A (en) 1993-09-10
JP3004799B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2006070787A1 (en) * 2004-12-28 2008-08-07 日本電気株式会社 MOVING IMAGE ENCODING METHOD, DEVICE USING THE SAME, AND COMPUTER PROGRAM

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2006070787A1 (en) * 2004-12-28 2008-08-07 日本電気株式会社 MOVING IMAGE ENCODING METHOD, DEVICE USING THE SAME, AND COMPUTER PROGRAM
US8325799B2 (en) 2004-12-28 2012-12-04 Nec Corporation Moving picture encoding method, device using the same, and computer program
JP5234241B2 (en) * 2004-12-28 2013-07-10 日本電気株式会社 Moving picture encoding method, apparatus using the same, and computer program

Also Published As

Publication number Publication date
JP3004799B2 (en) 2000-01-31

Similar Documents

Publication Publication Date Title
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
US9247250B2 (en) Method and system for motion compensated picture rate up-conversion of digital video using picture boundary processing
US6819714B2 (en) Video encoding apparatus that adjusts code amount by skipping encoding of image data
US7486734B2 (en) Decoding and coding method of moving image signal, and decoding and coding apparatus of moving image signal using the same
US6415055B1 (en) Moving image encoding method and apparatus, and moving image decoding method and apparatus
JP2970417B2 (en) Video coding method
JPH02285816A (en) Adaptive inter-frame prediction encoding system
US7746930B2 (en) Motion prediction compensating device and its method
JP2885322B2 (en) Inter-field prediction encoding device and decoding device
JP3210082B2 (en) Encoding device and method
US20220046233A1 (en) Image decoding device, image decoding method, and program
JPH07193822A (en) Motion prediction processor and device therefor
JPH07112284B2 (en) Predictive encoding device and decoding device
KR970000761B1 (en) Mini high-definition television
JP7367237B2 (en) Method and device for prediction-dependent residual scaling for video coding
JPH0851599A (en) Image information converter
JP3004799B2 (en) Image coding method and apparatus
KR970001171B1 (en) Motion vector detecting method included in image information
JP2947103B2 (en) Moving picture coding apparatus and moving picture coding method
JPH0828876B2 (en) Method of refreshing video signal
JPH0799651A (en) Image signal reproducing device
JP3362463B2 (en) Frame interpolation device
CN115315948A (en) Method and apparatus for prediction dependent residual scaling for video coding
US7415068B2 (en) Process for the format conversion of an image sequence