JP2002351440A - Method and device for drawing gradational font - Google Patents

Method and device for drawing gradational font

Info

Publication number
JP2002351440A
JP2002351440A JP2001160963A JP2001160963A JP2002351440A JP 2002351440 A JP2002351440 A JP 2002351440A JP 2001160963 A JP2001160963 A JP 2001160963A JP 2001160963 A JP2001160963 A JP 2001160963A JP 2002351440 A JP2002351440 A JP 2002351440A
Authority
JP
Japan
Prior art keywords
color
character
gradation
font
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2001160963A
Other languages
Japanese (ja)
Other versions
JP4896304B2 (en
Inventor
Koichi Hiramatsu
晃一 平松
Masaji Hitai
正司 比田井
Yukio Yokoyama
幸雄 横山
Takahiro Hiramatsu
隆宏 平松
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2001160963A priority Critical patent/JP4896304B2/en
Publication of JP2002351440A publication Critical patent/JP2002351440A/en
Application granted granted Critical
Publication of JP4896304B2 publication Critical patent/JP4896304B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Color Television Systems (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To actualize a gradational font with good visibility even when its background is a moving picture. SOLUTION: A character intermediate-color calculating means 101 of a gradational font drawing part 10 inputs character background color information 121 and character background color information 122 or character foreground color information 121 and virtual background color information 104 from a graphic application 11 and calculates drawing colors corresponding to respective gradation value, and a drawing means 103 draws gradational font data 132 from a font data acquiring means 13 with the calculated drawing color information 102.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、家庭用テレビ等
の表示装置に階調文字を表示する際の階調フォント描画
方法及び階調フォント描画装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a gradation font drawing method and a gradation font drawing device for displaying gradation characters on a display device such as a home television.

【0002】[0002]

【従来の技術】図7は、例えば家庭用テレビのようなイ
ンタレース方法の放送受信機における表示装置に文字を
表示する従来の階調フォント描画装置の構成図であり、
図において、20は階調フォント描画部、21は電子番
組表や操作メニューのような受信機内蔵のグラフィック
アプリケーション、22はグラフィックアプリケーショ
ン21から入力される入力情報、23はフォントデータ
取得手段、24は階調フォント描画部20から出力され
る複数の画像プレーン(画像面)、25は入力されるビ
デオ信号を復号するビデオ復号手段、201は階調フォ
ント描画部20内の文字中間色計算手段、202は文字
中間色計算手段201から出力される描画色情報、20
3は階調フォント描画部20内の描画手段、221は入
力情報22のうち文字中間色計算手段201に入力され
る文字前景色(文字の色)情報(Fg)、222は入力
情報22のうち文字中間色計算手段201に入力される
文字背景色(文字の背景の色)情報(Bg)、223は
入力情報22のうちフォントデータ取得手段23に入力
される文字コード情報、231はフォントデータ取得手
段23に階調フォントデータを提供する階調フォントデ
ータベース、232はフォントデータ取得手段23から
出力され描画手段203に入力される階調フォントデー
タ、241は画像プレーン24を構成するビデオプレー
ン、242は画像プレーン24を構成するグラフィック
プレーンである。
2. Description of the Related Art FIG. 7 is a block diagram of a conventional gradation font drawing device for displaying characters on a display device of a broadcast receiver of an interlaced method such as a home television.
In the figure, 20 is a gradation font drawing unit, 21 is a graphic application built in the receiver such as an electronic program guide or an operation menu, 22 is input information input from the graphic application 21, 23 is font data acquisition means, and 24 is A plurality of image planes (image planes) output from the gradation font drawing unit 20, 25 a video decoding unit for decoding an input video signal, 201 a character intermediate color calculation unit in the gradation font drawing unit 20, and 202 a Drawing color information output from the character intermediate color calculating means 201, 20
3 is a drawing unit in the gradation font drawing unit 20, 221 is a character foreground color (character color) information (Fg) input to the character intermediate color calculation unit 201 in the input information 22, and 222 is a character in the input information 22 The character background color (color of the background of the character) information (Bg) 223 input to the intermediate color calculating means 201 is character code information input to the font data obtaining means 23 of the input information 22, and 231 is the font data obtaining means 23 232 is a gradation font data output from the font data acquisition unit 23 and input to the drawing unit 203; 241 is a video plane constituting the image plane 24; 242 is an image plane 24 is a graphic plane constituting the H.24.

【0003】次に動作について説明する。家庭用テレビ
のようなインタレース方法の表示装置に文字を表示する
場合、文字の色である文字前景色とその背景の色である
文字背景色の明るさや色の差異が大きいと、フリッカー
と呼ばれる画面のチラツキが発生するため、非常に読み
づらくなることはよく知られている。階調フォントは、
文字の辺縁をぼかして背景に溶け込ませることで、フリ
ッカーを低減し文字表示を見やすくするための技術であ
る。
Next, the operation will be described. When displaying characters on a display device using an interlacing method such as a home television, if the difference between the brightness and color of the character foreground color, which is the color of the character, and the character background color, which is the background color, is called flicker. It is well known that flickering of the screen makes it very difficult to read. The gradation font is
This is a technique for reducing the flicker and making the character display easier to see by blurring the edge of the character and melting it into the background.

【0004】図8に8×8ドットの4階調フォントのグ
リフデータの例(カタカナの「コ」)を示す。グリフデ
ータは各ドット毎の階調値i(4階調フォントではi=
0,1,2,3)を定義するものである。図においてn
は最大階調値をn(4階調フォントではn=3)とした
場合、通常、i=nのドットは文字前景色で表示され、
i=0のドットは文字背景色で表示される。0<i<n
のドットを、文字前景色と文字背景色を混ぜ合わせた中
間的な色(文字中間色)で表示することにより、文字辺
縁が背景をぼかす効果が得られる。
FIG. 8 shows an example of glyph data of a four-tone font of 8 × 8 dots (Katakana “ko”). The glyph data has a gradation value i for each dot (i = 4 in a 4-gradation font).
0, 1, 2, 3). In the figure, n
If the maximum gradation value is n (n = 3 in a 4-gradation font), the dot with i = n is usually displayed in the character foreground color,
The dot at i = 0 is displayed in the character background color. 0 <i <n
Is displayed in an intermediate color (character intermediate color) in which the character foreground color and the character background color are mixed, whereby the effect of blurring the background at the character edge can be obtained.

【0005】「色」は、それぞれ赤成分、緑成分、青成
分の輝度に対応したRGB値で表現される。また、テレ
ビにおいてビデオ映像上に文字図形(グラフィックス)
を表示する場合には、透明度を示すアルファ値(A)を
加えたARGB値で表現される。アルファ値が小さいほ
ど透明に近くなり、A=0の場合は、奥にあるビデオ映
像が完全に透けて見えることになる。以下では、文字前
景色をFgf、文字背景色をBgfと表わし、そのAR
GB値を次のように表記する。 Fgf:(Fa,Fr,Fg,Fb) Bgf:(Ba,Br,Bg,Bb) また、階調値iに対応する描画色をDiと表わし、その
ARGB値を次のように表記する。 Di:(Da_i,Dr_i,Dg_i,Db_i)
[0005] “Color” is represented by RGB values corresponding to the luminances of the red, green, and blue components, respectively. In addition, character graphics (graphics) are displayed on video images on television.
Is represented by an ARGB value to which an alpha value (A) indicating transparency is added. The smaller the alpha value, the closer to transparency, and if A = 0, the video image at the back will be completely transparent. In the following, the character foreground color is represented by Fgf, the character background color is represented by Bgf, and its AR
The GB value is expressed as follows. Fgf: (Fa, Fr, Fg, Fb) Bgf: (Ba, Br, Bg, Bb) Further, the drawing color corresponding to the gradation value i is represented by Di, and the ARGB value is represented as follows. Di: (Da_i, Dr_i, Dg_i, Db_i)

【0006】従来の文字中間色の計算は、特開2000
−115641公報に示されているように、次のように
行われる。 Dr_2=(Fr×2+Br)/3 Dg_2=(Fg×2+Bg)/3 Db_2=(Fb×2+Bb)/3 Dr_1=(Fr+Br×2)/3 Dg_1=(Fg+Bg×2)/3 Db_1=(Fb+Bb×2)/3 つまり従来の文字中間色の計算は、文字前景色や文字背
景色に対応する描画色D0、D3を含めて(式1)で示
すことができる。 Dx_i=(Fx−Bx)×(i/n)+Bx [x=r,g,b] ………(式1) 階調値の大きさと前景・背景の関係は特開2000−1
15641公報に開示された発明と逆であるが、ここで
は上記のとおり階調値が大きいほど前景色に近いものと
して説明する。
The conventional calculation of the character intermediate color is disclosed in
As described in -115641, this is performed as follows. Dr_2 = (Fr × 2 + Br) / 3 Dg_2 = (Fg × 2 + Bg) / 3 Db_2 = (Fb × 2 + Bb) / 3 Dr_1 = (Fr + Br × 2) / 3 Dg_1 = (Fg + Bg × 2) / 3 Db_1 = (Fb + B) 2) / 3 That is, the conventional calculation of the character intermediate color can be represented by (Equation 1) including the drawing colors D0 and D3 corresponding to the character foreground color and the character background color. Dx_i = (Fx−Bx) × (i / n) + Bx [x = r, g, b] (Equation 1) The relationship between the magnitude of the gradation value and the foreground / background is disclosed in JP-A-2000-1
Although it is the opposite of the invention disclosed in the 15641 publication, the description will be made here assuming that the larger the gradation value is, the closer to the foreground color as described above.

【0007】図7において、テレビ放送波等から受信・
抽出されたビデオ入力は、ビデオ復号手段25で復号さ
れビデオプレーン241に表示される。グラフィックア
プリケーション21は、文字を使った画面を表示する場
合に、システムプログラムに対して、文字前景色情報
(Fgf)221、文字背景色情報(Bgf)222、
文字コード情報223を指示する。文字コード情報22
3には、文字フォント種別、文字サイズ、「あ」「い」
といった文字を識別する文字コードが含まれる。また図
示しないが、文字を描画する位置情報も指示する。フォ
ントデータ取得手段23は、文字コード情報223を入
力として、階調フォントデータベース231から該当す
る階調フォントデータ232、例えば図8に示したよう
なグリフデータを取得する。
[0007] In FIG.
The extracted video input is decoded by the video decoding means 25 and displayed on the video plane 241. When displaying a screen using characters, the graphic application 21 sends character foreground color information (Fgf) 221, character background color information (Bgf) 222,
The character code information 223 is specified. Character code information 22
In 3, character font type, character size, "A", "I"
Character codes for identifying characters such as Although not shown, position information for drawing characters is also specified. The font data acquisition unit 23 receives the character code information 223 as input, and acquires the corresponding gradation font data 232, for example, glyph data as shown in FIG. 8 from the gradation font database 231.

【0008】階調フォント描画部20の文字中間色計算
手段101は、文字前景色情報(Fgf)221と文字
背景色情報(Bgf)222を入力として、上記(式
1)により文字中間色を計算し、描画色情報(Di)2
02を出力する。描画手段203は、描画色情報202
に従って階調フォントデータ232の各ドットに階調値
iに対応した色付けを行い、グラフィックプレーン24
2上に文字とその背景を描画する。
The character intermediate color calculating means 101 of the gradation font drawing unit 20 receives the character foreground color information (Fgf) 221 and the character background color information (Bgf) 222 and calculates the character intermediate color by the above (Equation 1). Drawing color information (Di) 2
02 is output. The drawing means 203 includes drawing color information 202.
Is applied to each dot of the gradation font data 232 in accordance with the gradation value i according to
2. Draw a character and its background on 2.

【0009】[0009]

【発明が解決しようとする課題】上記従来の階調フォン
ト描画装置による階調フォント描画方法においては、文
字背景色が透明、即ちBa=0である場合、文字の背景
として奥にあるビデオ映像が完全に透けて見えることに
なる。このビデオ映像は時々刻々画柄の変化する動画で
あり、ある時は輝度の高い白っぽい映像、またある時は
輝度の低い黒っぽい映像である。このため、階調フォン
トを使用して文字の辺縁を背景に溶け込ませようとして
も、背景映像の変化に伴ってチラツキが発生し、かえっ
て読みづらいという課題があった。
In the above-described gradation font drawing method using the conventional gradation font drawing device, when the character background color is transparent, that is, when Ba = 0, the video image located in the back as the character background is displayed. It will be completely transparent. This video image is a moving image whose design changes every moment, and is a whitish image with high luminance at one time and a blackish image with low luminance at some times. For this reason, even if an attempt is made to blend the edge of the character into the background using the gradation font, a flicker occurs along with the change in the background image, which makes it difficult to read the image.

【0010】この発明は上記のような課題を解決するた
めになされたもので、背景が動画像であっても視認性の
良い階調フォントを実現する階調フォント描画方法及び
階調フォント描画装置を得ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and a gradation font drawing method and a gradation font drawing device for realizing a gradation font with good visibility even when the background is a moving image. The purpose is to obtain.

【0011】[0011]

【課題を解決するための手段】この発明に係る階調フォ
ント描画方法は、文字前景色及び文字背景色の情報又は
文字前景色及び仮想背景色の情報を入力情報として各階
調値に対応した描画色を計算し、計算した描画色によっ
て階調フォントデータを描画するものである。
SUMMARY OF THE INVENTION A gradation font drawing method according to the present invention is a drawing method corresponding to each gradation value using information of a character foreground color and a character background color or information of a character foreground color and a virtual background color as input information. The color is calculated, and the gradation font data is drawn by the calculated drawing color.

【0012】この発明に係る階調フォント描画方法は、
文字背景色の透明度が既定しきい値よりも高い場合は仮
想背景色の情報に基づいて描画色の計算を行い、文字背
景色の透明度が既定しきい値よりも低い場合は文字背景
色の情報に基づいて描画色の計算を行うものである。
A gradation font drawing method according to the present invention comprises:
If the transparency of the character background color is higher than the default threshold, the drawing color is calculated based on the information of the virtual background color. If the transparency of the character background color is lower than the default threshold, the information of the character background color is calculated. Is used to calculate the drawing color.

【0013】この発明に係る階調フォント描画方法は、
文字背景色の透明度を係数として文字背景色と仮想背景
色とを加重平均した2次仮想背景色を求め、この2次仮
想背景色の情報に基づいて描画色の計算を行うものであ
る。
A gradation font drawing method according to the present invention comprises:
A secondary virtual background color is obtained by weighting and averaging the character background color and the virtual background color using the transparency of the character background color as a coefficient, and the drawing color is calculated based on the information of the secondary virtual background color.

【0014】この発明に係る階調フォント描画方法は、
文字中間色の輝度レベルを文字前景色に近づける効果を
持つ拡散化階調効果係数を設け、この拡散化階調効果係
数を適用して描画色の計算を行うものである。
[0014] The gradation font drawing method according to the present invention comprises:
A diffusion gradation effect coefficient having an effect of bringing the luminance level of the character intermediate color closer to the character foreground color is provided, and the drawing color is calculated by applying the diffusion gradation effect coefficient.

【0015】この発明に係る階調フォント描画方法は、
文字コードを入力情報として、拡散化階調効果係数を動
的に設定するものである。
[0015] The gradation font drawing method according to the present invention comprises:
The diffusion gradation effect coefficient is dynamically set using the character code as input information.

【0016】この発明に係る階調フォント描画方法は、
文字中間色の輝度レベルを仮想背景色に近づける効果を
持つ中央化階調効果係数を設け、この中央化階調効果係
数を適用して描画色の計算を行うものである。
[0016] The gradation font drawing method according to the present invention comprises:
A centralized gradation effect coefficient having an effect of bringing the luminance level of the character intermediate color closer to the virtual background color is provided, and the drawing color is calculated by applying the centralized gradation effect coefficient.

【0017】この発明に係る階調フォント描画方法は、
文字コードを入力情報として、中央化階調効果係数を動
的に設定するものである。
The gradation font drawing method according to the present invention comprises:
The centralized gradation effect coefficient is dynamically set using the character code as input information.

【0018】この発明に係る階調フォント描画方法は、
文字中間色の輝度レベルを文字前景色に近づける効果を
持つ拡散化階調効果係数及び文字中間色の輝度レベルを
仮想背景色に近づける効果を持つ中央化階調効果係数を
設け、文字前景色の輝度が仮想背景色の輝度と比べて高
い場合は拡散化階調効果係数を適用して描画色の計算を
行い、文字前景色の輝度が仮想背景色の輝度と比べて低
い場合は中央化階調効果係数を適用して描画色の計算を
行うものである。
The gradation font drawing method according to the present invention comprises:
A diffusion gradation effect coefficient having an effect of bringing the luminance level of the character intermediate color closer to the character foreground color and a centralized gradation effect coefficient having an effect of bringing the luminance level of the character intermediate color closer to the virtual background color are provided. If the luminance of the virtual background color is higher than the luminance of the virtual background color, the drawing color is calculated by applying the diffusion gradation effect coefficient. If the luminance of the character foreground color is lower than the luminance of the virtual background color, the centralized gradation effect is used. The drawing color is calculated by applying the coefficient.

【0019】この発明に係る階調フォント描画方法は、
文字コードを入力情報として、拡散化階調効果係数及び
中央化階調効果係数を動的に設定するものである。
A gradation font drawing method according to the present invention comprises:
Using the character code as input information, the diffusion gradation effect coefficient and the centralized gradation effect coefficient are dynamically set.

【0020】この発明に係る階調フォント描画装置は、
文字前景色及び文字背景色の情報又は文字前景色及び仮
想背景色の情報を入力情報として各階調値に対応した描
画色を計算する文字中間色計算手段と、階調フォントデ
ータを文字中間色計算手段で計算された描画色で描画す
る描画手段とを備えたものである。
A gradation font drawing apparatus according to the present invention comprises:
Character intermediate color calculating means for calculating a drawing color corresponding to each gradation value by using information of a character foreground color and a character background color or information of a character foreground color and a virtual background color as input information; And a drawing means for drawing with the calculated drawing color.

【0021】[0021]

【発明の実施の形態】実施の形態1.図1はこの発明の
実施の形態1における階調フォント描画装置の構成図を
示し、図において、10は階調フォント描画部、11は
電子番組表や操作メニューのような受信機内蔵のグラフ
ィックアプリケーション、12はグラフィックアプリケ
ーション11から入力される入力情報、13はフォント
データ取得手段、14は階調フォント描画部10から出
力される複数の画像プレーン(画像面)、15は入力さ
れるビデオ信号を復号するビデオ復号手段、101は階
調フォント描画部10内の文字中間色計算手段、102
は文字中間色計算手段101から出力される描画色情報
(Di)、103は階調フォント描画部10内の描画手
段、104は文字中間色計算手段101に入力される仮
想背景色情報(VBc)、121は入力情報12のうち
文字中間色計算手段101に入力される文字前景色(文
字の色)情報(Fgf)、122は入力情報12のうち
文字中間色計算手段101に入力される文字背景色(文
字の背景の色)情報(Bgf)、123は入力情報12
のうちフォントデータ取得手段13に入力される文字コ
ード情報、131はフォントデータ取得手段13に階調
フォントデータを提供する階調フォントデータベース、
132はフォントデータ取得手段13から出力され描画
手段103に入力される階調フォントデータ、141は
画像プレーン14を構成するビデオプレーン、142は
画像プレーン14を構成するグラフィックプレーンであ
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 FIG. 1 is a configuration diagram of a gradation font drawing apparatus according to Embodiment 1 of the present invention. In the drawing, reference numeral 10 denotes a gradation font drawing unit, and 11 denotes a graphic application with a built-in receiver such as an electronic program guide or an operation menu. , 12 are input information input from the graphic application 11, 13 is font data obtaining means, 14 is a plurality of image planes (image planes) output from the gradation font drawing unit 10, and 15 is a video signal input is decoded. A video decoding unit 101; a character intermediate color calculating unit 102 in the gradation font drawing unit 10;
Is rendering color information (Di) output from the character intermediate color calculating means 101; 103 is rendering means in the gradation font rendering section 10; 104 is virtual background color information (VBc) input to the character intermediate color calculating means 101; Is a character foreground color (character color) information (Fgf) input to the character intermediate color calculation means 101 of the input information 12, and 122 is a character background color (character color) input to the character intermediate color calculation means 101 of the input information 12. Background color) information (Bgf), 123 is input information 12
Character code information input to the font data acquisition means 13; 131, a gradation font database for providing gradation font data to the font data acquisition means 13;
Reference numeral 132 denotes gradation font data output from the font data acquisition unit 13 and input to the drawing unit 103; 141, a video plane constituting the image plane 14; and 142, a graphic plane constituting the image plane 14.

【0022】次に動作について説明する。以下では、仮
想背景色情報をVBcと表わし、そのARGB値を次の
ように表記する。 VBc:(VBa, VBr, VBg, VBb) 文字中間色計算手段101は、下記の(式2)に従って
描画色情報Diを計算する。 Dx_i=(Fx−VBx)×(i/n)+VBx [x=r,g,b] Da_i=Fa 但し、D0=Bgf ………(式2)
Next, the operation will be described. Hereinafter, the virtual background color information is represented as VBc, and its ARGB value is represented as follows. VBc: (VBa, VBr, VBg, VBb) The character intermediate color calculating means 101 calculates the drawing color information Di according to the following (Equation 2). Dx_i = (Fx−VBx) × (i / n) + VBx [x = r, g, b] Da_i = Fa where D0 = Bgf (Expression 2)

【0023】(式2)は、i=1,2の文字中間色情報
D1、D2の計算において、文字背景色情報Bgfの代
わりに仮想背景色情報VBcを適用するものである。ま
た、文字中間色のアルファ値は、ここでは文字前景色情
報と同一としている。仮想背景色情報VBcとしてグレ
ーのような中間的な色を適用することで、背景動画の画
柄が変化しても、動画画面の色と仮想背景色の輝度差が
一定の範囲に収まるため視認性が向上する。
(Equation 2) applies virtual background color information VBc instead of character background color information Bgf in the calculation of character intermediate color information D1 and D2 for i = 1 and 2. In addition, the alpha value of the character intermediate color is the same as the character foreground color information here. By applying an intermediate color such as gray as the virtual background color information VBc, even if the pattern of the background moving image changes, the luminance difference between the color of the moving image screen and the virtual background color falls within a certain range and is visually recognized. The performance is improved.

【0024】以上のように、この実施の形態1によれ
ば、背景が動画像であっても視認性の良い階調フォント
描画が得られるという効果がある。
As described above, according to the first embodiment, there is an effect that gradation font drawing with good visibility can be obtained even if the background is a moving image.

【0025】実施の形態2.この発明の実施の形態2に
おける階調フォント描画装置の構成は、図1に示した実
施の形態1における構成と同じであるので、説明は省略
する。次に動作について説明する。図2はこの実施の形
態2における階調フォント描画方法のフローチャートの
一部である。文字中間色計算手段101は、ステップS
T201において、文字背景色Bgfのアルファ値Ba
と所定の透明度しきい値Taを比較する。Baが所定の
透明度しきい値Taより小さい場合、即ち一定以上に透
明度が高い場合は、ステップST202において、(式
2)に従って描画色Diの計算を行う。Baが所定の透
明度しきい値Ta以上の場合、即ち一定以上に透明度が
高くない場合は、ステップST203において、(式
1)に従って描画色Diの計算を行う。
Embodiment 2 The configuration of the gradation font drawing apparatus according to the second embodiment of the present invention is the same as the configuration according to the first embodiment shown in FIG. Next, the operation will be described. FIG. 2 is a part of a flowchart of the gradation font drawing method according to the second embodiment. The character intermediate color calculation means 101 determines in step S
In T201, the alpha value Ba of the character background color Bgf
And a predetermined transparency threshold value Ta. When Ba is smaller than the predetermined transparency threshold value Ta, that is, when the transparency is higher than a certain value, the drawing color Di is calculated in step ST202 according to (Equation 2). If Ba is equal to or greater than the predetermined transparency threshold value Ta, that is, if the transparency is not higher than a predetermined value, in step ST203, the drawing color Di is calculated according to (Equation 1).

【0026】文字背景色の透明度が高い場合は、背景動
画像がよく透けて見えるため、仮想背景色に基づく文字
中間色計算を行った方が視認性の向上になる。逆に、文
字背景色の透明度が低い場合は、グラフィックアプリケ
ーションが指定した文字背景色が背景動画像を覆うた
め、背景動画像の変化はほとんど認識されないので、文
字背景色に基づく文字中間色計算を行った方が視認性は
向上する。
When the transparency of the character background color is high, the background moving image can be seen through, so that the calculation of the character intermediate color based on the virtual background color improves the visibility. Conversely, when the transparency of the character background color is low, the character background color specified by the graphic application covers the background moving image, and the change in the background moving image is hardly recognized, so the character intermediate color calculation based on the character background color is performed. The better the visibility.

【0027】以上のように、この実施の形態2によれ
ば、文字背景色の透明度に応じて適した文字中間色計算
が行われるため総合的に視認性が向上し、背景が動画像
であっても視認性の良い階調フォント描画が得られると
いう効果がある。
As described above, according to the second embodiment, the character intermediate color calculation suitable for the transparency of the character background color is performed, so that the overall visibility is improved, and the background is a moving image. This also has the effect that gradation font drawing with good visibility can be obtained.

【0028】実施の形態3.この発明の実施の形態3に
おける階調フォント描画装置の構成は、図1に示した実
施の形態1における構成と同じであるので、説明は省略
する。次に動作について説明する。図3はこの実施の形
態3における階調フォント描画方法のフローチャートの
一部である。階調フォント描画部10の文字中間色計算
手段101は、グラフィックアプリケーション11が指
定する文字背景色情報と仮想背景色情報から2次仮想背
景色情報を求め、この2次仮想背景色情報に基づいて文
字中間色計算を行う。
Embodiment 3 The configuration of the gradation font drawing apparatus according to the third embodiment of the present invention is the same as the configuration according to the first embodiment shown in FIG. Next, the operation will be described. FIG. 3 is a part of a flowchart of the gradation font drawing method according to the third embodiment. The character intermediate color calculating means 101 of the gradation font drawing unit 10 obtains secondary virtual background color information from the character background color information and the virtual background color information specified by the graphic application 11, and calculates the character based on the secondary virtual background color information. Perform intermediate color calculations.

【0029】以下では、2次仮想背景色をSVBcと表
わし、そのARGB値を次のように表記する。 SVBc:(SVBa,SVBr,SVBc,SVBb) 文字中間色計算手段101は、ステップST211にお
いて、下記の(式3)に従って2次仮想背景色SVBg
を計算する。(式3)においてMXaはアルファ値の最
大値を示し、完全不透明の色を表わす。 SVBx=Bx×(Ba/MXa)+VBx×(1−Ba/MXa) [x=r,g,b] ………(式3) すなわち、2次仮想背景色情報は、文字背景色情報のア
ルファ値を係数とした、文字背景色情報と仮想背景色情
報の加重平均である。次に、文字中間色計算手段101
は、ステップST212において、この2次仮想背景色
情報に基づいて下記の(式4)に従って描画色Diを計
算する。 Dx_i=(Fx−SVBx)×(i/n)+SVBx [x=r,g,b] Da_i=Fa 但し、D0=Bgf ………(式4)
Hereinafter, the secondary virtual background color is represented as SVBc, and its ARGB value is represented as follows. SVBc: (SVBa, SVBr, SVBc, SVBb) In step ST211, the character intermediate color calculating means 101 calculates the secondary virtual background color SVBg according to the following (Equation 3).
Is calculated. In (Equation 3), MXa represents the maximum value of the alpha value and represents a completely opaque color. SVBx = Bx × (Ba / MXa) + VBx × (1−Ba / MXa) [x = r, g, b] (Equation 3) That is, the secondary virtual background color information is the alpha of the character background color information. It is a weighted average of the character background color information and the virtual background color information using the value as a coefficient. Next, the character intermediate color calculating means 101
Calculates the drawing color Di based on the secondary virtual background color information in accordance with the following (Equation 4) in step ST212. Dx_i = (Fx-SVBx) × (i / n) + SVBx [x = r, g, b] Da_i = Fa where D0 = Bgf (Equation 4)

【0030】文字背景色のアルファ値Baが0で完全透
明の場合、SVBcはVBcと一致するため、(式4)
は(式2)と等価である。また、文字背景色のアルファ
値BaがMXaで完全不透明の場合、SVBcはBgf
と一致するため、(式4)は(式1)と等価である。こ
れら両極端のケースにおいては、この実施の形態3は実
施の形態2と同じ結果が得られる。文字背景色のアルフ
ァ値が0より大きくMXaより小さいケースでは、その
中間的な効果が得られる。
When the alpha value Ba of the character background color is 0 and completely transparent, SVBc matches VBc.
Is equivalent to (Equation 2). When the alpha value Ba of the character background color is MXa and completely opaque, the SVBc becomes Bgf
Therefore, (Equation 4) is equivalent to (Equation 1). In these extreme cases, the third embodiment can obtain the same result as the second embodiment. In the case where the alpha value of the character background color is larger than 0 and smaller than MXa, an intermediate effect can be obtained.

【0031】以上のように、この実施の形態3によれ
ば、文字背景色の透明度に応じてより細かな文字中間色
計算が行われるため更に総合的な視認性が向上し、背景
が動画像であっても視認性が更に良い階調フォント描画
が得られるという効果がある。
As described above, according to the third embodiment, a more detailed character intermediate color calculation is performed in accordance with the transparency of the character background color, so that the overall visibility is further improved, and the background is a moving image. Even if there is, there is an effect that gradation font drawing with better visibility can be obtained.

【0032】実施の形態4.図4は、この発明の階調フ
ォント描画装置の構成図であり、図において、105は
文字中間色計算手段101に入力される階調効果係数情
報である。他の構成については、図1に示した実施の形
態1の構成と同じであり、同一の符号で表すとともに、
説明は省略する。
Embodiment 4 FIG. FIG. 4 is a block diagram of the gradation font drawing apparatus of the present invention. In the drawing, reference numeral 105 denotes gradation effect coefficient information input to the character intermediate color calculation means 101. Other configurations are the same as those of the first embodiment shown in FIG. 1, and are denoted by the same reference numerals.
Description is omitted.

【0033】次に動作について説明する。文字中間色計
算手段101は、下記の(式5)に従って描画色Diを
計算する。(式5)において、aは階層効果係数情報1
05に格納される拡散化階調効果係数(0.0≦a≦1.
0)である。 Dx_i=(Fx−VBx)×{a×(i/n)+(1−a)}+VBx [x=r,g,b] Da_i=Fa 但し、D0=Bgf ………(式5)
Next, the operation will be described. The character intermediate color calculation means 101 calculates the drawing color Di according to the following (Equation 5). In (Equation 5), a is hierarchical effect coefficient information 1
05 (a ≦ 1.0 ≦ a ≦ 1.0).
0). Dx_i = (Fx−VBx) × {a × (i / n) + (1-a)} + VBx [x = r, g, b] Da_i = Fa, where D0 = Bgf (Equation 5)

【0034】(式5)において、拡散化階調効果係数a
=1.0であれば、(式5)は(式2)と等価である。
また、仮に拡散化階調効果係数a=0.0であれば、文
字中間色D1、D2は文字前景色Fgと同じ色になる。
このように、拡散化階調効果係数aが小さいほど、文字
中間色の輝度レベルは文字前景色の方に近づき、階調の
つき方が弱められる。
In equation (5), the diffused gradation effect coefficient a
If = 1.0, (Equation 5) is equivalent to (Equation 2).
If the diffusion gradation effect coefficient a = 0.0, the character intermediate colors D1 and D2 have the same color as the character foreground color Fg.
As described above, as the diffused gradation effect coefficient a is smaller, the luminance level of the character intermediate color is closer to the character foreground color, and the gradation is weakened.

【0035】階調フォントは、階調フォント製品そのも
ののデザイン特性、あるいは文字フォント種別や文字サ
イズによって、中間階調値(0<i<n)に対応するド
ットの量に多寡がある。このため、使用する階調フォン
トの特性に合わせて、拡散化階調効果係数aを増減する
ことでより視認性が向上する。
The number of dots corresponding to the intermediate gradation value (0 <i <n) varies depending on the design characteristics of the gradation font product itself, the character font type and the character size. Therefore, visibility is further improved by increasing or decreasing the diffused gradation effect coefficient a in accordance with the characteristics of the gradation font to be used.

【0036】以上のように、この実施の形態4によれ
ば、使用する階調フォントの特性に合わせて拡散化階調
効果係数を増減することにより更に視認性が向上し、背
景が動画像であっても視認性が更に良い階調フォント描
画が得られるという効果がある。
As described above, according to the fourth embodiment, the visibility is further improved by increasing / decreasing the diffused gradation effect coefficient in accordance with the characteristics of the gradation font to be used, and the background is a moving image. Even if there is, there is an effect that gradation font drawing with better visibility can be obtained.

【0037】実施の形態5.この発明の実施の形態5に
おける階調フォント描画装置の構成は、図4に示した実
施の形態4の構成と同じであり、説明は省略する。次に
動作について説明する。文字中間色計算手段101は、
下記の(式6)に従って描画色Diを計算する。(式
6)において、dは階層効果係数情報105に格納され
る中央化階調効果係数(0.0≦d≦1.0)である。 Dx_i=(Fx−VBx)×{d×(i/n)}+VBx [x=r,g,b] Da_i=Fa 但し、D0=Bgf ………(式6)
Embodiment 5 The configuration of the gradation font drawing apparatus according to the fifth embodiment of the present invention is the same as the configuration of the fourth embodiment shown in FIG. 4, and a description thereof will be omitted. Next, the operation will be described. The character intermediate color calculation means 101
The drawing color Di is calculated according to the following (Equation 6). In (Equation 6), d is a centralized gradation effect coefficient (0.0 ≦ d ≦ 1.0) stored in the hierarchical effect coefficient information 105. Dx_i = (Fx−VBx) × {d × (i / n)} + VBx [x = r, g, b] Da_i = Fa where D0 = Bgf (Equation 6)

【0038】(式6)において、中央化階調効果係数d
=1.0であれば、(式6)は(式2)と等価である。
また、仮に中央化階調効果係数d=0.0であれば、文
字中間色D1、D2は仮想背景色VBcと同じ色にな
る。このように、中央化階調効果係数dが小さいほど、
文字中間色の輝度レベルは仮想背景色の方に近づき、階
調のつき方が弱められる。すなわち、使用する階調フォ
ントの特性に合わせて中央化階調効果係数dを増減する
ことで、より視認性が向上する。
In equation (6), the centralized gradation effect coefficient d
If = 1.0, (Equation 6) is equivalent to (Equation 2).
If the centralized gradation effect coefficient d = 0.0, the character intermediate colors D1 and D2 have the same color as the virtual background color VBc. Thus, as the centralized gradation effect coefficient d is smaller,
The luminance level of the character intermediate color approaches that of the virtual background color, and the gradation is weakened. That is, the visibility is further improved by increasing or decreasing the centralized gradation effect coefficient d in accordance with the characteristics of the gradation font to be used.

【0039】以上のように、この実施の形態5によれ
ば、実施の形態4と同様に、使用する階調フォントの特
性に合わせて中央化階調効果係数を増減することにより
更に視認性が向上し、背景が動画像であっても視認性が
更に良い階調フォント描画が得られるという効果があ
る。
As described above, according to the fifth embodiment, similar to the fourth embodiment, the visibility is further improved by increasing or decreasing the centralized gradation effect coefficient according to the characteristics of the gradation font to be used. Thus, there is an effect that gradation font drawing with better visibility can be obtained even when the background is a moving image.

【0040】実施の形態6.この発明の実施の形態6に
おける階調フォント描画装置の構成は、図4に示した実
施の形態4の構成と同じであり、説明は省略する。次に
動作について説明する。図5は、この実施の形態6にお
ける階調フォント描画方法のフローチャートの一部であ
る。階調フォント描画部10の文字中間色計算手段10
1は、描画色のRGB各色(Dx_i)を計算する毎
に、ステップST221において、文字前景のRGB値
(Fx)と仮想背景色のRGB値(VBx)を比較す
る。FxがVBx以上である場合、即ち文字前景色のR
GB値の方が輝度が高く明るい場合は、ステップST2
22において(式5)に従って描画色Diの計算を行
う。FxがVBxより小さい場合、即ち文字前景色のR
GB値の方が輝度が低く暗い場合は、ステップST22
3において(式6)に従って描画色Diの計算を行う。
Embodiment 6 FIG. The configuration of the gradation font drawing apparatus according to the sixth embodiment of the present invention is the same as the configuration of the fourth embodiment shown in FIG. 4, and a description thereof will be omitted. Next, the operation will be described. FIG. 5 is a part of a flowchart of the gradation font drawing method according to the sixth embodiment. Character intermediate color calculating means 10 of gradation font drawing section 10
1 calculates the RGB values (Fx) of the character foreground and the RGB values (VBx) of the virtual background color in step ST221 each time the RGB colors (Dx_i) of the drawing color are calculated. If Fx is greater than or equal to VBx,
If the GB value is higher in brightness and brighter, step ST2
At 22, the drawing color Di is calculated according to (Equation 5). If Fx is smaller than VBx, that is, R
If the GB value is lower in brightness and darker, the process proceeds to step ST22.
In step 3, the drawing color Di is calculated according to (Equation 6).

【0041】人間の視覚特性として、明るい色の輝度レ
ベル差よりも、暗い色の輝度レベル差には鈍感である。
上記の描画方法によれば、文字前景色が明るい場合には
文字中間色も文字前景色に近づき明るくなり、文字前景
色が暗い場合には文字中間色を仮想背景色に近づきやは
り明るくなる。この結果、各階調値に対応する描画色の
輝度差は、明るい色間ほど小さく、暗い色間ほど大きく
なり、人間の視覚特性に合った色付けとなるため、より
視認性の高い表示が得られる。
As a human visual characteristic, the user is less sensitive to the luminance level difference of a dark color than to the luminance level difference of a bright color.
According to the above-described drawing method, when the character foreground color is bright, the character intermediate color approaches the character foreground color and becomes bright, and when the character foreground color is dark, the character intermediate color approaches the virtual background color and becomes bright as well. As a result, the luminance difference between the drawing colors corresponding to each gradation value is smaller for lighter colors and larger for darker colors, and the coloring is suitable for human visual characteristics, so that a display with higher visibility can be obtained. .

【0042】以上のように、この実施の形態6によれ
ば、人間の視覚特性に合った色付けとなるため更に視認
性の高い表示が得られ、背景が動画像であっても視認性
が更に良い階調フォント描画が得られるという効果があ
る。
As described above, according to the sixth embodiment, the coloration is adapted to human visual characteristics, so that a display with higher visibility can be obtained. Even if the background is a moving image, the visibility is further improved. There is an effect that a good gradation font drawing can be obtained.

【0043】実施の形態7.図6は、この発明の実施の
形態7における階調フォント描画装置の構成図であり、
図において、106は階調フォント描画部10の階調効
果係数決定手段である。他の構成については、図4に示
した実施の形態4の構成と同じであり、同一の符号で表
すとともに、説明は省略する。
Embodiment 7 FIG. FIG. 6 is a configuration diagram of a gradation font drawing apparatus according to Embodiment 7 of the present invention.
In the figure, reference numeral 106 denotes a gradation effect coefficient determination unit of the gradation font drawing unit 10. The other configuration is the same as the configuration of the fourth embodiment shown in FIG.

【0044】次に動作について説明する。階調効果係数
決定手段106は、グラフィックアプリケーション11
から指定される文字コード情報123を入力情報として
階調効果係数情報105の設定を変更する。これによ
り、文字コード情報123に含まれる文字フォント種別
(ゴシック、明朝等)や文字サイズによって、最適な拡
散化階調効果係数a、中央化階調効果係数dを決定する
ことにより、より細かい調整が可能となり、総合的な視
認性が向上する。
Next, the operation will be described. The gradation effect coefficient determining means 106
The setting of the gradation effect coefficient information 105 is changed using the character code information 123 designated by the user as input information. Thus, the optimum diffused gradation effect coefficient a and the centralized gradation effect coefficient d are determined according to the character font type (Gothic, Mincho, etc.) and the character size included in the character code information 123, so that finer details can be obtained. Adjustment is possible, and overall visibility is improved.

【0045】以上のように、この実施の形態7によれ
ば、文字コード情報に含まれる文字フォント種別や文字
サイズによって最適な拡散化階調効果係数及び中央化階
調効果係数を決定することにより、より細かい調整が可
能となり総合的な視認性が向上し、背景が動画像であっ
ても視認性が更に良い階調フォント描画が得られるとい
う効果がある。
As described above, according to the seventh embodiment, the optimum diffused gradation effect coefficient and centralized gradation effect coefficient are determined according to the character font type and character size included in the character code information. This makes it possible to make finer adjustments, improve the overall visibility, and obtain a gradation font drawing with better visibility even when the background is a moving image.

【0046】[0046]

【発明の効果】以上のように、この発明によれば、階調
フォント描画方法を、文字前景色及び文字背景色の情報
又は文字前景色及び仮想背景色の情報を入力情報として
各階調値に対応した描画色を計算し、計算した描画色に
よって階調フォントデータを描画するように構成したの
で、背景が動画像であっても視認性が良い階調フォント
描画が得られるという効果がある。
As described above, according to the present invention, a gradation font drawing method can be applied to each gradation value by using information of a character foreground color and a character background color or information of a character foreground color and a virtual background color as input information. Since the corresponding drawing color is calculated and the gradation font data is drawn by the calculated drawing color, there is an effect that a gradation font drawing with good visibility can be obtained even if the background is a moving image.

【0047】この発明によれば、階調フォント描画方法
において、文字背景色の透明度が既定しきい値よりも高
い場合は仮想背景色の情報に基づいて描画色の計算を行
い、文字背景色の透明度が既定しきい値よりも低い場合
は文字背景色の情報に基づいて描画色の計算を行うよう
に構成したので、背景が動画像であっても視認性が更に
良い階調フォント描画が得られるという効果がある。
According to the present invention, in the gradation font drawing method, when the transparency of the character background color is higher than the predetermined threshold value, the drawing color is calculated based on the information of the virtual background color, and the character background color is calculated. When the transparency is lower than the predetermined threshold, the drawing color is calculated based on the character background color information. Therefore, even if the background is a moving image, the gradation font drawing with better visibility is obtained. There is an effect that it can be.

【0048】この発明によれば、階調フォント描画方法
において、文字背景色の透明度を係数として文字背景色
と仮想背景色とを加重平均した2次仮想背景色を求め、
この2次仮想背景色の情報に基づいて描画色の計算を行
うように構成したので、背景が動画像であっても視認性
が更に良い階調フォント描画が得られるという効果があ
る。
According to the invention, in the gradation font drawing method, a secondary virtual background color is obtained by weighted averaging the character background color and the virtual background color using the transparency of the character background color as a coefficient,
Since the drawing color is calculated based on the information of the secondary virtual background color, there is an effect that even if the background is a moving image, a gradation font drawing with better visibility can be obtained.

【0049】この発明によれば、階調フォント描画方法
において、文字中間色の輝度レベルを文字前景色に近づ
ける効果を持つ拡散化階調効果係数を設け、この拡散化
階調効果係数を適用して描画色の計算を行うように構成
したので、背景が動画像であっても視認性が更に良い階
調フォント描画が得られるという効果がある。
According to the present invention, in the gradation font drawing method, a diffusion gradation effect coefficient having an effect of bringing the luminance level of the character intermediate color closer to the character foreground color is provided, and the diffusion gradation effect coefficient is applied. Since the drawing color is calculated, there is an effect that even if the background is a moving image, gradation font drawing with better visibility can be obtained.

【0050】この発明によれば、階調フォント描画方法
において、文字コードを入力情報として、拡散化階調効
果係数を動的に設定するように構成したので、背景が動
画像であっても視認性が更に良い階調フォント描画が得
られるという効果がある。
According to the present invention, in the gradation font drawing method, since the diffusion gradation effect coefficient is dynamically set using the character code as input information, even if the background is a moving image, it can be visually recognized. There is an effect that gradation font drawing with better performance can be obtained.

【0051】この発明によれば、階調フォント描画方法
において、文字中間色の輝度レベルを仮想背景色に近づ
ける効果を持つ中央化階調効果係数を設け、この中央化
階調効果係数を適用して描画色の計算を行うように構成
したので、背景が動画像であっても視認性が更に良い階
調フォント描画が得られるという効果がある。
According to the present invention, in the gradation font drawing method, a centralized gradation effect coefficient having an effect of bringing the luminance level of the character intermediate color closer to the virtual background color is provided, and the centralized gradation effect coefficient is applied. Since the drawing color is calculated, there is an effect that even if the background is a moving image, gradation font drawing with better visibility can be obtained.

【0052】この発明によれば、階調フォント描画方法
において、文字コードを入力情報として、中央化階調効
果係数を動的に設定するように構成したので、背景が動
画像であっても視認性が更に良い階調フォント描画が得
られるという効果がある。
According to the present invention, in the gradation font drawing method, the centralized gradation effect coefficient is dynamically set using the character code as input information. There is an effect that gradation font drawing with better performance can be obtained.

【0053】この発明によれば、階調フォント描画方法
において、文字中間色の輝度レベルを文字前景色に近づ
ける効果を持つ拡散化階調効果係数及び文字中間色の輝
度レベルを仮想背景色に近づける効果を持つ中央化階調
効果係数を設け、文字前景色の輝度が仮想背景色の輝度
と比べて高い場合は拡散化階調効果係数を適用して描画
色の計算を行い、文字前景色の輝度が仮想背景色の輝度
と比べて低い場合は中央化階調効果係数を適用して描画
色の計算を行うように構成したので、背景が動画像であ
っても視認性が更に良い階調フォント描画が得られると
いう効果がある。
According to the present invention, in the gradation font drawing method, the diffusion gradation effect coefficient having the effect of making the luminance level of the character intermediate color closer to the foreground color and the effect of bringing the luminance level of the character intermediate color closer to the virtual background color can be obtained. If the luminance of the character foreground color is higher than the luminance of the virtual background color, the drawing color is calculated by applying the diffused gradation effect coefficient, and the luminance of the character foreground color is When the brightness is lower than the luminance of the virtual background color, the drawing color is calculated by applying the centralized gradation effect coefficient, so that even if the background is a moving image, the visibility of the gradation font is improved. Is obtained.

【0054】この発明によれば、階調フォント描画方法
において、文字コードを入力情報として、拡散化階調効
果係数及び中央化階調効果係数を動的に設定するように
構成したので、背景が動画像であっても視認性が更に良
い階調フォント描画が得られるという効果がある。
According to the present invention, in the gradation font drawing method, the diffused gradation effect coefficient and the centralized gradation effect coefficient are dynamically set by using the character code as input information. There is an effect that gradation font drawing with better visibility can be obtained even for a moving image.

【0055】この発明によれば、階調フォント描画装置
を、文字前景色及び文字背景色の情報又は文字前景色及
び仮想背景色の情報を入力情報として各階調値に対応し
た描画色を計算する文字中間色計算手段と、階調フォン
トデータを文字中間色計算手段で計算された描画色で描
画する描画手段とを備えたように構成したので、背景が
動画像であっても視認性が良い階調フォント描画が得ら
れるという効果がある。
According to the present invention, the gradation font drawing device calculates the drawing color corresponding to each gradation value using the information of the character foreground color and the character background color or the information of the character foreground color and the virtual background color as input information. Since it is configured to include the character intermediate color calculating means and the drawing means for drawing the gradation font data with the drawing color calculated by the character intermediate color calculating means, the gradation having good visibility even if the background is a moving image. There is an effect that font drawing can be obtained.

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

【図1】 この発明の実施の形態1における階調フォン
ト描画装置の構成図である。
FIG. 1 is a configuration diagram of a gradation font drawing apparatus according to Embodiment 1 of the present invention.

【図2】 この発明の実施の形態2における階調フォン
ト描画方法のフローチャートの一部を示す図である。
FIG. 2 is a diagram illustrating a part of a flowchart of a gradation font drawing method according to Embodiment 2 of the present invention;

【図3】 この発明の実施の形態3における階調フォン
ト描画方法のフローチャートの一部を示す図である。
FIG. 3 is a diagram showing a part of a flowchart of a gradation font drawing method according to Embodiment 3 of the present invention;

【図4】 この発明の実施の形態4における階調フォン
ト描画装置の構成図である。
FIG. 4 is a configuration diagram of a gradation font drawing device according to a fourth embodiment of the present invention.

【図5】 この発明の実施の形態6における階調フォン
ト描画方法のフローチャートの一部を示す図である。
FIG. 5 is a diagram illustrating a part of a flowchart of a gradation font drawing method according to a sixth embodiment of the present invention;

【図6】 この発明の実施の形態7における階調フォン
ト描画装置の構成図である。
FIG. 6 is a configuration diagram of a gradation font drawing device according to a seventh embodiment of the present invention.

【図7】 従来の階調フォント描画装置の構成図であ
る。
FIG. 7 is a configuration diagram of a conventional gradation font drawing apparatus.

【図8】 従来の階調フォント描画方法における4階調
フォントのグリフデータの例を示す図である。
FIG. 8 is a diagram illustrating an example of glyph data of a 4-gradation font in a conventional gradation font drawing method.

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

10 階調フォント描画部、11 グラフィックアプリ
ケーション、12 グラフィックアプリケーションから
の入力情報、13 フォントデータ取得手段、14 画
像プレーン、15 ビデオ復号手段、20 階調フォン
ト描画部、21グラフィックアプリケーション、22
グラフィックアプリケーションからの入力情報、23
フォントデータ取得手段、24 画像プレーン、25
ビデオ復号手段、101 文字中間色計算手段、102
描画色情報、103 描画手段、104 仮想背景色
情報、105 階調効果係数情報、106 階調効果係
数決定手段、121 文字前景色情報、122 文字背
景色情報、123 文字コード情報、131 階調フォ
ントデータベース、132 階調フォントデータ、14
1 ビデオプレーン、142 グラフィックプレーン、
201 文字中間色計算手段、202 描画色情報、2
03 描画手段、221 文字前景色情報、222 文
字背景色情報、223 文字コード情報、231 階調
フォントデータベース、232 階調フォントデータ、
241 ビデオプレーン、242グラフィックプレー
ン。
10 gradation font drawing unit, 11 graphic application, 12 input information from graphic application, 13 font data acquisition unit, 14 image plane, 15 video decoding unit, 20 gradation font drawing unit, 21 graphic application, 22
Input information from graphic application, 23
Font data acquisition means, 24 image planes, 25
Video decoding means, 101 character intermediate color calculating means, 102
Drawing color information, 103 drawing means, 104 virtual background color information, 105 gradation effect coefficient information, 106 gradation effect coefficient determination means, 121 character foreground color information, 122 character background color information, 123 character code information, 131 gradation font Database, 132 gradation font data, 14
1 video plane, 142 graphic plane,
201 character intermediate color calculating means, 202 drawing color information, 2
03 drawing means, 221 character foreground color information, 222 character background color information, 223 character code information, 231 gradation font database, 232 gradation font data,
241 video plane, 242 graphic plane.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 横山 幸雄 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 (72)発明者 平松 隆宏 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 Fターム(参考) 5C057 AA06 BA14 DA03 DA16 DC01 EA01 EA07 EA12 EC01 EF01 FD05 5C082 AA02 BA02 BA34 BA35 BA41 BB03 BB32 BC07 CA11 CA22 CA56 CA85 DA38 MM10  ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Yukio Yokoyama 2-3-2 Marunouchi, Chiyoda-ku, Tokyo Mitsui Electric Co., Ltd. (72) Inventor Takahiro Hiramatsu 2-3-2 Marunouchi, Chiyoda-ku, Tokyo F term in Ryo Electric Co., Ltd. (reference) 5C057 AA06 BA14 DA03 DA16 DC01 EA01 EA07 EA12 EC01 EF01 FD05 5C082 AA02 BA02 BA34 BA35 BA41 BB03 BB32 BC07 CA11 CA22 CA56 CA85 DA38 MM10

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 文字前景色及び文字背景色の情報又は前
記文字前景色及び仮想背景色の情報を入力情報として各
階調値に対応した描画色を計算し、計算した描画色によ
って階調フォントデータを描画する階調フォント描画方
法。
1. A drawing color corresponding to each gradation value is calculated using information of a character foreground color and a character background color or information of the character foreground color and a virtual background color as input information, and gradation font data is calculated based on the calculated drawing color. The gradation font drawing method for drawing.
【請求項2】 文字背景色の透明度が既定しきい値より
も高い場合は仮想背景色の情報に基づいて描画色の計算
を行い、前記文字背景色の透明度が前記既定しきい値よ
りも低い場合は前記文字背景色の情報に基づいて描画色
の計算を行うことを特徴とする請求項1記載の階調フォ
ント描画方法。
2. When the transparency of the character background color is higher than a predetermined threshold value, a drawing color is calculated based on information of the virtual background color, and the transparency of the character background color is lower than the predetermined threshold value. 2. The gradation font drawing method according to claim 1, wherein a drawing color is calculated based on the character background color information.
【請求項3】 文字背景色の透明度を係数として文字背
景色と仮想背景色とを加重平均した2次仮想背景色を求
め、この2次仮想背景色の情報に基づいて描画色の計算
を行うことを特徴とする請求項1記載の階調フォント描
画方法。
3. A secondary virtual background color is obtained by weighting and averaging the character background color and the virtual background color using the transparency of the character background color as a coefficient, and a drawing color is calculated based on the information on the secondary virtual background color. 2. The gradation font drawing method according to claim 1, wherein:
【請求項4】 文字中間色の輝度レベルを文字前景色に
近づける効果を持つ拡散化階調効果係数を設け、この拡
散化階調効果係数を適用して描画色の計算を行うことを
特徴とする請求項1記載の階調フォント描画方法。
4. A method for calculating a drawing color by applying a diffused gradation effect coefficient having an effect of bringing a luminance level of a character intermediate color closer to a character foreground color, and applying the diffused gradation effect coefficient. The gradation font drawing method according to claim 1.
【請求項5】 文字コードを入力情報として、拡散化階
調効果係数を動的に設定することを特徴とする請求項4
記載の階調フォント描画方法。
5. The diffusion gradation effect coefficient is dynamically set using a character code as input information.
The described gradation font drawing method.
【請求項6】 文字中間色の輝度レベルを仮想背景色に
近づける効果を持つ中央化階調効果係数を設け、この中
央化階調効果係数を適用して描画色の計算を行うことを
特徴とする請求項1記載の階調フォント描画方法。
6. A centralized gradation effect coefficient having an effect of bringing a luminance level of a character intermediate color closer to a virtual background color is provided, and a drawing color is calculated by applying the centralized gradation effect coefficient. The gradation font drawing method according to claim 1.
【請求項7】 文字コードを入力情報として、中央化階
調効果係数を動的に設定することを特徴とする請求項6
記載の階調フォント描画方法。
7. The method according to claim 6, wherein a centralized gradation effect coefficient is dynamically set using a character code as input information.
The described gradation font drawing method.
【請求項8】 文字中間色の輝度レベルを文字前景色に
近づける効果を持つ拡散化階調効果係数及び前記文字中
間色の輝度レベルを仮想背景色に近づける効果を持つ中
央化階調効果係数を設け、文字前景色の輝度が前記仮想
背景色の輝度と比べて高い場合は前記拡散化階調効果係
数を適用して描画色の計算を行い、前記文字前景色の輝
度が前記仮想背景色の輝度と比べて低い場合は前記中央
化階調効果係数を適用して描画色の計算を行うことを特
徴とする請求項1記載の階調フォント描画方法。
8. A diffusion gradation effect coefficient having an effect of bringing a luminance level of a character intermediate color closer to a character foreground color and a centralized gradation effect coefficient having an effect of bringing a luminance level of the character intermediate color closer to a virtual background color, If the luminance of the character foreground color is higher than the luminance of the virtual background color, the drawing color is calculated by applying the diffused gradation effect coefficient, and the luminance of the character foreground color is equal to the luminance of the virtual background color. 2. The gradation font drawing method according to claim 1, wherein the calculation of the drawing color is performed by applying the centralized gradation effect coefficient when the comparison is lower.
【請求項9】 文字コードを入力情報として、拡散化階
調効果係数及び中央化階調効果係数を動的に設定するこ
とを特徴とする請求項8記載の階調フォント描画方法。
9. The gradation font drawing method according to claim 8, wherein a diffusion gradation effect coefficient and a centralized gradation effect coefficient are dynamically set using a character code as input information.
【請求項10】 文字前景色及び文字背景色の情報又は
前記文字前景色及び仮想背景色の情報を入力情報として
各階調値に対応した描画色を計算する文字中間色計算手
段と、 階調フォントデータを前記文字中間色計算手段で計算さ
れた描画色で描画する描画手段と、 を備えた階調フォント描画装置。
10. A character intermediate color calculating means for calculating a drawing color corresponding to each gradation value using information on a character foreground color and a character background color or information on the character foreground color and a virtual background color as input information, and gradation font data. Drawing means for drawing in the drawing color calculated by the character intermediate color calculating means.
JP2001160963A 2001-05-29 2001-05-29 Gradation font rendering method and gradation font rendering apparatus Expired - Fee Related JP4896304B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001160963A JP4896304B2 (en) 2001-05-29 2001-05-29 Gradation font rendering method and gradation font rendering apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001160963A JP4896304B2 (en) 2001-05-29 2001-05-29 Gradation font rendering method and gradation font rendering apparatus

Publications (2)

Publication Number Publication Date
JP2002351440A true JP2002351440A (en) 2002-12-06
JP4896304B2 JP4896304B2 (en) 2012-03-14

Family

ID=19004306

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001160963A Expired - Fee Related JP4896304B2 (en) 2001-05-29 2001-05-29 Gradation font rendering method and gradation font rendering apparatus

Country Status (1)

Country Link
JP (1) JP4896304B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007279116A (en) * 2006-04-03 2007-10-25 Mitsubishi Electric Corp Multi-gradation character display method and digital broadcast receiver
JP2008032947A (en) * 2006-07-28 2008-02-14 Sharp Corp Digital information display device
JP2008259206A (en) * 2007-03-31 2008-10-23 Sony Deutsche Gmbh Method and device for displaying message on television screen
JP2009540359A (en) * 2006-06-06 2009-11-19 マイクロソフト コーポレーション Remote subpixel resolution characteristics
WO2022160945A1 (en) * 2021-01-28 2022-08-04 北京字跳网络技术有限公司 Gradient color effect processing method and apparatus, and device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05346953A (en) * 1992-06-15 1993-12-27 Matsushita Electric Ind Co Ltd Image data processor
JPH06337662A (en) * 1993-03-30 1994-12-06 Matsushita Electric Ind Co Ltd Generation device for character and picture data
JPH07162816A (en) * 1993-12-09 1995-06-23 Matsushita Electric Ind Co Ltd Teletext receiver
JP2000115641A (en) * 1998-10-05 2000-04-21 Matsushita Electric Ind Co Ltd Gradation font character color setting device
JP2001083955A (en) * 1999-09-09 2001-03-30 Seiko Epson Corp Image processing method and device therefor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05346953A (en) * 1992-06-15 1993-12-27 Matsushita Electric Ind Co Ltd Image data processor
JPH06337662A (en) * 1993-03-30 1994-12-06 Matsushita Electric Ind Co Ltd Generation device for character and picture data
JPH07162816A (en) * 1993-12-09 1995-06-23 Matsushita Electric Ind Co Ltd Teletext receiver
JP2000115641A (en) * 1998-10-05 2000-04-21 Matsushita Electric Ind Co Ltd Gradation font character color setting device
JP2001083955A (en) * 1999-09-09 2001-03-30 Seiko Epson Corp Image processing method and device therefor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007279116A (en) * 2006-04-03 2007-10-25 Mitsubishi Electric Corp Multi-gradation character display method and digital broadcast receiver
JP2009540359A (en) * 2006-06-06 2009-11-19 マイクロソフト コーポレーション Remote subpixel resolution characteristics
JP2008032947A (en) * 2006-07-28 2008-02-14 Sharp Corp Digital information display device
JP2008259206A (en) * 2007-03-31 2008-10-23 Sony Deutsche Gmbh Method and device for displaying message on television screen
WO2022160945A1 (en) * 2021-01-28 2022-08-04 北京字跳网络技术有限公司 Gradient color effect processing method and apparatus, and device and storage medium

Also Published As

Publication number Publication date
JP4896304B2 (en) 2012-03-14

Similar Documents

Publication Publication Date Title
US6972771B2 (en) Image display device, image display method, and image display program
EP0746840B1 (en) Single frame buffer image processing system
JP4554280B2 (en) System and method for displaying images using multiple blending
US5590267A (en) Method and system for scalable borders that provide an appearance of depth
US7064864B2 (en) Method and apparatus for compressing reproducible color gamut
US7440037B2 (en) Anti-aliasing characters for improved display on an interlaced television monitor
JP5843662B2 (en) Display device and television receiver
TW201013632A (en) Display apparatus, method of driving display apparatus, drive-use integrated circuit, driving method employed by drive-use integrated circuit, and signal processing method
JP2003528517A (en) Video image data processing method and apparatus for display on a display device
JP2002140038A (en) Transmission type image display device
US7342585B2 (en) Use of an input overscaled bitmap to generate emboldened overscaled bitmap
US5734362A (en) Brightness control for liquid crystal displays
US6606100B1 (en) Device for indicating the position of a window in a display and for enhancing an image in the window
US6084564A (en) Apparatus for determining a black point on a display unit and method of performing the same
US20050253865A1 (en) Encoding ClearType text for use on alpha blended textures
US7528814B2 (en) Method and device providing enhanced characters
JP4896304B2 (en) Gradation font rendering method and gradation font rendering apparatus
JP6837860B2 (en) Image display control device, image display control method, and image display control program
US20030067556A1 (en) Generation of text on a display screen
US20030169372A1 (en) OSD control method
JPH06259522A (en) Hand-written image display device
US6791567B1 (en) Method and system for color clipping for extremely bright images
CN112513940A (en) Alpha value determination device, alpha value determination method, program, and data structure of image data
JP5476108B2 (en) Display device
KR20010087015A (en) apparatus and method for on screen display

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20071107

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20071107

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071107

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080411

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080806

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110706

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110719

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110915

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111213

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111221

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150106

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees