JPH06350984A - Moving picture compression/expansion system - Google Patents

Moving picture compression/expansion system

Info

Publication number
JPH06350984A
JPH06350984A JP14225193A JP14225193A JPH06350984A JP H06350984 A JPH06350984 A JP H06350984A JP 14225193 A JP14225193 A JP 14225193A JP 14225193 A JP14225193 A JP 14225193A JP H06350984 A JPH06350984 A JP H06350984A
Authority
JP
Japan
Prior art keywords
moving picture
header
background
data
color code
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
JP14225193A
Other languages
Japanese (ja)
Other versions
JP3089520B2 (en
Inventor
Yutaka Okunoki
豊 奥ノ木
Atsushi Kitahara
篤 北原
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.)
Sega Corp
Original Assignee
Sega Enterprises 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 Sega Enterprises Ltd filed Critical Sega Enterprises Ltd
Priority to JP14225193A priority Critical patent/JP3089520B2/en
Publication of JPH06350984A publication Critical patent/JPH06350984A/en
Priority to US08/738,777 priority patent/US5808682A/en
Application granted granted Critical
Publication of JP3089520B2 publication Critical patent/JP3089520B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To expand transmitted compressed moving pictures, to overlap them with the other pictures and to display them. CONSTITUTION:A header adding means 17 adds a header including the color code of a background to compressed moving picture data outputted by a moving picture compression means 16 and outputs them, a header separation means 45 separates the header from the compressed moving picture data to which the header is added and takes out the color code of the background and a moving picture expansion means 46 expands the compressed moving picture data and obtains the picture data of the moving pictures. A priority generation means 47 compares the picture data of the moving pictures outputted from the moving picture expansion means with the color code of the background from the header separation means and generates priority data for instructing a foreground part or a background part by a picture element unit.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は動画圧縮伸長システムに
関し、動画を圧縮して伝送又は記録し、これを伸長して
動画を得る動画圧縮伸長システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture compression / expansion system, and more particularly to a moving picture compression / expansion system for compressing and transmitting or recording a moving picture and expanding the moving picture to obtain a moving picture.

【0002】[0002]

【従来の技術】従来より、MPEG(ムービングピクチ
ャーエキスパートグループ)、FST(フォースクエア
トランスファ)、DVI(ディジタルビデオインタラク
ティブ)等の高能率動画圧縮技術がある。このような動
画圧縮技術を用いれば、CD−ROM(コンパクトディ
スク・リードオンリメモリ)等の記憶容量が限られ、か
つデータ転送レートが比較的低い記録媒体に動画を記録
し、これを実時間で再生することが可能である。
2. Description of the Related Art Conventionally, there are high-efficiency moving image compression techniques such as MPEG (Moving Picture Experts Group), FST (Four Square Transfer), and DVI (Digital Video Interactive). If such a moving picture compression technique is used, a moving picture is recorded on a recording medium such as a CD-ROM (compact disc read-only memory) with a limited storage capacity and a relatively low data transfer rate, and this is recorded in real time. It is possible to play.

【0003】[0003]

【発明が解決しようとする課題】ゲーム機等において
は、背景画の画像に、ゲームに登場するキャラクタ等の
前景の画像を重ね合わせて表示を行ないゲームを進行さ
せている。
In a game machine or the like, a foreground image of a character or the like appearing in the game is superimposed on a background image to display the game.

【0004】この場合、前景の画像は、RGBの色デー
タと共に、前景部か背景部かを指示するプライオリティ
データを、画素毎に持っており、合成時には、このプラ
イオリティデータに応じて前景の画像データ又は背景の
画像データを選択して画像を重ね合わせて表示してい
る。
In this case, the foreground image has, for each pixel, priority data indicating the foreground portion or the background portion together with the RGB color data, and at the time of synthesis, the foreground image data corresponding to the priority data. Alternatively, the background image data is selected and the images are displayed in an overlapping manner.

【0005】上記の前景の画像を動画とし、これを圧縮
しようとしても、従来のMPEG等の動画圧縮技術は色
データだけで構成された動画データの圧縮しか行なうこ
とができず、プライオリティデータを含む動画データの
圧縮を行なうことができず、動画圧縮技術を用いて画像
の重ね合わせ表示を行なうことができないという問題が
あった。
Even if the above foreground image is used as a moving image and the moving image is to be compressed, conventional moving image compression techniques such as MPEG can only compress moving image data composed only of color data and include priority data. There is a problem in that the moving image data cannot be compressed, and the images cannot be superimposed and displayed using the moving image compression technique.

【0006】本発明は上記の点に鑑みなされたもので、
圧縮動画を伸長して他の画像と重ね合わせて表示するこ
とができる動画圧縮伸長システムを提供することを目的
とする。
The present invention has been made in view of the above points,
An object of the present invention is to provide a moving picture compression / expansion system capable of expanding a compressed moving picture and displaying it by superimposing it on another image.

【0007】[0007]

【課題を解決するための手段】本発明の動画圧縮伸長シ
ステムは、背景上を前景が動く動画の画像データを圧縮
する動画圧縮手段と、前記動画圧縮手段の出力する圧縮
動画データに前記背景の色コードを含むヘッダーを付加
して出力するヘッダー付加手段と、ヘッダーの付加され
た圧縮動画データからヘッダーを分離して背景の色コー
ドを取り出すヘッダー分離手段と、前記ヘッダー分離手
段より出力される圧縮動画データを伸長して動画の画像
データを得る動画伸長手段と、前記動画伸長手段より出
力される動画の画像データをヘッダー分離手段よりの背
景の色コードと比較して前景部が背景部かを画素単位で
指示するプライオリティデータを生成するプライオリテ
ィ生成手段とを有する。
A moving picture compression / expansion system of the present invention comprises a moving picture compression means for compressing image data of a moving picture whose foreground is moving on the background, and a compressed moving picture data outputted by the moving picture compression means for converting the background Header adding means for adding and outputting a header containing a color code, header separating means for separating the header from the compressed moving image data to extract the background color code, and compression output by the header separating means A moving picture decompressing unit for decompressing the moving picture data to obtain moving picture image data, and comparing the moving picture image data output from the moving picture decompression means with the background color code from the header separating means to determine whether the foreground part is the background part And a priority generation unit that generates priority data instructed in pixel units.

【0008】[0008]

【作用】本発明においては、圧縮動画データに背景色コ
ードを含むヘッダーを付加し、圧縮動画データに付加さ
れたヘッダーから背景色コードを取り出してプライオリ
ティデータを生成するため、このプライオリティデータ
を用いて伸長された動画を背景画像等の他の画像と重ね
合わせて表示することができる。
In the present invention, the header including the background color code is added to the compressed moving image data, and the background color code is taken out from the header added to the compressed moving image data to generate the priority data. Therefore, this priority data is used. The decompressed moving image can be displayed by being superimposed on another image such as a background image.

【0009】[0009]

【実施例】図1,図2夫々は本発明システムの一実施例
の圧縮系、伸長系夫々のブロック図を示す。
1 and 2 are block diagrams of a compression system and a decompression system of an embodiment of the system of the present invention.

【0010】図1の圧縮系において、ビデオカメラ12
で撮像した動画、又はビデオテープレコーダ13で再生
した動画がスイッチ14で選択され、D/Aコンバータ
15に供給される。ここで、動画は図3(A)に示す如
く、例えば青のスクリーンを背景30として、前景31
が動く画像である。
In the compression system of FIG. 1, the video camera 12
The moving image picked up in step 1 or the moving image reproduced by the video tape recorder 13 is selected by the switch 14 and supplied to the D / A converter 15. Here, as shown in FIG. 3A, the moving image has a foreground 31 with a blue screen as the background 30, for example.
Is a moving image.

【0011】D/Aコンバータ15は動画の映像信号の
RGB成分を分離して、各色について例えば5ビットで
量子化し、1画素当り15ビットの画像データとして出
力する。この画像データは動画圧縮器16に供給され
る。動画圧縮器16は例えばMPEGエンコーダであ
り、例えば15フレーム単位で高能率の動画圧縮を行な
ってヘッダー付加回路17に供給する。
The D / A converter 15 separates the RGB components of the video signal of the moving image, quantizes each color with, for example, 5 bits, and outputs it as image data of 15 bits per pixel. This image data is supplied to the moving picture compressor 16. The moving picture compressor 16 is, for example, an MPEG encoder, performs high-efficiency moving picture compression in units of 15 frames, and supplies it to the header addition circuit 17.

【0012】ヘッダー付加回路17は端子18から背景
30の色を指定する15ビットの色コードを供給されて
いる。ヘッダー付加回路17は例えば表示時間0.5秒
分、つまり15フレーム分の圧縮動画データに、上記背
景色を指定する背景色コードを含むヘッダーを付加し
て、図4に示す形式の伝送信号とし、CD−ROM,ハ
ードディスク等の記録装置20に供給して記録媒体に記
録すると共に、送信器21に供給して通信線22に送出
する。
The header addition circuit 17 is supplied with a 15-bit color code for specifying the color of the background 30 from the terminal 18. The header adding circuit 17 adds a header including a background color code for designating the background color to the compressed moving image data for a display time of 0.5 seconds, that is, for 15 frames, to form a transmission signal of the format shown in FIG. , A CD-ROM, a hard disk, etc. to record on a recording medium, and also to a transmitter 21 to send out to a communication line 22.

【0013】図2の伸長系において、再生装置42は記
録装置20で記録された記録媒体から伝送信号を再生し
てスイッチ43に供給し、また受信器44は通信線22
を伝送された伝送信号を受信してスイッチ43に供給す
る。スイッチ43で選択された合成データはヘッダー分
離器45に供給され、ここで図4に示す伝送信号のヘッ
ダーと圧縮動画データとが分離される。分離された圧縮
動画データは動画伸長器46に供給され、またヘッダー
分離器45は分離したヘッダーから背景色コードを取り
出してクロマキー検出器47に供給する。動画伸長器4
6はMPEGデコーダであり、圧縮動画データを伸長し
て動画の画像データを復元しクロマキー検出器47に供
給する。
In the expansion system of FIG. 2, the reproducing device 42 reproduces the transmission signal from the recording medium recorded by the recording device 20 and supplies it to the switch 43, and the receiver 44 uses the communication line 22.
Is received and supplied to the switch 43. The combined data selected by the switch 43 is supplied to the header separator 45, where the header of the transmission signal shown in FIG. 4 and the compressed moving image data are separated. The separated compressed moving picture data is supplied to the moving picture decompressor 46, and the header separator 45 extracts the background color code from the separated header and supplies it to the chroma key detector 47. Video expander 4
An MPEG decoder 6 decompresses the compressed moving picture data to restore the moving picture image data and supplies it to the chroma key detector 47.

【0014】プライオリティ生成手段であるクロマキー
検出器47は動画の画像データを画素単位で背景色コー
ドと比較し、一致した場合に値が0で、不一致の場合に
値が1となる1ビットのプライオリティビットを生成す
る。例えば図3(A)に示す青の背景30と前景31と
よりなる画像で背景色コードが青である場合には、図3
(B)に示す如く、背景部で値0(黒で示す)となり、
前景部で値1(白で示す)となるプライオリティビット
が生成される。
The chroma key detector 47, which is a priority generating means, compares the moving image data with the background color code pixel by pixel, and if the values match, the value is 0, and if the values do not match, the value is 1. Generate a bit. For example, when the background color code is blue in the image composed of the blue background 30 and the foreground 31 shown in FIG.
As shown in (B), the background value is 0 (shown in black),
A priority bit having a value of 1 (shown in white) in the foreground portion is generated.

【0015】上記の画像データ及びプライオリティビッ
トは画像処理装置60内の入出力回路(I/O)61に
供給され、キャラクタメモリ63のCPU62が指定す
るアドレスに画素単位で書込まれる。キャラクタメモリ
63上では1画素分の画像データは図5に示す如く16
ビット構成であり、下位5ビットD0〜D4は赤のレベ
ルを表わし、次の5ビットD5〜D9は緑のレベルを表
わし、次の5ビットD10〜D14は青のレベルを表わ
し、最上位ビットD15はプライオリティビットであ
る。
The above-mentioned image data and priority bits are supplied to the input / output circuit (I / O) 61 in the image processing device 60, and written in the address designated by the CPU 62 of the character memory 63 on a pixel-by-pixel basis. On the character memory 63, the image data for one pixel is 16 as shown in FIG.
The lower 5 bits D0 to D4 represent a red level, the next 5 bits D5 to D9 represent a green level, the next 5 bits D10 to D14 represent a blue level, and the most significant bit D15. Is a priority bit.

【0016】グラフィックプロセッサ64はキャラクタ
メモリ63に格納されている前景動画の画像データを読
み出し、拡大、縮小、回転、色演算等の処理を行なって
フレームバッファ65に書き込む。また、グラフィック
プロセッサ64はフレームバッファ65の前景動画の画
像データを読み出すと共に、垂直及び水平及び画素の同
期をとってフレームバッファ66に格納されている背景
画の画像データ(RGBデータのみでプライオリティビ
ットを含まない)を読み出し、前景動画に付加されてい
るプライオリティビットが1のとき前景動画のRGBデ
ータを選択し、上記プライオリティビットが0のとき背
景画の画像データを選択してビデオエンコーダ70に供
給する。これによってビデオエンコーダ70は前景動画
と背景画とを合成した画像の映像信号を生成し、モニタ
72に表示する。
The graphic processor 64 reads the image data of the foreground moving image stored in the character memory 63, performs processing such as enlargement, reduction, rotation, color calculation, etc., and writes it in the frame buffer 65. Further, the graphic processor 64 reads out the image data of the foreground moving image in the frame buffer 65, and at the same time, synchronizes the vertical and horizontal pixels with the image data of the background image stored in the frame buffer 66. (Not included) is read out, RGB data of the foreground moving image is selected when the priority bit added to the foreground moving image is 1, and image data of the background image is selected and supplied to the video encoder 70 when the priority bit is 0. . As a result, the video encoder 70 generates a video signal of an image in which the foreground moving image and the background image are combined and displays it on the monitor 72.

【0017】このように、圧縮動画データに背景色コー
ドを含むヘッダーを付加して伝送し、伝送信号からヘッ
ダーの背景色コードを取り出してプライオリティデータ
を生成するため、このプライオリティデータを用いて伸
長された動画を背景画像等の他の画像と重ね合わせて表
示することができる。
As described above, since the header including the background color code is added to the compressed moving image data and transmitted, and the background color code of the header is extracted from the transmission signal to generate the priority data, the priority data is decompressed. A moving image can be displayed by being superimposed on another image such as a background image.

【0018】なお、フレームバッファ65上に1つの動
画を展開した後、更に他の動画を重ねて展開することに
より、複数の動画を重ね合わせて表示することも可能で
ある。
It is also possible to display a plurality of moving images by superimposing one moving image on the frame buffer 65 and then further expanding another moving image.

【0019】[0019]

【発明の効果】上述の如く、本発明の動画圧縮伸長シス
テムによれば、圧縮動画を伸長して他の画像と重ね合わ
せて表示することができ、実用上きわめて有用である。
As described above, according to the moving picture compression / expansion system of the present invention, a compressed moving picture can be expanded and displayed by superimposing it on another image, which is extremely useful in practice.

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

【図1】本発明システムの圧縮系のブロック図である。FIG. 1 is a block diagram of a compression system of the system of the present invention.

【図2】本発明システムの伸長系のブロック図である。FIG. 2 is a block diagram of a decompression system of the system of the present invention.

【図3】本発明を説明するための図である。FIG. 3 is a diagram for explaining the present invention.

【図4】伝送データ形式を示す図である。FIG. 4 is a diagram showing a transmission data format.

【図5】動画の画像データ形式を示す図である。FIG. 5 is a diagram showing an image data format of a moving image.

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

16 動画圧縮器 17 ヘッダー付加回路 21 記録装置 22 送信器 42 再生装置 44 受信器 45 ヘッダー分離器 46 動画伸長器 47 クロマキー検出器 16 Video Compressor 17 Header Addition Circuit 21 Recording Device 22 Transmitter 42 Playback Device 44 Receiver 45 Header Separator 46 Video Decompressor 47 Chroma Key Detector

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 背景上を前景が動く動画の画像データを
圧縮する動画圧縮手段と、 前記動画圧縮手段の出力する圧縮動画データに前記背景
の色コードを含むヘッダーを付加して出力するヘッダー
付加手段と、 ヘッダの付加された圧縮動画データからヘッダーを分離
して背景の色コードを取り出すヘッダー分離手段と、 前記ヘッダー分離手段より出力される圧縮動画データを
伸長して動画の画像データを得る動画伸長手段と、 前記動画伸長手段より出力される動画の画像データをヘ
ッダー分離手段よりの背景の色コードと比較して前景部
か背景部かを画素単位で指示するプライオリティデータ
を生成するプライオリティ生成手段とを有することを特
徴とする動画圧縮伸長システム。
1. A moving picture compression unit for compressing image data of a moving picture in which a foreground moves on a background, and a header addition for outputting a compressed moving picture data output from the moving picture compression unit by adding a header including a color code of the background. Means, a header separating means for separating the header from the compressed moving picture data to which the header is added and extracting the background color code, and a moving picture for decompressing the compressed moving picture data output from the header separating means to obtain moving picture image data A decompression means and a priority generation means for comparing the image data of the moving picture output from the moving picture decompression means with the color code of the background from the header separation means to generate priority data indicating the foreground part or the background part in pixel units. A moving picture compression / decompression system comprising:
JP14225193A 1993-06-14 1993-06-14 Video processing system Expired - Fee Related JP3089520B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP14225193A JP3089520B2 (en) 1993-06-14 1993-06-14 Video processing system
US08/738,777 US5808682A (en) 1993-06-14 1996-10-29 Picture data processing system for processing picture data representing foreground and background

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14225193A JP3089520B2 (en) 1993-06-14 1993-06-14 Video processing system

Publications (2)

Publication Number Publication Date
JPH06350984A true JPH06350984A (en) 1994-12-22
JP3089520B2 JP3089520B2 (en) 2000-09-18

Family

ID=15310969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14225193A Expired - Fee Related JP3089520B2 (en) 1993-06-14 1993-06-14 Video processing system

Country Status (1)

Country Link
JP (1) JP3089520B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08305830A (en) * 1995-05-10 1996-11-22 Matsushita Electric Ind Co Ltd Image composition device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62123834A (en) * 1985-11-25 1987-06-05 Sony Corp Coding transmission system
JPH0437276A (en) * 1990-05-31 1992-02-07 Fujitsu General Ltd Multi-color data generating method for teletext

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62123834A (en) * 1985-11-25 1987-06-05 Sony Corp Coding transmission system
JPH0437276A (en) * 1990-05-31 1992-02-07 Fujitsu General Ltd Multi-color data generating method for teletext

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08305830A (en) * 1995-05-10 1996-11-22 Matsushita Electric Ind Co Ltd Image composition device

Also Published As

Publication number Publication date
JP3089520B2 (en) 2000-09-18

Similar Documents

Publication Publication Date Title
US6253025B1 (en) Image information encoding/decoding system
US4799677A (en) Video game having video disk read only memory
JP2004072793A (en) Video recording method and device, video replay method and device, and recording medium
JP2802694B2 (en) Image reproducing apparatus and method
US20030043142A1 (en) Image information transmission system
US5808682A (en) Picture data processing system for processing picture data representing foreground and background
JP3089520B2 (en) Video processing system
JP2942838B2 (en) Video processing system
JP3039472B2 (en) Image and audio playback device
JP2009038682A (en) Image processor, and image processing method
JP3312456B2 (en) Video signal processing device
US5982982A (en) Video signal processing apparatus
JPH0898172A (en) Picture encoding device and picture decoding device
US6965642B2 (en) Method and device for compressing and decompressing moving image data and information recording medium
JP2000134579A (en) Moving image compression and expansion processor
JP3288715B2 (en) Image capturing device, image storage / playback device equipped with image capturing device, and image input device
JP3283049B2 (en) Image data transmission system, transmission device, reception device, and operation method thereof
JP3177306B2 (en) Image processing device
JPH0283578A (en) Device and method for image data display
JP2894870B2 (en) Image storage device
JPH1023274A (en) Transmitter for image signal and reception-reproducing device
JPH09214955A (en) Encode and decode system for image data
JP3354076B2 (en) Image compression method, image expansion method, image compression device, and image expansion device
JPH0283579A (en) Device and method for image data display
JP3527591B2 (en) Information recording / reproducing device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19991116

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000613

LAPS Cancellation because of no payment of annual fees