JP2004170501A - Method and device for display control and display device - Google Patents

Method and device for display control and display device Download PDF

Info

Publication number
JP2004170501A
JP2004170501A JP2002333642A JP2002333642A JP2004170501A JP 2004170501 A JP2004170501 A JP 2004170501A JP 2002333642 A JP2002333642 A JP 2002333642A JP 2002333642 A JP2002333642 A JP 2002333642A JP 2004170501 A JP2004170501 A JP 2004170501A
Authority
JP
Japan
Prior art keywords
data
image data
display
color
decoded
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.)
Withdrawn
Application number
JP2002333642A
Other languages
Japanese (ja)
Inventor
Takashi Ozawa
孝 小沢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2002333642A priority Critical patent/JP2004170501A/en
Publication of JP2004170501A publication Critical patent/JP2004170501A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a display control method capable of smoothly displaying a multicolored display image of high picture quality. <P>SOLUTION: Image data DG are constituted including a plurality of data blocks DB in which palette numbers specifying color information of one of pieces of color palette data DP are recorded as pixel value information, grouped by pixel value information specifying color information in the same color palette data DP and related with respective pieces of color palette data DP. With reference to the respective pieces of color palette data DP related to the respective data blocks DB (step 26), respective pieces of pixel value information in the respective data blocks DB are decoded and the decoded data are added to data having been decoded (step 27) to generate decoded image data DD. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、カラーパレットデータを参照してインデックスカラー形式の原画像データをデコードしてデコード画像データを生成し、生成したデコード画像データに基づいて表示用画像データを生成して出力することによって表示部に表示画像を表示させる表示制御方法および表示制御装置と、その表示制御方法に従って表示画像を表示可能に構成された表示装置に関するものである。
【0002】
【従来の技術】
例えば、パチンコ台などの遊技機に搭載されて各種表示画像を表示する表示装置(一例として、特開平10−244044号公報に開示されている可変表示装置12)では、外部装置(例えばパーソナルコンピュータ)を用いて予め生成した多数の画像データに基づいて表示用画像データを生成することにより、表示用画像データに基づく静止画を移動表示させたり、複数の静止画を所定の表示位置で高速に切替え表示させたりして動画的な表示画像(以下、「アニメーション画像」ともいう)を表示部に表示させている。この場合、アニメーション画像の表示に際しては、1秒間に数十フレームの高速切替え表示を実行する必要がある。したがって、この種の表示装置では記憶部からの読み出し処理等を短時間で実行可能とするためにインデックスカラー形式の画像データを使用している。このインデックスカラー形式の画像データは、カラーパレットデータに記録されているいずれかの色情報を指定するパレット番号が各画素値情報として記録されているため、各画素毎に色情報が記録されたダイレクトカラー形式の画像データと比較してデータ容量が小さくなっている。
【0003】
この表示装置によって表示部にアニメーション画像を表示させる際には、まず、アニメーション画像の表示手順(シナリオ)が記録されたシナリオデータを記憶部から読み出す。次に、読み出したシナリオデータに従い、第1フレームで使用する画像データと、その画像データのデコード時に参照するカラーパレットデータとを記憶部からそれぞれ読み出す。次いで、画像データ内のデータブロック(画素値情報ブロック)に記録された各画素毎のパレット番号に従い、対応するパレット番号の色情報をデコードキャッシュ内に展開(記憶)することにより(画像データをデコードすることにより)、デコード画像データを生成する。同様にして、第1フレーム内で使用する他の画像データについても、それぞれに対応するカラーパレットデータを読み出して順次デコードする。次に、生成した各デコード画像データをスクリーンバッファに転送することによってスクリーンバッファ内に表示用画像データを生成する。この際には、各デコード画像データに対応する画像に対して、シナリオデータによって指示された画像加工処理(画像拡大処理、画像縮小処理および画像回転処理など)を実行する。次いで、生成した表示用画像データを表示部に出力する。これにより、アニメーション画像における第1フレームの静止画像(表示画像)が表示部に表示される。この一連の画像処理を第2フレーム以降についてもシナリオデータに従って各フレーム毎に順に実行することにより、表示部には、各種のキャラクタが恰も動いているかのようなアニメーション画像が表示される。
【0004】
【特許文献1】
特開平10−244044号公報(第3−6頁)
【0005】
【発明が解決しようとする課題】
ところが、従来の表示装置には、以下の課題がある。すなわち、従来の表示装置では、画像データを短時間で読み出し可能とするためにインデックスカラー形式の画像データを使用している。この場合、インデックスカラー形式の画像データのデコードに際して参照するカラーパレットデータは、一般的に、256色分の色情報が記録されて構成され、各色情報毎に互いに異なる8ビットのパレット番号がそれぞれ付与されている。その一方、今日の画像表示装置には、色変化が滑らかなグラデーション画像や、自然画像(一例として、遊技者の顔を撮像した画像)等で表現されるキャラクタなどの高画質の表示画像を高フレームレートで表示する趣向性の高さが求められている。しかし、趣向性の高いグラデーション画像や自然画像(以下、「多色画像」ともいう)を表示するためには、256色以上の色数を1つの画像データ内で使用可能な構成を採用する必要がある。ところが、かかる構成を採用した場合には、カラーパレットデータ内の各色情報に付与するパレット番号が必然的に8ビット以上(一例として16ビット)となる。したがって、各画素毎の画素値情報(パレット番号)のデータ長が長くなることに起因して画像データ全体のデータ容量が大きくなるため、その読み出し等に時間を要することとなる。このため、従来の表示制御方法には、多色画像を高フレームレートで表示するのが困難であるという課題が存在する。
【0006】
この場合、色数が256色以下に設定された複数の画像データを画像合成することによって1つの多色画像を表示させる表示制御方法も考えられる。しかし、この表示制御方法では、表示用画像データの生成に際して画像合成する各画像データ毎に画像加工処理を実行する必要がある。このため、1つのフレーム内で実行すべき画像加工処理の回数が多くなる結果、表示用画像データの生成に時間を要して表示すべき画像のこま落ちが発生する結果、スムーズに表示画像(アニメーション画像)を表示するのが困難となるという問題点がある。
【0007】
本発明は、かかる問題点に鑑みてなされたものであり、多色で高画質の表示画像をスムーズに表示し得る表示制御方法、表示制御装置および表示装置を提供することを主目的とする。
【0008】
【課題を解決するための手段】
上記目的を達成すべく本発明に係る表示制御方法は、カラーパレットデータ内のいずれかの色情報を指定するパレット番号が各画素毎の画素値情報として記録されるインデックスカラー形式の原画像データを当該カラーパレットデータを参照してデコードすることによってデコード画像データを生成し、当該生成したデコード画像データに基づいて表示用画像データを生成して出力することによって表示部に表示画像を表示させる表示制御方法であって、前記原画像データは、複数の前記カラーパレットデータのうちのいずれかの前記色情報を指定する前記パレット番号が前記各画素値情報として記録され、かつ同一の前記カラーパレットデータ内の前記色情報を指定する前記画素値情報毎にグループ化されると共に当該各カラーパレットデータに関連付けられた画素値情報ブロックを複数含んで構成され、前記各画素値情報ブロックのそれぞれに関連付けられた前記各カラーパレットデータを参照して当該各画素値情報ブロック内の前記各画素値情報をデコードすると共に当該デコードしたデータを既にデコードしているデータに追記することによって前記デコード画像データを生成する。
【0009】
また、本発明に係る表示制御方法は、上記の表示制御方法において、複数の前記デコード画像データに対応する各画像を仮想的に重ね合わせて前記表示用画像データを生成する。
【0010】
さらに、本発明に係る表示制御方法は、上記の表示制御方法において、前記生成した表示用画像データを所定時間間隔で前記表示部に出力することによって当該表示部にアニメーション画像を表示させる。
【0011】
また、本発明に係る表示制御方法は、上記の表示制御方法において、前記生成したデコード画像データを記憶部に記憶させると共に、当該記憶部に記憶されているデコード画像データに対応する前記原画像データを使用する前記表示画像を表示させるときに、当該デコード画像データを前記記憶部から読み出して前記表示用画像データを生成する。
【0012】
また、本発明に係る表示制御装置は、複数の色情報が記録されたカラーパレットデータを記憶する第1の記憶部と、前記カラーパレットデータ内のいずれかの前記色情報を指定するパレット番号が各画素毎の画素値情報として記録されるインデックスカラー形式の原画像データを記憶する第2の記憶部と、前記カラーパレットデータを参照して前記原画像データをデコードすることによってデコード画像データを生成すると共に当該生成したデコード画像データに基づいて表示用画像データを生成して出力することによって表示部に表示画像を表示させる表示制御部とを備えた表示制御装置であって、前記第1の記憶部は、複数の前記カラーパレットデータを記憶し、前記第2の記憶部は、前記複数のカラーパレットデータのうちのいずれかの前記色情報を指定する前記パレット番号が前記各画素値情報として記録され、かつ同一の前記カラーパレットデータ内の前記色情報を指定する前記画素値情報毎にグループ化されると共に当該各カラーパレットデータに関連付けられた画素値情報ブロックを複数含んで構成された前記原画像データを記憶し、前記表示制御部は、前記各画素値情報ブロックのそれぞれに関連付けられた前記各カラーパレットデータを参照して当該各画素値情報ブロック内の前記各画素値情報をデコードすると共に当該デコードしたデータを既にデコードしているデータに追記することによって前記デコード画像データを生成する。
【0013】
また、本発明に係る表示制御装置は、上記の表示制御装置において、前記表示制御部は、複数の前記デコード画像データに対応する各画像を仮想的に重ね合わせて前記表示用画像データを生成する。
【0014】
さらに、本発明に係る表示制御装置は、上記の表示制御装置において、前記表示制御部は、前記生成した表示用画像データを所定時間間隔で前記表示部に出力することによって当該表示部にアニメーション画像を表示させる。
【0015】
さらに、本発明に係る表示制御装置は、上記の表示制御装置において、前記デコード画像データを記憶する第3の記憶部を備え、前記表示制御部は、前記生成したデコード画像データを前記第3の記憶部に記憶させると共に、当該第3の記憶部に記憶されているデコード画像データに対応する前記原画像データを使用する前記表示画像を表示させるときに、当該デコード画像データを前記第3の記憶部から読み出して前記表示用画像データを生成する。
【0016】
また、本発明に係る表示装置は、上記の表示制御装置と表示部とを備えている。
【0017】
【発明の実施の形態】
以下、本発明に係る表示制御方法、表示制御装置および表示装置の好適な発明の実施の形態について説明する。
【0018】
最初に、本発明に係る表示制御方法に従って各種表示画像を表示可能に構成された画像表示装置1の構成と、表示画像の表示に際して使用する各データのデータ構造とについて、図面を参照して説明する。
【0019】
画像表示装置1は、遊技機や広告宣伝用表示器などに搭載されて各種のアニメーション画像等を表示する表示装置であって、本発明に係る表示制御装置と表示部とを備えて構成されている。具体的には、図1に示すように、画像表示装置1は、シナリオデータ記憶部2、キャラクタデータ記憶部3、制御部4、VDP5、デコードデータ管理部6、デコードデータ記憶部7、スクリーンバッファ8a,8bおよび表示部9を備え、シナリオデータDS、複数の画像データDG1,DG2・・(以下、区別しないときには「画像データDG」ともいう)、および複数のカラーパレットデータDP1,DP2・・(以下、区別しないときには「カラーパレットデータDP」ともいう)に基づいてアニメーション画像を表示可能に構成されている。
【0020】
この場合、シナリオデータDSは、画像表示装置1によって表示されるアニメーション画像についての表示手順を特定するためのデータであって、図示しない外部装置(一例としてパーソナルコンピュータ)を用いて予め生成される。また、図2に示すように、シナリオデータDSは、レイヤー数情報DLおよび画像データ指定情報DR,DR・・がフレーム1(第1フレーム)からフレームN(第Nフレーム)の各フレーム毎に記録された複数のレコードで構成されている。レイヤー数情報DLは、そのフレームで表示させる表示画像GI(図7参照)を構成する画像G(一例として、図7に示す画像G1〜G3)の数(すなわち、レイヤー数)を示す情報で構成されている。画像データ指定情報DRは、1レコード内に上記のレイヤー数情報DLによって示された数だけ記録され、それぞれが所定の画像データDGを特定可能な情報で構成されている。
【0021】
カラーパレットデータDPは、図3に示すように、一例として256色分の色情報DC,DC・・で構成されると共に、各色情報DCに対して000番から255番までのパレット番号PNが個別的に付与されている。また、この画像表示装置1において使用されるカラーパレットデータDPは、例えばパレット番号PNが255番の色情報DCが「透明色」を示す情報で構成されている。画像データDGは、本発明における原画像データに相当するインデックスカラー形式の画像データであって、257色以上の画像G(一例として図6に示す画像G1)における各画素毎の画素値情報(パレット番号)を8ビットで記録可能なデータ形式が採用されている。この場合、画素値情報を8ビットで記録するためには、前述したように、1つのカラーパレットデータDP内の色情報DCの数を256以下とする必要がある。したがって、この画像表示装置1において使用される画像データDGでは、前述したカラーパレットデータDPを2つ以上参照させることによって257色以上の色を8ビットの情報(パレット番号)で指定可能となっている。具体的には、図4に示すように、この画像データDGは、ヘッダ部DHと、複数のデータブロックDB1,DB2・・DBN(データブロックDB)とを含んで構成されている。
【0022】
ヘッダ部DHには、画像データDGに対応する画像Gの画像サイズを示す画像サイズ情報や、画像データDGのデコード(復号化)時に参照するカラーパレットデータDPの数を示す使用パレット数情報などの各種情報が記録されている。データブロックDB(本発明における「画素値情報ブロック」)には、使用パレット情報と、画像Gを構成する各画素毎の色を特定するためのパレット番号PN(画素値情報)とが記録されている。この場合、例えば、画像G内で使用する色が257色以上512色以下のときには、カラーパレットデータDP1,DP2を用いて各画素の画素値情報が記録される。この場合には、カラーパレットデータDP1のパレット番号PNを指定する画素についての画素値情報がグループ化されたデータブロックDB1と、カラーパレットデータDP2のパレット番号PNを指定する画素についての画素値情報がグループ化されたデータブロックDB2とを含んで画像データDGが構成される。
【0023】
また、画像G内で使用する色が513色以上768色以下のときには、カラーパレットデータDP1〜DP3を用いて各画素の画素値情報が記録される。この場合には、カラーパレットデータDP1のパレット番号PNを指定する画素についての画素値情報がグループ化されたデータブロックDB1と、カラーパレットデータDP2のパレット番号PNを指定する画素についての画素値情報がグループ化されたデータブロックDB2と、カラーパレットデータDP3のパレット番号PNを指定する画素についての画素値情報がグループ化されたデータブロックDB3とを含んで画像データDGが構成される。なお、画像データDGのデータ構造は、上記の例に限定されるものではなく、例えば、画像G内で使用する色が300色のときに、それぞれ100色分の色情報が記録されたカラーパレットデータDP1〜DP3を用いてデータブロックDB1〜DB3を含む画像データDGを構成することもできる。
【0024】
一方、シナリオデータ記憶部2は、前述したシナリオデータDSを記憶する。キャラクタデータ記憶部3は、本発明における第1および第2の記憶部に相当し、複数のカラーパレットデータDP,DP・・、および複数の画像データDG,DG・・を記憶する。制御部4は、VDP5およびデコードデータ管理部6と相俟って本発明における表示制御部を構成し、アニメーション画像を表示させるための各種の表示制御を実行する。具体的には、制御部4は、各データDS,DG,DPの読み出し処理、読み出したシナリオデータDSに基づく画像データDGの特定処理、画像データDGで使用するカラーパレットデータDPの特定処理、および画像データDGやカラーパレットデータDPのVDP5への転送処理などを実行する。VDP5は、図1に示すように、制御部4によって転送されたカラーパレットデータDPを記憶するパレットデータ記憶部5aを備えている。また、VDP5は、制御部4によって転送されたカラーパレットデータDPを参照して画像データDGをデコードしてデコード画像データDDを生成すると共に、生成したデコード画像データDDをデコードデータ管理部6を介してデコードデータ記憶部7に記憶させる。さらに、VDP5は、デコードデータ管理部6を介して読み出したデコード画像データDD,DD・・をスクリーンバッファ8a,8b(以下、区別しないときには「スクリーンバッファ8」ともいう)のいずれかに転送する(デコード画像データDDに対応する画像を仮想的に描画する)ことにより、スクリーンバッファ8内に各フレーム毎の表示用画像データDIを生成する。
【0025】
デコードデータ管理部6は、VDP5によって出力されたデコード画像データDDをデコードデータ記憶部7に記憶させると共に、VDP5によって指定されたデコード画像データDDをデコードデータ記憶部7から読み出してVDP5に出力する。デコードデータ記憶部7は、本発明における第3の記憶部に相当し、VDP5によってデコードされたデコード画像データDDをデコードデータ管理部6の制御下で記憶する。スクリーンバッファ8は、表示用画像データDIの生成用のビデオメモリであって、VDP5によって転送されたデコード画像データDD,DD・・(表示用画像データDI)を記憶する。この場合、スクリーンバッファ8aは、奇数フレームについてのデコード画像データDD,DD・・(表示用画像データDI)を記憶し、スクリーンバッファ8bは、偶数フレームについてのデコード画像データDD,DD・・(表示用画像データDI)を記憶する。表示部9は、特に限定されないが、一例としてカラー表示可能な液晶パネルで構成され、スクリーンバッファ8内に生成された表示用画像データDIに基づく各種のアニメーション画像を表示する。
【0026】
次に、画像表示装置1による表示画像の表示方法について、図面を参照して説明する。
【0027】
この画像表示装置1では、図外の電源スイッチが投入された際に、制御部4、VDP5およびデコードデータ管理部6によって図5に示す画像表示処理20が開始される。この画像表示処理20では、まず、制御部4がシナリオデータ記憶部2からシナリオデータDSを読み出す(ステップ21)。次に、制御部4は、読み出したシナリオデータDS内のレイヤー数情報DLに基づいて、そのフレーム内で生成する表示用画像データDIのレイヤー数(すなわち、表示用画像データDIの生成に要する画像データDGの数)を特定する(ステップ22)。次いで、制御部4は、シナリオデータDSにおける画像データ指定情報DRに基づいて、最初にデコードする画像データDGを特定する(ステップ23)。次に、制御部4は、特定した画像データDGをデコードしたデコード画像データDDがデコードデータ記憶部7に存在するか否かをデコードデータ管理部6に確認させる(ステップ24)。この際に、画像表示処理20の開始当初にはデコードデータ記憶部7にはデコード画像データDDが記憶されていない。このため、制御部4は、デコードデータ管理部6の報知結果に基づいてデコード画像データDDが存在しないと判別して、ステップ23で特定した画像データDGをキャラクタデータ記憶部3から読み出してVDP5に転送する(ステップ25)。
【0028】
一方、VDP5は、転送された画像データDGのヘッダ部DH内に記録されている情報に基づいて、その画像データDGの画像サイズと、使用パレット数(すなわち、データブロックDBの数)とを特定する。次いで、VDP5は、特定した情報に従って画像データDGをデコードする。具体的には、制御部4によって転送された画像データDGが例えば図6に示す画像データDG1のようにデータブロックDB1〜DB3の3つのデータブロックDBで構成されているときには、VDP5は、まず、データブロックDB1に記録された画素値情報のデコードを実行する。この際に、VDP5は、データブロックDB1内の使用パレット情報に基づいて、データブロックDB1内の画素値情報によって指定されるカラーパレットデータDPを特定し、特定したカラーパレットデータDP(一例として、カラーパレットデータDP1)をパレットデータ記憶部5aにロードする(ステップ26)。具体的には、VDP5は、特定したカラーパレットデータDP1の転送を制御部4に要求する。これに応じて制御部4は、要求されたカラーパレットデータDP1をキャラクタデータ記憶部3から読み出してVDP5のパレットデータ記憶部5aに転送する。
【0029】
次いで、VDP5は、パレットデータ記憶部5aに記憶させたカラーパレットデータDPを参照してデータブロックDB1内の各画素値情報(パレット番号PN)をデコードする(ステップ27)。この際には、画素値情報として各画素毎に記録されたパレット番号PNに基づいてカラーパレットデータDP内の所定の色情報DCを特定し、特定した色情報DCをその画素の画素値として決定してデコードデータ記憶部7に記憶させる。この処理をデータブロックDB1内のすべての画素値情報に基づいて各画素毎に順次実行することにより、デコードデータ記憶部7には、図6に示すように、データブロックDB1内の画素値情報をデコードしたデコード画像データDx1(デコード画像データDD1の一部)が生成される。なお、同図のデコード画像データDx1〜Dx3は、対応するデータブロック内にパレット番号PN(画素値情報)が記録された画素の位置を概念的に図示している。この場合、デコード画像データDx1では、左下がりの斜線で示す部位に対応する画素に対してカラーパレットデータDP1内の色情報DC,DC・・のうちのパレット番号1〜256のいずれかの色情報DCに対応する色が指定されている。また、白色で示す部位に対応する画素に対しては、この段階ではいずれの色情報DCも決定されておらず、未確定状態となっている。つまり、データブロックDB1には、すべての画素に対していずれかのパレット番号PNが記録されているのではなく、パレット番号PN1内の色情報DCを指定する画素についてのみ画素値情報が記録されている。また、データブロックDB2には、データブロックDB1によっていずれかの色情報DCを指定された画素を除く画素(同図に網線で示す部位の画素)に対してカラーパレットデータDP2内の色情報DCを指定するパレット番号PNが記録されている。同様にして、ロックDB3には、データブロックDB1,DB2によっていずれかの色情報DCを指定された画素を除く画素(同図に右下がりの斜線で示す部位の画素)に対してカラーパレットデータDP3内の色情報DCを指定するパレット番号PNが記録されている。したがって、後述するようにデータブロックDB1〜DB3のすべてをデコードすることによって、画像G1を構成するすべての画素についての色情報DCが特定されることとなる。
【0030】
続いて、VDP5は、画像データDG1内のすべてのデータブロックDB(この場合、データブロックDB1〜DB3)内の画素値情報のデコードが完了したか否かを判別する(ステップ28)。この際に、VDP5は、データブロックDB2,DB3についてのデコードが完了していないと判別してステップ26を実行する。具体的には、VDP5は、データブロックDB2内の使用パレット情報に基づいて、データブロックDB2内の画素値情報のデコード時に参照するカラーパレットデータDP2を特定し、特定したカラーパレットデータDP2をパレットデータ記憶部5aにロードする。次に、VDP5は、ロードしたカラーパレットデータDP2を参照してデータブロックDB2内の画素値情報をデコードする(ステップ27)。この際に、VDP5は、図6に示すデコード画像データDx2において網線で示す部位に対応する画素についての色情報DCをデコード画像データDx1の対応する画素(色情報DCが未確定状態の画素)の色情報DCとして追記する(デコード画像データDx1,Dx2の合成)。次いで、VDP5は、データブロックDB1,DB2のデコードと同様にして、データブロックDB3内の画素値情報をデコードする。これにより、デコードデータ記憶部7内には、データブロックDB1をデコードしたデコード画像データDx1と、データブロックDB2をデコードしたデコード画像データDx2と、データブロックDB3をデコードしたデコード画像データDx3とからなるデコード画像データDD1(画像データDG1をデコードしたデータ)が生成される。この場合、デコード画像データDx1〜Dx3が互いに異なるカラーパレットデータDP1〜DP3を参照してデコードされているため、各カラーパレットデータDP毎に互いに異なる色情報DCを用いているとすれば、画像データDD1を構成する各画素には、766色(各カラーパレットデータDPの256色目が透明色で共通のため)のうちのいずれかの色がデコードされている。
【0031】
次に、VDP5は、ステップ28において、すべてのデータブロックDBについてのデコードが完了したと判別したときに、デコードデータ管理部6に対してデコードデータ記憶部7からデコード画像データDD1を読み出させ、そのデコード画像データDD1をスクリーンバッファ8aに転送する(ステップ29)。この際に、VDP5は、必要に応じて(シナリオデータDSに記録されている指示に従い)デコード画像データDD1に対して所定の画像加工処理(画像拡大処理、画像縮小処理または画像回転処理など)を実行する。同時に、VDP5は、スクリーンバッファ8aに対する画像データDG1の転送を完了した旨を制御部4に報知する。これに応じて、制御部4は、フレーム1を構成するすべてのレイヤーに関するデコード画像データDDがスクリーンバッファ8aに転送されたか否かを判別する(ステップ30)。この際に、制御部4は、例えば画像データDG2,DG3についてのデコード画像データDD2,DD3の転送を完了していないと判別して、次にデコードする画像データDG(この場合、画像データDG2)を特定する(ステップ23)。この後、シナリオデータDSにおけるレイヤー数情報DLによって指定された数だけステップ23〜29を繰り返すことにより、図7に示すように、スクリーンバッファ8aには、デコード画像データDD1〜DD3が所定の順序で重ね合わされた表示用画像データDIが生成される。
【0032】
次いで、制御部4は、ステップ30において、フレーム1を構成するすべてのレイヤーに関するデコード画像データDDがスクリーンバッファ8aに転送されたと判別したときに、フレーム1についての表示画像GI(図7参照)の表示タイミングが到来するまで待機(タイミング到来を監視)する(ステップ31)。表示タイミングが到来したときには、制御部4は、表示部9に対してスクリーンバッファ8a内の表示用画像データDIに基づく表示画像GIを表示させると共に(ステップ32)、VDP5に対して表示用画像データDIを生成するバッファをスクリーンバッファ8aからスクリーンバッファ8bに切り替えさせる(ステップ33)。この後、フレーム1についての上記の一連の処理と同様にして、フレーム2〜フレームNについてステップ22〜33を順に実行することにより、表示部9には、各表示用画像データDI,DI・・にそれぞれ対応する表示画像GI,GI・・が例えば1秒間に48フレームのフレームレート(本発明における所定時間間隔の一例)で表示される。この際に、制御部4は、いずれかのフレームにおいてデコードした画像データDGを再び使用するとき(その画像データDGをデコードしたデコード画像データDDがデコードデータ記憶部7に存在するとき)には(ステップ24)、デコードデータ管理部6に対して対応するデコード画像データDDをデコードデータ記憶部7から読み出させてVDP5に出力させる(ステップ29)。これにより、同一の画像データDGに対する重複したデコード処理の実行が回避される。また、制御部4は、すべてのフレームについての表示画像GIを表示し終えたときに(ステップ34)、この画像表示処理20を終了する。
【0033】
このように、この画像表示装置1によれば、各データブロックDB,DB・・のそれぞれに関連付けられた各カラーパレットデータDP,DP・・を参照して各データブロックDB,DB・・内の各画素値情報をデコードすると共にデコードしたデータを既にデコードしているデータに追記することによってデコード画像データDDを生成する表示制御方法を採用したことにより、一つのカラーパレットデータDP内に規定される色数よりも多色の表示画像GIを表示させることができる。この場合、この表示制御方法に従って表示画像GIを表示することにより、画素値情報(パレット番号)が例えば16ビットで記録された一般的な画像データを使用する表示制御方法と比較して、画素値情報(パレット番号PN)が8ビットで記録された画像データDGの読み出しに要する時間が短時間のため、高画質の表示画像GIをこま落ちさせることなくスムーズに表示することができる。また、複数の画像データDG,DG・・によって多色の表示画像を表示させる方法では、各画像データDGをデコードした各デコード画像データDDのそれぞれに画像加工処理を実行しなくてはならないのに対し、この表示制御方法によれば、一つのデコード画像データDDに対して一回の画像加工処理を実行するだけでよいため、高フレームレートでアニメーション画像を表示させることができる。
【0034】
また、この画像表示装置1によれば、複数のデコード画像データDD,DD・・に対応する各画像G,G・・を仮想的に重ね合わせて表示用画像データDIを生成する表示制御方法を採用したことにより、1つのデコード画像データDDのみからなる表示用画像データDIに基づいて表示画像GIを表示させるのと比較して、例えば複数のキャラクタを登場させた趣向性の高い表示画像GIを表示させることができる。さらに、この画像表示装置1によれば、生成した表示用画像データDIを所定時間間隔で表示部9に出力してアニメーション画像を表示させる表示制御方法を採用したことにより、こま落ちを回避するために色数の制限やフレームレートの低減などを実施することなく、多色で高画質の表示画像からなる趣向性の高いアニメーション画像を表示させることができる。また、この画像表示装置1によれば、デコードデータ記憶部7に記憶されているデコード画像データDDに対応する画像データDGを使用する表示画像GIを表示させるときに、デコード画像データDDをデコードデータ記憶部7から読み出して表示用画像データDIを生成することにより、同一の画像データDGに対する重複したデコード処理を回避することができるため、アニメーション表示に際しての表示制御部(この場合、制御部4およびVDP5)の負担を軽減することができる。この結果、アニメーション画像をよりスムーズに表示することができる。
【0035】
なお、本発明は、上記した発明の実施の形態に限定されない。例えば、本発明の実施の形態では、256色分の色情報DC,DC・・が記録されたカラーパレットデータDPを使用するインデックスカラー形式の画像データDGに基づいて各種の表示画像GIを表示する例について説明したが、本発明はこれに限定されず、255色以下、または257色以上の色情報DC,DC・・が記録されたカラーパレットデータを使用するインデックスカラー形式の画像データDGに基づいて各種の表示画像GIを表示することができる。
【0036】
【発明の効果】
以上のように、本発明に係る表示制御方法、表示制御装置および表示装置によれば、各画素値情報ブロックのそれぞれに関連付けられた各カラーパレットデータを参照して各画素値情報ブロック内の各画素値情報をデコードすると共にデコードしたデータを既にデコードしているデータに追記することによってデコード画像データを生成することにより、一つのカラーパレットデータ内に規定される色数よりも多色の表示画像を表示させることができる。この場合、この表示制御方法に従って表示画像を表示することにより、画素値情報(パレット番号)が例えば16ビットで記録された一般的な原画像データを使用する表示制御方法と比較して、画素値情報(パレット番号)が例えば8ビットで記録された原画像データの読み出しに要する時間が短時間のため、高画質の表示画像をこま落ちさせることなくスムーズに表示することができる。また、複数の原画像データによって多色の表示画像を表示させる方法では、各原画像データをデコードした各デコード画像データのそれぞれに画像加工処理を実行しなくてはならないのに対し、この表示制御方法によれば、一つのデコード画像データに対して一回の画像加工処理を実行するだけでよいため、高フレームレートでアニメーション画像を表示させることができる。
【0037】
また、本発明に係る表示制御方法、表示制御装置および表示装置によれば、複数のデコード画像データに対応する各画像を仮想的に重ね合わせて表示用画像データを生成することにより、1つのデコード画像データのみからなる表示用画像データに基づいて表示画像を表示させるのと比較して、例えば複数のキャラクタを登場させた趣向性の高い表示画像を表示させることができる。さらに、本発明に係る表示制御方法、表示制御装置および表示装置によれば、生成した表示用画像データを所定時間間隔で表示部に出力してアニメーション画像を表示させることにより、こま落ちを回避するために色数の制限やフレームレートの低減などを実施することなく、多色で高画質の表示画像からなる趣向性の高いアニメーション画像を表示させることができる。また、本発明に係る表示制御方法、表示制御装置および表示装置によれば、記憶部(第3の記憶部)に記憶されているデコード画像データに対応する原画像データを使用する表示画像を表示させるときに、デコード画像データを記憶部から読み出して表示用画像データを生成することにより、同一の原画像データに対する重複したデコード処理を回避することができるため、アニメーション表示に際しての表示制御部の負担を軽減することができる。この結果、アニメーション画像をよりスムーズに表示することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態に係る画像表示装置1の構成を示すブロック図である。
【図2】シナリオデータDSについてのデータ構造の一例を示すデータ構造図である。
【図3】カラーパレットデータDPについてのデータ構造の一例を示すデータ構造図である。
【図4】画像データDGについてのデータ構造の一例を示すデータ構造図である。
【図5】画像表示装置1によって実行される画像表示処理20のフローチャートである。
【図6】デコード画像データDD1の生成手順を説明するための説明図である。
【図7】表示用画像データDIの生成手順を説明するための説明図である。
【符号の説明】
1 画像表示装置
2 シナリオデータ記憶部
3 キャラクタデータ記憶部
4 制御部
5 VDP
5a パレットデータ記憶部
6 デコードデータ管理部
7 デコードデータ記憶部
8a,8b スクリーンバッファ
9 表示部
20 画像表示処理
DB1〜DBN データブロック
DC 色情報
DD デコード画像データ
DG 画像データ
DH ヘッダ部
DI 表示用画像データ
DL レイヤー数情報
DP カラーパレットデータ
DR 画像データ指定情報
DS シナリオデータ
Dx デコード画像データ
G 画像
GI 表示画像
PN パレット番号
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention decodes original image data in index color format with reference to color palette data to generate decoded image data, and generates and outputs display image data based on the generated decoded image data for display. The present invention relates to a display control method and a display control device for causing a display unit to display a display image, and a display device configured to display a display image according to the display control method.
[0002]
[Prior art]
For example, in a display device (for example, a variable display device 12 disclosed in Japanese Patent Application Laid-Open No. 10-244444) mounted on a game machine such as a pachinko machine and displaying various display images, an external device (for example, a personal computer) is used. By generating display image data based on a large number of image data generated in advance using, moving and displaying a still image based on the display image data or switching a plurality of still images at a predetermined display position at high speed. For example, a moving image-like display image (hereinafter, also referred to as an “animation image”) is displayed on the display unit. In this case, when displaying an animation image, it is necessary to perform high-speed switching display of several tens of frames per second. Therefore, in this type of display device, image data in the index color format is used in order to be able to execute reading processing from the storage unit and the like in a short time. In this index color format image data, since a pallet number designating one of the color information recorded in the color pallet data is recorded as each pixel value information, a direct color information is recorded for each pixel. The data capacity is smaller than that of color image data.
[0003]
When displaying an animation image on the display unit by this display device, first, scenario data in which a display procedure (scenario) of the animation image is recorded is read from the storage unit. Next, in accordance with the read scenario data, the image data used in the first frame and the color pallet data referred to when decoding the image data are read from the storage unit. Next, according to the pallet number of each pixel recorded in the data block (pixel value information block) in the image data, the color information of the corresponding pallet number is developed (stored) in the decode cache (decoding the image data). Then, the decoded image data is generated. Similarly, for other image data used in the first frame, the corresponding color palette data is read out and sequentially decoded. Next, display image data is generated in the screen buffer by transferring each of the generated decoded image data to the screen buffer. At this time, image processing (image enlargement processing, image reduction processing, image rotation processing, etc.) specified by the scenario data is performed on the image corresponding to each decoded image data. Next, the generated display image data is output to the display unit. Thereby, the still image (display image) of the first frame in the animation image is displayed on the display unit. By executing this series of image processing sequentially for each frame according to the scenario data also for the second and subsequent frames, an animation image as if various characters are moving is displayed on the display unit.
[0004]
[Patent Document 1]
JP-A-10-244444 (pages 3-6)
[0005]
[Problems to be solved by the invention]
However, the conventional display device has the following problems. That is, in the conventional display device, the image data of the index color format is used in order to be able to read out the image data in a short time. In this case, the color pallet data referred to when decoding the image data in the index color format is generally configured by recording color information of 256 colors, and a different 8-bit pallet number is assigned to each color information. Have been. On the other hand, today's image display devices display high-quality display images such as characters represented by gradation images having a smooth color change, natural images (for example, images of a player's face), and the like. There is a demand for a high degree of interest displayed at a frame rate. However, in order to display a highly attractive gradation image or natural image (hereinafter also referred to as a “multicolor image”), it is necessary to adopt a configuration in which 256 or more colors can be used in one image data. There is. However, when such a configuration is adopted, the pallet number given to each color information in the color pallet data is necessarily 8 bits or more (16 bits as an example). Therefore, since the data capacity of the entire image data increases due to the increase in the data length of the pixel value information (pallet number) for each pixel, it takes time to read the image data. For this reason, the conventional display control method has a problem that it is difficult to display a multicolor image at a high frame rate.
[0006]
In this case, a display control method for displaying one multicolor image by synthesizing a plurality of image data in which the number of colors is set to 256 colors or less can be considered. However, in this display control method, it is necessary to execute image processing for each image data to be image-combined when generating display image data. For this reason, as a result of increasing the number of image processing processes to be executed in one frame, it takes time to generate display image data, and as a result, images to be displayed are dropped, resulting in a smooth display image ( It is difficult to display an animation image).
[0007]
The present invention has been made in view of such a problem, and has as its main object to provide a display control method, a display control device, and a display device capable of smoothly displaying a multi-color, high-quality display image.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, a display control method according to the present invention is directed to a method for converting original image data in an index color format in which a pallet number designating any color information in color pallet data is recorded as pixel value information for each pixel. Display control for generating decoded image data by decoding with reference to the color palette data and generating and outputting display image data based on the generated decoded image data to display a display image on a display unit The method according to claim 1, wherein the original image data has the pallet number specifying one of the color information of the plurality of color pallet data recorded as the respective pixel value information, and includes the same color pallet data. Are grouped by the pixel value information that specifies the color information of The plurality of pixel value information blocks associated with the respective pixel value information blocks, and the respective pixel value information in the respective pixel value information blocks with reference to the respective color palette data associated with the respective pixel value information blocks. And the decoded image data is generated by appending the decoded data to the already decoded data.
[0009]
Further, in the display control method according to the present invention, in the display control method described above, the display image data is generated by virtually superimposing images corresponding to a plurality of the decoded image data.
[0010]
Furthermore, in the display control method according to the present invention, in the display control method described above, the generated display image data is output to the display unit at predetermined time intervals to display an animation image on the display unit.
[0011]
Further, in the display control method according to the present invention, in the display control method described above, the generated decoded image data is stored in a storage unit, and the original image data corresponding to the decoded image data stored in the storage unit is stored. When the display image is displayed, the decoded image data is read from the storage unit to generate the display image data.
[0012]
The display control device according to the present invention may further include a first storage unit that stores color pallet data in which a plurality of pieces of color information are recorded, and a pallet number that designates any one of the pieces of color information in the color pallet data. A second storage unit for storing original image data in an index color format recorded as pixel value information for each pixel; and generating decoded image data by decoding the original image data with reference to the color palette data. A display control unit for generating a display image data based on the generated decoded image data and outputting the display image data to display a display image on a display unit; The unit stores a plurality of the color palette data, and the second storage unit stores any one of the plurality of color palette data. The pallet numbers specifying the color information are recorded as the respective pixel value information, and are grouped by the pixel value information specifying the color information in the same color pallet data, and the respective color pallet data are Stores the original image data including a plurality of pixel value information blocks associated with the, the display control unit refers to the respective color palette data associated with each of the respective pixel value information blocks The decoded image data is generated by decoding the pixel value information in each pixel value information block and adding the decoded data to the already decoded data.
[0013]
Further, in the display control device according to the present invention, in the display control device described above, the display control unit generates the display image data by virtually superimposing images corresponding to a plurality of the decoded image data. .
[0014]
Furthermore, in the display control device according to the present invention, in the display control device described above, the display control unit outputs the generated display image data to the display unit at predetermined time intervals to thereby display an animation image on the display unit. Is displayed.
[0015]
Further, the display control device according to the present invention is the display control device described above, further comprising a third storage unit that stores the decoded image data, wherein the display control unit stores the generated decoded image data in the third storage device. When the display image using the original image data corresponding to the decoded image data stored in the third storage unit is displayed in the third storage unit, the decoded image data is stored in the third storage unit. The display image data is read out from the unit.
[0016]
Further, a display device according to the present invention includes the above-described display control device and a display unit.
[0017]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, preferred embodiments of a display control method, a display control device, and a display device according to the present invention will be described.
[0018]
First, the configuration of the image display device 1 configured to display various display images according to the display control method according to the present invention and the data structure of each data used when displaying the display images will be described with reference to the drawings. I do.
[0019]
The image display device 1 is a display device that is mounted on a game machine, a display for advertising, and displays various animation images and the like, and includes a display control device and a display unit according to the present invention. I have. Specifically, as shown in FIG. 1, the image display device 1 includes a scenario data storage unit 2, a character data storage unit 3, a control unit 4, a VDP 5, a decode data management unit 6, a decode data storage unit 7, a screen buffer 8a and 8b and a display unit 9, and includes scenario data DS, a plurality of image data DG1, DG2 (hereinafter, also referred to as "image data DG" when not distinguished), and a plurality of color pallet data DP1, DP2. Hereinafter, when no distinction is made, an animation image can be displayed based on “color palette data DP”.
[0020]
In this case, the scenario data DS is data for specifying a display procedure for an animation image displayed by the image display device 1 and is generated in advance using an external device (not shown) (for example, a personal computer). As shown in FIG. 2, the scenario data DS includes layer number information DL and image data designation information DR, DR... Recorded for each frame from frame 1 (first frame) to frame N (Nth frame). It consists of multiple records. The number-of-layers information DL includes information indicating the number (that is, the number of layers) of the images G (for example, the images G1 to G3 illustrated in FIG. 7) constituting the display image GI (see FIG. 7) to be displayed in the frame. Have been. The image data designation information DR is recorded in one record by the number indicated by the above-mentioned layer number information DL, and each is constituted by information capable of specifying predetermined image data DG.
[0021]
As shown in FIG. 3, the color pallet data DP is composed of, for example, color information DC, DC,... For 256 colors, and a palette number PN from 000th to 255th is individually assigned to each color information DC. Is granted. Further, the color pallet data DP used in the image display device 1 is configured by, for example, information indicating that the color information DC with the pallet number 255 is “transparent color”. The image data DG is index color format image data corresponding to the original image data in the present invention, and pixel value information (palette) for each pixel in the image G of 257 colors or more (the image G1 shown in FIG. 6 as an example). No.) can be recorded in 8 bits. In this case, in order to record the pixel value information in 8 bits, as described above, the number of color information DC in one color pallet data DP needs to be 256 or less. Therefore, in the image data DG used in the image display device 1, 257 or more colors can be designated by 8-bit information (pallet number) by referring to two or more color palette data DP described above. I have. More specifically, as shown in FIG. 4, the image data DG includes a header section DH and a plurality of data blocks DB1, DB2,... DBN (data block DB).
[0022]
The header DH includes image size information indicating the image size of the image G corresponding to the image data DG, and information on the number of pallets used indicating the number of color pallet data DP to be referred to when decoding (decoding) the image data DG. Various information is recorded. In the data block DB (“pixel value information block” in the present invention), pallet information to be used and a pallet number PN (pixel value information) for specifying a color of each pixel constituting the image G are recorded. I have. In this case, for example, when the number of colors used in the image G is 257 or more and 512 or less, pixel value information of each pixel is recorded using the color pallet data DP1 and DP2. In this case, the data block DB1 in which the pixel value information of the pixel specifying the pallet number PN of the color pallet data DP1 is grouped, and the pixel value information of the pixel specifying the pallet number PN of the color pallet data DP2 are The image data DG is configured to include the grouped data blocks DB2.
[0023]
When the number of colors used in the image G is 513 or more and 768 or less, pixel value information of each pixel is recorded using the color pallet data DP1 to DP3. In this case, the data block DB1 in which the pixel value information of the pixel specifying the pallet number PN of the color pallet data DP1 is grouped, and the pixel value information of the pixel specifying the pallet number PN of the color pallet data DP2 are The image data DG is configured to include the grouped data block DB2 and the data block DB3 in which the pixel value information of the pixel specifying the pallet number PN of the color pallet data DP3 is grouped. Note that the data structure of the image data DG is not limited to the above example. For example, when the colors used in the image G are 300 colors, a color palette in which color information for 100 colors is recorded. The image data DG including the data blocks DB1 to DB3 can also be configured using the data DP1 to DP3.
[0024]
On the other hand, the scenario data storage unit 2 stores the above-described scenario data DS. The character data storage unit 3 corresponds to the first and second storage units in the present invention, and stores a plurality of color pallet data DP, DP,... And a plurality of image data DG, DG,. The control unit 4 constitutes a display control unit according to the present invention in cooperation with the VDP 5 and the decode data management unit 6, and executes various display controls for displaying an animation image. Specifically, the control unit 4 reads the data DS, DG, and DP, specifies the image data DG based on the read scenario data DS, specifies the color palette data DP used in the image data DG, and The transfer processing of the image data DG and the color palette data DP to the VDP 5 is executed. As shown in FIG. 1, the VDP 5 includes a pallet data storage unit 5a that stores the color pallet data DP transferred by the control unit 4. The VDP 5 generates the decoded image data DD by decoding the image data DG with reference to the color pallet data DP transferred by the control unit 4, and transmits the generated decoded image data DD via the decode data management unit 6. And store it in the decoded data storage unit 7. Further, the VDP 5 transfers the decoded image data DD, DD,... Read out via the decoded data management unit 6 to one of the screen buffers 8a, 8b (hereinafter, also referred to as “screen buffer 8” when no distinction is made) ( By rendering an image corresponding to the decoded image data DD virtually), display image data DI for each frame is generated in the screen buffer 8.
[0025]
The decode data management unit 6 stores the decode image data DD output by the VDP 5 in the decode data storage unit 7, and reads the decode image data DD specified by the VDP 5 from the decode data storage unit 7 and outputs the read decode image data DD to the VDP 5. The decoded data storage unit 7 corresponds to a third storage unit in the present invention, and stores the decoded image data DD decoded by the VDP 5 under the control of the decoded data management unit 6. The screen buffer 8 is a video memory for generating the display image data DI, and stores the decoded image data DD, DD,... (Display image data DI) transferred by the VDP 5. In this case, the screen buffer 8a stores the decoded image data DD, DD... (Display image data DI) for the odd-numbered frames, and the screen buffer 8b stores the decoded image data DD, DD. Image data DI). Although not particularly limited, the display unit 9 is configured by a liquid crystal panel capable of color display as an example, and displays various animation images based on the display image data DI generated in the screen buffer 8.
[0026]
Next, a method of displaying a display image by the image display device 1 will be described with reference to the drawings.
[0027]
In the image display device 1, when a power switch (not shown) is turned on, the image display processing 20 shown in FIG. 5 is started by the control unit 4, the VDP 5, and the decode data management unit 6. In the image display process 20, first, the control unit 4 reads the scenario data DS from the scenario data storage unit 2 (Step 21). Next, based on the layer number information DL in the read scenario data DS, the control unit 4 determines the number of layers of the display image data DI to be generated in the frame (that is, the image required for generating the display image data DI). The number of data DG) is specified (step 22). Next, the control unit 4 specifies the image data DG to be decoded first based on the image data designation information DR in the scenario data DS (Step 23). Next, the control unit 4 causes the decoded data management unit 6 to check whether or not the decoded image data DD obtained by decoding the specified image data DG exists in the decoded data storage unit 7 (Step 24). At this time, the decoded image data DD is not stored in the decoded data storage unit 7 at the beginning of the image display processing 20. For this reason, the control unit 4 determines that the decoded image data DD does not exist based on the notification result of the decoded data management unit 6, reads the image data DG specified in step 23 from the character data storage unit 3, and stores the read image data DG in the VDP 5. Transfer (step 25).
[0028]
On the other hand, the VDP 5 specifies the image size of the image data DG and the number of pallets used (that is, the number of data blocks DB) based on the information recorded in the header portion DH of the transferred image data DG. I do. Next, the VDP 5 decodes the image data DG according to the specified information. Specifically, when the image data DG transferred by the control unit 4 is configured by three data blocks DB of data blocks DB1 to DB3 like, for example, the image data DG1 shown in FIG. The decoding of the pixel value information recorded in the data block DB1 is executed. At this time, the VDP 5 specifies the color pallet data DP specified by the pixel value information in the data block DB1, based on the pallet information used in the data block DB1, and specifies the specified color pallet data DP (for example, color The pallet data DP1) is loaded into the pallet data storage unit 5a (step 26). Specifically, the VDP 5 requests the control unit 4 to transfer the specified color pallet data DP1. In response, the control unit 4 reads out the requested color pallet data DP1 from the character data storage unit 3 and transfers it to the pallet data storage unit 5a of the VDP 5.
[0029]
Next, the VDP 5 decodes each pixel value information (palette number PN) in the data block DB1 with reference to the color pallet data DP stored in the pallet data storage unit 5a (Step 27). At this time, the predetermined color information DC in the color pallet data DP is specified based on the pallet number PN recorded for each pixel as the pixel value information, and the specified color information DC is determined as the pixel value of the pixel. Then, it is stored in the decoded data storage unit 7. This process is sequentially performed for each pixel based on all the pixel value information in the data block DB1, so that the decoded data storage unit 7 stores the pixel value information in the data block DB1 as shown in FIG. The decoded image data Dx1 (a part of the decoded image data DD1) is generated. Note that the decoded image data Dx1 to Dx3 in the drawing conceptually illustrate the positions of the pixels where the pallet numbers PN (pixel value information) are recorded in the corresponding data blocks. In this case, in the decoded image data Dx1, any one of the color information DC, DC,... Of the palette information 1 to 256 of the color information DC, DC,. The color corresponding to DC is specified. Further, at this stage, no color information DC has been determined for the pixel corresponding to the portion shown in white, and the pixel is in an undetermined state. That is, in the data block DB1, not one of the pallet numbers PN is recorded for all the pixels, but pixel value information is recorded only for the pixels specifying the color information DC in the pallet number PN1. I have. In the data block DB2, the color information DC2 in the color pallet data DP2 for pixels other than the pixels for which any of the color information DC is designated by the data block DB1 (pixels in the portion indicated by the hatched lines in FIG. Is recorded. Similarly, the lock DB3 includes color pallet data DP3 for pixels (pixels indicated by oblique lines falling to the lower right in FIG. 3) excluding pixels for which one of the color information DC is designated by the data blocks DB1 and DB2. A pallet number PN for designating the color information DC in the area is recorded. Therefore, by decoding all of the data blocks DB1 to DB3 as described later, the color information DC for all the pixels constituting the image G1 is specified.
[0030]
Subsequently, the VDP 5 determines whether decoding of the pixel value information in all the data blocks DB (in this case, the data blocks DB1 to DB3) in the image data DG1 is completed (Step 28). At this time, the VDP 5 determines that decoding of the data blocks DB2 and DB3 has not been completed and executes Step 26. Specifically, the VDP 5 specifies the color pallet data DP2 to be referred to when decoding the pixel value information in the data block DB2 based on the pallet information used in the data block DB2, and stores the specified color pallet data DP2 in the palette data. The data is loaded into the storage unit 5a. Next, the VDP 5 decodes the pixel value information in the data block DB2 with reference to the loaded color pallet data DP2 (Step 27). At this time, the VDP 5 converts the color information DC of the pixel corresponding to the portion indicated by the shaded line in the decoded image data Dx2 shown in FIG. 6 into the corresponding pixel of the decoded image data Dx1 (the pixel whose color information DC is undetermined). (Combined decoded image data Dx1 and Dx2). Next, the VDP 5 decodes the pixel value information in the data block DB3 in the same manner as the decoding of the data blocks DB1 and DB2. As a result, the decoded data storage unit 7 includes a decoded image data Dx1 obtained by decoding the data block DB1, a decoded image data Dx2 obtained by decoding the data block DB2, and a decoded image data Dx3 obtained by decoding the data block DB3. Image data DD1 (data obtained by decoding the image data DG1) is generated. In this case, since the decoded image data Dx1 to Dx3 are decoded with reference to different color palette data DP1 to DP3, if different color information DC is used for each color palette data DP, the image data One of 766 colors (because the 256th color of each color pallet data DP is a common transparent color) is decoded in each pixel constituting the DD1.
[0031]
Next, when the VDP 5 determines in step 28 that decoding of all the data blocks DB is completed, the VDP 5 causes the decoded data management unit 6 to read out the decoded image data DD1 from the decoded data storage unit 7, The decoded image data DD1 is transferred to the screen buffer 8a (step 29). At this time, the VDP 5 performs a predetermined image processing process (such as an image enlargement process, an image reduction process, or an image rotation process) on the decoded image data DD1 as necessary (according to an instruction recorded in the scenario data DS). Execute. At the same time, the VDP 5 notifies the control unit 4 that the transfer of the image data DG1 to the screen buffer 8a has been completed. In response, the control section 4 determines whether or not the decoded image data DD for all the layers constituting the frame 1 has been transferred to the screen buffer 8a (Step 30). At this time, for example, the control unit 4 determines that the transfer of the decoded image data DD2 and DD3 for the image data DG2 and DG3 has not been completed, and the image data DG to be decoded next (in this case, the image data DG2) Is specified (step 23). Thereafter, steps 23 to 29 are repeated by the number specified by the layer number information DL in the scenario data DS, so that the decoded image data DD1 to DD3 are stored in the screen buffer 8a in a predetermined order as shown in FIG. Superimposed display image data DI is generated.
[0032]
Next, when the controller 4 determines in step 30 that the decoded image data DD for all the layers constituting the frame 1 has been transferred to the screen buffer 8a, the controller 4 displays the display image GI (see FIG. 7) for the frame 1. It waits until the display timing comes (monitors the arrival of the timing) (step 31). When the display timing has arrived, the control section 4 causes the display section 9 to display the display image GI based on the display image data DI in the screen buffer 8a (step 32), and displays the display image data on the VDP 5 (step 32). The buffer for generating DI is switched from the screen buffer 8a to the screen buffer 8b (step 33). Thereafter, steps 22 to 33 are sequentially executed for frame 2 to frame N in the same manner as the above-described series of processing for frame 1, so that display image data DI, DI. Are displayed, for example, at a frame rate of 48 frames per second (an example of a predetermined time interval in the present invention). At this time, when the control unit 4 uses the image data DG decoded in any of the frames again (when the decoded image data DD obtained by decoding the image data DG exists in the decoded data storage unit 7), In step 24), the corresponding decoded image data DD is read from the decoded data storage unit 7 and output to the VDP 5 (step 29). As a result, the execution of the redundant decoding process for the same image data DG is avoided. When the control unit 4 has finished displaying the display images GI for all the frames (step 34), the image display processing 20 ends.
[0033]
As described above, according to the image display device 1, the color pallet data DP, DP,... Associated with each of the data blocks DB, DB,. By adopting the display control method of generating the decoded image data DD by decoding each pixel value information and adding the decoded data to the already decoded data, it is defined in one color palette data DP. A display image GI having more colors than the number of colors can be displayed. In this case, by displaying the display image GI according to this display control method, the pixel value information (pallet number) is compared with a display control method using general image data recorded with, for example, 16 bits, so that the pixel value information is displayed. Since the time required to read out the image data DG in which information (pallet number PN) is recorded in 8 bits is short, a high-quality display image GI can be displayed smoothly without dropping. In the method of displaying a multi-color display image by a plurality of image data DG, DG,..., Image processing must be performed on each decoded image data DD obtained by decoding each image data DG. On the other hand, according to this display control method, it is only necessary to execute one image processing for one piece of decoded image data DD, so that an animation image can be displayed at a high frame rate.
[0034]
Further, according to the image display device 1, a display control method for generating display image data DI by virtually superimposing images G, G,... Corresponding to a plurality of decoded image data DD, DD,. By adopting, compared to displaying the display image GI based on the display image data DI including only one decoded image data DD, for example, a highly attractive display image GI in which a plurality of characters appear can be displayed. Can be displayed. Further, according to the image display device 1, a display control method of outputting the generated display image data DI to the display unit 9 at predetermined time intervals to display an animation image is employed, thereby avoiding the dropping of frames. It is possible to display a multi-colored high-quality animated image composed of high-quality display images without restricting the number of colors or reducing the frame rate. Further, according to the image display device 1, when displaying the display image GI using the image data DG corresponding to the decoded image data DD stored in the decoded data storage unit 7, the decoded image data DD is converted to the decoded data. By generating the display image data DI by reading from the storage unit 7, it is possible to avoid duplicate decoding processing for the same image data DG. Therefore, the display control unit (in this case, the control unit 4 and the VDP 5) can be reduced. As a result, an animation image can be displayed more smoothly.
[0035]
Note that the present invention is not limited to the above embodiment of the present invention. For example, in the embodiment of the present invention, various display images GI are displayed based on image data DG in the index color format using color pallet data DP in which color information DC of 256 colors is recorded. Although an example has been described, the present invention is not limited to this, and is based on image data DG of an index color format using color pallet data in which color information DC, DC,... Of 255 colors or less or 257 colors or more is recorded. Various display images GI can be displayed.
[0036]
【The invention's effect】
As described above, according to the display control method, the display control device, and the display device according to the present invention, each of the pixel value information blocks is referred to by referring to each of the color palette data associated with each of the pixel value information blocks. By generating decoded image data by decoding pixel value information and adding the decoded data to the already decoded data, a display image of more colors than the number of colors specified in one color palette data Can be displayed. In this case, by displaying the display image according to this display control method, the pixel value information (pallet number) is compared with a display control method using general original image data recorded with, for example, 16 bits, so that the pixel value information is displayed. Since the time required to read the original image data in which the information (pallet number) is recorded in, for example, 8 bits is short, a high-quality display image can be smoothly displayed without being dropped. In the method of displaying a multi-color display image using a plurality of original image data, image processing must be performed on each of the decoded image data obtained by decoding each of the original image data. According to the method, it is only necessary to execute one image processing for one piece of decoded image data, so that an animation image can be displayed at a high frame rate.
[0037]
According to the display control method, the display control device, and the display device according to the present invention, one image corresponding to a plurality of decoded image data is virtually superimposed to generate display image data. Compared to displaying a display image based on display image data consisting only of image data, for example, a highly attractive display image in which a plurality of characters appear can be displayed. Further, according to the display control method, the display control device, and the display device according to the present invention, the generated display image data is output to the display unit at predetermined time intervals to display the animation image, thereby avoiding the dropping of frames. For this reason, it is possible to display a multi-color, high-quality animated high-quality display image without limiting the number of colors or reducing the frame rate. Further, according to the display control method, the display control device, and the display device according to the present invention, a display image using original image data corresponding to decoded image data stored in a storage unit (third storage unit) is displayed. In this case, by reading the decoded image data from the storage unit and generating the display image data, it is possible to avoid redundant decoding processing for the same original image data. Can be reduced. As a result, an animation image can be displayed more smoothly.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an image display device 1 according to an embodiment of the present invention.
FIG. 2 is a data structure diagram illustrating an example of a data structure of scenario data DS.
FIG. 3 is a data structure diagram showing an example of a data structure of color pallet data DP.
FIG. 4 is a data structure diagram illustrating an example of a data structure of image data DG.
FIG. 5 is a flowchart of an image display process 20 executed by the image display device 1.
FIG. 6 is an explanatory diagram for describing a procedure for generating decoded image data DD1.
FIG. 7 is an explanatory diagram for describing a procedure for generating display image data DI.
[Explanation of symbols]
1 Image display device
2 Scenario data storage
3 Character data storage
4 control unit
5 VDP
5a Pallet data storage
6 Decode data management unit
7 Decoding data storage unit
8a, 8b screen buffer
9 Display
20 Image display processing
DB1 to DBN data block
DC color information
DD decoded image data
DG image data
DH header part
DI display image data
DL layer number information
DP color palette data
DR image data designation information
DS scenario data
Dx decoded image data
G image
GI display image
PN pallet number

Claims (9)

カラーパレットデータ内のいずれかの色情報を指定するパレット番号が各画素毎の画素値情報として記録されるインデックスカラー形式の原画像データを当該カラーパレットデータを参照してデコードすることによってデコード画像データを生成し、当該生成したデコード画像データに基づいて表示用画像データを生成して出力することによって表示部に表示画像を表示させる表示制御方法であって、
前記原画像データは、複数の前記カラーパレットデータのうちのいずれかの前記色情報を指定する前記パレット番号が前記各画素値情報として記録され、かつ同一の前記カラーパレットデータ内の前記色情報を指定する前記画素値情報毎にグループ化されると共に当該各カラーパレットデータに関連付けられた画素値情報ブロックを複数含んで構成され、
前記各画素値情報ブロックのそれぞれに関連付けられた前記各カラーパレットデータを参照して当該各画素値情報ブロック内の前記各画素値情報をデコードすると共に当該デコードしたデータを既にデコードしているデータに追記することによって前記デコード画像データを生成する表示制御方法。
The decoded image data is obtained by decoding the original image data in the index color format in which the pallet number specifying any color information in the color pallet data is recorded as pixel value information for each pixel with reference to the color pallet data. And a display control method for displaying a display image on a display unit by generating and outputting display image data based on the generated decoded image data,
In the original image data, the pallet number designating any one of the plurality of color pallet data is recorded as the pixel value information, and the color information in the same color pallet data is It is configured to include a plurality of pixel value information blocks that are grouped for each of the specified pixel value information and are associated with each of the color palette data,
The respective pixel value information in the respective pixel value information block is decoded by referring to the respective color palette data associated with each of the respective pixel value information blocks, and the decoded data is converted to data which has already been decoded. A display control method for generating the decoded image data by additionally writing.
複数の前記デコード画像データに対応する各画像を仮想的に重ね合わせて前記表示用画像データを生成する請求項1記載の表示制御方法。2. The display control method according to claim 1, wherein the display image data is generated by virtually superimposing images corresponding to the plurality of decoded image data. 前記生成した表示用画像データを所定時間間隔で前記表示部に出力することによって当該表示部にアニメーション画像を表示させる請求項1または2記載の表示制御方法。The display control method according to claim 1, wherein the generated display image data is output to the display unit at predetermined time intervals to display an animation image on the display unit. 前記生成したデコード画像データを記憶部に記憶させると共に、当該記憶部に記憶されているデコード画像データに対応する前記原画像データを使用する前記表示画像を表示させるときに、当該デコード画像データを前記記憶部から読み出して前記表示用画像データを生成する請求項3記載の表示制御方法。When the generated decoded image data is stored in the storage unit, and when the display image using the original image data corresponding to the decoded image data stored in the storage unit is displayed, the decoded image data is stored in the storage unit. 4. The display control method according to claim 3, wherein the display image data is generated by reading from the storage unit. 複数の色情報が記録されたカラーパレットデータを記憶する第1の記憶部と、前記カラーパレットデータ内のいずれかの前記色情報を指定するパレット番号が各画素毎の画素値情報として記録されるインデックスカラー形式の原画像データを記憶する第2の記憶部と、前記カラーパレットデータを参照して前記原画像データをデコードすることによってデコード画像データを生成すると共に当該生成したデコード画像データに基づいて表示用画像データを生成して出力することによって表示部に表示画像を表示させる表示制御部とを備えた表示制御装置であって、
前記第1の記憶部は、複数の前記カラーパレットデータを記憶し、
前記第2の記憶部は、前記複数のカラーパレットデータのうちのいずれかの前記色情報を指定する前記パレット番号が前記各画素値情報として記録され、かつ同一の前記カラーパレットデータ内の前記色情報を指定する前記画素値情報毎にグループ化されると共に当該各カラーパレットデータに関連付けられた画素値情報ブロックを複数含んで構成された前記原画像データを記憶し、
前記表示制御部は、前記各画素値情報ブロックのそれぞれに関連付けられた前記各カラーパレットデータを参照して当該各画素値情報ブロック内の前記各画素値情報をデコードすると共に当該デコードしたデータを既にデコードしているデータに追記することによって前記デコード画像データを生成する表示制御装置。
A first storage unit for storing color pallet data in which a plurality of pieces of color information are recorded, and a pallet number specifying one of the color information in the color pallet data is recorded as pixel value information for each pixel A second storage unit that stores the original image data in the index color format, and generates decoded image data by decoding the original image data with reference to the color pallet data, and based on the generated decoded image data. A display control unit comprising: a display control unit that displays a display image on a display unit by generating and outputting display image data.
The first storage unit stores a plurality of the color pallet data,
The second storage unit stores the pallet number specifying one of the color information of the plurality of color pallet data as the pixel value information, and stores the color in the same color pallet data. Storing the original image data configured to include a plurality of pixel value information blocks associated with each of the color pallet data and grouped for each of the pixel value information specifying information;
The display control unit decodes each of the pixel value information in each of the pixel value information blocks by referring to each of the color pallet data associated with each of the pixel value information blocks, and already outputs the decoded data. A display control device that generates the decoded image data by appending to the data being decoded.
前記表示制御部は、複数の前記デコード画像データに対応する各画像を仮想的に重ね合わせて前記表示用画像データを生成する請求項5記載の表示制御装置。The display control device according to claim 5, wherein the display control unit generates the display image data by virtually superimposing images corresponding to the plurality of decoded image data. 前記表示制御部は、前記生成した表示用画像データを所定時間間隔で前記表示部に出力することによって当該表示部にアニメーション画像を表示させる請求項5または6記載の表示制御装置。The display control device according to claim 5, wherein the display control unit displays the animation image on the display unit by outputting the generated display image data to the display unit at predetermined time intervals. 前記デコード画像データを記憶する第3の記憶部を備え、
前記表示制御部は、前記生成したデコード画像データを前記第3の記憶部に記憶させると共に、当該第3の記憶部に記憶されているデコード画像データに対応する前記原画像データを使用する前記表示画像を表示させるときに、当該デコード画像データを前記第3の記憶部から読み出して前記表示用画像データを生成する請求項7記載の表示制御装置。
A third storage unit that stores the decoded image data;
The display control unit stores the generated decoded image data in the third storage unit and uses the original image data corresponding to the decoded image data stored in the third storage unit. The display control device according to claim 7, wherein when displaying an image, the decoded image data is read from the third storage unit to generate the display image data.
請求項5から8のいずれかに記載の表示制御装置と前記表示部とを備えている表示装置。A display device, comprising: the display control device according to claim 5; and the display unit.
JP2002333642A 2002-11-18 2002-11-18 Method and device for display control and display device Withdrawn JP2004170501A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002333642A JP2004170501A (en) 2002-11-18 2002-11-18 Method and device for display control and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002333642A JP2004170501A (en) 2002-11-18 2002-11-18 Method and device for display control and display device

Publications (1)

Publication Number Publication Date
JP2004170501A true JP2004170501A (en) 2004-06-17

Family

ID=32698297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002333642A Withdrawn JP2004170501A (en) 2002-11-18 2002-11-18 Method and device for display control and display device

Country Status (1)

Country Link
JP (1) JP2004170501A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009018121A (en) * 2007-07-13 2009-01-29 Daiman:Kk Game machine
JP2011010922A (en) * 2009-07-03 2011-01-20 Daito Giken:Kk Game machine
JP2012228610A (en) * 2012-08-29 2012-11-22 Daiichi Shokai Co Ltd Game machine
JP2012231953A (en) * 2011-04-28 2012-11-29 Daiichi Shokai Co Ltd Game machine
JP2014144315A (en) * 2014-01-15 2014-08-14 Daiichi Shokai Co Ltd Game machine
JP2015083271A (en) * 2015-02-05 2015-04-30 株式会社大一商会 Game machine
JP2016163827A (en) * 2016-06-16 2016-09-08 株式会社大一商会 Game machine

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009018121A (en) * 2007-07-13 2009-01-29 Daiman:Kk Game machine
JP2011010922A (en) * 2009-07-03 2011-01-20 Daito Giken:Kk Game machine
JP2012231953A (en) * 2011-04-28 2012-11-29 Daiichi Shokai Co Ltd Game machine
JP2012228610A (en) * 2012-08-29 2012-11-22 Daiichi Shokai Co Ltd Game machine
JP2014144315A (en) * 2014-01-15 2014-08-14 Daiichi Shokai Co Ltd Game machine
JP2015083271A (en) * 2015-02-05 2015-04-30 株式会社大一商会 Game machine
JP2016163827A (en) * 2016-06-16 2016-09-08 株式会社大一商会 Game machine

Similar Documents

Publication Publication Date Title
EP0592120B1 (en) Image processing system
JP3656857B2 (en) Full-motion video NTSC display device and method
JPH0247774A (en) Display system and method
JPH08202318A (en) Display control method and its display system for display device having storability
JPH09245179A (en) Computer graphic device
JP2002132224A (en) Liquid crystal display device and liquid crystal driving method
US20100039562A1 (en) Source and output device-independent pixel compositor device adapted to incorporate the digital visual interface (DVI)
JP2004170501A (en) Method and device for display control and display device
US20050046631A1 (en) System and method for communicating digital display data and auxiliary processing data within a computer graphics system
JPH04174497A (en) Display controlling device
CN1828718A (en) Real-time acquisition device for full-screen picture and its method
JP3422453B2 (en) Image display processing device
KR100840379B1 (en) Display Driver able to storage many pages of image data and Method for reproducing the image data
JP2002149134A (en) Color image display method and device
JPH01229382A (en) Picture processing system
JP2004294973A (en) Digital image processor
JP2002091421A (en) Method and device for controlling picture display, and computer-readable recording medium
JP4241078B2 (en) Content display device
JP2005017867A (en) Image display device
CA2412896C (en) Image processing system
JP2008276356A (en) Data signal processing device, image processing device, image output device, and data signal processing method
JP2000163033A (en) Picture display device
JP2007279780A (en) Image processor
JPH03257617A (en) Double buffer control system for graphic display device
JP2004198930A (en) Display control method and image display device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060207