JPH09224250A - Level fluctuation detector and image quality improving device - Google Patents

Level fluctuation detector and image quality improving device

Info

Publication number
JPH09224250A
JPH09224250A JP2965496A JP2965496A JPH09224250A JP H09224250 A JPH09224250 A JP H09224250A JP 2965496 A JP2965496 A JP 2965496A JP 2965496 A JP2965496 A JP 2965496A JP H09224250 A JPH09224250 A JP H09224250A
Authority
JP
Japan
Prior art keywords
frame
signal
inter
circuit
difference
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
JP2965496A
Other languages
Japanese (ja)
Other versions
JP3778606B2 (en
Inventor
Yoshiaki Shishikui
善明 鹿喰
Eisuke Nakasu
英輔 中須
Katsunori Aoki
勝典 青木
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.)
Japan Broadcasting Corp
Original Assignee
Nippon Hoso Kyokai NHK
Japan Broadcasting 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 Nippon Hoso Kyokai NHK, Japan Broadcasting Corp filed Critical Nippon Hoso Kyokai NHK
Priority to JP2965496A priority Critical patent/JP3778606B2/en
Publication of JPH09224250A publication Critical patent/JPH09224250A/en
Application granted granted Critical
Publication of JP3778606B2 publication Critical patent/JP3778606B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Picture Signal Circuits (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To detect the level fluctuation in a decoded frame signal. SOLUTION: A decoded frame signal is converted into a pseudo optical signal by a gamma characteristic circuit 101 and a mean luminance signal of the frame is calculated by a 1-frame mean calculation circuit 102. The obtained mean luminance signal is delayed sequentially by one frame at a 1-frame delay circuit 103, and the 1-frame mean calculation circuit 102 outputs the mean luminance signal of a frame of a B picture type in a timing when the 1-frame delay circuit 103 outputs the mean luminance signal of the frame of the P picture type. Then a difference between the mean luminance signal of the frame of the B picture type from the 1-frame mean calculation circuit 102 and the mean luminance signal of the frame of the B picture type is outputted from a difference circuit 107 to output the mean luminance difference between the frame of the B picture type and the frame of the P picture type.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、両方向予測を用い
た符号化方式により符号化された信号の復号画像のレベ
ル変動を検出するレベル変動検出装置に関するととも
に、該レベル変動検出装置により検出されたレベル変動
に基づき復号画質を改善する画質改善装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a level fluctuation detecting apparatus for detecting a level fluctuation of a decoded image of a signal coded by a coding method using bidirectional prediction, and a level fluctuation detecting apparatus for detecting the level fluctuation. The present invention relates to an image quality improving device that improves decoded image quality based on level fluctuation.

【0002】[0002]

【従来の技術】表示される画像の画質を改善する手法と
して、これまで、何種類かの提案がなされている。
2. Description of the Related Art As a method for improving the quality of a displayed image, several kinds of proposals have been made so far.

【0003】第1の手法としては、表示装置に供給され
る電気信号上の雑音成分を、時空間的なフィルタを適応
的に用いて除去するものであり、例えば、「直流加算型
ノイズリデューサの提案とMUSEデコーダ動画処理用ノイ
ズリデューサの開発」(和泉他、TV学会誌、vol.48, N
o.12, pp1553-1564 (1994) )に記載されているものが
知られている。
A first method is to remove noise components on an electric signal supplied to a display device by adaptively using a spatiotemporal filter. For example, "a direct current addition type noise reducer is used. Proposal and Development of Noise Reducer for MUSE Decoder Video Processing "(Izumi et al., Journal of TV Society, vol.48, N
O.12, pp1553-1564 (1994)) is known.

【0004】第2の手法はフリッカについてのものであ
り、被写体の照明として蛍光灯が用いられた場合、TV
(television)カメラ出力の電気信号において、空間的に
同一の位置を与える信号の時間的な変動を検出して、時
間的な変動を補正し、フリッカを除去するものである。
このような手法は、例えば、「テレビジョン信号の蛍光
灯フリッカー除去装置」(大塚他、NHK 技研月報、vol.
27, No.12, pp.501-506 )に記載されたものが知られて
いる。
The second method is for flicker, and when a fluorescent lamp is used to illuminate the subject, a TV is used.
(television) This is to detect flicker in an electrical signal output from a camera by detecting a temporal variation of a signal that gives a spatially same position, correct the temporal variation, and remove a flicker.
Such a method is described in, for example, "Fluorescent lamp flicker removal device for television signals" (Otsuka et al., NHK STRL, vol.
27, No. 12, pp.501-506) are known.

【0005】第3の手法は種類の異なるモニタ間のガン
マ特性のばらつきを補正するものである。これは、ガン
マ特性が例えば投射型と直視型でかなり異なり、表示
上、階調特性に影響を及ぼすので、ガンマ特性の違いを
「逆ガンマ:再ガンマ」という過程により補正するもの
である。このような手法としては、「ハイビジョンディ
スプレイの階調特性と画質の検討」(近藤、金澤、1992
年テレビジョン学会年次大会5-8 )に記載されたものが
知られている。
The third method is to correct variations in gamma characteristics between different types of monitors. This is because, for example, the gamma characteristic is considerably different between the projection type and the direct-view type and affects the gradation characteristic on display, so that the difference in the gamma characteristic is corrected by a process called "inverse gamma: re-gamma". As such a method, "Examination of gradation characteristics and image quality of high-definition display" (Kondo, Kanazawa, 1992)
The one described in the annual conference of the Television Society of Japan 5-8) is known.

【0006】フリッカは種々の原因で発生するが、電気
信号上で検出し得るものであれば、上記第2の手法によ
り検出し補正することができるが、そうでない場合は、
補正することができなかった。例えば、時間的に連続す
るフレームの画像間での空間解像度差が平均輝度レベル
差にふりかわる場合には、補正することができなかっ
た。通常、CRT等の表示装置では、ガンマ特性がある
ので、電気信号と光信号のレベルの間には線形な関係が
なく、このため、電気信号レベルでは平均値が同じで
も、高周波信号が存在することにより、光信号レベルで
は、平均値が異なる結果になりうる。
Although flicker occurs due to various causes, if it can be detected on an electric signal, it can be detected and corrected by the second method, but if it is not,
Could not be corrected. For example, when the spatial resolution difference between images of temporally consecutive frames is reflected in the average luminance level difference, the correction cannot be performed. Normally, in a display device such as a CRT, since there is a gamma characteristic, there is no linear relationship between the levels of an electric signal and an optical signal. Therefore, even if the electric signal level has the same average value, a high frequency signal exists. This can result in different average values at the optical signal level.

【0007】このようなフリッカの原因となる空間解像
度の時間的な変化が起こる例としては、両方向予測を用
いた符号化方式の復号画像の表示がある。データ圧縮方
式として、時間軸上の前後の画像と無関係に当該画像内
で完結するデータ圧縮方式および時系列順に予測を行な
う一方向予測による圧縮方式が知られている。前者の圧
縮符号化構造としては、Iピクチャ(Intra coded Pictu
res)が、後者の予測符号化構造としては、Pピクチャ(P
redictive coded Pictures) がある。Iピクチャは直接
映像信号をDCT(discrete cosine transform)したフ
レーム内符号化画像であり、圧縮率が最も低く、復号化
する際、他のピクチャを参照することなく再生すること
ができる。Pピクチャは時間的に過去のピクチャ(Iピ
クチャまたはPピクチャ)からのみ前方向予測してフレ
ーム間符号化したピクチャである。図4(a)に示すよ
うに、Iピクチャを周期的に配置し、ランダム・アクセ
ス、早送り再生等の特殊再生機能に対応させている。図
4(a)にNで示す複数のピクチャによりGOP(Group
of Pictures) という1つのグループを構成する。
An example of such a temporal change in spatial resolution that causes flicker is the display of a decoded image of a coding method using bidirectional prediction. As data compression methods, there are known a data compression method that is completed within the image regardless of the preceding and succeeding images on the time axis and a compression method by unidirectional prediction that performs prediction in time series. The former compression encoding structure is an I picture (Intra coded Pictu).
res) is a P picture (P
redictive coded Pictures). The I picture is an intra-frame coded image obtained by directly performing DCT (discrete cosine transform) of the video signal, has the lowest compression rate, and can be reproduced without referring to other pictures when decoding. The P picture is a picture which is forward predicted only from a temporally past picture (I picture or P picture) and inter-frame coded. As shown in FIG. 4A, I pictures are periodically arranged to support special reproduction functions such as random access and fast-forward reproduction. The GOP (Group
of pictures).

【0008】しかし、この一方向予測では、時間的に前
のフレームからの予測しか行なえないので、未来を予
測、例えば、物体の移動に伴って見えてくるアンカバー
ド部を予測することができなかった。
However, since this one-way prediction can only predict from a frame preceding in time, it is impossible to predict the future, for example, the uncovered portion that appears as the object moves. It was

【0009】未来を予測することができるデータ圧縮方
式としては、MPEG(Moving Picture Experts Group)
ビデオの符号化方式が知られている。この符号化方式に
より符号化された画像は、IピクチャおよびPピクチャ
の他に、Bピクチャ(Bidirectionally Predictive code
d Pictures) がある。Bピクチャは過去と未来の両方か
ら予測してフレーム間符号化したものである。MPEG
方式では、1つのPピクチャまたはIピクチャと1つ以
上の所定数のBピクチャより構成される図4(b)中に
Mで表わされる画像単位の繰り返しにより符号化画像が
構成されている。
As a data compression method capable of predicting the future, MPEG (Moving Picture Experts Group)
Video encoding methods are known. An image coded by this coding method is a B picture (Bidirectionally Predictive code) in addition to an I picture and a P picture.
d Pictures). B-pictures are those that are predicted from both the past and the future and are inter-frame coded. MPEG
In the method, a coded image is configured by repeating an image unit represented by M in FIG. 4B, which includes one P picture or I picture and one or more predetermined number of B pictures.

【0010】図4(b)に示す符号化の例では、Iピク
チャとPピクチャの間に、Bピクチャが2枚ある。両方
向の予測が用いられるBピクチャでは、時間的に前のフ
レームからの予測画像と、時間的に後ろのフレームから
の予測画像と、さらにこれら2つの予測画像の平均画像
(内挿予測)が選択的に用いられる。このため、前のフ
レームからの予測しか行なえないPピクチャに比べてよ
り高精度な予測が行われる。上述したアンカバード部
は、時間的に後ろのピクチャから予測可能であり、アン
カバード部の問題は両方向予測では事実上存在しない。
また、内挿予測を用いる場合、補償精度が一方向の動き
補償の精度以上になる上、変形のような補償不可能な動
きがある場合も位相の近似度の高い予測画像を得ること
ができる(図5参照)。
In the coding example shown in FIG. 4B, there are two B pictures between the I picture and the P picture. In a B picture in which bidirectional prediction is used, a predicted image from a temporally previous frame, a predicted image from a temporally backward frame, and an average image (interpolation prediction) of these two predicted images are selected. Used for. Therefore, more accurate prediction is performed as compared with a P picture that can only perform prediction from the previous frame. The uncovered part described above can be predicted from a picture that is behind in time, and the problem of the uncovered part does not substantially exist in bidirectional prediction.
In addition, when interpolation prediction is used, the compensation accuracy is higher than the accuracy of motion compensation in one direction, and even when there is uncompensable motion such as deformation, a predicted image with a high degree of phase approximation can be obtained. (See Figure 5).

【0011】このため、多くの画像においてはBピクチ
ャでは内挿予測が用いられる確率が高い。ただし、内挿
予測では位相がずれた画像の平均をとることになるた
め、一方向からの予測画像に比べて空間解像度が落ちる
ことになる。変形を伴わない動きに対して、動き補償が
理想的に行われた場合、この平均をとる2画像の位相差
はたかだか補償精度の大きさである。しかし、現実に
は、動き推定の不完全性により本来の補償精度より大き
くなることがあり、変形を伴う画像の場合、大きな位相
差が存在する可能性がある。従って、Bピクチャの予測
画像の空間解像度はPピクチャの空間解像度より低く、
その低下の程度は上述したように動き、変形に依存する
ため一様ではない。
Therefore, in many pictures, the probability that interpolation prediction is used for B pictures is high. However, in the interpolative prediction, the average of the images with the shifted phases is taken, so that the spatial resolution is lower than that of the predicted image from one direction. When motion compensation is ideally performed for motion that does not involve deformation, the phase difference between the two images for averaging is at most the magnitude of compensation accuracy. However, in reality, the accuracy of compensation may be larger than the original due to imperfections in the motion estimation, and in the case of an image accompanied by deformation, a large phase difference may exist. Therefore, the spatial resolution of the predicted image of the B picture is lower than the spatial resolution of the P picture,
The degree of the decrease is not uniform because it moves as described above and depends on the deformation.

【0012】両方向予測では、BピクチャはPピクチャ
と違って他のフレームの予測に用いられることがないの
で、Bピクチャに歪みがあっても他のフレームには影響
はない。また、上述したように両方向予測の予測効率は
高いので、Bピクチャでは同じ歪み量を達成するのに必
要な情報量はPピクチャより少なくてすむことになる。
従って、Bピクチャに対し割り当て情報量を少なくし、
その分IピクチャやPピクチャへの割当を増やすとい
う、効率的な情報量制御を行うことができる。
In bidirectional prediction, B pictures are not used for prediction of other frames, unlike P pictures, so that distortion of B pictures does not affect other frames. In addition, since the prediction efficiency of bidirectional prediction is high as described above, the amount of information required to achieve the same amount of distortion for B pictures is smaller than that for P pictures.
Therefore, the allocation information amount is reduced for B pictures,
Efficient information amount control can be performed by increasing the allocation to I pictures and P pictures accordingly.

【0013】[0013]

【発明が解決しようとする課題】しかし、同時に、この
ような情報量制御により、Bピクチャの高周波成分の伝
送に情報量割当がなされなくなり、結果としてBピクチ
ャの解像度が他のピクチャタイプより低くなることにな
る。
However, at the same time, due to such information amount control, the information amount is not allocated to the transmission of the high frequency component of the B picture, and as a result, the resolution of the B picture becomes lower than that of other picture types. It will be.

【0014】通常、CRT等の表示装置ではガンマ特性
があるため、電気信号レベルと光信号レベルの間には線
形な関係がなく、光信号レベルでは平均値が異なる。そ
の結果、電気信号レベルでは平均値が同じでも、高周波
信号が存在した場合、時間的に連続するフレームの画像
間での空間解像度差が平均輝度レベル差にふりかわり、
光信号の平均輝度レベルが時間的に変動し、フリッカが
発生する。
Generally, since a display device such as a CRT has a gamma characteristic, there is no linear relationship between the electric signal level and the optical signal level, and the average value differs at the optical signal level. As a result, even if the average value is the same at the electrical signal level, if there is a high-frequency signal, the spatial resolution difference between the images of the temporally consecutive frames is changed to the average luminance level difference,
The average luminance level of the optical signal fluctuates with time, causing flicker.

【0015】本発明の目的は、上記のような問題点を解
決し、フリッカレベルを検出することができるレベル変
動検出装置を提供することにある。
An object of the present invention is to solve the above problems and to provide a level fluctuation detecting apparatus capable of detecting a flicker level.

【0016】本発明の他の目的は、上記のような問題点
を解決し、フリッカを抑制して復号画質を改善すること
ができる画質改善装置を提供することにある。
Another object of the present invention is to solve the above problems and to provide an image quality improving apparatus capable of suppressing flicker and improving decoded image quality.

【0017】[0017]

【課題を解決するための手段】[Means for Solving the Problems]

1)本発明に係るレベル変動検出装置は、時間的に過去
の信号のみを予測信号とする1つの一方向型フレーム間
またはフィールド間予測符号化画像と、時間的に過去お
よび未来の信号を予測信号とする1つ以上の所定数の両
方向型フレーム間またはフィールド間予測符号化画像と
を1単位として該単位を繰り返すとともに、周期的に、
前記一方向型フレーム間またはフィールド間予測符号化
画像を、フレーム内またはフィールド内符号化画像と置
換した復号画像信号に対して、電光変換特性を有する非
線形処理を行う第1信号処理手段と、該第1信号処理手
段の処理により得られた復号画像信号を、フレーム内ま
たはフィールド内符号化画像と、一方向型フレーム間ま
たはフィールド間予測符号化画像と、両方向型フレーム
間またはフィールド間予測符号化画像のそれぞれのフレ
ームまたはフィールド内の所定の範囲で平均値処理を行
う第1平均値処理手段と、該第1平均値処理手段により
得られた前記画像単位内に含まれる所定数の両方向型フ
レーム間またはフィールド間予測符号化画像のそれぞれ
の平均値処理出力の算術平均値と、前記第1平均値処理
手段の処理により得られた一方向型フレーム間またはフ
ィールド間予測符号化画像との差分とを出力するととも
に、前記算術平均値と、前記第1平均値処理手段の処理
により得られたフレーム内またはフィールド内符号化画
像との差分を出力する差分出力手段とを備えたことを特
徴とする。
1) The level fluctuation detecting apparatus according to the present invention predicts one unidirectional interframe or interfield predictive coded image in which only temporally past signals are used as prediction signals, and temporally past and future signals. The unit is repeated with one or more predetermined number of bidirectional frame-to-frame or inter-field predictive-coded images as signals, and periodically,
First signal processing means for performing non-linear processing having electro-optical conversion characteristics on a decoded image signal in which the unidirectional inter-frame or inter-field predictive encoded image is replaced with an intra-frame or intra-field encoded image, The decoded image signal obtained by the processing of the first signal processing means is encoded into an intra-frame or intra-field encoded image, a unidirectional interframe or interfield predictive encoded image, and a bidirectional interframe or interfield predictive encoded. First average value processing means for performing an average value processing in a predetermined range in each frame or field of the image, and a predetermined number of bidirectional frames included in the image unit obtained by the first average value processing means By the arithmetic mean value of the average value processing output of each inter-field or inter-field predictive coded image and the processing of the first average value processing means The difference between the unidirectional inter-frame or inter-field predictive coded image is output, and the arithmetic mean value and the intra-frame or intra-field coded image obtained by the process of the first average value processing means are output. And a difference output means for outputting the difference between

【0018】2) 上記1)に記載のレベル変動検出装
置において、前記第1信号処理手段は、各復号画像信号
に対してガンマ補正変換を行うことを特徴とする。
2) In the level fluctuation detecting device described in 1) above, the first signal processing means performs gamma correction conversion on each decoded image signal.

【0019】3) 本発明に係る画質改善装置は、上記
2)に記載のレベル変動検出装置により出力された差分
出力を、上記1)に記載の第1平均値処理手段により平
均値処理された両方向型フレーム間またはフィールド間
予測符号化画像の前記所定数の復号画像信号にそれぞれ
加算する前記所定数と同数の第1加算手段と、該第1加
算手段により得られた信号に対しそれぞれ逆ガンマ補正
変換を行う前記所定数と同数の第2信号処理手段と、前
記両方向型フレーム間またはフィールド間予測符号化画
像の復号画像信号に対して、フレームまたはフィールド
内の所定の範囲で平均値処理を行う第2平均値処理手段
と、該第2平均値処理手段の処理により得られた前記所
定数の両方向型フレーム間またはフィールド間予測符号
化画像の平均値処理出力と、前記第2信号処理手段によ
る信号処理により得られた信号との差分をそれぞれ出力
する前記所定数と同数の第2差分出力手段と、該第2差
分出力手段により出力された差分を、前記所定数の両方
向型フレーム間またはフィールド間予測符号化画像の復
号画像信号に対してそれぞれ画素ごとに加算する前記所
定数と同数の第2加算手段とを備えたことを特徴とす
る。
3) In the image quality improving apparatus according to the present invention, the difference output output by the level fluctuation detecting apparatus described in 2) above is averaged by the first average value processing means described in 1) above. Bidirectional bidirectional interframe or inter-field predictive coded images are added to the predetermined number of decoded image signals, and the same number of first addition units as the predetermined number, and inverse gamma for each of the signals obtained by the first addition unit. The same number of second signal processing units as the predetermined number for performing the correction conversion, and the average value processing of the decoded image signal of the bidirectional inter-frame or inter-field predictive coded image within a predetermined range within a frame or field are performed. Second average value processing means to perform, and average value processing of the predetermined number of bidirectional interframe or interfield predictive coded images obtained by the processing of the second average value processing means. The same number of second difference output means as the predetermined number for outputting the difference between the output and the signal obtained by the signal processing by the second signal processing means, and the difference output by the second difference output means, The present invention is characterized by comprising a predetermined number of second adding means for adding the predetermined number of decoded image signals of the bidirectional inter-frame or inter-field predictive coded image for each pixel.

【0020】[0020]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

<第1の実施の形態>図1は本発明の第1の実施の形態
を示す。第1の実施の形態は、画像単位内に含まれる両
方向型フレーム間またはフィールド間予測符号化画像の
所定数が1つである場合である。すなわち、図1に示す
画質改善装置には、図示しないデコーダから、2フレー
ム周期で、ピクチャタイプがPピクチャ、Bピクチャの
復号フレームが供給され、Iピクチャタイプのフレーム
が所定の周期で供給されている。このIピクチャタイプ
のフレームは、リフレッシュ時に、Pピクチャタイプの
フレームに代えて供給される。デコーダは内部処理でピ
クチャタイプを参照しており、デコーダからピクチャタ
イプ信号を取り出すことができる。出力タイミング信号
はPピクチャタイプまたはIピクチャタイプのフレーム
の出力タイミングでONする制御信号である。
<First Embodiment> FIG. 1 shows a first embodiment of the present invention. The first embodiment is a case where the predetermined number of bidirectional inter-frame or inter-field predictive coded images included in an image unit is one. That is, to the image quality improving apparatus shown in FIG. 1, a decoder (not shown) supplies a decoded frame having a picture type of P picture and B picture at a cycle of 2 frames and a frame of an I picture type at a predetermined cycle. There is. This I picture type frame is supplied in place of the P picture type frame at the time of refreshing. The decoder refers to the picture type in the internal processing and can retrieve the picture type signal from the decoder. The output timing signal is a control signal that turns ON at the output timing of a P picture type frame or an I picture type frame.

【0021】このようにPピクチャ、Bピクチャタイプ
のフレームが供給される場合の画質改善装置は、レベル
変動検出部とレベル変動抑制部により構成されている。
The image quality improving apparatus in the case where the P picture and B picture type frames are supplied in this way is composed of a level fluctuation detecting section and a level fluctuation suppressing section.

【0022】レベル変動検出部は、第1信号処理手段と
してのガンマ特性回路101と、第1平均値処理手段と
しての1フレーム平均計算回路102と、差分出力手段
を構成する1フレーム遅延回路103および差分回路1
07と、ラッチ108とを有する。
The level fluctuation detecting section includes a gamma characteristic circuit 101 as a first signal processing means, a 1-frame average calculating circuit 102 as a first average value processing means, a 1-frame delay circuit 103 as a difference output means, and Difference circuit 1
07 and a latch 108.

【0023】ガンマ特性回路101は図示しないデコー
ダからの復号フレーム信号を疑似光信号に変換するもの
である。1フレーム平均計算回路102はガンマ特性回
路101からの疑似光信号に基づき、1フレームに1
度、当該フレームの平均輝度を計算し、平均輝度信号を
生成するものである。1フレーム遅延回路103は、1
フレーム平均計算回路102からの平均輝度信号を1フ
レーム分だけ時間遅延させるものである。差分回路10
7は1フレーム平均計算回路102からの平均輝度信号
と、1フレーム遅延回路103からの平均輝度信号の差
分を出力し、BピクチャタイプのフレームとPピクチャ
タイプのフレームの平均輝度差、すなわち、フリッカレ
ベルを表す平均輝度差信号(電気信号)を出力するもの
である。ラッチ108は出力タイミング信号に応じて、
2フレームに1回、差分回路107からの平均輝度差信
号をラッチし、外部に供給するものである。
The gamma characteristic circuit 101 converts a decoded frame signal from a decoder (not shown) into a pseudo optical signal. The 1-frame average calculation circuit 102 is set to 1 for 1 frame based on the pseudo optical signal from the gamma characteristic circuit 101.
The average luminance of the frame is calculated and an average luminance signal is generated. 1 frame delay circuit 103
The average luminance signal from the frame average calculation circuit 102 is delayed by one frame. Difference circuit 10
Reference numeral 7 outputs the difference between the average luminance signal from the 1-frame average calculation circuit 102 and the average luminance signal from the 1-frame delay circuit 103, and the average luminance difference between the B picture type frame and the P picture type frame, that is, flicker. The average luminance difference signal (electrical signal) representing the level is output. The latch 108 responds to the output timing signal by
The average luminance difference signal from the difference circuit 107 is latched once every two frames and supplied to the outside.

【0024】レベル変動抑制部は、第1加算手段として
の加算回路109と、第2信号処理手段としての逆ガン
マ特性回路111と、第2平均値処理手段としての1フ
レーム平均計算回路113と、第2差分出力手段として
の差分回路122と、第2加算手段を構成する1フレー
ム遅延回路116とスイッチ118と加算回路120を
有する。
The level fluctuation suppressing section includes an adding circuit 109 as a first adding means, an inverse gamma characteristic circuit 111 as a second signal processing means, a 1-frame average calculating circuit 113 as a second average value processing means, It has a difference circuit 122 as a second difference output means, a 1-frame delay circuit 116, a switch 118, and an adder circuit 120 which constitute a second addition means.

【0025】加算回路109は差分回路107からの平
均輝度差信号と、1フレーム平均計算回路102からの
Bピクチャタイプのフレームの平均輝度信号を加算する
ものである。逆ガンマ特性回路111は加算回路109
からの信号に対して逆ガンマ変換して、補正平均電気信
号レベルを計算するものである。1フレーム平均計算回
路113は、フレームごとに、デコーダからの復号フレ
ーム信号から、当該フレームの平均輝度を計算し、フレ
ーム平均電気信号を生成するものである。差分回路12
2は1フレーム平均計算回路113からのBピクチャタ
イプのフレームの平均電気信号と、逆ガンマ特性回路1
11からの補正平均電気信号との差分をとり、平均値補
正用差分電気信号を生成するものである。スイッチ11
8は出力タイミング信号により2フレームに1回閉成さ
れる。1フレーム遅延回路116は復号フレーム信号を
1フレーム分だけ時間遅延するものである。加算回路1
20は1フレーム遅延回路116からのBピクチャタイ
プの復号フレーム信号と、差分回路122からスイッチ
118を介して得られた平均値補正用差分電気信号とを
画素ごとに加算して、Bピクチャタイプの画質改善復号
フレーム信号を生成するものである。
The addition circuit 109 adds the average luminance difference signal from the difference circuit 107 and the average luminance signal of the B picture type frame from the one-frame average calculation circuit 102. The inverse gamma characteristic circuit 111 is an addition circuit 109.
The signal from is subjected to inverse gamma conversion to calculate the corrected average electric signal level. The 1-frame average calculation circuit 113 calculates the average luminance of the frame for each frame from the decoded frame signal from the decoder and generates a frame average electric signal. Difference circuit 12
Reference numeral 2 denotes an average electrical signal of the B picture type frame from the 1-frame average calculation circuit 113 and the inverse gamma characteristic circuit 1
The difference from the corrected average electric signal from No. 11 is taken to generate an average value correction difference electric signal. Switch 11
8 is closed once every two frames by the output timing signal. The one-frame delay circuit 116 delays the decoded frame signal by one frame. Addition circuit 1
Reference numeral 20 denotes a B picture type decoded frame signal from the 1-frame delay circuit 116 and an average value correction differential electrical signal obtained from the difference circuit 122 via the switch 118 for each pixel to obtain a B picture type An image quality improving decoded frame signal is generated.

【0026】次に、レベル変動検出部の動作を説明す
る。図示しないデコーダからの復号フレーム信号は、ガ
ンマ特性回路101により疑似光信号に変換され、得ら
れた疑似光信号に基づき、当該フレームの平均輝度信号
が、1フレーム平均計算回路102により、1フレーム
に1度計算される。得られた平均輝度信号は、1フレー
ム遅延回路103により、順次、1フレーム分遅延され
る。1フレーム遅延回路103からPピクチャタイプの
フレームの平均輝度信号が出力されるタイミングにおい
て、1フレーム平均計算回路102からはBピクチャタ
イプのフレームの平均輝度信号が出力される。
Next, the operation of the level fluctuation detecting section will be described. A decoded frame signal from a decoder (not shown) is converted into a pseudo optical signal by the gamma characteristic circuit 101, and the average luminance signal of the frame is converted into one frame by the one frame average calculation circuit 102 based on the obtained pseudo optical signal. Calculated once. The obtained average luminance signal is sequentially delayed by one frame by the one-frame delay circuit 103. At the timing when the 1-frame delay circuit 103 outputs the average luminance signal of the P picture type frame, the 1-frame average calculation circuit 102 outputs the average luminance signal of the B picture type frame.

【0027】ついで、1フレーム平均計算回路102か
らのBピクチャタイプのフレームの平均輝度信号と、1
フレーム遅延回路103からのPピクチャタイプのフレ
ームの平均輝度信号との差分が、差分回路107により
出力され、BピクチャタイプのフレームとPピクチャタ
イプのフレームの平均輝度差、すなわち、フリッカレベ
ルが出力される。このフリッカレベルは、2フレームに
1回出力される出力タイミング信号によりラッチ108
にラッチされる。
Next, the average luminance signal of the B picture type frame from the 1-frame average calculation circuit 102 and 1
The difference from the average luminance signal of the P picture type frame from the frame delay circuit 103 is output by the difference circuit 107, and the average luminance difference between the B picture type frame and the P picture type frame, that is, the flicker level is output. It This flicker level is latched by the output timing signal output once every two frames.
Latched.

【0028】次に、レベル変動抑制部の動作を説明す
る。図示しないデコーダから復号フレーム信号は、レベ
ル変動抑制部の1フレーム平均計算回路113と1フレ
ーム遅延回路116にも入力される。1フレーム平均計
算回路113に入力された復号フレーム信号に基づき、
1フレーム平均計算回路113により、1フレームに1
度、フレーム平均電気信号レベルが計算される。
Next, the operation of the level fluctuation suppressing section will be described. The decoded frame signal from a decoder (not shown) is also input to the 1-frame average calculation circuit 113 and the 1-frame delay circuit 116 of the level fluctuation suppressing unit. Based on the decoded frame signal input to the 1-frame average calculation circuit 113,
1 for 1 frame by 1 frame average calculation circuit 113
Degrees, the frame average electrical signal level is calculated.

【0029】また、レベル変動抑制部には、上述したレ
ベル変動検出部から平均輝度差信号と平均輝度信号が入
力される。すなわち、平均輝度差信号が差分回路107
から加算回路109に入力され、平均輝度信号が1フレ
ーム平均計算回路102から加算回路109に入力され
る。そして、平均輝度差信号と平均輝度信号が加算回路
109により加算され、補正平均輝度レベルが生成さ
れ、加算回路109からの補正平均輝度レベルに基づ
き、逆ガンマ特性回路111により補正平均電気信号レ
ベルが計算される。そして、逆ガンマ特性回路111か
らの補正平均電気信号レベルと、1フレーム平均計算回
路113からのBピクチャタイプのフレーム平均電気信
号レベルとの差分を表す平均値補正用差分電気信号が差
分回路122により出力される。
Further, the average luminance difference signal and the average luminance signal are input from the above-mentioned level variation detecting section to the level variation suppressing section. That is, the average luminance difference signal is the difference circuit 107.
From the 1-frame average calculation circuit 102 to the addition circuit 109. Then, the average luminance difference signal and the average luminance signal are added by the adding circuit 109 to generate a corrected average luminance level, and the corrected gamma characteristic circuit 111 calculates the corrected average electrical signal level based on the corrected average luminance level from the adding circuit 109. Calculated. Then, the difference circuit 122 generates a difference electric signal for mean value correction representing a difference between the corrected average electric signal level from the inverse gamma characteristic circuit 111 and the frame average electric signal level of the B picture type from the one-frame average calculation circuit 113. Is output.

【0030】他方、1フレーム遅延回路116により、
Bピクチャタイプのフレームが1フレーム分遅延され加
算回路120に供給開始されてから、1フレームの時間
だけ、スイッチ118が閉成される。従って、レベル変
動検出部からフリッカ信号が出力されるタイミングで、
差分回路122からの平均値補正用差分電気信号がスイ
ッチ118を介して加算回路120に供給され、平均値
補正用差分電気信号は、1フレーム遅延回路116によ
り1フレーム分遅延されたBピクチャタイプの復号フレ
ーム信号と加算回路120により画素ごとに加算され、
補正されたBピクチャタイプの画質改善復号フレーム信
号が出力される。
On the other hand, by the 1-frame delay circuit 116,
After the B picture type frame is delayed by one frame and supplied to the adding circuit 120, the switch 118 is closed for one frame time. Therefore, at the timing when the flicker signal is output from the level fluctuation detection unit,
The differential electrical signal for average value correction from the differential circuit 122 is supplied to the addition circuit 120 via the switch 118, and the differential electrical signal for average value correction is of the B picture type delayed by one frame by the one frame delay circuit 116. The decoded frame signal and the addition circuit 120 add each pixel,
The corrected B picture type image quality improvement decoded frame signal is output.

【0031】Pピクチャタイプのフレームは、スイッチ
118が2フレームに1回だけしか閉成されないので、
1フレーム遅延回路116から補正されずに出力され
る。
In the P picture type frame, since the switch 118 is closed only once every two frames,
It is output from the 1-frame delay circuit 116 without correction.

【0032】よって、空間解像度の低下した復号画像信
号に対して、平均レベル変動に相当するDCシフトを行
うことができ、空間解像度の変動に起因するフリッカを
抑制することできる。
Therefore, it is possible to perform the DC shift corresponding to the average level variation on the decoded image signal having the reduced spatial resolution, and to suppress the flicker due to the variation of the spatial resolution.

【0033】<第2の実施の態様>図2は本発明の第2
の実施の形態を示す。第2の実施の形態は、画像単位内
に含まれる両方向型フレーム間またはフィールド間予測
符号化画像の所定数が2つである場合である。これは典
型的なMPEG信号の復号画像に適用した例である。図
2には、画質改善装置とMPEGデコーダを図示してあ
り、画質改善装置は、レベル変動検出部と、レベル変動
抑制部により構成されている。
<Second Embodiment> FIG. 2 shows a second embodiment of the present invention.
An embodiment will be described. The second embodiment is a case where the predetermined number of bidirectional inter-frame or inter-field predictive coded images included in an image unit is two. This is an example applied to a decoded image of a typical MPEG signal. FIG. 2 shows an image quality improving device and an MPEG decoder, and the image quality improving device is composed of a level fluctuation detecting section and a level fluctuation suppressing section.

【0034】MPEGデコーダ200は、図3に示すよ
うに、3フレーム周期で、ピクチャタイプがPピクチ
ャ、Bピクチャ、Bピクチャの順で復号フレームを供給
している。リフレッシュ時には、Pピクチャタイプのフ
レームに代えてIピクチャタイプのフレームを供給す
る。MPEGデコーダ200は内部処理でピクチャタイ
プを参照しており、ピクチャタイプ信号を取り出すこと
ができる。
As shown in FIG. 3, the MPEG decoder 200 supplies decoded frames in the order of P picture, B picture, and B picture at a 3-frame cycle. At the time of refreshing, an I picture type frame is supplied instead of the P picture type frame. The MPEG decoder 200 refers to the picture type in the internal processing and can take out the picture type signal.

【0035】レベル変動検出部は、第1信号処理手段と
してのガンマ特性回路201と、第1平均値処理手段と
しての1フレーム平均計算回路202と、差分出力手段
を構成する1フレーム遅延回路203および204と、
加算回路205と、1/2回路206と、差分回路20
7と、ラッチ208とを有する。
The level fluctuation detecting section includes a gamma characteristic circuit 201 as a first signal processing means, a 1-frame average calculating circuit 202 as a first average value processing means, a 1-frame delay circuit 203 as a difference output means, and 204,
Adder circuit 205, 1/2 circuit 206, and difference circuit 20
7 and a latch 208.

【0036】ガンマ特性回路201はMPEGデコーダ
200からの復号フレーム信号を疑似光信号に変換する
ものである。1フレーム平均計算回路202はガンマ特
性回路201からの疑似光信号に基づき、1フレームに
1度、当該フレームの平均輝度を計算するものである。
1フレーム遅延回路203は1フレーム平均計算回路2
02からの平均輝度信号を1フレーム分だけ遅延させる
ものである。加算回路205は1フレーム平均計算回路
202からの平均輝度信号と、1フレーム遅延回路20
3からの平均輝度信号を加算するものである。1/2回
路206は加算回路205により加算して得られた平均
輝度信号から算術平均を求めるものである。1フレーム
遅延回路204は1フレーム遅延回路203からの平均
輝度信号を1フレーム分だけ遅延させるものである。差
分回路207は1/2回路206からの平均輝度信号の
算術平均値と、1フレーム遅延回路204からの平均輝
度の差分を表す平均輝度差信号を出力するものである。
ラッチ208は差分回路207からの平均輝度差信号を
MPEGデコーダ200からの信号に応じて3フレーム
に1度ラッチするものである。
The gamma characteristic circuit 201 converts the decoded frame signal from the MPEG decoder 200 into a pseudo optical signal. The 1-frame average calculating circuit 202 calculates the average luminance of the frame once based on the pseudo light signal from the gamma characteristic circuit 201.
The 1-frame delay circuit 203 is a 1-frame average calculation circuit 2
The average luminance signal from 02 is delayed by one frame. The adder circuit 205 uses the average luminance signal from the 1-frame average calculation circuit 202 and the 1-frame delay circuit 20.
The average luminance signal from 3 is added. The 1/2 circuit 206 is for obtaining an arithmetic mean from the average luminance signals obtained by adding by the adding circuit 205. The 1-frame delay circuit 204 delays the average luminance signal from the 1-frame delay circuit 203 by 1 frame. The difference circuit 207 outputs an average brightness difference signal representing the difference between the arithmetic average value of the average brightness signals from the 1/2 circuit 206 and the average brightness from the 1-frame delay circuit 204.
The latch 208 latches the average luminance difference signal from the difference circuit 207 once every three frames according to the signal from the MPEG decoder 200.

【0037】レベル変動抑制部は、第1加算手段として
の一方の加算回路209と、第2信号処理手段としての
一方の逆ガンマ特性回路211と、第2平均値処理手段
としての1フレーム平均計算回路213と、1フレーム
遅延回路214と、第2差分出力手段としての一方の差
分回路222と、第1加算手段としての他方の加算回路
210と、第2信号処理手段としての他方の逆ガンマ特
性回路212と、第2差分出力手段としての他方の差分
回路223と、第2加算手段を構成するスイッチ217
および218と、1フレーム遅延回路215,216,
221と、加算回路219,220とを有する。第1加
算手段、第2信号処理手段、第2差分出力手段、第2加
算手段は3フレーム周期に含まれるBピクチャのフレー
ム数に対応して、それぞれ2つずつ設けられている。な
お、1フレーム遅延回路221は説明の便宜上図2に記
載したものであって、第2加算手段の構成要素として必
須のものではない。
The level fluctuation suppressing section includes one adder circuit 209 as the first adding means, one inverse gamma characteristic circuit 211 as the second signal processing means, and one frame average calculation as the second average value processing means. The circuit 213, the one-frame delay circuit 214, the one difference circuit 222 as the second difference output means, the other addition circuit 210 as the first addition means, and the other inverse gamma characteristic as the second signal processing means. The circuit 212, the other difference circuit 223 as the second difference output means, and the switch 217 forming the second addition means.
And 218 and 1-frame delay circuits 215, 216,
221 and addition circuits 219 and 220. Each of the first adding means, the second signal processing means, the second difference outputting means, and the second adding means is provided two by two, corresponding to the number of B-picture frames included in the three-frame cycle. The 1-frame delay circuit 221 is shown in FIG. 2 for convenience of explanation, and is not essential as a constituent element of the second adding means.

【0038】加算回路209は差分回路207からの平
均輝度差信号と、1フレーム遅延回路203からの平均
輝度信号とを加算するものである。逆ガンマ特性回路2
11は加算回路209からの信号に基づき補正平均電気
信号レベルを計算するものである。加算回路210は差
分回路207からの平均輝度差信号と、1フレーム遅延
回路202からの平均輝度信号とを加算するものであ
る。逆ガンマ特性回路212は加算回路210からの信
号に基づき補正平均電気信号レベルを計算するものであ
る。
The adder circuit 209 adds the average brightness difference signal from the difference circuit 207 and the average brightness signal from the 1-frame delay circuit 203. Inverse gamma characteristic circuit 2
Reference numeral 11 is for calculating the corrected average electric signal level based on the signal from the adder circuit 209. The adder circuit 210 adds the average brightness difference signal from the difference circuit 207 and the average brightness signal from the one-frame delay circuit 202. The inverse gamma characteristic circuit 212 calculates a corrected average electric signal level based on the signal from the adder circuit 210.

【0039】1フレーム平均計算回路213はMPEG
デコーダ200からの復号フレーム信号に基づき、1フ
レームに1度、当該フレームの平均輝度を計算するもの
である。1フレーム遅延回路214は1フレーム平均計
算回路213からのフレーム平均電気信号を1フレーム
分だけ遅延させるものである。
The one-frame average calculation circuit 213 is an MPEG
Based on the decoded frame signal from the decoder 200, the average luminance of the frame is calculated once for each frame. The one-frame delay circuit 214 delays the frame average electric signal from the one-frame average calculation circuit 213 by one frame.

【0040】差分回路222は1フレーム遅延回路21
4からのBピクチャタイプのフレームの平均電気信号
と、逆ガンマ特性回路211からの補正平均電気信号と
の差分を出力し、平均値補正用差分電気信号を生成する
ものである。差分回路223は1フレーム平均計算回路
213からのBピクチャタイプのフレームの平均電気信
号と、逆ガンマ特性回路212からの補正平均電気信号
との差分をとり、平均値補正用差分電気信号を生成する
ものである。
The difference circuit 222 is the one-frame delay circuit 21.
The difference between the average electric signal of the B picture type frame from 4 and the corrected average electric signal from the inverse gamma characteristic circuit 211 is output to generate a difference electric signal for average value correction. The difference circuit 223 takes the difference between the average electric signal of the B picture type frame from the one-frame average calculation circuit 213 and the corrected average electric signal from the inverse gamma characteristic circuit 212 to generate an average value correction difference electric signal. It is a thing.

【0041】1フレーム遅延回路215はMPEGデコ
ーダ200からの復号フレーム信号を1フレーム分遅延
させるものである。加算回路219は1フレーム遅延回
路215からのBピクチャタイプの復号フレーム信号
と、差分回路223からスイッチ217を介して得られ
る平均値補正用差分電気信号を画素ごとに加算するもの
である。1フレーム遅延回路216は加算回路219か
らの信号を1フレーム分遅延させるものである。220
は加算回路であり、1フレーム遅延回路216からのB
ピクチャタイプの復号フレーム信号と、差分回路222
からスイッチ218を介して得られた平均値補正用差分
電気信号とを加算するものである。1フレーム遅延回路
221は加算回路220からの信号を1フレーム分遅延
させるものである。
The one-frame delay circuit 215 delays the decoded frame signal from the MPEG decoder 200 by one frame. The adder circuit 219 adds the B-picture type decoded frame signal from the 1-frame delay circuit 215 and the average value correction differential electric signal obtained from the difference circuit 223 via the switch 217 for each pixel. The one-frame delay circuit 216 delays the signal from the adder circuit 219 by one frame. 220
Is an adder circuit, and B from the 1-frame delay circuit 216
Picture type decoded frame signal and difference circuit 222
From the average value correcting differential electric signal obtained via the switch 218 from the above. The 1-frame delay circuit 221 delays the signal from the adder circuit 220 by 1 frame.

【0042】次に、レベル変動検出部の動作を説明す
る。MPEGデコーダ200からの復号フレーム信号
は、ガンマ特性回路201により疑似光信号に変換さ
れ、得られた疑似光信号に基づき、当該フレームの平均
輝度が、1フレーム平均計算回路202により、1フレ
ームに1度計算される。得られた平均輝度信号は、1フ
レーム遅延回路203、204により、順次、1フレー
ム分遅延される。1フレーム遅延回路204からPピク
チャタイプのフレームの平均輝度信号が出力されるタイ
ミングにおいて、1フレーム平均計算回路203からP
ピクチャタイプのフレームに引き続くBピクチャタイプ
のフレーム(以下、1枚目のBピクチャタイプのフレー
ムという)の平均輝度信号が出力され、1フレーム遅延
回路202から、1枚目のBピクチャタイプのフレーム
の次のBピクチャタイプのフレーム(以下、2枚目のB
ピクチャタイプのフレームという)の平均輝度信号が出
力される。
Next, the operation of the level fluctuation detecting section will be described. The decoded frame signal from the MPEG decoder 200 is converted into a pseudo optical signal by the gamma characteristic circuit 201, and based on the obtained pseudo optical signal, the average luminance of the frame is calculated by the 1-frame average calculation circuit 202 to be 1 per frame. Is calculated. The obtained average luminance signal is sequentially delayed by one frame by the one-frame delay circuits 203 and 204. At the timing when the 1-frame delay circuit 204 outputs the average luminance signal of the P picture type frame, the 1-frame average calculation circuit 203 outputs P
The average luminance signal of the B picture type frame (hereinafter referred to as the first B picture type frame) following the picture type frame is output, and the 1 frame delay circuit 202 outputs the average luminance signal of the first B picture type frame. The next B picture type frame (hereinafter, the second B
An average luminance signal of a picture type frame) is output.

【0043】ついで、1フレーム平均計算回路202か
らの2枚目のBピクチャタイプのフレームの平均輝度信
号と、1フレーム遅延回路203からの1枚目のBピク
チャタイプのフレームの平均輝度信号が、加算回路20
5により加算され、1/2回路206により、2つのB
ピクチャタイプのフレームの輝度平均が計算される。1
/2回路206からの輝度算術平均値と、1フレーム遅
延回路204からのPピクチャタイプのフレームの平均
輝度との差分が、差分回路207により出力され、Bピ
クチャタイプのフレームとPピクチャタイプのフレーム
の平均輝度差、すなわち、フリッカレベルを表す平均輝
度差信号が出力される。
Next, the average luminance signal of the second B picture type frame from the 1 frame average calculation circuit 202 and the average luminance signal of the first B picture type frame from the 1 frame delay circuit 203 Adder circuit 20
5 and the 1/2 circuit 206 adds two B's.
The luminance average of the picture type frames is calculated. 1
The difference between the brightness arithmetic average value from the / 2 circuit 206 and the average brightness of the P picture type frame from the 1-frame delay circuit 204 is output by the difference circuit 207, and the B picture type frame and the P picture type frame are output. The average luminance difference signal, that is, the average luminance difference signal representing the flicker level is output.

【0044】このような計算が成り立つタイミングは、
Pピクチャタイプのフレームの平均輝度信号が1フレー
ム遅延回路204から出力されるときであり、3フレー
ムに1度発生する。図3に示したこのタイミング信号は
MPEGデコーダ200からラッチ208に供給され
る。差分回路207からのフリッカ信号はこのラッチ2
08を介して外部に供給される。
The timing at which such calculation is established is
This is the time when the average luminance signal of the P picture type frame is output from the 1-frame delay circuit 204, and occurs once every 3 frames. This timing signal shown in FIG. 3 is supplied from the MPEG decoder 200 to the latch 208. The flicker signal from the difference circuit 207 is the latch 2
It is supplied to the outside via 08.

【0045】次に、レベル変動抑制部の動作を説明す
る。MPEGデコーダ200から復号フレーム信号が、
レベル変動抑制部の1フレーム平均計算回路213と1
フレーム遅延回路215に入力される。
Next, the operation of the level fluctuation suppressing section will be described. The decoded frame signal from the MPEG decoder 200 is
1-frame average calculation circuits 213 and 1 of the level fluctuation suppression unit
It is input to the frame delay circuit 215.

【0046】1フレーム平均計算回路213に入力され
た復号フレーム信号に基づき、1フレーム平均計算回路
213により、1フレームに1度、当該フレームの平均
輝度が計算され、フレーム平均電気信号が出力される。
得られたフレーム平均電気信号は1フレーム遅延回路2
14により1フレーム分遅延される。
Based on the decoded frame signal input to the 1-frame average calculation circuit 213, the 1-frame average calculation circuit 213 calculates the average luminance of the frame once per frame, and outputs the frame-average electric signal. .
The obtained frame average electric signal is 1 frame delay circuit 2
14 delays one frame.

【0047】また、レベル変動抑制部には、上述したレ
ベル変動検出部から、差分回路207からの平均輝度差
信号と、1フレーム遅延回路203からの1枚目のBピ
クチャタイプのフレームの平均輝度信号と、1フレーム
平均計算回路202からの2枚目のBピクチャタイプの
フレームの平均輝度信号が入力される。そして、差分回
路207からの平均輝度差信号と、1フレーム遅延回路
203からの1枚目のBピクチャタイプのフレームの平
均輝度信号は、加算回路209により加算され、1枚目
のBピクチャタイプのフレームの補正平均輝度レベルを
表す補正平均輝度信号が生成される。また、差分回路2
07からの平均輝度差信号と、1フレーム平均計算回路
202からの2枚目のBピクチャタイプのフレームの平
均輝度信号は、加算回路210により加算され、2枚目
のBピクチャタイプのフレームの補正平均輝度レベルを
表す補正平均輝度信号が生成される。
Further, the level fluctuation suppressing section outputs the average brightness difference signal from the difference circuit 207 and the average brightness of the first B picture type frame from the one frame delay circuit 203 to the level fluctuation detecting section. The signal and the average luminance signal of the second B picture type frame from the 1-frame average calculation circuit 202 are input. Then, the average luminance difference signal from the difference circuit 207 and the average luminance signal of the first B picture type frame from the 1-frame delay circuit 203 are added by the adding circuit 209, and the average luminance signal of the first B picture type is added. A corrected average luminance signal is generated that represents the corrected average luminance level of the frame. Also, the difference circuit 2
The average brightness difference signal from 07 and the average brightness signal of the second B picture type frame from the 1-frame average calculation circuit 202 are added by the adder circuit 210 to correct the second B picture type frame. A corrected average luminance signal is generated that represents the average luminance level.

【0048】加算回路209からの補正平均輝度信号に
基づき、逆ガンマ特性回路211により1枚目のBピク
チャタイプのフレームの補正平均電気信号レベルが計算
される。逆ガンマ特性回路211からの補正平均電気信
号レベルと、1フレーム遅延回路214からの1枚目の
Bピクチャタイプのフレーム平均電気信号レベルとの差
分(平均値補正用差分)が差分回路222により出力さ
れる。一方、加算回路210からの補正平均輝度信号に
基づき、逆ガンマ特性回路212により2枚目のBピク
チャタイプのフレームの補正平均電気信号レベルが計算
される。逆ガンマ特性回路212からの補正平均電気信
号レベルと、1フレーム平均計算回路213からの2枚
目のBピクチャタイプのフレーム平均電気信号レベルと
の差分(平均値補正用差分)が差分回路223により出
力される。
Based on the corrected average luminance signal from the addition circuit 209, the inverse gamma characteristic circuit 211 calculates the corrected average electric signal level of the first B picture type frame. The difference circuit 222 outputs the difference (average value correction difference) between the corrected average electrical signal level from the inverse gamma characteristic circuit 211 and the frame average electrical signal level of the first B picture type from the one-frame delay circuit 214. To be done. On the other hand, the inverse gamma characteristic circuit 212 calculates the corrected average electric signal level of the second B picture type frame based on the corrected average luminance signal from the addition circuit 210. The difference (average value correction difference) between the corrected average electric signal level from the inverse gamma characteristic circuit 212 and the frame average electric signal level of the second B picture type from the one-frame average calculation circuit 213 is calculated by the difference circuit 223. Is output.

【0049】他方、1枚目のBピクチャタイプのフレー
ムが1フレーム遅延回路216により1フレーム分遅延
され加算回路220に供給開始され、しかも、この供給
開始に同期して、1フレーム遅延回路215により、2
枚目のBピクチャタイプのフレームが1フレーム分遅延
され加算回路219に供給開始されてから、1フレーム
の時間だけ、スイッチ218とスイッチ217が同時に
閉成される。従って、レベル変動検出部からフリッカレ
ベルを表す平均輝度差信号が出力されるタイミングで、
差分回路222からの平均値補正用差分電気信号がスイ
ッチ218を介して加算回路220に供給され、1フレ
ーム遅延回路216により1フレーム分遅延された1枚
目のBピクチャタイプの復号フレーム信号と加算され、
Bピクチャタイプのフレームが補正される。なお、スイ
ッチ217,218は3フレームに1回しか閉成されな
いので、1枚目のBピクチャタイプの復号フレーム信号
は加算回路219では何も加算されずに1フレーム遅延
回路216に入力されている。他方、レベル変動検出部
からフリッカレベルを表す平均輝度差信号が出力される
タイミングで、差分回路223からの平均値補正用差分
電気信号がスイッチ217を介して加算回路219に供
給され、1フレーム遅延回路215により1フレーム分
遅延された2枚目のBピクチャタイプの復号フレーム信
号と加算され、Bピクチャタイプのフレームが補正され
る。このタイミングで、1フレーム遅延回路221から
Pピクチャタイプのフレームが出力されることになる。
このPピクチャタイプのフレームは、スイッチ217,
218が3フレームに1回だけしか閉成されないので、
1フレーム遅延回路221から補正されずに出力される
ことになる。よって、空間解像度の変動に起因するフリ
ッカが低減されることになる。
On the other hand, the first B picture type frame is delayed by one frame by the one-frame delay circuit 216 and started to be supplied to the addition circuit 220. Further, in synchronization with this supply start, the one-frame delay circuit 215 is used. Two
The switch 218 and the switch 217 are simultaneously closed for the time of one frame after the first B picture type frame is delayed by one frame and supplied to the adding circuit 219. Therefore, at the timing when the average luminance difference signal representing the flicker level is output from the level fluctuation detection unit,
The differential electric signal for average value correction from the differential circuit 222 is supplied to the adding circuit 220 via the switch 218, and is added to the first B picture type decoded frame signal delayed by one frame by the one frame delay circuit 216. Is
B picture type frames are corrected. Since the switches 217 and 218 are closed only once in three frames, the first B picture type decoded frame signal is input to the 1-frame delay circuit 216 without being added by the adding circuit 219. . On the other hand, at the timing when the average luminance difference signal representing the flicker level is output from the level fluctuation detection unit, the average value correcting differential electric signal from the differential circuit 223 is supplied to the adding circuit 219 via the switch 217 and delayed by one frame. The circuit 215 adds the second B picture type decoded frame signal delayed by one frame and corrects the B picture type frame. At this timing, the 1-frame delay circuit 221 outputs a P picture type frame.
This P picture type frame is a switch 217,
Since the 218 is closed only once in 3 frames,
It is output from the 1-frame delay circuit 221 without correction. Therefore, flicker due to variations in spatial resolution is reduced.

【0050】画像単位内に含まれる両方向型フレーム間
またはフィールド間予測符号化画像の所定数が3つ以上
である場合についても、第2の実施の形態と同様に本発
明に係る画質改善装置を構成できることは言うまでもな
い。
Even when the predetermined number of bidirectional inter-frame or inter-field predictive-coded images included in an image unit is three or more, the image quality improving apparatus according to the present invention can be used as in the second embodiment. It goes without saying that it can be configured.

【0051】[0051]

【発明の効果】以上説明したように、本発明によれば、
上記のように構成したので、主観的に目立つ、画質劣化
であるフリッカの除去、低減を行うことができ、従っ
て、表示される復号画像の画質を向上させることができ
る。
As described above, according to the present invention,
With the configuration as described above, it is possible to remove or reduce flicker, which is subjectively noticeable and is image quality deterioration, and thus it is possible to improve the image quality of a decoded image to be displayed.

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

【図1】本発明の第1の実施の形態を示すブロック図で
ある。
FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】本発明の第2の実施の形態を示すブロック図で
ある。
FIG. 2 is a block diagram showing a second embodiment of the present invention.

【図3】出力タイミング信号とピクチャタイプとの関係
を示す説明図である。
FIG. 3 is an explanatory diagram showing a relationship between an output timing signal and a picture type.

【図4】時間方向の予測構造としての一方向予測と両方
向予測を説明するための説明図である。
FIG. 4 is an explanatory diagram for describing unidirectional prediction and bidirectional prediction as a temporal prediction structure.

【図5】両方向予測の中の内挿予測を説明するための説
明図である。
FIG. 5 is an explanatory diagram for explaining interpolation prediction in bidirectional prediction.

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

101 ガンマ特性回路 102,113 1フレーム平均計算回路 103,116 1フレーム遅延回路 107,122 差分回路 108 ラッチ 109,120 加算回路 111 逆ガンマ特性回路 118 スイッチ 101 gamma characteristic circuit 102,113 1-frame average calculation circuit 103,116 1-frame delay circuit 107,122 differential circuit 108 latch 109,120 adder circuit 111 inverse gamma characteristic circuit 118 switch

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 時間的に過去の信号のみを予測信号とす
る1つの一方向型フレーム間またはフィールド間予測符
号化画像と、時間的に過去および未来の信号を予測信号
とする1つ以上の所定数の両方向型フレーム間またはフ
ィールド間予測符号化画像とを1単位として該単位を繰
り返すとともに、周期的に、前記一方向型フレーム間ま
たはフィールド間予測符号化画像を、フレーム内または
フィールド内符号化画像と置換した復号画像信号に対し
て、電光変換特性を有する非線形処理を行う第1信号処
理手段と、 該第1信号処理手段の処理により得られた復号画像信号
を、フレーム内またはフィールド内符号化画像と、一方
向型フレーム間またはフィールド間予測符号化画像と、
両方向型フレーム間またはフィールド間予測符号化画像
のそれぞれのフレームまたはフィールド内の所定の範囲
で平均値処理を行う第1平均値処理手段と、 該第1平均値処理手段により得られた前記画像単位内に
含まれる所定数の両方向型フレーム間またはフィールド
間予測符号化画像のそれぞれの平均値処理出力の算術平
均値と、前記第1平均値処理手段の処理により得られた
一方向型フレーム間またはフィールド間予測符号化画像
との差分とを出力するとともに、前記算術平均値と、前
記第1平均値処理手段の処理により得られたフレーム内
またはフィールド内符号化画像との差分を出力する差分
出力手段とを備えたことを特徴とするレベル変動検出装
置。
1. One unidirectional inter-frame or inter-field predictive coded image in which only temporally past signals are used as prediction signals, and one or more one-way type inter-field or inter-field predictive encoded images in which temporally past and future signals are used as predicted signals. The unit is repeated with a predetermined number of bidirectional inter-frame or inter-field predictive coded images as a unit, and the one-directional inter-frame or inter-field predictive coded images are periodically coded within the intra-frame or intra-field code. A first signal processing means for performing non-linear processing having an electro-optical conversion characteristic on the decoded image signal replaced with the digitized image, and the decoded image signal obtained by the processing of the first signal processing means in a frame or in a field. A coded image, a unidirectional interframe or interfield predictive coded image,
First average value processing means for performing an average value processing in a predetermined range within each frame or field of a bidirectional frame-to-frame or inter-field predictive coded image, and the image unit obtained by the first average value processing means A predetermined number of bidirectional frames included in the inter-frame or inter-field predictive coded image, the arithmetic mean value of the respective average value processing outputs, and the unidirectional frame obtained by the processing of the first average value processing means or A difference output for outputting the difference between the inter-field predictive coded image and the difference between the arithmetic mean value and the intra-frame or intra-field coded image obtained by the processing of the first average value processing means. And a level fluctuation detecting device.
【請求項2】 請求項1において、前記第1信号処理手
段は、各復号画像信号に対してガンマ補正変換を行うこ
とを特徴とするレベル変動検出装置。
2. The level fluctuation detecting apparatus according to claim 1, wherein the first signal processing means performs gamma correction conversion on each decoded image signal.
【請求項3】 請求項2記載のレベル変動検出装置によ
り出力された差分出力を、請求項1記載の第1平均値処
理手段により平均値処理された両方向型フレーム間また
はフィールド間予測符号化画像の前記所定数の復号画像
信号にそれぞれ加算する前記所定数と同数の第1加算手
段と、 該第1加算手段により得られた信号に対しそれぞれ逆ガ
ンマ補正変換を行う前記所定数と同数の第2信号処理手
段と、 前記両方向型フレーム間またはフィールド間予測符号化
画像の復号画像信号に対して、フレームまたはフィール
ド内の所定の範囲で平均値処理を行う第2平均値処理手
段と、 該第2平均値処理手段の処理により得られた前記所定数
の両方向型フレーム間またはフィールド間予測符号化画
像の平均値処理出力と、前記第2信号処理手段による信
号処理により得られた信号との差分をそれぞれ出力する
前記所定数と同数の第2差分出力手段と、 該第2差分出力手段により出力された差分を、前記所定
数の両方向型フレーム間またはフィールド間予測符号化
画像の復号画像信号に対してそれぞれ画素ごとに加算す
る前記所定数と同数の第2加算手段とを備えたことを特
徴とする画質改善装置。
3. A bidirectional inter-frame or inter-field predictive coded image in which the difference output output by the level fluctuation detecting apparatus according to claim 2 is averaged by the first average value processing means according to claim 1. Number of first addition means to be added to each of the predetermined number of decoded image signals, and a predetermined number to perform the inverse gamma correction conversion on the signals obtained by the first addition means. Two signal processing means; a second average value processing means for performing an average value processing on a decoded image signal of the bidirectional interframe or interfield predictive coded image in a predetermined range within a frame or field; 2 Average value processing output of the predetermined number of bidirectional inter-frame or inter-field predictive coded images obtained by the processing of the average value processing means, and the second signal processing means The same number of second difference output means as the predetermined number for outputting the difference from the signal obtained by the signal processing, and the difference output by the second difference output means for the predetermined number of bidirectional frames or fields. An image quality improving apparatus comprising: a predetermined number of second adding means for adding each pixel to a decoded image signal of an inter prediction coded image.
JP2965496A 1996-02-16 1996-02-16 Image quality improvement device Expired - Fee Related JP3778606B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2965496A JP3778606B2 (en) 1996-02-16 1996-02-16 Image quality improvement device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2965496A JP3778606B2 (en) 1996-02-16 1996-02-16 Image quality improvement device

Publications (2)

Publication Number Publication Date
JPH09224250A true JPH09224250A (en) 1997-08-26
JP3778606B2 JP3778606B2 (en) 2006-05-24

Family

ID=12282107

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2965496A Expired - Fee Related JP3778606B2 (en) 1996-02-16 1996-02-16 Image quality improvement device

Country Status (1)

Country Link
JP (1) JP3778606B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007194741A (en) * 2006-01-17 2007-08-02 Nhk Engineering Services Inc Flicker video detection apparatus, flicker video detection program, video display apparatus, number of improper luminance pixel calculation method, and flicker detection method
JP2008177648A (en) * 2007-01-16 2008-07-31 Nippon Hoso Kyokai <Nhk> Motion picture data decoding device and program
JPWO2006070787A1 (en) * 2004-12-28 2008-08-07 日本電気株式会社 MOVING IMAGE ENCODING METHOD, DEVICE USING THE SAME, AND COMPUTER PROGRAM
JP2008294706A (en) * 2007-05-24 2008-12-04 Sony Corp Video signal processing device, video signal processing method, program of video signal processing method, and recording medium with recorded program of video signal processing method
WO2010023782A1 (en) * 2008-08-25 2010-03-04 株式会社日立製作所 Image display device, image recording and reproduction device, and image processing method
WO2016111239A1 (en) * 2015-01-06 2016-07-14 日本電気株式会社 Image processing device, image processing method and program recording medium

Cited By (8)

* 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
JP2007194741A (en) * 2006-01-17 2007-08-02 Nhk Engineering Services Inc Flicker video detection apparatus, flicker video detection program, video display apparatus, number of improper luminance pixel calculation method, and flicker detection method
JP2008177648A (en) * 2007-01-16 2008-07-31 Nippon Hoso Kyokai <Nhk> Motion picture data decoding device and program
JP2008294706A (en) * 2007-05-24 2008-12-04 Sony Corp Video signal processing device, video signal processing method, program of video signal processing method, and recording medium with recorded program of video signal processing method
WO2010023782A1 (en) * 2008-08-25 2010-03-04 株式会社日立製作所 Image display device, image recording and reproduction device, and image processing method
WO2016111239A1 (en) * 2015-01-06 2016-07-14 日本電気株式会社 Image processing device, image processing method and program recording medium

Also Published As

Publication number Publication date
JP3778606B2 (en) 2006-05-24

Similar Documents

Publication Publication Date Title
JP4528662B2 (en) Motion detection using adaptive space latest vector
US5689305A (en) System for deinterlacing digitally compressed video and method
US6603815B2 (en) Video data processing apparatus, video data encoding apparatus, and methods thereof
JPH07109990B2 (en) Adaptive interframe predictive coding method and decoding method
US6118491A (en) System and method for enforcing interlaced field synchronization in the presence of broken alternation in an MPEG video datastream
KR20060047556A (en) Film-mode detection in video sequences
US7324160B2 (en) De-interlacing apparatus with a noise reduction/removal device
JP2005318620A (en) Motion vector detection employing adaptive temporal prediction
JP2000270332A (en) Method and device for encoding dynamic picture
JP2885322B2 (en) Inter-field prediction encoding device and decoding device
JP2005513968A (en) Improving temporary consistency in improving image definition
JPH06165146A (en) Method and device for encoding image
JP3778606B2 (en) Image quality improvement device
JP4222090B2 (en) Moving picture time axis interpolation method and moving picture time axis interpolation apparatus
JP2004320278A (en) Dynamic image time axis interpolation method and dynamic image time axis interpolation apparatus
JP2947103B2 (en) Moving picture coding apparatus and moving picture coding method
JP4035808B2 (en) Moving image scanning structure conversion apparatus and moving image scanning structure conversion method
JP2003032685A (en) Noise reduction method and image processing device
KR0129214B1 (en) Decoder of hdtv
JPH10126749A (en) Sequential scanning conversion device
JP3590976B2 (en) Video compression device
JP3004799B2 (en) Image coding method and apparatus
JPH09284757A (en) Image coding device and method
EP1398960B1 (en) Method and device for displaying frozen pictures on video display device
JP2669119B2 (en) Motion compensation predictive coding device and decoding device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050404

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20051007

RD13 Notification of appointment of power of sub attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7433

Effective date: 20051107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20051107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051207

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20051220

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: 20060221

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060228

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100310

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110310

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120310

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130310

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140310

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees