JPH08223480A - Device for adding special effect to compressed moving image - Google Patents

Device for adding special effect to compressed moving image

Info

Publication number
JPH08223480A
JPH08223480A JP4637195A JP4637195A JPH08223480A JP H08223480 A JPH08223480 A JP H08223480A JP 4637195 A JP4637195 A JP 4637195A JP 4637195 A JP4637195 A JP 4637195A JP H08223480 A JPH08223480 A JP H08223480A
Authority
JP
Japan
Prior art keywords
block
image signal
wipe
moving image
compressed moving
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.)
Pending
Application number
JP4637195A
Other languages
Japanese (ja)
Inventor
Toshiaki Mori
敏昭 森
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP4637195A priority Critical patent/JPH08223480A/en
Publication of JPH08223480A publication Critical patent/JPH08223480A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Circuits (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE: To attain on an image wipe effect by using inter-frame correlation and applying edit to a moving image signal subject to compression coding in the unit of blocks so as to suppress image quality deterioration due to edit. CONSTITUTION: A composition control means 13 selects witches 3, 4 in the unit of blocks to output a wipe pattern being a composition of compressed moving images A, B. When a prediction block around wipe border line directions from a compression moving image before the composition differs from that after conpositing, non-compression image stored in frame memories 6, 7 is used. A coding means 9 converts a block including the wipe border line into a compressed image. A switch 11 selects an image image of an output buffer 10 as to a block not including the wipe border line and selects an image signal of the coding means 9 as to a block including the wipe border line. Thus, the system has less image quality deterioration in comparison with the system where the whole pattern is expanded, edited and then compressed again.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、フレーム間で差分符号
化された動画像に対してワイプ効果を施す圧縮動画像特
殊効果装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a compressed moving image special effect device for applying a wipe effect to a moving image differentially encoded between frames.

【0002】[0002]

【従来の技術】従来の画像特殊効果装置は、非圧縮の動
画像信号を対象としたものである。非圧縮信号の場合
は、ワイプ効果を施して画像信号を出力しても画質劣化
は問題にはならず、信号フォーマットの変化もない。一
方、フレーム間の相関性を利用した圧縮動画像信号に対
し、従来の画像特殊効果装置を用いてワイプ効果を施す
ためには、圧縮画像信号を一度フレーム間の相関性が用
いられていない非圧縮の動画像信号に直してから画像特
殊効果装置に入力する。そして特殊効果の付加された画
像を再び圧縮符号化する必要がある。
2. Description of the Related Art A conventional image special effect device is intended for an uncompressed moving image signal. In the case of an uncompressed signal, even if the image signal is output with the wipe effect applied, the image quality deterioration does not matter and the signal format does not change. On the other hand, in order to apply the wipe effect to the compressed moving image signal using the correlation between frames using the conventional image special effect device, the correlation between the compressed image signals is not used once. It is converted to a compressed moving image signal and then input to the image special effect device. Then, the image to which the special effect is added needs to be compressed and encoded again.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、一度圧
縮率の高い圧縮符号化を行った画像信号を復号化した
後、再び圧縮符号化を行うと、一般的に画質劣化や符号
量増大などの問題が発生する。
However, when an image signal that has been compression-encoded with a high compression rate is decoded and then compression-encoded again, problems such as deterioration in image quality and increase in code amount are generally encountered. Occurs.

【0004】本発明はこのような従来の問題点に鑑みて
なされたものであって、フレーム間の相関性を用い、ブ
ロック単位で圧縮符号化された動画像信号に対してワイ
プを用いた画像編集を行うに際し、編集による画質劣化
を抑えることのできる圧縮動画像特殊効果装置を実現す
ることを目的とする。
The present invention has been made in view of the above-mentioned conventional problems, and an image obtained by using wipe for a moving image signal compression-coded in block units by using the correlation between frames. An object of the present invention is to realize a compressed moving image special effect device capable of suppressing image quality deterioration due to editing when performing editing.

【0005】[0005]

【課題を解決するための手段】本願の請求項1の発明
は、フレーム画像がm×n(m,nは自然数)画素のブ
ロックに分割され、各ブロックがフレーム内符号化、又
は過去のフレームに対する予測ブロックとの差分を用い
て順方向予測符号化が行われている第1及び第2の圧縮
動画像信号に対し、第1及び第2の入力圧縮動画像の各
フレーム画像を、ワイプパターンに基づき順次合成し、
ワイプ効果を施した圧縮動画像信号を出力する圧縮動画
像特殊効果装置であって、第1の圧縮動画像信号を一時
保持する第1の入力バッファと、第2の圧縮動画像信号
を一時保持する第2の入力バッファと、第1又は第2の
入力バッファに保持された第1又は第2の圧縮動画像信
号を非圧縮のフレーム画像信号に復号化する復号化手段
と、復号手段で復号化された第1の画像信号をフレーム
単位で一時保持する第1のフレームメモリと、復号手段
で復号化された第2の画像信号をフレーム単位で一時保
持する第2のフレームメモリと、第1の画像信号を第2
の画像信号でワイプするとき、ワイプパターンとワイプ
速度を入力するワイプ入力手段と、現フレームの出力ブ
ロックにワイプ線が含まれるとき、及び現フレームの出
力ブロックに対応する前フレームのブロックにワイプ線
が含まれるとき、出力ブロックに対応する第1及び第2
の画像信号を第1及び第2のフレームメモリより読み出
し、ワイプ入力手段のワイプ線に基づき合成ブロックを
作成し、合成ブロックの画像信号を入力圧縮動画像信号
と同じ方式で符号化する符号化手段と、第1又は第2の
入力バッファに保持された第1又は第2の圧縮動画像信
号を切り換えて一時保持する出力バッファと、ワイプ入
力手段からワイプパターンとワイプ速度が入力されたと
き、連続する各フレームのワイプ線の位置を指示すると
共に、現フレームの出力ブロックにワイプ線が含まれる
とき、及び現フレームの出力ブロックに対応する前フレ
ームのブロックにワイプ線が含まれるとき、出力ブロッ
クの画像信号として符号化手段の画像信号を出力し、現
フレームの出力ブロックにワイプ線が含まれないで、現
フレームの出力ブロックに対応する前フレームのブロッ
クにもワイプ線が含まれないとき、出力ブロックの画像
信号として出力バッファの画像信号を出力する合成制御
手段と、を具備することを特徴とするものである。
According to the invention of claim 1 of the present application, a frame image is divided into blocks of m × n (m and n are natural numbers) pixels, and each block is intra-frame encoded or a past frame. For each of the first and second compressed moving image signals that have been forward-predictively coded using the difference from the prediction block for Sequentially synthesized based on
A compressed moving image special effect device for outputting a compressed moving image signal subjected to a wipe effect, the first input buffer temporarily holding the first compressed moving image signal, and the second compressed moving image signal temporarily held. A second input buffer, a decoding means for decoding the first or second compressed moving image signal held in the first or second input buffer into an uncompressed frame image signal, and decoding by the decoding means A first frame memory for temporarily holding the converted first image signal in frame units; a second frame memory for temporarily holding the second image signal decoded by the decoding means in frame units; Second image signal
When wiping with the image signal of, the wiping input means for inputting the wiping pattern and the wiping speed, the wiping line in the output block of the current frame, and the wiping line in the block of the previous frame corresponding to the output block of the current frame. The first and second corresponding to the output block when
Encoding means for reading out the image signal of (1) from the first and second frame memories, creating a composite block based on the wipe line of the wipe input means, and encoding the image signal of the composite block in the same system as the input compressed moving image signal. An output buffer for switching and temporarily holding the first or second compressed moving image signal held in the first or second input buffer, and a continuous wipe when the wipe pattern and the wipe speed are input from the wipe input means. The position of the wipe line of each frame is specified, and when the wipe line is included in the output block of the current frame and when the wipe line is included in the block of the previous frame corresponding to the output block of the current frame, The image signal of the encoding means is output as the image signal, and the output block of the current frame does not include the wipe line, and the output block of the current frame is output. When not included wipe lines in the block of the previous frame corresponding to the click, it is characterized in that it comprises a and a synthesis control means for outputting an image signal of the output buffer as an image signal of the output block.

【0006】本願の請求項2の発明は、ワイプ開始から
ワイプ終了まで、第1又は第2の圧縮動画像信号の何れ
か一方を静止画像として保持し、フレーム間の画像信号
において差分がないことを示すブロック信号を発生する
と共に、出力ブロックの画像信号として、合成制御手段
に零差分のブロック信号に切り換えて出力することを指
示する零差分ブロック信号発生手段、を設けたことを特
徴とするものである。
According to the invention of claim 2 of the present application, from the start of wipe to the end of wipe, either one of the first and second compressed moving image signals is held as a still image, and there is no difference in the image signal between frames. And a zero-difference block signal generation means for instructing the synthesis control means to switch to a zero-difference block signal and output it as an image signal of the output block. Is.

【0007】本願の請求項3の発明は、入力圧縮動画像
信号の各ブロックがフレーム内符号化、順方向予測符号
化、又は双方向予測符号化のいずれかが行われている場
合には、第1及び第2の圧縮動画像信号のフレームをワ
イプの開始フレームから終了フレームまで1フレームず
つ再生順に組み合わせる際に、一方の圧縮動画像信号に
逆方向予測符号化又は双方向予測符号化の信号が含まれ
るとき、他方の圧縮動画像信号に逆方向予測符号化又は
双方向予測符号化が含まれるよう、又一方の圧縮動画像
信号に逆方向予測符号化及び双方向予測符号化のいずれ
かの信号も含まれないとき、他方の圧縮動画像信号に逆
方向予測符号化及び双方向予測符号化のいずれも信号も
含まれないように合成制御手段が第1又は第2の入力バ
ッファの入力を制御することを特徴とするものである。
According to the invention of claim 3 of the present application, when each block of the input compressed moving image signal is either intraframe coded, forward predictive coded, or bidirectional predictive coded, When the frames of the first and second compressed moving image signals are combined in the reproduction order one frame at a time from the start frame to the end frame of the wipe, the backward predictive coding or the bidirectional predictive coding signal is applied to one of the compressed moving picture signals. Is included, the other compressed moving picture signal includes backward predictive coding or bidirectional predictive coding, and one compressed moving picture signal includes either backward predictive coding or bidirectional predictive coding. When the other compressed video signal is not included, the synthesizing control means inputs the first or second input buffer so that neither the backward predictive coding nor the bidirectional predictive coding is included in the other compressed moving image signal. Control It is characterized in that.

【0008】[0008]

【作用】このような特徴を有する本発明によれば、フレ
ーム画像がm×n(m,nは自然数)画素のブロックに
分割され、各ブロックがフレーム内符号化、又は順方向
予測符号化が行われている第1及び第2の圧縮動画像信
号が入力されたとする。そうすると第1、第2の入力バ
ッファは第1、第2の圧縮動画像信号を夫々一時保持す
る。次に復号化手段は第1又は第2の入力バッファに保
持された第1又は第2の圧縮動画像信号を非圧縮のフレ
ーム画像信号に復号化する。第1、第2のフレームメモ
リは復号手段で復号化された第1、第2の画像信号を夫
々フレーム単位で一時保持する。ワイプ入力手段にワイ
プパターンとワイプ速度が入力されると、現フレームの
出力ブロックにワイプ線が含まれるとき、及び現フレー
ムの出力ブロックに対応する前フレームのブロックにワ
イプ線が含まれるとき、符号化手段は出力ブロックに対
応する第1及び第2の画像信号を第1及び第2のフレー
ムメモリより読み出す。そして符号化手段はワイプ入力
手段のワイプ線に基づき合成ブロックを作成し、合成ブ
ロックの画像信号を入力圧縮動画像信号と同じ方式で符
号化する。一方、出力バッファは第1又は第2の入力バ
ッファに保持された第1又は第2の圧縮動画像信号を切
り換えて一時保持する。また合成制御手段は連続する各
フレームのワイプ線の位置を指示する。現フレームの出
力ブロックにワイプ線が含まれるとき、及び現フレーム
の出力ブロックに対応する前フレームのブロックにワイ
プ線が含まれるとき、合成制御手段は出力ブロックの画
像信号として符号化手段の画像信号を出力する。そして
現フレームの出力ブロックにワイプ線が含まれないで、
現フレームの出力ブロックと同一位置にある前フレーム
のブロックにもワイプ線が含まれないとき、合成制御手
段は出力ブロックの画像信号として出力バッファの画像
信号を出力する。
According to the present invention having such characteristics, the frame image is divided into blocks of m × n (m and n are natural numbers) pixels, and each block is subjected to intraframe coding or forward prediction coding. It is assumed that the first and second compressed moving image signals being performed are input. Then, the first and second input buffers temporarily hold the first and second compressed moving image signals, respectively. Next, the decoding means decodes the first or second compressed moving image signal held in the first or second input buffer into an uncompressed frame image signal. The first and second frame memories temporarily hold the first and second image signals decoded by the decoding means in frame units, respectively. When the wipe pattern and the wipe speed are input to the wipe input unit, when the wipe line is included in the output block of the current frame and when the wipe line is included in the block of the previous frame corresponding to the output block of the current frame, the code The converting means reads the first and second image signals corresponding to the output block from the first and second frame memories. Then, the encoding means creates a combined block based on the wipe line of the wipe input means, and encodes the image signal of the combined block in the same manner as the input compressed moving image signal. On the other hand, the output buffer switches and temporarily holds the first or second compressed moving image signal held in the first or second input buffer. Further, the composition control means indicates the position of the wipe line of each successive frame. When the output block of the current frame includes a wipe line, and when the block of the previous frame corresponding to the output block of the current frame includes a wipe line, the synthesis control means uses the image signal of the encoding means as the image signal of the output block. Is output. And the wipe block is not included in the output block of the current frame,
When the wipe line is not included in the block of the previous frame located at the same position as the output block of the current frame, the synthesis control means outputs the image signal of the output buffer as the image signal of the output block.

【0009】[0009]

【実施例】本発明の第1実施例(請求項1)における圧
縮動画像特殊効果装置について図1及び図2を用いて説
明する。図1は第1実施例の圧縮動画像特殊効果装置の
構成を示すブロック図である。本図において圧縮動画像
入力バッファ1は圧縮動画像信号Aを一時的に蓄積する
バッファである。また圧縮動画像入力バッファ2は圧縮
動画像信号Bを一時的に蓄積するバッファである。スイ
ッチ3は圧縮動画像入力バッファ1又は2の出力を切り
換えるスイッチであり、この切換制御信号は後述する合
成制御手段13により与えられる。スイッチ4も圧縮動
画像入力バッファ1又は2の出力を切り換えるスイッチ
であり、切換制御信号は合成制御手段13により与えら
れる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A compressed moving image special effect device according to a first embodiment (claim 1) of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram showing the configuration of the compressed moving image special effect device of the first embodiment. In the figure, the compressed moving image input buffer 1 is a buffer for temporarily storing the compressed moving image signal A. The compressed moving image input buffer 2 is a buffer that temporarily stores the compressed moving image signal B. The switch 3 is a switch for switching the output of the compressed moving image input buffer 1 or 2, and this switching control signal is given by the synthesizing control means 13 described later. The switch 4 is also a switch for switching the output of the compressed moving image input buffer 1 or 2, and the switching control signal is given by the synthesis control means 13.

【0010】スイッチ3の出力は復号化手段5に与えら
れ、スイッチ4の出力は出力バッファ10に与えられ
る。復号化手段5はスイッチ3が出力する圧縮動画像信
号を非圧縮の動画像信号に伸張する手段であり、その出
力はフレームメモリ6又は7と、合成制御手段13とに
与えられる。フレームメモリ6、7は復号化手段5が出
力する画像信号をスイッチ8を介して蓄積するメモリで
ある。スイッチ8は画像信号の記憶時に復号化手段5の
出力をフレームメモリ6又は7に切えて出力すると共
に、画像信号の読み出し時にフレームメモリ6又は7の
出力を切り換えて、符号化手段9に出力するものであ
る。
The output of the switch 3 is given to the decoding means 5, and the output of the switch 4 is given to the output buffer 10. The decoding means 5 is means for expanding the compressed moving image signal output from the switch 3 into an uncompressed moving image signal, and its output is given to the frame memory 6 or 7 and the synthesizing control means 13. The frame memories 6 and 7 are memories that store the image signal output by the decoding means 5 via the switch 8. The switch 8 cuts the output of the decoding means 5 to the frame memory 6 or 7 at the time of storing the image signal and outputs it, and switches the output of the frame memory 6 or 7 at the time of reading the image signal to output to the coding means 9. It is a thing.

【0011】符号化手段9は復号された画像信号をMP
EG等により再び圧縮符号化する手段である。出力バッ
ファ10はスイッチ4から出力された圧縮動画像信号を
一時的に蓄積するバッファである。スイッチ11は符号
化手段9の出力信号、又は出力バッファ10の出力信号
のいずれかを選択するスイッチであり、切換制御信号は
合成制御手段13から与えられる。
The encoding means 9 MP the decoded image signal.
It is a means for performing compression coding again by EG or the like. The output buffer 10 is a buffer that temporarily stores the compressed moving image signal output from the switch 4. The switch 11 is a switch for selecting either the output signal of the encoding means 9 or the output signal of the output buffer 10, and the switching control signal is given from the synthesis control means 13.

【0012】入力手段12はワイプパターンやワイプの
トランジション時間を入力し、合成制御手段13に与え
る手段である。合成制御手段13は入力されたワイプパ
ターンやトランジション時間などに基づき、スイッチ
3、4、8、11に切換制御信号を夫々出力する手段で
ある。
The input means 12 is means for inputting the wipe pattern and the transition time of the wipe and giving them to the synthesis control means 13. The synthesizing control means 13 is means for outputting a switching control signal to the switches 3, 4, 8 and 11, respectively, based on the input wipe pattern, transition time and the like.

【0013】このように構成された第1実施例の圧縮動
画像特殊効果装置の動作について図2を用いて説明す
る。圧縮動画像入力バッファ1に入力される圧縮動画像
信号Aと、圧縮動画像入力バッファ2に入力される圧縮
動画像信号Bは、共にフレーム内符号化画面又は順方向
予測符号化画面で構成されているとする。ここでは図2
に示すように、圧縮動画像信号をAからBにワイプで切
り換える場合の動作を説明する。
The operation of the compressed moving image special effect apparatus of the first embodiment thus constructed will be described with reference to FIG. The compressed moving image signal A input to the compressed moving image input buffer 1 and the compressed moving image signal B input to the compressed moving image input buffer 2 are both configured by an intra-frame coding screen or a forward prediction coding screen. Suppose Figure 2 here
The operation of switching the compressed moving image signal from A to B by wiping as shown in FIG.

【0014】まず合成制御手段13はスイッチ3を圧縮
動画像入力バッファ1側に切り換え、同時にスイッチ8
をフレームメモリ6側に切り換える。復号化手段5は入
力された圧縮動画像信号Aの1フレーム分の信号を非圧
縮の画像信号に復号化し、これをフレームメモリ6に蓄
積する。次に合成制御手段13はスイッチ3を圧縮動画
像入力バッファ2側に切り換え、同時にスイッチ8をフ
レームメモリ7側に切り換える。復号化手段5は、入力
された圧縮動画像信号Bの1フレーム分の信号を非圧縮
の画像信号に復号化し、これをフレームメモリ7に蓄積
する。ここで、入力された圧縮動画像が動き補償を用い
て符号化されたものであれば、動きベクトルの値が合成
制御手段13に出力される。
First, the synthesizing control means 13 switches the switch 3 to the compressed moving image input buffer 1 side, and at the same time, the switch 8
To the frame memory 6 side. The decoding means 5 decodes the signal of one frame of the input compressed moving image signal A into an uncompressed image signal and stores it in the frame memory 6. Next, the composition control means 13 switches the switch 3 to the compressed moving image input buffer 2 side, and at the same time switches the switch 8 to the frame memory 7 side. The decoding means 5 decodes the signal of one frame of the input compressed moving image signal B into an uncompressed image signal and stores it in the frame memory 7. Here, if the input compressed moving image is encoded by using motion compensation, the value of the motion vector is output to the synthesis control unit 13.

【0015】次に、スイッチ4、8、11の切り換え動
作について図2を用いて説明する。図中の画面F3は、
圧縮動画像信号AからBに切り換える途中の1フレーム
であり、ワイプ境界線L3の右下が圧縮動画像信号A、
ワイプ境界線L3の左上が圧縮動画像信号Bである。合
成制御手段13は、圧縮動画像の符号化時における画面
ブロック分割のパターンと、ワイプの2画面の合成パタ
ーンを比較する。そしてこれから出力しようとするブロ
ックの位置が、合成された画面において全て画像Aの範
囲に含まれており、かつまた、そのブロックが前フレー
ムのブロックと差分符号化が行われている場合に、その
差分符号化に用いられたブロックの全範囲の画素が圧縮
動画像特殊効果装置が出力した圧縮動画像に含まれてい
るならば、スイッチ4を圧縮動画像入力バッファ1側に
切り換える。そしてスイッチ4より出力された圧縮動画
像信号Aの1ブロック分の信号は、出力バッファ10に
書き込まれる。
Next, the switching operation of the switches 4, 8 and 11 will be described with reference to FIG. The screen F3 in the figure is
One frame is in the process of switching from the compressed moving image signal A to B, and the lower right part of the wipe boundary line L3 is the compressed moving image signal A,
The upper left of the wipe boundary line L3 is the compressed moving image signal B. The synthesizing control means 13 compares the pattern of the screen block division at the time of encoding the compressed moving image with the synthesizing pattern of the two wipe screens. Then, when the positions of the blocks to be output from now on are all included in the range of the image A in the combined screen, and the blocks are differentially encoded with the blocks of the previous frame, If the pixels of the entire range of the block used for the differential encoding are included in the compressed moving image output by the compressed moving image special effect device, the switch 4 is switched to the compressed moving image input buffer 1 side. The signal of one block of the compressed moving image signal A output from the switch 4 is written in the output buffer 10.

【0016】同様に、これから出力するブロックの位置
が、合成された画面において全て画像Bの範囲に含まれ
ており、かつまた、そのブロックが前フレームのブロッ
クと差分符号化が行われている場合に、その差分符号化
に用いられたブロックの全範囲の画素が圧縮動画像特殊
効果装置が出力した圧縮動画像に含まれているならば、
合成制御手段13はスイッチ4を圧縮動画像入力バッフ
ァ2側に切り換える。スイッチ4より出力された圧縮動
画像信号Bの1ブロック分の信号は出力バッファ10に
書き込まれる。
Similarly, when the positions of the blocks to be output from now on are all included in the range of the image B on the combined screen, and the blocks have been differentially encoded with the blocks of the previous frame. If the pixels of the entire range of the block used for the differential encoding are included in the compressed moving image output by the compressed moving image special effect device,
The synthesizing control means 13 switches the switch 4 to the compressed moving image input buffer 2 side. A signal of one block of the compressed moving image signal B output from the switch 4 is written in the output buffer 10.

【0017】また、ブロックが前フレームのブロックと
差分符号化が行われている場合に、その差分符号化に用
いられたブロックの全範囲の画素が圧縮動画像特殊効果
装置が出力した圧縮動画像に含まれていないならば、合
成制御手段13はスイッチ8を切り換える。そして出力
するブロックが動画像Aであれば、フレームメモリ6に
書き込まれている画像信号の当該ブロック位置の画像信
号を符号化手段9に出力する。また、出力するブロック
が動画像Bであれば、フレームメモリ7に書き込まれて
いる画像信号の当該ブロック位置の画像信号を符号化手
段9に出力する。
When the block is differentially encoded with the block of the previous frame, the pixels of the entire range of the block used for the differential encoding are the compressed dynamic image output by the compressed dynamic image special effect device. If not included, the synthesis control means 13 switches the switch 8. If the block to be output is the moving image A, the image signal at the block position of the image signal written in the frame memory 6 is output to the encoding means 9. If the block to be output is the moving image B, the image signal at the block position of the image signal written in the frame memory 7 is output to the encoding means 9.

【0018】また、これから出力するブロックの位置
が、合成された画面において画像Aと画像Bの範囲にま
たがっている場合は、合成制御手段13はスイッチ8を
切り換えて、フレームメモリ6、7に書き込まれている
画像信号の当該ブロック位置の画素信号を、画面の合成
パターンと同じパターンで組み合わせて符号化手段9に
出力する。符号化手段9は各ブロックに対し差分を用い
ない符号化を行い、符号化された画像信号をスイッチ1
1に出力する。
When the position of the block to be output from now on extends over the range of the image A and the image B on the combined screen, the combining control means 13 switches the switch 8 and writes it in the frame memories 6 and 7. The pixel signals at the relevant block position of the image signal being displayed are combined in the same pattern as the screen synthesis pattern and output to the encoding means 9. The coding means 9 performs coding without using a difference for each block, and switches the coded image signal to the switch 1.
Output to 1.

【0019】図2のブロックの例では、前フレームとの
差分符号化が行われていないブロックiの位置では、ス
イッチ4を圧縮動画像入力バッファ2側に切り換えて、
圧縮動画像信号Bのブロックを出力バッファ10に書き
込む。前フレームとの差分符号化が行われていないブロ
ックjの位置では、スイッチ4を圧縮動画像入力バッフ
ァ1側に切り換えて、圧縮動画像信号Aのブロックを出
力バッファ10に書き込む。
In the example of the block of FIG. 2, at the position of the block i where the differential encoding with the previous frame is not performed, the switch 4 is switched to the compressed moving image input buffer 2 side,
The block of the compressed moving image signal B is written in the output buffer 10. At the position of the block j where the differential encoding with the previous frame is not performed, the switch 4 is switched to the compressed moving image input buffer 1 side, and the block of the compressed moving image signal A is written in the output buffer 10.

【0020】また画面F2の画像Bのブロックk’の位
置にあり、このブロックと差分符号化が行われている画
面F3のブロックkを考える。画面F2のブロックk’
の範囲全体が画像Bに含まれていないため、フレームメ
モリ7からブロックkの位置の画像信号が読み出され、
符号化手段9によって符号化が行われる。
Consider a block k on the screen F3 which is located at the position of the block k'of the image B on the screen F2 and which has been subjected to differential encoding with this block. Block k'of screen F2
Since the entire range of is not included in the image B, the image signal at the position of the block k is read from the frame memory 7,
Encoding is performed by the encoding means 9.

【0021】また画面F3のブロックmの位置では、画
像Aと画像Bの両方が含まれるため、フレームメモリ6
とフレームメモリ7からブロックmの位置の画像信号を
読み出し、符号化手段9によって符号化が行われる。
At the position of the block m on the screen F3, since both the image A and the image B are included, the frame memory 6
Then, the image signal at the position of block m is read from the frame memory 7 and encoded by the encoding means 9.

【0022】最後に合成制御手段13は、出力されるブ
ロックの順序が、入力された圧縮動画像信号と同じにな
るようスイッチ11を切り換えて、符号化手段9と出力
バッファ10が出力した圧縮動画像信号をブロック単位
で出力する。この動作をワイプのトランジション時間
中、各フレームに対して行うことにより、ワイプによっ
て動画像Aから動画像Bに切り換わる圧縮動画像を出力
することができる。
Finally, the synthesizing control means 13 switches the switch 11 so that the order of the outputted blocks is the same as the inputted compressed moving picture signal, and the compressed moving picture outputted by the coding means 9 and the output buffer 10 is outputted. The image signal is output in block units. By performing this operation for each frame during the transition period of the wipe, a compressed moving image in which the moving image A is switched to the moving image B by the wipe can be output.

【0023】なお、圧縮動画像入力バッファ1に入力さ
れる圧縮動画像信号Aと、圧縮動画像入力バッファ2に
入力される圧縮動画像信号Bが、フレーム内符号化画面
と順方向予測符号化画面だけではなく、未来の画面を用
いた予測符号化が行われている双方向予測符号化画面も
挿入されている場合を考える。この場合は、例えばフレ
ーム内符号化画面と順方向予測符号化画面のみが参照ブ
ロックを含むものとし、図3に示すように、一方の圧縮
動画像信号に双方向予測符号化の信号が含まれるとき、
他方の圧縮動画像信号にフレーム内符号化又は順方向予
測符号化が含まれないように合成制御手段13が圧縮動
画像入力バッファ1、2の入力を制御する。このように
画面を対応させて合成することによって、ワイプによっ
て切り換わる圧縮動画像を出力することができる。
The compressed moving image signal A input to the compressed moving image input buffer 1 and the compressed moving image signal B input to the compressed moving image input buffer 2 are coded in the intra-frame and forward predictive coding. Consider a case where not only the screen but also the bidirectional predictive coding screen in which the predictive coding is performed using the future screen is inserted. In this case, for example, it is assumed that only the intra-frame coding screen and the forward prediction coding screen include the reference block, and as shown in FIG. 3, when one compressed moving image signal includes the bidirectional prediction coding signal. ,
The synthesis control means 13 controls the inputs of the compressed moving image input buffers 1 and 2 so that the other compressed moving image signal does not include intraframe coding or forward prediction coding. By thus combining the screens in correspondence with each other, it is possible to output a compressed moving image that is switched by a wipe.

【0024】次に本発明の第2実施例(請求項2)にお
ける圧縮動画像特殊効果装置について図4を用いて説明
する。図4は第2実施例の圧縮動画像特殊効果装置の構
成を示すブロック図であり、第1実施例と同一部分は同
一の符号をつけ、説明は省略する。本実施例の圧縮動画
像特殊効果装置には、第1実施例の構成に加えて、零差
分ブロック信号発生手段14が付加されている。
Next, a compressed moving image special effect device according to a second embodiment (claim 2) of the present invention will be described with reference to FIG. FIG. 4 is a block diagram showing the configuration of the compressed moving image special effect device of the second embodiment. The same parts as those in the first embodiment are designated by the same reference numerals and the description thereof will be omitted. In addition to the configuration of the first embodiment, a zero difference block signal generating means 14 is added to the compressed moving image special effect device of the present embodiment.

【0025】零差分ブロック信号発生手段14は過去の
フレームと同じブロック画像であることを意味する1ブ
ロック分の圧縮画像信号を出力する手段であり、この圧
縮画像信号はスイッチ11に与えられる。スイッチ11
は合成制御手段の切換制御信号に基づき、符号化手段
9、出力バッファ10、又は零差分ブロック信号発生手
段14の出力を切り換える。
The zero-difference block signal generating means 14 is means for outputting a compressed image signal for one block, which means that it is the same block image as the past frame, and this compressed image signal is given to the switch 11. Switch 11
Switches the output of the encoding means 9, the output buffer 10, or the zero difference block signal generation means 14 based on the switching control signal of the synthesis control means.

【0026】このように構成された第2実施例の圧縮動
画像特殊効果装置の動作について、圧縮動画像入力バッ
ファ1に入力される圧縮動画像信号Aと、圧縮動画像入
力バッファ2に入力される圧縮動画像信号Bが、フレー
ム内予測符号化画面と順方向予測符号化画面で構成され
ており、圧縮動画像信号をAからBにワイプで切り替え
る場合の動作を説明する。
Regarding the operation of the compressed moving picture special effect apparatus of the second embodiment configured as above, the compressed moving picture signal A inputted to the compressed moving picture input buffer 1 and the compressed moving picture input buffer 2 are inputted. The compressed moving image signal B is composed of the intra-frame predictive coding screen and the forward predictive coding screen, and the operation when the compressed moving image signal is switched from A to B by wipe will be described.

【0027】図2のように圧縮動画像信号をAからBに
ワイプで切り換える場合、トランジション開始直前で、
合成制御手段13はスイッチ3を圧縮動画像入力バッフ
ァ1側に切り換え、同時にスイッチ8をフレームメモリ
6側に切り換える。復号化手段5では、入力された圧縮
動画像信号Aのトランジション直前の1フレーム分の信
号を画像信号に復号化し、この画像信号をフレームメモ
リ6に蓄積する。本実施例ではトランジション中にこの
フレームメモリの書き換えは行わない。
When the compressed moving image signal is switched from A to B by wiping as shown in FIG. 2, just before the transition starts,
The synthesizing control means 13 switches the switch 3 to the compressed moving image input buffer 1 side, and at the same time switches the switch 8 to the frame memory 6 side. The decoding means 5 decodes the signal of one frame immediately before the transition of the input compressed moving image signal A into an image signal, and stores this image signal in the frame memory 6. In this embodiment, this frame memory is not rewritten during the transition.

【0028】次に合成制御手段13はスイッチ3を圧縮
動画像入力バッファ2側に切り換え、同時にスイッチ8
をフレームメモリ7側に切り換える。復号化手段5は、
入力された圧縮動画像信号Bの1フレーム分の信号を信
号に復号化し、この画像信号をフレームメモリ7に蓄積
する。ここで、入力された圧縮動画像が動き補償を用い
て符号化されたものであれば、動きベクトルの値が合成
制御手段13に出力される。
Next, the composition control means 13 switches the switch 3 to the compressed moving image input buffer 2 side, and at the same time the switch 8
To the frame memory 7 side. The decoding means 5
A signal for one frame of the input compressed moving image signal B is decoded into a signal, and this image signal is stored in the frame memory 7. Here, if the input compressed moving image is encoded by using motion compensation, the value of the motion vector is output to the synthesis control unit 13.

【0029】次に、スイッチ4、8、11の切り換え動
作を説明する。まず合成制御手段13は、圧縮動画像の
符号化時における画面ブロック分割のパターンと、ワイ
プの2画面の合成パターンを比較する。そして、これか
ら出力するブロックの位置が、合成された画面において
全て画像Aの範囲に含まれているならば、スイッチ11
を零差分ブロック信号発生手段14側に切り換え、過去
のフレームと同じブロック画像であることを意味する1
ブロック分の圧縮画像信号をスイッチ11より出力す
る。
Next, the switching operation of the switches 4, 8 and 11 will be described. First, the composition control means 13 compares the pattern of screen block division at the time of encoding the compressed moving image with the composition pattern of the two wipe screens. If the positions of the blocks to be output from now on are all included in the range of the image A on the combined screen, the switch 11
Is switched to the zero difference block signal generating means 14 side, which means that the block image is the same as the past frame.
A compressed image signal for a block is output from the switch 11.

【0030】また、これから出力するブロックの位置
が、合成された画面において全て画像Bの範囲に含まれ
ている場合と、合成された画面において画像Aと画像B
の範囲にまたがっている場合は、各スイッチの切り換え
動作を第1実施例と同様に行うものとする。
Further, the positions of the blocks to be output from now on are all included in the range of the image B on the combined screen, and the image A and the image B on the combined screen.
If the range is over, the switching operation of each switch is performed in the same manner as in the first embodiment.

【0031】こうすると、画像Aはトランジションの時
間中に静止画面となり、動画像にした場合よりもデータ
量が少ない圧縮動画像信号を出力することができる。こ
こでは、動画像Aをトランジション中に静止画面とする
例を示したが、動画像Bを静止画面としたり、ワイプの
トランジション時間の途中で、静止画面をBからAに切
り換える等の方法を用いてもよい。
By doing so, the image A becomes a still screen during the transition time, and it is possible to output a compressed moving image signal having a smaller data amount than in the case of forming a moving image. Here, the example in which the moving image A is set as the still screen during the transition is shown, but the moving image B is set as the still screen, or the still screen is switched from B to A in the middle of the wipe transition time. May be.

【0032】なお、第1、第2実施例において、圧縮動
画像信号Aから圧縮動画像Bに切り換える例で説明した
が、BからAにも切り換えることができることは言うま
でもない。また、符号化手段と復号化手段は1つずつだ
けであったが、2つあるいはそれ以上数用い、入力圧縮
動画像信号の夫々に対して符号化手段と復号化手段を用
いるようにしてもよい。
In the first and second embodiments, an example has been described in which the compressed moving image signal A is switched to the compressed moving image B, but it goes without saying that it is also possible to switch from B to A. Although only one encoding means and one decoding means are used, two or more encoding means and two or more encoding means and decoding means may be used for each input compressed moving image signal. Good.

【0033】[0033]

【発明の効果】以上のように本発明によれば、ワイプ画
面の一部分のみが再度符号化されたブロックとなり、そ
の他の部分のブロックは入力された圧縮動画像信号をそ
のまま出力するため、ワイプ効果を施したことによる画
質の劣化を最小限に抑えることができる。またワイプ画
像効果の編集後の圧縮動画像に、元の圧縮動画像をその
まま用いるようにしているので、全画面を復号化した後
に編集し、再び圧縮する方式に比べ、画質劣化が少なく
なるという効果がある。
As described above, according to the present invention, only a part of the wipe screen becomes a re-encoded block, and the blocks of other parts output the input compressed moving image signal as they are, so that the wipe effect is obtained. It is possible to minimize the deterioration of the image quality due to the above. Moreover, since the original compressed moving image is used as it is for the edited compressed moving image of the wipe image effect, the image quality is less deteriorated as compared with the method of editing the entire screen, then editing and then compressing again. effective.

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

【図1】本発明の第1実施例における圧縮動画像特殊効
果装置のブロック図である。
FIG. 1 is a block diagram of a compressed moving image special effect device according to a first embodiment of the present invention.

【図2】ワイプにより合成された画像内のブロックの種
類を示す説明図である。
FIG. 2 is an explanatory diagram showing types of blocks in an image combined by wiping.

【図3】未来のフレームを予測符号化に用いた圧縮動画
像への対応方法を示す説明図である。
FIG. 3 is an explanatory diagram showing a method of handling a compressed moving image using a future frame for predictive coding.

【図4】本発明の第2実施例における圧縮動画像特殊効
果装置のブロック図である。
FIG. 4 is a block diagram of a compressed moving image special effect device according to a second embodiment of the present invention.

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

1,2 圧縮動画像入力バッファ 3,4,8,11 スイッチ 5 復号化手段 6,7 フレームメモリ 9 符号化手段 10 出力バッファ 12 入力手段 13 合成制御手段 14 零差分ブロック信号発生手段 1, 2 Compressed moving image input buffer 3, 4, 8, 11 Switch 5 Decoding means 6,7 Frame memory 9 Encoding means 10 Output buffer 12 Input means 13 Synthesis control means 14 Zero difference block signal generation means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 フレーム画像がm×n(m,nは自然
数)画素のブロックに分割され、各ブロックがフレーム
内符号化、又は過去のフレームに対する予測ブロックと
の差分を用いて順方向予測符号化が行われている第1及
び第2の圧縮動画像信号に対し、前記第1及び第2の入
力圧縮動画像の各フレーム画像を、ワイプパターンに基
づき順次合成し、ワイプ効果を施した圧縮動画像信号を
出力する圧縮動画像特殊効果装置であって、 前記第1の圧縮動画像信号を一時保持する第1の入力バ
ッファと、 前記第2の圧縮動画像信号を一時保持する第2の入力バ
ッファと、 前記第1又は第2の入力バッファに保持された第1又は
第2の圧縮動画像信号を非圧縮のフレーム画像信号に復
号化する復号化手段と、 前記復号手段で復号化された第1の画像信号をフレーム
単位で一時保持する第1のフレームメモリと、 前記復号手段で復号化された第2の画像信号をフレーム
単位で一時保持する第2のフレームメモリと、 第1の画像信号を第2の画像信号でワイプするとき、ワ
イプパターンとワイプ速度を入力するワイプ入力手段
と、 現フレームの出力ブロックにワイプ線が含まれるとき、
及び現フレームの出力ブロックに対応する前フレームの
ブロックにワイプ線が含まれるとき、前記出力ブロック
に対応する第1及び第2の画像信号を前記第1及び第2
のフレームメモリより読み出し、前記ワイプ入力手段の
ワイプ線に基づき合成ブロックを作成し、合成ブロック
の画像信号を入力圧縮動画像信号と同じ方式で符号化す
る符号化手段と、 前記第1又は第2の入力バッファに保持された第1又は
第2の圧縮動画像信号を切り換えて一時保持する出力バ
ッファと、 前記ワイプ入力手段からワイプパターンとワイプ速度が
入力されたとき、連続する各フレームのワイプ線の位置
を指示すると共に、現フレームの出力ブロックにワイプ
線が含まれるとき、及び現フレームの出力ブロックに対
応する前フレームのブロックにワイプ線が含まれると
き、出力ブロックの画像信号として前記符号化手段の画
像信号を出力し、現フレームの出力ブロックにワイプ線
が含まれないで、現フレームの出力ブロックに対応する
前フレームのブロックにもワイプ線が含まれないとき、
出力ブロックの画像信号として前記出力バッファの画像
信号を出力する合成制御手段と、を具備することを特徴
とする圧縮動画像特殊効果装置。
1. A frame image is divided into blocks of m × n (m and n are natural numbers) pixels, and each block is subjected to intra-frame coding or forward prediction code using a difference from a prediction block for a past frame. The frame images of the first and second input compressed moving images are sequentially synthesized with respect to the first and second compressed moving image signals that have been subjected to encoding based on a wipe pattern, and compression is performed with a wipe effect. A compressed moving image special effect device for outputting a moving image signal, comprising: a first input buffer for temporarily holding the first compressed moving image signal; and a second input buffer for temporarily holding the second compressed moving image signal. An input buffer; a decoding means for decoding the first or second compressed moving image signal held in the first or second input buffer into an uncompressed frame image signal; The first image A first frame memory that temporarily holds the signal in frame units, a second frame memory that temporarily holds the second image signal decoded by the decoding unit in frame units, and a second frame memory that stores the first image signal in second frames. When wiping with the image signal of, the wiping input means for inputting the wiping pattern and the wiping speed, and the wiping line included in the output block of the current frame,
And when the block of the previous frame corresponding to the output block of the current frame includes a wipe line, the first and second image signals corresponding to the output block are changed to the first and second image signals.
Encoding means for reading out from the frame memory, creating a composite block based on the wipe line of the wipe input means, and encoding the image signal of the composite block in the same system as the input compressed moving image signal; An output buffer for switching and temporarily holding the first or second compressed moving image signal held in the input buffer, and a wipe line of each successive frame when a wipe pattern and a wipe speed are input from the wipe input means. When a wipe line is included in the output block of the current frame and when a wipe line is included in the block of the previous frame corresponding to the output block of the current frame, the encoding is performed as the image signal of the output block. Output the image signal of the means, the output block of the current frame does not include the wipe line, the output block of the current frame When not included wipe lines in the corresponding block of the previous frame,
And a composite control means for outputting the image signal of the output buffer as the image signal of the output block.
【請求項2】 ワイプ開始からワイプ終了まで、第1又
は第2の圧縮動画像信号の何れか一方を静止画像として
保持し、フレーム間の画像信号において差分がないこと
を示すブロック信号を発生すると共に、出力ブロックの
画像信号として、前記合成制御手段に前記零差分のブロ
ック信号に切り換えて出力することを指示する零差分ブ
ロック信号発生手段、を設けたことを特徴とする請求項
1記載の圧縮動画像特殊効果装置。
2. From the start of the wipe to the end of the wipe, either one of the first and second compressed moving image signals is held as a still image, and a block signal indicating that there is no difference in the image signals between frames is generated. At the same time, a zero-difference block signal generating means for instructing the synthesis control means to switch to the zero-difference block signal and output the image signal of the output block is provided. Video special effect device.
【請求項3】 入力圧縮動画像信号の各ブロックがフレ
ーム内符号化、順方向予測符号化、又は双方向予測符号
化のいずれかが行われている場合には、第1及び第2の
圧縮動画像信号のフレームをワイプの開始フレームから
終了フレームまで1フレームずつ再生順に組み合わせる
際に、一方の圧縮動画像信号に逆方向予測符号化又は双
方向予測符号化の信号が含まれるとき、他方の圧縮動画
像信号に逆方向予測符号化又は双方向予測符号化が含ま
れるよう、又一方の圧縮動画像信号に逆方向予測符号化
及び双方向予測符号化のいずれかの信号も含まれないと
き、他方の圧縮動画像信号に逆方向予測符号化及び双方
向予測符号化のいずれも信号も含まれないように前記合
成制御手段が前記第1又は第2の入力バッファの入力を
制御することを特徴とする請求項1又は2記載の圧縮動
画像特殊効果装置。
3. A first compression method and a second compression method when each block of an input compressed video signal is subjected to intraframe coding, forward prediction coding, or bidirectional prediction coding. When the frames of the moving image signal are combined in the reproduction order from the start frame to the end frame of the wipe one by one in the reproduction order, when one compressed moving image signal includes a signal of backward predictive coding or bidirectional predictive coding, When the compressed moving picture signal includes backward prediction coding or bidirectional prediction coding, and when one of the compressed moving picture signals does not include either backward prediction coding or bidirectional prediction coding The synthesizing control means controls the input of the first or second input buffer so that the other compressed moving image signal does not include any signal of backward predictive coding and bidirectional predictive coding. Characteristic The compressed moving image special effect device according to claim 1 or 2.
JP4637195A 1995-02-09 1995-02-09 Device for adding special effect to compressed moving image Pending JPH08223480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4637195A JPH08223480A (en) 1995-02-09 1995-02-09 Device for adding special effect to compressed moving image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4637195A JPH08223480A (en) 1995-02-09 1995-02-09 Device for adding special effect to compressed moving image

Publications (1)

Publication Number Publication Date
JPH08223480A true JPH08223480A (en) 1996-08-30

Family

ID=12745300

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4637195A Pending JPH08223480A (en) 1995-02-09 1995-02-09 Device for adding special effect to compressed moving image

Country Status (1)

Country Link
JP (1) JPH08223480A (en)

Similar Documents

Publication Publication Date Title
KR100221889B1 (en) Method for recording moving picture coding data
US6574274B2 (en) Picture signal processing system, decoder, picture signal processing method, and decoding method
KR940027567A (en) Adaptive Variable Image Compression Method and Apparatus
JP2000102007A (en) Multi-media information synthesizer and compressed video signal generator
JP2911114B2 (en) Contour line decoding device
JP3282577B2 (en) Image processing device
JP3979403B2 (en) Image information processing apparatus and image information processing method
US6256344B1 (en) Variable bit rate encoder
JP2002142227A (en) Hierarchy-type coding device of image signal, and hierarchy-type decoding device
JPH11215491A (en) Signal processing unit and method therefor
JP3776735B2 (en) Image predictive decoding method, image predictive decoding device, image predictive encoding method, image predictive encoding device, and data storage medium
JPH08223480A (en) Device for adding special effect to compressed moving image
JP3591025B2 (en) Image information processing device
JPH11346368A (en) Image processing method, image processing unit and data storage medium
US6904093B1 (en) Horizontal/vertical scanning frequency converting apparatus in MPEG decoding block
JPH1127662A (en) Image coder
JP3004763B2 (en) Video signal multiplex decoder
JP3733248B2 (en) Playback apparatus and method
KR100215789B1 (en) Apparatus and method for driving pip in digital tv
JPH11308620A (en) Image decoder
JPH08275152A (en) Digital video signal decoder
JP3474707B2 (en) Image encoding device and image decoding device
JPH0923436A (en) Moving picture compression method and picture communication equipment
JPH10285552A (en) Reproducing device
JP2894870B2 (en) Image storage device