JP3286329B2 - Image data transmission method, image reproducing apparatus, and image reproducing method - Google Patents
Image data transmission method, image reproducing apparatus, and image reproducing methodInfo
- Publication number
- JP3286329B2 JP3286329B2 JP21598591A JP21598591A JP3286329B2 JP 3286329 B2 JP3286329 B2 JP 3286329B2 JP 21598591 A JP21598591 A JP 21598591A JP 21598591 A JP21598591 A JP 21598591A JP 3286329 B2 JP3286329 B2 JP 3286329B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- image data
- data
- background
- foreground
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Television Signal Processing For Recording (AREA)
- Color Television Systems (AREA)
- Television Systems (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Description
【0001】[0001]
【産業上の利用分野】この発明は、例えばゲーム用など
に用いるアニメーションを再生するのに好適な画像デー
タの伝送方法、その画像データが記録された記録媒体、
さらには、画像データの再生装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of transmitting image data suitable for reproducing an animation used for, for example, a game, a recording medium on which the image data is recorded,
Furthermore, the present invention relates to an image data reproducing device.
【0002】[0002]
【従来の技術】CD−ROMは、記録容量が大きく、マ
イクロコンピュータを使用したゲーム機やパーソナルコ
ンピュータなどにおいて、外部記憶媒体として使用され
ているが、このCD−ROMに動画の画像データを記録
しておき、この画像データを読み出してホストコンピュ
ータに供給し、CRTディスプレイに動画(アニメーシ
ョン)を表示することが考えられている。2. Description of the Related Art A CD-ROM has a large recording capacity and is used as an external storage medium in game machines and personal computers using microcomputers. Moving image data is recorded on the CD-ROM. It has been considered that the image data is read out and supplied to a host computer to display a moving image (animation) on a CRT display.
【0003】この場合、従来のゲーム機において、CD
−ROMからの画像データの読み出し方としては、CD
−ROMから画像データを連続して読み出して動画をデ
ィスプレイに表示するのではなく、CD−ROMを適宜
シークして、CD−ROMの所定の記録領域に記録され
ている複数駒からなる動画の画像データを読み出してホ
ストコンピュータ側に用意されている大容量のRAMに
転送し、このRAMに記憶された複数駒分の画像データ
からアニメーションを作成して表示するようにしてい
る。In this case, a conventional game machine uses a CD.
-The method of reading image data from ROM is CD
Rather than continuously reading image data from the ROM and displaying a moving image on a display, an image of a moving image composed of a plurality of frames recorded in a predetermined recording area of the CD-ROM by appropriately seeking the CD-ROM. The data is read and transferred to a large-capacity RAM provided in the host computer, and an animation is created from a plurality of frames of image data stored in the RAM and displayed.
【0004】[0004]
【発明が解決しようとする課題】上述した従来のアニメ
ーションの方法による場合には、動画の1秒当たりの駒
数が少なく、動きのスムースなアニメーションを得るこ
とができない欠点があった。However, the conventional animation method described above has a drawback that the number of frames per second of a moving image is small and a smooth animation cannot be obtained.
【0005】そこで、この発明の出願人は、先に特願平
3−74555号として、CD−ROMから画像データ
を連続して読み出しながら動画を再生して、駒数が多
く、スムースな動きのアニメーションを実現できる方法
を提案した。In view of the above, the applicant of the present invention has disclosed in Japanese Patent Application No. 3-74555, reproducing a moving image while continuously reading image data from a CD-ROM. A method that can realize animation is proposed.
【0006】ところで、ゲーム機においては、対話性
(インターラクティブ性)を持たせることが重要であ
る。例えば、図22の画面91に表示されている敵機9
2に対して、ユーザが攻撃したとき、その結果に応じ
て、異なる画面を用意しなければならない。すなわち、
敵機に弾が命中したときは、図22の画面93のような
敵機の爆発パターンの映像を表示しなければならない。
これに対して、攻撃が失敗したときには、図22の画面
94に示すように、敵機92に対して弾95が外れた画
像をディスプレイに表示しなければならない。[0006] By the way, it is important for a game machine to have interactivity (interactivity). For example, the enemy aircraft 9 displayed on the screen 91 of FIG.
When the user attacks on 2, a different screen must be prepared according to the result. That is,
When a bullet hits an enemy aircraft, an image of the explosion pattern of the enemy aircraft must be displayed as shown in a screen 93 in FIG.
On the other hand, when the attack has failed, an image in which the bullet 95 has missed the enemy aircraft 92 must be displayed on the display as shown in a screen 94 in FIG.
【0007】以上のような対話性を上述のようなCD−
ROMからのアニーメーションにおても実現しようとす
る場合には、画面93と画面94とを常に合わせ持たな
ければならない。このとき、例えば一方の画面、例えば
爆発パターンを別個特別の記録領域に記録しておき、ユ
ーザの対応に応じて適宜その記録領域をシークして爆発
パターンの画面を映出することも考えられるが、この方
法は、シークのために時間がかかり、エンターティメン
ト性を損ねてしまう。[0007] The above-mentioned interactivity is realized by the CD-
In order to realize even an animation from a ROM, the screen 93 and the screen 94 must always be combined. At this time, for example, it is conceivable that one screen, for example, an explosion pattern is recorded in a special recording area separately, and the recording area is appropriately sought according to the correspondence of the user to project the screen of the explosion pattern. However, this method takes a long time for seeking and impairs entertainment.
【0008】そこで、画像データをより高能率に圧縮し
て1枚の画面分として常に画面93と画面94の画像デ
ータとを記録しておくことが考えられる。しかし、この
場合には、圧縮率が大きいため、画質が低下してしまう
問題がある。Therefore, it is conceivable to compress the image data with higher efficiency and always record the image data of the screen 93 and the screen 94 as one screen. However, in this case, there is a problem that the image quality is deteriorated because the compression ratio is large.
【0009】この発明の目的は、例えばゲームのように
ユーザの対応に応じて複数の画面を瞬時に切り換えるこ
とを可能にする画像データの伝送方法、画像再生装置、
または画像再生方法を提供することである。An object of the present invention is to provide a method of transmitting image data , an image reproducing apparatus, and the like, which enable a plurality of screens to be instantaneously switched according to a user's correspondence, such as a game .
Another object is to provide an image reproducing method .
【0010】[0010]
【課題を解決するための手段】この発明によれば、前景
と背景とからなる動画の画像データを、予め定めた複数
セクタからなるフレーム単位で伝送する伝送方法であっ
て、複数種の前景についての背景として割り当てられた
1の背景を表わす画像データを複数フレーム分に分割
し、前記分割された背景を表わす画像データと、当該背
景と選択的に重ねて表示されるべき複数種の前景を表わ
す画像データとを、前記複数の、フレーム単位により伝
送することを特徴とする画像データ伝送方法が提供され
る。 According to the present invention, a foreground is provided.
Image data of a moving image consisting of
This is a transmission method that transmits data in units of frames consisting of sectors.
Was assigned as background for multiple foregrounds
Image data representing one background is divided into multiple frames
Image data representing the divided background,
Represents multiple foregrounds that should be selectively superimposed on the foreground
The image data is transmitted by the plurality of frames.
Image data transmission method characterized by transmitting
You.
【0011】この画像データ伝送方法において、背景
は、静止画像とすることができる。In this image data transmission method, the background can be a still image.
【0012】この発明によれば、背景を表わす画像デー
タと、当該背景において選択的に表示される複数種の前
景を表わす画像データとが、それぞれ予め定めた複数セ
クタからなる、複数の、フレーム単位で順次記録され動
画を構成すると共に、前記背景は、1画面分の前記背景
を表わす画像データが前記複数フレーム分に分割して記
録されている画像データを記録した記録媒体から前記画
像データを読み出して再生する機能を有する画像再生装
置であって、前記複数種の前景のうち、指示に応じて表
示すべき前景を選択する手段と、当該記録媒体から画像
データを読み出す手段と、前記読み出され画像データを
バッファメモリに書き込む第1の書き込み手段と、前記
バッファメモリから前記複数フレーム分に分割された背
景に相当する画像データを読み出して第1の画像用メモ
リエリアに書き込むと共に、前記バッファメモリから選
択された前景に相当する画像データを第2の画像用メモ
リエリアに書き込む第2の書き込み手段と、前記第1の
画像用メモリエリアから複数フレーム分に分割された前
記背景を表わす画像データを複数フレーム分読み出し、
かつ、前記第2の画像用メモリエリアから当該背景を表
わす画像データと重ねて表示すべき前景を表わす画像デ
ータを読み出して、両者を合成してディスプレイに表示
させる表示手段とを備え、前記表示手段は、前記第1の
画像用メモリエリアに書き込まれた複数フレーム分の画
像データから得られる背景に、当該複数フレーム分中に
記録されている複数の前景を順次重ね合わせてディスプ
レイに表示させることで動画を映出させ、前記第2の書
き込み手段は、前記表示手段による映出中に、前記選択
する手段による他の前景が選択された場合、選択された
時点で、バッファメモリから新たに選択された前景に相
当する画像データを第2の画像用メモリエリアに書き込
むことを特徴とする画像再生装置が提供される。 According to the present invention, the image data representing the background
Data and a plurality of types that are selectively displayed in the background
The image data representing the scenery is
, Which are sequentially recorded and operated in frame units.
And the background is one screen of the background.
Is divided into a plurality of frames and recorded.
From the recording medium on which the recorded image data is recorded
Image reproducing device having a function of reading out and reproducing image data
The foreground of the plurality of foregrounds according to an instruction.
Means for selecting a foreground to be shown, and an image from the storage medium
Means for reading data; and means for reading the read image data.
First writing means for writing to a buffer memory;
The back divided into a plurality of frames from the buffer memory
The image data corresponding to the scene is read out and the first image memo is read.
Area, and select from the buffer memory.
The image data corresponding to the selected foreground is stored in the second image memo.
A second writing means for writing to the rear area;
Before being divided into multiple frames from the image memory area
Image data representing the background is read for a plurality of frames,
And displaying the background from the second image memory area.
Image data representing the foreground to be displayed overlaid with the image data
Data, read them out, combine them and display them on the display
And display means for causing the first display means to perform the first
Images for multiple frames written in the image memory area
In the background obtained from the image data,
Display by overlapping multiple recorded foregrounds sequentially
The video is projected by displaying it on the
The writing unit is configured to perform the selection during the projection by the display unit.
If another foreground is selected by the means to
At this point, the newly selected foreground from the buffer memory
Writes the corresponding image data to the second image memory area
An image reproducing apparatus is provided.
【0013】[0013]
【作用】上述のこの発明による方法においては、動画像
が背景と前景とに分けられる。そして、背景の画像は、
すべてのフレームのデータではなく、いわゆる駒落とし
の状態で、複数フレームに1フレームの画像データだけ
が伝送(記録)される。この背景の駒落としの分だけ前
景として伝送(記録)可能なデータ量は増加する。そこ
で、前景として複数個の画像を伝送(記録)することが
できるものである。In the above-described method according to the present invention, a moving image is divided into a background and a foreground. And the background image is
Only one frame of image data is transmitted (recorded) in a plurality of frames in a so-called frame-dropped state instead of data of all frames. The amount of data that can be transmitted (recorded) as the foreground increases by the amount of dropped frames in the background. Therefore, a plurality of images can be transmitted (recorded) as the foreground.
【0014】そして、この発明の画像再生装置において
は、記録媒体からの再生信号は、第1の書き込み手段に
よりバッファメモリに書き込まれる。このバッファメモ
リからの背景の画像データは、第1の画像用メモリエリ
アに書き込まれる。また、前記バッファメモリの複数の
前景の画像データのうちから選択された画像データが、
第1の画像用メモリエリアとは異なる第2の画像用メモ
リエリアに書き込まれる。In the image reproducing apparatus according to the present invention, the reproduction signal from the recording medium is written to the buffer memory by the first writing means. The background image data from the buffer memory is written to the first image memory area. The image data selected from the plurality of foreground image data in the buffer memory is:
The data is written to a second image memory area different from the first image memory area.
【0015】そして、第1の画像用メモリエリアから背
景の画像データが読み出されて、背景画が再生されると
共に、第2の画像用メモリエリアから前景の画像データ
が読み出されて、両者の合成により目的の画面が表示さ
れる。Then, the background image data is read from the first image memory area to reproduce the background image, and the foreground image data is read from the second image memory area. The target screen is displayed by the combination of.
【0016】第2の画像用メモリエリアの内容は、選択
信号により複数の前景の画像のうちから選択されたもの
である。したがって、例えばゲーム機において、ユーザ
の対応に応じて選択する前景を切り換えるようにすれ
ば、ユーザの対応に応じた画面に即座に画面を切り換え
ることができるものである。The contents of the second image memory area are selected from a plurality of foreground images by a selection signal. Therefore, for example, in a game machine, if the foreground to be selected is switched according to the correspondence of the user, the screen can be immediately switched to the screen corresponding to the correspondence of the user.
【0017】[0017]
【実施例】以下、この発明による画像データの伝送方
法、この方法に用いる記録媒体及び画像再生装置の一実
施例を、図を参照して説明する。この例は、記録媒体が
CD−ROMの場合であり、また、画像再生装置がゲー
ム機の場合である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a method for transmitting image data according to the present invention, a recording medium used in the method and an image reproducing apparatus will be described below with reference to the drawings. In this example, the recording medium is a CD-ROM, and the image reproducing device is a game machine.
【0018】この例の画像再生装置では、後述するよう
に、CD−ROMから画像データを連続して読み出しな
がら動画を再生して、駒数が多く、スムースな動きのア
ニメーションを実現すると共に、動画を背景と前景とに
分け、前景の画像を瞬時に切り換えることができるよう
にして、インターラクティブ性を持たせた画像の再生が
できるようにしている。In the image reproducing apparatus of this example, as will be described later, a moving image is reproduced while continuously reading image data from a CD-ROM to realize an animation with a large number of frames and a smooth movement, and Is divided into a background and a foreground so that an image of the foreground can be instantaneously switched so that an image having an interactive property can be reproduced.
【0019】この発明の説明の前に、この発明の理解を
容易にするため、CD−ROMに、背景と前景とに分け
ずに1枚の動画像を記録し、これを画像再生装置で再生
する場合を説明する。先ず、画像データのデータ圧縮方
法と、圧縮した動画データを記録媒体であるCD−RO
Mに記録する方法について説明する。Before explaining the present invention, in order to facilitate understanding of the present invention, one moving image is recorded on a CD-ROM without being divided into a background and a foreground, and reproduced by an image reproducing apparatus. Will be described. First, a data compression method for image data and a compressed moving image data are stored in a CD-RO as a recording medium.
A method for recording in M will be described.
【0020】[動画の画像データのデータ圧縮方法]図
9及び図10は、この例の画像データ圧縮方法を実行す
るエンコード装置の一例のブロック図である。この例に
おいては、圧縮した画像データはCD−ROMに記録す
る。このCD−ROMは、後述するようにゲーム機用の
ソフトとして用いられ、動画を再生できるように、画像
データが高能率圧縮されている。[Data Compression Method for Moving Picture Image Data] FIGS. 9 and 10 are block diagrams of an example of an encoding apparatus that executes the image data compression method of this embodiment. In this example, the compressed image data is recorded on a CD-ROM. This CD-ROM is used as software for a game machine as described later, and image data is highly efficiently compressed so that a moving image can be reproduced.
【0021】この例においては、1フレーム(1画面)
は、図11Aに示すように、例えば、横×縦=256画
素×192画素で構成され、また、1画素は三原色がそ
れぞれ5ビットで表されている。なお、実際は、処理の
都合でダミーの1ビットが最上位に追加され、1画素
は、1ビット(ダミー)+5ビット×3色、すなわち1
6ビットとされる。そして、この原画像データが1フレ
ーム単位で以下のようにデータ圧縮処理される。In this example, one frame (one screen)
As shown in FIG. 11A, is composed of, for example, horizontal × vertical = 256 pixels × 192 pixels, and one pixel is represented by 5 bits for each of three primary colors. Actually, one dummy bit is added to the highest order for the sake of processing, and one pixel is composed of 1 bit (dummy) +5 bits × 3 colors, that is, 1 bit.
It is 6 bits. Then, the original image data is subjected to data compression processing in units of one frame as follows.
【0022】すなわち、原画像の1フレームのデータ
は、入力端21を通じてキャラクタ分割手段22に供給
され、図11Bに示すように、1フレームの画像がそれ
ぞれ横×縦=8画素×8画素からなる小領域ブロック
(以下このブロックをキャラクタと称する)に分割され
る。したがって、図11Bにも示したように、1フレー
ムの画像は、32×24=768個のキャラクタに分割
される。そして、各キャラクタの画像データC(0) 〜C
(767) は、レジスタ23に一時蓄えられる。That is, the data of one frame of the original image is supplied to the character dividing means 22 through the input terminal 21, and as shown in FIG. 11B, the image of one frame is composed of horizontal × vertical = 8 pixels × 8 pixels. It is divided into small area blocks (this block is hereinafter referred to as a character). Therefore, as shown in FIG. 11B, an image of one frame is divided into 32 × 24 = 768 characters. Then, image data C (0) to C of each character
(767) is temporarily stored in the register 23.
【0023】このレジスタ23からの各キャラクタの画
像データC(0) 〜C(767) は、第1のベクトル量子化手
段24に供給される。この例においても、このベクトル
量子化手段24においては、各キャラクタの画像データ
C(0) 〜C(767) が並列処理される。このように並列処
理せずに、画像データC(0) 〜C(767) を順次にベクト
ル量子化処理するようにしても勿論よい。後述する各処
理においても同様である。The image data C (0) to C (767) of each character from the register 23 is supplied to the first vector quantization means 24. Also in this example, in the vector quantization means 24, image data C (0) to C (767) of each character are processed in parallel. Of course, the image data C (0) to C (767) may be sequentially vector-quantized without performing the parallel processing. The same applies to each processing described later.
【0024】このベクトル量子化手段24では、各キャ
ラクタ画像データC(k) (k=0〜767)毎に、そのキ
ャラクタ内の画素として表われる色が4色以内となるよ
うにベクトル量子化がなされる。The vector quantization means 24 performs vector quantization for each character image data C (k) (k = 0 to 767) such that the number of colors represented as pixels in the character is within four. Done.
【0025】このベクトル量子化の手法としては種々提
案されているものが使用できるが、この例では、赤、
青、緑の三原色の色成分を互いに直交する方向にとって
3次元色空間を考えたとき、各画素間のその色空間上の
距離を求め、互いの距離の短い画素同志をまとめること
により、すなわち近似する色の画素同志をまとめて1つ
の代表色とする処理を行うことにより、キャラクタ内の
画素の色が4色以下の代表色に収まるように画素データ
を丸める。Various methods have been proposed for this vector quantization, but in this example, red,
When considering a three-dimensional color space in which the color components of the three primary colors of blue and green are orthogonal to each other, the distance between each pixel in the color space is obtained, and pixels having short distances from each other are collected, that is, approximated. By performing a process of combining pixels having different colors into one representative color, the pixel data is rounded so that the colors of the pixels in the character fall within four or less representative colors.
【0026】そして、1フレーム内の全キャラクタにつ
いて、そのキャラクタ内の画素の色が4色に収まるよう
にベクトル量子化した後、その1フレーム内の全キャラ
クタ内における量子化誤差(代表色の位置を中心とし
て、その代表色と各画素との前記色空間上の距離に相
当)の最大値Emax を求める。このとき、予め、1フレ
ーム内の量子化誤差の最大値として許容されるスレッシ
ョールド値Ethを設定しておく。Then, for all the characters in one frame, vector quantization is performed so that the colors of the pixels in the character fall within four colors, and then the quantization error (the position of the representative color) in all the characters in the one frame , The maximum value Emax of the representative color and each pixel in the color space is determined. At this time, a threshold value Eth allowed as the maximum value of the quantization error in one frame is set in advance.
【0027】そして、前記量子化誤差の最大値Emax と
スレッショールド値Ethとを比較する。そして、量子化
誤差の最大値Emax がスレッショールド値Ethより大き
いときは、さらに、各キャラクタ内の画像データについ
て、量子化誤差が前記最大値Emax を越える直前までベ
クトル量子化を行い、キャラクタ内の色数を減らしてい
く。これは、1フレーム内の全キャラクタ内の画像デー
タのS/Nを均一にするためである。これを、量子化誤
差の最大値Emax がスレッショールド値Ethを越える直
前まで行う。このようにすれば、全てのフレームでのS
/N比は一定に保たれる。Then, the maximum value Emax of the quantization error is compared with a threshold value Eth. When the maximum value Emax of the quantization error is larger than the threshold value Eth, vector quantization is further performed on the image data in each character until immediately before the quantization error exceeds the maximum value Emax. Reduce the number of colors. This is to make the S / N of the image data in all the characters in one frame uniform. This is performed until immediately before the maximum value Emax of the quantization error exceeds the threshold value Eth. In this way, S in all frames
The / N ratio is kept constant.
【0028】このように量子化すると、色の変化の平坦
なキャラクタでは、画素の色数が減る。これは、色の変
化の平坦なキャラクタでは、色数が減少しても量子化誤
差はさほど増大しないからである。この過程で、キャラ
クタ内の色数が2色に、さらには1色のみになるキャラ
クタも生じる。そして、各キャラクタ内で選択された色
が代表色とされる。When the quantization is performed as described above, the number of pixel colors is reduced in a character having a flat color change. This is because, for a character having a flat color change, the quantization error does not increase so much even if the number of colors decreases. In this process, some characters have two colors in the character and only one color. Then, the color selected in each character is set as the representative color.
【0029】こうして、ベクトル量子化手段24から
は、各キャラクタ内では4色以下に圧縮された画像デー
タが得られる。このベクトル量子化手段24からのキャ
ラクタ単位の画像データは、パレット分割手段25に供
給される。Thus, from the vector quantization means 24, image data compressed to four colors or less in each character is obtained. The image data in character units from the vector quantization means 24 is supplied to the palette dividing means 25.
【0030】このパレット分割手段25では、キャラク
タをそのキャラクタ内の色の分布によって、似た色を持
つキャラクタ同志をまとめることにより、8つのグルー
プ(各グループをパレットと称する)に分類する。例え
ば、図11Cに示すように、画像の内容に応じて色調の
似たキャラクタのグループが、A,B,C,D,E…の
ように生じたとした場合、このグループA,B,C,
D,E…毎にパレットが構成される。The palette dividing means 25 classifies the characters into eight groups (each group is referred to as a palette) by grouping characters having similar colors according to the distribution of colors in the character. For example, as shown in FIG. 11C, if a group of characters having similar colors according to the content of the image occurs as A, B, C, D, E,..., The groups A, B, C,
A pallet is constructed for each of D, E,.
【0031】この例の場合、8つのパレットの割当方法
は、 (1)各キャラクタの代表色(キャラクタ内の色の平均
値)を計算し、各キャラクタはその代表色からなるもの
と仮定する。 (2)ベクトル量子化を行い、1フレーム内の全てのキ
ャラクタを8色に量子化する。すなわち、キャラクタ数
は768であるので、キャラクタの代表色は最大768
色となるが、これを8色のキャラクタに量子化する。 (3)同じラベル(代表色)を持つキャラクタ同志をま
とめて一つのパレットとする。 の3ステップにより行われる。In the case of this example, the method of allocating eight palettes is as follows: (1) It is assumed that the representative color of each character (the average value of the colors in the character) is calculated, and that each character is composed of the representative color. (2) Vector quantization is performed, and all characters in one frame are quantized into eight colors. That is, since the number of characters is 768, the representative color of the character is a maximum of 768.
The colors are quantized into eight-color characters. (3) Characters having the same label (representative color) are combined into one palette. This is performed in three steps.
【0032】なお、このパレットを構成するキャラクタ
のグループは、連続したキャラクタの領域のものである
必要はなく、飛び飛びのキャラクタ同志が、1つのパレ
ットのグループを構成してもよい。Note that the group of characters constituting this palette need not be in a continuous character area, and the characters that are skipped may constitute one palette group.
【0033】8個のパレットのデータP(0) 〜P(7)
は、レジスタ26に一時蓄えられ、それぞれ第2のベク
トル量子化手段27に供給され、並列処理される。Eight pallet data P (0) to P (7)
Are temporarily stored in a register 26, respectively, supplied to a second vector quantization means 27, and subjected to parallel processing.
【0034】第2のベクトル量子化手段27では、各パ
レット毎に16色の画素の代表色が決定される。このと
き、1つのパレット内の画素の色数が16色より多けれ
ば、キャラクタ内の場合と同様にして、ベクトル量子化
が行われてパレット内の色が16色になるように丸めら
れる。そして、その結果の16色が画素の代表色とされ
る。The second vector quantization means 27 determines representative colors of 16 pixels for each pallet. At this time, if the number of colors of the pixels in one palette is larger than 16 colors, vector quantization is performed and the colors in the palette are rounded to 16 colors in the same manner as in the character. Then, the resulting 16 colors are set as the representative colors of the pixels.
【0035】こうして、それぞれ16色に丸められた8
個のパレットのキャラクタ単位の画像データP(0) 〜P
(7) は、それぞれラベリング手段28に供給され、並列
処理される。各ラベリング手段28では、各パレットに
ついてそれぞれ画素の代表色として選定された16色又
は16以下の色データの色変換テーブルCOL(0) 〜C
OL(7) が作成され、レジスタ29に一時蓄えられる
(図12参照)。このレジスタ29からの色変換テーブ
ルCOL(0) 〜COL(7) のデータは、記録データとし
て記録処理手段38に供給される。Thus, each of the eight colors rounded to 16 colors
Image data P (0) to P for each pallet in character units
(7) are supplied to the labeling means 28 and are processed in parallel. In each of the labeling means 28, color conversion tables COL (0) to COL (0) to 16 colors or less than 16 color data selected as representative colors of pixels for each palette
OL (7) is created and temporarily stored in the register 29 (see FIG. 12). The data of the color conversion tables COL (0) to COL (7) from the register 29 is supplied to the recording processing means 38 as recording data.
【0036】また、各ラベリング手段28では、各色変
換テーブルCOL(0) 〜COL(7)が参照されて、各パ
レットに含まれる各キャラクタについて、それぞれ16
色に丸められた画素データが、そのパレットの色変換テ
ーブル上で、その画素の色が対応する色番号で表現され
るラベル画像データLAB(0) 〜LAB(7) に変換され
る(各キャラクタの内容は図13参照)。そして、この
ラベル画像データLAB(0) 〜LAB(7) が、レジスタ
30に一時蓄えられる。Each of the labeling means 28 refers to each of the color conversion tables COL (0) to COL (7), and calculates 16 characters for each character included in each palette.
The pixel data rounded to a color is converted into label image data LAB (0) to LAB (7) in which the color of the pixel is represented by a corresponding color number on the color conversion table of the palette (each character). 13 is shown in FIG. 13). Then, the label image data LAB (0) to LAB (7) are temporarily stored in the register 30.
【0037】この場合、前述もしたように、ラベル画像
データLAB(0) 〜LAB(7) において、キャラクタ
は、4又は3色からなるもの(図13A)、2色からな
るもの(図13B)、1色のみからなるもの(図13
C)がある。キャラクタが4又は3色の場合には、その
4又は3色の色番号を示すテーブルが存在すれば、各画
素データは、その色番号テーブルのどれであるか示す2
ビットのデータで表すことができる。したがって、4又
は3色からなるキャラクタの各画素データは、2ビット
で表現することができる。同様に、キャラクタが2色で
あれば、そのキャラクタの2色の色番号テーブルと、そ
れぞれ1ビットの画素データで表すことができる。さら
に、1色のみであれば、後述するように、その色データ
のみとすることができる。In this case, as described above, in the label image data LAB (0) to LAB (7), the character is composed of four or three colors (FIG. 13A) and composed of two colors (FIG. 13B). , Consisting of only one color (FIG. 13)
C). When the character is four or three colors, if there is a table indicating the color numbers of the four or three colors, each pixel data indicates which one of the color number tables.
It can be represented by bit data. Therefore, each pixel data of a character composed of four or three colors can be represented by two bits. Similarly, if the character has two colors, it can be represented by a color number table of two colors of the character and 1-bit pixel data. Further, if there is only one color, only the color data can be used as described later.
【0038】2ビットで表現できるキャラクタを2ビッ
トモードキャラクタ、1ビットで表現できるキャラクタ
を1ビットモードキャラクタ、1色のみのキャラクタを
単色キャラクタと、以下称する。A character that can be represented by 2 bits is referred to as a 2-bit mode character, a character that can be represented by 1 bit is referred to as a 1-bit mode character, and a character having only one color is referred to as a single color character.
【0039】デコード処理を考慮した場合、2ビットモ
ードキャラクタ、1ビットモードキャラクタ、単色キャ
ラクタは、それぞれまとめて取り扱ったほうが高速処理
ができる。しかし、1フレーム中の768個のキャラク
タにおいては、一般に、図14Aに示すように、各モー
ドキャラクタは、分散して混在する。図14で、は1
ビットモードキャラクタ、は2ビットモードキャラク
タ、○は単色キャラクタを示している。In consideration of the decoding process, high-speed processing can be achieved by treating the 2-bit mode character, the 1-bit mode character, and the single-color character collectively. However, in the 768 characters in one frame, generally, each mode character is dispersedly mixed as shown in FIG. 14A. In FIG. 14,
A bit mode character is a 2-bit mode character, and a circle is a single color character.
【0040】そこで、レジスタ30からの各パレットの
ラベル画像データLAB(0) 〜LAB(7) は、ソート手
段31に供給され、図14Bに示すように、2ビットモ
ードキャラクタ、1ビットモードキャラクタ、単色キャ
ラクタの順に1フレームのキャラクタデータが並べ換え
られる。Therefore, the label image data LAB (0) to LAB (7) of each pallet from the register 30 are supplied to the sorting means 31, and as shown in FIG. One frame of character data is rearranged in the order of monochromatic characters.
【0041】そして、このソート手段31では、1フレ
ームのキャラクタについて元の順序への並べ換えのため
のテーブル(以下これをスクリーンテーブルという)s
crが形成される。このスクリーンテーブルscrは、
図15に示すように、1フレームの画像をキャラクタと
同じ大きさの小領域に分割したとき、各小領域について
キャラクタ番号CNo. と、パレット番号PNo. が定めら
れて構成される。In the sorting means 31, a table (hereinafter referred to as a screen table) s for rearranging the characters of one frame in the original order is provided.
cr is formed. This screen table scr is
As shown in FIG. 15, when an image of one frame is divided into small areas having the same size as a character, a character number CNo. And a pallet number PNo.
【0042】キャラクタ番号CNo. は、その小領域の位
置に表示されるべきキャラクタのソート後の1フレーム
中でのキャラクタ順位である。また、パレット番号PN
o. は、その小領域に表示されるキャラクタが、8個の
パレットのうちのどのパレットに含まれているかを示
す。すなわち、どの色変換テーブルをデコード時に使用
するかを示すことになる。この場合、1つの小領域のキ
ャラクタ番号CNo. とパレット番号PNo. とは、例えば
2バイトのデータで構成される。The character number CNo. Is the character order in one frame after sorting the characters to be displayed at the position of the small area. Also, pallet number PN
o indicates which of the eight palettes contains the character displayed in the small area. That is, it indicates which color conversion table is used at the time of decoding. In this case, the character number CNo. And the pallet number PNo. Of one small area are composed of, for example, 2-byte data.
【0043】また、この例の場合、キャラクタ番号CN
o. のうちの0〜15までは、単色キャラクタに対して
のみ割り当てられる。すなわち、テーブルscrにおい
て、ある小領域の位置に表示されるキャラクタが単色キ
ャラクタであるときには、その小領域に対しては、パレ
ット番号PNo. は2ビットモード又は1ビットモードキ
ャラクタと同様に割り当てられるが、キャラクタ番号C
No. の代わりに、そのパレットの色変換テーブルの0〜
15の色番号のうちのそのキャラクタの色の色番号が割
り当てられる。これにより、その小領域の色(単色)が
決まる。したがって、単色キャラクタについては、この
スクリーンテーブルscrに、そのキャラクタの色のデ
ータを前記のように登録して記録することにより、後述
する各キャラクタについての圧縮画像データとしては記
録しない。In the case of this example, the character number CN
The numbers 0 to 15 in o. are assigned only to monochrome characters. That is, in the table scr, when the character displayed at the position of a certain small area is a single color character, the palette number PNo. Is assigned to the small area in the same manner as the 2-bit mode or 1-bit mode character. , Character number C
Instead of No., 0 to 0 of the color conversion table of the palette
The color number of the color of the character among the 15 color numbers is assigned. Thereby, the color (single color) of the small area is determined. Therefore, for a single-color character, by registering and recording the color data of the character in the screen table scr as described above, it is not recorded as compressed image data for each character described later.
【0044】以上のような単色キャラクタのため、2ビ
ットモード及び1ビットモードのキャラクタに対するキ
ャラクタ番号は、16番から始まる。もともと、キャラ
クタ番号には、10ビットが割り当てられているので、
このような番号のシフトには十分に余裕がある。For the above-described single-color characters, the character numbers for the characters in the 2-bit mode and the 1-bit mode start from the 16th character. Originally, 10 bits are assigned to the character number,
There is ample room for such number shifts.
【0045】スクリーンテーブルscrのデータは、記
録データとして記録処理手段38に供給される。The data of the screen table scr is supplied to the recording processing means 38 as recording data.
【0046】そして、以上のようにしてソート手段31
においてソートされて並べ換えられたキャラクタ単位の
画像データのうち、N個(Nは768以下の整数)の各
2ビットモードのキャラクタのデータC2(0)〜C2(N-1)
は、レジスタ32を介してラベリング手段33に供給さ
れる。このラベリング手段33においては、各2ビット
モードのキャラクタのデータC2(0)〜C2(N-1)につい
て、図16Aに示すように、そのキャラクタの4色又は
3色の色番号テーブルと、その色番号テーブル上の各色
番号位置を示す2ビットのインデックス番号のデータと
からなる圧縮画像データdat2(0)〜dat2(N-1)が形
成される。そして、これらの圧縮画像データdat2(0)
〜dat2(N-1)がレジスタ34に一時蓄積される。Then, as described above, the sorting means 31
In the character-based image data sorted and rearranged in (1), N (N is an integer of 768 or less) character data C2 (0) to C2 (N-1) of each 2-bit mode character
Is supplied to the labeling means 33 via the register 32. In the labeling means 33, as shown in FIG. 16A, for each of the data C2 (0) to C2 (N-1) of the character in the 2-bit mode, a color number table of four or three colors of the character, Compressed image data dat2 (0) to dat2 (N-1) are formed from data of a 2-bit index number indicating each color number position on the color number table. Then, the compressed image data dat2 (0)
~ Dat2 (N-1) is temporarily stored in the register 34.
【0047】同様に、ソート手段31からM個(Mは7
68以下の整数)の各1ビットモードのキャラクタのデ
ータC1(0)〜C1(M-1)が、レジスタ35を介してラベリ
ング手段36に供給される。このラベリング手段36に
おいては、各1ビットモードのキャラクタのデータC1
(0)〜C1(M-1)について、図16Bに示すように、その
キャラクタの2色の色番号テーブルと、その色番号テー
ブル上の各色番号位置を示す1ビットのインデックス番
号のデータとからなる圧縮画像データdat1(0)〜da
t1(M-1)が形成される。そして、これらの圧縮画像デー
タdat1(0)〜dat1(M-1)がレジスタ37に一時蓄積
される。Similarly, M (M is 7)
The data C1 (0) to C1 (M-1) of each 1-bit mode character (an integer of 68 or less) are supplied to the labeling means 36 via the register 35. In the labeling means 36, character data C1 of each 1-bit mode
For (0) to C1 (M-1), as shown in FIG. 16B, a color number table of two colors of the character and data of a 1-bit index number indicating each color number position on the color number table are obtained. Compressed image data dat1 (0) to da
t1 (M-1) is formed. Then, the compressed image data dat1 (0) to dat1 (M-1) are temporarily stored in the register 37.
【0048】そして、レジスタ34からの全ての2ビッ
トモードの圧縮画像データと、レジスタ37からの全て
の1ビットモードの圧縮画像データとは、それぞれ記録
データとして記録処理手段38に供給される。Then, all the compressed image data in the 2-bit mode from the register 34 and all the compressed image data in the 1-bit mode from the register 37 are supplied to the recording processing means 38 as recording data.
【0049】[記録データの生成]記録処理手段38で
は、CD−ROMに記録するデータを作成する。すなわ
ち、上述した1フレーム分の画像に関するデータは、2
ビットモードと1ビットモードの各キャラクタの画素に
関する圧縮画像データと、画像データ以外のデータであ
るところのその1フレームの8個のパレットに対する図
12に示した色変換テーブルCOL(0) 〜COL(7)
と、図15に示したスクリーンテーブルscrとで構成
される。[Generation of Recording Data] The recording processing means 38 creates data to be recorded on a CD-ROM. That is, the data on the image of one frame described above is 2
Color conversion tables COL (0) to COL (COL) shown in FIG. 12 for the compressed image data relating to the pixels of each character in the bit mode and the 1-bit mode, and the eight palettes of one frame which are data other than the image data. 7)
And the screen table scr shown in FIG.
【0050】そして、この例の場合、記録する1フレー
ム分の圧縮画像データは、図17に示すように、その先
頭に、2ビットモードのキャラクタ数Nと1ビットモー
ドのキャラクタ数Mを示すモード数情報と、N個の2ビ
ットモードのキャラクタの圧縮画像データdat2(n)(n
=0,1,2…N-1)と、M個の1ビットモードのキャラクタの
圧縮画像データdat1(m)(m=0,1,2…M-1)とで構成され
る。単色キャラクタは、前述したように、スクリーンテ
ーブルscrにその色情報を登録しておくことにより、
画素のデータとしては記録しない。In the case of this example, the compressed image data for one frame to be recorded has, as shown in FIG. 17, a mode indicating the number of characters N in the 2-bit mode and the number M of characters in the 1-bit mode at the beginning. Number information and compressed image data dat2 (n) (n
= 0,1,2... N-1) and M pieces of compressed image data dat1 (m) (m = 0,1,2... M-1) of 1-bit mode characters. As described above, a single-color character has its color information registered in the screen table scr.
It is not recorded as pixel data.
【0051】そして、1キャラクタ分の情報は、図17
の下側に示すように、色番号テーブルの情報と、64画
素分のインデックス番号データからなる。図16に示し
たように、各画素に対応するインデックス番号データ
は、2ビットモードでは2ビット、1ビットモードでは
1ビットとなる。この場合、2ビットモードのキャラク
タ数Nと、1ビットモードのキャラクタ数Mとは画素の
内容に応じて変化するので、1フレーム分のキャラクタ
画素に関するデータのデータ長は可変である。The information for one character is shown in FIG.
As shown on the lower side of the figure, the information includes color number table information and index number data for 64 pixels. As shown in FIG. 16, the index number data corresponding to each pixel is 2 bits in the 2-bit mode and 1 bit in the 1-bit mode. In this case, since the number N of characters in the 2-bit mode and the number M of characters in the 1-bit mode change according to the content of the pixel, the data length of data for one frame of character pixels is variable.
【0052】この例では、各モードのキャラクタ数をモ
ード数情報として記録するようにしたが、このモード数
情報に代わって、2ビットモードの最後のキャラクタ
と、1ビットモードの最初のキャラクタとの間に、キャ
ラクタデータとしては生じないようなビットパターンの
モード区切り情報を記録するようにしてもよい。In this example, the number of characters in each mode is recorded as mode number information. Instead of this mode number information, the last character of the 2-bit mode and the first character of the 1-bit mode are recorded. In the meantime, mode delimiter information of a bit pattern that does not occur as character data may be recorded.
【0053】以上の記録データは、この例では1フレー
ムを1つの塊として処理するが、CD−ROMへのデー
タ記録態様は、CD−ROMのデータフォーマットに従
ったものであることは勿論である。In the above-described recording data, one frame is processed as one lump in this example, but the data recording mode on the CD-ROM naturally follows the data format of the CD-ROM. .
【0054】例えば、CD−ROMの記録モードがモー
ド1のときのセクタは、図18のようになっている。す
なわち、セクタの先頭にはシンク(同期)パターンが配
され、それに続いて、セクタ番号やトラック番号などを
含むヘッダが配される。そして、このヘッダの後が2K
バイトのユーザデータとされ、最後がユーザデータのエ
ラー検出用及びエラー訂正用符号などからなる補助デー
タとされる。For example, the sectors when the recording mode of the CD-ROM is mode 1 are as shown in FIG. That is, a sync (synchronization) pattern is arranged at the head of a sector, and a header including a sector number and a track number is arranged subsequently. And after this header is 2K
Bytes of user data are provided, and the last is auxiliary data including codes for error detection and error correction of the user data.
【0055】この例の場合、セクタのユーザデータの領
域に、前述した動画の画像データやその他のデータが記
録される。そして、この2Kバイトのユーザデータの始
めの32バイトは、識別用情報IDとされる。この識別
用情報IDは、各セクタのユーザデータの領域にどのよ
うな内容のデータが記録されているかを示すと共に、同
じ内容のデータが何セクタ続くかを示す情報を含む。こ
の識別用情報IDに、その他の情報を含むようにするこ
とができることはもちろんである。In the case of this example, the above-described moving image data and other data are recorded in the user data area of the sector. The first 32 bytes of the 2K-byte user data are used as identification information ID. The identification information ID indicates what data is recorded in the user data area of each sector, and includes information indicating how many sectors of the same data continue. Of course, other information can be included in the identification information ID.
【0056】この識別用情報IDが示すデータの内容と
しては、この例の場合、後述もするように、そのセクタ
のユーザデータが、1枚の動画の画像データ、色変
換テーブル及びスクリーンテーブルscrの情報、背
景の画像データ、前景の画像データ、その他の制御
データ、などが用意される。In the case of this example, the content of the data indicated by the identification information ID is, as described later, the user data of the sector is composed of image data of one moving image, a color conversion table, and a screen table scr. Information, background image data, foreground image data, other control data, and the like are prepared.
【0057】ところで、この例の場合、以上のようにし
て圧縮された動画に関するデータ量は、例えば1フレー
ム当たり、次のようにすることができる。By the way, in the case of this example, the data amount relating to the moving picture compressed as described above can be as follows, for example, per frame.
【0058】1フレーム当たり8パレットであるので、
色変換テーブルとしては、合計で、 16(色)×8(パレット)×2(バイト)=256
(バイト) となる。また、スクリーンテーブルscrは、1キャラ
クタ当たり2バイトであるから、 768×2(バイト)=1536(バイト) となる。Since there are 8 pallets per frame,
As a color conversion table, 16 (color) × 8 (palette) × 2 (byte) = 256 in total
(Bytes). Further, since the screen table scr has 2 bytes per character, 768 × 2 (bytes) = 1536 (bytes).
【0059】したがって、色変換テーブルとスクリーン
テーブルscrの合計のデータ量は、2Kバイト以下で
あり、1セクタ内に収まる。Therefore, the total data amount of the color conversion table and the screen table scr is 2 Kbytes or less and can be accommodated in one sector.
【0060】また、動画の画像データは、2ビットモー
ドのキャラクタにおいては、4ビットで表現される色番
号は4種類であるので、色番号テーブルは、 4(ビット)×4=16(ビット)=2(バイト) となる。また、インデックス番号データは2ビットであ
るので、 2(ビット)×64=128(ビット)=16(バイ
ト) となる。したがって、2ビットモードのキャラクタの1
キャラクタ当たりのデータ量は、18バイトとなる。Further, since the moving image data has four kinds of color numbers represented by 4 bits in the character of the 2-bit mode, the color number table is 4 (bits) × 4 = 16 (bits). = 2 (bytes). Since the index number data is 2 bits, 2 (bits) × 64 = 128 (bits) = 16 (bytes). Therefore, one of the two-bit mode characters
The data amount per character is 18 bytes.
【0061】また、1ビットモードのキャラクタは、色
番号は2色分でよいので、色番号テーブルは、 4(ビット)×2=8(ビット)=1(バイト) となる。また、インデックス番号データは1ビットであ
るので、 1(ビット)×64=64(ビット)=8(バイト) となる。したがって、1ビットモードのキャラクタの1
キャラクタ当たりのデータ量は、9バイトとなる。Since the color number of a character in the 1-bit mode may be two colors, the color number table is 4 (bits) × 2 = 8 (bits) = 1 (byte). Also, since the index number data is 1 bit, 1 (bit) × 64 = 64 (bit) = 8 (byte). Therefore, one of the 1-bit mode characters
The data amount per character is 9 bytes.
【0062】単色キャラクタについてはキャラクタの各
画素データは伝送しないので、1フレームの画像データ
の圧縮率は、1フレーム内の2ビットモード及び1ビッ
トモードのキャラクタの個数と、単色キャラクタの個数
の割合で定まる。例えば、 2ビットモード:1ビットモード:単色=3:3:2 =288:288:192 の場合、 キャラクタ画素データ 2ビットモード 288×18=5184バイト 1ビットモード 288× 9=2592バイト 合 計 7776バイト となり、8Kバイト以下であるので、4セクタ内に収ま
る。For monochromatic characters, each character
Since pixel data is not transmitted, one frame of image data
The compression ratio of 2 bits mode and 1 bit
The number of characters in single mode and the number of single color characters
Is determined by the ratio of For example, in the case of 2-bit mode: 1-bit mode: single color = 3: 3: 2 = 288: 288: 192, character pixel data 2-bit mode 288 × 18 = 5184 bytes1-bit mode 288 x 9 = 2592 bytes The total is 7776 bytes, which is less than 8K bytes, so it fits within 4 sectors.
You.
【0063】以上のことから、この例の場合、CD−R
OMには、図19に示すように、動画に関するデータ
は、1フレーム分毎に5セクタとして記録することがで
きる。すなわち、5セクタの内の始めの4セクタのユー
ザデータとして2ビットモード及び1ビットモードのキ
ャラクタデータ(モード数情報は最初のセクタに含まれ
る)を記録する。そして、図19で斜線を付して示す5
番目のセクタには、スクリーンテーブルscr及び色変
換テーブルのデータを記録する。From the above, in the case of this example, the CD-R
In the OM, as shown in FIG. 19, data relating to a moving image can be recorded as 5 sectors for each frame. That is, character data in the 2-bit mode and the 1-bit mode (mode number information is included in the first sector) are recorded as user data of the first 4 sectors out of 5 sectors. 19, which is indicated by hatching in FIG.
The data of the screen table scr and the color conversion table are recorded in the third sector.
【0064】そして、各セクタのユーザデータの領域の
32バイトの識別用情報IDとして、始めの4セクタの
ものには、動画の画像データであることを示す情報と、
それが続くセクタ数(1番目のセクタの場合には4であ
る)の情報が記録される。また、最後の5番目のセクタ
のものには、スクリーンテーブルscr及び色変換テー
ブルのデータであることを示す情報と、それが続くセク
タ数の情報(この場合、1である)が記録される。As the 32-byte identification information ID of the user data area of each sector, the first four sectors include information indicating that the data is moving image data,
Information on the number of sectors that follow (4 in the case of the first sector) is recorded. In the last fifth sector, information indicating that the data is data of the screen table scr and the color conversion table, and information of the number of sectors following the data (in this case, 1) are recorded.
【0065】こうして、1フレーム分の動画に関するデ
ータが5セクタ毎に繰り返し記録されるものである。こ
の例の場合、CD−ROMの伝送レートが150Kバイ
ト(75セクタ)/秒であることを考え合わせると、1
5フレーム(駒)/秒の動画を記録ないし再生できるこ
とになる。In this manner, data relating to a moving image for one frame is repeatedly recorded every five sectors. In the case of this example, considering that the transmission rate of the CD-ROM is 150 Kbytes (75 sectors) / sec, 1
A moving image of 5 frames (frames) / second can be recorded or reproduced.
【0066】なお、CD−ROMには、以上のような圧
縮画像情報のほかに、この圧縮画像情報をデコードする
ためのプログラムと、ゲーム用のプログラムが記録され
る。さらには、オーディオ情報も適宜記録される。デコ
ードのためのプログラムとしては、2ビットモード用の
デコードプログラムと、1ビットモード用のデコードプ
ログラムとが、それぞれ記録されている。また、キャラ
クタの並べ換えのプログラムも記録されている。It should be noted that, in addition to the above-described compressed image information, a program for decoding the compressed image information and a game program are recorded on the CD-ROM. Further, audio information is also appropriately recorded. As a decoding program, a 2-bit mode decoding program and a 1-bit mode decoding program are recorded. Also, a character rearranging program is recorded.
【0067】これらのプログラムデータは、上述したよ
うなデータとは、別個に記録され、デコーダ時、動画な
どの再生に先立ち、一括して読み出すことができるよう
にされている。なお、これらのプログラムデータも、上
記の例の動画の画像データ以外のデータとして、後述す
る静止画の記録方法と同様にして、5セクタ単位の動画
データの途中に記録するようにすることもできる。These program data are recorded separately from the above-described data, and can be read out at a time of decoding and prior to reproduction of a moving image or the like. These program data can also be recorded as data other than the image data of the moving image in the above example in the middle of the moving image data in 5-sector units in the same manner as the still image recording method described later. .
【0068】以上説明したデータ圧縮方法によれば、1
フレーム単位で、画像を階層的に小領域に分割し、各階
層の画像データに対してベクトル量子化を行うようにし
たので、画像データの圧縮率を上げることができる。According to the data compression method described above, 1
Since the image is hierarchically divided into small regions on a frame-by-frame basis and the vector data is subjected to the image data of each layer, the compression rate of the image data can be increased.
【0069】この場合に、似た色を持つキャラクタごと
にまとめられて1つのグループ(パレット)が形成さ
れ、それが1画面分について複数個形成されて、画像デ
ータがパレット(グループ)分割されている。そして、
この似た色の画像部分からなるパレット内でベクトル量
子化処理が行われるので、量子化誤差が少なくなる。In this case, one group (palette) is formed by grouping characters having similar colors, a plurality of groups are formed for one screen, and image data is divided into pallets (groups). I have. And
Since the vector quantization processing is performed in the palette including the image parts of similar colors, the quantization error is reduced.
【0070】また、デコード時、テーブルを参照するだ
けでデコード処理を行うことができるので、デコーダの
構成が簡単になる。さらに、大容量のバッファメモリを
必要としないので、内蔵RAMの容量が限定されている
汎用のDSPをデコーダとして使用することができ、デ
コーダをローコスト化することができる。Further, at the time of decoding, since the decoding process can be performed only by referring to the table, the configuration of the decoder is simplified. Further, since a large-capacity buffer memory is not required, a general-purpose DSP having a limited capacity of the built-in RAM can be used as a decoder, and the cost of the decoder can be reduced.
【0071】しかも、フレーム相関を利用しないで圧縮
処理を行っているので、デコード時にエラーを生じて
も、そのエラーは1フレーム内で完結し、以後のフレー
ムに影響することがない。Further, since the compression processing is performed without using the frame correlation, even if an error occurs during decoding, the error is completed within one frame and does not affect subsequent frames.
【0072】さらに、デコーダ回路をローコストに提供
できるとともに、記録媒体としてCD−ROMを使用で
きるので、コンピュータゲーム機のソフトに適用して効
果的である。Further, since the decoder circuit can be provided at low cost and a CD-ROM can be used as a recording medium, it is effective when applied to software of a computer game machine.
【0073】また、以上の例では、色が1色となるキャ
ラクタのデータについては、スクリーンテーブルscr
に登録して色データのみを伝送し、画素単位のデータは
伝送しないので、データ伝送路上のトラフィックを減少
させることができる。In the above example, the data of the character having one color is stored in the screen table scr.
, And only the color data is transmitted, and the data on a pixel-by-pixel basis is not transmitted, so that the traffic on the data transmission path can be reduced.
【0074】なお、以上の例では、ベクトル量子化手段
24におけるベクトル量子化は、各フレームでのS/N
が一定に保たれるように、全てのフレームで、キャラク
タ内での量子化誤差の最大値Emax が一定になるように
した。このため、フレームの情報量(画像内容の複雑
さ)に応じて、量子化後のデータサイズが変化する。In the above example, the vector quantization by the vector quantization means 24 is performed by S / N in each frame.
Is maintained constant in all frames so that the maximum value Emax of the quantization error in the character is kept constant. For this reason, the data size after quantization changes according to the information amount of a frame (complexity of image content).
【0075】しかし、各キャラクタについて次のように
量子化することにより、フレーム毎のデータ量(データ
伝送レート)を一定あるいはそれ以下にすることができ
る。However, by quantizing each character as follows, the data amount (data transmission rate) for each frame can be kept constant or less.
【0076】すなわち、先ず、キャラクタ内の近似する
色の画素同志をまとめる距離のスレッショールド値Eθ
の初期値を設定し、そのスレッショールド値により各キ
ャラクタについてベクトル量子化を行う。つまり、各キ
ャラクタ内の画像データについて、量子化誤差が前記E
θを越える直前までベクトル量子化を行う。この量子化
により、色の変化の大きいキャラクタでは4色になるよ
うにデータ圧縮される。また、色の変化の平坦なキャラ
クタでは、色数が減り、3色、2色あるいは1色になる
キャラクタも生じる。That is, first, a threshold value Eθ of a distance that brings together pixels of similar colors in a character.
Is set, and vector quantization is performed for each character based on the threshold value. That is, for the image data in each character, the quantization error
Vector quantization is performed until just before exceeding θ. By this quantization, data of a character having a large color change is subjected to data compression so as to have four colors. Further, in a character having a flat color change, the number of colors is reduced, and some characters become three colors, two colors or one color.
【0077】前記ベクトル量子化処理が1フレームの全
てのキャラクタについて終了したら、1フレーム内の全
てのキャラクタ内での量子化誤差の最大値Emax を計算
する。次に、1フレーム内の2ビットモードのキャラク
タ数Nと、1ビットモードのキャラクタ数Mと、単色キ
ャラクタ数Lを計数する。次に、これら数値N,M,L
から1フレーム当たりの画像データ量を計算する。この
画素データ量の計算は以下のようになる。When the vector quantization process is completed for all the characters in one frame, the maximum value Emax of the quantization error in all the characters in one frame is calculated. Next, the number N of characters in the 2-bit mode, the number M of characters in the 1-bit mode, and the number L of single-color characters in one frame are counted. Next, these numerical values N, M, L
To calculate the image data amount per frame. The calculation of this pixel data amount is as follows.
【0078】 1フレームのデータ量=N×18(バイト)+M×9(バイト)+L×0 この結果の1フレームのデータ量が予め定められた所定
値以下か否か、したがって圧縮率が所定の値になってい
るか否か判別し、データ量が未だ所定値以上であれば、
スレッショールド値Eθを前記量子化誤差の最大値Ema
x に設定し、以上のベクトル量子化処理を繰り返す。Data amount of one frame = N × 18 (bytes) + M × 9 (bytes) + L × 0 Whether or not the resulting data amount of one frame is equal to or smaller than a predetermined value, and therefore, the compression ratio is set to a predetermined value It is determined whether the data amount is equal to or smaller than a predetermined value.
The threshold value Eθ is set to the maximum value Ema of the quantization error.
Set to x and repeat the above vector quantization process.
【0079】以上のようにして、1フレーム当たりのデ
ータ量が所定データ量以下になるまで、スレッショール
ド値Eθを変更してベクトル量子化を繰り返す。このよ
うにした場合には、フレーム毎にS/Nは異なるが、伝
送データ量は一定になる。すなわち、後述する動画の場
合には、1秒当たりの駒(フレーム)数を一定にするこ
とができる。As described above, the vector quantization is repeated by changing the threshold value Eθ until the data amount per frame becomes equal to or less than the predetermined data amount. In such a case, the S / N differs for each frame, but the amount of transmission data is constant. That is, in the case of a moving image to be described later, the number of frames (frames) per second can be constant.
【0080】なお、パレット分割する際の処理単位は1
フレームでなく、複数フレームとして、3次元的にパレ
ット分割するようにしてもよい。The processing unit for dividing the pallet is 1
Instead of frames, a plurality of frames may be used to perform three-dimensional palette division.
【0081】[この発明の画像表示装置の一実施例とし
てのデコード装置の説明]次に、以上のようにして圧縮
されてCD−ROMに記録された画像データをデコード
する装置に、この発明を適用した場合の一例としてのゲ
ーム機の場合について説明する。[Description of Decoding Apparatus as One Embodiment of Image Display Apparatus of the Present Invention] Next, the present invention is applied to an apparatus for decoding image data compressed as described above and recorded on a CD-ROM. A case of a game machine as an example of the case where the present invention is applied will be described.
【0082】すなわち、図20は、この発明をマイクロ
コンピュータを使用したゲーム機に適用した場合の一例
を示し、1はそのゲーム機本体、4は副処理部、5はC
D−ROM、6はプログラムカートリッジ、7は音声デ
ータの主処理部である。FIG. 20 shows an example in which the present invention is applied to a game machine using a microcomputer, wherein 1 is the game machine body, 4 is a sub-processing section, and 5 is
A D-ROM, 6 is a program cartridge, and 7 is a main processing section for audio data.
【0083】ゲーム機本体1は、マイクロコンピュータ
により構成されているもので、11はそのCPU、12
はDMAC(DMAコントローラ)、13はワークエリ
ア用のRAM、14はPPU(ピクチャ・プロセシング
・ユニット)、15はビデオRAMである。The main body 1 of the game machine is constituted by a microcomputer.
Denotes a DMAC (DMA controller), 13 denotes a RAM for a work area, 14 denotes a PPU (Picture Processing Unit), and 15 denotes a video RAM.
【0084】そして、ゲーム機本体1は、第1及び第2
のシステムバス18及び19を備える2バス構成となっ
ている。この2個のシステムバスは、データバスは共通
であるが、アドレスバスが、第1のシステムバスと第2
のシステムバスで別個となっている。そして、DMAC
12により、これら第1及び第2のシステムバス18及
び19間でのみDMA転送が可能である。Then, the game machine main body 1 includes the first and second game machines.
2 bus configuration including the system buses 18 and 19 of FIG. The two system buses share a data bus, but have an address bus that is a first system bus and a second system bus.
System bus. And DMAC
12 allows DMA transfer only between the first and second system buses 18 and 19.
【0085】この場合、CPU11と第2のシステムバ
ス19との間はポート16を介して接続され、CPU1
1と第2のシステムバス19に接続されているデバイス
間は、ポート16を介してアクセスすることができる。In this case, the CPU 11 and the second system bus 19 are connected via the port 16 and the CPU 1
The device connected to the first and second system buses 19 can be accessed via the port 16.
【0086】第1のシステムバス18には、CPU1
1、DMAC12及びRAM13が接続される。また、
第2のシステムバス19には、DMAC12及びPPU
14が接続されるとともに、PPU14にビデオRAM
15及びCRTディスプレイ6が接続される。また、第
2のシステムバス19には、副処理部4と、音声データ
の主処理部7が接続されている。The first system bus 18 has a CPU 1
1, the DMAC 12 and the RAM 13 are connected. Also,
The DMAC 12 and the PPU are connected to the second system bus 19.
14 is connected and a video RAM is
15 and the CRT display 6 are connected. The sub-processing unit 4 and the main processing unit 7 for audio data are connected to the second system bus 19.
【0087】また、ビデオRAM15は、この例の場
合、例えば図21に示すように、複数例えば4個のメモ
リエリアM1〜M4に分割されている。この例の場合、
M1,M2及びM3は、それぞれ1枚の画像の再生のた
めのメモリエリア(メモリプレーン)とされる。これら
のメモリ領域M1〜M3は、それぞれ2フレーム分(2
画面分)の画面エリアを有し、その一方の画面エリアの
画像データが、PPU14によりCRTディスプレイ8
の垂直及び水平走査に同期して読み出され、ディスプレ
イ8により画像として表示されるとともに、この表示が
行われている間に、他方の画面エリアに次に表示される
画像の画像データが書き込まれる。In this case, the video RAM 15 is divided into a plurality of memory areas M1 to M4, for example, as shown in FIG. In this case,
Each of M1, M2 and M3 is a memory area (memory plane) for reproducing one image. Each of these memory areas M1 to M3 corresponds to two frames (2
Screen area), and image data of one of the screen areas is transferred to the CRT display 8 by the PPU 14.
Are read out in synchronization with the vertical and horizontal scanning of the image, and displayed as an image on the display 8, and while this display is being performed, the image data of the image to be displayed next is written in the other screen area. .
【0088】この例の場合、後述するように、メモリエ
リアM1は、1枚の動画の場合の画像用メモリエリアと
して使用されると共に、背景の画像用のメモリエリアと
して使用される。また、メモリエリアM2は、前景の画
像用のメモリエリアとして使用される。In this example, as will be described later, the memory area M1 is used as a memory area for an image in the case of one moving image and also as a memory area for a background image. The memory area M2 is used as a memory area for a foreground image.
【0089】また、メモリ領域M4は、PPU14のワ
ークエリアであり、スクリーンテーブルscrや色変換
テーブル、その他のデータのエリアとして使用される。The memory area M4 is a work area of the PPU 14, and is used as a screen table scr, a color conversion table, and other data areas.
【0090】さらに、ゲーム機本体1の音声データの主
処理部7において、71はそのAPU(オーディオ・プ
ロセシング・ユニット)、72はD/Aコンバータ、7
3は音声出力端子で、APU71が、バス19に接続さ
れるとともに、D/Aコンバータ72に接続される。そ
して、APU71に音声データ及びそのデコード用のプ
ログラムがロードされると、その音声データがデジタル
音声信号にデコードされ、このデジタル音声信号がコン
バータ72によりアナログ音声信号にD/A変換されて
から出力端子73に出力される。Further, in the audio data main processing section 7 of the game machine main body 1, reference numeral 71 denotes its APU (audio processing unit), reference numeral 72 denotes a D / A converter,
Reference numeral 3 denotes an audio output terminal. The APU 71 is connected to the bus 19 and connected to the D / A converter 72. When audio data and a decoding program for the audio data are loaded into the APU 71, the audio data is decoded into a digital audio signal, and the digital audio signal is D / A converted into an analog audio signal by the converter 72, and then output to the output terminal. 73 is output.
【0091】また、副処理部4は、CDプレーヤを有し
てCD−ROM5の使用を可能にするためのもので、4
1はそのCDプレーヤ、42はDSP、43はCD−R
OMデコーダ、44はそのワークエリア用のRAM、4
5はコントローラである。そして、CD−ROM5に
は、音声データ及び画像データが記録されているが、こ
れら音声データ及び画像データ、特に画像データは上述
した方法で画像データとしてデータ圧縮されて記録され
ている。The sub-processing unit 4 has a CD player to enable the use of the CD-ROM 5,
1 is the CD player, 42 is the DSP, 43 is the CD-R
OM decoder, 44 is RAM for the work area, 4
5 is a controller. The audio data and the image data are recorded on the CD-ROM 5, and the audio data and the image data, especially the image data, are recorded by being compressed as the image data by the above-described method.
【0092】DSP42は、プレーヤ41の再生信号に
対するエラー訂正を行うとともに、再生信号から画像デ
ータなどのユーザ用データと、トラック番号などの制御
データとを分離するためのものであり、コントローラ4
5は、そのDSP42からの制御データと、CPU11
からの指示データとに基づいてプレーヤ41を制御し、
目的とするデータを再生するためのものである。また、
デコーダ43は、プレーヤ41の再生信号がCD−RO
M5の再生信号のとき、そのCD−ROM用のエラー訂
正などの処理を行うためのものである。The DSP 42 corrects errors in the reproduction signal of the player 41 and separates user data such as image data and control data such as a track number from the reproduction signal.
5 is the control data from the DSP 42 and the CPU 11
Control the player 41 based on the instruction data from
This is for reproducing target data. Also,
The decoder 43 outputs the playback signal of the player 41 to a CD-RO
In the case of an M5 reproduction signal, this is for performing processing such as error correction for the CD-ROM.
【0093】さらに、副処理部4において、50はDS
Pで、これは汎用のDSPであるが、画像データの処理
を行うものである。なお、この副処理部4は、この例に
おいてはゲーム機本体1と一体化されているが、ゲーム
機本体1に対してアダプタ形式とされていてもよい。な
お、DSP50は、図示しないが、プログラムRAMと
バッファRAM(1つのRAMで構成できる)を備えて
いる。Further, in the sub-processing unit 4, 50 is DS
P, which is a general-purpose DSP, performs processing of image data. Although the sub-processing unit 4 is integrated with the game machine main body 1 in this example, it may be in the form of an adapter with respect to the game machine main body 1. Although not shown, the DSP 50 includes a program RAM and a buffer RAM (which can be constituted by one RAM).
【0094】また、プログラムカートリッジ6は、この
ゲーム機の使用時、ゲーム機本体1のスロット2に差し
込まれて使用されるものである。このプログラムカート
リッジ6は、CD−ROM5を使用しないときは、一般
的なゲームソフト用のものが差し込まれ、CD−ROM
5を使用するときは、専用のものが差し込まれる。The program cartridge 6 is used by being inserted into the slot 2 of the game machine body 1 when using the game machine. When the CD-ROM 5 is not used, the program cartridge 6 for general game software is inserted, and the program cartridge 6 is inserted into the CD-ROM 5.
When using 5, a special one is inserted.
【0095】そして、カートリッジ6は、ROM61
と、RAM62とを有し、CD−ROM5用のカートリ
ッジの場合には、そのROM61には、CD−ROM5
の記録データをゲーム機本体1が取り込んでゲームを実
行するためのいわゆる初期化処理のためのプログラムな
どが書き込まれている。また、RAM62は、例えばゲ
ームを途中で一時中断するとき、そのときの状態に関す
る各種のデータをゲームの再開まで保持するためなどに
使用されるものであり、電池63によりバックアップさ
れている。The cartridge 6 has the ROM 61
And a RAM 62, and in the case of a cartridge for a CD-ROM 5, the ROM 61 includes a CD-ROM 5
A program for a so-called initialization process for causing the game machine main body 1 to take in the recorded data and execute the game is written. The RAM 62 is used, for example, when temporarily interrupting the game in the middle of the game, for holding various data relating to the state at that time until the game is restarted, and is backed up by the battery 63.
【0096】そして、このカートリッジ6を、ゲーム機
本体1のスロット2に差し込むと、コネクタ(図示せ
ず)を通じてROM61及びRAM62はバス18に接
続される。When the cartridge 6 is inserted into the slot 2 of the game machine main body 1, the ROM 61 and the RAM 62 are connected to the bus 18 via a connector (not shown).
【0097】そして、カートリッジ6のROM61のプ
ログラムがCPU11により実行され、CD−ROM5
からのデータは、ゲーム機本体1のRAM13に取り込
まれ、各セクタのユーザデータ中の識別用情報IDに基
づいて各ユーザデータのデコード処理がなされる。これ
により、動画が表示される。Then, the program in the ROM 61 of the cartridge 6 is executed by the CPU 11 and the CD-ROM 5
Is taken into the RAM 13 of the game machine body 1, and the decoding process of each user data is performed based on the identification information ID in the user data of each sector. Thereby, a moving image is displayed.
【0098】すなわち、CDプレーヤ41によりCD−
ROM5からデータが再生されると、この再生データ
は、プレーヤ41からDSP42及びデコーダ43に順
に供給されてエラー訂正などの処理が行われ、そのエラ
ー訂正の行われたデータが、DMAC12によりデコー
ダ43からRAM13の第1のバッファエリアにDMA
転送される。That is, the CD-player 41
When the data is reproduced from the ROM 5, the reproduced data is sequentially supplied from the player 41 to the DSP 42 and the decoder 43 to perform processing such as error correction, and the error-corrected data is transmitted from the decoder 43 to the DMAC 12 by the DMAC 12. DMA in the first buffer area of the RAM 13
Will be transferred.
【0099】次に、このRAM13に取り込まれたデー
タの、各セクタの識別用情報IDがCPU11において
チェックされる。このチェック結果により、CPU11
は、各IDで示される内容の再生データに応じたデコー
ド処理の手順を実行する。Next, the CPU 11 checks the identification information ID of each sector of the data fetched into the RAM 13. According to the check result, the CPU 11
Executes a decoding procedure corresponding to the reproduction data of the content indicated by each ID.
【0100】なお、CD−ROM5からは、画像データ
などの再生に先立ち、前述したデコード処理のプログラ
ムやゲームのプログラムがRAM13取り込まれるもの
である。The decoding program and the game program described above are loaded into the RAM 13 from the CD-ROM 5 prior to reproduction of image data and the like.
【0101】[背景と前景とに分けない場合の動画の場
合のデコード処理]CPU11での識別用情報IDのチ
ェックの結果、セクタのユーザデータの内容が1枚の動
画の画像データであると判別されたときは、次のように
して、動画のデコード及び表示処理がなされる。[Decoding Process for Moving Image When Not Divided into Background and Foreground] As a result of checking the identification information ID in the CPU 11, it is determined that the contents of the user data in the sector are image data of one moving image. Then, the moving image is decoded and displayed in the following manner.
【0102】すなわち、1フレーム分の圧縮画像データ
が含まれる5セクタのデータに対して、次のようにして
デコード処理が行なわれる。この動画の画像データのデ
コード処理の手順は、基本的には次の3ステップからな
っている。That is, decoding processing is performed on data of five sectors including one frame of compressed image data as follows. The procedure for decoding the moving image data basically includes the following three steps.
【0103】A.各キャラクタについて、色番号テーブ
ルを参照して、2ビットあるいは1ビットのインデック
ス番号データを色変換テーブルCOL(j) の4ビットの
色番号のデータに変換する第1次のテーブル参照のステ
ップ B.各パレットのキャラクタの各画素について、そのパ
レットの色変換テーブルを参照して、A項でデコードし
た色番号のデータを実際の色データに変換する第2次の
テーブル参照のステップ C.ソートされているキャラクタの並び換えのステッ
プ、すなわち、スクリーンテーブルscrを参照してB
項でデコードした画素データを、元のキャラクタ位置に
並べ変えるステップ そして、このA項〜C項のステップうち、A項のステッ
プをDSP50が行い、B項及びC項のステップをPP
U14が行う。A. B. For each character, referring to the color number table, convert the 2-bit or 1-bit index number data into 4-bit color number data of the color conversion table COL (j). B. For each pixel of the character of each palette, refer to the color conversion table of the palette, and convert the color number data decoded in section A into actual color data. Step of rearranging the sorted characters, that is, B
Rearranging the pixel data decoded by the term to the original character position DSP 50 performs the step of the term A among the steps of the terms A to C, and the steps of the terms B and C
U14 does.
【0104】[1 A項のステップ]先ず、1フレーム
分の圧縮画像データが含まれる4セクタのユーザデータ
に対して、DSP50において、次のようにして色番号
のデータへのデコード処理を行ない、それをビデオRA
M15のメモリ領域M1に書き込むまでの手順について
説明する。すなわち、 (1) 2ビットモードのキャラクタをデコードするため
のプログラムが、RAM13からDSP50にロードさ
れる。[1A Step] First, the DSP 50 decodes the user data of four sectors including the compressed image data of one frame into the data of the color number as follows. Video RA
The procedure up to writing in the memory area M1 of M15 will be described. That is, (1) A program for decoding a 2-bit mode character is loaded from the RAM 13 to the DSP 50.
【0105】(2) RAM13の第1のバッファエリア
にDMA転送された画像データの2ビットモードのキャ
ラクタのデータのうち、その先頭から8キャラクタ分の
データが、DMAC12によりDSP50にDMA転送
される。(2) Of the character data in the 2-bit mode of the image data DMA-transferred to the first buffer area of the RAM 13, eight characters from the head thereof are DMA-transferred to the DSP 50 by the DMAC 12.
【0106】(3) DSP50において、(1) のプログ
ラムによりA項のステップが実行され、DMA転送され
てきたインデックス番号データは、色番号テーブルによ
り色番号のデータ(図16A)に変換される。この変換
により、8キャラクタ分のインデックス番号データ(=
18バイト×8個)は、4ビット×8画素×8画素(=25
6 バイト)の色番号のデータにデコードされる。(3) In the DSP 50, the step of item A is executed by the program of (1), and the index number data transferred by DMA is converted into color number data (FIG. 16A) by the color number table. By this conversion, the index number data (=
18 bytes x 8) is 4 bits x 8 pixels x 8 pixels (= 25
(6 bytes) color number data.
【0107】(4) このデコードされた色番号が、DM
AC12によりRAM13の第2のバッファエリアにD
MA転送される。(4) The decoded color number is
AC12 stores D in the second buffer area of RAM13.
MA transfer is performed.
【0108】(5) 以後、(2) 〜(4) の処理が繰り返さ
れ、2ビットモードのキャラクタのインデックス番号デ
ータのすべてが色番号にデコードされてRAM13の第
2のバッファエリアにDMA転送される。(5) Thereafter, the processing of (2) to (4) is repeated, and all the index number data of the character in the 2-bit mode are decoded into color numbers and DMA-transferred to the second buffer area of the RAM 13. You.
【0109】(6) RAM13の第2のバッファエリア
にDMA転送された2ビットモードのすべての色番号の
データが、CRTディスプレイ8の垂直ブランキング期
間に、DMAC12によりPPU14を通じてビデオR
AM15にDMA転送され、そのメモリ領域M1に書き
込まれる。(6) The data of all the color numbers of the 2-bit mode DMA-transferred to the second buffer area of the RAM 13 are transferred to the video R through the PPU 14 by the DMAC 12 during the vertical blanking period of the CRT display 8.
The data is DMA-transferred to the AM 15 and written to the memory area M1.
【0110】(7) (6) までの処理を終了すると、1ビ
ットモードのキャラクタをデコードするためのプログラ
ムが、RAM13からDSP50にロードされる。(7) When the processes up to (6) are completed, a program for decoding 1-bit mode characters is loaded from the RAM 13 to the DSP 50.
【0111】(8) RAM13の第1のバッファエリア
にDMA転送された画像データの1ビットモードのキャ
ラクタのデータのうち、その先頭から8キャラクタ分の
データが、DMAC12によりDSP50にDMA転送
される。(8) Of the 1-bit mode character data of the image data DMA-transferred to the first buffer area of the RAM 13, eight characters from the beginning of the data are DMA-transferred to the DSP 50 by the DMAC 12.
【0112】(9) DSP50において、(7) のプログ
ラムによりA項のステップが実行され、DMA転送され
てきたインデックス番号データは、色番号テーブルによ
り色番号のデータ(図16B)に変換される。この変換
により、8キャラクタ分のインデックス番号データ(=
9バイト×8個)は、4ビット×8画素×8画素(=25
6 バイト)の色番号のデータにデコードされる。(9) In the DSP 50, the step of item A is executed by the program of (7), and the index number data transferred by DMA is converted into color number data (FIG. 16B) by the color number table. By this conversion, the index number data (=
9 bytes x 8 pixels are 4 bits x 8 pixels x 8 pixels (= 25
(6 bytes) color number data.
【0113】(10) このデコードされた色番号が、DM
AC12によりRAM13の第2のバッファエリアにD
MA転送される。(10) The decoded color number is
AC12 stores D in the second buffer area of RAM13.
MA transfer is performed.
【0114】(11) 以後、(8) 〜(10)の処理が繰り返さ
れ、1ビットモードのキャラクタのインデックス番号デ
ータのすべてが色番号のデータにデコードされてRAM
13の第2のバッファエリアにDMA転送される。(11) Thereafter, the processes of (8) to (10) are repeated, and all of the index number data of the 1-bit mode character is decoded into color number data, and
13 is DMA-transferred to the second buffer area.
【0115】(12) RAM13の第2のバッファエリア
にDMA転送された1ビットモードのすべての色番号の
データが、CRTディスプレイ8の垂直ブランキング期
間に、DMAC12によりPPU14を通じてビデオR
AM15にDMA転送され、そのメモリ領域M1に書き
込まれる。(12) The data of all the color numbers in the 1-bit mode DMA-transferred to the second buffer area of the RAM 13 are transferred to the video R through the PPU 14 by the DMAC 12 during the vertical blanking period of the CRT display 8.
The data is DMA-transferred to the AM 15 and written to the memory area M1.
【0116】なお、(6) における2ビットモードの色番
号のDMA転送は、この(12)の直前((12)と(11)との
間)に行うこともできる。The DMA transfer of the 2-bit mode color number in (6) can be performed immediately before (12) (between (12) and (11)).
【0117】[2.B項及びC項のステップ](13) 前
記(12)までの処理を終了すると、1フレームの画像デー
タの5番目のセクタの処理にかかる。すなわち、CPU
11は、識別情報IDによりこの5番目のセクタは、ス
クリーンテーブルscr及び色変換テーブルのデータの
セクタであると検知する。そこで、CPU11は、RA
M13の第1のバッファエリアにDMA転送されていた
スクリーンテーブルscr及び色変換テーブルのデータ
を、DSP50を通じることなく、DMAC12により
PPU14を通じてビデオRAM15にDMA転送す
る。この場合、これらスクリーンテーブルscr及び色
変換テーブルのデータは、ビデオRAM15のメモリ領
域M4に書き込まれる。[2. Steps B and C] (13) When the processing up to the step (12) is completed, the fifth sector of the image data of one frame is processed. That is, CPU
Reference numeral 11 indicates that the fifth sector is a data sector of the screen table scr and the color conversion table based on the identification information ID. Therefore, the CPU 11
The data of the screen table scr and the color conversion table DMA-transferred to the first buffer area of M13 are DMA-transferred to the video RAM 15 through the PPU 14 by the DMAC 12 without passing through the DSP 50. In this case, the data of the screen table scr and the color conversion table are written in the memory area M4 of the video RAM 15.
【0118】(14) 以上の転送処理が行われと、PPU
14は、リアルタイムで前述したB項、C項のステップ
を実行する。すなわち、色変換テーブルCOL(j) を参
照することにより、(2) 〜(5) 、(8) 〜(11)により処理
されたメモリ領域M1の色番号のデータが、実際の色の
画素データにデコードされるとともに、スクリーンテー
ブルscrを参照することにより、各キャラクタの画素
データが、元のキャラクタ位置に対応したアドレスに書
き込まれる。(14) When the above transfer processing is performed, the PPU
14 executes the steps of the above-mentioned B and C terms in real time. That is, by referring to the color conversion table COL (j), the data of the color number of the memory area M1 processed by (2) to (5) and (8) to (11) is converted into the pixel data of the actual color. , And by referring to the screen table scr, the pixel data of each character is written to the address corresponding to the original character position.
【0119】(15) 以上により1フレーム分の画素デー
タがビデオRAM15のメモリ領域M1の一方の画面エ
リアに書き込まれると、ビデオRAM15の表示エリア
がその画面エリアに切り換えられ、その画素データの書
き込まれたエリアがアクティブとされ、その画面がディ
スプレイ8に表示される。(15) When one frame of pixel data is written to one screen area of the memory area M1 of the video RAM 15 as described above, the display area of the video RAM 15 is switched to that screen area, and the pixel data is written. The activated area is activated, and its screen is displayed on the display 8.
【0120】(16) 処理は(1) に戻り、以後、1フレー
ム単位で(1) 〜(16)の処理が繰り返される。(16) The process returns to (1), and thereafter, the processes of (1) to (16) are repeated for each frame.
【0121】こうして、CD−ROM5から再生された
画像データは、上述のようにRAM13と、DSP50
と、PPU14との間を、パイプライン処理的に処理さ
れながらビデオRAM15まで次々と送られる。したが
って、ディスプレイ8には、CD−ROM5の画像デー
タによる画像が動画として表示される。なお、この動画
表示は、上述のように15フレーム/秒の割り合いで行う
ことができる。The image data reproduced from the CD-ROM 5 is stored in the RAM 13 and the DSP 50 as described above.
And the PPU 14 are successively sent to the video RAM 15 while being processed in a pipeline processing. Therefore, an image based on the image data of the CD-ROM 5 is displayed on the display 8 as a moving image. This moving image display can be performed at a rate of 15 frames / second as described above.
【0122】以上説明したように、図の例によれば、す
べてのデータの流れをCPU11が管理することによ
り、CD−ROM5の画像データの読み出しと、CPU
11の処理との非同期をCPU11が吸収しているの
で、CD−ROM5からその画像データを連続して読み
出すことができる。しかも、そのための構成は図20か
らも明らかなように簡単である。As described above, according to the example shown in the figure, the CPU 11 manages all data flows, so that the reading of image data from the CD-ROM 5 and the CPU
Since the CPU 11 absorbs the asynchronism with the processing in step 11, the image data can be continuously read from the CD-ROM 5. Moreover, the configuration for this is simple as is clear from FIG.
【0123】また、データ圧縮されている動画の画像デ
ータに対しては、DSP50が第1次のデコードを行う
とともに、PPU14が第2次のデコードを行うように
しているので、DSP50として汎用のものを使用する
ことができ、コストを抑えることができる。The DSP 50 performs the primary decoding and the PPU 14 performs the secondary decoding on the image data of the moving image that has been subjected to the data compression. Can be used, and the cost can be reduced.
【0124】さらに、データ圧縮されている画像データ
のデコードを、DSP50及びPPU14により手分け
して行っているので、十分な速度で画像データをデコー
ドすることができ、十分に動きのある動画を表示するこ
とができる。Further, since the decoding of the image data which has been compressed is separately performed by the DSP 50 and the PPU 14, the image data can be decoded at a sufficient speed, and a moving image with a sufficient motion is displayed. be able to.
【0125】また、RAM13と、DSP50と、PP
U14との間のデータ転送は、DMAC12が行うの
で、CPU11の負荷にならない。さらに、DSP50
がデコードを行っている間は、CPU11は空いている
ので、その他データの処理の指示を行うことができる。Further, the RAM 13, the DSP 50, and the PP
Since the DMAC 12 transfers data to and from the U 14, it does not impose a load on the CPU 11. In addition, DSP50
During the decoding, the CPU 11 is idle, so that other data processing instructions can be given.
【0126】[背景と前景とに分けた場合の動画のエン
コード]次に、この発明による画像データの伝送方法に
用いるエンコード方法及びCD−ROMへの記録方法の
一例について説明する。以下に説明する例においては、
前述した15駒/秒のアニメーションを背景と前景との
合成画として表示できるようにしている。[Encoding of Moving Image When Divided into Background and Foreground] Next, an example of an encoding method used in a method of transmitting image data according to the present invention and a recording method on a CD-ROM will be described. In the example described below,
The above-described animation of 15 frames / second can be displayed as a composite image of the background and the foreground.
【0127】図1及び図2は、この例の場合の画像デー
タの流れ及びエンコード処理の流れを説明するための機
能ブロック図である。これは、コンピュータ処理する場
合には、その処理のフローチャートに対応する。FIGS. 1 and 2 are functional block diagrams for explaining the flow of image data and the flow of encoding processing in this example. This corresponds to a flowchart of the processing in the case of performing the computer processing.
【0128】この例では、ユーザの対応に応じて切り換
えて表示すべき画像の例として、図3Aに示すように、
敵機の飛行パターン96の画像VAと、その爆発パター
ン97の画像VBとを例にとる。この場合、図から明ら
かなように、動画であるので、(n−1)番目のフレー
ム、n番目のフレーム、n+1番目のフレームのそれぞ
れにおいて、画像VA及びVB中のパターン96及び9
7の大きさは異なっており、しかもパターン96とパタ
ーン97とはその大きさが対応したものとなっている。In this example, as an example of an image to be switched and displayed according to the correspondence of the user, as shown in FIG. 3A,
An image VA of the flight pattern 96 of the enemy aircraft and an image VB of the explosion pattern 97 will be taken as an example. In this case, as is clear from the figure, since the image is a moving image, the patterns 96 and 9 in the images VA and VB are respectively displayed in the (n-1) th frame, the nth frame, and the (n + 1) th frame.
7 are different in size, and the size of the pattern 96 and that of the pattern 97 correspond to each other.
【0129】このような画像VAとVBとを用意すれ
ば、画像VAを表示しているときに例えばn−1番目の
フレームでユーザによる攻撃が成功したときには、n−
1番目のフレームの画像VBに切り換えるようにすれ
ば、自然な感じの画像が得られ、対話性に優れた画像が
得られる。When such images VA and VB are prepared, when the image VA is displayed, for example, when a user's attack succeeds in the (n-1) th frame, n-
By switching to the image VB of the first frame, an image having a natural feeling can be obtained, and an image having excellent interactivity can be obtained.
【0130】この発明においては、前記のような2つの
画像VA及びVBを再生時に得るために、動画の原画像
を背景の画像と、前景の画像とに分ける。すなわち、こ
の例の場合、図4に示すように、原画像VAは、背景の
画像BGと、この背景の画像BGを除いた飛行パターン
96のみからなる前景の画像Vaとに分け、原画像VB
は、同じ背景の画像BGと、この背景の画像BGを除い
た爆発パターン97のみからなる前景の画像Vbとに分
ける。In the present invention, in order to obtain the two images VA and VB at the time of reproduction, the original image of the moving image is divided into a background image and a foreground image. That is, in this example, as shown in FIG. 4, the original image VA is divided into a background image BG and a foreground image Va consisting of only the flight pattern 96 excluding the background image BG, and the original image VB
Is divided into an image BG of the same background and an image Vb of the foreground consisting of only the explosion pattern 97 excluding the image BG of the background.
【0131】そこで、この例のエンコード処理において
は、図3に示すような2つの原画像VA,VBと、その
背景の画像BGとが用意される。そして、図1におい
て、原画像VA及びVBは、前景切り出し手段101A
及び101Bに供給されると共に、背景の画像BGがこ
れら前景切り出し手段101A及び101Bに供給され
る。そして、これら前景切り出し手段101A及び10
1Bでは、それぞれ原画像VA,VBと背景の画像BG
との差分が求められて、図4に示したような前景の画像
Va及びVbが得られる。In the encoding process of this example, two original images VA and VB as shown in FIG. 3 and an image BG of the background are prepared. In FIG. 1, the original images VA and VB are foreground clipping means 101A.
And 101B, and the background image BG is supplied to the foreground clipping means 101A and 101B. These foreground clipping means 101A and 10A
1B, the original images VA and VB and the background image BG
Is obtained, and foreground images Va and Vb as shown in FIG. 4 are obtained.
【0132】これら前景の画像Va及びVbは、それぞ
れエンコード手段200A及び200Bに供給されて、
データ圧縮された後、記録のためにパッキング手段10
2において、後述するようにパッキングされる。These foreground images Va and Vb are supplied to encoding means 200A and 200B, respectively.
After the data is compressed, the packing means 10 is used for recording.
At 2, packing is performed as described below.
【0133】図2は、エンコード手段200A及び20
0Bの具体構成の一例で、前景切り出し手段101A及
び101Bからの前景の画像データVa及びVbは、そ
れぞれキャラクタ切り出し手段201A及び201Bに
供給される。この場合、エンコード手段200A及び2
00Bは、まったく同様の構成を有する。FIG. 2 shows encoding means 200A and 200A.
In an example of a specific configuration of 0B, foreground image data Va and Vb from foreground clipping units 101A and 101B are supplied to character clipping units 201A and 201B, respectively. In this case, the encoding means 200A and 200A
00B has exactly the same configuration.
【0134】ところで、一般に、前景の画像Va及びV
b中における飛行パターン96や爆発パターン97など
のパターン画像が画面中に占める領域は少なく、しか
も、この例の場合、背景画を別途伝送するので、前景の
画像Va及びVbの1画面分のすべて伝送する必要はな
い。In general, foreground images Va and V
b, the area occupied by the pattern images such as the flight pattern 96 and the explosion pattern 97 on the screen is small, and in this example, since the background image is transmitted separately, all of the foreground images Va and Vb for one screen are included. There is no need to transmit.
【0135】そこで、この例においては、このキャラク
タ切り出し手段201A及び201Bでは、先ず、例え
ば図5Aに示すように、それぞれ飛行パターン96及び
爆発パターン97を含む矩形枠領域SPFLが設定さ
れ、その領域SPFLの画像データが抽出される。次
に、前述と同様に、その矩形枠領域SPFLの画像が8
ドット×8ドットの大きさのキャラクタに分割される。
矩形枠領域SPFLの大きさは、例えばキャラクタの整
数個分の大きさとされる。Therefore, in this example, the character cutout means 201A and 201B first set a rectangular frame area SPFL including a flight pattern 96 and an explosion pattern 97, respectively, as shown in FIG. 5A, for example. Is extracted. Next, as described above, the image of the rectangular frame area SPFL is
It is divided into characters of dot size × 8 dots.
The size of the rectangular frame area SPFL is, for example, the size of an integer number of characters.
【0136】次に、キャラクタ切り出し手段201A及
び201Bにおいては、図5Bに示すように、矩形枠領
域SPFL内のキャラクタのうちの目的の飛行パターン
の画像成分あるいは爆発パターンの画像成分が含まれて
いるキャラクタのみが出力キャラクタとして抽出され
る。例えば、図5の場合のような飛行パターンであれ
ば、図5Bに示すように、キャラクタA1〜A16のみ
がキャラクタ切り出し手段201Aの出力データとして
抽出される。Next, in the character cutout means 201A and 201B, as shown in FIG. 5B, the image component of the target flight pattern or the image component of the explosion pattern among the characters in the rectangular frame area SPFL is included. Only characters are extracted as output characters. For example, in the case of the flight pattern as shown in FIG. 5, only the characters A1 to A16 are extracted as output data of the character extracting means 201A as shown in FIG. 5B.
【0137】次に、キャラクタ切り出し手段201A及
び201Bの出力データは、前景の画像データ及び位置
データ生成手段202A及び202Bにそれぞれ供給さ
れる。そして、これら生成手段202A,202Bにお
いて、前景の画像Va及びVbの矩形枠領域SPFL
の、表示画面中での位置データとして、例えば図5A及
びBに示すように、各画像Va及びVbの矩形枠領域の
左上隅の画面中の水平方向(X方向)及び垂直方向(Y
方向)の座標データ(XA ,YA ),(XB ,YB )が
求められる。この場合、この座標データは、例えば表示
画面の左上隅が原点(0,0)とされ、そして、各座標
値は、この原点からのX方向及びY方向の距離を例えば
ドット数単位の値で表現したものとされる。Next, the output data of the character extracting means 201A and 201B are supplied to the foreground image data and position data generating means 202A and 202B, respectively. Then, in these generating means 202A and 202B, the rectangular frame area SPFL of the foreground images Va and Vb
As position data in the display screen, for example, as shown in FIGS. 5A and 5B, the horizontal direction (X direction) and the vertical direction (Y direction) of the upper left corner of the rectangular frame area of each of the images Va and Vb are displayed.
Direction) (XA, YA) and (XB, YB). In this case, the coordinate data is, for example, the origin (0, 0) at the upper left corner of the display screen, and each coordinate value represents the distance in the X and Y directions from this origin in, for example, a value in units of dots. It is expressed.
【0138】また、生成手段202A,202Bにおい
ては、前景の画像Va,Vbの奥行き方向(Z方向)の
座標データZA ,ZB が定められる。この奥行き方向の
座標データZA ,ZB は、例えば深さとして定められ
る。例えば、図3の例の原画中の画像パターンであれ
ば、パターンの大きさが小さいほど奥の方にあると考え
られるので座標値Zは大きく、パターンの大きさが大き
くなると座標値Zは小さく定められる。In the generating means 202A and 202B, coordinate data ZA and ZB in the depth direction (Z direction) of the foreground images Va and Vb are determined. The coordinate data ZA and ZB in the depth direction are determined, for example, as depth. For example, in the case of the image pattern in the original image in the example of FIG. 3, the smaller the size of the pattern is, the deeper it is considered, the larger the coordinate value Z is. Determined.
【0139】そして、生成手段202A,202Bで
は、以上求めたデータに基づいて図5Cに示すような前
景の画像Va,Vbの位置データDFa及びDFbを生
成する。この場合、例えば位置データDFaは、前景の
画像Vaの識別データID(図の例では「0」)と、こ
の前景の画像Vaの画面中の基準位置の座標データ(X
A ,YA )と、この前景の画像VaのZ方向の座標デー
タZA と、この前景の画像Vaとして切り出されたキャ
ラクタ数のデータであるサイズ(=4)からなる。ま
た、位置データDFbは、前景の画像Vbの識別データ
ID(図の例では「1」)と、この前景の画像Vbの表
示画面中の基準位置の座標データ(XB ,YB )と、こ
の前景の画像VbのZ方向の座標データZB と、この前
景の画像Vbとして切り出されたキャラクタ数のデータ
であるサイズ(=7)からなる。The generating means 202A and 202B generate the position data DFa and DFb of the foreground images Va and Vb as shown in FIG. 5C based on the data obtained as described above. In this case, for example, the position data DFa includes the identification data ID of the foreground image Va (“0” in the illustrated example) and the coordinate data (X of the reference position on the screen of the foreground image Va).
A, YA), the Z direction coordinate data ZA of the foreground image Va, and the size (= 4) which is data of the number of characters cut out as the foreground image Va. The position data DFb includes identification data ID (“1” in the example in the figure) of the foreground image Vb, coordinate data (XB, YB) of the reference position on the display screen of the foreground image Vb, and the foreground image Vb. And the size (= 7) which is data of the number of characters cut out as the foreground image Vb.
【0140】そして、前景の画像データ及び位置データ
生成手段202Aからは、前記切り出されたキャラクタ
のデータSCaと、前記位置データDFaとが得られ
る。また、前景の画像データ及び位置生成手段202B
からは、前記切り出されたキャラクタのデータSCb
と、前記位置データDFbとが得られる。Then, from the foreground image data and position data generating means 202A, the cut-out character data SCa and the position data DFa are obtained. Also, foreground image data and position generation means 202B
From the character data SCb of the extracted character.
And the position data DFb.
【0141】そして、これらの前景の画像Va,Vbの
キャラクタ単位のデータSCa,SCb及び位置データ
DFa,DFbが、それぞれデータ圧縮手段203A,
203Bに供給される。The data SCa and SCb in character units and the position data DFa and DFb of these foreground images Va and Vb are respectively converted into data compression means 203A,
203B.
【0142】これらデータ圧縮手段203A,203B
では、前景の画像Va,Vbのキャラクタ単位のデータ
SCa,SCbに対して、前述したのと同様にしてベク
トル量子化を用いた圧縮処理がなされる。ただし、この
例の場合、前景の画像データSCa,SCbが例えば図
6Aに示すようなキャラクタで構成されているとした場
合、各キャラクタA0〜A3,B0〜B6は、例えば2
ビットモードのデータにまで圧縮される。The data compression means 203A, 203B
Then, compression processing using vector quantization is performed on the data SCa, SCb in character units of the foreground images Va, Vb in the same manner as described above. However, in the case of this example, assuming that the foreground image data SCa, SCb is composed of, for example, characters as shown in FIG. 6A, each of the characters A0 to A3, B0 to B6 is, for example, 2 characters.
It is compressed to bit mode data.
【0143】データ圧縮された各前景の画像Va,Vb
のデータは、それぞれソート及び座標テーブル生成手段
204A,204Bに供給される。この生成手段204
A,204Bでは、各キャラクタA0〜A3,B0〜B
6の圧縮データを、図6Bに示すように、順次先詰めし
てソートを行い、それぞれソートデータOBCa,OB
Cbを得る。Data compressed foreground images Va and Vb
Are supplied to sorting and coordinate table generating means 204A and 204B, respectively. This generating means 204
A, 204B, each character A0-A3, B0-B
As shown in FIG. 6B, the compressed data of No. 6 is sequentially shifted to the left and sorted, and sorted data OBCa, OB
Obtain Cb.
【0144】生成手段204A,204Bでは、また、
各前景の画像Va,Vbの基準位置の座標(XA ,YA
),(XB ,YB )を、それぞれ原点(0,0)とし
たときの、各キャラクタA0〜A3,B0〜B6のX座
標テーブルOBXa,OBXbと、各キャラクタA0〜
A3,B0〜B6のY座標テーブルOBYa,OBYb
とを図6Bに示すように形成する。この場合、各座標値
は、前述と同様に、原点からのドット数で表現されるも
のである。In the generating means 204A and 204B,
The coordinates (XA, YA) of the reference position of each foreground image Va, Vb
), (XB, YB) are set to the origin (0, 0), respectively, and the X coordinate tables OBXa, OBXb of the characters A0 to A3, B0 to B6, and the characters A0 to A6
Y coordinate tables OBYa, OBYb of A3, B0 to B6
Are formed as shown in FIG. 6B. In this case, each coordinate value is represented by the number of dots from the origin, as described above.
【0145】これらのソートデータOBCa,OBCb
と、X座標テーブルOBXa,OBXbと、Y座標テー
ブルOBYa,OBYbとは、パッキング手段102に
供給される。このパッキング手段102では、図6Cに
示すように、2種の前景の画像Va,Vbの各キャラク
タA0〜A3,B0〜B6の画像データが順次ソートさ
れた画像データOBJPと、2種の前景の画像Va,V
bの各キャラクタA0〜A3,B0〜B6のX座標テー
ブルOBXa,OBXbを順次ソートしたX座標テーブ
ルOBJ(x)と、2種の前景の画像Va,Vbの各キ
ャラクタA0〜A3,B0〜B6のY座標テーブルOB
Ya,OBYbを順次ソートしたY座標テーブルOBJ
(y)とを形成する。The sort data OBCa, OBCb
And the X coordinate tables OBXa and OBXb and the Y coordinate tables OBYa and OBYb are supplied to the packing means 102. In this packing means 102, as shown in FIG. 6C, image data OBJP obtained by sequentially sorting the image data of the characters A0 to A3 and B0 to B6 of the two foreground images Va and Vb, and the two foreground images Va and Vb. Images Va, V
The X coordinate table OBJ (x) in which the X coordinate tables OBXa and OBXb of the respective characters A0 to A3 and B0 to B6 are sequentially sorted, and the characters A0 to A3 and B0 to B6 of the two foreground images Va and Vb Y coordinate table OB
Y coordinate table OBJ in which Ya and OBYb are sequentially sorted
(Y).
【0146】これら画像データOBJPと、X座標テー
ブルOBJ(x)と、Y座標テーブルOBJ(y)と
は、図1に示すように、記録データ生成手段103に供
給される。なお、前景の画像データ及び位置データ生成
手段202A,202Bからの基準位置のデータDF
a,DFbが、パッキング手段102に供給されてお
り、これらの基準位置データDFa,DFbも記録デー
タ生成手段103に供給されるものである。The image data OBJP, the X coordinate table OBJ (x), and the Y coordinate table OBJ (y) are supplied to the recording data generating means 103 as shown in FIG. Note that the foreground image data and the reference position data DF from the position data generation means 202A and 202B are provided.
a and DFb are supplied to the packing means 102, and these reference position data DFa and DFb are also supplied to the recording data generating means 103.
【0147】また、背景の画像BGは、スイッチ回路1
04の一方の入力端子aに供給される。このスイッチ回
路104は、切り換え信号SWにより入力端子aとbと
に、1フレーム毎に交互に切り換えられる。このスイッ
チ回路104の他方の入力端子bは無信号入力とされ
る。したがって、このスイッチ回路104からは、背景
の画像BGの2フレームに1フレームのみ、例えば奇数
フレームの画像のみが得られる。The background image BG is the switch circuit 1
04 is supplied to one input terminal a. The switch circuit 104 is alternately switched to the input terminals a and b for each frame by a switching signal SW. The other input terminal b of the switch circuit 104 is a non-signal input. Therefore, from the switch circuit 104, only one frame, for example, an odd frame image is obtained for every two frames of the background image BG.
【0148】このスイッチ回路104からの背景の画像
BGの奇数フレームの画像データは、エンコード手段1
05に供給されて、前述したような2段階のベクトル量
子化による圧縮処理がなされ、2ビットモード及び1ビ
ットモードのキャラクタデータ、スクリーンテーブルs
crのデータ及び色変換テーブルCOL(j) からなる画
像データが形成される。The odd frame image data of the background image BG from the switch circuit 104 is
The compression processing is performed by the two-stage vector quantization as described above, and the 2-bit mode and 1-bit mode character data, the screen table s
Image data composed of the data of cr and the color conversion table COL (j) is formed.
【0149】そして、このエンコード手段105からの
背景の画像データは、2分割回路106に供給される。
この2分割回路106では、1フレーム分の背景の画像
データ(スクリーンテーブルscr及び色変換テーブル
を含む)が1/2に分割される。そして、各1/2のデ
ータが、それぞれスイッチ回路107の一方及び他方の
入力端子a及びbに供給される。このスイッチ回路10
7は、切り換え信号SWによりスイッチ回路104と同
期して切り換えられ、このスイッチ回路107からは、
例えば奇数フレームの期間には背景の画像データの1フ
レームの前半の1/2のデータが、偶数フレームの期間
には背景の画像データの1フレームの後半の1/2のデ
ータが、それぞれ得られる。このスイッチ回路104出
力は、記録データ生成手段103に供給される。The background image data from the encoding means 105 is supplied to a two-way dividing circuit 106.
In the two-division circuit 106, one frame of the background image data (including the screen table scr and the color conversion table) is divided into half. Then, each half of the data is supplied to one and the other input terminals a and b of the switch circuit 107, respectively. This switch circuit 10
7 is switched in synchronization with the switch circuit 104 by the switching signal SW.
For example, during the odd frame period, the first half of one frame of the background image data is obtained, and during the even frame period, the second half of the one frame of the background image data is obtained. . The output of the switch circuit 104 is supplied to the recording data generation unit 103.
【0150】なお、色変換テーブルは、背景画と前景の
画像とで使用する色数を8(パレット)×16(色)=
128とすれば、共通に使用できる。すなわち、キャラ
クタデータの色番号テーブルのデータとしてその共通の
色変換テーブルに対する色番号を登録するようにすれば
良いからである。The color conversion table indicates that the number of colors used in the background image and the foreground image is 8 (palette) × 16 (color) =
If it is 128, it can be used in common. That is, a color number for the common color conversion table may be registered as data of the color number table of the character data.
【0151】そして、記録データ生成手段103では、
CD−ROMの5セクタとして記録するデータとして、
1フレームの背景の画像BGの1/2のデータと、2種
の前景の画像Va,Vbの1フレーム分のデータからな
る記録データを生成する。Then, the recording data generating means 103
As data to be recorded as five sectors of a CD-ROM,
Print data is generated that is composed of half the data of the background image BG of one frame and the data of one frame of the two types of foreground images Va and Vb.
【0152】すなわち、図7に記録データの一例を示す
が、図の例の場合、奇数フレームの5セクタにおいて
は、そのうちの初めの2セクタの途中までに、背景の画
像BGの1フレームの前半の1/2のデータが配され、
その後の4セクタまでに、2種の前景の画像Va,Vb
のデータが配され、その後に制御データが配される。こ
の制御データとしては、背景の画像BGの各キャラクタ
のZ座標のテーブルと、前述した前景の画像Va,Vb
の位置データDFa,DFbとが配される。That is, FIG. 7 shows an example of recording data. In the case of the example shown in FIG. 7, in the five sectors of the odd-numbered frame, the first half of one frame of the background image BG is reached by the middle of the first two sectors. 1/2 of the data is arranged,
By the following four sectors, two kinds of foreground images Va and Vb
, And then control data. The control data includes a table of the Z coordinate of each character of the background image BG and the foreground images Va and Vb described above.
Are disposed.
【0153】また、偶数フレームの5セクタにおいて
は、そのうちの初めの2セクタの途中までに、背景の画
像BGの1フレームの後半の1/2のデータが配され
る。その他は、奇数フレームの5セクタと同様である。In the five sectors of the even-numbered frame, half the data of the latter half of one frame of the background image BG is arranged halfway through the first two sectors. Others are the same as the five sectors of the odd frame.
【0154】なお、この例の場合、背景の画像BGの各
キャラクタのZ座標テーブルは、1フレーム分が分割さ
れて、奇数フレームの5セクタの最後のセクタと偶数フ
レームの5セクタの最後のセクタとに分けられて配され
る。データ配列の方法によっては、例えば偶数フレーム
にのみ、1フレーム分のZ座標テーブルを配するように
してももちろんよい。In the case of this example, the Z coordinate table of each character of the background image BG is divided into one frame, and the last sector of the five sectors of the odd frame and the last sector of the five sectors of the even frame are divided. It is divided and distributed. Depending on the data arrangement method, for example, a Z-coordinate table for one frame may be arranged only in even-numbered frames.
【0155】以上のようなデータ構成であるので、図7
において、各セクタの32バイトの識別用情報IDとし
ては、次のような情報が含まれる。すなわち、奇数フレ
ームの画像に対応する5セクタのうちの初めの1セクタ
の識別用情報IDには、動画の背景の画像データの1フ
レームの前半のデータあることを示す情報が含まれ、偶
数フレームに対応する5セクタの内の初めの1セクタの
識別用情報IDには、動画の背景の画像データの1フレ
ームの後半のデータ(スクリーンテーブルscr及び色
変換テーブルを含む)であることを示す情報が含まれ
る。Since the data structure is as described above, FIG.
, The 32-byte identification information ID of each sector includes the following information. That is, the identification information ID of the first one of the five sectors corresponding to the image of the odd-numbered frame includes information indicating that there is data in the first half of one frame of the background image data of the moving image, and the even-numbered frame. In the identification information ID of the first one of the five sectors corresponding to the first and second sectors, information indicating that the data is the latter half of one frame of the background image data of the moving image (including the screen table scr and the color conversion table). Is included.
【0156】そして、奇数フレーム及び偶数フレームに
対応する5セクタの2番目のセクタの識別用情報IDに
は、背景及び前景の画像のセクタであることを示す情報
が含まれ、3番目及び4番目のセクタの識別用情報ID
には、前景の画像のデータのセクタであることを示す情
報が含まれ、5番目のセクタの識別用情報IDには、制
御データであることを示す情報が含まれる。The identification information ID of the second sector of the five sectors corresponding to the odd frame and the even frame includes information indicating the background and foreground image sectors. Information ID for identification of sector
Contains information indicating that the data is a sector of the data of the foreground image, and the identification information ID of the fifth sector includes information indicating that the data is control data.
【0157】背景の1フレームのデータの1/2の奇数
フレーム及び偶数フレームのデータの先頭には、それぞ
れその2ビットモードのキャラクタデータ数N1,N2
及び1ビットモードのキャラクタデータ数M1,M2が
記録されている。この場合、奇数フレームの背景データ
に2ビットモードのキャラクタと1ビットモードのキャ
ラクタが含まれている場合には、これと対になる偶数フ
レームの背景データには1ビットモードのキャラクタデ
ータしかない。また、偶数フレームの背景データに2ビ
ットモードのキャラクタと1ビットモードのキャラクタ
が含まれている場合には、これと対になる奇数フレーム
の背景データには2ビットモードのキャラクタデータし
かない。At the beginning of the data of the odd-numbered frame and the even-numbered frame which are 1 / of the data of the background one frame, the number of character data N1 and N2 in the 2-bit mode are respectively set
And the number of character data M1 and M2 in the 1-bit mode are recorded. In this case, when the background data of the odd-numbered frame includes the character of the 2-bit mode and the character of the 1-bit mode, the background data of the even-numbered frame that is paired with the character has only the character data of the 1-bit mode. When the background data of the even-numbered frame includes a character of the 2-bit mode and a character of the 1-bit mode, the background data of the odd-numbered frame corresponding thereto includes only the character data of the 2-bit mode.
【0158】上記のキャラクタデータ数の情報から背景
の画像データの2ビットモードと1ビットモードのキャ
ラクタの境目、キャラクタデータとスクリーンテーブル
scrあるいは色変換テーブルのデータとの境目が判別
できる。The boundary between the 2-bit mode and 1-bit mode characters of the background image data and the boundary between the character data and the data in the screen table scr or the color conversion table can be determined from the information on the number of character data.
【0159】また、前景の画像Va,Vbのデータは、
図7に示すように、前述した画像データOBJPと、X
座標テーブルOBJ(x)及びY座標テーブルOBJ
(y)と、この例の場合には画像Va及びVbについて
の色変換テーブルとを含む。そして、図7の例において
は、X座標テーブルOBJ(x)及びY座標テーブルO
BJ(y)は、各前景の画像Va,VbのX座標テーブ
ルとY座標テーブルとを対として記録するようにしてい
る。この場合、前景の画像のデータにおいても、画像デ
ータOBJPに含まれるキャラクタ数の情報が例えばそ
の先頭に挿入される。The data of the foreground images Va and Vb are
As shown in FIG. 7, the aforementioned image data OBJP and X
Coordinate table OBJ (x) and Y coordinate table OBJ
(Y) and, in this case, a color conversion table for the images Va and Vb. In the example of FIG. 7, the X coordinate table OBJ (x) and the Y coordinate table O
BJ (y) records an X coordinate table and a Y coordinate table of each of the foreground images Va and Vb as a pair. In this case, also in the data of the foreground image, information on the number of characters included in the image data OBJP is inserted, for example, at the beginning.
【0160】なお、背景の画像BGの画像データのキャ
ラクタ数及び前景の画像Va,Vbの画像データOBJ
Pのキャラクタ数を記録する代わりに、背景画と前景の
画像との境目に、それを示すフラグを挿入すると共に、
前景の画像と座標データとの間及びスクリーンテーブル
scrとの境目にそれを示すフラグを挿入するようにし
ても良い。The number of characters in the image data of the background image BG and the image data OBJ of the foreground images Va and Vb
Instead of recording the number of characters of P, a flag indicating that is inserted between the background image and the foreground image,
A flag indicating this may be inserted between the foreground image and the coordinate data and at the boundary between the screen table scr.
【0161】以上のようにして、5セクタ分を単位記録
データ量として背景の画像データと、複数の前景の画像
のデータとからなる記録データが、CD−ROMに、5
セクタ毎に繰り返し記録される。ただし、背景の画像B
Gのデータは、10セクタ毎に1フレーム分のデータの
伝送がなされることになる。As described above, the recording data composed of the background image data and the data of the plurality of foreground images is stored in the CD-ROM as the unit recording data amount of five sectors.
It is recorded repeatedly for each sector. However, the background image B
For G data, data for one frame is transmitted every 10 sectors.
【0162】したがって、このCD−ROMを前述と同
様にして再生し、その再生データをデコードすれば、
7.5駒/秒の動画の背景画中に、15駒/秒の前景の
動画が表示されるものである。したがって、背景の画像
BGのデータは、駒落としの状態になるが、背景は一般
に前景に比べて見る者の注意を引くことが少なく、それ
程目立たない。以下、この場合のデコード方法について
説明する。Therefore, by reproducing this CD-ROM in the same manner as described above and decoding the reproduced data,
A foreground moving image of 15 frames / second is displayed in a background image of a 7.5 frame / second moving image. Therefore, the data of the background image BG is in a frame-dropped state, but the background is generally less noticeable to the viewer than the foreground and is not so noticeable. Hereinafter, a decoding method in this case will be described.
【0163】[背景と前景の動画のデコード処理]この
例の場合、前景の画像Va及びVbについてのデコード
及び表示処理は、5セクタ毎に行われ、前景は15駒/
秒の動画の再生がなされるが、背景の画像BGは、奇数
フレームと偶数フレームの2フレーム分の10セクタを
再生したところで完結し、この背景の画像BGは、7.
5駒/秒で動画の再生がなされる。このため、奇数フレ
ームの5セクタについてのデコード処理と、これと対に
なる偶数フレームの5セクタについてのデコード処理と
では、若干処理が異なる。[Decoding of Moving Picture of Background and Foreground] In this example, the decoding and display processing of the foreground images Va and Vb are performed every 5 sectors, and the foreground has 15 frames / frame.
Although the reproduction of a moving image of seconds is performed, the background image BG is completed when 10 sectors corresponding to two frames of the odd frame and the even frame are reproduced.
A moving image is reproduced at 5 frames / sec. For this reason, the decoding process for the five sectors of the odd-numbered frame is slightly different from the decoding process for the five sectors of the even-numbered frame that is a pair with the decoding process.
【0164】先ず、この場合には、CD−ROMからR
AM13にDMA転送された画像データの奇数フレーム
の5セクタを処理する場合においては、背景の画像につ
いての2ビットモード及び存在する場合には1ビットモ
ードのキャラクタデータの数N1,M1の情報から背景
の画像データと、前景の画像のデータとの境目を知る。
また、さらに、前景の画像についてのキャラクタデータ
数の情報から、前景の動画の画像データと、制御データ
との境目を知る。さらに、前景の動画のキャラクタ数の
情報からその画像データと位置データである座標データ
との境目も知る。First, in this case, the R-ROM is read from the CD-ROM.
When processing five sectors of odd frames of image data DMA-transferred to the AM 13, the background is determined from the information on the number of character data N1 and M1 in the 2-bit mode and 1-bit mode for the background image, if any. Of the image data of the foreground and the image data of the foreground.
Further, a boundary between the image data of the moving image of the foreground and the control data is known from the information on the number of character data pieces for the image of the foreground. Further, the boundary between the image data and the coordinate data as the position data is known from the information on the number of characters of the foreground moving image.
【0165】そして、これらのデータの境目から、RA
M13に転送されたデータに対する前記A項のステップ
について、背景の画像のデコード処理から前景の画像の
デコード処理に切り換えを行う。そして、制御データの
取り込みを行い、前景の画像についての画像再生処理を
行う。そして、それまでに再生表示されている背景の画
像にその前景の画像が合成される。From the boundary of these data, RA
With respect to the step of the item A for the data transferred to M13, the processing is switched from the decoding processing of the background image to the decoding processing of the foreground image. Then, control data is taken in, and image reproduction processing is performed on the foreground image. Then, the foreground image is combined with the background image reproduced and displayed so far.
【0166】また、CD−ROMからRAM13にDM
A転送された画像データの偶数フレームの5セクタを処
理する場合においては、背景の画像についての、存在す
る場合には2ビットモード及び1ビットモードのキャラ
クタデータの数N2,M2の情報から背景の1フレーム
についての残りの画像データと、スクリーンテーブルs
cr及び色変換テーブルのデータとの境目を知る。そし
て、例えば境目のフラグに基づいてのこれらと前景の画
像のデータとの境目を知る。また、さらに、前景の画像
についてのキャラクタデータ数の情報から、前景の動画
の画像データと、制御データとの境目を知る。さらに、
前景の動画のキャラクタ数の情報からその画像データと
位置データである座標データと、さらに色変換テーブル
との境目も知る。Also, DM from the CD-ROM to the RAM 13
A When processing five sectors of an even-numbered frame of the transferred image data, the background image is determined from the information N2 and M2 of the 2-bit mode and 1-bit mode character data, if any, on the background image. The remaining image data for one frame and the screen table s
Know the boundary between cr and the data of the color conversion table. Then, for example, the boundary between these and the data of the foreground image based on the boundary flag is known. Further, a boundary between the image data of the moving image of the foreground and the control data is known from the information on the number of character data pieces for the image of the foreground. further,
From the information on the number of characters of the foreground moving image, the boundary between the image data and the coordinate data as the position data and the color conversion table are known.
【0167】この偶数フレームの再生においては、背景
が新たにデコードされた画像に切り換えられ、その新た
な背景画像にデコードされた前景の画像が合成されて表
示画像が形成され、これがディスプレイに表示される。
以上をさらに詳細に説明する。In the reproduction of the even-numbered frame, the background is switched to the newly decoded image, and the decoded foreground image is combined with the new background image to form a display image, which is displayed on the display. You.
The above will be described in more detail.
【0168】[奇数フレームの5セクタのデータについ
てのデコード](1) 2ビットモードのキャラクタをデ
コードするためのプログラムが、RAM13からDSP
50にロードされる。[Decoding of Data of 5 Sectors of Odd Frame] (1) A program for decoding a character in the 2-bit mode is read from the RAM 13 by the DSP.
50 is loaded.
【0169】(2) RAM13の第1のバッファエリア
にDMA転送された画像データのうちの背景の画像デー
タの2ビットモードのキャラクタのデータが、DMAC
12によりDSP50にDMA転送され、色番号のデー
タにデコードされる。(2) The 2-bit mode character data of the background image data among the image data DMA-transferred to the first buffer area of the RAM 13 is a DMAC.
12, the data is DMA-transferred to the DSP 50 and decoded into color number data.
【0170】(3) このデコードされた色番号が、DM
AC12によりRAM13の第2のバッファエリアにD
MA転送される。(3) The decoded color number corresponds to the DM
AC12 stores D in the second buffer area of RAM13.
MA transfer is performed.
【0171】(4) このRAM13の第2のバッファエ
リアにDMA転送された背景の画像データの、この奇数
フレームの5セクタ中に含まれるすべての2ビットモー
ドの色番号のデータが、CRTディスプレイ8の垂直ブ
ランキング期間に、DMAC12によりPPU14を通
じてビデオRAM15にDMA転送され、そのメモリエ
リアM1に書き込まれる。(4) All the 2-bit mode color number data included in the 5 sectors of the odd-numbered frame of the background image data DMA-transferred to the second buffer area of the RAM 13 are stored in the CRT display 8. In the vertical blanking period, the DMAC 12 DMA-transfers to the video RAM 15 through the PPU 14 and writes it to the memory area M1.
【0172】(5) (4) までの処理を終了すると、この
奇数フレームの5セクタ中の背景の画像データに1ビッ
トモードのキャラクタのデータが含まれている場合に
は、1ビットモードのキャラクタをデコードするための
プログラムが、RAM13からDSP50にロードされ
る。(5) When the processing up to (4) is completed, if the background image data in the five sectors of the odd-numbered frame includes 1-bit mode character data, the 1-bit mode character Is loaded from the RAM 13 to the DSP 50.
【0173】(6) RAM13の第1のバッファエリア
にDMA転送された背景の画像データのこの奇数フレー
ムのセクタに含まれる1ビットモードのキャラクタのデ
ータが、DMAC12によりDSP50にDMA転送さ
れ、色番号のデータにデコードされる。(6) The 1-bit mode character data included in the sector of the odd frame of the background image data DMA-transferred to the first buffer area of the RAM 13 is DMA-transferred to the DSP 50 by the DMAC 12 and the color number Is decoded.
【0174】(7) このデコードされた色番号が、DM
AC12によりRAM13の第2のバッファエリアにD
MA転送される。(7) The decoded color number is
AC12 stores D in the second buffer area of RAM13.
MA transfer is performed.
【0175】(8) このRAM13の第2のバッファエ
リアにDMA転送された背景の1ビットモードのすべて
の色番号のデータが、CRTディスプレイ8の垂直ブラ
ンキング期間に、DMAC12によりPPU14を通じ
てビデオRAM15にDMA転送され、そのメモリエリ
アM1に書き込まれる。(8) The data of all the color numbers of the background 1-bit mode DMA-transferred to the second buffer area of the RAM 13 are transferred to the video RAM 15 through the PPU 14 by the DMAC 12 during the vertical blanking period of the CRT display 8. The data is DMA-transferred and written into the memory area M1.
【0176】(9) 次に、ユーザの対応に応じてCPU
11は、2種の前景の画像VaとVbのどちらを選択す
るかを決定する。そして、選択された前景の画像、例え
ば画像Vaの画像データがRAM13から読み出され、
前記(1) 〜(4) の処理が行なわれ、この前景の画像Va
のすべてのキャラクタA0〜A3のデータが色番号のデ
ータに変換されたものが、ビデオRAM15のメモリエ
リアM2に書き込まれる。(9) Next, according to the user's response, the CPU
11 determines which of the two foreground images Va and Vb is to be selected. Then, the image data of the selected foreground image, for example, the image Va, is read from the RAM 13,
The processes (1) to (4) are performed, and the foreground image Va
The data obtained by converting the data of all the characters A0 to A3 into the data of the color numbers are written in the memory area M2 of the video RAM 15.
【0177】(10) 前記(9) までの処理を終了すると、
CPU11は、X座標テーブルOBJ(x)及びY座標
テーブルOBJ(y)のうちのこの画像Vaについての
X及びY座標テーブルOBXa,OBYaと、前景の色
変換テーブルのデータ及び制御データを、DSP50を
通じることなく、DMAC12によりPPU14を通じ
てビデオRAM15にDMA転送する。この場合、これ
ら座標テーブル、色変換テーブルのデータ及び制御デー
タは、ビデオRAM15のメモリエリアM4に書き込ま
れる。(10) When the processes up to (9) are completed,
The CPU 11 transmits the X and Y coordinate tables OBXa and OBYa for the image Va of the X coordinate table OBJ (x) and the Y coordinate table OBJ (y), and the data and control data of the foreground color conversion table to the DSP 50. DMA transfer is performed by the DMAC 12 through the PPU 14 to the video RAM 15 without communication. In this case, the data of the coordinate table and the color conversion table and the control data are written in the memory area M4 of the video RAM 15.
【0178】(11) 以上の転送処理が行われると、PP
U14は、前景Vaの画像データについて前述したB項
及びC項のステップを実行する。すなわち、色変換テー
ブルを参照することにより前景VaのキャラクタA0〜
A3のデータが、実際の色の画素データにデコードされ
る。そして、制御データ中の位置データDFaのX座標
XA1及びY座標YA1が参照されて、選択された前景の画
像Vaの元の矩形枠領域(図3A及びB参照)の左上隅
の画面上の位置が決定される。(11) When the above transfer processing is performed, the PP
U14 executes the steps of the above-described items B and C for the image data of the foreground Va. That is, by referring to the color conversion table, the characters A0 to
The data of A3 is decoded into pixel data of an actual color. Then, the X coordinate XA1 and the Y coordinate YA1 of the position data DFa in the control data are referred to, and the position on the screen of the upper left corner of the original rectangular frame area (see FIGS. 3A and 3B) of the selected foreground image Va is referred to. Is determined.
【0179】(12) そして、この決定された前景の画像
Vaの矩形領域の左上隅の位置を原点として、この前景
の画像VaについてのX座標テーブルOBXa及びY座
標テーブルOBYaが参照されて、この前景の画像Va
の各キャラクタA0〜A3の画面上の位置が決定され、
各キャラクタA0〜A3がメモリエリアM2の対応する
位置に書き込まれる。このとき、前景の画像Vaとして
伝送されなかった画像部分は、すべて透明となるような
画像データとされる。(12) The X-coordinate table OBXa and the Y-coordinate table OBYa for the foreground image Va are referenced with the position of the upper left corner of the determined rectangular area of the foreground image Va as the origin. Foreground image Va
The positions of the characters A0 to A3 on the screen are determined,
Each of the characters A0 to A3 is written to a corresponding position in the memory area M2. At this time, the image portions that are not transmitted as the foreground image Va are all rendered as image data that is transparent.
【0180】(13) 以上により、選択された前景の動画
Vaの1フレーム分がメモリエリアM2に書き込まれる
と、ビデオRAM15のメモリエリアM1の表示用とし
てアクティブになっている方のエリアからの背景の画像
BGと、メモリエリアM2からの前景の画像Vaが、図
8に示すように、合成されて、その合成画像がディスプ
レイ8に表示される。このとき背景は、前フレームで使
用されたものが使用される。(13) As described above, when one frame of the selected foreground moving picture Va is written into the memory area M2, the background from the area which is active for display in the memory area M1 of the video RAM 15 is displayed. As shown in FIG. 8, the image BG and the foreground image Va from the memory area M2 are combined, and the combined image is displayed on the display 8. At this time, the background used in the previous frame is used.
【0181】この場合、選択された前景の画像Vaの位
置データDFaのZ座標ZA と、背景のデータBGの各
キャラクタの奥行き方向のZ座標ZBGとが比較されて、
前景の画像Vaのキャラクタのうち、ZA >ZBGの部分
のキャラクタのみが、すなわち、前にあると判断された
キャラクタのみが背景画中に表示されるような状態で、
背景と前景の画像Vaとが合成される。In this case, the Z coordinate ZA of the position data DFa of the selected foreground image Va is compared with the Z coordinate ZBG of the background data BG in the depth direction of each character.
In a state in which only the characters in the portion of ZA> ZBG among the characters of the foreground image Va are displayed in the background image, that is, only the characters determined to be in front are displayed.
The background and the foreground image Va are combined.
【0182】[偶数フレームの5セクタのデータについ
てのデコード](1) この偶数フレームの5セクタにな
ると、先ず、背景の画像データについては、1フレーム
の残りの画像データが奇数フレームの場合と同様にして
デコードされ、ビデオRAM15のメモリエリアM1に
続いて書き込まれる。[Decoding of Data of Five Sectors of Even Frame] (1) When the five sectors of the even frame are reached, first, the background image data is the same as when the remaining image data of one frame is an odd frame. , And is written following the memory area M1 of the video RAM 15.
【0183】(2) こうして背景の画像データの1フレ
ーム分のビデオRAM15のメモリエリアM1への転送
処理が終了すると、CPU11は、RAM13の第1の
バッファエリアの背景画のスクリーンテーブルscr及
び色変換テーブルCOL(j)のデータを、DSP50を
通じることなく、DMAC12によりPPU14を通じ
てビデオRAM15にDMA転送する。この場合、これ
らスクリーンテーブルscr及び色変換テーブルのデー
タは、ビデオRAM15のメモリエリアM4に書き込ま
れる。(2) When the transfer processing of one frame of the background image data to the memory area M1 of the video RAM 15 is completed, the CPU 11 sets the screen table scr of the background image in the first buffer area of the RAM 13 and the color conversion. The data of the table COL (j) is DMA-transferred by the DMAC 12 to the video RAM 15 through the PPU 14 without passing through the DSP 50. In this case, the data of the screen table scr and the color conversion table are written in the memory area M4 of the video RAM 15.
【0184】(3) 以上の転送処理が行われると、PP
U14は、背景の動画の画像データについて前述したB
項、C項のステップを実行する。(3) When the above transfer processing is performed, the PP
U14 is the same as B described above for the image data of the background moving image.
The steps of item C and item C are executed.
【0185】すなわち、スクリーンテーブルscr及び
色変換テーブルCOL(j) を参照することにより、メモ
リエリアM1の背景の画像データである色番号のデータ
が、実際の色の画素データにデコードされるとともに、
各キャラクタの画素データが、元のキャラクタ位置に対
応したアドレスに書き込まれる。That is, by referring to the screen table scr and the color conversion table COL (j), the data of the color number which is the image data of the background of the memory area M1 is decoded into the pixel data of the actual color.
Pixel data of each character is written to an address corresponding to the original character position.
【0186】こうして新たな背景画がメモリエリアM1
の一方に書き込まれると、このメモリエリアM1の一方
が、表示用としてアクティブになり、背景画が切り替わ
る。Thus, the new background image is stored in the memory area M1.
, One of the memory areas M1 becomes active for display, and the background image is switched.
【0187】(4) 背景の画像データについてのスクリ
ーンテーブルscr及び色変換テーブルのデータのビデ
オRAM15への転送が終了すると、この偶数フレーム
においても、選択された前景の画像データが前述した奇
数フレームの場合と同様にしてデコード処理がなされ、
ビデオRAM15のメモリエリアM2の一方に書き込ま
れる。そして、このメモリエリアM2の一方への前景の
画像の1フレーム分の書き込みが終了すると、この一方
のメモリエリアが表示用としてアクティブになり、前記
新たな背景の画像とこの前景の画像とが、前述と同様に
して合成され、ディスプレイ8に表示される。(4) When the transfer of the screen table scr and the color conversion table data for the background image data to the video RAM 15 is completed, even in this even-numbered frame, the selected foreground image data is converted to the odd-numbered frame described above. The decoding process is performed in the same way as
The data is written to one of the memory areas M2 of the video RAM 15. When the writing of one frame of the foreground image into one of the memory areas M2 is completed, the one memory area becomes active for display, and the new background image and the foreground image are displayed. The images are synthesized in the same manner as described above and displayed on the display 8.
【0188】(5) 処理は奇数フレームの処理に戻り、
以後、10セクタ単位で以上の処理が繰り返される。(5) The processing returns to the processing of the odd frame.
Thereafter, the above processing is repeated in units of 10 sectors.
【0189】以上のようにして、ディスプレイ8には、
背景と前景の動画が合成された合成画像が表示される。
そして、この場合、前景の画像としては、ユーザの対応
に応じて切り換えられるべき複数の画面例えば前述した
敵機の飛行パターンとその爆発パターンとが用意されて
おり、デコード側でどちらを前景として表示するかを選
択するだけで、即座に切り替わる。したがって、対話性
とエンターテインメント性の両方を兼ね備えたゲーム機
を実現することができる。As described above, the display 8
A composite image in which the moving image of the background and the foreground is composited is displayed.
In this case, as the foreground image, a plurality of screens to be switched according to the correspondence of the user, for example, the flight pattern of the enemy aircraft and the explosion pattern thereof are prepared, and which is displayed on the decoding side as the foreground. Just choose what you want to do and it switches instantly. Therefore, a game machine having both interactiveness and entertainment can be realized.
【0190】そして、背景を駒落としとした分を利用し
て複数毎の前景を伝送するものであるので、圧縮率を大
きくして伝送する必要がなく、画質の劣化を少なくする
ことができる。また、上述の例のように、前景は実際に
伝送しなければならないキャラクタ数を少なくすること
ができるので、この点においても前景の画像データにつ
いてより高能率の量子化処理などのデータ圧縮処理を行
う必要がなく、画質の劣化を最小限に押さえることが可
能である。Since the plurality of foregrounds are transmitted by using the portion where the background is dropped, it is not necessary to increase the compression ratio for transmission, and the deterioration of image quality can be reduced. Also, as in the above-described example, the number of characters that must be actually transmitted in the foreground can be reduced, and in this regard, data compression processing such as more efficient quantization processing is performed on the foreground image data. There is no need to perform this, and it is possible to minimize the deterioration of image quality.
【0191】さらに、この場合、前景の動画は15駒/
秒のアニメーションとすることができ、スムースな動き
のアニメーションとなる。これに対し、背景は前景に比
べて駒落としのアニメーションとなるが、人間の注意が
前景に向けられていることを考えれば、視覚上影響は少
ない。Further, in this case, the moving picture of the foreground is 15 frames /
It can be an animation of seconds, and it will be an animation of smooth movement. On the other hand, the background is an animation of dropping frames compared to the foreground, but has little visual effect considering that human attention is directed to the foreground.
【0192】また、この場合、背景及び前景の画像は、
共に動画であるので、奥行き感が出て、立体感のある動
画画面を得ることができる。In this case, the background and foreground images are
Since both are moving images, a moving image screen with a sense of depth and a three-dimensional effect can be obtained.
【0193】なお、前景の画像の位置データを複数個用
意し、デコード側で各画像についての位置データを選択
することにより前景の出現位置のパターンを複数通りに
することができる。このようにすれば、変化のあるゲー
ムを楽しむことができる。By preparing a plurality of position data of the foreground image and selecting the position data for each image on the decoding side, a plurality of patterns of appearance positions of the foreground can be obtained. In this way, a game with a change can be enjoyed.
【0194】なお、以上の例では、前景の画像は2ビッ
トモードのキャラクタデータまで圧縮するようにした
が、背景画の動画と同様に、1ビットモード及び単色の
キャラクタデータまで圧縮するようにしても、もちろん
良い。また、データ圧縮方法は、前記のようなベクトル
量子化を用いた方法に限らず、種々のデータ圧縮方法を
使用することができることは言うまでもない。In the above example, the foreground image is compressed to 2-bit mode character data. However, as in the case of the background moving image, the foreground image is compressed to 1-bit mode and monochrome character data. Well, of course. The data compression method is not limited to the method using vector quantization as described above, and it goes without saying that various data compression methods can be used.
【0195】また、背景の画像は上記の例のように2フ
レームに1フレームを伝送するのではなく、3フレーム
以上について1フレームを伝送するようにしても良い。Further, as for the background image, one frame may be transmitted for three or more frames, instead of transmitting one frame for every two frames as in the above example.
【0196】なお、背景の画像は静止画でもよい。ま
た、記録媒体としては、CD−ROMだけでなく、テー
プなどを使用することもできる。Note that the background image may be a still image. As a recording medium, not only a CD-ROM but also a tape or the like can be used.
【0197】[0197]
【発明の効果】以上説明したように、この発明によれ
ば、動画を背景と前景とに分け、背景は駒落としで伝送
し、前景はその駒落としにより空いた伝送領域を用いて
複数個を伝送することができる。このため、前景の画像
はデータ圧縮率を大きくしなくても、複数個を伝送する
ことができるので、画質の劣化を少なくすることができ
る。As described above, according to the present invention, a moving image is divided into a background and a foreground, the background is transmitted by dropping frames, and a plurality of foregrounds are transmitted using the transmission area vacated by dropping frames. Can be transmitted. For this reason, a plurality of foreground images can be transmitted without increasing the data compression ratio, so that deterioration in image quality can be reduced.
【0198】そして、このように前景の画像は、複数個
用意することができるので、例えばこの発明をゲーム用
の画像に用いた場合、ある1つの前景の画像を例えば敵
機の画像としたとき、別の1つの前景の画像をその爆発
パターンとしておくことにより、敵機がゲーム上、撃墜
されたとき、即座に爆発パターンに前景の画像を切り換
えることができ、インターラクティブ性に優れたゲーム
を行うことが可能になる。Since a plurality of foreground images can be prepared in this way, for example, when the present invention is used for a game image, when a certain foreground image is an enemy aircraft image, for example, By setting another foreground image as the explosion pattern, when the enemy aircraft is shot down in the game, the foreground image can be immediately switched to the explosion pattern, and a game with excellent interactivity is performed. It becomes possible.
【0199】また、背景及び前景の画像が共に動画にす
ることができるので、ダイナミックで、奥行き感のある
画像を得ることができ、例えばこの発明をゲーム機など
に使用したときは、より変化のあるゲームを実現するこ
とが可能になる。Also, since both the background and foreground images can be animated, a dynamic image having a sense of depth can be obtained. For example, when the present invention is used in a game machine or the like, a more varied image can be obtained. A certain game can be realized.
【図1】この発明による記録媒体に記録する背景及び前
景の画像のデータのエンコード方法を説明するための機
能ブロック図の一部である。FIG. 1 is a part of a functional block diagram for explaining a method of encoding data of a background and foreground image recorded on a recording medium according to the present invention.
【図2】この発明による記録媒体に記録する背景及び前
景の画像のデータのエンコード方法を説明するための機
能ブロック図の一部である。FIG. 2 is a part of a functional block diagram for explaining a method of encoding data of a background and foreground image recorded on a recording medium according to the present invention.
【図3】この発明による記録媒体に記録する背景及び前
景の画像の一例を説明のための図である。FIG. 3 is a diagram for explaining an example of background and foreground images recorded on a recording medium according to the present invention.
【図4】この発明による記録媒体に記録する背景及び前
景の画像の一例を説明のための図である。FIG. 4 is a diagram for explaining an example of background and foreground images recorded on a recording medium according to the present invention.
【図5】この発明による記録媒体に記録する前景の画像
の画像データのエンコード方法の説明のための図であ
る。FIG. 5 is a diagram for explaining a method for encoding image data of a foreground image recorded on a recording medium according to the present invention.
【図6】この発明による記録媒体への前景の画像のデー
タを説明するための図である。FIG. 6 is a diagram for explaining data of a foreground image on a recording medium according to the present invention.
【図7】この発明による記録媒体に記録する画像データ
の記録フォーマットの例を示す図である。FIG. 7 is a diagram showing an example of a recording format of image data recorded on a recording medium according to the present invention.
【図8】この発明による画像再生装置における背景と前
景の合成画面を説明するための図である。FIG. 8 is a diagram for explaining a composite screen of a background and a foreground in the image reproducing apparatus according to the present invention.
【図9】この発明による記録媒体に記録する画像データ
の圧縮方法の一実施例を実施するエンコード装置の一例
の一部のブロック図である。FIG. 9 is a partial block diagram of an example of an encoding apparatus that implements an embodiment of a method for compressing image data recorded on a recording medium according to the present invention.
【図10】この発明による記録媒体に記録する画像デー
タの圧縮方法の一実施例を実施するエンコード装置の一
例の残部のブロック図である。FIG. 10 is a block diagram of the rest of an example of an encoding device that implements an embodiment of a method for compressing image data recorded on a recording medium according to the present invention.
【図11】図9及び図10の例の画像データ圧縮方法の
一実施例の画像データの分割方法の一例を説明するため
の図である。FIG. 11 is a diagram for explaining an example of a method of dividing image data according to an embodiment of the image data compression method of the example of FIGS. 9 and 10;
【図12】図9及び図10の例の画像データ圧縮方法の
一実施例に用いるテーブルを説明するための図である。FIG. 12 is a diagram for explaining a table used in an embodiment of the image data compression method in the examples of FIGS. 9 and 10;
【図13】図9及び図10の例の画像データ圧縮方法の
一実施例による圧縮データの一例を説明するための図で
ある。FIG. 13 is a diagram for explaining an example of compressed data according to an embodiment of the image data compression method in the example of FIGS. 9 and 10;
【図14】図9及び図10の例の画像データ圧縮方法の
一実施例の説明のための図である。FIG. 14 is a diagram for explaining an embodiment of the image data compression method in the examples of FIGS. 9 and 10;
【図15】図9及び図10の例の画像データ圧縮方法の
一実施例に用いるテーブルの一例を説明するための図で
ある。FIG. 15 is a diagram for explaining an example of a table used in an embodiment of the image data compression method in the examples of FIGS. 9 and 10;
【図16】図9及び図10の例の記録圧縮画像データの
一例を説明するための図である。FIG. 16 is a diagram for explaining an example of recorded compressed image data in the examples of FIGS. 9 and 10;
【図17】この発明による記録媒体に記録するデータの
フォーマットの一例を示す図である。FIG. 17 is a diagram showing an example of a format of data recorded on a recording medium according to the present invention.
【図18】CD−ROMのセクタフォーマット及びこの
発明による記録媒体に記録するセクタ毎の識別用情報I
Dを説明するための図である。FIG. 18 shows a sector format of a CD-ROM and identification information I for each sector recorded on a recording medium according to the present invention.
It is a figure for explaining D.
【図19】この発明による記録媒体の例としてのCD−
ROMからの再生データの一例を説明するための図であ
る。FIG. 19 shows a CD-ROM as an example of a recording medium according to the present invention.
FIG. 3 is a diagram for explaining an example of reproduction data from a ROM.
【図20】この発明による画像再生装置の一例としての
デコード装置の一実施例のブロック図である。FIG. 20 is a block diagram of an embodiment of a decoding device as an example of an image reproducing device according to the present invention.
【図21】メモリの分割記憶エリアを説明するための図
である。FIG. 21 is a diagram illustrating a divided storage area of a memory.
【図22】対話性を持たせる必要性がある画面を説明す
るための図である。FIG. 22 is a diagram for explaining a screen that needs to have interactivity;
1 ゲーム機本体 5 CD−ROM 6 プログラムカートリッジ 8 CRTディスプレイ 11 CPU 12 DMAコントローラ 13 RAM 14 PPU(ピクチャー・プロセシング・ユニット) 15 ビデオRAM 22 キャラクタ分割手段 24 第1段階のベクトル量子化手段 25 パレット分割手段 27 第2段階のベクトル量子化手段 38 記録処理手段 41 CD−ROMプレーヤ 50 汎用のDSP 101 原画像 102 背景画 103 前景の画像切り出し手段 104 キャラクタ切り出し手段 105 前景の画像基準データ生成手段 201a,201b,201c データ圧縮手段 202a,202b,202c ソート及び座標テーブ
ル生成手段 204 パステーブル生成手段 205 記録データ生成手段DESCRIPTION OF SYMBOLS 1 Game machine main body 5 CD-ROM 6 Program cartridge 8 CRT display 11 CPU 12 DMA controller 13 RAM 14 PPU (Picture Processing Unit) 15 Video RAM 22 Character dividing means 24 First-stage vector quantization means 25 Pallet dividing means 27 Vector quantization means of second stage 38 Recording processing means 41 CD-ROM player 50 General-purpose DSP 101 Original image 102 Background image 103 Foreground image cutout means 104 Character cutout means 105 Foreground image reference data generation means 201a, 201b, 201c Data compression means 202a, 202b, 202c Sorting and coordinate table generation means 204 Path table generation means 205 Print data generation means
フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 5/76 - 5/956 G11B 20/10 - 20/12 H04N 7/24 - 7/68 Continued on the front page (58) Fields surveyed (Int.Cl. 7 , DB name) H04N 5/76-5/956 G11B 20/10-20/12 H04N 7/ 24-7/68
Claims (8)
を、予め定めた複数セクタからなるフレーム単位で伝送
する伝送方法であって、 複数種の前景についての背景として割り当てられた1の
背景を表わす画像データを複数フレーム分に分割し、 前記分割された背景を表わす画像データと、当該背景と
選択的に重ねて表示されるべき複数種の前景を表わす画
像データとを、前記複数の、フレーム単位により伝送す
ることを特徴とする画像データ伝送方法。 1. Image data of a moving image comprising a foreground and a background
Is transmitted in a frame unit consisting of a plurality of predetermined sectors.
Transmission method, wherein one of the foregrounds assigned as a background is
The image data representing the background is divided into a plurality of frames, and the image data representing the divided background, and the background
Images representing multiple types of foregrounds that should be selectively superimposed
Image data is transmitted in units of the plurality of frames.
A method for transmitting image data, comprising:
おいて、 前記背景は、静止画像であることを特徴とする画像デー
タ伝送方法。 2. The image data transmission method according to claim 1,
Oite, the background image data, which is a still image
Data transmission method.
おいて選択的に表示される複数種の前景を表わす画像デ
ータとが、それぞれ予め定めた複数セクタからなる、複
数の、フレーム単位で順次記録され動画を構成すると共
に、前記背景は、1画面分の前記背景を表わす画像デー
タが前記複数フレーム分に分割して記録されている画像
データを記録した記録媒体から前記画像データを読み出
して再生する機能を有する画像再生装置であって、 前記複数種の前景のうち、指示に応じて表示すべき前景
を選択する手段と、 当該記録媒体から画像データを読み出す手段と、 前記読み出され画像データをバッファメモリに書き込む
第1の書き込み手段と、 前記バッファメモリから前記複数フレーム分に分割され
た背景に相当する画像データを読み出して第1の画像用
メモリエリアに書き込むと共に、前記バッファメモリか
ら選択された前景に相当する画像データを第2の画像用
メモリエリアに書き込む第2の書き込み手段と、 前記第1の画像用メモリエリアから複数フレーム分に分
割された前記背景を表わす画像データを複数フレーム分
読み出し、かつ、前記第2の画像用メモリエリアから当
該背景を表わす画像データと重ねて表示すべき前景を表
わす画像データを読み出して、両者を合成してディスプ
レイに表示させる表示手段とを備え、 前記表示手段は、前記第1の画像用メモリエリアに書き
込まれた複数フレーム 分の画像データから得られる背景
に、当該複数フレーム分中に記録されている複数の前景
を順次重ね合わせてディスプレイに表示させることで動
画を映出させ、 前記第2の書き込み手段は、前記表示手段による映出中
に、前記選択する手段による他の前景が選択された場
合、選択された時点で、バッファメモリから新たに選択
された前景に相当する画像データを第2の画像用メモリ
エリアに書き込むことを特徴とする画像再生装置。 3. An image data representing a background, and
Image data representing multiple types of foreground selectively displayed in
Data consists of a plurality of predetermined sectors.
Number of frames that are sequentially recorded to form a moving image.
The background is an image data representing the background for one screen.
Image in which the data is divided into a plurality of frames and recorded.
Reading the image data from the recording medium on which the data is recorded
An image reproducing apparatus having a function to play out the foreground of the plurality of types, the foreground to be displayed in accordance with an instruction
Means for selecting image data, means for reading image data from the recording medium, and writing the read image data to a buffer memory.
First writing means; and a plurality of frames from the buffer memory divided into the plurality of frames.
Image data corresponding to the background
While writing to the memory area,
Image data corresponding to the foreground selected from the second image
Second writing means for writing to the memory area; and a plurality of frames for the plurality of frames from the first image memory area.
The divided image data representing the background is divided into a plurality of frames.
Read from the memory area for the second image.
Displays the foreground to be displayed overlapping the image data representing the background.
Read out the image data, combine them and display
Display means for displaying the image on a ray, wherein the display means writes in the first image memory area.
Background obtained from embedded image data for multiple frames
The foreground recorded in the frames
By superimposing them sequentially on the display.
Projecting an image, wherein the second writing means is projecting by the display means
If another foreground is selected by the selecting means,
If selected, a new selection is made from the buffer memory when selected.
Image data corresponding to the extracted foreground is stored in a second image memory.
An image reproducing apparatus for writing in an area.
て、 前記背景が静止画であることを特徴とする画像再生装
置。 4. An image reproducing apparatus according to claim 3, wherein
Te, image reproduction instrumentation, wherein the background is a still picture
Place.
おいて選択的に表示される複数種の前景を表わす画像デ
ータとが複数の、(予め定めた複数セクタからなる)フ
レーム単位で順次記録され動画を構成すると共に、前記
背景は、1画面分の前記背景を表わす画像データが前記
複数フレーム分に分割して記録されている画像データを
記録した記録媒体から前記画像データを読み出して再生
する画像再生方法であって、 前記複数種の前景のうち、指示に応じて表示すべき前景
の選択を受け付け、 記憶媒体が装着されると、当該記録媒体から画像データ
を読み出し、 前記読み出された画像データをバッファメモリに書き込
み、 前記バッファメモリから前記複数フレーム分に分割され
た背景に相当する画像データを読み出して第1の画像用
メモリエリアに書き込むと共に、前記バッファメモリか
ら選択された前景に相当する画像データを第2の画像用
メモリエリアに書き込み、 前記第1の画像用メモリエリアから複数フレーム分に分
割された背景を表わす画像データを複数フレーム分読み
出して背景を生成すると共に、前記第2の画像用メモリ
エリアから当該背景と重ねて表示すべき複数の前景を表
わす画像データを順次読み出して、前記背景に、当該複
数フレーム分に記録されていた複数の前景を順次重ね合
わせてディスプレイに表示させることで動画を映出さ
せ、 前記動画の映出中に、前記選択する手段による他の前景
が選択された場合、選択された時点で、バッファメモリ
から新たに選択された前景に相当する画像データを第2
の画像用メモリエリアに書き込み、新たな前景を含む動
画をディスプレ イに表示させることで映出させることを
特徴とする画像再生方法。 5. An image data representing a background, and
Image data representing multiple types of foreground selectively displayed in
Data (including multiple predetermined sectors)
A moving image is recorded sequentially in frame units,
As for the background, image data representing the background for one screen is
Image data that is divided into multiple frames and recorded
Reads and plays back the image data from the recorded recording medium
A foreground to be displayed in accordance with an instruction from among the plurality of types of foregrounds.
Is selected, and when the storage medium is mounted, the image data is read from the storage medium.
And writes the read image data into the buffer memory.
Seen, divided from the buffer memory to the plurality of frames
Image data corresponding to the background
While writing to the memory area,
Image data corresponding to the foreground selected from the second image
Write to the memory area and divide it from the first image memory area into a plurality of frames.
Reading image data representing the divided background for multiple frames
And generating a background, the second image memory
Multiple foregrounds that should be displayed over the background from the area are displayed.
Image data is sequentially read out, and the
Multiple foregrounds recorded in several frames are sequentially superimposed
Video on the display
While the moving image is being projected, another foreground by the selecting means
If is selected, the buffer memory will be
Image data corresponding to the newly selected foreground from the second
Write to the image memory area of
That to the movies out possible to display the image on Display Lee
Characteristic image reproduction method.
て、 前記背景が静止画であることを特徴とする画像再生方
法。 6. An image reproducing method according to claim 5, wherein
Te, image reproduction direction, characterized in that the background is a still picture
Law.
おいて選択的に表示される複数種の前景を表わす画像デ
ータとが、それぞれ予め定めた複数セクタからなる、複
数の、フレーム単位で順次記録され動画を構成すると共
に、前記背景は、1画面分の前記背景を表わす画像デー
タが前記複数フレーム分に分割して記録されている画像
データを記録した記録媒体から前記画像データを読み出
して再生する機能を有する画像再生装置であって、 前記複数種の前景のうち、指示に応じて表示すべき前景
を選択する手段と、 記録媒体が装着されると、当該記録媒体から画像データ
を読み出す手段と、 前記読み出された画像データをバッファメモリに書き込
む第1の書き込み手段と、 前記バッファメモリから前記複数フレーム分に分割され
た背景に相当する画像データを読み出して第1の画像用
メモリエリアに書き込むと共に、前記バッファメモリか
ら選択された前景に相当する画像データを第2の画像用
メモリエリアに書き込む第2の書き込み手段と、 前記第1の画像用メモリエリアから複数フレーム分に分
割された前記背景を表わす画像データを複数フレーム分
読み出し、かつ、前記第2の画像用メモリエリアから当
該背景を表わす画像データと重ねて表示すべき前景を表
わす画像データを読み出して、両者を合成してディスプ
レイに表示させる表示手段とを備え、 前記表示手段は、前記第1の画像用メモリエリアに書き
込まれた複数フレーム分の画像データから得られる背景
に、当該複数フレーム分中に記録されていた複数の前景
を順次重ね合わせてディスプレイに表示させることで動
画を映出させ、 前記第2の書き込み手段は、前記表示手段による映出中
に、前記選択する手段による他の前景が選択された場
合、選択された時点で、バッファメモリから新たに選択
された前景に相当する画像データを第2の画像用メモリ
エリアに書き込むことを特徴とする画像再生装置。 7. An image data representing a background, and
Image data representing multiple types of foreground selectively displayed in
Data consists of a plurality of predetermined sectors.
Number of frames that are sequentially recorded to form a moving image.
The background is an image data representing the background for one screen.
Image in which the data is divided into a plurality of frames and recorded.
Reading the image data from the recording medium on which the data is recorded
An image reproducing apparatus having a function to play out the foreground of the plurality of types, the foreground to be displayed in accordance with an instruction
Means for selecting image data, and, when a recording medium is mounted, image data from the recording medium.
Means for reading the image data and writing the read image data into a buffer memory.
A first writing unit, and the plurality of frames are divided from the buffer memory into a plurality of frames.
Image data corresponding to the background
While writing to the memory area,
Image data corresponding to the foreground selected from the second image
Second writing means for writing to the memory area; and a plurality of frames for the plurality of frames from the first image memory area.
The divided image data representing the background is divided into a plurality of frames.
Read from the memory area for the second image.
Displays the foreground to be displayed overlapping the image data representing the background.
Read out the image data, combine them and display
Display means for displaying on a ray, wherein the display means writes in the first image memory area.
Background obtained from embedded image data for multiple frames
In addition, a plurality of foregrounds recorded in the frames
By superimposing them sequentially on the display.
Projecting an image, wherein the second writing means is projecting by the display means
When another foreground is selected by the selecting means,
If it is selected, it is newly selected from the buffer memory
Image data corresponding to the extracted foreground is stored in a second image memory.
An image reproducing apparatus for writing in an area.
て、 前記背景が静止画であることを特徴とする画像再生装
置。 8. An image reproducing apparatus according to claim 7, wherein
Te, image reproduction instrumentation, wherein the background is a still picture
Place.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP21598591A JP3286329B2 (en) | 1991-08-01 | 1991-08-01 | Image data transmission method, image reproducing apparatus, and image reproducing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP21598591A JP3286329B2 (en) | 1991-08-01 | 1991-08-01 | Image data transmission method, image reproducing apparatus, and image reproducing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0537913A JPH0537913A (en) | 1993-02-12 |
JP3286329B2 true JP3286329B2 (en) | 2002-05-27 |
Family
ID=16681504
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP21598591A Expired - Lifetime JP3286329B2 (en) | 1991-08-01 | 1991-08-01 | Image data transmission method, image reproducing apparatus, and image reproducing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3286329B2 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4494294B2 (en) * | 2005-06-07 | 2010-06-30 | 株式会社三共 | Image processing device |
JP4494293B2 (en) * | 2005-06-07 | 2010-06-30 | 株式会社三共 | Image processing device |
JP4494295B2 (en) * | 2005-06-07 | 2010-06-30 | 株式会社三共 | Image processing device |
JP4494292B2 (en) * | 2005-06-07 | 2010-06-30 | 株式会社三共 | Image processing device |
JP4494291B2 (en) * | 2005-06-07 | 2010-06-30 | 株式会社三共 | Image processing device |
KR101883680B1 (en) * | 2017-06-29 | 2018-07-31 | 주식회사 루씨드드림 | Mpethod and Apparatus for Authoring and Playing Contents |
-
1991
- 1991-08-01 JP JP21598591A patent/JP3286329B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH0537913A (en) | 1993-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0831424B1 (en) | Methods and apparatus for transmitting picture data, processing pictures and recording media therefor | |
EP0596732B1 (en) | Method per performing special effects in the receiver of a coded moving picture transmission system | |
JP2950346B2 (en) | Image data decoding method and its decoder circuit | |
US20010036860A1 (en) | Character display method, information recording medium and entertainment apparatus | |
JP3286329B2 (en) | Image data transmission method, image reproducing apparatus, and image reproducing method | |
JP3358067B2 (en) | Method of manufacturing recording medium recording image data, image reproducing method and image reproducing apparatus | |
CN102026041B (en) | Graphic data processing method | |
JP3084093B2 (en) | Image data decoding method and image reproducing apparatus thereof | |
JP3205357B2 (en) | Image data transmission method and recording medium | |
JP3786716B2 (en) | Manufacturing method of recording medium on which image data is recorded | |
JP3045254B2 (en) | Data decoding method and decoder circuit thereof | |
JP3276651B2 (en) | Image data recording method and reproduction method thereof | |
JP2937212B2 (en) | Data processing device | |
KR20070011600A (en) | Method for compositing dynamic virtual images | |
JP3442085B2 (en) | Video playback device, video playback method, and game device | |
JP3344730B2 (en) | Image display method and display control device | |
JP3735097B2 (en) | Movie playback apparatus and movie playback method | |
JP3444869B2 (en) | Moving image data recording method and reproducing method thereof | |
JPH0528652A (en) | Cd-rom and reproduction method and reproduction device of cd-rom | |
JPH04294470A (en) | Recording medium for image data, forming method for the recording medium, decoding method for the image data, and decoder circuit | |
JP3202283B2 (en) | Image data reproducing method and reproducing circuit thereof | |
JPH04369686A (en) | Reproduction device for image data | |
JPH04295972A (en) | Recording medium image data and its recording method | |
JPH04366468A (en) | Image data recording medium and recording method therefor | |
JPH04294684A (en) | Encoding and decoding method and recording medium for image data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080308 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090308 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090308 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100308 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100308 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110308 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110308 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120308 Year of fee payment: 10 |
|
EXPY | Cancellation because of completion of term | ||
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120308 Year of fee payment: 10 |