JPH05204351A - Color image display method - Google Patents

Color image display method

Info

Publication number
JPH05204351A
JPH05204351A JP4177939A JP17793992A JPH05204351A JP H05204351 A JPH05204351 A JP H05204351A JP 4177939 A JP4177939 A JP 4177939A JP 17793992 A JP17793992 A JP 17793992A JP H05204351 A JPH05204351 A JP H05204351A
Authority
JP
Japan
Prior art keywords
color
image
bitmap
composite
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4177939A
Other languages
Japanese (ja)
Inventor
Hajime Fujitani
元 藤谷
Toshiyuki Oda
稔之 織田
Koji Kawakami
浩司 川上
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.)
Hitachi Image Information Systems Inc
Hitachi Ltd
Hitachi Advanced Digital Inc
Original Assignee
Hitachi Image Information Systems Inc
Hitachi Ltd
Hitachi Video and Information System Inc
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 Hitachi Image Information Systems Inc, Hitachi Ltd, Hitachi Video and Information System Inc filed Critical Hitachi Image Information Systems Inc
Priority to JP4177939A priority Critical patent/JPH05204351A/en
Publication of JPH05204351A publication Critical patent/JPH05204351A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To execute image effect such as fade-in/out, cross fade and glow for plural images without increasing bitmap capacity and display circuit scale. CONSTITUTION:A color lookup table (CLUT X) 221 is synthesized from a 201 and a 211 with arithmetic process. A bitmap X 222 is similarly synthesized from a 202 and a 212 with arithmetic process. A synthetic image is displayed by using the CLUT X 221 and the bitmap X 222. Image effect switching in displayed synthetic image with high quality is executed by changing color data in the 221 synthesized by arithmetic process with a time function.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、カラールックアップテ
ーブル(Color Look Up Table:以下CLUTと略す)を
用いたカラー画像の表示に係わり、特に、複数の画像を
切り換えて表示するカラー画像表示方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to display of a color image using a color look-up table (hereinafter abbreviated as CLUT), and more particularly, to a color image display method for switching and displaying a plurality of images. Regarding

【0002】[0002]

【従来の技術】ディジタル処理のカラー画像表示方法で
は、R(赤),G(緑),B(青)3原色それぞれの輝
度レベルをnビットの色データとし、2の3n乗色を表
現する。表示画像の各画素毎に色データを保持し、色表
示を行なう方法では1画素あたり3nビットの表示メモ
リを必要とする。
2. Description of the Related Art In a digital color image display method, the brightness level of each of the three primary colors of R (red), G (green) and B (blue) is used as n-bit color data to express 2 3nth power. .. A method of holding color data for each pixel of a display image and performing color display requires a display memory of 3n bits per pixel.

【0003】これに対して、1画素あたりの情報量をm
ビットの色コードとして、その色コードをCLUTで
R,G,Bの輝度レベルに変換して2のm乗色を表現す
るのがCLUTを用いた色表示方法である。この表示方
法は、CLUTおよび各画素に対応した色コードの集合
であるビットマップから表示画像を構成していて、この
うち、ビットマップの情報量がmに比例するため、画像
情報の情報量が少なくなり、また、色コードをR,G,
Bの輝度レベルに変換するCLUTを変更することによ
って、同じビットマップデータでも容易に表示色を変更
することができるなどの利点がある。
On the other hand, the amount of information per pixel is m
As a bit color code, the color display method using the CLUT is a method of converting the color code into R, G, and B luminance levels by a CLUT and expressing the m-th power of 2 colors. In this display method, a display image is configured from a CLUT and a bitmap that is a set of color codes corresponding to each pixel. Of these, the information amount of the bitmap is proportional to m. The color code is reduced, and the color codes are R, G,
By changing the CLUT for converting to the B brightness level, there is an advantage that the display color can be easily changed even with the same bitmap data.

【0004】表示可能色数が限定された表示方法で複数
の画像の同時表示を行なうため、色コードデータを複数
のブロックに分割して各ブロックごとに1つの画像を割
り当て、ブロック単位でCLUTを操作することによ
り、複数の画像の同時表示を行なおうとする試みがあ
る。このような表示方法の例としては、特開平3−61
995号公報に記載のものがある。
In order to display a plurality of images simultaneously by a display method in which the number of colors that can be displayed is limited, the color code data is divided into a plurality of blocks, one image is assigned to each block, and a CLUT is set in block units. There has been an attempt to simultaneously display a plurality of images by operating them. An example of such a display method is disclosed in Japanese Patent Laid-Open No. 3-61.
There is one described in Japanese Patent Publication No. 995.

【0005】[0005]

【発明が解決しようとする課題】上記従来技術の表示方
法では、色コードデータを奥行き方向について複数のブ
ロックに分割して各ブロックごとに1つの画像を割り当
てて、CLUTを切り換えることによって、ビットマッ
プ領域の一部分を異なる画像に見せている。
In the above-mentioned display method of the prior art, the color code data is divided into a plurality of blocks in the depth direction, one image is assigned to each block, and the CLUT is switched to thereby change the bitmap. Part of the area is shown in a different image.

【0006】しかし、表示しようとする複数の画像を重
ね合わせて表示するために、何れもCLUT番号の一つ
を透明色としなければならない。また、何れの画像も奥
行き方向に色コードを割り当てているため、使用できる
色数が2の階乗に限定される。また、複数の画像を常に
重ね合わせて表示しているので、フェードイン,フェー
ドアウト,クロスフェード,グローなどの画像エフェク
トができないという問題がある。また、ビットマップを
表示メモリ上で合成するために特別な表示回路を必要と
している。
However, in order to superimpose and display a plurality of images to be displayed, one of the CLUT numbers must be transparent. Further, since the color code is assigned to each image in the depth direction, the number of colors that can be used is limited to the factorial of 2. Moreover, since a plurality of images are always displayed in an overlapping manner, there is a problem that image effects such as fade-in, fade-out, crossfade, and glow cannot be performed. In addition, a special display circuit is required to synthesize the bitmap on the display memory.

【0007】本発明は上記従来技術の問題点に鑑みなさ
れたものであり、従って、本発明の目的は、ビットマッ
プ容量および表示回路規模を増大させることなく。複数
の画像についてフェードイン,フェードアウト,クロス
フェード,グローなどの画像エフェクト表示を行なうこ
とができるカラー画像表示方法を提供することにある。
The present invention has been made in view of the above problems of the prior art. Therefore, the object of the present invention is not to increase the bit map capacity and the display circuit scale. An object of the present invention is to provide a color image display method capable of displaying image effects such as fade-in, fade-out, cross-fade, and glow on a plurality of images.

【0008】[0008]

【課題を解決するための手段】本発明では、独立したn
個(nは自然数)の原画像データからビットマップ及び
CLUTの組合せを独立にn個作成し、n個のビットマ
ップの同一表示位置の画素毎に色コードを合成した合成
ビットマップを作成し、上記n個のCLUTを合成した
合成CLUTを作成し、上記合成ビットマップを合成C
LUTを用いて表示することにより、上記目的を達成し
た。
In the present invention, independent n
N (n is a natural number) original image data is used to independently create n combinations of bitmaps and CLUTs, and a composite bitmap is created by combining color codes for each pixel at the same display position of the n bitmaps. A composite CLUT is created by combining the above n CLUTs, and the above composite bitmap is combined into a composite CLUT.
The above object was achieved by displaying using a LUT.

【0009】ここで、合成CLUTとしてはn次元の色
コード配列で構成し、第i次元(iはn以下の自然数)
目の要素数である色コード数が第i番目のCLUTの色
コード数以上であり、かつ、色コード配列の各次元の色
コード数の積がCLUT限定色数以下となる色コード配
列を構成する。
Here, the composite CLUT is composed of an n-dimensional color code array and has an i-th dimension (i is a natural number of n or less).
A color code array in which the number of color codes, which is the number of elements of the eye, is greater than or equal to the number of color codes in the i-th CLUT, and the product of the number of color codes in each dimension of the color code array is less than or equal to the CLUT limited color number To do.

【0010】あるいは、独立したn個の原画像データ
を、3n次元の色データを持つ1つの原画像データとみ
なして、一つの色コードに対して3n個の色データを持
つ代表色を決定し、それに対応したビットマップの作成
を行ない、表示の際に、該代表色の各色コードから3個
の色データを抽出して作成したCLUTによって、上記
ビットマップを表示する。
Alternatively, the independent n original image data are regarded as one original image data having 3n-dimensional color data, and a representative color having 3n color data is determined for one color code. A bitmap corresponding to that is created, and at the time of display, the bitmap is displayed by a CLUT created by extracting three color data from each color code of the representative color.

【0011】また、第1の原画像データから作成したc
個(ただしcはCLUT限定色数以下の自然数)の色コ
ードからなる第1のビットマップおよび第1のCLUT
と、第2の原画像データを用意し、第2の原画像データ
と同一表示位置である第1のビットマップの色コードに
対して各々作成した第2の原画像データのヒストグラム
から第2のCLUTを作成し、この第2のCLUTを用
いて第2のビットマップを作成し、表示の際には、第2
のビットマップに対して第1のCLUTと第2のCLU
Tの混合色データを用いる。
In addition, c created from the first original image data
A first bitmap and a first CLUT each of which has a color code of c (where c is a natural number equal to or less than the CLUT limited color number)
And a second original image data is prepared, and a second original image data histogram is created for each color code of the first bitmap at the same display position as the second original image data. A CLUT is created, and a second bitmap is created using this second CLUT.
First CLUT and second CLU for the bitmap of
The mixed color data of T is used.

【0012】さらに、視覚的効果を高めるためには画像
エフェクトの前後にそれぞれ1つの原画像データから作
成したビットマップ及びCLUTを表示する期間を設け
る。
Further, in order to enhance the visual effect, a period for displaying a bitmap and a CLUT created from one original image data is provided before and after the image effect.

【0013】[0013]

【作用】複数の画像に対応したCLUTを効率よく選択
し、最も近い色を色コードとして割り当てビットマップ
を生成することにより、表示する画像の質の劣化が極力
抑えられる。この色コードに対応する色データとして任
意の1画像の色データを割り当てることによって、ビッ
トマップがその1画像を表示する。
By efficiently selecting the CLUT corresponding to a plurality of images and assigning the closest color as the color code to generate the bitmap, the deterioration of the quality of the displayed image can be suppressed as much as possible. By assigning arbitrary color data of one image as color data corresponding to this color code, the bitmap displays the one image.

【0014】また、CLUTの色データとして複数画像
の色データを一定の割合で混合したものを割り当てるこ
とによって、ビットマップが複数画像のオーバーラップ
した画像表示をする。さらに、色データの混合比を段階
的に設定して生成したCLUTを連続して切り換えるこ
とによって、2画像がオーバーラップしながら切り換わ
るクロスフェード切換ができる。
Further, by allocating color data of a plurality of images mixed at a constant ratio as the color data of the CLUT, the image display in which the bitmaps overlap each other is displayed. Further, by continuously switching the CLUTs generated by setting the mixing ratio of the color data stepwise, it is possible to perform crossfade switching in which two images are switched while overlapping each other.

【0015】また、R(赤),G(緑),B(青)の3
プレーンからなり、それぞれがCLUTを持つ表示装置
において、各プレーンごとに複数の画像から合成したビ
ットマップを格納してCLUTを切り換えることによっ
て、任意の1画像あるいは複数の画像のオーバーラップ
画像を表示する。
In addition, R (red), G (green), B (blue) 3
In a display device including planes, each having a CLUT, a bitmap synthesized from a plurality of images is stored for each plane, and the CLUT is switched to display an arbitrary one image or an overlapping image of a plurality of images. ..

【0016】[0016]

【実施例】以下、本発明の実施例を、図面を用いて説明
する。図1は、本発明の一実施例としてのカラー画像表
示方法によって、独立した2種類の画像からの合成画像
を作成する様子を示した原理図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a principle diagram showing how a composite image is created from two independent types of images by a color image display method as an embodiment of the present invention.

【0017】図1において、原画像A100は色コード
Aaの画素で構成される単色ビットマップ領域101
と、色コードAbの画素で構成される単色ビットマップ
領域102から成り、原画像B110は色コードBaの
画素で構成される単色ビットマップ領域111と、色コ
ードBbの画素で構成される単色ビットマップ領域11
2から成っている。
In FIG. 1, an original image A100 is a monochrome bitmap area 101 composed of pixels of a color code Aa.
And a monochromatic bitmap area 102 composed of pixels of the color code Ab, and the original image B110 is composed of monochromatic bitmap areas 111 composed of pixels of the color code Ba and monochromatic bits composed of pixels of the color code Bb. Map area 11
It consists of two.

【0018】また、同図において、合成画像X120は
原画像A100と原画像B110を合成して得られる画
像であり、単色ビットマップ領域121,122,12
3,124の4つの単色ビットマップ領域から成る。
Further, in the figure, a composite image X120 is an image obtained by combining the original image A100 and the original image B110, and the monochrome image bitmap areas 121, 122, 12 are shown.
It is composed of four monochrome color bitmap areas 3,124.

【0019】単色ビットマップ領域121は単色ビット
マップ領域101と単色ビットマップ領域111の交わ
り部分を合成したものであり、色コードAaと色コード
Baを合成した色コードABaの画素で構成されてい
る。
The monochromatic bitmap area 121 is a combination of the intersections of the monochromatic bitmap area 101 and the monochromatic bitmap area 111, and is composed of pixels of a color code ABa in which a color code Aa and a color code Ba are combined. ..

【0020】単色ビットマップ領域122は単色ビット
マップ領域101と単色ビットマップ領域112の交わ
り部分を合成したものであり、色コードAaと色コード
Bbを合成した色コードABbの画素で構成されてい
る。
The monochromatic bitmap area 122 is a combination of the intersections of the monochromatic bitmap area 101 and the monochromatic bitmap area 112, and is composed of pixels of a color code ABb which is a combination of the color code Aa and the color code Bb. ..

【0021】単色ビットマップ領域123は単色ビット
マップ領域102と単色ビットマップ領域111の交わ
り部分を合成したものであり、色コードAbと色コード
Baを合成した色コードABcの画素で構成されてい
る。
The monochrome bitmap area 123 is a combination of the intersections of the monochrome bitmap area 102 and the monochrome bitmap area 111, and is composed of pixels of a color code ABc, which is a combination of the color code Ab and the color code Ba. ..

【0022】単色ビットマップ領域124は単色ビット
マップ領域102と単色ビットマップ領域112の交わ
り部分を合成したものであり、色コードAbと色コード
Bbを合成した色コードABdの画素で構成されてい
る。
The monochrome bitmap area 124 is a combination of the intersections of the monochrome bitmap area 102 and the monochrome bitmap area 112, and is composed of pixels of a color code ABd, which is a combination of the color code Ab and the color code Bb. ..

【0023】この様に、合成画像X120の各単色ビッ
トマップ領域を構成する色コードは、元の2画像の単色
ビットマップ領域をそれぞれ構成する2つの色コードを
合成して作成している。従って、合成画像X120の各
単色ビットマップ領域を構成する色コードを実際の色デ
ータに変換するCLUTとして、原画像A100の色コ
ードに対応した色データを用いれば、合成画像X120
の各単色ビットマップ領域は原画像A100の同一領域
と同じ色表示をすることが可能であり、逆に原画像B1
10の色コードに対応した色データを用いれば原画像B
110の同一領域と同じ色表示をすることが可能であ
る。
As described above, the color code forming each single-color bitmap area of the composite image X120 is created by combining the two color codes forming each single-color bitmap area of the original two images. Therefore, if the color data corresponding to the color code of the original image A100 is used as the CLUT for converting the color code forming each single-color bitmap area of the composite image X120 into the actual color data, the composite image X120 is obtained.
It is possible to display each single-color bitmap area of the same color as the same area of the original image A100, and vice versa.
If the color data corresponding to the 10 color codes is used, the original image B
It is possible to display the same color as the same area of 110.

【0024】以下、図1に示した画像データを元に、一
つの合成画像X120を用いて、独立した2つの原画像
A100,原画像B110のクロスフェード切換を行う
方法について説明する。クロスフェード切換としては、
原画像A100から原画像B110へ8段階の時間経過
t(0≦t≦8)にしたがって推移する場合を例として
説明する。
A method for performing crossfade switching between two independent original images A100 and B110 using one combined image X120 based on the image data shown in FIG. 1 will be described below. For crossfade switching,
An example will be described in which the transition from the original image A100 to the original image B110 is made in accordance with a time lapse t (0 ≦ t ≦ 8) in eight steps.

【0025】クロスフェード切換は2つの画像をオーバ
ーラップして表示し、その間、一方の画像成分を減衰
し、他方の画像成分を増加して徐々に切り換える表示方
式である。ここで言う画像成分とは、画像の各画素が持
つ、R,G,Bの輝度レベルで表される色データのこと
である。
The crossfade switching is a display system in which two images are displayed in an overlapped manner, during which one image component is attenuated and the other image component is increased and gradually switched. The image component referred to here is color data represented by the R, G, and B luminance levels of each pixel of the image.

【0026】ある輝度レベルxが輝度レベルx1から輝
度レベルx2にn段階で時間経過t(0≦t≦n)にし
たがって線形に変化する場合、輝度レベルx(t)は数
1のように記述することができる。 x(t)={(x2−x1)÷n}×t+x1 ……(数1)
When a certain brightness level x linearly changes from the brightness level x1 to the brightness level x2 in n steps according to the time t (0≤t≤n), the brightness level x (t) is described as in equation 1. can do. x (t) = {(x2-x1) ÷ n} × t + x1 (Equation 1)

【0027】ここで、クロスフェード切換中の合成画像
X120のビットマップを構成する色コードABa,A
Bb,ABc,ABdに対応する色データを、それぞれ
Xa(t),Xb(t),Xc(t),Xd(t)(図
示せず)で表すことにする。すなわち、合成画像X12
0を構成する単色ビットマップ領域121,122,1
23,124はそれぞれXa(t),Xb(t),Xc
(t),Xd(t)の色データで表示される。
Here, the color codes ABa and A forming the bitmap of the composite image X120 during the crossfade switching.
The color data corresponding to Bb, ABc, and ABd are represented by Xa (t), Xb (t), Xc (t), and Xd (t) (not shown), respectively. That is, the composite image X12
0 monochrome color bitmap areas 121, 122, 1
23 and 124 are Xa (t), Xb (t), and Xc, respectively.
It is displayed as color data of (t) and Xd (t).

【0028】また、原画像A100および原画像B11
0のビットマップを構成する色コードAa,Ab,B
a,Bbに対応する色データの具体的な値を、一例とし
て図2に示す。
Further, the original image A100 and the original image B11
Color codes Aa, Ab, B that compose a 0 bitmap
Specific values of color data corresponding to a and Bb are shown in FIG. 2 as an example.

【0029】同図において、色コードAa,Abは原画
像A100のCLUTの一部であり、それぞれ色データ
として(R,G,B)=(128,32,0),(R,
G,B)=(16,128,64)を持っている。B
a,Bbについても同様の定義であり、説明を省略す
る。
In the figure, color codes Aa and Ab are parts of the CLUT of the original image A100, and (R, G, B) = (128, 32, 0), (R,
G, B) = (16,128,64). B
The same definitions apply to a and Bb, and a description thereof will be omitted.

【0030】従って、クロスフェード切換中に、合成画
像X120における色コードABaの色データXa
(t)を、色コードAaの色データ(R,G,B)=
(128,32,0)から色コードBaの色データ
(R,G,B)=(64,0,16)へ徐々に推移させ
ると、色データXa(t)のR,G,B別の輝度レベル
をそれぞれXaR(t),XaG(t),XaB(t)
で表わした場合に、数1から明きらかなように、それぞ
れは数2〜数4で表わされ、色データXa(t)の具体
的な値は図3のようになる。
Therefore, during the crossfade switching, the color data Xa of the color code ABa in the composite image X120.
(T) is the color data of the color code Aa (R, G, B) =
When the color data (R, G, B) = (64, 0, 16) of the color code Ba is gradually changed from (128, 32, 0), the R, G, and B of the color data Xa (t) are changed. The brightness levels are XaR (t), XaG (t), and XaB (t), respectively.
In the case of the expression (1), each of them is expressed by the expression (2) to the expression (4), and the specific value of the color data Xa (t) is as shown in FIG.

【0031】 XaR(t)=−8t+128 ……(数2) XaG(t)=−4t+ 32 ……(数3) XaB(t)= 2t ……(数4)XaR (t) =-8t + 128 (Equation 2) XaG (t) =-4t + 32 (Equation 3) XaB (t) = 2t (Equation 4)

【0032】同様に、合成画像X120における色コー
ドABb,ABc,ABdの色データXb(t),Xc
(t),Xd(t)についても徐々に推移させる。する
と、合成画像X120は、原画像A100から原画像B
100へオーバーラップしながら徐々に切り換わって見
える。こうして、時間経過tにしたがって画像成分を徐
々に変化させることによって異なる画像をクロスフェー
ド切換で表示することができる。
Similarly, color data Xb (t), Xc of color codes ABb, ABc, ABd in the composite image X120.
(T) and Xd (t) are also gradually changed. Then, the composite image X120 is changed from the original image A100 to the original image B.
It seems to switch gradually while overlapping to 100. In this way, different images can be displayed by crossfade switching by gradually changing the image components as time elapses t.

【0033】図4は、原画像A100から原画像B11
0へ時間経過tにしたがって推移する合成画像X120
の状態を示した推移図である。図4において、130は
図1に示した合成画像X120のクロスフェード開始時
点(第0段階)での状態、131は同じくクロスフェー
ド開始後第2段階での状態、132は同じくクロスフェ
ード開始後第4段階での状態、133は同じくクロスフ
ェード開始後第6段階での状態、134は同じくクロス
フェード終了時点(第8段階)での状態である。第1,
3,5,7段階については図示を省略している。
FIG. 4 shows original images A100 to B11.
Synthetic image X120 that changes to 0 over time t
It is a transition diagram showing the state of. In FIG. 4, 130 is the state at the crossfade start time (0th stage) of the composite image X120 shown in FIG. 1, 131 is the state at the second stage after the start of the crossfade, and 132 is the state after the start of the crossfade. The state of four stages, 133 is the state of the sixth stage after the start of the crossfade, and 134 is the state of the end point of the crossfade (the eighth stage). First,
Illustrations are omitted for the third, fifth, and seventh stages.

【0034】クロスフェード開始時点(第0段階)で
は、上記数2〜数4および図2,図3から明らかなよう
に、色データXa(0)〜Xd(0)は全て原画像A1
00の色成分のみで表されるため表示画像130はあた
かも原画像A100そのもののように見える。
At the time of starting the crossfade (the 0th stage), as is clear from the equations 2 to 4 and FIGS. 2 and 3, the color data Xa (0) to Xd (0) are all original image A1.
Since the display image 130 is represented by only the color component of 00, the display image 130 looks like the original image A100 itself.

【0035】以下同様に、クロスフェード開始後第2段
階では、色データXa(2)〜Xd(2)は原画像A1
00のR,G,Bの各輝度成分75%と原画像B110
のR,G,Bの各輝度成分25%を足したものになるた
め、合成画像X120の状態131は原画像A100の
中に原画像B110が薄く重なり合うように見える。
Similarly, in the second step after the start of the crossfade, the color data Xa (2) to Xd (2) are the original image A1.
00 R, G, and B luminance components of 75% and the original image B110
Since each of the R, G, and B luminance components of 25% is added, the state 131 of the composite image X120 looks like the original image B110 and the original image B110 overlap lightly.

【0036】クロスフェード開始後第4段階では、色デ
ータXa(4)〜Xd(4)は原画像A100のR,
G,Bの各輝度成分50%と原画像B110のR,G,
Bの各輝度成分50%を足したものになるため、合成画
像X120の状態132は原画像A100と原画像B1
10が重なり合っているように見える。
At the fourth stage after the start of the crossfade, the color data Xa (4) to Xd (4) are R, R of the original image A100.
50% of each luminance component of G and B and R, G, of the original image B110
Since each luminance component of B is added by 50%, the state 132 of the composite image X120 is the original image A100 and the original image B1.
It looks like 10 overlaps.

【0037】クロスフェード開始後第6段階では、色デ
ータXa(6)〜Xd(6)は原画像A100のR,
G,Bの各輝度成分25%と原画像B110のR,G,
Bの各輝度成分75%を足したものになるため、合成画
像X120の状態132は原画像B110の中に原画像
A100が薄く重なり合うように見える。
At the sixth stage after the start of the crossfade, the color data Xa (6) to Xd (6) correspond to R, R of the original image A100.
25% of each luminance component of G and B and R, G, of the original image B110
Since 75% of each luminance component of B is added, the state 132 of the composite image X120 looks like the original image A100 is lightly overlapped with the original image B110.

【0038】クロスフェード終了時点(第8段階)で
は、色データXa(8)〜Xd(8)は全て原画像B1
10の色成分のみで表されるため、合成画像X120の
状態134はあたかも画像B110そのもののように見
える。
At the end of the crossfade (8th step), all the color data Xa (8) to Xd (8) are the original image B1.
Since it is represented by only the 10 color components, the state 134 of the composite image X120 looks like the image B110 itself.

【0039】このように時間経過tにともなって色デー
タを変化させることにより、合成画像X120をクロス
フェード切換することができる。また、原画像A100
から原画図B110へのクロスフェード切換をする場合
に、1段階で推移させることにより、瞬時に画像切り換
えをすることができる。この場合、色コードABa,A
Bb,ABc,ABdのそれぞれの色データを色コード
Aa,Aa,Ab,Abの色データから色コードBa,
Bb,Ba,Bbの色データへ書き換えればよい。
By thus changing the color data with the lapse of time t, the composite image X120 can be cross-fade switched. Also, the original image A100
When the crossfade is switched from the original image B110 to the original image B110, the image can be switched instantaneously by making a transition in one step. In this case, the color codes ABa, A
The color data of Bb, ABc, and ABd are converted from the color data of color codes Aa, Aa, Ab, and Ab to color code Ba,
The color data of Bb, Ba, Bb may be rewritten.

【0040】また、原画像A100全体が一つの色コー
ドになっている(すなわち、単色のビットマップとなっ
ている)場合に、原画像A100と原画像B110のク
ロスフェードを行うと、原画像B110がフェードイン
表示されるように見えるため、クロスフェード開始時点
の色コードとしてAa=Ab(すなわち、単色)とすれ
ば、合成画像X120を用いてAa単色から原画像B1
10へのフェードイン表示をすることができる。フェー
ドアウトについてもフェードインの場合と同様に、原画
像B110全体が一つの色コードになっていると考えれ
ば実現可能である。
If the entire original image A100 has one color code (that is, a monochrome bitmap), cross-fading between the original image A100 and the original image B110 will result in the original image B110. Is displayed as a fade-in display. Therefore, if Aa = Ab (that is, a single color) is set as the color code at the start of the crossfade, the composite image X120 is used to change the original image B1 from the Aa single color.
A fade-in display to 10 can be made. Similar to the case of fading in, the fading out can be realized if it is considered that the entire original image B110 has one color code.

【0041】また、2種類の画像の解像度は、必ずしも
同一の大きさである必要はなく、たとえば、原画像A1
00に対して原画像B110の解像度が水平、垂直方向
とも小さい場合、2つの画像が重ならないビットマップ
領域の色コードには、原画像A100、原画像B110
それぞれの色データを設定し、2つの画像が重なるビッ
トマップ領域の色コードに対して、上記の合成画像を用
いたクロスフェード切換、画像切り換え等を行えば、2
画像が重なっている表示画像の一部分についてもCLU
Tの変更のみで2画像の表示が可能である。
The resolutions of the two types of images do not necessarily have to be the same size. For example, the original image A1
When the resolution of the original image B110 is smaller than that of the original image B00 in the horizontal and vertical directions, the original image A100 and the original image B110 are included in the color code of the bitmap area where the two images do not overlap.
If each color data is set and the color code of the bitmap area in which the two images overlap is subjected to crossfade switching, image switching, etc. using the above composite image, 2
CLU is also applied to a part of the display image where the images overlap.
It is possible to display two images only by changing T.

【0042】図5は、本発明の一実施例としてのカラー
画像表示方法によって、独立した2種類の画像からの合
成画像を作成する過程を示した概念図である。図5にお
いて、原画像A100は1画素当りR,G,B各色8ビ
ット(計24ビット)の画像情報を持ち、原画像B11
0は1画素当りR,G,B各色8ビット(計24ビッ
ト)の画像情報を持ち、各原画像を表示するときは、1
画素あたり1つの色コードが対応したビットマップと色
コードを色データに変換するCLUTとの組合せを用い
て表示する。ここで、CLUTとして256色の色コー
ド(8ビットの色コード)を持つ場合を例に説明する。
FIG. 5 is a conceptual diagram showing a process of creating a composite image from two independent types of images by the color image display method as one embodiment of the present invention. In FIG. 5, the original image A100 has image information of 8 bits for each color of R, G, and B (24 bits in total), and the original image B11
0 has 8 bits of image information for each color of R, G, B (24 bits in total), and is 1 when displaying each original image.
Display is performed by using a combination of a bitmap corresponding to one color code per pixel and a CLUT for converting the color code into color data. Here, a case where the CLUT has a color code of 256 colors (8-bit color code) will be described as an example.

【0043】原画像A100の表示画像は、CLUTA
201とビットマップA202からなり、ビットマップ
A202の各画素は色コード0から色コード15までの
16色で構成されている。同様に、原画像B110の表
示画像は、CLUTB211とビットマップB212か
らなり、ビットマップB212の各画素は色コード0か
ら色コード15までの16色で構成されている。各CL
UTは256個の色コードのうち16個のみを使用して
いる。
The display image of the original image A100 is CLUTA.
201 and a bitmap A202, and each pixel of the bitmap A202 is composed of 16 colors from color code 0 to color code 15. Similarly, the display image of the original image B110 is composed of a CLUT B211 and a bitmap B212, and each pixel of the bitmap B212 is composed of 16 colors from color code 0 to color code 15. Each CL
The UT uses only 16 of the 256 color codes.

【0044】合成画像X120は、CLUTX221と
ビットマップX222を用いて表示する。CLUTX2
21はCLUTA201とCLUTB211から図1に
示した原理図にしたがって演算処理により合成したもの
であり、ビットマップX222も同様にビットマップA
202とビットマップB212から演算処理により合成
したものである。
The composite image X120 is displayed using the CLUTX 221 and the bitmap X222. CLUTX2
Reference numeral 21 is a combination of CLUTA 201 and CLUTB 211 by arithmetic processing according to the principle diagram shown in FIG.
202 and the bitmap B212 are combined by arithmetic processing.

【0045】以上の各画像情報を作成する際に、原画像
から16色のCLUTとビットマップデータを導いてい
るが、この方法として、例えば、原画像の色出現分布を
分析して、頻度の高い色を代表色として16色のCLU
Tとし、次に、原画像の各画素をCLUTの中で最も近
い代表色に置換してビットマップとする方法が挙げられ
る。なお、コンピュータグラフィックス等の原画像で、
出現する色数が16色以下の場合は、この導出過程が不
要となる。
When each of the above image information is created, the CLUT and the bitmap data of 16 colors are derived from the original image. As this method, for example, the color appearance distribution of the original image is analyzed to determine the frequency. 16 colors CLU with high colors as representative colors
Next, there is a method in which each pixel of the original image is replaced with the closest representative color in the CLUT to form a bitmap. In addition, in the original image such as computer graphics,
If the number of colors that appear is 16 or less, this derivation process is unnecessary.

【0046】また、16色のCLUT2つから256色
のCLUTX221を作成しているが、これはCLUT
X221の色コードの8ビットの内上位4ビットをCL
UTA201の色コードを割り当て、下位4ビットをC
LUTB211の色コードを割り当てて作成する。同様
に、ビットマップX222の各画素はビットマップA2
02とビットマップB212の画素の色コードをそれぞ
れ上位4ビットと下位4ビットに割り当てた色コードに
変換して作成する。
Also, CLUTX 221 of 256 colors is created from two CLUTs of 16 colors. This is a CLUT.
CL the upper 4 bits of the 8 bits of the X221 color code
The color code of UTA201 is assigned and the lower 4 bits are C
It is created by assigning the color code of LUTB211. Similarly, each pixel of the bitmap X222 is a bitmap A2.
02 and the color code of the pixel of the bitmap B212 are converted into the color codes assigned to the upper 4 bits and the lower 4 bits, respectively.

【0047】このようにすると、ビットマップX222
中の各画素が、CLUTA201のどの色コードとCL
UTB211のどの色コードの合成による色コードなの
か、容易に識別できる。
By doing this, the bitmap X222
Each pixel inside is a color code of CLUTA201 and CL
It is possible to easily identify which color code of the UTB 211 is the color code synthesized.

【0048】図6および図7は、それぞれ、図5におけ
るCLUTの内容を説明するための説明図である。以
下、図6および図7の説明において、色コード、色デー
タは全て16進数で表記する。
FIGS. 6 and 7 are explanatory views for explaining the contents of the CLUT in FIG. 5, respectively. In the following description of FIGS. 6 and 7, color codes and color data are all represented by hexadecimal numbers.

【0049】図6および図7において、CLUTA20
1とCLUTB211はそれぞれ16色(4ビット)の
色コードを持ち、CLUTX221は、ビットマップA
202とビットマップB212を図1で示した原理図に
したがって合成したCLUTであり、256色(8ビッ
ト)の色コードを持つ。
In FIGS. 6 and 7, CLUTA 20
1 and CLUTB211 each have a color code of 16 colors (4 bits), and CLUTX221 is a bitmap A
This is a CLUT in which 202 and the bitmap B212 are combined according to the principle diagram shown in FIG. 1, and has a color code of 256 colors (8 bits).

【0050】では、図6および図7を元に、本実施にお
けるCLUT変更による画像切換の方法について説明す
る。CLUTX221の色コード8ビットのうち、上位
4ビットにCLUTA201の色コードを割り当て、下
位4ビットにCLUTB211の色コードを割り当て
る。例えば、図6および図7において、CLUTX22
1の色コード=00はCLUTA201の色コード=0
とCLUTB211の色コード0とを合成したものであ
り、CLUTX221の色コード=10はCLUTA2
01の色コード=1とCLUTB211の色コード0と
を合成したものである。
Now, a method of switching images by changing the CLUT in this embodiment will be described with reference to FIGS. 6 and 7. Among the 8 bits of the color code of CLUTX 221, the upper 4 bits are assigned the color code of CLUTA 201, and the lower 4 bits are assigned the color code of CLUTB 211. For example, referring to FIGS. 6 and 7, CLUTX22
1 color code = 00 is CLUT 201 color code = 0
And the color code 0 of CLUTB211 are combined, and the color code of CLUTX221 = 10 is CLUTA2.
The color code of 01 = 1 and the color code of CLUTB211 are combined.

【0051】このような規則で合成されるCLUTX2
21について実際の色データを設定すれば、合成画像X
120の表示が変わるのであるが、原画像A100を表
示する場合には、図6に示すように、CLUTX221
の各色コードのうち、上位4ビットが0の色コードには
CLUTA201の色コード0の色データを、上位4ビ
ットが1の色コードには、CLUTA201の色コード
1の色データを、以下、順に、上位4ビットがFの色コ
ードには、CLUTA201の色コードFの色データを
設定する。
CLUTX2 synthesized by such a rule
If the actual color data is set for 21, the composite image X
Although the display of 120 changes, when displaying the original image A100, as shown in FIG. 6, the CLUTX 221 is displayed.
In each color code of, the upper 4 bits of the color code of 0 is the color data of the color code 0 of the CLUTA 201, and the upper 4 bits of 1 is the color data of the color code of 1 of the CLUTA 201. For the color code whose upper 4 bits are F, the color data of the color code F of the CLUTA 201 is set.

【0052】この様にすれば、合成画像X120のビッ
トマップX222の各画素が2つの画像の色コードを4
ビットずつ持っていても、下位4ビットの色コードに係
わらず上位4ビットの色コードのみで色データが決定さ
れるので、結果として合成画像X120のビットマップ
X222は原画像A100そのものを表示することにな
る。
In this way, each pixel of the bitmap X222 of the composite image X120 has four color codes of two images.
Even if each bit is provided, the color data is determined only by the upper 4-bit color code regardless of the lower 4-bit color code. As a result, the bitmap X222 of the composite image X120 must display the original image A100 itself. become.

【0053】逆に、原画像B110を表示する場合に
は、図7に示すように、CLUTX221の各色コード
のうち、下位4ビットが0の色コードには、CLUTB
211の色コード0の色データを、下位4ビットが1の
色コードには、CLUTB211の色コード1の色デー
タを、以下、順に、下位4ビットがFの色コードには、
CLUTB211の色コードFの色データを設定すれ
ば、図6の場合と同様に、合成画像X120のビットマ
ップX222は原画像B110そのものを表示すること
になる。
On the contrary, when the original image B110 is displayed, as shown in FIG. 7, among the color codes of the CLUTX 221, the color code whose lower 4 bits are 0 is CLUTB.
The color data of color code 0 of 211, the color code of lower 4 bits of which is 1, the color data of color code 1 of CLUTB 211 is,
If the color data of the color code F of the CLUTB 211 is set, the bitmap X222 of the composite image X120 will display the original image B110 itself as in the case of FIG.

【0054】以上、2つの画像の瞬時の画像切換につい
て説明したが、図1を用いて説明した原理で元の2画像
の色データに重みをつけてCLUTX221を設定する
ことによって、容易にクロスフェード、フェードイン,
フェードアウトが実現できる。また、色コードの4ビッ
トずつを異なる画像に割り当てているため、ビットごと
に原画像から合成画像を生成することが容易であり、そ
の効果はビット単位で原画像を割り当てていればビット
数4に限らず同じである。
The instantaneous image switching between the two images has been described above, but the crossfading can be easily performed by setting the CLUTX 221 by weighting the color data of the original two images according to the principle described with reference to FIG. ,Fade-in,
Fade out can be realized. In addition, since 4 bits of the color code are assigned to different images, it is easy to generate a composite image from the original image for each bit, and the effect is 4 bits if the original image is assigned in bit units. It is the same regardless of.

【0055】また、例えば、色コードの数が10である
ような2画像(すなわち10色表示できる画像)で切換
表示を行う場合は、色コード番号を10×10の配列状
に構成し、各次元を2画像に割り当てれば、本実施例と
同様にして2画像の切換ができる。この場合、ビットご
とに原画像から合成画像を生成することができないが、
色コード番号がどの画像の次元に属するかを判別して合
成画像を生成することは可能であり、これによって25
6色のCLUTのうち、156色(=256色−10×
10色)が2画像以外の画像に使用することも可能であ
る。
Further, for example, when performing switching display with two images having 10 color codes (that is, an image capable of displaying 10 colors), the color code numbers are arranged in a 10 × 10 array and If the dimension is assigned to two images, the two images can be switched in the same manner as in the present embodiment. In this case, it is not possible to generate a composite image from the original image bit by bit,
It is possible to determine which image dimension the color code number belongs to and generate a composite image.
Of the 6-color CLUT, 156 colors (= 256 colors-10 ×
It is also possible to use 10 colors) for images other than 2 images.

【0056】図8は、本発明の一実施例としてのカラー
画像表示方法によって、独立した2種類の画像からの合
成画像を作成するための手段を示したブロック図であ
る。同図において、300は、図5に示したビットマッ
プXを格納するVRAM(表示メモリ)であり、301
は、VRAM300に格納されたビットマップXの各画
素の色コードをCLUTX221にしたがって、R,
G,Bの色データに変換する色情報変換手段であり、3
02は、R,G,Bの色データにしたがって合成画像を
表示する表示装置である。
FIG. 8 is a block diagram showing a means for creating a composite image from two independent images by the color image display method as an embodiment of the present invention. In the figure, 300 is a VRAM (display memory) for storing the bitmap X shown in FIG.
Represents the color code of each pixel of the bitmap X stored in the VRAM 300 according to CLUTX 221 as R,
Color information conversion means for converting to G and B color data, which is 3
A display device 02 displays a composite image in accordance with the R, G, and B color data.

【0057】また、CLUTA201におけるA0〜A
15、CLUTB211におけるB0〜B15、CLU
TX221におけるX0〜X255は、図6および図7
で示した色コードを表わしている。
Further, A0 to A in CLUTA 201
15, B0 to B15 in CLUTB211 and CLU
X0 to X255 in the TX221 are shown in FIGS.
Represents the color code indicated by.

【0058】図8を用いて、2つの画像のクロスフェー
ド切換の表示方法について、原画像A100から原画像
B110にクロスフェード切換する場合を例に説明す
る。表示開始時には原画像A100を表示するため、C
LUTX221の中でCLUTA201の色コードA0
から合成された色コードには色コードA0の色データを
設定し、同様に色コードA1〜A15を用いているCL
UTX221の色コードにも色コードA1〜A15の色
データを設定する。この際、CLUTX221の各色コ
ードがCLUTA201のどの色コードを用いているか
は、図5で説明したビットマップ作成時に図6および図
7に基づいて定義され、CLUTB211のどの色コー
ドを用いているかについても同様にビットマップ作成時
に定義されている。
With reference to FIG. 8, a display method of crossfading switching between two images will be described by taking an example of crossfading switching from the original image A100 to the original image B110. Since the original image A100 is displayed at the start of display, C
Color code A0 of CLUTA201 in LUTX221
CL in which color data of color code A0 is set in the color code synthesized from, and color codes A1 to A15 are also used
The color data of the color codes A1 to A15 are also set in the color code of the UTX 221. At this time, which color code of CLUTA 221 is used by each color code of CLUTX 221 is defined based on FIGS. 6 and 7 at the time of creating the bitmap described in FIG. 5, and which color code of CLUTB 211 is also used. Similarly, it is defined when the bitmap is created.

【0059】クロスフェード中には、CLUTX221
の色コードがCLUTA201のどの色コードとCLU
TB211のどの色コードを用いた組合せであるかによ
り、例えば、図1に示したように時間経過tを変数とし
てCLUTA201とCLUTB211それぞれの色デ
ータを重み付けて算出し、CLUTX221中の色コー
ドの色データを設定する。
During the crossfade, the CLUTX 221
Is the color code of CLUTA201 and CLU
Depending on which color code of the TB 211 is used for the combination, for example, as shown in FIG. 1, the color data of the CLUTX 221 is calculated by weighting the color data of each of the CLUTA 201 and the CLUTB 211 using the elapsed time t as a variable. To set.

【0060】表示終了時には原画像B110を表示する
ため、CLUTX221の中でCLUTB211の色コ
ードB0から合成された色コードには色コードB0の色
データを設定し、同様に色コードB1〜B15を用いて
いるCLUTX221の色コードにも色コードB1〜B
15の色データを設定する。
Since the original image B110 is displayed at the end of display, the color data of the color code B0 is set in the color code synthesized from the color code B0 of the CLUTB 211 in the CLUTX 221, and the color codes B1 to B15 are used in the same manner. The color codes of the CLUTX 221 that are also color codes B1 to B
Set 15 color data.

【0061】これら色情報であるCLUTX221を色
情報変換手段301に入力し、VRAM300に格納さ
れているビットマップXの各画素8ビットの色コード
を、原画像のR,G,B各8ビットに対応させて変換
し、表示装置302に出力する。この様にして1つの色
コードデータで2つの独立した画像のクロスフェードの
表示ができる。
The CLUTX 221 which is these color information is input to the color information converting means 301, and the 8-bit color code of each pixel of the bitmap X stored in the VRAM 300 is converted into the 8-bit R, G and B bits of the original image. Corresponding and converting, it outputs to the display device 302. In this way, the crossfades of two independent images can be displayed with one color code data.

【0062】図9及び図10は、本発明の一実施例とし
てのカラー画像表示方法によって、独立した2種類の原
画像からグロー用の合成画像を作成する過程を示した原
理図である。図9及び図10を併せて一つの原理図を構
成している。
FIGS. 9 and 10 are principle diagrams showing a process of creating a glow composite image from two independent original images by the color image display method as one embodiment of the present invention. 9 and 10 together form one principle diagram.

【0063】ここで説明するグローとは、表示画像の一
部分を強調する際に用いる手法であり、後光が差すよう
に物体の周りを光らせる画像エフェクト表示方式であ
る。また、以下の実施例において色コードを表すのに1
6進数表記を用いる。
The glow described here is a method used when a part of a display image is emphasized, and is an image effect display system in which the surroundings of an object are illuminated so that back light is reflected. Also, in the following examples, 1 is used to represent the color code.
Hexadecimal notation is used.

【0064】これらの図において、400は、青色の背
景に、赤色のリンゴがある絵柄をR,G,B各8bit
で表わした原画像Pa である。401は、外側からリン
ゴの中心部へ向かうにつれ、黒から白へと変化するグラ
デーションを表わした原画像Pcである。402は、原
画像Pc 401を4色で表示するためのCLUT Tcで
ある。
In these figures, 400 is a pattern in which a red apple is on a blue background, 8 bits for each of R, G, and B.
It is the original image Pa represented by. An original image Pc 401 represents a gradation that changes from black to white from the outside toward the center of the apple. Reference numeral 402 is a CLUT Tc for displaying the original image Pc 401 in four colors.

【0065】403は、原画像Pc 401を色コードに
よって置き換えたビットマップMcである。404は、
ビットマップMc の色コードの出現頻度分布を表わした
ヒストグラムHg である。405は、原画像Pa 400
を42色で表示するためのCLUT Gaである。
Reference numeral 403 is a bitmap Mc in which the original image Pc 401 is replaced with a color code. 404 is
It is a histogram Hg showing the appearance frequency distribution of the color code of the bitmap Mc. 405 is the original image Pa 400
Is a CLUT Ga for displaying in 42 colors.

【0066】406は、原画像Pa 400を色コードに
よって置き換えたビットマップGmである。407は、
原画像Pa 400と原画像Pc 401とのグロー画像を
42色で表示するためのCLUT Gcである。
Reference numeral 406 is a bitmap Gm obtained by replacing the original image Pa 400 with a color code. 407 is
It is a CLUT Gc for displaying a glow image of the original image Pa 400 and the original image Pc 401 in 42 colors.

【0067】図9及び図10を参照して、グロー用合成
画像の作成方法を説明する。まず、原画像Pc 401を
限定色としての4色だけで(つまり色圧縮して)表示す
る。例えば、3次元色空間において、原画像Pc 401
での色の分布の状態を求め、色の分布している領域内で
最も暗い色(黒)と最も明るい色(白)を選び、残りの
2色は、色の分布している領域内で、できるだけ均等な
位置にある色(灰色,暗白)を選び出すことによって限
定色としての4色を定める(色圧縮を実施する)。
A method for creating a glow composite image will be described with reference to FIGS. 9 and 10. First, the original image Pc 401 is displayed with only four limited colors (that is, color-compressed). For example, in the three-dimensional color space, the original image Pc 401
, The darkest color (black) and the brightest color (white) are selected in the color distribution area, and the remaining two colors are in the color distribution area. , 4 colors as limited colors are determined by selecting colors (gray, dark) that are at even positions as much as possible (perform color compression).

【0068】次に、選び出した4色の色データ(黒を色
コード00、灰色を色コード01、暗白を色コード0
2、白を色コード03とする)を輝度順に並べてCLU
T Tc402とし、原画像Pc 401の各画素の色をC
LUT Tc402の中で最も近い色のコードに置き換
え、ビットマップMc 403を作成する。例えば、原画
像Pc 401のある画素が黒に近い色だったならば、色
コード00に置き換える。このとき、画質向上のために
誤差拡散法やディザ法を用いてもよい。
Next, color data of four colors selected (black is color code 00, gray is color code 01, and dark is color code 0).
2 and white as the color code 03) are arranged in the order of luminance to form a CLU.
Let TTc 402 be the color of each pixel of the original image Pc 401 is C
The bit map Mc 403 is created by replacing the code with the closest color in the LUT Tc 402. For example, if a pixel in the original image Pc 401 has a color close to black, it is replaced with the color code 00. At this time, an error diffusion method or a dither method may be used to improve the image quality.

【0069】ここで、原画像Pc 401を4色で色圧縮
し、CLUT Tc402を4色として説明したが、用い
る色数はCLUT限定色数の範囲内で自由である。ま
た、色圧縮の方法についても限定しない。
Here, the original image Pc 401 is color-compressed with 4 colors and the CLUT Tc 402 is described as 4 colors, but the number of colors to be used is free within the range of the CLUT limited number of colors. Also, the method of color compression is not limited.

【0070】次に、原画像Pa 400を42色で色圧縮
する。色圧縮にあたって、原画像Pa 400と同一表示
位置のビットマップMc 403の各色コードの領域にあ
たる部分に、何種類の色を割り当てるか決定する。割り
当てる色数を決める方法については、例えば、各色コー
ドの領域ごとにビットマップMc 403の画素数のヒス
トグラムHg 404を作成し、その比によって各色コー
ド領域に割り当てる色数を決定する。
Next, the original image Pa 400 is color-compressed with 42 colors. Upon color compression, it is determined how many kinds of colors are to be assigned to the area corresponding to each color code area of the bitmap Mc 403 at the same display position as the original image Pa 400. Regarding the method of determining the number of colors to be assigned, for example, a histogram Hg 404 of the number of pixels of the bitmap Mc 403 is created for each color code area, and the number of colors to be assigned to each color code area is determined by the ratio.

【0071】図9及び図10においては、CLUT Ga
405に示すように、色コード00の領域には14色,
色コード01の領域には10色,色コード02の領域に
は6色,色コード03の領域には12色を割り当ててい
る。
In FIGS. 9 and 10, CLUT Ga is
As shown in 405, in the area of the color code 00, 14 colors,
The color code 01 area is assigned 10 colors, the color code 02 area is assigned 6 colors, and the color code 03 area is assigned 12 colors.

【0072】各色コード領域ごとに原画像Pa 400の
色データの分布状態を求め、CLUT Ga405に示す
色数で色圧縮してビットマップGm 406を、図10に
示すように、作成する。例えば、色コード00の領域で
あれば、青系統の色(背景の色)を中心に代表色を14
色選び、CLUT Ga405の色コード00〜0Dの色
データとし、色コード00の領域にあたる原画像Pa 4
00の各画素の色をCLUT Ga405の色コード00
〜0Dの色データの中で最も近い色のコードに置き換え
る。このとき、誤差拡散法やディザ法を用いてもよい。
The distribution state of the color data of the original image Pa 400 is obtained for each color code area, and the bit map Gm 406 is created by color compression with the number of colors shown in the CLUT Ga 405, as shown in FIG. For example, in the area of the color code 00, the representative color is 14
An original image Pa 4 corresponding to the area of the color code 00 is selected by selecting colors and using the color data of the color codes 00 to 0D of the CLUT Ga 405.
The color of each pixel of 00 is color code 00 of CLUT Ga405
Replace with the code of the closest color in the ~ 0D color data. At this time, an error diffusion method or a dither method may be used.

【0073】最後に、グロー用のCLUTを作成する。
グロー用のCLUTであるCLUTGc407を作成す
るには、CLUT Ga405の各色データに対して、C
LUT Tc402の色データを加算することによって得
られる。
Finally, a CLUT for glow is created.
To create CLUTGc407 which is a CLUT for glow, for each color data of CLUT Ga405, C
It is obtained by adding the color data of LUT Tc402.

【0074】例えば、CLUT Ga405の色コード0
0〜0D迄の範囲であれば、CLUT Tc402の色コ
ード00の色データ(黒)と加算し、グロー用のCLU
T Gc407の色コード00〜0Dの色データとする。
他の範囲についても同様である。
For example, color code 0 of CLUT Ga405
If it is in the range from 0 to 0D, add it with the color data (black) of color code 00 of CLUT Tc402, and use the CLU for glow.
Color data of color codes 00 to 0D of TGc407 is used.
The same applies to other ranges.

【0075】このとき、CLUTの色データが取り得る
ことのできる値をオーバーフローするものが存在し得る
が、この時点でデータに上限を設ける方法と、後述する
CLUTの表示中のリアルタイム演算時に上限を設ける
方法がある。また、グロー用CLUTの作成はリアルタ
イム演算時に行なってもよい。
At this time, there may be an overflow of values that can be taken by the color data of the CLUT. However, at this time, a method of setting an upper limit on the data and a method of setting the upper limit at the time of real-time calculation during the display of the CLUT described later are described. There is a method of setting. The glow CLUT may be created during real-time calculation.

【0076】さらにまた、CLUT Gc407を作成す
るには、CLUT Ga405の各色データに対して、C
LUT Tc402の色データを加算したが、色が沈むよ
うな効果のグローを行なうのに減算してもよいし、加算
と減算を組み合わせて用いてもよい。グロー用合成画像
は、グロー用のCLUTであるCLUT Gc407によ
って得られる。
Furthermore, in order to create the CLUT Gc 407, for each color data of the CLUT Ga 405, C
Although the color data of the LUT Tc 402 is added, it may be subtracted to perform the glow of the effect of sinking the color, or addition and subtraction may be used in combination. The glow composite image is obtained by the CLUT Gc407, which is a CLUT for glow.

【0077】図11及び図12は、本発明の一実施例と
してのカラー画像表示方法によって、段階的に表示画像
の色数が変化する合成画像を作成する過程を示した原理
図である。図11及び図12を併せて一つの原理図を構
成している。
11 and 12 are principle diagrams showing a process of creating a composite image in which the number of colors of the display image changes stepwise by the color image display method as one embodiment of the present invention. FIG. 11 and FIG. 12 are combined to form one principle diagram.

【0078】これらの図において、500は、原画像P
a 400を4色で表示するためのCLUT Taである。
501は、原画像Pa 400を色コードによって置き換
えたビットマップMaである。
In these figures, 500 is the original image P.
It is a CLUT Ta for displaying a 400 in four colors.
Reference numeral 501 is a bitmap Ma in which the original image Pa 400 is replaced with a color code.

【0079】502は、ビットマップMa の色コードの
出現頻度分布を表わしたヒストグラムHd である。50
3は、原画像Pa 400を42色で表示するためのCL
UT Gah である。
Reference numeral 502 is a histogram Hd representing the appearance frequency distribution of the color code of the bitmap Ma. Fifty
3 is a CL for displaying the original image Pa 400 in 42 colors
This is UT Gah.

【0080】504は、原画像Pa 400を色コードに
よって置き換えたビットマップGmaである。505は、
原画像Pa 400を4色で表示するためのCLUT Ga
l である。図11及び図12を用いて、段階的に表示画
像の色数を変化させる合成画像の作成方法を説明する。
Reference numeral 504 is a bitmap Gma obtained by replacing the original image Pa 400 with a color code. 505 is
CLUT Ga for displaying the original image Pa 400 in four colors
l. A method of creating a composite image in which the number of colors of a display image is changed stepwise will be described with reference to FIGS. 11 and 12.

【0081】まず、原画像Pa 400を4色で色圧縮す
る。例えば、3次元色空間において、原画像Pa 400
での色の分布の状態を求め、色の分布している領域内で
使用頻度の高い色を4色(青,明赤,赤,暗青)選び出
す。
First, the original image Pa 400 is color-compressed with four colors. For example, in the three-dimensional color space, the original image Pa 400
The state of color distribution is calculated, and four colors (blue, bright red, red, dark blue) that are frequently used are selected within the color distribution area.

【0082】次に、選び出した4色の色データ(青は0
0,明赤は01,赤は02,暗青は03)をCLUT
Ta500の色データとし、原画像Pa 400の各画素
の色をCLUT Ta500の中で最も近い色の色コード
に置き換え、ビットマップMa 501を作成する。
Next, color data of four colors selected (blue is 0
0, bright red 01, red 02, dark blue 03) CLUT
The color data of Ta500 is used, and the color of each pixel of the original image Pa400 is replaced with the color code of the closest color in the CLUT Ta500 to create a bitmap Ma501.

【0083】例えば、原画像Pa 400のある画素が赤
に近い色だったならば、コード02に置き換える。この
とき、画質向上のために誤差拡散法やディザ法を用いて
もよい。ここで、原画像Pa 400を4色で色圧縮し、
CLUT Ta500を4色として説明したが、用いる色
数はCLUT限定色数の範囲内で自由である。また、色
圧縮の方法についても限定しない。
For example, if a pixel in the original image Pa 400 has a color close to red, the code 02 is replaced. At this time, an error diffusion method or a dither method may be used to improve the image quality. Here, the original image Pa 400 is compressed with four colors,
Although the CLUT Ta500 has been described as having four colors, the number of colors to be used is free within the range of the CLUT limited number of colors. Also, the method of color compression is not limited.

【0084】次に、原画像Pa 400を42色で色圧縮
する。色圧縮にあたって、原画像Pa 400と同一表示
位置のビットマップMa 501の各色コードの領域にあ
たる部分に、何種類の色を割り当てるか決定する。割り
当てる色数を決める方法については、例えば、各色コー
ドの領域ごとにビットマップMa 501の画素数のヒス
トグラムHd 502を作成し、その比によって各色コー
ドの領域に割り当てる色数を決定する。
Next, the original image Pa 400 is color-compressed with 42 colors. In the color compression, it is determined how many kinds of colors are to be assigned to the area corresponding to each color code area of the bitmap Ma 501 at the same display position as the original image Pa 400. Regarding the method of determining the number of colors to be assigned, for example, a histogram Hd 502 of the number of pixels of the bitmap Ma 501 is created for each area of each color code, and the number of colors to be assigned to the area of each color code is determined by the ratio.

【0085】図11及び図12において、CLUT Ga
h 503に示すように、色コード00の領域には14
色,色コード01の領域には10色,色コード02の領
域には6色,色コード03の領域には12色を割り当て
ている。
In FIG. 11 and FIG. 12, CLUT Ga
As shown in h 503, the color code 00 area has 14
The color / color code 01 area is assigned 10 colors, the color code 02 area is assigned 6 colors, and the color code 03 area is assigned 12 colors.

【0086】そして、今度は、各色コード領域別に3次
元色空間において、原画像Pa 400での色の分布の状
態を求め、CLUT Gah 503に示す色数で色圧縮し
て、ビットマップGma 504を作成する。
Then, this time, the state of the color distribution in the original image Pa 400 is obtained in the three-dimensional color space for each color code area, and the bit map Gma 504 is compressed by the number of colors shown in the CLUT Gah 503. create.

【0087】例えば、色コード00の領域であれば、青
系統の色(背景の色)を中心に代表色を14色選び、C
LUT Gah 503の色コード00〜0Dの色データと
し、色コード00の領域にあたる原画像Pa 400の各
画素の色をCLUT Gah503の色コード00〜0D
の色データの中で、最も近い色のコードに置き換える。
このとき、画質向上のために誤差拡散法やディザ法を用
いてもよい。
For example, in the case of the area of color code 00, 14 representative colors are selected centering on the blue color (background color), and C
The color data of the color code 00-0D of the LUT Gah 503 is used, and the color of each pixel of the original image Pa 400 corresponding to the area of the color code 00 is color code 00-0D of the CLUT Gah 503.
Replace with the code of the closest color in the color data of.
At this time, an error diffusion method or a dither method may be used to improve the image quality.

【0088】最後に、4色表示用のCLUTを作成す
る。4色表示用のCLUTであるCLUT Gal 505
を作成するには、CLUT Gah 503の各色コードに
対して、適応するCLUT Ta500の色データをはめ
こむことによって得られる。例えば、CLUT Gah 5
03の色コード00〜0D迄の範囲であれば、CLUT
Ta500の色コード00の色データ(赤)に全て置き
換えて、色数減少用のCLUT Gal505の色コード
00〜0Dの色データとする。他の範囲についても同様
である。
Finally, a CLUT for 4-color display is created. CLUT Gal 505 which is a CLUT for four-color display
Can be obtained by fitting the color data of the corresponding CLUT Ta500 into each color code of the CLUT Gah 503. For example, CLUT Gah 5
If it is in the range from 03 color code 00 to 0D, CLUT
All of the color data of Ta500 color code 00 (red) is replaced with the color data of color code 00-0D of CLUT Gal505 for color number reduction. The same applies to other ranges.

【0089】次に、図13及び図14は、それぞれの破
線の位置で両図を結合して1枚の図とするとき、本発明
の一実施例としてのカラー画像表示方法によって、独立
した2種類の画像からクロスフェード用の合成画像を作
成する過程を示した原理図となる。
Next, in FIGS. 13 and 14, when the two figures are combined at the positions of the respective broken lines into one figure, two independent figures are displayed by the color image display method as one embodiment of the present invention. It is a principle diagram showing a process of creating a composite image for crossfade from images of various types.

【0090】これらの図において、600は、さくらん
ぼの絵柄をR,G,B各8bitで表わした原画像Pb
である。601は、原画像Pa 400および原画像Pb
600を量子化する量子化手段である。
In these figures, reference numeral 600 is an original image Pb in which a cherry picture is represented by R, G, and B for each 8 bits.
Is. Reference numeral 601 denotes the original image Pa 400 and the original image Pb.
This is a quantizing means for quantizing 600.

【0091】602は、原画像Pa 400を量子化した
量子化データQa である。603は、原画像Pb 600
を量子化した量子化データQb である。604は、量子
化データQa 602かつ量子化データQb 603の値の
出現頻度分布を表わしたヒストグラムHq である。
Reference numeral 602 denotes quantized data Qa obtained by quantizing the original image Pa 400. 603 is the original image Pb 600
Is quantized data Qb obtained by quantizing. A histogram Hq 604 represents an appearance frequency distribution of the values of the quantized data Qa 602 and the quantized data Qb 603.

【0092】605は、量子化データの値を色階調に変
換する変換手段である。即ち、量子化データが0ならば
色階調00、量子化データが1ならば色階調55、量子
化データが2ならば色階調AA、量子化データが3なら
ば色階調FF、に変換する手段である。
Reference numeral 605 is a conversion means for converting the value of the quantized data into a color gradation. That is, if the quantized data is 0, the color gradation is 00, if the quantized data is 1, the color gradation is 55; if the quantized data is 2, the color gradation is AA; Is a means of converting into.

【0093】606は、原画像Pa 400と原画像Pb
600に対応した合併CLUT Xab である。607
は、原画像Pa 400と原画像Pb 600を同時に色コ
ードによって置き換えたビットマップXm である。
Reference numeral 606 denotes the original image Pa 400 and the original image Pb.
It is a merged CLUT Xab corresponding to 600. 607
Is a bitmap Xm in which the original image Pa 400 and the original image Pb 600 are simultaneously replaced by color codes.

【0094】608は、合併CLUT Xab 606の
内、原画像Pa 400を表示するのに用いる部分のCL
UT Xaである。609は、合併CLUT Xab 606
の内、原画像Pb 600を表示するのに用いる部分のC
LUT Xbである。
Reference numeral 608 denotes the CL of the portion of the merged CLUT Xab 606 used to display the original image Pa 400.
It is UT Xa. 609 is a merged CLUT Xab 606
Of the part C used to display the original image Pb 600
LUT Xb.

【0095】図13及び図14を参照して、クロスフェ
ード用合成画像の作成方法を説明する。まず、代表色を
選択すための準備を行なう。量子化手段601で示すよ
うに、原画像Pa 400および原画像Pb 600に量子
化を施し、量子化データQa 602および量子化データ
Qb 603を作成する。
With reference to FIGS. 13 and 14, a method of creating a cross-fading composite image will be described. First, preparations are made to select a representative color. As shown by the quantizing means 601, the original image Pa 400 and the original image Pb 600 are quantized to generate quantized data Qa 602 and quantized data Qb 603.

【0096】ここでは量子化の方法として、単に、R,
G,B各8ビットの原画像Pa 400および原画像Pb
600を6ビット右にシフトすることにより、量子化デ
ータを得ているが、量子化は、自由に行なって構わな
い。その量子化データQa 602と量子化データQb 6
03が同時に出現する頻度をとり、ヒストグラムHg 6
04を作成する。
Here, as the quantization method, simply, R,
Original image Pa 400 and original image Pb of 8 bits each for G and B
Quantized data is obtained by shifting 600 to the right by 6 bits, but the quantization may be performed freely. The quantized data Qa 602 and the quantized data Qb 6
Histogram Hg 6
Create 04.

【0097】次に、代表色の選択を行なう。ヒストグラ
ムHg 604で、色の出現頻度が多い順に、256色を
合併CLUT Xab606として抽出する。その際に、
後述の色情報変換手段301に対応させて、変換手段6
05で示すように、量子化データを色データに変換す
る。ここでは、色の出現頻度によって代表色の抽出を行
なったが、代表色の抽出は、任意に行なっても構わな
い。
Next, the representative color is selected. In the histogram Hg 604, 256 colors are extracted as a merged CLUT Xab 606 in order of increasing color appearance frequency. At that time,
The conversion means 6 is associated with the color information conversion means 301 described later.
As indicated by 05, the quantized data is converted into color data. Here, the representative color is extracted according to the color appearance frequency, but the representative color may be extracted arbitrarily.

【0098】最後に、ビットマップXm 607の作成を
行なう。原画像Pa 400および原画像Pb 600の各
画素の色を合併CLUT Xab606の色データの中で
両方ともができるだけ近い色コードに置き換え、ビット
マップXm 607を作成する。このとき、画質向上のた
めに誤差拡散法やディザ法を用いてもよい。
Finally, the bitmap Xm 607 is created. The color of each pixel of the original image Pa 400 and the original image Pb 600 is replaced with a color code that is as close as possible to each other in the color data of the merged CLUT Xab 606 to create a bitmap Xm 607. At this time, an error diffusion method or a dither method may be used to improve the image quality.

【0099】図15は、図9〜図14において作成され
た色圧縮画像データを使って画像を再生する方法を示し
た説明図である。図15において、700は、リアルタ
イムでCLUTの演算を行なう演算手段である。
FIG. 15 is an explanatory diagram showing a method for reproducing an image using the color compressed image data created in FIGS. 9 to 14. In FIG. 15, reference numeral 700 is a calculation means for calculating the CLUT in real time.

【0100】図15を用いて、図9〜図14において作
成した画像データを用いて画像エフェクトをどのように
行なうかを説明する。まず、クロスフェードから説明す
る。
A method of performing an image effect using the image data created in FIGS. 9 to 14 will be described with reference to FIG. First, the crossfade will be described.

【0101】クロスフェードを行なうには、図13及び
図14において作成したビットマップXm 607を、図
15のVRAM300へ読み込み、図14のCLUT
Xa608およびCLUT Xb609に対して、図15
の演算手段700で示す演算を施し、その値を色情報変
換手段301へと転送する。
In order to perform the crossfade, the bitmap Xm 607 created in FIGS. 13 and 14 is read into the VRAM 300 of FIG. 15 and the CLUT of FIG.
15 for Xa608 and CLUT Xb609.
The calculation shown in the calculation means 700 is performed and the value is transferred to the color information conversion means 301.

【0102】演算手段700において、Rout,Gout,
Bout は色情報変換手段301に書き込まれる色データ
の値である。Ra,Ga,Ba はCLUT Xa608の各
コードでの色データの値である。Rb,Gb,Bb はCL
UT Xb609の各コードでの色データの値である。k
(t)は時間が経つにつれ0から1へと徐々に増加する
時間関数である。こうして表示装置302にクロスフェ
ードされた画像が再生される。
In the calculation means 700, Rout, Gout,
Bout is the value of the color data written in the color information conversion means 301. Ra, Ga, and Ba are values of color data in each code of CLUT Xa608. Rb, Gb, Bb are CL
It is a value of color data in each code of UT Xb609. k
(T) is a time function that gradually increases from 0 to 1 over time. Thus, the cross-faded image is reproduced on the display device 302.

【0103】次に、グローを説明する。グローを行なう
には、図9及び図10において作成したビットマップG
m 406を、図15のVRAM300へ読み込み、CL
UTXa608の代わりとしてCLUT Ga405を用
い、CLUT Xb609の代わりとしてCLUT Gc4
07を用い、演算手段700で示す演算を施し、その値
を色情報変換手段301へと転送する。
Next, the glow will be described. To perform the glow, the bitmap G created in FIG. 9 and FIG.
m 406 is loaded into the VRAM 300 of FIG. 15 and CL
CLUT Ga405 is used instead of UTXa608, and CLUT Gc4 is used instead of CLUT Xb609.
07, the calculation shown in the calculation unit 700 is performed, and the value is transferred to the color information conversion unit 301.

【0104】このとき、Rout,Gout,Bout の値がオ
ーバーフローしていれば、色情報変換手段301の取り
得る色データの最大値でリミッタをかける。このときの
Ra,Ga,Ba はCLUT Ga405の各コードでの色
データの値である。Rb,Gb,Bb はCLUT Gc40
7の各コードでの色データの値である。k(t)は時間
が経つにつれ0から1へと徐々に増加した後、1から0
へと徐々に減少する時間関数である。こうして表示装置
302にグロー効果が施された画像が再生される。
At this time, if the values of Rout, Gout, and Bout overflow, the limiter is applied with the maximum value of the color data that the color information conversion means 301 can take. Ra, Ga, and Ba at this time are the values of the color data in each code of the CLUT Ga405. Rb, Gb, Bb are CLUT Gc40
It is the value of the color data in each code of 7. k (t) gradually increases from 0 to 1 over time, and then 1 to 0
Is a time function that gradually decreases to. In this way, the image on which the glow effect has been applied is reproduced on the display device 302.

【0105】最後に、段階的な色数変化を説明する。段
階的な色数変化を行なうには、図11及び図12におい
て作成した、ビットマップGma504を、図15のVR
AM300へ読み込み、CLUT Xa608の代わりと
してCLUT Gah 503を用い、CLUT Xb609
の代わりとしてCLUT Gal505を用い、演算手段
700で示す演算を施し、その値を色情報変換手段30
1へと転送する。
Finally, the stepwise change in the number of colors will be described. In order to change the number of colors in steps, the bitmap Gma504 created in FIGS. 11 and 12 is changed to VR in FIG.
Read into AM300, use CLUT Gah 503 instead of CLUT Xa608, and use CLUT Xb609
CLUT Gal 505 is used instead of the above, and the calculation shown by the calculation means 700 is performed, and the value is converted into the color information conversion means 30.
Transfer to 1.

【0106】このときのRa,Ga,Ba はCLUT Ga
h503の各コードでの色データの値である。Rb,G
b,Bb はCLUT Gal505の各コードでの色データ
の値である。k(t)は時間が経つにつれ0から1へと
徐々に増加する、あるいは、1から0へと徐々に減少す
る時間関数である。こうして表示装置302に段階的な
色数変化をする画像が再生される。
Ra, Ga, and Ba at this time are CLUT Ga.
It is the value of the color data in each code of h503. Rb, G
b and Bb are values of color data in each code of CLUT Gal505. k (t) is a time function that gradually increases from 0 to 1 or gradually decreases from 1 to 0 over time. In this way, an image in which the number of colors changes step by step is reproduced on the display device 302.

【0107】図16は、図9〜図12で示した原理によ
り作成した合成画像を用いて高質なグロー表示を行なう
方法について示した説明図である。
FIG. 16 is an explanatory diagram showing a method of performing high-quality glow display using a composite image created according to the principle shown in FIGS.

【0108】図16において、800は、色数の変化を
始めた、あるいは、終った段階での表示画像である。8
01は、グローに入る、あるいは、終る段階での表示画
像である。802は、グローしている期間での表示画像
である。
In FIG. 16, reference numeral 800 is a display image at the stage when the change in the number of colors is started or ended. 8
01 is a display image at the stage of entering or ending the glow. Reference numeral 802 is a display image during the glowing period.

【0109】まず、図9及び図10に示す方法で、グロ
ー用の画像データを作成する。次に、図11及び図12
に示す方法で色数を変化させる画像データを作成する
が、CLUT Ta500として、CLUT Ga405
(図9)で用いられた色をすべて用いる。但し、CLU
T Ga405では同じ色が複数の色コードに登録されて
いるので、CLUT Ta500の色コード数は、CLU
T Ga405の色コード数よりも少なくする。
First, image data for glow is created by the method shown in FIGS. Next, FIG. 11 and FIG.
Image data for changing the number of colors is created by the method shown in, but as CLUT Ta500, CLUT Ga405
All the colors used in (Fig. 9) are used. However, CLU
Since the same color is registered in multiple color codes in TGa405, the number of color codes in CLUT Ta500 is CLU.
Use less than the number of T Ga405 color codes.

【0110】そして、CLUT Ga 405とビットマ
ップGm 406の組合せで表示する表示画像と、CLU
T Ta 500とビットマップMa 501の組合せで表
示する表示画像が、全く等しくなるように、ビットマッ
プMa 501における色コードを選択する。以下、図1
1及び図12において説明したとおりである。
The display image displayed by the combination of the CLUT Ga 405 and the bitmap Gm 406 and the CLU
The color code in the bitmap Ma 501 is selected so that the display images displayed by the combination of T Ta 500 and the bitmap Ma 501 are exactly the same. Below, Figure 1
1 and as described in FIG.

【0111】最後に、画像データの制御について説明す
る。段階的に色数を少なくして画質を調整するのに、図
15において、ビットマップGma504をVRAM30
0へ読み込み、CLUT Xa608の代わりとしてCL
UT Gah503を用い、CLUT Xb609の代わり
としてCLUT Gal505を用いる。時間関数k
(t)を0から1へと徐々に変化させながら演算手段7
00で示す演算を行ない、その値を色情報変換手段30
1へと連続転送する。
Finally, control of image data will be described. To adjust the image quality by gradually reducing the number of colors, the bitmap Gma 504 in FIG.
Read to 0, CL instead of CLUT Xa608
UT Gah 503 is used and CLUT Gal 505 is used instead of CLUT Xb609. Time function k
The calculation means 7 while gradually changing (t) from 0 to 1
00, and the value is converted into the color information conversion means 30.
Continuous transfer to 1.

【0112】時間関数k(t)が1に達したならば、グ
ローを行なうのに、VRAM300の内容をビットマッ
プGm 406に瞬時に切り換え、CLUT Xa608の
代わりとしてCLUT Ga405を用い、CLUT Xb
609の代わりとしてCLUT Gc407を用いる。
When the time function k (t) reaches 1, the contents of the VRAM 300 are instantly switched to the bitmap Gm 406 to perform the glow, the CLUT Ga 405 is used instead of the CLUT Xa 608, and the CLUT Xb is used.
CLUT Gc 407 is used instead of 609.

【0113】時間関数k(t)を0から1へと、そして
また1から0へと、徐々に変化させながら演算手段70
0で示す演算を行ない、その値を色情報変換手段301
へと連続転送する。このとき、Rout,Gout,Bout の
値がオーバーフローしていれば、色情報変換手段301
の取り得る色データの最大値でリミッタをかける。
The calculating means 70 while gradually changing the time function k (t) from 0 to 1 and again from 1 to 0
The calculation indicated by 0 is performed, and the value is converted into the color information conversion unit 301.
Continuous transfer to. At this time, if the values of Rout, Gout, and Bout have overflowed, the color information conversion unit 301
The limiter is applied with the maximum value of the color data that can be taken.

【0114】時間関数k(t)が0に戻ったならば、段
階的に色数を多くして画質を調整するのに、VRAM3
00の内容をビットマップGma504に瞬時に切り換
え、CLUT Xa608の代わりとしてCLUT Gah
503を用い、CLUTXb609の代わりとしてCL
UT Gal 505を用い、時間関数k(t)を1から0
へと徐々に変化させながら演算手段700で示す演算を
行ない、その値を色情報変換手段301へと連続転送す
る。
When the time function k (t) returns to 0, the VRAM 3 is used to adjust the image quality by gradually increasing the number of colors.
The contents of 00 are instantly switched to the bitmap Gma 504, and CLUT Gah is used instead of CLUT Xa 608.
503, CL instead of CLUTXb609
UT Gal 505 and time function k (t) from 1 to 0
The calculation shown in the calculation unit 700 is performed while gradually changing to, and the value is continuously transferred to the color information conversion unit 301.

【0115】以上の制御を施すことにより、図16にお
ける表示画像801,802,803に示すように、高
品質で滑らかなグロー表示を行なうことができる。
By performing the above control, high quality and smooth glow display can be performed as shown in display images 801, 802 and 803 in FIG.

【0116】図17は、図13,図14および図11,
図12で示した原理により作成した合成画像を用いて高
質なクロスフェード表示を行なう方法について示した説
明図である。
FIG. 17 is a schematic diagram of FIG.
It is explanatory drawing shown about the method of performing a high quality cross fade display using the synthetic image produced according to the principle shown in FIG.

【0117】図17において900は、原画像Pa 40
0の図柄を表示するためのビットマップXmaである。ビ
ットマップGma504(図12)に相当する。901
は、CLUT Xa608(図14)と同色で構成された
CLUT Xalである。CLUT Gal 505(図1
2)に相当する。
In FIG. 17, 900 is the original image Pa 40.
It is a bitmap Xma for displaying a 0 symbol. This corresponds to the bitmap Gma504 (FIG. 12). 901
Is a CLUT Xal configured in the same color as the CLUT Xa 608 (FIG. 14). CLUT Gal 505 (Fig. 1
It corresponds to 2).

【0118】902は、CLUT Xal 901より多い
色数で構成されたCLUT Xahである。CLUT Gah
503に相当する。903は、原画像Pb 600の図
柄を表示するためのビットマップXmbである。ビットマ
ップGma504に相当する。
Reference numeral 902 is a CLUT Xah composed of a larger number of colors than the CLUT Xal 901. CLUT Gah
It corresponds to 503. Reference numeral 903 is a bitmap Xmb for displaying the design of the original image Pb 600. This corresponds to the bitmap Gma504.

【0119】904は、CLUT Xb609と同色で構
成されたCLUT Xblである。CLUT Gal 505
に相当する。905は、CLUT Xbl 901より多い
色数で構成されたCLUT Xbhである。CLUT Gah
503に相当する。
Reference numeral 904 is a CLUT Xbl constructed in the same color as the CLUT Xb609. CLUT Gal 505
Equivalent to. Reference numeral 905 denotes a CLUT Xbh composed of a larger number of colors than the CLUT Xbl 901. CLUT Gah
It corresponds to 503.

【0120】906は、色数の変化を始めた段階での表
示画像である。907は、クロスフェードに入る段階で
の表示画像である。908は、クロスフェードしている
期間での表示画像である。909は、クロスフェードが
終る段階での表示画像である。910は、色数の変化が
終る段階での表示画像である。
Reference numeral 906 is a display image at the stage when the number of colors has started to change. Reference numeral 907 is a display image at the stage of entering the crossfade. Reference numeral 908 denotes a display image during the crossfade period. Reference numeral 909 is a display image at the stage when the cross fade ends. Reference numeral 910 is a display image at the stage when the change in the number of colors ends.

【0121】まず、図13及び図14に示す方法で、ク
ロスフェード用の画像データを作成する。次に、図11
及び図12に示す方法で色数を変化させる画像データを
作成するが、原画像Pa 400用の場合、CLUT Ta
500として、CLUTXa608で用いられた色をす
べて用いる。但し、CLUT Xa608では同じ色が複
数の色コードに登録されているので、CLUT Ta50
0の色コード数は、CLUT Xa608の色コード数よ
りも少なくなる。
First, image data for crossfading is created by the method shown in FIGS. Next, FIG.
And image data for changing the number of colors is created by the method shown in FIG. 12, but in the case of the original image Pa 400, CLUT Ta is used.
As 500, all the colors used in CLUTXa 608 are used. However, since the same color is registered in a plurality of color codes in CLUT Xa608, CLUT Ta50
The number of color codes of 0 is smaller than that of CLUT Xa608.

【0122】そして、CLUT Xa608とビットマッ
プXm 507の組合せで表示する表示画像と、CLUT
Ta500とビットマップMa 501の組合せで表示す
る表示画像が、全く等しくなるように、ビットマップM
a 501における色コードを選択する。以下、図11及
び図12において説明したとおりである。
Then, the display image displayed by the combination of the CLUT Xa 608 and the bitmap Xm 507, and the CLUT
The bit map M should be set so that the display images displayed by the combination of Ta500 and the bit map Ma501 become exactly the same.
a Select the color code in 501. This is as described in FIGS. 11 and 12 below.

【0123】同様に、原画像Pb 600用の場合、CL
UT Ta500として、CLUTXb 609で用いられ
た色をすべて用いる。そして、CLUT Xb609とビ
ットマップXm 507の組合せで表示する表示画像と、
CLUT Ta500とビットマップMa 501の組合せ
で表示する表示画像が、全く等しくなるように、ビット
マップMa 501における色コードを選択する。以下、
図11及び図12において説明したとおりである。
Similarly, in the case of the original image Pb 600, CL
As UT Ta500, all colors used in CLUTXb 609 are used. Then, a display image displayed by combining the CLUT Xb609 and the bitmap Xm507,
The color code in the bitmap Ma 501 is selected so that the display images displayed by the combination of the CLUT Ta 500 and the bitmap Ma 501 are exactly the same. Less than,
This is as described in FIGS. 11 and 12.

【0124】最後に、画像データの制御について説明す
る。段階的に色数を少なくして画質を調整するのに、図
15においてビットマップGma504をVRAM300
へ読み込み、CLUT Xa608の代わりとしてCLU
T Xah 902を用い、CLUT Xb609の代わりと
してCLUT Xal 901を用いる。
Finally, the control of image data will be described. To adjust the image quality by gradually reducing the number of colors, the bitmap Gma 504 in FIG.
Read in, CLU as an alternative to CLUT Xa608
T Xah 902 is used and CLUT Xal 901 is used instead of CLUT Xb 609.

【0125】時間関数k(t)を0から1へと徐々に変
化させながら演算手段700で示す演算を行ない、その
値を色情報変換手段301へと連続転送する。時間関数
k(t)が1に達したならば、クロスフェードを行なう
のに、VRAM300の内容をビットマップXm 507
に瞬時に切り換え、CLUT Xa608とCLUTXb
609を用い、時間関数k(t)を0から1へと徐々に
変化させながら演算手段700で示す演算を行ない、そ
の値を色情報変換手段301へと連続転送する。
While the time function k (t) is gradually changed from 0 to 1, the calculation shown in the calculation means 700 is performed, and the value is continuously transferred to the color information conversion means 301. When the time function k (t) reaches 1, the contents of the VRAM 300 are changed to the bitmap Xm 507 for crossfading.
Switch to CLUT Xa608 and CLUTXb
Using 609, the calculation shown by the calculation unit 700 is performed while gradually changing the time function k (t) from 0 to 1, and the value is continuously transferred to the color information conversion unit 301.

【0126】時間関数k(t)が1に達したならば、段
階的に色数を多くして画質を調整するのに、VRAM3
00の内容をビットマップXmb903に瞬時に切り換
え、CLUT Xa608の代わりとしてCLUT Xbh
905を用い、CLUTXb609の代わりとしてCL
UT Xbl 904を用い、時間関数k(t)を1から0
へと徐々に変化させながら演算手段700で示す演算を
行ない、その値を色情報変換手段301へと連続転送す
る。
When the time function k (t) reaches 1, the VRAM 3 is used to adjust the image quality by gradually increasing the number of colors.
The contents of 00 are instantly switched to the bitmap Xmb903, and CLUT Xbh is used instead of CLUT Xa608.
905, CL instead of CLUTXb609
UT Xbl 904 and time function k (t) from 1 to 0
The calculation shown in the calculation unit 700 is performed while gradually changing to, and the value is continuously transferred to the color information conversion unit 301.

【0127】以上の制御を施すことにより、図17にお
ける表示画像906ないし910に示すように、高品質
で滑らかなクロスフェード表示を行なうことができる。
By performing the above control, high quality and smooth crossfade display can be performed as shown in the display images 906 to 910 in FIG.

【0128】なお、これまでの実施例において、CLU
Tデータの色数を限定して、任意の色数において、この
発明が適用可能であることが明白であり、また、2画像
の合成画像として説明したが、画像は2種類に限定する
必要はなく、画像1種類に割り当てる色数が1以上で、
かつそれぞれの画像に割り当てた色数の積がCLUTの
色数以下であればこの発明の効果は変わらない。
In the above embodiments, the CLU
It is clear that the present invention can be applied to any number of colors by limiting the number of colors of T data, and it has been explained as a composite image of two images, but it is not necessary to limit the number of images to two. , The number of colors assigned to one type of image is 1 or more,
Moreover, if the product of the number of colors assigned to each image is less than or equal to the number of colors in the CLUT, the effect of the present invention remains unchanged.

【0129】さらに、図1の原理図で説明したように、
表示画像全体に対してのみ本発明が有効だと言うのでは
なく、例えば、マルチウィンドウ表示の一部ウィンドウ
に対してもクロスフェード,フェードイン,フェードア
ウト,グロー等の画像エフェクトができる。
Furthermore, as explained in the principle diagram of FIG.
It is not said that the present invention is effective only for the entire display image, and for example, image effects such as crossfade, fade-in, fade-out, and glow can be performed even for a partial window of multi-window display.

【0130】上記においては、すべて1つのCLUTを
用いる表示装置について説明してきたが、例えば、R,
G,B3色独立にCLUTを用いるような表示装置に対
しても、R,G,B各表示プレーンごとに本発明による
複数画像の合成画像を作成し、R,G,B用の各CLU
Tごとに本発明による合成CLUTを作成して用いれ
ば、R,G,B用の各CLUTを変更するだけで複数画
像の表示が行えるという効果は変わらない。
In the above description, the display device using one CLUT has been described.
Even for a display device that uses a CLUT independently for G and B three colors, a composite image of a plurality of images according to the present invention is created for each R, G, B display plane, and each CLU for R, G, B is created.
If a composite CLUT according to the present invention is created and used for each T, the effect that a plurality of images can be displayed only by changing each RLUT for G, B, and B remains unchanged.

【0131】[0131]

【発明の効果】以上、説明してきたように本発明によれ
ば、表示メモリ容量および回路規模を増大させることな
く、VRAMに格納可能な数以上の画像数でクロスフェ
ード切換,フェードイン,フェードアウト,グローなど
の画像エフェクトが可能であるという利点がある。
As described above, according to the present invention, cross-fade switching, fade-in, fade-out, and fade-out can be performed with the number of images that can be stored in the VRAM or more without increasing the display memory capacity and the circuit scale. There is an advantage that image effects such as glow are possible.

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

【図1】本発明の一実施例としてのカラー画像表示方法
によって、独立した2種類の画像からの合成画像を作成
する様子を示した原理図である。
FIG. 1 is a principle diagram showing how a composite image is created from two independent types of images by a color image display method as an embodiment of the present invention.

【図2】図1における原画像A100および原画像B1
10のビットマップを構成する色コードAa,Ab,B
a,Bbに対応する色データの具体的な値を一例として
示す説明図である。
2 is an original image A100 and an original image B1 in FIG.
Color codes Aa, Ab, B that compose 10 bitmaps
It is explanatory drawing which shows the specific value of the color data corresponding to a and Bb as an example.

【図3】図1の合成画像X120における色コードAB
aに対応する色データXa(t)のクロスフェード切換
中の推移を示す説明図である。
3 is a color code AB in the composite image X120 of FIG.
It is explanatory drawing which shows the transition during the crossfade change of the color data Xa (t) corresponding to a.

【図4】原画像A100から原画像B110へ時間経過
tにしたがって推移する合成画像X120の状態を示し
た推移図である。
FIG. 4 is a transition diagram showing a state of a composite image X120 that transitions from an original image A100 to an original image B110 with a lapse of time t.

【図5】本発明の一実施例としてのカラー画像表示方法
によって、独立した2種類の画像からの合成画像を作成
する過程を示した概念図である。
FIG. 5 is a conceptual diagram showing a process of creating a composite image from two independent images by the color image display method as one embodiment of the present invention.

【図6】図5におけるCLUTの内容を説明するための
説明図である。
FIG. 6 is an explanatory diagram for explaining the contents of the CLUT in FIG.

【図7】図5におけるCLUTの内容を説明するための
説明図である。
FIG. 7 is an explanatory diagram for explaining the contents of the CLUT in FIG.

【図8】本発明の一実施例としてのカラー画像表示方法
によって、独立した2種類の画像からの合成画像を作成
するための手段を示したブロック図である。
FIG. 8 is a block diagram showing means for creating a composite image from two independent types of images by the color image display method according to the embodiment of the present invention.

【図9】本発明の一実施例としてのカラー画像表示方法
によって、独立した2種類の画像からの合成画像を作成
する過程の前半分を示した原理図である。
FIG. 9 is a principle diagram showing a first half of a process of creating a composite image from two independent types of images by a color image display method as one embodiment of the present invention.

【図10】図9に示す合成画像作成過程の後半分を示し
た原理図である。
FIG. 10 is a principle diagram showing the latter half of the process of creating the composite image shown in FIG. 9;

【図11】本発明の一実施例としてのカラー画像表示方
法によって、段階的に表示画像の色数が変化する合成画
像を作成する過程の前半分を示した原理図である。
FIG. 11 is a principle diagram showing the first half of the process of creating a composite image in which the number of colors of the display image changes stepwise by the color image display method as one embodiment of the present invention.

【図12】図11に示す合成画像作成過程の後半分を示
した原理図である。
FIG. 12 is a principle diagram showing the latter half of the synthetic image creating process shown in FIG. 11;

【図13】本発明の一実施例としてのカラー画像表示方
法によって、独立した2種類の画像からクロスフェード
用の合成画像を作成する過程の上半分を示した原理図で
ある。
FIG. 13 is a principle diagram showing the upper half of the process of creating a composite image for crossfade from two independent images by the color image display method as one embodiment of the present invention.

【図14】本発明の一実施例としてのカラー画像表示方
法によって、独立した2種類の画像からクロスフェード
用の合成画像を作成する過程の下半分を示した原理図で
ある。
FIG. 14 is a principle diagram showing the lower half of the process of creating a composite image for crossfade from two independent images by the color image display method according to the embodiment of the present invention.

【図15】図9〜図14において作成された色圧縮画像
データを使って画像を再生する方法を示した説明図であ
る。
FIG. 15 is an explanatory diagram showing a method of reproducing an image using the color compressed image data created in FIGS. 9 to 14;

【図16】図9〜図12で示した原理により作成した合
成画像を用いて高質なグロー表示を行なう方法について
示した説明図である。
FIG. 16 is an explanatory diagram showing a method of performing high-quality glow display using a composite image created according to the principle shown in FIGS. 9 to 12.

【図17】図13,図14および図11,図12で示し
た原理により作成した合成画像を用いて高質なクロスフ
ェード表示を行なう方法について示した説明図である。
FIG. 17 is an explanatory diagram showing a method of performing high-quality crossfade display using a composite image created based on the principle shown in FIGS. 13, 14 and 11 and 12.

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

100…原画像A、101…色コードAaの単色ビット
マップ領域、102…色コードAbの単色ビットマップ
領域、110…原画像B、111…色コードBaの単色
ビットマップ領域、112…色コードBbの単色ビット
マップ領域、120…合成画像X、121…色コードA
Baの単色ビットマップ領域、122…色コードABb
の単色ビットマップ領域、123…色コードABcの単
色ビットマップ領域、124…色コードABdの単色ビ
ットマップ領域、201…CLUTA、202…ビット
マップA、211…CLUTB、212…ビットマップ
B、221…CLUTX、222…ビットマップX、3
00…VRAM、301…色情報変換手段、302…表
示装置、400…原画像Pa、401…原画像Pc、40
2…CLUT Tc、403…ビットマップMc、404
…ヒストグラムHg、405…CLUT Ga、406…
ビットマップGm、407…CLUTGc、500…CL
UT Ta、501…ビットマップMa、502…ヒスト
グラムHd、503…CLUT Gah、504…ビットマ
ップGma、505…CLUT Gal、600…原画像P
b、601…量子化手段、602…量子化データQa、6
03…量子化データQb、604…ヒストグラムHq、6
05…量子化データの値を色階調に変換する変換手段、
606…合併CLUT Xab、607…ビットマップX
m、608…CLUT Xa、609…CLUT Xb、
700…リアルタイムでCLUTの演算を行なう演算手
段、800…色数の変化を始めた、あるいは、終った段
階での表示画像、801…グローに入る、あるいは、終
る段階での表示画像、802…グローしている期間での
表示画像、900…ビットマップXma、901…CLU
T Xal、902…CLUT Xah、903…ビットマッ
プXmb、904…CLUT Xbl、905…CLUT X
bh、906…色数の変化を始めた段階での表示画像、9
07…クロスフェードに入る段階での表示画像、908
…クロスフェードしている期間での表示画像、909…
クロスフェードが終る段階での表示画像、910…色数
の変化が終る段階での表示画像
Reference numeral 100 ... Original image A, 101 ... Monochromatic bitmap area of color code Aa, 102 ... Monochromatic bitmap area of color code Ab, 110 ... Original image B, 111 ... Monochromatic bitmap area of color code Ba, 112 ... Color code Bb Bit map area of 120, ... Synthetic image X, 121 ... Color code A
Monochromatic bitmap area of Ba, 122 ... Color code ABb
, Monochrome color bitmap area of color code ABc, 124 ... monochrome color bitmap area of color code ABd, 201 ... CLUTA, 202 ... bitmap A, 211 ... CLUTB, 212 ... bitmap B, 221 ... CLUTX, 222 ... Bitmap X, 3
00 ... VRAM, 301 ... Color information converting means, 302 ... Display device, 400 ... Original image Pa, 401 ... Original image Pc, 40
2 ... CLUT Tc, 403 ... Bitmap Mc, 404
… Histogram Hg, 405… CLUT Ga, 406…
Bit map Gm, 407 ... CLUTGc, 500 ... CL
UT Ta, 501 ... Bitmap Ma, 502 ... Histogram Hd, 503 ... CLUT Gah, 504 ... Bitmap Gma, 505 ... CLUT Gal, 600 ... Original image P
b, 601 ... Quantization means, 602 ... Quantized data Qa, 6
03 ... Quantized data Qb, 604 ... Histogram Hq, 6
05 ... conversion means for converting the value of the quantized data into color gradation,
606 ... Merged CLUT Xab, 607 ... Bitmap X
m, 608 ... CLUT Xa, 609 ... CLUT Xb,
700 ... Calculation means for performing CLUT calculation in real time, 800 ... Display image at the stage of starting or ending the change in the number of colors, 801 ... Display image at the stage of entering or ending the glow, 802 ... Glow Displayed image during the current period, 900 ... Bitmap Xma, 901 ... CLU
T Xal, 902 ... CLUT Xah, 903 ... Bitmap Xmb, 904 ... CLUT Xbl, 905 ... CLUT X
bh, 906 ... Display image at the stage when the number of colors starts to change, 9
07 ... Display image at the stage of entering the crossfade, 908
... Display image during crossfade period, 909 ...
Display image at the end of crossfade, 910 ... Display image at the end of color number change

───────────────────────────────────────────────────── フロントページの続き (72)発明者 川上 浩司 神奈川県横浜市戸塚区吉田町292番地 株 式会社日立画像情報システム内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Koji Kawakami 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Incorporated Hitachi Image Information Systems Co., Ltd.

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 画像を、該画像の各画素に対応した色コ
ードの集合であるビットマップと、該ビットマップの要
素である各色コードにそれぞれ色データを対応づけるカ
ラールックアップテーブルと、を用いて表示するカラー
画像表示方法において、 前記ビットマップおよびカラールックアップテーブルを
それぞれ複数画像分用意し、 合成画像の各画素に対応した色コード(以下、合成色コ
ードという)を、それぞれ、用意された複数の前記ビッ
トマップから各々得られる、前記画素と同一位置の画素
に対応した色コード同士を合成することにより作成し、
前記合成色コードの集合である合成ビットマップを得る
と共に、 該合成ビットマップの要素である各合成色コードに対応
づける色データ(以下、合成色データという)を、それ
ぞれ、用意された複数の前記カラールックアップテーブ
ルから各々得られる、前記合成色コードを作成するため
に合成された前記色コードに対応づけられた色データに
基づいて作成し、前記合成ビットマップの要素である各
合成色コードにそれぞれ前記合成色データを対応づける
合成カラールックアップテーブルを得て、 前記合成画像を、前記合成ビットマップと合成カラール
ックアップテーブルとを用い表示するようにしたことを
を特徴とするカラー画像表示方法。
1. An image using a bitmap that is a set of color codes corresponding to each pixel of the image and a color lookup table that associates color data with each color code that is an element of the bitmap. In the color image display method of displaying as a plurality of images, the bitmap and the color look-up table are prepared for a plurality of images, and a color code (hereinafter, referred to as a composite color code) corresponding to each pixel of the composite image is prepared. Created by synthesizing color codes corresponding to pixels at the same position as the pixel, each obtained from a plurality of the bitmaps,
A composite bitmap that is a set of the composite color codes is obtained, and color data (hereinafter referred to as composite color data) that is associated with each composite color code that is an element of the composite bitmap is provided in each of the plurality of prepared color data. Created on the basis of the color data associated with the color code combined to create the composite color code, each obtained from a color look-up table, and each composite color code that is an element of the composite bitmap is created. A color image display method, characterized in that a composite color lookup table that associates the composite color data with each other is obtained, and the composite image is displayed using the composite bitmap and the composite color lookup table. .
【請求項2】 請求項1に記載のカラー画像表示方法に
おいて、用意された複数画像分の前記ビットマップおよ
びカラールックアップテーブルのうち、第1の画像を表
示するために用いるビットマップおよびカラールックア
ップテーブルを第1のビットマップおよび第1のカラー
ルックアップテーブルとし、第2の画像を表示するため
に用いるビットマップおよびカラールックアップテーブ
ルを第2のビットマップおよび第2のカラールックアッ
プテーブルとした場合に、複数の前記カラールックアッ
プテーブルから各々得られる前記色データに基づいて作
成される前記合成色データを、前記第1のカラールック
アップテーブルから得られる前記色データから前記第2
のカラールックアップテーブルから得られる前記色デー
タに瞬時に切り換えることにより、表示される前記合成
画像を前記第1の画像から第2の画像に切り換え得るよ
うにしたことを特徴とするカラー画像表示方法。
2. The color image display method according to claim 1, wherein among the prepared bitmaps and color lookup tables for a plurality of images, a bitmap and a color look used for displaying a first image. The up table is a first bitmap and a first color lookup table, and the bitmap and color lookup table used to display the second image are a second bitmap and a second color lookup table. In this case, the composite color data created based on the color data obtained from each of the plurality of color look-up tables is converted into the second color data from the color data obtained from the first color look-up table.
Color image display method, wherein the composite image to be displayed can be switched from the first image to the second image by instantaneously switching to the color data obtained from the color lookup table of .
【請求項3】 請求項1に記載のカラー画像表示方法に
おいて、用意された複数画像分の前記ビットマップおよ
びカラールックアップテーブルのうち、第1の画像を表
示するために用いるビットマップおよびカラールックア
ップテーブルを第1のビットマップおよび第1のカラー
ルックアップテーブルとし、第2の画像を表示するため
に用いるビットマップおよびカラールックアップテーブ
ルを第2のビットマップおよび第2のカラールックアッ
プテーブルとした場合に、複数の前記カラールックアッ
プテーブルから各々得られる前記色データに基づいて作
成される前記合成色データを、前記第1のカラールック
アップテーブルから得られる前記色データと前記第2の
カラールックアップテーブルから得られる前記色データ
とを所定の比率で合成したデータとすることにより、表
示される前記合成画像を前記第1の画像と前記第2の画
像とのオーバーラップ画像とし得るようにしたことを特
徴とするカラー画像表示方法。
3. The color image display method according to claim 1, wherein among the prepared bitmaps and color lookup tables for a plurality of images, a bitmap and a color look used for displaying a first image. The up table is a first bitmap and a first color lookup table, and the bitmap and color lookup table used to display the second image are a second bitmap and a second color lookup table. In this case, the composite color data created based on the color data respectively obtained from the plurality of color look-up tables is used as the color data and the second color obtained from the first color look-up table. Combine with the color data obtained from the look-up table at a predetermined ratio. A color image display method, wherein the synthesized image to be displayed can be an overlap image of the first image and the second image by using the generated data.
【請求項4】 請求項1に記載のカラー画像表示方法に
おいて、用意された複数画像分の前記ビットマップおよ
びカラールックアップテーブルのうち、第1の画像を表
示するために用いるビットマップおよびカラールックア
ップテーブルを第1のビットマップおよび第1のカラー
ルックアップテーブルとし、第2の画像を表示するため
に用いるビットマップおよびカラールックアップテーブ
ルを第2のビットマップおよび第2のカラールックアッ
プテーブルとした場合に、 複数の前記カラールックアップテーブルから各々得られ
る前記色データに基づいて作成される前記合成色データ
を、前記第1のカラールックアップテーブルから得られ
る前記色データと前記第2のカラールックアップテーブ
ルから得られる前記色データとを所定の比率で合成した
データとすると共に、前記比率を時間経過にしたがって
段階的に変化させることにより、表示される前記合成画
像を前記第1の画像から前記第2の画像にクロスフェー
ドで切り換え得るようにしたことを特徴とするカラー画
像表示方法。
4. The color image display method according to claim 1, wherein among the prepared bitmaps and color look-up tables for a plurality of images, a bitmap and a color look used for displaying a first image. The up table is a first bitmap and a first color lookup table, and the bitmap and color lookup table used to display the second image are a second bitmap and a second color lookup table. In this case, the composite color data created based on the color data obtained from each of the plurality of color look-up tables is used as the color data and the second color obtained from the first color look-up table. A predetermined ratio with the color data obtained from the lookup table In addition to the generated data, the ratio is changed stepwise over time so that the displayed composite image can be switched from the first image to the second image by crossfade. A color image display method characterized by the following.
【請求項5】 請求項1に記載のカラー画像表示方法に
おいて、第1の画像(100)を表示するために用いる
カラールックアップテーブル(201)を第1のカラー
ルックアップテーブルとし、第2の画像(110)を表
示するために用いるカラールックアップテーブル(21
1)を第2のカラールックアップテーブルとした場合
に、 複数の前記カラールックアップテーブルから各々得られ
る前記色データに基づいて作成される前記合成色データ
を、前記第1のカラールックアップテーブル(201)
から得られる色データに前記第2のカラールックアップ
テーブル(211)から得られる色データを所定の比率
で加算して得る(221)こととして、前記比率を時間
経過にしたがって段階的に変化させることにより、前記
第1のカラールックアップテーブル(201)と第2の
カラールックアップテーブル(211)に基づき作成さ
れた合成ビットマップ(222)により表示される画像
を、前記第1の画像(100)から前記第1の画像(1
00)と第2の画像(110)の和である合成画像に徐
々に変化させることを特徴とするカラー画像表示方法。
5. The color image display method according to claim 1, wherein the color look-up table (201) used for displaying the first image (100) is a first color look-up table, and a second color look-up table is used. A color lookup table (21 used to display the image (110).
1) as the second color lookup table, the composite color data created based on the color data obtained from each of the plurality of color lookup tables is converted into the first color lookup table ( 201)
The color data obtained from the second color lookup table (211) is added to the color data obtained from (211) at a predetermined ratio to obtain (221), and the ratio is changed stepwise with the passage of time. The image displayed by the composite bitmap (222) created based on the first color lookup table (201) and the second color lookup table (211) is converted into the first image (100). From the first image (1
00) and the second image (110) are gradually changed to a composite image, which is a color image display method.
【請求項6】 請求項1に記載のカラー画像表示方法に
おいて、用意された複数画像分の前記ビットマップおよ
びカラールックアップテーブルのうち、第1の画像を表
示するために用いるビットマップおよびカラールックア
ップテーブルを第1のビットマップおよび第1のカラー
ルックアップテーブルとし、第2の画像を表示するため
に用いるビットマップおよびカラールックアップテーブ
ルを第2のビットマップおよび第2のカラールックアッ
プテーブルとした場合に、 前記第1の画像(図11の400)と第2の画像(図1
1の400)は、絵柄は原画像を同じくする同一絵柄で
あるが、前記第1のカラールックアップテーブル(50
3)で用いる第1の色データと第2のカラールックアッ
プテーブル(図12の505)で用いる第2の色データ
とでは、色数を異ならせることにより、第1の画像と第
2の画像は、異なる色状態で表示するものとし、 複数の前記カラールックアップテーブルから各々得られ
る前記色データに基づいて作成される合成色データとし
て、 前記第1のカラールックアップテーブル(503)から
得られる第1の色データと第2のカラールックアップテ
ーブル(505)から得られる第2の色データとを所定
の比率で合成し、かつ該比率を時間経過にしたがって段
階的に変化させることにより、第1の色データから、両
色データの混合データを経て、第2の色データに移る、
時間的に変化する合成色データを得て、 表示される画像を、前記第1の画像から、それとは色状
態を異にする前記第2画像に徐々に変化させることを特
徴とするカラー画像表示方法。
6. The color image display method according to claim 1, wherein among the prepared bitmaps and color lookup tables for a plurality of images, a bitmap and a color look used to display a first image. The up table is a first bitmap and a first color lookup table, and the bitmap and color lookup table used to display the second image are a second bitmap and a second color lookup table. , The first image (400 in FIG. 11) and the second image (FIG. 1).
400 of No. 1) is the same as the original image, but the first color lookup table (50)
The number of colors is different between the first color data used in 3) and the second color data used in the second color lookup table (505 in FIG. 12), so that the first image and the second image are different. Are displayed in different color states, and are obtained from the first color lookup table (503) as composite color data created based on the color data obtained from each of the plurality of color lookup tables. By combining the first color data and the second color data obtained from the second color look-up table (505) at a predetermined ratio, and changing the ratio stepwise over time, From the first color data, through the mixed data of both color data, to the second color data,
Color image display characterized by obtaining composite color data that changes with time and gradually changing the displayed image from the first image to the second image whose color state is different from that of the first image. Method.
【請求項7】 請求項1乃至6の中の任意の一つに記載
のカラー画像表示方法において、前記カラールックアッ
プテーブルにおいて色データを対応づけられる色コード
の個数は2の階乗個であると共に、前記合成カラールッ
クアップテーブルにおいて合成色データを対応づけられ
る合成色コードの個数も2の階乗個であることを特徴と
するカラー画像表示方法。
7. The color image display method according to any one of claims 1 to 6, wherein the number of color codes associated with color data in the color lookup table is a factorial of 2. At the same time, the number of composite color codes associated with the composite color data in the composite color lookup table is a factorial of 2.
【請求項8】 請求項2,3又は4に記載のカラー画像
表示方法において、複数の画像データ(図13の40
0,600)に対して該複数の画像の分だけの色次元を
持つ合成カラールックアップテーブル(図14の60
6)を用意し、 合成画像の各画素に対応した色コード(以下、合成色コ
ードという)を、それぞれ、前記複数の画像データ(4
00,600)において同一位置の画素の色に最も近い
色コードを前記合成カラールックアップテーブル(60
6)の色コードの中から選択することにより、前記合成
色コードの集合である合成ビットマップ(607)を得
て、 前記合成画像を、前記合成ビットマップ(607)と合
成カラールックアップテーブル(606)とを用い表示
するようにしたことを特徴とするカラー画像表示方法。
8. The color image display method according to claim 2, 3 or 4, wherein a plurality of image data (40 in FIG.
0,600), a composite color lookup table (60 in FIG. 14) having color dimensions corresponding to the plurality of images.
6) is prepared, and a color code (hereinafter, referred to as a composite color code) corresponding to each pixel of the composite image is generated in the plurality of image data (4
00, 600), the color code closest to the color of the pixel at the same position is assigned to the composite color lookup table (60).
By selecting from the color codes of 6), a composite bitmap (607) that is a set of the composite color codes is obtained, and the composite image is displayed with the composite bitmap (607) and the composite color lookup table ( 606) and a color image display method.
【請求項9】 請求項5に記載のカラー画像表示方法に
おいて、第2の画像(図9の401)に対応した第2の
カラールックアップテーブル(402)及び第2のビッ
トマップ(403)は、第2の画像データ(401)か
らc色(ただしcはカラールックアップテーブルの限定
色数以下の自然数)で作成し、 第1の画像データ(400)を第2のビットマップ(4
03)でc個の領域に分割して、各領域において各々代
表色を求め、該代表色からなる第1のカラールックアッ
プテーブル(405)を作成し、該第1のカラールック
アップテーブル(405)を用いて、第1の画像データ
(400)から第1のビットマップ(406)を作成
し、 画像表示に用いる合成ビットマップとしては、前記第1
のビットマップ(406)を用いることを特徴とするカ
ラー画像表示方法。
9. The color image display method according to claim 5, wherein the second color lookup table (402) and the second bitmap (403) corresponding to the second image (401 in FIG. 9) are , The second image data (401) is created with c colors (where c is a natural number less than or equal to the limited number of colors in the color lookup table), and the first image data (400) is created with the second bitmap (4
03), it is divided into c areas, representative colors are obtained in the respective areas, a first color lookup table (405) composed of the representative colors is created, and the first color lookup table (405) is created. ) Is used to create a first bitmap (406) from the first image data (400), and as the composite bitmap used for image display,
A color image display method using the bitmap (406) of FIG.
【請求項10】 請求項6に記載のカラー画像表示方法
において、第2の画像(図11の400)に対応した第
2のカラールックアップテーブル(500)及び第2の
ビットマップ(501)は、第2の画像データ(40
0)からc色(ただしcはカラールックアップテーブル
の限定色数以下の自然数)で作成し、 第1の画像データ(400)を第2のビットマップ(5
01)でc個の領域に分割して、各領域において各々代
表色を求め、該代表色からなる第1のカラールックアッ
プテーブル(503)を作成し、該第1のカラールック
アップテーブル(503)を用いて、第1の画像データ
(400)から第1のビットマップ(504)を作成
し、 画像表示に用いる合成ビットマップとしては、前記第1
のビットマップ(504)を用いることを特徴とするカ
ラー画像表示方法。
10. The color image display method according to claim 6, wherein the second color lookup table (500) and the second bitmap (501) corresponding to the second image (400 in FIG. 11) are , The second image data (40
0) to c colors (where c is a natural number less than or equal to the limited number of colors in the color lookup table), and the first image data (400) is converted into the second bitmap (5).
01) is divided into c areas, representative colors are obtained in the respective areas, a first color lookup table (503) composed of the representative colors is created, and the first color lookup table (503) is created. ) Is used to create a first bitmap (504) from the first image data (400), and as the composite bitmap used for image display,
A color image display method using the bitmap (504) of FIG.
【請求項11】 請求項4又は8に記載のカラー画像表
示方法の前後に請求項6又は10に記載のカラー画像表
示方法を用いてクロスフェード切換表示を行うことを特
徴とするカラー画像表示方法。
11. A color image display method characterized by performing cross-fade switching display using the color image display method according to claim 6 or 10 before and after the color image display method according to claim 4 or 8. .
【請求項12】 請求項5又は9に記載のカラー画像表
示方法の前後に請求項6又は10に記載のカラー画像表
示方法を用いて前記第1の画像から前記第1の画像と第
2の画像の和をとった画像に徐々に変化させることを特
徴とするカラー画像表示方法。
12. The color image display method according to claim 6 or 10 before and after the color image display method according to claim 5 or 9 is used to convert the first image and the second image from the first image. A color image display method characterized by gradually changing to a sum of images.
【請求項13】 請求項1乃至12の中の任意の一つに
記載のカラー画像表示方法において、前記合成画像を表
示するために用いる前記合成ビットマップおよび合成カ
ラールックアップテーブルは、赤色の合成画像を表示す
るために用いる赤色用合成ビットマップおよび赤色用合
成カラールックアップテーブルと、緑色の合成画像を表
示するために用いる緑色用合成ビットマップおよび緑色
用合成カラールックアップテーブルと、青色の合成画像
を表示するために用いる青色用合成ビットマップおよび
青色用合成カラールックアップテーブルと、で構成され
ることを特徴とするカラー画像表示方法。
13. The color image display method according to any one of claims 1 to 12, wherein the composite bitmap and the composite color lookup table used for displaying the composite image are composited in red. Red composite bitmap and red composite color look-up table used to display images, green composite bitmap and green composite color lookup table used to display green composite images, and blue composite A color image display method comprising: a blue color combination bitmap used for displaying an image; and a blue color combination color lookup table.
JP4177939A 1991-09-30 1992-07-06 Color image display method Pending JPH05204351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4177939A JPH05204351A (en) 1991-09-30 1992-07-06 Color image display method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP3-276159 1991-09-30
JP27615991 1991-09-30
JP4177939A JPH05204351A (en) 1991-09-30 1992-07-06 Color image display method

Publications (1)

Publication Number Publication Date
JPH05204351A true JPH05204351A (en) 1993-08-13

Family

ID=26498288

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4177939A Pending JPH05204351A (en) 1991-09-30 1992-07-06 Color image display method

Country Status (1)

Country Link
JP (1) JPH05204351A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007279338A (en) * 2006-04-06 2007-10-25 Sharp Corp Device and method for processing video signal, and image display device
US7394471B2 (en) 2004-04-05 2008-07-01 Seiko Epson Corporation Dynamic cross fading method and apparatus
JP2011199857A (en) * 2010-02-26 2011-10-06 Sharp Corp Image display device, and on-screen display method
JP2012194320A (en) * 2011-03-16 2012-10-11 Seiko Epson Corp Image display device and control method of the same

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7394471B2 (en) 2004-04-05 2008-07-01 Seiko Epson Corporation Dynamic cross fading method and apparatus
JP2007279338A (en) * 2006-04-06 2007-10-25 Sharp Corp Device and method for processing video signal, and image display device
JP2011199857A (en) * 2010-02-26 2011-10-06 Sharp Corp Image display device, and on-screen display method
JP2012194320A (en) * 2011-03-16 2012-10-11 Seiko Epson Corp Image display device and control method of the same

Similar Documents

Publication Publication Date Title
US5258747A (en) Color image displaying system and method thereof
US4965745A (en) YIQ based color cell texture
US6023302A (en) Blending of video images in a home communications terminal
US5204665A (en) Color editing with simple encoded images
US5546105A (en) Graphic system for displaying images in gray-scale
US8659609B2 (en) Multi-color display device
US8139851B2 (en) System and method for local value adjustment
US8385639B2 (en) Compressive coding device and visual display control device
EP0166966A2 (en) Video display controller
KR20080045132A (en) Hardware-accelerated color data processing
US20090310023A1 (en) One pass video processing and composition for high-definition video
JPH03212685A (en) Apparatus and method for improving resolution of display
CN100474936C (en) Apparatus and method for transforming three color signals into multi-color signal
US7660015B2 (en) Color data conversion apparatus and method
US6259439B1 (en) Color lookup table blending
US20110002553A1 (en) Compressive coding device and decoding device
US5548696A (en) Image processing apparatus
JP2001169125A (en) Image display device
JPH05204351A (en) Color image display method
CN104981863A (en) Methods and apparatus to render colors to binary high-dimensional output device
JP4474153B2 (en) Data compression apparatus, compressed data decoding apparatus, data compression method, data compression program, and image display system
JPS63182781A (en) Picture processor
JP2878477B2 (en) Image processing device
JP2001343926A (en) Number of multiple levels reducing method, image display method and image display device
JP3033463B2 (en) Character / graphic image data encoding method, character / graphic image data storage device, character / graphic image data decoding device, and character display device