JP2006195229A - Character graphic display device, program, and recording medium - Google Patents

Character graphic display device, program, and recording medium Download PDF

Info

Publication number
JP2006195229A
JP2006195229A JP2005007517A JP2005007517A JP2006195229A JP 2006195229 A JP2006195229 A JP 2006195229A JP 2005007517 A JP2005007517 A JP 2005007517A JP 2005007517 A JP2005007517 A JP 2005007517A JP 2006195229 A JP2006195229 A JP 2006195229A
Authority
JP
Japan
Prior art keywords
character
subpixel
display device
sub
color element
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
JP2005007517A
Other languages
Japanese (ja)
Other versions
JP3827318B2 (en
Inventor
Yasuhisa Nakamura
安久 中村
Satoru Okada
哲 岡田
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2005007517A priority Critical patent/JP3827318B2/en
Priority to PCT/JP2006/300363 priority patent/WO2006075695A1/en
Priority to TW95101426A priority patent/TWI322980B/en
Publication of JP2006195229A publication Critical patent/JP2006195229A/en
Application granted granted Critical
Publication of JP3827318B2 publication Critical patent/JP3827318B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/22Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
    • G09G5/24Generation of individual character patterns
    • G09G5/28Generation of individual character patterns for enhancement of character form, e.g. smoothing
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0457Improvement of perceived resolution by subpixel rendering

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Processing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a character graphic display device capable of smoothly and thickly displaying characters or graphics on a display device capable of displaying the characters or graphics, a program and a recording medium. <P>SOLUTION: The character graphic display device is equipped with the display device and a controller for controlling the display device. Each of a plurality of pixels includes a plurality of sub-pixels arrayed in a first direction, and the controller displays the characters or the graphics on the display device by respectively independently controlling a plurality of color elements corresponding to the plurality of the sub-pixels. The controller sets the color element levels of a second sub-pixel group adjacent to one sub-pixel among a skeleton sub-pixel group and a second sub-pixel group including at least one sub-pixel lining up in a second direction perpendicular to the first direction according to the color element level of at least one sub-pixel in the first sub-pixel group. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、文字または図形を表示する表示デバイスと表示デバイスを制御する制御部とを備える文字図形表示装置、プログラムおよび記録媒体に関する。本発明によって、例えば、文字または図形をカラー表示可能な表示デバイスに文字または図形を滑らかに、かつ太く表示できる。   The present invention relates to a character / graphic display device, a program, and a recording medium including a display device that displays characters or graphics and a control unit that controls the display device. According to the present invention, for example, characters or figures can be displayed smoothly and thickly on a display device capable of displaying characters or figures in color.

特許文献1は、文字を滑らかに表示する技術を開示する。この技術では、ドットフォントが利用され、文字色領域の周囲に中間調領域(グレー領域)が配置される。   Patent Document 1 discloses a technique for displaying characters smoothly. In this technique, a dot font is used, and a halftone area (gray area) is arranged around the character color area.

特許文献2は、文字を滑らかに、かつ垂直方向に延びた線の幅を太く表示する技術を開示する。この技術では、文字の骨格部分に対応する骨格サブピクセルが複数のサブピクセルのうちの少なくとも1つに割り当てられる。さらに、サブピクセル群が、骨格サブピクセルに隣接して割り当てられる。サブピクセル群は、文字の骨格部分に隣接する部分に対応しており、複数のサブピクセルを含む。サブピクセル群に含まれる複数のサブピクセルは、水平方向に並ぶ。サブピクセル群には色要素レベルが設定され、サブピクセル群に色要素レベルに応じた輝度値を設定することによって、文字を滑らかに、かつ垂直方向に延びた文字の線幅を太く表示する。   Patent Document 2 discloses a technique for displaying characters smoothly and with a wide line extending in the vertical direction. In this technique, a skeleton subpixel corresponding to a skeleton portion of a character is assigned to at least one of the plurality of subpixels. Further, a group of subpixels is assigned adjacent to the skeleton subpixel. The subpixel group corresponds to a portion adjacent to the skeleton portion of the character and includes a plurality of subpixels. A plurality of subpixels included in the subpixel group are arranged in the horizontal direction. A color element level is set in the sub-pixel group, and by setting a luminance value corresponding to the color element level in the sub-pixel group, the character is displayed smoothly and thickly with the line width of the character extending in the vertical direction.

ここで、「サブピクセル」は、画素を構成する色素子であり、「文字の骨格部分」は、文字を構成するストロークの中心である。「色要素レベル」は、背景色の輝度レベルに対する文字色の輝度レベルの割合を示す。例えば、骨格サブピクセルから離れたサブピクセルほどその色要素レベルが低く、背景色の割合が高い。骨格サブピクセルに近いサブピクセルほどその色要素レベルが高く、文字色の割合が高い。   Here, the “sub-pixel” is a color element constituting the pixel, and the “character skeleton” is the center of the stroke constituting the character. The “color element level” indicates the ratio of the luminance level of the character color to the luminance level of the background color. For example, the sub-pixel farther from the skeleton sub-pixel has a lower color element level and a higher background color ratio. A subpixel closer to the skeleton subpixel has a higher color element level and a higher character color ratio.

図23は、特許文献2で開示された文字表示装置600の構成を示す。   FIG. 23 shows a configuration of a character display device 600 disclosed in Patent Document 2.

文字表示装置600は、入力デバイス601と、制御部602と、表示デバイス603とを含む。制御部602は、骨格生成手段604と、文字寄与レベル割り付け手段605と、出力値生成手段606と、文字寄与レベル算出手段607と、文字寄与レベル集合算出手段608と、輝度レベル算出手段609とを含む。   The character display device 600 includes an input device 601, a control unit 602, and a display device 603. The control unit 602 includes a skeleton generation unit 604, a character contribution level assignment unit 605, an output value generation unit 606, a character contribution level calculation unit 607, a character contribution level set calculation unit 608, and a luminance level calculation unit 609. Including.

骨格生成手段604は、入力デバイス601によって入力されたビットマップデータから所望のデータをとりだし、文字の骨格部分を示す骨格データをサブピクセル単位で生成する。文字の骨格部分に隣接する画素および文字の骨格部分に近傍の画素に応じて、骨格サブピクセルが滑らかに配置されるように、骨格データが生成される。   The skeleton generation unit 604 extracts desired data from the bitmap data input by the input device 601 and generates skeleton data indicating the skeleton portion of the character in units of subpixels. Skeletal data is generated so that skeleton sub-pixels are smoothly arranged according to pixels adjacent to the skeleton portion of the character and pixels adjacent to the skeleton portion of the character.

文字寄与レベル割り付け手段605は、骨格からの距離に応じて、色要素レベル(文字寄与レベル)をサブピクセルに割り付ける。   The character contribution level assigning means 605 assigns the color element level (character contribution level) to the sub-pixels according to the distance from the skeleton.

文字寄与レベル集合算出手段608は、文字寄与レベルを画素単位にまとめる。輝度レベル算出手段609は、サブピクセルに割り当てるための輝度値を表す輝度テーブルデータを算出する。   The character contribution level set calculation unit 608 collects the character contribution levels in units of pixels. A luminance level calculation unit 609 calculates luminance table data representing luminance values to be assigned to subpixels.

出力値生成手段606は、色要素レベルと輝度テーブルデータとに基づいて、所望のサブピクセルに輝度値を割り当てる。   The output value generation unit 606 assigns a luminance value to a desired subpixel based on the color element level and the luminance table data.

このように、文字表示装置600によれば、サブピクセル単位で輝度レベル制御が可能となるため、コントラストが高く、かつ文字を滑らかに表示できる。   Thus, according to the character display device 600, the luminance level can be controlled in units of sub-pixels, so that the contrast is high and characters can be displayed smoothly.

特許文献3は、文字を滑らかに、かつ垂直方向に延びた線の幅および水平方向に延びた線の幅を太く表示する技術を開示する。この技術では、水平方向に延びた線の幅を太くするために、骨格サブピクセル(色要素レベルが7(最大値))の上側および下側の少なくとも一方に隣接するサブピクセルの色要素レベルを3(骨格サブピクセルの色要素レベルより小さい値。例えば、骨格サブピクセルの色要素レベルの半分)に設定する。従って、文字を滑らかに、かつ文字の線幅を太く表示できる。
特開平8−255254号公報 特開2003−248476号公報 特開2001−100725号公報
Patent Document 3 discloses a technique for displaying characters smoothly and thickly with a line width extending in the vertical direction and a line width extending in the horizontal direction. In this technique, in order to increase the width of the line extending in the horizontal direction, the color element level of the subpixel adjacent to at least one of the upper side and the lower side of the skeleton subpixel (color element level is 7 (maximum value)) is set. 3 (value smaller than the color element level of the skeleton subpixel; for example, half the color element level of the skeleton subpixel). Therefore, the characters can be displayed smoothly and the line width of the characters can be increased.
JP-A-8-255254 JP 2003-248476 A Japanese Patent Laid-Open No. 2001-100725

しかし、特許文献1に開示の技術では、文字の輪郭または文字そのものがぼけて表示されたり、黒味が偏った文字が表示される。   However, in the technique disclosed in Patent Document 1, the outline of the character or the character itself is blurred or displayed, or a character with a biased blackness is displayed.

特許文献2に開示の技術は、特許文献1のこの問題点を解消する。文字表示装置600は、サブピクセル単位で輝度レベルを制御することによって、垂直方向に延びた線の幅を太くするからである。   The technique disclosed in Patent Document 2 solves this problem of Patent Document 1. This is because the character display device 600 increases the width of the line extending in the vertical direction by controlling the luminance level in units of subpixels.

しかし、特許文献2に開示の技術を用いても、曲線などの線の幅は一定にならない。水平方向に延びた線の幅を太くできないからである。したがって、滑らかな曲線を生成できない。さらに、サブピクセル単位の輝度レベル制御および垂直方向に延びた線の幅を太くするだけでは、互いに隣接するサブピクセルが繋がり、文字潰れの要因になる。したがって、充分に太い文字を示すデータを生成できず、充分な太さの文字を表示できない。   However, even if the technique disclosed in Patent Document 2 is used, the width of a line such as a curve is not constant. This is because the width of the line extending in the horizontal direction cannot be increased. Therefore, a smooth curve cannot be generated. Furthermore, by simply controlling the luminance level in units of sub-pixels and increasing the width of the line extending in the vertical direction, adjacent sub-pixels are connected to cause character collapse. Therefore, data indicating a sufficiently thick character cannot be generated, and a sufficiently thick character cannot be displayed.

特許文献3に開示の技術では、特許文献2のこれらの問題点を解消する。垂直方向に延びた線の幅のみならず、水平方向に延びた線の幅をも太く表示できるからである。   The technique disclosed in Patent Document 3 solves these problems of Patent Document 2. This is because not only the width of the line extending in the vertical direction but also the width of the line extending in the horizontal direction can be displayed thick.

しかし、特許文献3に開示の技術は、垂直方向に延びる直線を表示するには有効であるが、斜線の表示に適応させることが容易でない。骨格サブピクセルの上側および下側の少なくとも一方に隣接するサブピクセルの色要素レベルは、骨格サブピクセルの色要素レベルのみに依存する値だからである。さらに、ストロークが曲がっている線の表示に適応させることが容易でない。垂直方向に延びる線の幅の変更に充分に対応できないからである。   However, although the technique disclosed in Patent Document 3 is effective for displaying a straight line extending in the vertical direction, it is not easy to adapt to the display of the oblique line. This is because the color element level of the subpixel adjacent to at least one of the upper side and the lower side of the skeleton subpixel is a value that depends only on the color element level of the skeleton subpixel. Furthermore, it is not easy to adapt to the display of a line with a bent stroke. This is because it cannot sufficiently cope with the change in the width of the line extending in the vertical direction.

本発明は、上記課題に鑑みてなされたものであり、文字または図形の品位を損ねることなく充分に太い文字または図形を表示し、文字または図形の曲線部分の幅を一定に表示する文字図形表示装置、プログラムおよび記録媒体を提供することを目的とする。   The present invention has been made in view of the above problems, and displays a sufficiently thick character or graphic without degrading the quality of the character or graphic, and a character graphic display that displays a constant width of the curved portion of the character or graphic. An object is to provide an apparatus, a program, and a recording medium.

本発明の文字図形表示装置は、複数の画素を有する表示デバイスと、前記表示デバイスを制御する制御部とを備える文字図形表示装置であって、前記複数の画素のそれぞれは、第1方向に配列された複数のサブピクセルを含み、前記複数のサブピクセルのそれぞれには複数の色要素のうち対応する1つの色要素が予め割り当てられており、前記複数の色要素のそれぞれの強さは、複数の色要素レベルによって表され、前記制御部は、前記複数のサブピクセルに対応する前記複数の色要素をそれぞれ独立に制御することにより、文字または図形を前記表示デバイスに表示し、前記制御部は、前記表示デバイスに表示される文字または図形の骨格部分に対応する少なくとも1つのサブピクセルを含む骨格サブピクセル群の色要素レベルと、前記骨格サブピクセル群のうちの1つのサブピクセルに隣接する第1サブピクセル群であって、前記第1方向に並んだ少なくとも1つのサブピクセルを含む第1サブピクセル群の色要素レベルとを設定し、前記制御部は、前記骨格サブピクセル群のうちの1つのサブピクセルに隣接する第2サブピクセル群であって、前記第1方向に対して垂直な第2方向に並んだ少なくとも1つのサブピクセルを含む第2サブピクセル群の色要素レベルを前記第1サブピクセル群のうちの少なくとも1つのサブピクセルの色要素レベルに応じて設定し、これにより、上記目的が達成される。   The character graphic display device of the present invention is a character graphic display device including a display device having a plurality of pixels and a control unit for controlling the display device, and each of the plurality of pixels is arranged in a first direction. A plurality of sub-pixels, each of the plurality of sub-pixels is pre-assigned a corresponding one of the plurality of color elements, and each of the plurality of color elements has a plurality of intensities. The control unit displays characters or figures on the display device by independently controlling the plurality of color elements corresponding to the plurality of sub-pixels, and the control unit A color element level of a skeleton subpixel group including at least one subpixel corresponding to a skeleton portion of a character or a graphic displayed on the display device; A color element level of a first subpixel group adjacent to one subpixel of the subpixel group and including at least one subpixel arranged in the first direction; The control unit may include a second subpixel group adjacent to one subpixel of the skeleton subpixel group, and at least one subpixel arranged in a second direction perpendicular to the first direction. The color element level of the second subpixel group to be included is set according to the color element level of at least one subpixel of the first subpixel group, thereby achieving the above object.

前記制御部は、前記骨格サブピクセル群のうちの1つのサブピクセルから前記第1サブピクセル群のうちの1つのサブピクセルまでの距離に応じて、前記第1サブピクセル群のうちの前記1つのサブピクセルの色要素レベルを設定してもよい。   The controller may control the one of the first subpixel groups according to a distance from one subpixel of the skeleton subpixel group to one subpixel of the first subpixel group. The subpixel color element level may be set.

前記制御部は、第1変換率に基づいて、前記第2サブピクセル群の色要素レベルを設定し、前記第1変換率は、前記第1サブピクセル群の色要素レベルに対応する前記文字または図形の複数の線幅に応じて決定されており、前記第1変換率と前記文字または図形の複数の線幅との関係は、少なくとも1つのテーブルによって表されてもよい。   The control unit sets a color element level of the second subpixel group based on a first conversion rate, and the first conversion rate corresponds to the character or the color corresponding to the color element level of the first subpixel group. It is determined according to a plurality of line widths of the graphic, and the relationship between the first conversion rate and the plurality of line widths of the characters or the graphic may be represented by at least one table.

前記第1サブピクセル群に隣接する第3サブピクセル群であって、前記第2方向に並んだ少なくとも1つのサブピクセルを含む第3サブピクセル群の色要素レベルは、前記文字または図形の複数の線幅に応じて決定されており、前記文字または図形の複数の線幅のそれぞれと前記第3サブピクセル群の色要素レベルとの関係は、少なくとも1つのテーブルによって表されてもよい。   A color element level of a third subpixel group adjacent to the first subpixel group and including at least one subpixel arranged in the second direction is set to a plurality of characters or graphics. It is determined according to the line width, and the relationship between each of the plurality of line widths of the character or graphic and the color element level of the third sub-pixel group may be represented by at least one table.

前記制御部は、前記第2方向に並んだ少なくとも1つのサブピクセルを含む第3サブピクセル群の色要素レベルを前記第1サブピクセル群の色要素レベルおよび前記第2サブピクセル群の色要素レベルのうちの少なくとも一方に基づいて設定してもよい。   The control unit determines a color element level of a third subpixel group including at least one subpixel arranged in the second direction as a color element level of the first subpixel group and a color element level of the second subpixel group. You may set based on at least one of these.

前記第2サブピクセル群の色要素レベルに対応する前記第2サブピクセル群の輝度値は、前記文字または図形の複数の線幅に応じて決定されており、前記文字または図形の複数の線幅のそれぞれと前記第2サブピクセル群の輝度値との関係は、少なくとも1つのテーブルによって表されてもよい。   The luminance value of the second subpixel group corresponding to the color element level of the second subpixel group is determined according to a plurality of line widths of the character or figure, and a plurality of line widths of the character or figure And the luminance value of the second sub-pixel group may be represented by at least one table.

前記制御部は、前記文字または図形を補正抑制するか否かを示す補正抑制データに基づいて、前記第2サブピクセル群の色要素レベルを設定してもよい。   The control unit may set a color element level of the second sub-pixel group based on correction suppression data indicating whether to correct and suppress the character or the figure.

前記補正抑制データは、前記文字または図形を表すビットマップデータに含まれてもよい。   The correction suppression data may be included in bitmap data representing the character or graphic.

前記補正抑制データは、レベル値を有してもよい。   The correction suppression data may have a level value.

本発明の記録媒体は、情報表示装置によって読み取り可能な記録媒体であって、前記情報表示装置は、複数の画素を有する表示デバイスと、前記表示デバイスを制御する制御部とを備え、前記複数の画素のそれぞれは、第1方向に配列された複数のサブピクセルを含み、前記複数のサブピクセルのそれぞれには複数の色要素のうち対応する1つの色要素が予め割り当てられており、前記複数の色要素のそれぞれの強さは、複数の色要素レベルによって表され、前記記録媒体は、前記複数のサブピクセルに対応する前記複数の色要素をそれぞれ独立に制御することにより、文字または図形を前記表示デバイスに表示するステップを包含する処理を前記制御部に実行させるためのプログラムを記録しており、前記文字または図形を前記表示デバイスに表示するステップは、前記表示デバイスに表示される文字または図形の骨格部分に対応する少なくとも1つのサブピクセルを含む骨格サブピクセル群の色要素レベルと、前記骨格サブピクセル群のうちの1つのサブピクセルに隣接する第1サブピクセル群であって、前記第1方向に並んだ少なくとも1つのサブピクセルを含む第1サブピクセル群の色要素レベルとを設定するステップと、前記骨格サブピクセル群のうちの1つのサブピクセルに隣接する第2サブピクセル群であって、前記第1方向に対して垂直な第2方向に並んだ少なくとも1つのサブピクセルを含む第2サブピクセル群の色要素レベルを前記第1サブピクセル群のうちの少なくとも1つのサブピクセルの色要素レベルに応じて設定するステップとを包含し、これにより、上記目的が達成される。   The recording medium of the present invention is a recording medium readable by an information display device, and the information display device includes a display device having a plurality of pixels, and a control unit that controls the display device. Each of the pixels includes a plurality of sub-pixels arranged in a first direction, and each of the plurality of sub-pixels is pre-allocated with a corresponding one of a plurality of color elements, The strength of each color element is represented by a plurality of color element levels, and the recording medium independently controls the plurality of color elements corresponding to the plurality of subpixels, thereby allowing the character or graphic to be A program for causing the control unit to execute a process including a step of displaying on a display device is recorded, and the character or figure is displayed on the display device. Displaying the color element level of a skeleton subpixel group including at least one subpixel corresponding to a skeleton portion of a character or a graphic displayed on the display device, and one sub-group of the skeleton subpixel group. Setting a color element level of a first subpixel group adjacent to a pixel, the first subpixel group including at least one subpixel arranged in the first direction, and among the skeleton subpixel group, A color element level of a second subpixel group adjacent to one subpixel of the second subpixel group and including at least one subpixel arranged in a second direction perpendicular to the first direction. Setting according to the color element level of at least one subpixel of the first subpixel group, The above-mentioned object can be achieved.

本発明のプログラムは、複数の画素を有する表示デバイスと、前記表示デバイスを制御する制御部とを備えた情報表示装置に表示処理を実行させるためのプログラムであって、前記複数の画素のそれぞれは、第1方向に配列された複数のサブピクセルを含み、前記複数のサブピクセルのそれぞれには複数の色要素のうち対応する1つの色要素が予め割り当てられており、前記複数の色要素のそれぞれの強さは、複数の色要素レベルによって表され、前記表示処理は、前記複数のサブピクセルに対応する前記複数の色要素をそれぞれ独立に制御することにより、文字または図形を前記表示デバイスに表示するステップを包含し、前記文字または図形を前記表示デバイスに表示するステップは、前記表示デバイスに表示される文字または図形の骨格部分に対応する少なくとも1つのサブピクセルを含む骨格サブピクセル群の色要素レベルと、前記骨格サブピクセル群のうちの1つのサブピクセルに隣接する第1サブピクセル群であって、前記第1方向に並んだ少なくとも1つのサブピクセルを含む第1サブピクセル群の色要素レベルとを設定するステップと、前記骨格サブピクセル群のうちの1つのサブピクセルに隣接する第2サブピクセル群であって、前記第1方向に対して垂直な第2方向に並んだ少なくとも1つのサブピクセルを含む第2サブピクセル群の色要素レベルを前記第1サブピクセル群のうちの少なくとも1つのサブピクセルの色要素レベルに応じて設定するステップとを包含し、これにより、上記目的が達成される。   A program of the present invention is a program for causing an information display device including a display device having a plurality of pixels and a control unit that controls the display device to execute display processing, and each of the plurality of pixels is A plurality of sub-pixels arranged in a first direction, and each of the plurality of sub-pixels is pre-assigned a corresponding one of the plurality of color elements, and each of the plurality of color elements Is represented by a plurality of color element levels, and the display processing displays characters or figures on the display device by independently controlling the plurality of color elements corresponding to the plurality of sub-pixels. The step of displaying the character or the graphic on the display device includes a step of displaying a bone of the character or the graphic displayed on the display device. A color element level of a skeleton subpixel group including at least one subpixel corresponding to a portion, and a first subpixel group adjacent to one subpixel of the skeleton subpixel group, wherein the first subpixel group is adjacent to the first direction. Setting a color element level of a first subpixel group including at least one subpixel arranged side by side, and a second subpixel group adjacent to one subpixel of the skeleton subpixel group, A color element level of a second subpixel group including at least one subpixel arranged in a second direction perpendicular to the first direction is changed to a color element level of at least one subpixel of the first subpixel group. Accordingly, the above-mentioned object is achieved.

本発明の文字図形表示装置、プログラムおよび記録媒体によれば、第2サブピクセル群の色要素レベルが第1サブピクセル群のうちの少なくとも1つのサブピクセルの色要素レベルに応じて設定される。したがって、第1サブピクセル群の色要素レベルの変更に連動させて第2サブピクセル群の色要素レベルを変更できる。その結果、文字または図形の線の幅を均一に変更でき、文字または図形を滑らかに表示できる。   According to the character graphic display device, program, and recording medium of the present invention, the color element level of the second subpixel group is set according to the color element level of at least one subpixel of the first subpixel group. Therefore, the color element level of the second subpixel group can be changed in conjunction with the change of the color element level of the first subpixel group. As a result, the line width of the character or figure can be changed uniformly, and the character or figure can be displayed smoothly.

本発明の文字図形表示装置、プログラムおよび記録媒体によれば、複数の画素のそれぞれに含まれる複数のサブピクセルの配列方向に依存することなく、文字または図形の線の幅を均一に太くできる。   According to the character graphic display device, the program, and the recording medium of the present invention, the width of the character or graphic line can be uniformly increased without depending on the arrangement direction of the plurality of subpixels included in each of the plurality of pixels.

また、本発明の文字図形表示装置、プログラムおよび記録媒体によれば、文字の線が潰れることを防止できる。その結果、従来の技術に比べて十分に太く、高精細な読み易い文字を表示できる。   Moreover, according to the character graphic display device, program, and recording medium of the present invention, it is possible to prevent the lines of characters from being crushed. As a result, characters that are sufficiently thick and high-definition and easy to read can be displayed as compared with the prior art.

以下、図を参照して本発明の実施の形態を説明する。   Embodiments of the present invention will be described below with reference to the drawings.

1.文字表示装置
図1は、本発明の実施の形態の文字表示装置100の構成を示す。
1. Character Display Device FIG. 1 shows a configuration of a character display device 100 according to an embodiment of the present invention.

文字表示装置100は、例えば、パーソナルコンピュータであり得る。パーソナルコンピュータとしては、デスクトップ型またはラップトップ型などの任意のタイプのコンピュータが使用され得る。あるいは、文字表示装置100は、ワードプロセッサであってもよい。   The character display device 100 can be, for example, a personal computer. As the personal computer, any type of computer such as a desktop type or a laptop type may be used. Alternatively, the character display device 100 may be a word processor.

文字表示装置100は、表示デバイスを備えた電子機器または情報機器などの任意の情報表示装置であり得る。例えば、文字表示装置100は、液晶表示デバイスを備えた電子機器、携帯情報ツールである携帯情報端末、PHSを含む携帯電話機、一般の電話機/FAXなどの通信機器、ゲーム機、TV、またはPDAであってもよい。   The character display device 100 may be any information display device such as an electronic device or an information device provided with a display device. For example, the character display device 100 is an electronic device equipped with a liquid crystal display device, a portable information terminal as a portable information tool, a cellular phone including a PHS, a communication device such as a general telephone / FAX, a game machine, a TV, or a PDA. There may be.

文字表示装置100は、入力デバイス101と、複数の文字を表示する表示デバイス103と、表示デバイス103を制御する制御部102とを含む。   The character display device 100 includes an input device 101, a display device 103 that displays a plurality of characters, and a control unit 102 that controls the display device 103.

入力デバイス101は、表示デバイス103に表示される文字を表す文字情報および表示デバイス103に対する指示を制御部102に入力するために使用される。文字情報は、例えば、文字を識別する文字コード、ビットマップフォントを表すためのビットマップデータ、文字の線の幅を示す線幅情報、文字色を示す文字色情報および背景色を示す背景色情報を含む。   The input device 101 is used to input character information representing characters displayed on the display device 103 and instructions to the display device 103 to the control unit 102. Character information includes, for example, a character code for identifying a character, bitmap data for representing a bitmap font, line width information indicating the width of a character line, character color information indicating a character color, and background color information indicating a background color including.

入力デバイス101としては、文字情報を入力することが可能な任意のタイプの入力デバイスが使用され得る。カーソルキー、テンキー、およびファンクションキーを備えたキーボードなどの入力デバイスが入力デバイス101として使用され得る。   As the input device 101, any type of input device capable of inputting character information can be used. An input device such as a keyboard with cursor keys, numeric keys, and function keys can be used as the input device 101.

なお、文字情報は、入力デバイス101を使用することによって、制御部102に入力されることに限られない。文字情報は、制御部102に含まれる記録媒体(図示せず)に格納されていてもよい。   The character information is not limited to being input to the control unit 102 by using the input device 101. The character information may be stored in a recording medium (not shown) included in the control unit 102.

文字情報を格納する記録媒体としては、任意の記録媒体が使用され得る。ハードディスク、ROM、MO、MD、DVD、ICカード、光カードなどの記録媒体が使用され得る。ROMは、例えば、マスクROM、EPROM、EEPROM、フラッシュROMなどであり得る。ROMを使用する場合には、そのROMを交換するだけでいろいろな処理のバリエーションを容易に実現することができる。例えば、ROMは、文字表示装置100が携帯型の端末装置または携帯電話機である場合に使用され得る。   Any recording medium can be used as a recording medium for storing character information. Recording media such as a hard disk, ROM, MO, MD, DVD, IC card, and optical card can be used. The ROM can be, for example, a mask ROM, EPROM, EEPROM, flash ROM, or the like. When a ROM is used, various processing variations can be easily realized by simply replacing the ROM. For example, the ROM can be used when the character display device 100 is a portable terminal device or a mobile phone.

文字表示装置100がインターネットを含む通信回線に接続するための手段を備えている場合には、その通信回線から文字情報をダウンロードすることができる。   When the character display device 100 is provided with means for connecting to a communication line including the Internet, character information can be downloaded from the communication line.

制御部102は、複数のサブピクセルに対応する複数の色要素をそれぞれ独立に制御することにより、文字を表示デバイス103に表示する。   The control unit 102 displays characters on the display device 103 by independently controlling a plurality of color elements corresponding to the plurality of subpixels.

制御部102は、ビットマップデータを文字表示データに変換する。文字表示データは、表示デバイス103に表示する文字を表すデータである。制御部102は、骨格生成手段104と、文字寄与レベル割り付け手段105と、出力値生成手段106と、文字寄与レベル算出手段107と、文字寄与レベル集合算出手段108と、輝度レベル算出手段109と、垂直文字寄与レベル集合算出手段110と、2次元文字寄与レベル集合合成手段111とを含む。   The control unit 102 converts the bitmap data into character display data. The character display data is data representing characters to be displayed on the display device 103. The control unit 102 includes a skeleton generation unit 104, a character contribution level assignment unit 105, an output value generation unit 106, a character contribution level calculation unit 107, a character contribution level set calculation unit 108, a luminance level calculation unit 109, A vertical character contribution level set calculation unit 110 and a two-dimensional character contribution level set synthesis unit 111 are included.

骨格生成手段104は、入力デバイス101によって入力されたビットマップデータから骨格データを生成する。文字寄与レベル割り付け手段105は、各サブピクセルに、背景色に対して文字色がどの程度寄与するかを示す値(文字寄与レベル)を割り付ける。   The skeleton generation unit 104 generates skeleton data from the bitmap data input by the input device 101. The character contribution level assigning unit 105 assigns a value (character contribution level) indicating how much the character color contributes to the background color to each sub-pixel.

文字寄与レベル算出手段107には、入力デバイス101によって線幅情報が入力される。文字寄与レベル算出手段107は、線幅情報に基づいて、骨格サブピクセルからの距離に応じて、所定のサブピクセルの文字寄与レベルを算出する。文字寄与レベル集合算出手段108は、画素ごとの文字寄与レベル集合を算出する。   Line width information is input to the character contribution level calculation means 107 by the input device 101. The character contribution level calculation unit 107 calculates the character contribution level of a predetermined subpixel according to the distance from the skeleton subpixel based on the line width information. The character contribution level set calculation means 108 calculates a character contribution level set for each pixel.

垂直文字寄与レベル集合算出手段110は、骨格サブピクセルに隣接する画素の文字寄与レベル集合と線幅情報とに基づいて、垂直方向に並ぶ複数のサブピクセルの文字寄与レベル集合を算出する。骨格サブピクセルは、文字の骨格部分に対応するサブピクセルである。2次元文字寄与レベル集合合成手段111は、文字寄与レベル集合と垂直文字寄与レベル集合とを合成し、2次元文字寄与レベル集合を生成する。   The vertical character contribution level set calculation unit 110 calculates a character contribution level set of a plurality of subpixels arranged in the vertical direction based on the character contribution level set of pixels adjacent to the skeleton subpixel and the line width information. The skeleton subpixel is a subpixel corresponding to the skeleton portion of the character. The two-dimensional character contribution level set combining unit 111 combines the character contribution level set and the vertical character contribution level set to generate a two-dimensional character contribution level set.

輝度レベル算出手段109は、文字色情報と背景色情報と2次元文字寄与レベル集合とに基づいて、表示デバイス103に表示するための文字を構成する複数のサブピクセルの輝度レベルを算出する。   The luminance level calculation unit 109 calculates the luminance levels of a plurality of subpixels that constitute a character to be displayed on the display device 103 based on the character color information, the background color information, and the two-dimensional character contribution level set.

出力値生成手段106は、文字寄与レベルと輝度レベルとに基づいて、表示デバイス103に出力すべき値(文字表示データ)を生成する。生成された出力値は、表示デバイス103に出力される。   The output value generation means 106 generates a value (character display data) to be output to the display device 103 based on the character contribution level and the luminance level. The generated output value is output to the display device 103.

なお、「文字寄与レベル」、「文字寄与レベル集合」、「垂直文字寄与レベル集合」および「2次元文字寄与レベル集合」の詳細は、後述される。さらに、制御部102に含まれた各構成要素の機能の詳細は、後述される。   Details of the “character contribution level”, “character contribution level set”, “vertical character contribution level set”, and “two-dimensional character contribution level set” will be described later. Further, the details of the functions of each component included in the control unit 102 will be described later.

表示デバイス103は、複数の画素を有する表示領域を含む。表示デバイス103には、制御部102から出力された文字表示データに基づいて、表示領域に所望の文字が表示される。   The display device 103 includes a display area having a plurality of pixels. On the display device 103, a desired character is displayed in the display area based on the character display data output from the control unit 102.

表示デバイス103としては、文字を表示する機能を有する任意の表示デバイスが使用され得る。表示デバイス103は、例えば、液晶表示デバイスである。   As the display device 103, any display device having a function of displaying characters can be used. The display device 103 is, for example, a liquid crystal display device.

複数の画素の各々は、複数のサブピクセルに分割されている。複数のサブピクセルの各々には、複数の色要素(例えば、R(赤)、G(緑)、B(青))のうち対応する1つの色要素が予め割り当てられている。複数の色要素のそれぞれの強さは、複数の色要素レベルによって表される。   Each of the plurality of pixels is divided into a plurality of subpixels. A corresponding one of the plurality of color elements (for example, R (red), G (green), B (blue)) is assigned in advance to each of the plurality of subpixels. The strength of each of the plurality of color elements is represented by a plurality of color element levels.

サブピクセルの形状は、画素を3分割してつくられる縦長の短冊状である。この場合には、これらのサブピクセルは水平方向に配列されている。なお、サブピクセルの形状は、縦長の短冊状に限らない。サブピクセルの形状は、横長の短冊状であり得る。この場合には、これらのサブピクセルは垂直方向に配列される。サブピクセルは、画素を3分割してつくられることに限定されない。画素の分割数は、任意であり得る。   The shape of the subpixel is a vertically long strip formed by dividing a pixel into three. In this case, these subpixels are arranged in the horizontal direction. Note that the shape of the subpixel is not limited to a vertically long strip. The shape of the subpixel may be a horizontally long strip shape. In this case, these subpixels are arranged in the vertical direction. The subpixel is not limited to being formed by dividing a pixel into three. The number of pixel divisions may be arbitrary.

以下、文字寄与レベルの詳細を説明する。   Details of the character contribution level will be described below.

文字寄与レベルは、16進数(0からFまでの値)によって表現される。例えば、骨格サブピクセルの文字寄与レベルは「F」によって表現され、骨格サブピクセルから充分に離れたサブピクセルの文字寄与レベルは「0」によって表現される。骨格サブピクセルに近接するサブピクセルの文字寄与レベルは「0」〜「F」のうちのいずれかによって表現される。例えば、所望のサブピクセルの文字寄与レベルは、所望のサブピクセルが骨格サブピクセルから離れている程、小さい値によって表現される。   The character contribution level is expressed by a hexadecimal number (a value from 0 to F). For example, the character contribution level of the skeleton subpixel is represented by “F”, and the character contribution level of a subpixel sufficiently away from the skeleton subpixel is represented by “0”. The character contribution level of the subpixel adjacent to the skeleton subpixel is expressed by any one of “0” to “F”. For example, the character contribution level of the desired subpixel is represented by a smaller value as the desired subpixel is further away from the skeleton subpixel.

文字色が黒、かつ背景色が白である場合、骨格サブピクセルの文字寄与レベルは「F」によって表現され、その骨格サブピクセルの輝度値は「0」である。骨格サブピクセルから充分に離れたサブピクセルの文字寄与レベルは「0」によって表現され、そのサブピクセルの輝度値は「255」である。そして、骨格サブピクセルに近接するサブピクセルの文字寄与レベルは「0」〜「F」のうちのいずれかによって表現され、そのサブピクセルの輝度値は、「255」〜「0」のうちの対応する1つの値である。   When the character color is black and the background color is white, the character contribution level of the skeleton subpixel is expressed by “F”, and the luminance value of the skeleton subpixel is “0”. The character contribution level of a subpixel sufficiently distant from the skeleton subpixel is represented by “0”, and the luminance value of the subpixel is “255”. The character contribution level of the subpixel adjacent to the skeleton subpixel is expressed by any one of “0” to “F”, and the luminance value of the subpixel corresponds to the corresponding one of “255” to “0”. One value to do.

なお、文字寄与レベルは、16進数で表現されるに限らない。文字寄与レベルは、任意の進数で表現されてもよい。   The character contribution level is not limited to being expressed in hexadecimal. The character contribution level may be expressed in an arbitrary decimal number.

以下、文字寄与レベル集合の詳細を説明する。   Hereinafter, details of the character contribution level set will be described.

文字寄与レベル集合は、複数のサブピクセルの文字寄与レベルの集合である。例えば、サブピクセルの個数が3つであり、3つのサブピクセルの各々に、3つの色要素(例えば、R、G、B)のうち対応する1つの色要素が割り当てられている場合には、文字寄与レベル集合は、色要素Rのサブピクセルの文字寄与レベル、色要素Gのサブピクセルの文字寄与レベルおよび色要素Bのサブピクセルの文字寄与レベルである。   The character contribution level set is a set of character contribution levels of a plurality of subpixels. For example, when the number of subpixels is three and each of the three subpixels is assigned one corresponding color element among three color elements (eg, R, G, B), The character contribution level set is a character contribution level of the sub-pixel of the color element R, a character contribution level of the sub-pixel of the color element G, and a character contribution level of the sub-pixel of the color element B.

文字色が黒、かつ背景色が白である場合には、例えば、黒色部分に対応する3つのサブピクセルの文字寄与レベル集合は(F、F、F)によって表現され、その画素値は(R、G、B)=(0、0、0)である。例えば、白色部分に対応する3つのサブピクセルの文字寄与レベル集合は(0、0、0)によって表現され、その画素値は(R、G、B)=(255、255、255)である。   When the character color is black and the background color is white, for example, the character contribution level set of three subpixels corresponding to the black portion is expressed by (F, F, F), and the pixel value thereof is (R , G, B) = (0, 0, 0). For example, the character contribution level set of three subpixels corresponding to the white portion is represented by (0, 0, 0), and the pixel value is (R, G, B) = (255, 255, 255).

骨格サブピクセルの右側に近接する3つのサブピクセルの文字寄与レベル集合が(R、G、B)=(3、6、9)であれば、その画素値は、R≧G≧Bを満たすような画素値(例えば画素値(R、G、B)=(230、202、168))である。   If the character contribution level set of three subpixels adjacent to the right side of the skeleton subpixel is (R, G, B) = (3, 6, 9), the pixel value satisfies R ≧ G ≧ B. Pixel value (for example, pixel values (R, G, B) = (230, 202, 168)).

R≧G≧Bを満たすような画素値(例えば画素値(R、G、B)=(230、202、168))を有する3つのサブピクセルによって、文字色および背景色とは色相の異なる赤い色合いが表示されるが、骨格サブピクセルの左側に近接する3つのサブピクセルの文字寄与レベル集合を(R、G、B)=(9、6、3)に設定し、その画素値をR≦G≦Bを満たすような画素値(例えば(R、G、B)=(168、202、230))にすることによって、文字の色付きを抑制できる。   Red with different hue from the text color and background color by three sub-pixels having pixel values satisfying R ≧ G ≧ B (for example, pixel values (R, G, B) = (230, 202, 168)) Although the hue is displayed, the character contribution level set of three subpixels adjacent to the left side of the skeleton subpixel is set to (R, G, B) = (9, 6, 3), and the pixel value is set to R ≦ By setting the pixel values so as to satisfy G ≦ B (for example, (R, G, B) = (168, 202, 230)), it is possible to suppress coloring of characters.

なお、文字寄与レベル集合は、1画素を構成する3つのサブピクセルの文字寄与レベルの集合にかぎらない。文字寄与レベル集合に含まれる文字寄与レベルが割り当てられたサブピクセルの個数は1以上の任意の個数である。   The character contribution level set is not limited to the character contribution level set of the three sub-pixels constituting one pixel. The number of subpixels to which the character contribution level included in the character contribution level set is assigned is an arbitrary number of 1 or more.

以下、制御部102に含まれた各構成要素の機能の詳細を説明する。   Hereinafter, the details of the function of each component included in the control unit 102 will be described.

図2は、骨格生成手段104の機能を示す。   FIG. 2 shows the function of the skeleton generation means 104.

骨格生成手段104は、ビットマップデータから所望のデータをとりだし、骨格データをサブピクセル単位で生成する。文字の骨格部分に隣接する画素および文字の骨格部分に近傍の画素に応じて、骨格サブピクセルが滑らかに配置されるように、骨格データが生成される。   The skeleton generation unit 104 extracts desired data from the bitmap data and generates skeleton data in units of subpixels. Skeletal data is generated so that skeleton sub-pixels are smoothly arranged according to pixels adjacent to the skeleton portion of the character and pixels adjacent to the skeleton portion of the character.

ビットマップデータは、例えば、文字表示装置100に含まれているフォント格納部に格納されている。骨格生成手段104は、フォント格納部から取得したビットマップデータの1画素毎に、骨格サブピクセルに隣接する画素および骨格サブピクセルに近傍の画素を参照することにより、骨格データを割り付けるサブピクセルを求める。   The bitmap data is stored in a font storage unit included in the character display device 100, for example. For each pixel of bitmap data acquired from the font storage unit, the skeleton generation unit 104 obtains a subpixel to which skeleton data is assigned by referring to a pixel adjacent to the skeleton subpixel and a neighboring pixel to the skeleton subpixel. .

例えば、ビットマップデータの所定の画素(i行目かつj列目の画素)に含まれる骨格サブピクセルは、所定の画素と所定の画素に隣接する8個の画素とを参照して求められる。所定の画素のパターンとこれらの8個の画素(i+1行目かつj−1列目の画素、i+1行目かつj列目の画素、i+1行目かつj+1列目の画素、i行目かつj−1列目の画素、i行目かつj+1列目の画素、i−1行目かつj−1列目の画素、i−1行目かつj列目の画素、i−1行目かつj+1列目の画素)のパターンとを参照して、所定の画素のうち色要素Bが割り当てられたサブピクセルに骨格サブピクセルを割り付ける。   For example, the skeleton subpixel included in a predetermined pixel (i-th row and j-th column) of the bitmap data is obtained by referring to the predetermined pixel and eight pixels adjacent to the predetermined pixel. Predetermined pixel pattern and these 8 pixels (i + 1th row and j−1th column pixel, i + 1th row and jth column pixel, i + 1th row and j + 1th column pixel, ith row and jth row -1 column pixel, i row and j + 1 column pixel, i-1 row and j-1 column pixel, i-1 row and j column pixel, i-1 row and j + 1 row With reference to the pattern of the pixel in the column), the skeleton subpixel is assigned to the subpixel to which the color element B is assigned among the predetermined pixels.

例えば、骨格サブピクセルを割り付けるサブピクセルは、所定の画素のパターンと所定の画素に隣接する8個の画素のパターンとの組み合わせによって決定される。これらのパターンの組み合わせは、予め骨格生成手段104に格納されている。   For example, a subpixel to which a skeleton subpixel is assigned is determined by a combination of a predetermined pixel pattern and a pattern of eight pixels adjacent to the predetermined pixel. A combination of these patterns is stored in the skeleton generation unit 104 in advance.

骨格生成手段104は、ビットマップデータによって示される全画素に対してパターンマッチングを行い、該当する骨格データを割り当て、所定の画素のパターンから骨格パターン(図2(c)参照)を生成する。   The skeleton generation unit 104 performs pattern matching on all the pixels indicated by the bitmap data, assigns the corresponding skeleton data, and generates a skeleton pattern (see FIG. 2C) from a predetermined pixel pattern.

図3は、文字寄与レベル割り付け手段105の機能を示す。   FIG. 3 shows the function of the character contribution level assigning means 105.

文字寄与レベルは、16進数(0からFまでの値)によって表現される。骨格サブピクセルの文字寄与レベルは「F」によって表現され、骨格サブピクセルからNサブピクセル離れた部分に対応するサブピクセルの文字寄与レベルは「0」によって表現される。骨格サブピクセルに近接するサブピクセルの文字寄与レベルは「0」〜「F」のうちのいずれかによって表現される。   The character contribution level is expressed by a hexadecimal number (a value from 0 to F). The character contribution level of the skeleton subpixel is expressed by “F”, and the character contribution level of the subpixel corresponding to a portion away from the skeleton subpixel by N subpixels is expressed by “0”. The character contribution level of the subpixel adjacent to the skeleton subpixel is expressed by any one of “0” to “F”.

i行目かつj列目の画素のうちの色要素Bのサブピクセルの文字寄与レベルは「F」であり、i行目かつj列目の画素のうちの色要素Gのサブピクセルの文字寄与レベルは「9」であり、i行目かつj列目の画素のうちの色要素Rのサブピクセルの文字寄与レベルは「6」であり、i行目かつj−1列目の画素のうちの色要素Bのサブピクセルの文字寄与レベルは「3」である。   The character contribution level of the sub-pixel of the color element B among the pixels in the i-th row and the j-th column is “F”, and the character contribution of the sub-pixel of the color element G in the pixels of the i-th row and the j-th column The level is “9”, the character contribution level of the sub-pixel of the color element R among the pixels in the i-th row and the j-th column is “6”, and among the pixels in the i-th row and the j−1-th column The character contribution level of the sub-pixels of the color element B is “3”.

i行目かつj+1列目の画素のうちの色要素Rのサブピクセルの文字寄与レベルは「9」であり、i行目かつj+1列目の画素のうちの色要素Gのサブピクセルの文字寄与レベルは「6」であり、i行目かつj+1列目の画素のうちの色要素Bのサブピクセルの文字寄与レベルは「3」である。   The character contribution level of the sub-pixel of the color element R among the pixels of the i-th row and the j + 1-th column is “9”, and the character contribution of the sub-pixel of the color element G of the pixels of the i-th row and the j + 1-th column The level is “6”, and the character contribution level of the sub-pixel of the color element B among the pixels in the i-th row and the j + 1-th column is “3”.

骨格サブピクセルを中心として、左右対称にサブピクセルの文字寄与レベルを割り付けている。しかし、骨格サブピクセルを中心として、左右非対称にサブピクセルの文字寄与レベルが割り付けられてもよい。さらに、サブピクセルの文字寄与レベルは「9」、「6」、「3」に限定されない。   The character contribution levels of the subpixels are assigned symmetrically about the skeleton subpixel. However, the character contribution level of the subpixel may be assigned asymmetrically about the skeleton subpixel. Furthermore, the character contribution level of the subpixel is not limited to “9”, “6”, and “3”.

文字寄与レベル割り付け手段105は、このように、所望のサブピクセルが骨格サブピクセルから離れている程、小さい値によって所望のサブピクセルの文字寄与レベルが表現されるように、所望のサブピクセルの文字寄与レベルを割り付ける(図3(c)参照)。   In this way, the character contribution level assigning means 105 performs the character contribution level of the desired subpixel so that the character contribution level of the desired subpixel is expressed by a smaller value as the desired subpixel is further away from the skeleton subpixel. A contribution level is assigned (see FIG. 3C).

図4は、出力値生成手段106の機能を示す。   FIG. 4 shows the function of the output value generation means 106.

出力値生成手段106は、1画素の文字寄与度レベル集合に対応する輝度値テーブルを有する。出力値生成手段106は、文字寄与度レベル集合に対応する輝度値テーブルを選択し、選択した輝度値テーブルに基づいて、文字表示データを生成する。   The output value generation means 106 has a luminance value table corresponding to a character contribution level set of one pixel. The output value generation means 106 selects a luminance value table corresponding to the character contribution level set, and generates character display data based on the selected luminance value table.

i行目かつj列目の画素の文字寄与レベル集合が(6、9、F)である場合には、出力値生成手段106に含まれる輝度値テーブルのうちの「2」を選択し(図4(b)参照)、選択した輝度値テーブルに基づいて、文字表示データを生成する。   When the character contribution level set of the pixel in the i-th row and the j-th column is (6, 9, F), “2” in the luminance value table included in the output value generation means 106 is selected (see FIG. 4 (b)), character display data is generated based on the selected luminance value table.

以上、文字毎のデータ処理に関して説明した。上述したように、骨格生成手段104、文字寄与レベル割り付け手段105および出力値生成手段106によって、文字を構成する画素全てのデータ処理を行うことにより、文字が表示される。   The data processing for each character has been described above. As described above, the skeleton generation unit 104, the character contribution level assignment unit 105, and the output value generation unit 106 perform data processing on all the pixels constituting the character, thereby displaying the character.

以下、出力値生成手段106が有する輝度値テーブルの生成に関して説明する。   Hereinafter, generation of a luminance value table included in the output value generation unit 106 will be described.

図5は、文字寄与レベル算出手段107の機能を示す。   FIG. 5 shows the function of the character contribution level calculation means 107.

文字寄与レベル算出手段107は、骨格サブピクセルから所定のサブピクセルまでの距離に応じて、この所定のサブピクセルの文字寄与レベルを設定する。   The character contribution level calculation means 107 sets the character contribution level of the predetermined subpixel according to the distance from the skeleton subpixel to the predetermined subpixel.

文字寄与レベル算出手段107は、文字の線の幅を示す複数の太さレベル(線幅情報)の各々に対応して、骨格サブピクセルの文字寄与レベル、骨格サブピクセルから1サブピクセル離れたサブピクセルの文字寄与レベル、骨格サブピクセルから2サブピクセル離れたサブピクセルの文字寄与レベル、骨格サブピクセルから3サブピクセル離れたサブピクセルの文字寄与レベルおよび骨格サブピクセルから4サブピクセル離れたサブピクセルの文字寄与レベルを算出する。   The character contribution level calculation means 107 corresponds to each of a plurality of thickness levels (line width information) indicating the width of the character line, and the character contribution level of the skeleton subpixel, a sub-pixel separated from the skeleton subpixel by one subpixel. The character contribution level of the pixel, the character contribution level of the subpixel two subpixels away from the skeleton subpixel, the character contribution level of the subpixel three subpixels away from the skeleton subpixel, and the subpixel four subpixels away from the skeleton subpixel Calculate the character contribution level.

太さレベルが「i」である場合には、骨格サブピクセルから4サブピクセル離れたサブピクセルまでのサブピクセルの文字寄与レベルは、「F」、「9」、「6」、「3」、「0」であり、太さレベルが「i+1」である場合には、骨格サブピクセルから4サブピクセル離れたサブピクセルまでのサブピクセルの文字寄与レベルは、「F」、「A」、「7」、「4」、「0」である。なお、骨格サブピクセルから4サブピクセル離れたサブピクセルまでのサブピクセルの文字寄与レベルが、全て異なることに限らない。これらの文字寄与レベルのうちの幾つかが同じ文字寄与レベルであり得る。全て「F」であり得る。例えば、骨格サブピクセルから4サブピクセル離れたサブピクセルまでのサブピクセルの文字寄与レベルは、「F」、「9」、「9」、「3」、「0」または、「F」、「F」、「F」、「F」、「0」であり得る。   When the thickness level is “i”, the character contribution levels of the subpixels from the skeleton subpixel to the subpixels separated by 4 subpixels are “F”, “9”, “6”, “3”, When it is “0” and the thickness level is “i + 1”, the character contribution levels of the subpixels from the skeleton subpixel to the subpixels separated by 4 subpixels are “F”, “A”, “7”. ”,“ 4 ”,“ 0 ”. Note that the character contribution levels of the subpixels from the skeleton subpixel to the subpixels separated by 4 subpixels are not necessarily different from each other. Some of these character contribution levels may be the same character contribution level. All may be “F”. For example, the character contribution levels of subpixels from a skeleton subpixel to a subpixel that is 4 subpixels away are “F”, “9”, “9”, “3”, “0”, or “F”, “F ”,“ F ”,“ F ”,“ 0 ”.

太さレベルと複数のサブピクセルの文字寄与レベルが予め算出されており、太さレベルと複数のサブピクセルの文字寄与レベルとの関係を表した文字寄与レベルテーブルが文字寄与レベル算出手段107に格納されていてもよい。この場合には、文字寄与レベル算出手段107は、太さレベルに応じて文字寄与レベルを選択する。   The character contribution level calculation unit 107 stores a character contribution level table representing the relationship between the thickness level and the character contribution levels of the plurality of sub-pixels. May be. In this case, the character contribution level calculation means 107 selects a character contribution level according to the thickness level.

太さレベルに応じて、サブピクセルの文字寄与レベルは異なる。太さレベルiに対応する文字寄与レベルと太さレベルi+1に対応する文字寄与レベルとを比較する。骨格サブピクセルの文字寄与レベルは互いに同じである。更に、骨格サブピクセルから4サブピクセル離れた文字寄与レベルは互いに同じである。しかし、1〜3サブピクセル離れたサブピクセルの文字寄与レベルは、太さレベルiに対応する文字寄与レベルが「9」、「6」、「3」であるのに対して、太さレベルi+1に対応する文字寄与レベルは「A」、「7」、「4」である。太さレベルi+1に対応する文字寄与レベルは、太さレベルiに対応する文字寄与レベルより大きく、骨格サブピクセルの文字寄与レベルFに近い。このことは、輝度レベル算出手段109が、所定の画素に対して、より文字色に近い値を輝度値として割り当てることを意味する。   Depending on the thickness level, the character contribution level of the sub-pixel is different. The character contribution level corresponding to the thickness level i is compared with the character contribution level corresponding to the thickness level i + 1. The character contribution levels of the skeleton subpixels are the same. Furthermore, the character contribution levels 4 subpixels away from the skeleton subpixel are the same. However, the character contribution levels of subpixels 1 to 3 subpixels apart from the character contribution levels corresponding to the thickness level i are “9”, “6”, and “3”, while the thickness level i + 1. The character contribution levels corresponding to are “A”, “7”, and “4”. The character contribution level corresponding to the thickness level i + 1 is larger than the character contribution level corresponding to the thickness level i, and is close to the character contribution level F of the skeleton subpixel. This means that the luminance level calculation unit 109 assigns a value closer to the character color as a luminance value to a predetermined pixel.

以下、文字寄与レベル算出手段107によって、太さレベルiに対応する文字寄与レベルが選ばれたとして説明を続ける。   Hereinafter, the description will be continued assuming that the character contribution level calculating unit 107 selects the character contribution level corresponding to the thickness level i.

図6は、文字寄与レベル集合算出手段108の機能を示す。   FIG. 6 shows the function of the character contribution level set calculation means 108.

文字寄与レベル集合算出手段108は、所定の個数のサブピクセルの文字寄与レベルを参照して、文字寄与レベル集合を算出する。参照されるサブピクセルの個数は、例えば、文字寄与レベル算出手段107によって算出された文字寄与レベルに依存する。骨格サブピクセルに隣接するサブピクセルからサブピクセルの文字寄与レベルが最小値(=0)であるサブピクセルの1つ前のサブピクセルまでが、対象となる画素の文字寄与レベル集合に含まれる。従って、参照されるサブピクセルの数は、以下に示す《式1》によって定義される。
《式1》
参照されるサブピクセルの数=(1画素に含まれるサブピクセルの数)+(骨格サブピクセルに隣接するサブピクセルからサブピクセルの文字寄与レベルが最小値であるサブピクセルの1つ前のサブピクセルまでのサブピクセルの個数)×2
本発明の実施の形態では、文字寄与レベル算出手段107によって0以外の文字寄与レベルが割り当てられたサブピクセルは、骨格サブピクセルから3サブピクセル離れたサブピクセルまでである。したがって、9サブピクセル(9=3+3×2)(3画素)の骨格データに基づいて、任意の文字寄与レベルの集合が算出される。
The character contribution level set calculation unit 108 calculates a character contribution level set with reference to the character contribution levels of a predetermined number of subpixels. The number of subpixels to be referenced depends on the character contribution level calculated by the character contribution level calculation unit 107, for example. The subpixels adjacent to the skeleton subpixel to the subpixel immediately preceding the subpixel having the character contribution level of the subpixel having the minimum value (= 0) are included in the character contribution level set of the target pixel. Therefore, the number of sub-pixels to be referred to is defined by << Equation 1 >> shown below.
<< Formula 1 >>
Number of subpixels to be referenced = (number of subpixels included in one pixel) + (subpixel immediately preceding a subpixel having a minimum character contribution level from the subpixel adjacent to the skeleton subpixel to the subpixel) Number of subpixels) x 2
In the embodiment of the present invention, the subpixels to which a character contribution level other than 0 is assigned by the character contribution level calculation means 107 are subpixels that are 3 subpixels away from the skeleton subpixel. Therefore, a set of arbitrary character contribution levels is calculated based on the skeleton data of 9 subpixels (9 = 3 + 3 × 2) (3 pixels).

隣接するNサブピクセルの骨格の組合せは2であらわされるので、2=512通りのテーブルを用意することとなる。 Since the combination of the skeletons of adjacent N subpixels is represented by 2N , 2 9 = 512 tables are prepared.

図7は、輝度レベル算出手段109の機能を示す。   FIG. 7 shows the function of the luminance level calculation means 109.

輝度レベル算出手段109は、輝度レベル算出手段109に入力された文字寄与レベル集合(例えば、2次元文字寄与レベル集合合成手段111によって合成された2次元文字寄与レベル集合)に基づいて、さらに、文字色、背景色および画素配列を考慮し、画素毎に、色要素Rのサブピクセル、色要素Gのサブピクセルおよび色要素Bのサブピクセルの輝度値を決定する。   The brightness level calculation unit 109 further determines the character based on the character contribution level set (for example, the two-dimensional character contribution level set combined by the two-dimensional character contribution level set combination unit 111) input to the brightness level calculation unit 109. In consideration of the color, the background color, and the pixel arrangement, the luminance value of the sub-pixel of the color element R, the sub-pixel of the color element G, and the sub-pixel of the color element B is determined for each pixel.

上述したように、文字寄与レベルは、文字色と背景色との混合比率を表している。したがって、文字寄与レベルに応じて、文字色情報および背景色情報を重み付け平均処理することによって、実際の輝度値を算出する。   As described above, the character contribution level represents the mixing ratio between the character color and the background color. Therefore, the actual luminance value is calculated by performing weighted averaging of the character color information and the background color information according to the character contribution level.

実際のサブピクセルの輝度レベルは、文字表示装置100の特性に依存する。以下に、実際のサブピクセルの輝度レベルを算出する《式2》〜《式4》を示す。
《式2》
Vr=iGr((Gr(fr)×ar+Gr(br)×(15−ar))/15)
《式3》
Vg=iGg((Gg(fg)×ag+Gb(bg)×(15−ag))/15)
《式4》
Vb=iGb((Gb(fb)×ab+Gg(bb)×(15−ab))/15)
ここで、Vrは色要素Rのサブピクセルの輝度レベルを示し、Vgは色要素Gのサブピクセルの輝度レベルを示し、Vbは色要素Bのサブピクセルの輝度レベルを示す。
The actual luminance level of the subpixel depends on the characteristics of the character display device 100. In the following, Equation 2 to Equation 4 for calculating the actual luminance level of the sub-pixel are shown.
<< Formula 2 >>
Vr = iGr ((Gr (fr) × ar + Gr (br) × (15−ar)) / 15)
<< Formula 3 >>
Vg = iGg ((Gg (fg) × ag + Gb (bg) × (15−ag)) / 15)
<< Formula 4 >>
Vb = iGb ((Gb (fb) × ab + Gg (bb) × (15−ab)) / 15)
Here, Vr indicates the luminance level of the sub-pixel of the color element R, Vg indicates the luminance level of the sub-pixel of the color element G, and Vb indicates the luminance level of the sub-pixel of the color element B.

Gr(x)は色要素Rのサブピクセルに対する文字表示装置100の入出力特性を示し、Gg(x)は色要素Gのサブピクセルに対する文字表示装置100の入出力特性を示し、Gb(x)は色要素Bのサブピクセルに対する文字表示装置100の入出力特性を示す。iGr(x)は色要素Rのサブピクセルに対する文字表示装置100の出入力特性を示し、iGg(x)は色要素Gのサブピクセルに対する文字表示装置100の出入力特性を示し、iGb(x)は色要素Bのサブピクセルに対する文字表示装置100の出入力特性を示す。   Gr (x) indicates the input / output characteristics of the character display device 100 for the sub-pixels of the color element R, Gg (x) indicates the input-output characteristics of the character display device 100 for the sub-pixels of the color element G, and Gb (x) Indicates the input / output characteristics of the character display device 100 for the sub-pixels of the color element B iGr (x) represents the input / output characteristics of the character display device 100 for the sub-pixels of the color element R, iGg (x) represents the output / input characteristics of the character display device 100 for the sub-pixels of the color element G, and iGb (x) Indicates the input / output characteristics of the character display device 100 for the sub-pixels of the color element B.

frは文字色を表現するために必要な色要素Rのサブピクセルの輝度レベルを示し、fgは文字色を表現するために必要な色要素Gのサブピクセルの輝度レベルを示し、fbは文字色を表現するために必要な色要素Bのサブピクセルの輝度レベルを示す。brは背景色を表現するために必要な色要素Rのサブピクセルの輝度レベルを示し、bgは背景色を表現するために必要な色要素Gのサブピクセルの輝度レベルを示し、bbは背景色を表現するために必要な色要素Bのサブピクセルの輝度レベルを示す。   fr indicates the luminance level of the sub-pixel of the color element R necessary for expressing the character color, fg indicates the luminance level of the sub-pixel of the color element G required for expressing the character color, and fb indicates the character color Represents the luminance level of the sub-pixels of the color element B necessary for expressing. br indicates the luminance level of the subpixel of the color element R necessary for expressing the background color, bg indicates the luminance level of the subpixel of the color element G required for expressing the background color, and bb indicates the background color Represents the luminance level of the sub-pixels of the color element B necessary for expressing.

arは色要素Rのサブピクセルの文字寄与レベルを示し、agは色要素Gのサブピクセルの文字寄与レベルを示し、abは色要素Bのサブピクセルの文字寄与レベルを示す。   ar indicates the character contribution level of the subpixel of the color element R, ag indicates the character contribution level of the subpixel of the color element G, and ab indicates the character contribution level of the subpixel of the color element B.

図7(c)は、文字寄与レベル集合に対応する輝度レベルを示す。文字寄与レベル(003)、(036)、(9F9)、(FFF)のそれぞれに対して、輝度レベル(255、255、230)、(255、230、202)、(168、0、168)、(0、0、0)のうち対応する1つの輝度レベルが決定される。   FIG. 7C shows the luminance level corresponding to the character contribution level set. For each of the character contribution levels (003), (036), (9F9), and (FFF), the luminance levels (255, 255, 230), (255, 230, 202), (168, 0, 168), One corresponding luminance level among (0, 0, 0) is determined.

これらの輝度レベルは、図7(a)に示された文字寄与レベル集合を表示装置入出力特性変換、文字色および背景色の重み付け平均および表示装置入出力特性逆変換することによって、算出される。   These luminance levels are calculated by converting the character contribution level set shown in FIG. 7A by display device input / output characteristic conversion, character color and background color weighted average, and display device input / output characteristic inverse conversion. .

文字表示装置100の入出力特性γ=2.2、文字色が黒、背景色が白に対応する表示特性変換式を《式5》に示す。
《式5》
Gr(x)=255×(x/255)2.2
したがって、Gr(0)=0、Gr(255)=255である。
A display characteristic conversion equation corresponding to the input / output characteristic γ = 2.2, the character color is black, and the background color is white of the character display device 100 is shown in << Expression 5 >>.
<< Formula 5 >>
Gr (x) = 255 × (x / 255) 2.2
Therefore, Gr (0) = 0 and Gr (255) = 255.

文字色が黒、背景色が白の場合は、fr、fg、fbを含む項が0となる。この場合、サブピクセルの輝度レベルは、《式6》〜《式8》によって示される。
《式6》
Vr=255×(((255×(15−ar))/15)/255)(1/2.2)
《式7》
Vg=255×(((255×(15−ag))/15)/255)(1/2.2)
《式8》
Vb=255×(((255×(15−ab))/15)/255)(1/2.2)
サブピクセルの文字寄与レベル(0、3、6)(図7(a)の表の2行目参照)を《式6》〜《式8》に代入することによって、下記に示すように、サブピクセルの輝度レベルが算出される。
When the character color is black and the background color is white, the term including fr, fg, and fb is 0. In this case, the luminance level of the sub-pixel is expressed by << Expression 6 >> to << Expression 8 >>.
<< Formula 6 >>
Vr = 255 × ((((255 × (15−ar)) / 15) / 255) (1 / 2.2)
<< Formula 7 >>
Vg = 255 × ((((255 × (15−ag)) / 15) / 255) (1 / 2.2)
<< Formula 8 >>
Vb = 255 × ((((255 × (15−ab)) / 15) / 255) (1 / 2.2)
By substituting the character contribution level (0, 3, 6) of the subpixel (see the second row in the table of FIG. 7A) into << Equation 6 >> to << Equation 8 >>, as shown below, The luminance level of the pixel is calculated.

Vr=255×(((255×(15−0))/15)/255)(1/2.2)=255×1(1/2.2)=255
Vg=255×(((255×(15−3))/15)/255)(1/2.2)=255×0.8(1/2.2)=230
Vb=255×(((255×(15−6))/15)/255)(1/2.2)=255×0.6(1/2.2)=202
実際には、表示装置の入出力特性は非線形であることが多い。表示装置の入出力特性が非線形である場合には、入出力特性及び逆特性を予め算出しておき、テーブルに格納しておく。
Vr = 255 × ((((255 × (15-0)) / 15) / 255) (1 / 2.2) = 255 × 1 (1 / 2.2) = 255
Vg = 255 × ((((255 × (15-3)) / 15) / 255) (1 / 2.2) = 255 × 0.8 (1 / 2.2) = 230
Vb = 255 * ((((255 * (15-6)) / 15) / 255) (1 / 2.2) = 255 * 0.6 (1 / 2.2) = 202
In practice, the input / output characteristics of the display device are often non-linear. When the input / output characteristics of the display device are non-linear, the input / output characteristics and the inverse characteristics are calculated in advance and stored in a table.

図8は、垂直文字寄与レベル集合算出手段110の機能を示す。   FIG. 8 shows the function of the vertical character contribution level set calculation means 110.

垂直文字寄与レベル集合算出手段110は、サブピクセルの配列方向に対して垂直な方向に並んだサブピクセルの文字寄与レベル集合を算出する。例えば、垂直文字寄与レベル集合は、骨格サブピクセルからの距離に依存する。   The vertical character contribution level set calculation unit 110 calculates a character contribution level set of subpixels arranged in a direction perpendicular to the arrangement direction of the subpixels. For example, the vertical character contribution level set depends on the distance from the skeleton subpixel.

垂直文字寄与レベル集合算出手段110は、太さレベルに基づくことなく、均一的に、文字寄与レベル集合を垂直文字寄与レベル集合に変換する。例えば、垂直文字寄与レベル集合算出手段110は、文字寄与レベル集合を1/3にすることによって、文字寄与レベル集合を垂直文字寄与レベル集合に変換する(図8(a)参照)。   The vertical character contribution level set calculation means 110 uniformly converts the character contribution level set to the vertical character contribution level set without being based on the thickness level. For example, the vertical character contribution level set calculation unit 110 converts the character contribution level set to a vertical character contribution level set by reducing the character contribution level set to 1/3 (see FIG. 8A).

また、垂直文字寄与レベル集合算出手段110は、太さレベルに基づいて、文字寄与レベル集合を垂直文字寄与レベル集合に変換してもよい(図8(b)参照)。   Further, the vertical character contribution level set calculation unit 110 may convert the character contribution level set into a vertical character contribution level set based on the thickness level (see FIG. 8B).

太さレベルが「i+3」である場合には、骨格サブピクセルから4サブピクセル離れたサブピクセルまでの文字寄与レベルは、「F」、「d」、「8」、「5」、「0」である。この場合は、文字寄与レベル集合を1/2にすることによって、文字寄与レベル集合を垂直文字寄与レベル集合に変換する。   When the thickness level is “i + 3”, the character contribution level from the skeleton subpixel to a subpixel that is 4 subpixels away is “F”, “d”, “8”, “5”, “0”. It is. In this case, the character contribution level set is converted into a vertical character contribution level set by halving the character contribution level set.

太さレベルが「i」である場合には、骨格サブピクセルから4サブピクセル離れたサブピクセルまでの文字寄与レベルは、「F」、「9」、「6」、「3」、「0」である。この場合は、文字寄与レベル集合を1/3にすることによって、文字寄与レベル集合を垂直文字寄与レベル集合に変換する(図8(b)参照)。   When the thickness level is “i”, the character contribution level from the skeleton subpixel to a subpixel that is 4 subpixels away is “F”, “9”, “6”, “3”, “0”. It is. In this case, the character contribution level set is converted to a vertical character contribution level set by setting the character contribution level set to 1/3 (see FIG. 8B).

太さレベルが「i−2」である場合には、骨格サブピクセルから4サブピクセル離れたサブピクセルまでの文字寄与レベルは、「F」、「7」、「5」、「1」、「0」である。この場合は、文字寄与レベル集合を1/4にすることによって、文字寄与レベル集合を垂直文字寄与レベル集合に変換する。   When the thickness level is “i−2”, the character contribution levels from the skeleton subpixel to the subpixel that is 4 subpixels away are “F”, “7”, “5”, “1”, “1”, “ 0 ". In this case, the character contribution level set is converted to a vertical character contribution level set by reducing the character contribution level set to ¼.

このように、所定のサブピクセル群(第2サブピクセル群)の文字寄与レベルは、骨格サブピクセルに隣接するサブピクセルから3サブピクセル離れたサブピクセルまでのサブピクセル群(第1サブピクセル群)の文字寄与レベルに基づいて設定される。ここで、所定のサブピクセル群(第2サブピクセル群)は、骨格サブピクセル群に隣接するサブピクセル群であり、この所定のサブピクセル群は、垂直方向に並んだ少なくとも1つのサブピクセルを含む。   As described above, the character contribution level of the predetermined subpixel group (second subpixel group) is a subpixel group (first subpixel group) from a subpixel adjacent to the skeleton subpixel to a subpixel separated by 3 subpixels. Is set based on the character contribution level. Here, the predetermined subpixel group (second subpixel group) is a subpixel group adjacent to the skeleton subpixel group, and the predetermined subpixel group includes at least one subpixel arranged in the vertical direction. .

さらに、図8(b)を参照して説明したように、第2サブピクセル群の文字寄与レベルは、所定の変換率に基づいて設定され得る。この所定の変換率は、線幅情報に応じて決定されている。上述したように、この所定の変換率と線幅情報との関係は、少なくとも1つのテーブルによって表され得る。   Furthermore, as described with reference to FIG. 8B, the character contribution level of the second sub-pixel group can be set based on a predetermined conversion rate. This predetermined conversion rate is determined according to the line width information. As described above, the relationship between the predetermined conversion rate and the line width information can be represented by at least one table.

図8(a)および図8(b)で示した例では、文字寄与レベル集合(0、0、0)は垂直文字寄与レベル集合(0、0、0)に変換され、文字寄与レベル集合(F、F、F)は垂直文字寄与レベル集合(5、5、5)に変換される。   In the example shown in FIG. 8A and FIG. 8B, the character contribution level set (0, 0, 0) is converted into the vertical character contribution level set (0, 0, 0), and the character contribution level set ( F, F, F) are converted into a vertical character contribution level set (5, 5, 5).

図9は、文字寄与レベル集合、垂直文字寄与レベル集合、2次元文字寄与レベル集合、文字寄与レベルおよび輝度値の関係を示す。   FIG. 9 shows the relationship among a character contribution level set, a vertical character contribution level set, a two-dimensional character contribution level set, a character contribution level, and a luminance value.

図9を参照して、2次元文字寄与レベル集合合成手段111および輝度レベル算出手段109によって輝度値を算出する方法を説明する。   With reference to FIG. 9, a method of calculating a luminance value by the two-dimensional character contribution level set combining unit 111 and the luminance level calculating unit 109 will be described.

図9(a)は、文字寄与レベル集合、垂直文字寄与レベル集合および2次元文字寄与レベル集合の関係を示す。文字寄与レベル集合の組合せを第1列目に配置し、垂直文字寄与レベル集合の組合せを第1行目に配置している。   FIG. 9A shows the relationship between the character contribution level set, the vertical character contribution level set, and the two-dimensional character contribution level set. A combination of character contribution level sets is arranged in the first column, and a combination of vertical character contribution level sets is arranged in the first row.

2次元文字寄与レベル集合合成手段111は、文字寄与レベル集合と垂直文字寄与レベル集合とのうち、大きい値を選択することによって、2次元文字寄与レベル集合を生成する。   The two-dimensional character contribution level set combining unit 111 generates a two-dimensional character contribution level set by selecting a larger value from the character contribution level set and the vertical character contribution level set.

2次元文字寄与レベル集合合成手段111は、文字寄与レベル集合(A、B、C)、垂直文字寄与レベル集合(a、b、c)である場合には、Aとa、Bとb、Cとcを比較する。A>a、B<b、C>cである場合には、2次元文字寄与レベル集合は(A、b、C)である。文字寄与レベル集合(0、0、3)、垂直文字寄与レベル集合(0、1、2)である場合には、2次元文字寄与レベル集合は(0、1、3)である。   If the two-dimensional character contribution level set combining means 111 is a character contribution level set (A, B, C) or a vertical character contribution level set (a, b, c), A and a, B and b, C And c. When A> a, B <b, C> c, the two-dimensional character contribution level set is (A, b, C). In the case of the character contribution level set (0, 0, 3) and the vertical character contribution level set (0, 1, 2), the two-dimensional character contribution level set is (0, 1, 3).

2次元文字寄与レベル集合合成手段111は、文字寄与レベルと垂直文字寄与レベル集合とに基づいて2次元文字寄与レベル集合を設定する。このように、所定のサブピクセル群(第3サブピクセル群)の文字寄与レベルは、第1サブピクセル群の文字寄与レベルと第2サブピクセル群の文字寄与レベルとに基づいて設定される。ここで、所定のサブピクセル群(第3サブピクセル群)は、第1サブピクセル群に隣接するサブピクセル群であり、この所定のサブピクセル群は、垂直方向に並んだ少なくとも1つのサブピクセルを含む。第1サブピクセル群は、骨格サブピクセルに隣接するサブピクセルから3サブピクセル離れたサブピクセルまでのサブピクセル群であり、第2サブピクセル群は、骨格サブピクセルに隣接するサブピクセル群であり、第2サブピクセル群は、骨格サブピクセルに対して垂直方向に並んだ少なくとも1つのサブピクセルを含む。   The two-dimensional character contribution level set combining unit 111 sets a two-dimensional character contribution level set based on the character contribution level and the vertical character contribution level set. As described above, the character contribution level of the predetermined subpixel group (third subpixel group) is set based on the character contribution level of the first subpixel group and the character contribution level of the second subpixel group. Here, the predetermined subpixel group (third subpixel group) is a subpixel group adjacent to the first subpixel group, and the predetermined subpixel group includes at least one subpixel arranged in the vertical direction. Including. The first subpixel group is a subpixel group from a subpixel adjacent to the skeleton subpixel to a subpixel separated by 3 subpixels, and the second subpixel group is a subpixel group adjacent to the skeleton subpixel, The second subpixel group includes at least one subpixel arranged in a direction perpendicular to the skeleton subpixel.

なお、文字表示を適切に行うこと(例えば、本発明の実施の形態では、文字を構成する線分の縦方向の太さと横方向の太さとを視覚的に同じにすること)よりデータ処理を高速に行うことを優先する場合には、第3サブピクセル群の文字寄与レベルは、第1サブピクセル群の文字寄与レベルおよび第2サブピクセル群の文字寄与レベルのいずれか一方に基づいて、事前に定める所定のルールに従って、設定されることがあり得る。データ処理を高速に行うことより文字表示を適切に行うことを優先する場合には、本発明の実施の形態で説明されるように、第3サブピクセル群の文字寄与レベルは、第1サブピクセル群の文字寄与レベルと第2サブピクセル群の文字寄与レベルとに基づいて設定される。   It should be noted that data processing is performed by appropriately displaying characters (for example, in the embodiment of the present invention, the vertical and horizontal thicknesses of the line segments constituting the characters are visually the same). When priority is given to performing at high speed, the character contribution level of the third subpixel group is determined in advance based on one of the character contribution level of the first subpixel group and the character contribution level of the second subpixel group. It may be set according to a predetermined rule defined in 1. In the case where priority is given to appropriately displaying characters over performing data processing at a high speed, the character contribution level of the third sub-pixel group is set to the first sub-pixel as described in the embodiment of the present invention. It is set based on the character contribution level of the group and the character contribution level of the second sub-pixel group.

図9(b)は、各色要素のサブピクセルの文字寄与レベルとそれらに対応する輝度値との関係を示す。文字色は黒、背景色は白である。図7および式6〜式8を参照して説明した方法に基づいて、各色要素のサブピクセルの文字寄与レベルとそれらに対応する輝度値を算出する。   FIG. 9B shows the relationship between the character contribution levels of the sub-pixels of each color element and the corresponding brightness values. The text color is black and the background color is white. Based on the method described with reference to FIG. 7 and Equations 6 to 8, the character contribution levels of the sub-pixels of each color element and the corresponding luminance values are calculated.

図9(c)は、2次元輝度テーブルを示す。2次元輝度テーブルは、文字寄与レベル集合、垂直文字寄与レベル集合および2次元輝度値の関係を示す。図9(a)に示された2次元文字寄与レベル集合と図9(b)に示された輝度値とに基づいて、2次元輝度値を算出する。2次元輝度値は、2次元文字寄与レベル集合に対応する輝度値である。   FIG. 9C shows a two-dimensional luminance table. The two-dimensional luminance table shows the relationship between the character contribution level set, the vertical character contribution level set, and the two-dimensional luminance value. A two-dimensional luminance value is calculated based on the two-dimensional character contribution level set shown in FIG. 9A and the luminance value shown in FIG. The two-dimensional luminance value is a luminance value corresponding to the two-dimensional character contribution level set.

図10は、文字表示装置100によって生成された文字画像を示す。   FIG. 10 shows a character image generated by the character display device 100.

輝度レベル算出手段109は、文字寄与レベル集合と垂直文字寄与レベル集合と2次元輝度値との関係を示す2次元輝度値テーブルを算出し、出力値生成手段106に出力する。   The luminance level calculation unit 109 calculates a two-dimensional luminance value table indicating the relationship between the character contribution level set, the vertical character contribution level set, and the two-dimensional luminance value, and outputs the table to the output value generation unit 106.

k+1行j列目の画素の文字寄与レベル集合(3、6、9)と、k行j列目の画素の文字寄与レベル集合(0、0、0)とが出力値生成手段106に入力される。   The character contribution level set (3, 6, 9) of the pixel in the (k + 1) th row and jth column and the character contribution level set (0, 0, 0) of the pixel in the kth row / jth column are input to the output value generation means 106. The

出力値生成手段106は、2次元輝度値テーブル(図10(b)参照)を参照して、k+1行j列目の画素の文字寄与レベル集合(3、6、9)とk行j列目の画素の文字寄与レベル集合(0、0、0)とに基づいて、2次元輝度値のうち該当する輝度値(1行目2列目の値)を選択し、k行j列目の画素の画素値を決定する。   The output value generation means 106 refers to the two-dimensional luminance value table (see FIG. 10B) and sets the character contribution level set (3, 6, 9) of the pixel in the (k + 1) th row and jth column and the kth row and jth column. Based on the character contribution level set (0, 0, 0) of the pixels of, the corresponding luminance value (the value of the first row and the second column) is selected from the two-dimensional luminance values, and the pixel of the k row and the j column The pixel value of is determined.

文字画像が生成される(図10(c)参照)。   A character image is generated (see FIG. 10C).

以上、図1〜図10を参照して、本発明の文字表示装置を説明した。   The character display device of the present invention has been described above with reference to FIGS.

例えば、図1〜図10に示される実施の形態では、表示デバイス103が「複数の画素を有する表示デバイス」に対応し、制御部102が「表示デバイスを制御する制御部」に対応し、制御部102に含まれる各構成要素が「複数のサブピクセルに対応する複数の色要素をそれぞれ独立に制御することにより、文字を表示デバイスに表示」する手段に対応し、骨格生成手段104と文字寄与レベル割り付け手段105が「表示デバイスに表示される文字の骨格部分に対応する少なくとも1つのサブピクセルを含む骨格サブピクセル群の色要素レベルと、骨格サブピクセル群のうちの1つのサブピクセルに隣接する第1サブピクセル群であって、第1方向に並んだ少なくとも1つのサブピクセルを含む第1サブピクセル群の色要素レベルとを設定」する手段に対応し、出力値生成手段106と文字寄与レベル算出手段107と文字寄与レベル集合算出手段108と輝度レベル算出手段109と垂直文字寄与レベル集合算出手段110と2次元文字寄与レベル集合合成手段111とが「骨格サブピクセル群のうちの1つのサブピクセルに隣接する第2サブピクセル群であって、第1方向に対して垂直な第2方向に並んだ少なくとも1つのサブピクセルを含む第2サブピクセル群の色要素レベルを第1サブピクセル群のうちの少なくとも1つのサブピクセルの色要素レベルに応じて設定する」手段に対応する。   For example, in the embodiment shown in FIGS. 1 to 10, the display device 103 corresponds to “a display device having a plurality of pixels”, and the control unit 102 corresponds to “a control unit that controls the display device”. Each component included in the unit 102 corresponds to a means for “displaying characters on a display device by independently controlling a plurality of color elements corresponding to a plurality of subpixels”, and the skeleton generation means 104 and the character contribution Level assigning means 105 is “adjacent to one subpixel of the skeleton subpixel group and the color element level of the skeleton subpixel group including at least one subpixel corresponding to the skeleton portion of the character displayed on the display device” A color element level of the first subpixel group including at least one subpixel arranged in the first direction. , Output value generation means 106, character contribution level calculation means 107, character contribution level set calculation means 108, luminance level calculation means 109, vertical character contribution level set calculation means 110, and two-dimensional character contribution level set synthesis. Means 111 is “a second subpixel group adjacent to one subpixel of the skeleton subpixel group, and including at least one subpixel arranged in a second direction perpendicular to the first direction. The color element level of the two sub-pixel groups is set according to the color element level of at least one sub-pixel of the first sub-pixel group.

しかし、図1〜図10に示される実施の形態は、本発明の文字表示装置の機能の一例を示したに過ぎない。上述した各手段の機能が達成される限りは、任意の構成を有する文字表示装置が本発明の範囲内に含まれ得る。   However, the embodiment shown in FIGS. 1 to 10 merely shows an example of the function of the character display device of the present invention. As long as the functions of the respective means described above are achieved, a character display device having an arbitrary configuration can be included in the scope of the present invention.

例えば、「第1方向」は、x軸方向である。第1方向がx軸方向である場合には、第1サブピクセル群は、骨格サブピクセル群のうちの1つのサブピクセルに、x軸方向に隣接する。第1方向がx軸方向である場合には、「第2方向」は、y軸方向であり、第2サブピクセル群は、骨格サブピクセル群のうちの1つのサブピクセルに、y軸方向に隣接する。   For example, the “first direction” is the x-axis direction. When the first direction is the x-axis direction, the first subpixel group is adjacent to one subpixel of the skeleton subpixel group in the x-axis direction. When the first direction is the x-axis direction, the “second direction” is the y-axis direction, and the second sub-pixel group is assigned to one sub-pixel of the skeleton sub-pixel group and the y-axis direction is set. Adjacent.

なお、「第1方向」が、x軸方向であることに限定されない。例えば、「第1方向」は、y軸方向である。第1方向がy軸方向である場合には、第1サブピクセル群は、骨格サブピクセル群のうちの1つのサブピクセルに、y軸方向に隣接する。第1方向がy軸方向である場合には、「第2方向」は、x軸方向であり、第2サブピクセル群は、骨格サブピクセル群のうちの1つのサブピクセルに、x軸方向に隣接する。   The “first direction” is not limited to the x-axis direction. For example, the “first direction” is the y-axis direction. When the first direction is the y-axis direction, the first subpixel group is adjacent to one subpixel of the skeleton subpixel group in the y-axis direction. When the first direction is the y-axis direction, the “second direction” is the x-axis direction, and the second subpixel group is assigned to one subpixel of the skeleton subpixel group in the x-axis direction. Adjacent.

さらに、例えば、上述した各手段は、ハードウェアによって実現されてもよいし、ソフトウェアによって実現されてもよいし、ハードウェアとソフトウェアとによって実現されてもよい。   Furthermore, for example, each unit described above may be realized by hardware, may be realized by software, or may be realized by hardware and software.

例えば、文字表示装置には、文字表示処理手順を実行させるためのプログラム(以下、文字表示処理プログラムという)が格納されている。文字表示処理プログラムは、コンピュータの出荷時に、文字表示装置に含まれるプログラム格納手段に予め格納されていてもよい。   For example, the character display device stores a program for executing a character display processing procedure (hereinafter referred to as a character display processing program). The character display processing program may be stored in advance in a program storage unit included in the character display device when the computer is shipped.

あるいは、コンピュータの出荷後に、文字表示処理プログラムをプログラム格納手段に格納するようにしてもよい。例えば、ユーザがインターネット上の特定のウェブサイトから文字表示処理プログラムを有料または無料でダウンロードし、そのダウンロードされたプログラムをコンピュータにインストールするようにしてもよい。文字表示処理プログラムがフレキシブルディスク、CD−ROM、DVD−ROMなどのコンピュータ読み取り可能な記録媒体に記録されている場合には、入力装置(例えば、ディスクドライブ装置)を用いて文字表示処理プログラムをコンピュータにインストールするようにしてもよい。インストールされたプログラムは、プログラム格納手段に格納される。   Alternatively, the character display processing program may be stored in the program storage means after the computer is shipped. For example, the user may download a character display processing program from a specific website on the Internet for a fee or free of charge, and install the downloaded program in a computer. When the character display processing program is recorded on a computer-readable recording medium such as a flexible disk, CD-ROM, or DVD-ROM, the character display processing program is stored in the computer using an input device (for example, a disk drive device). You may make it install in. The installed program is stored in the program storage means.

なお、文字表示処理手順の詳細は、後述される。   Details of the character display processing procedure will be described later.

図1〜図10を参照して説明したように、本発明の文字表示装置によれば、第2サブピクセル群の色要素レベルが第1サブピクセル群のうちの少なくとも1つのサブピクセルの色要素レベルに応じて設定される。したがって、第1サブピクセル群の色要素レベルの変更に連動させて第2サブピクセル群の色要素レベルを変更できる。その結果、文字の線の幅を均一に変更でき、文字を滑らか表示できる。   As described with reference to FIGS. 1 to 10, according to the character display device of the present invention, the color element level of the second subpixel group is the color element of at least one subpixel of the first subpixel group. It is set according to the level. Therefore, the color element level of the second subpixel group can be changed in conjunction with the change of the color element level of the first subpixel group. As a result, the width of the character line can be changed uniformly and the character can be displayed smoothly.

本発明の文字表示装置によれば、複数の画素のそれぞれに含まれる複数のサブピクセルの配列方向に依存することなく、文字の線の幅を均一に太くできる。   According to the character display device of the present invention, the width of the character line can be uniformly increased without depending on the arrangement direction of the plurality of sub-pixels included in each of the plurality of pixels.

図11は、本発明の実施の形態の別の文字表示装置200の構成を示す。   FIG. 11 shows a configuration of another character display device 200 according to the embodiment of the present invention.

図11において、図1に示される構成要素と同一の構成要素には同一の参照符号を付し、その説明を省略する。   In FIG. 11, the same components as those shown in FIG. 1 are denoted by the same reference numerals, and the description thereof is omitted.

図12は、テーブル選択手段212の機能を示す。   FIG. 12 shows the function of the table selection means 212.

以下、図11および図12を参照して、文字表示装置200を説明する。   Hereinafter, the character display device 200 will be described with reference to FIGS. 11 and 12.

文字表示装置200は、テーブル選択手段212を含む。テーブル選択手段212は、線幅情報に基づいて、複数の2次元文字寄与レベル集合テーブルからこの線幅情報に対応する2次元文字寄与レベル集合テーブルを選択する。複数の2次元文字寄与レベル集合テーブルは、例えば、文字表示装置200に含まれる格納媒体(図示せず)に格納されている。例えば、この格納媒体には、2次元文字寄与レベル集合テーブルAと、2次元文字寄与レベル集合テーブルBと、2次元文字寄与レベル集合テーブルCとが格納されている。2次元文字寄与レベル集合テーブルAは、線幅情報(F9630)に、2次元文字寄与レベル集合テーブルBは、線幅情報(FA740)に、2次元文字寄与レベル集合テーブルCは、線幅情報(FB850)に対応する。   The character display device 200 includes a table selection unit 212. The table selection unit 212 selects a two-dimensional character contribution level set table corresponding to the line width information from a plurality of two-dimensional character contribution level set tables based on the line width information. For example, the plurality of two-dimensional character contribution level set tables are stored in a storage medium (not shown) included in the character display device 200. For example, the storage medium stores a two-dimensional character contribution level set table A, a two-dimensional character contribution level set table B, and a two-dimensional character contribution level set table C. The two-dimensional character contribution level set table A is for line width information (F9630), the two-dimensional character contribution level set table B is for line width information (FA740), and the two-dimensional character contribution level set table C is for line width information (F9630). FB850).

複数の2次元文字寄与レベル集合テーブルの各々は、文字寄与レベル集合、垂直文字寄与レベル集合および2次元文字寄与レベル集合の関係を示す。例えば、複数の2次元文字寄与レベル集合テーブルの各々では、文字寄与レベル集合の組合せが第1列目に配置され、垂直文字寄与レベル集合の組合せが第1行目に配置されている
テーブル選択手段212は、文字表示装置100に含まれる文字寄与レベル算出手段107、文字寄与レベル集合算出手段108、垂直文字寄与レベル集合算出手段110および2次元文字寄与レベル集合合成手段111の代用として用いられる(図1参照)。
Each of the plurality of two-dimensional character contribution level set tables indicates the relationship among the character contribution level set, the vertical character contribution level set, and the two-dimensional character contribution level set. For example, in each of a plurality of two-dimensional character contribution level set tables, a table selection means in which a combination of character contribution level sets is arranged in the first column and a combination of vertical character contribution level sets is arranged in the first row 212 is used as a substitute for the character contribution level calculation unit 107, the character contribution level set calculation unit 108, the vertical character contribution level set calculation unit 110, and the two-dimensional character contribution level set synthesis unit 111 included in the character display device 100 (see FIG. 1).

図11および図12を参照して説明したように、2次元文字寄与レベル集合は、文字の複数の線幅に応じて決定されている。そして、少なくとも1つの2次元文字寄与レベル集合テーブルが、2次元文字寄与レベル集合と文字の複数の線幅との関係を表す。文字表示装置200によれば、予め決められた有限種類の線幅に対応する複数の2次元文字寄与レベル集合テーブルを予め用意することによって、2次元文字寄与レベル集合を算出するための制御部の演算回数を削減できる。その結果、制御部の負荷を軽減できる。   As described with reference to FIGS. 11 and 12, the two-dimensional character contribution level set is determined in accordance with a plurality of line widths of characters. At least one two-dimensional character contribution level set table represents the relationship between the two-dimensional character contribution level set and a plurality of line widths of characters. According to the character display device 200, by preparing in advance a plurality of two-dimensional character contribution level set tables corresponding to a predetermined finite type of line width, a control unit for calculating a two-dimensional character contribution level set is provided. The number of operations can be reduced. As a result, the load on the control unit can be reduced.

図13は、本発明の実施の形態の更に別の文字表示装置300の構成を示す。   FIG. 13 shows a configuration of still another character display device 300 according to the embodiment of the present invention.

図13において、図1に示される構成要素と同一の構成要素には同一の参照符号を付し、その説明を省略する。   In FIG. 13, the same components as those shown in FIG. 1 are denoted by the same reference numerals, and the description thereof is omitted.

図14は、輝度テーブル選択手段314の機能を示す。   FIG. 14 shows the function of the brightness table selection means 314.

以下、図13および図14を参照して、文字表示装置300を説明する。   Hereinafter, the character display device 300 will be described with reference to FIGS. 13 and 14.

文字表示装置300は、輝度テーブル選択手段314を含む。輝度テーブル選択手段314は、線幅情報、文字色情報および背景色情報に応じて、複数の2次元輝度テーブルからこれらの線幅情報、文字色情報および背景色情報に対応する2次元輝度テーブルを選択する。複数の2次元輝度テーブルは、例えば、文字表示装置300に含まれる格納媒体に格納されている。例えば、この格納媒体には、2次元輝度テーブルAと、2次元輝度テーブルBと、2次元輝度テーブルCとが格納されている。2次元輝度テーブルAは、線幅情報(F9630)、文字色情報が黒(0、0、0)および背景色情報が白(255、255、255)に対応する。2次元輝度テーブルBは、線幅情報(FA740)、文字色情報が黒(0、0、0)および背景色情報が白(255、255、255)に対応する。2次元輝度テーブルCは、線幅情報(FB850)、文字色情報が黒(0、0、0)および背景色情報が白(255、255、255)に対応する。   The character display device 300 includes a brightness table selection unit 314. The luminance table selection unit 314 selects a two-dimensional luminance table corresponding to the line width information, character color information, and background color information from a plurality of two-dimensional luminance tables in accordance with the line width information, character color information, and background color information. select. The plurality of two-dimensional luminance tables are stored in a storage medium included in the character display device 300, for example. For example, a two-dimensional luminance table A, a two-dimensional luminance table B, and a two-dimensional luminance table C are stored in this storage medium. The two-dimensional luminance table A corresponds to line width information (F9630), character color information is black (0, 0, 0), and background color information is white (255, 255, 255). The two-dimensional luminance table B corresponds to line width information (FA 740), character color information black (0, 0, 0), and background color information white (255, 255, 255). The two-dimensional luminance table C corresponds to line width information (FB850), character color information is black (0, 0, 0), and background color information is white (255, 255, 255).

輝度テーブル選択手段314は、文字表示装置100に含まれる文字寄与レベル算出手段107、文字寄与レベル集合算出手段108、輝度レベル算出手段109、垂直文字寄与レベル集合算出手段110および2次元文字寄与レベル集合合成手段111の代用として用いられる(図1参照)。   The luminance table selection unit 314 includes a character contribution level calculation unit 107, a character contribution level set calculation unit 108, a luminance level calculation unit 109, a vertical character contribution level set calculation unit 110, and a two-dimensional character contribution level set included in the character display device 100. Used as a substitute for the combining means 111 (see FIG. 1).

図13および図14を参照して説明したように、2次元輝度値は、文字の複数の線幅に応じて決定されている。そして、少なくとも1つの2次元輝度テーブルが、2次元輝度値と文字の複数の線幅との関係を表す。文字表示装置300によれば、予め決められた有限種類の線幅、文字色および背景色に対応する複数の2次元輝度テーブルを予め用意することによって、2次元輝度値を算出するための制御部の演算回数を削減できる。その結果、制御部の負荷を軽減できる。   As described with reference to FIGS. 13 and 14, the two-dimensional luminance value is determined according to a plurality of line widths of characters. At least one two-dimensional luminance table represents the relationship between the two-dimensional luminance value and a plurality of line widths of characters. According to the character display device 300, a controller for calculating a two-dimensional luminance value by preparing in advance a plurality of two-dimensional luminance tables corresponding to a predetermined finite type of line width, character color, and background color. The number of operations can be reduced. As a result, the load on the control unit can be reduced.

図15は、線と線との接触の発生を示す。   FIG. 15 shows the occurrence of contact between lines.

以下、図15を参照して、線と線との接触の発生を説明する。   Hereinafter, the occurrence of contact between lines will be described with reference to FIG.

文字「奇」は、以下の手順で文字表示装置に表示される。   The character “Odd” is displayed on the character display device in the following procedure.

骨格生成手段が、入力デバイスによって入力されたビットマップデータ(図15(a))から骨格データを生成する。次に、文字寄与レベル割り付け手段は、各色素子に、文字寄与レベルを割り付ける(図15(b))。次に、輝度レベル算出手段は、文字色情報と背景色情報と2次元文字寄与レベル集合とに基づいて、表示デバイスに表示する文字を構成する複数のサブピクセルの輝度値を算出する(図15(c))。次に、出力値生成手段は、文字寄与レベルと輝度値とに基づいて、文字表示データを生成する。文字表示データによって示された文字が表示デバイスに表示される(図15(d))。   The skeleton generation unit generates skeleton data from the bitmap data (FIG. 15A) input by the input device. Next, the character contribution level assigning means assigns a character contribution level to each color element (FIG. 15B). Next, the luminance level calculation means calculates the luminance values of a plurality of subpixels constituting the character displayed on the display device based on the character color information, the background color information, and the two-dimensional character contribution level set (FIG. 15). (C)). Next, the output value generation means generates character display data based on the character contribution level and the luminance value. The characters indicated by the character display data are displayed on the display device (FIG. 15 (d)).

ビットマップデータで示された文字「奇」のうち、部分「大」と部分「可」とは離れている(図15(a)のm行目かつn列目の画素参照)。しかし、表示デバイスに表示された文字「奇」のうち、部分「大」と部分「可」とは接触しているように見える(図15(d)のm行目かつn列目の画素参照)。   Among the characters “odd” indicated by the bitmap data, the part “large” and the part “possible” are separated (see the pixel in the m-th row and the n-th column in FIG. 15A). However, among the characters “odd” displayed on the display device, the part “large” and the part “possible” appear to be in contact (refer to the pixel in the m-th row and the n-th column in FIG. 15D). ).

図16は、本発明の実施の形態の更に別の文字表示装置400の構成を示す。   FIG. 16 shows a configuration of still another character display device 400 according to the embodiment of the present invention.

図16において、図1に示される構成要素と同一の構成要素には同一の参照符号を付し、その説明を省略する。   In FIG. 16, the same components as those shown in FIG. 1 are denoted by the same reference numerals, and the description thereof is omitted.

図17は、補正抑制手段416の機能を示す。   FIG. 17 shows the function of the correction suppression means 416.

以下、図16および図17を参照して、線と線との接触の発生を抑制するための実施の形態を説明する。   Hereinafter, with reference to FIGS. 16 and 17, an embodiment for suppressing the occurrence of contact between lines will be described.

文字表示装置400は、補正抑制手段416を含む。補正抑制手段416は、第1補正抑制データに基づいて、線と線との接触を抑制する。   Character display device 400 includes correction suppression means 416. The correction suppression unit 416 suppresses contact between lines based on the first correction suppression data.

第1補正抑制データは、ビットマップの複数の行に割り付けられており、割り付けられた行に対して補正抑制を行うか否かを示す。   The first correction suppression data is allocated to a plurality of rows of the bitmap, and indicates whether or not correction suppression is performed on the allocated rows.

所定の行に対して補正抑制を行う場合には、所定の行に対応する第1補正抑制データの値は、「1」である。所定の行に対して補正抑制を行わない場合には、所定の行に割り付けられた第1補正抑制データの値は、「0」である。補正抑制手段416は、入力された第1補正制御データの値が「1」である場合には、対象画素の垂直文字寄与レベルを(F、F、F)から(0、0、0)に変更する。   When correction suppression is performed for a predetermined row, the value of the first correction suppression data corresponding to the predetermined row is “1”. When correction suppression is not performed for a predetermined row, the value of the first correction suppression data assigned to the predetermined row is “0”. The correction suppression unit 416 changes the vertical character contribution level of the target pixel from (F, F, F) to (0, 0, 0) when the value of the input first correction control data is “1”. change.

例えば、「奇」を示すビットマップのm−1行目、m行目、m+1行目に対応する第1補正抑制データの値のそれぞれは、「0」、「1」、「0」である。したがって、m行目の複数の画素が補正抑制の対象となり、m行目かつn列目の画素の垂直文字寄与レベル集合は(0、0、0)になる。その結果、垂直文字寄与レベル集合(0、0、0)、文字寄与レベル集合(0、0、0)に基づいて、実線円で囲まれた輝度値(2次元輝度値)が選択される。   For example, the values of the first correction suppression data corresponding to the (m−1) -th, m-th, and m + 1-th lines of the bitmap indicating “odd” are “0”, “1”, and “0”, respectively. . Accordingly, a plurality of pixels in the m-th row are subject to correction suppression, and the vertical character contribution level set of the pixels in the m-th row and the n-th column is (0, 0, 0). As a result, based on the vertical character contribution level set (0, 0, 0) and the character contribution level set (0, 0, 0), a luminance value (two-dimensional luminance value) surrounded by a solid circle is selected.

以上、図16および図17を参照して説明したように、補正抑制手段416は、第1補正抑制データに基づいて、線と線との接触を抑制する。   As described above with reference to FIGS. 16 and 17, the correction suppression unit 416 suppresses contact between lines based on the first correction suppression data.

図18は、本発明の実施の形態の更に別の文字表示装置500の構成を示す。   FIG. 18 shows a configuration of still another character display device 500 according to the embodiment of the present invention.

図18において、図1に示される構成要素と同一の構成要素には同一の参照符号を付し、その説明を省略する。   In FIG. 18, the same components as those shown in FIG. 1 are denoted by the same reference numerals, and the description thereof is omitted.

図19は、補正抑制手段516の機能を示す。   FIG. 19 shows the function of the correction suppression means 516.

以下、図18および図19を参照して、線と線との接触の発生を抑制するための別の実施の形態を説明する。   Hereinafter, another embodiment for suppressing the occurrence of contact between lines will be described with reference to FIGS. 18 and 19.

文字表示装置500は、補正抑制手段516を含む。補正抑制手段516には、第2補正抑制データが入力される。補正抑制手段516は、線と線との接触を抑制するように、第2補正抑制データに基づいて、垂直文字寄与レベル集合算出手段110を制御する。   Character display device 500 includes correction suppression means 516. Second correction suppression data is input to the correction suppression means 516. The correction suppression unit 516 controls the vertical character contribution level set calculation unit 110 based on the second correction suppression data so as to suppress contact between lines.

垂直文字寄与レベル集合算出手段110は、第2補正抑制データと文字寄与レベル集合とに基づいて、垂直文字寄与レベル集合を生成する。   The vertical character contribution level set calculation unit 110 generates a vertical character contribution level set based on the second correction suppression data and the character contribution level set.

第2補正抑制データの抑制レベルは、文字寄与レベル集合を垂直文字寄与レベル集合に変換するための変換率を示す。例えば、抑制レベルが「0」の場合は、変換率は1/3である。抑制レベルが「1」の場合は、変換率は1/5である。抑制レベルが「3」の場合は、変換率は1/16である(図19参照)。   The suppression level of the second correction suppression data indicates a conversion rate for converting the character contribution level set to the vertical character contribution level set. For example, when the suppression level is “0”, the conversion rate is 1/3. When the suppression level is “1”, the conversion rate is 1/5. When the suppression level is “3”, the conversion rate is 1/16 (see FIG. 19).

補正抑制手段516に、抑制レベルが「0」である第2補正抑制データが入力される。補正抑制手段516は、第2補正抑制データに基づいて、垂直文字寄与レベル集合算出手段110を制御する。垂直文字寄与レベル集合算出手段110は、文字寄与レベル集合(0、3、6)を1/3倍して、垂直文字寄与レベル集合(0、1、2)を生成する。   Second correction suppression data whose suppression level is “0” is input to the correction suppression means 516. The correction suppression unit 516 controls the vertical character contribution level set calculation unit 110 based on the second correction suppression data. The vertical character contribution level set calculation unit 110 multiplies the character contribution level set (0, 3, 6) by 1/3 to generate a vertical character contribution level set (0, 1, 2).

抑制レベルが「3」である第2補正抑制データが補正抑制手段516に入力された場合には、文字寄与レベル集合が1/16倍されるため、垂直文字寄与レベル集合の全てが(0、0、0)となる。したがって、第2次元輝度値は、垂直文字寄与レベル集合と文字寄与レベル集合とのうち、文字寄与レベル集合のみに依存して生成される。   When the second correction suppression data whose suppression level is “3” is input to the correction suppression unit 516, the character contribution level set is multiplied by 1/16, so that all the vertical character contribution level sets are (0, 0, 0). Accordingly, the second dimension luminance value is generated depending on only the character contribution level set of the vertical character contribution level set and the character contribution level set.

抑制レベルが「1」である第2補正抑制データに基づいて生成された垂直文字寄与レベル集合は、抑制レベルが「0」である第2補正抑制データに基づいて生成された垂直文字寄与レベル集合よりも小さい。したがって、第2次元輝度値は、より背景色に近い値になる。   The vertical character contribution level set generated based on the second correction suppression data whose suppression level is “1” is the vertical character contribution level set generated based on the second correction suppression data whose suppression level is “0”. Smaller than. Therefore, the second dimensional luminance value is closer to the background color.

図20は、補正抑制手段516によって線と線との接触の発生を抑制した「奇」の一部分(部分「大」と部分「可」との近接した部分)の表示結果を示す。   FIG. 20 shows a display result of a part of “odd” (a part close to a part “large” and a part “possible”) in which the occurrence of contact between the lines is suppressed by the correction suppressing unit 516.

表示部分(図20の右図)のうち円で囲まれた部分が、なだらかに変換している。このように、文字表示装置500によれば、文字の品位を落とすことなく、線と線との接触の発生を抑制できる。   Of the display part (the right figure in FIG. 20), the part surrounded by a circle is gently converted. Thus, according to the character display device 500, the occurrence of contact between lines can be suppressed without degrading the quality of the characters.

以上、図18〜図20を参照して説明したように、補正抑制手段516は、線と線との接触を抑制するように、第2補正抑制データに基づいて、垂直文字寄与レベル集合算出手段110を制御する。   As described above with reference to FIGS. 18 to 20, the correction suppression unit 516 calculates the vertical character contribution level set based on the second correction suppression data so as to suppress contact between lines. 110 is controlled.

なお、文字表示装置500は、2次元文字寄与レベル集合テーブルまたは2次元輝度テーブルを生成するために、第2補正抑制データに基づいて、垂直文字寄与レベル集合を生成する。しかし、予め決められた有限種類の線幅に対応する複数の2次元文字寄与レベル集合テーブルを予め用意することによって、2次元文字寄与レベル集合を算出するための制御部の演算回数を削減できる。その結果、制御部の負荷を軽減できる。さらに、予め決められた有限種類の線幅、文字色および背景色に対応する複数の2次元輝度テーブルを予め用意することによって、2次元輝度値を算出するための制御部の演算回数を削減できる。その結果、制御部の負荷を軽減できる。   Note that the character display device 500 generates a vertical character contribution level set based on the second correction suppression data in order to generate a two-dimensional character contribution level set table or a two-dimensional luminance table. However, by preparing in advance a plurality of two-dimensional character contribution level set tables corresponding to a predetermined finite type of line width, the number of operations of the control unit for calculating the two-dimensional character contribution level set can be reduced. As a result, the load on the control unit can be reduced. Furthermore, by preparing in advance a plurality of two-dimensional luminance tables corresponding to a predetermined finite type of line width, character color, and background color, the number of operations of the control unit for calculating a two-dimensional luminance value can be reduced. . As a result, the load on the control unit can be reduced.

図21は、補正抑制データを含んだビットマップデータを示す。   FIG. 21 shows bitmap data including correction suppression data.

図21を参照して、補正抑制データを含んだビットマップデータを説明する。   The bitmap data including the correction suppression data will be described with reference to FIG.

一般に、ビットマップ格納手段には、ビットマップデータが格納されている。格納されたビットマップデータは、複数のバイトデータを含み、複数の行から構成される文字の各行に対応するデータである。したがって、文字の最右部分に対応するデータ領域は空白である。第1補正抑制データまたは第2補正抑制データをこの空白部分に割り当てる。その結果、第1補正抑制データまたは第2補正抑制データを割り当てるための特別なデータ領域を用意することなく、補正抑制手段を機能させることが可能になる。   In general, bitmap data is stored in the bitmap storage means. The stored bitmap data includes a plurality of byte data and is data corresponding to each line of characters composed of a plurality of lines. Therefore, the data area corresponding to the rightmost part of the character is blank. The first correction suppression data or the second correction suppression data is assigned to this blank portion. As a result, it is possible to make the correction suppression means function without preparing a special data area for assigning the first correction suppression data or the second correction suppression data.

図15〜図21を参照して説明したように、本発明の文字表示装置によれば、文字の線が潰れることを防止できる。その結果、従来の技術に比べて十分に太く、高精細な読み易い文字を表示できる。   As described with reference to FIGS. 15 to 21, according to the character display device of the present invention, it is possible to prevent the character lines from being crushed. As a result, characters that are sufficiently thick and high-definition and easy to read can be displayed as compared with the prior art.

以上、図1〜図21を参照して、本発明の文字表示装置を説明した。   The character display device of the present invention has been described above with reference to FIGS.

2.文字表示方法
図22は、本発明の実施の形態の文字表示処理手順を示す。
2. Character Display Method FIG. 22 shows a character display processing procedure according to the embodiment of the present invention.

本発明の実施の形態の文字表示処理手順を実行することによって、複数のサブピクセルに対応する複数の色要素がそれぞれ独立に制御され、文字が表示デバイスに表示される。文字表示処理手順は、2次元輝度テーブル生成手順(ステップ1〜ステップ6)と生成された2次元輝度テーブルに応じて文字を生成する文字生成手順(ステップ7〜ステップ10)と生成された文字を表示する表示手順(ステップ11)とを包含する。   By executing the character display processing procedure of the embodiment of the present invention, a plurality of color elements corresponding to a plurality of subpixels are independently controlled, and characters are displayed on the display device. The character display processing procedure includes a two-dimensional luminance table generation procedure (steps 1 to 6), a character generation procedure (steps 7 to 10) for generating characters in accordance with the generated two-dimensional luminance table, and the generated characters. A display procedure (step 11) for display.

以下、図1および図22を参照して、文字表示処理手順をステップごとに説明する。   Hereinafter, the character display processing procedure will be described step by step with reference to FIG. 1 and FIG.

ステップ1:入力デバイス101から制御部102に線幅情報が入力される。   Step 1: Line width information is input from the input device 101 to the control unit 102.

ステップ2:文字寄与レベル算出手段107は、線幅情報に対応して、骨格サブピクセルの文字寄与レベル、骨格サブピクセルから1サブピクセル離れたサブピクセルの文字寄与レベル、骨格サブピクセルから2サブピクセル離れたサブピクセルの文字寄与レベル、骨格サブピクセルから3サブピクセル離れたサブピクセルの文字寄与レベルおよび骨格サブピクセルから4サブピクセル離れたサブピクセルの文字寄与レベルを算出する。   Step 2: The character contribution level calculating means 107 corresponds to the line width information, the character contribution level of the skeleton subpixel, the character contribution level of a subpixel one subpixel away from the skeleton subpixel, and two subpixels from the skeleton subpixel. The character contribution level of the subpixel separated, the character contribution level of the subpixel separated by 3 subpixels from the skeleton subpixel and the character contribution level of the subpixel separated by 4 subpixels from the skeleton subpixel are calculated.

ステップ3:文字寄与レベル集合算出手段108は、9個のサブピクセルの文字寄与レベルを参照して、文字寄与レベル集合を算出する。9個のサブピクセルは、骨格サブピクセルに隣接するサブピクセルおよび骨格サブピクセルに近傍のサブピクセルである。   Step 3: The character contribution level set calculation means 108 calculates a character contribution level set with reference to the character contribution levels of the nine subpixels. The nine subpixels are a subpixel adjacent to the skeleton subpixel and a subpixel adjacent to the skeleton subpixel.

ステップ4:垂直文字寄与レベル集合算出手段110は、文字寄与レベル集合に対応するサブピクセルの配列方向に対して垂直な方向に並んだサブピクセルの垂直文字寄与レベル集合を算出する。   Step 4: The vertical character contribution level set calculation unit 110 calculates a vertical character contribution level set of subpixels arranged in a direction perpendicular to the arrangement direction of the subpixels corresponding to the character contribution level set.

ステップ5:2次元文字寄与レベル集合合成手段111は、文字寄与レベル集合と垂直文字寄与レベル集合とのうち、大きい値を選択し、2次元文字寄与レベル集合を合成する。   Step 5: The two-dimensional character contribution level set combining unit 111 selects a larger value from the character contribution level set and the vertical character contribution level set, and combines the two-dimensional character contribution level set.

ステップ6:輝度レベル算出手段109は、2次元文字寄与レベル集合に基づいて、さらに、文字色、背景色および画素配列を考慮して、画素毎に、色要素Rのサブピクセル、色要素Gのサブピクセルおよび色要素Bのサブピクセルの輝度値を決定し、2次元輝度テーブルを作成する。   Step 6: The luminance level calculation means 109 further considers the character color, background color, and pixel arrangement based on the two-dimensional character contribution level set, and for each pixel, the sub-pixel of the color element R, the color element G The luminance values of the subpixel and the subpixel of the color element B are determined, and a two-dimensional luminance table is created.

2次元輝度テーブルを作成後、処理は、ステップ10に進む。   After creating the two-dimensional luminance table, the process proceeds to step 10.

ステップ7:入力デバイス101から制御部102に所望の文字を示すビットマップデータが入力される。   Step 7: Bitmap data indicating a desired character is input from the input device 101 to the control unit 102.

ステップ8:骨格生成手段104は、ビットマップデータから骨格データをサブピクセル単位で生成する。   Step 8: The skeleton generation unit 104 generates skeleton data from the bitmap data in units of subpixels.

ステップ9:文字寄与レベル割り付け手段105は、所望のサブピクセルが骨格サブピクセルから離れている程、小さい値によって所望のサブピクセルの文字寄与レベルが表現されるように、所望のサブピクセルの文字寄与レベルを割り付ける。   Step 9: The character contribution level allocating means 105 determines the character contribution level of the desired subpixel so that the character contribution level of the desired subpixel is represented by a smaller value as the desired subpixel is further away from the skeleton subpixel. Assign a level.

ステップ8とステップ9とを実行することによって、骨格生成手段104と文字寄与レベル割り付け手段105とは、骨格サブピクセル群の文字寄与レベルと第1サブピクセル群の文字寄与レベルとを設定する。   By executing Step 8 and Step 9, the skeleton generation unit 104 and the character contribution level assigning unit 105 set the character contribution level of the skeleton subpixel group and the character contribution level of the first subpixel group.

ステップ10:出力値生成手段106は、文字寄与度レベル集合に対応する輝度値テーブルを選択し、選択した輝度値テーブルに基づいて、文字表示データを生成する。出力値生成手段106は、文字表示データを表示デバイス103に出力する。   Step 10: The output value generation means 106 selects a luminance value table corresponding to the character contribution level set, and generates character display data based on the selected luminance value table. The output value generation unit 106 outputs the character display data to the display device 103.

ステップ1〜ステップ6およびステップ10を実行することによって、第2サブピクセル群の文字寄与レベルを第1サブピクセル群のうちの少なくとも1つのサブピクセルの色要素レベルに応じて設定する。   By executing Step 1 to Step 6 and Step 10, the character contribution level of the second subpixel group is set according to the color element level of at least one subpixel of the first subpixel group.

ステップ11:文字表示データに基づいて、表示デバイス103に文字が表示される。   Step 11: Characters are displayed on the display device 103 based on the character display data.

表示デバイス103に文字が表示された後、処理は終了する。   After the characters are displayed on the display device 103, the process ends.

以上、図22を参照して、本発明の実施の形態の文字表示処理手順を説明した。   The character display processing procedure according to the embodiment of the present invention has been described above with reference to FIG.

例えば、図22に示される実施の形態では、ステップ1〜11が「複数のサブピクセルに対応する複数の色要素をそれぞれ独立に制御することにより、文字を表示デバイスに表示するステップ」に対応し、ステップ8およびステップ9が「表示デバイスに表示される文字の骨格部分に対応する少なくとも1つのサブピクセルを含む骨格サブピクセル群の色要素レベルと、骨格サブピクセル群のうちの1つのサブピクセルに隣接する第1サブピクセル群であって、第1方向に並んだ少なくとも1つのサブピクセルを含む第1サブピクセル群の色要素レベルとを設定するステップ」に対応し、ステップ1〜6およびステップ10が「骨格サブピクセル群のうちの1つのサブピクセルに隣接する第2サブピクセル群であって、第1方向に対して垂直な第2方向に並んだ少なくとも1つのサブピクセルを含む第2サブピクセル群の色要素レベルを第1サブピクセル群のうちの少なくとも1つのサブピクセルの色要素レベルに応じて設定するステップ」に対応する。   For example, in the embodiment shown in FIG. 22, steps 1 to 11 correspond to “a step of displaying characters on a display device by independently controlling a plurality of color elements corresponding to a plurality of subpixels”. , Step 8 and Step 9 are “the color element level of the skeleton subpixel group including at least one subpixel corresponding to the skeleton portion of the character displayed on the display device, and one subpixel of the skeleton subpixel group”. Corresponding to the step of setting the color element level of the first subpixel group that is adjacent to the first subpixel group and includes at least one subpixel arranged in the first direction. Is a second sub-pixel group adjacent to one of the skeleton sub-pixel groups and perpendicular to the first direction. Corresponding to a step of setting the color element level of the second subpixel group including at least one subpixel arranged in the second direction according to the color element level of at least one subpixel of the first subpixel group. .

しかし、本発明の実施の形態の文字表示処理手順は図22に示される手順に限定されるわけではない。文字表示処理手順に包含される各ステップが、上述した複数のステップの各々の機能を有する限りは、任意の手順を有しえる。   However, the character display processing procedure of the embodiment of the present invention is not limited to the procedure shown in FIG. As long as each step included in the character display processing procedure has the function of each of the plurality of steps described above, it may have an arbitrary procedure.

本発明の文字表示処理プログラムによれば、第2サブピクセル群の色要素レベルが第1サブピクセル群のうちの少なくとも1つのサブピクセルの色要素レベルに応じて設定される。したがって、第1サブピクセル群の色要素レベルの変更に連動させて第2サブピクセル群の色要素レベルを変更できる。その結果、文字の線の幅を均一に変更でき、文字を滑らかに表示できる。   According to the character display processing program of the present invention, the color element level of the second subpixel group is set according to the color element level of at least one subpixel of the first subpixel group. Therefore, the color element level of the second subpixel group can be changed in conjunction with the change of the color element level of the first subpixel group. As a result, the width of the character line can be changed uniformly, and the character can be displayed smoothly.

本発明の文字表示処理プログラムによれば、複数の画素のそれぞれに含まれる複数のサブピクセルの配列方向に依存することなく、文字の線の幅を均一に太くできる。   According to the character display processing program of the present invention, the width of the character line can be uniformly increased without depending on the arrangement direction of the plurality of sub-pixels included in each of the plurality of pixels.

また、本発明の文字表示処理プログラムによれば、文字の線が潰れることを防止できる。その結果、従来の技術に比べて十分に太く、高精細な読み易い文字を表示できる。   Further, according to the character display processing program of the present invention, it is possible to prevent the lines of characters from being crushed. As a result, characters that are sufficiently thick and high-definition and easy to read can be displayed as compared with the prior art.

本発明は、ビットマップデータによって示される文字より太い文字を表示し、文字を構成するストロークが滑らかで、文字を構成するストロークの線幅が均一な文字を表示することを目的とする。   An object of the present invention is to display a character that is thicker than the character indicated by the bitmap data, and that has a smooth stroke constituting the character and a uniform stroke width constituting the character.

具体的には、ビットマップデータから骨格データを抽出する。対象画素に対して、対象画素の隣接近傍の画素に骨格部分があるか否かが調べられる。骨格部分がある場合には、骨格部分からの距離に応じた文字寄与レベルを対象画素に割り付ける。対象画素に割り付けられた文字寄与レベルに対して2次元方向の文字寄与レベルを観測し、文字色情報および背景色情報を参照することによって、最適な画素値を求める。   Specifically, skeleton data is extracted from bitmap data. It is checked whether or not the target pixel has a skeleton portion in a pixel adjacent to the target pixel. When there is a skeleton part, a character contribution level corresponding to the distance from the skeleton part is assigned to the target pixel. The character contribution level in the two-dimensional direction is observed with respect to the character contribution level assigned to the target pixel, and the optimum pixel value is obtained by referring to the character color information and the background color information.

上述した実施の形態では、文字を表示デバイスに表示する例を説明したが、本発明はこれに限定されない。文字に代えて、あるいは文字に加えて、図形を表示する場合にも本発明を適用することができる。   In the above-described embodiment, an example in which characters are displayed on a display device has been described, but the present invention is not limited to this. The present invention can be applied to a case where a graphic is displayed instead of or in addition to a character.

この場合、文字表示処理プログラムに代えて、あるいは文字表示処理プログラムに加えて図形表示プログラムを使用するようにし、文字情報に代えて、あるいは文字情報に加えて図形情報を使用するようにし、文字寄与レベルに代えて、あるいは文字寄与レベルに加えて図形寄与レベルを使用するようにすればよい。図形表示処理プログラムもまた、文字表示処理プログラムと同様のステップを含み得る。図形には、例えば、文字の一部、模様、記号などが含まれる。   In this case, a graphic display program is used instead of the character display processing program or in addition to the character display processing program, and graphic information is used instead of the character information or in addition to the character information. A graphic contribution level may be used instead of the level or in addition to the character contribution level. The graphic display processing program may also include the same steps as the character display processing program. The graphic includes, for example, a part of a character, a pattern, a symbol, and the like.

以上のように、本発明の好ましい実施形態を用いて本発明を例示してきたが、本発明は、この実施形態に限定して解釈されるべきものではない。本発明は、特許請求の範囲によってのみその範囲が解釈されるべきであることが理解される。当業者は、本発明の具体的な好ましい実施形態の記載から、本発明の記載および技術常識に基づいて等価な範囲を実施することができることが理解される。本明細書において引用した特許、特許出願および文献は、その内容自体が具体的に本明細書に記載されているのと同様にその内容が本明細書に対する参考として援用されるべきであることが理解される。   As mentioned above, although this invention has been illustrated using preferable embodiment of this invention, this invention should not be limited and limited to this embodiment. It is understood that the scope of the present invention should be construed only by the claims. It is understood that those skilled in the art can implement an equivalent range based on the description of the present invention and the common general technical knowledge from the description of specific preferred embodiments of the present invention. Patents, patent applications, and documents cited herein should be incorporated by reference in their entirety, as if the contents themselves were specifically described herein. Understood.

本発明は、文字または図形をカラー表示可能な表示デバイスに文字または図形を滑らかに、かつ太く表示できる文字図形表示装置、プログラムおよび記録媒体に関する。   The present invention relates to a character graphic display device, a program, and a recording medium that can display characters or graphics smoothly and thickly on a display device capable of displaying characters or graphics in color.

本発明の文字図形表示装置、プログラムおよび記録媒体によれば、第2サブピクセル群の色要素レベルが第1サブピクセル群のうちの少なくとも1つのサブピクセルの色要素レベルに応じて設定される。したがって、第1サブピクセル群の色要素レベルの変更に連動させて第2サブピクセル群の色要素レベルを変更できる。その結果、文字または図形の線の幅を均一に変更でき、文字または図形を滑らかに表示できる。   According to the character graphic display device, program, and recording medium of the present invention, the color element level of the second subpixel group is set according to the color element level of at least one subpixel of the first subpixel group. Therefore, the color element level of the second subpixel group can be changed in conjunction with the change of the color element level of the first subpixel group. As a result, the line width of the character or figure can be changed uniformly, and the character or figure can be displayed smoothly.

本発明の文字図形表示装置、プログラムおよび記録媒体によれば、複数の画素のそれぞれに含まれる複数のサブピクセルの配列方向に依存することなく、文字または図形の線の幅を均一に太くできる。   According to the character graphic display device, the program, and the recording medium of the present invention, the width of the character or graphic line can be uniformly increased without depending on the arrangement direction of the plurality of subpixels included in each of the plurality of pixels.

また、本発明の文字図形表示装置、プログラムおよび記録媒体によれば、文字の線が潰れることを防止できる。その結果、従来の技術に比べて十分に太く、高精細な読み易い文字または図形を表示できる。   Moreover, according to the character graphic display device, program, and recording medium of the present invention, it is possible to prevent the lines of characters from being crushed. As a result, it is possible to display characters or figures that are sufficiently thick and easy to read with high definition compared to the conventional technology.

本発明の実施の形態の文字表示装置100の構成を示す図である。It is a figure which shows the structure of the character display apparatus 100 of embodiment of this invention. 骨格生成手段104の機能を示す図である。FIG. 4 is a diagram illustrating functions of a skeleton generation unit 104. 文字寄与レベル割り付け手段105の機能を示す図である。It is a figure which shows the function of the character contribution level assignment means 105. 出力値生成手段106の機能を示す図である。FIG. 4 is a diagram showing the function of output value generation means 106. 文字寄与レベル算出手段107の機能を示す図である。It is a figure which shows the function of the character contribution level calculation means 107. 文字寄与レベル集合算出手段108の機能を示す図である。It is a figure which shows the function of the character contribution level set calculation means. 輝度レベル算出手段109の機能を示す図である。It is a figure which shows the function of the brightness | luminance level calculation means 109. FIG. 垂直文字寄与レベル集合算出手段110の機能を示す図である。It is a figure which shows the function of the vertical character contribution level set calculation means 110. FIG. 文字寄与レベル集合、垂直文字寄与レベル集合、2次元文字寄与レベル集合、文字寄与レベルおよび輝度値の関係を示す図である。It is a figure which shows the relationship between a character contribution level set, a vertical character contribution level set, a two-dimensional character contribution level set, a character contribution level, and a luminance value. 文字表示装置100によって生成された文字画像を示す図である。It is a figure which shows the character image produced | generated by the character display apparatus. 本発明の実施の形態の別の文字表示装置200の構成を示す図である。It is a figure which shows the structure of another character display apparatus 200 of embodiment of this invention. テーブル選択手段212の機能を示す図である。It is a figure which shows the function of the table selection means 212. FIG. 本発明の実施の形態の更に別の文字表示装置300の構成を示す図である。It is a figure which shows the structure of another character display apparatus 300 of embodiment of this invention. 輝度テーブル選択手段314の機能を示す図である。It is a figure which shows the function of the brightness | luminance table selection means 314. 線と線との接触の発生を示す図である。It is a figure which shows generation | occurrence | production of a contact with a line. 本発明の実施の形態の更に別の文字表示装置400の構成を示す図である。It is a figure which shows the structure of another character display apparatus 400 of embodiment of this invention. 補正抑制手段416の機能を示す図である。It is a figure which shows the function of the correction | amendment suppression means 416. FIG. 本発明の実施の形態の更に別の文字表示装置500の構成を示す図である。It is a figure which shows the structure of another character display apparatus 500 of embodiment of this invention. 補正抑制手段516の機能を示す図である。It is a figure which shows the function of the correction | amendment suppression means 516. FIG. 補正抑制手段516によって線と線との接触の発生を抑制した「奇」の一部分(部分「大」と部分「可」との近接した部分)の表示結果を示す図である。It is a figure which shows the display result of the part (proximal part of the part "large" and the part "possible") of "odd" which suppressed generation | occurrence | production of the contact of a line by the correction | amendment suppression means 516. 補正抑制データを含んだビットマップデータを示す図である。It is a figure which shows the bitmap data containing correction | amendment suppression data. 本発明の実施の形態の文字表示処理手順を示すフローチャートである。It is a flowchart which shows the character display processing procedure of embodiment of this invention. 特許文献2で開示された文字表示装置600の構成を示す図である。It is a figure which shows the structure of the character display apparatus 600 disclosed by patent document 2. FIG.

符号の説明Explanation of symbols

100 文字表示装置
101 入力デバイス
102 制御部
103 表示デバイス
104 骨格生成手段
105 文字寄与レベル割り付け手段
106 出力値生成手段
107 文字寄与レベル算出手段
108 文字寄与レベル集合算出手段
109 輝度レベル算出手段
110 垂直文字寄与レベル集合算出手段
111 2次元文字寄与レベル集合合成手段
DESCRIPTION OF SYMBOLS 100 Character display apparatus 101 Input device 102 Control part 103 Display device 104 Skeletal generation means 105 Character contribution level allocation means 106 Output value generation means 107 Character contribution level calculation means 108 Character contribution level set calculation means 109 Luminance level calculation means 110 Vertical character contribution Level set calculation means 111 Two-dimensional character contribution level set synthesis means

Claims (11)

複数の画素を有する表示デバイスと、前記表示デバイスを制御する制御部とを備える文字図形表示装置であって、
前記複数の画素のそれぞれは、第1方向に配列された複数のサブピクセルを含み、前記複数のサブピクセルのそれぞれには複数の色要素のうち対応する1つの色要素が予め割り当てられており、
前記複数の色要素のそれぞれの強さは、複数の色要素レベルによって表され、
前記制御部は、前記複数のサブピクセルに対応する前記複数の色要素をそれぞれ独立に制御することにより、文字または図形を前記表示デバイスに表示し、
前記制御部は、前記表示デバイスに表示される文字または図形の骨格部分に対応する少なくとも1つのサブピクセルを含む骨格サブピクセル群の色要素レベルと、前記骨格サブピクセル群のうちの1つのサブピクセルに隣接する第1サブピクセル群であって、前記第1方向に並んだ少なくとも1つのサブピクセルを含む第1サブピクセル群の色要素レベルとを設定し、
前記制御部は、前記骨格サブピクセル群のうちの1つのサブピクセルに隣接する第2サブピクセル群であって、前記第1方向に対して垂直な第2方向に並んだ少なくとも1つのサブピクセルを含む第2サブピクセル群の色要素レベルを前記第1サブピクセル群のうちの少なくとも1つのサブピクセルの色要素レベルに応じて設定する、文字図形表示装置。
A character graphic display device comprising a display device having a plurality of pixels and a control unit for controlling the display device,
Each of the plurality of pixels includes a plurality of sub-pixels arranged in a first direction, and each of the plurality of sub-pixels is pre-assigned a corresponding one of the plurality of color elements,
The strength of each of the plurality of color elements is represented by a plurality of color element levels,
The control unit displays characters or figures on the display device by independently controlling the plurality of color elements corresponding to the plurality of sub-pixels,
The control unit includes a color element level of a skeleton subpixel group including at least one subpixel corresponding to a skeleton portion of a character or a graphic displayed on the display device, and one subpixel of the skeleton subpixel group. A color element level of a first subpixel group adjacent to the first subpixel group including at least one subpixel arranged in the first direction;
The control unit may include a second subpixel group adjacent to one subpixel of the skeleton subpixel group, and at least one subpixel arranged in a second direction perpendicular to the first direction. A character graphic display device that sets a color element level of a second subpixel group including the second subpixel group according to a color element level of at least one subpixel of the first subpixel group.
前記制御部は、前記骨格サブピクセル群のうちの1つのサブピクセルから前記第1サブピクセル群のうちの1つのサブピクセルまでの距離に応じて、前記第1サブピクセル群のうちの前記1つのサブピクセルの色要素レベルを設定する、請求項1に記載の文字図形表示装置。   The controller may control the one of the first subpixel groups according to a distance from one subpixel of the skeleton subpixel group to one subpixel of the first subpixel group. The character graphic display device according to claim 1, wherein a color element level of a subpixel is set. 前記制御部は、第1変換率に基づいて、前記第2サブピクセル群の色要素レベルを設定し、
前記第1変換率は、前記第1サブピクセル群の色要素レベルに対応する前記文字または図形の複数の線幅に応じて決定されており、
前記第1変換率と前記文字または図形の複数の線幅との関係は、少なくとも1つのテーブルによって表される、請求項1に記載の文字図形表示装置。
The control unit sets a color element level of the second sub-pixel group based on a first conversion rate,
The first conversion rate is determined according to a plurality of line widths of the character or figure corresponding to the color element level of the first sub-pixel group,
The character graphic display device according to claim 1, wherein a relationship between the first conversion rate and a plurality of line widths of the character or graphic is represented by at least one table.
前記第1サブピクセル群に隣接する第3サブピクセル群であって、前記第2方向に並んだ少なくとも1つのサブピクセルを含む第3サブピクセル群の色要素レベルは、前記文字または図形の複数の線幅に応じて決定されており、
前記文字または図形の複数の線幅のそれぞれと前記第3サブピクセル群の色要素レベルとの関係は、少なくとも1つのテーブルによって表される、請求項1に記載の文字図形表示装置。
A color element level of a third subpixel group adjacent to the first subpixel group and including at least one subpixel arranged in the second direction is set to a plurality of characters or graphics. It is determined according to the line width,
The character graphic display device according to claim 1, wherein a relationship between each of a plurality of line widths of the character or graphic and a color element level of the third subpixel group is represented by at least one table.
前記制御部は、前記第2方向に並んだ少なくとも1つのサブピクセルを含む第3サブピクセル群の色要素レベルを前記第1サブピクセル群の色要素レベルおよび前記第2サブピクセル群の色要素レベルのうちの少なくとも一方に基づいて設定する、請求項1に記載の文字図形表示装置。   The control unit determines a color element level of a third subpixel group including at least one subpixel arranged in the second direction as a color element level of the first subpixel group and a color element level of the second subpixel group. The character graphic display device according to claim 1, wherein the character graphic display device is set based on at least one of them. 前記第2サブピクセル群の色要素レベルに対応する前記第2サブピクセル群の輝度値は、前記文字または図形の複数の線幅に応じて決定されており、
前記文字または図形の複数の線幅のそれぞれと前記第2サブピクセル群の輝度値との関係は、少なくとも1つのテーブルによって表される、請求項1に記載の文字図形表示装置。
The luminance value of the second subpixel group corresponding to the color element level of the second subpixel group is determined according to a plurality of line widths of the character or figure,
The character graphic display device according to claim 1, wherein a relationship between each of a plurality of line widths of the character or graphic and a luminance value of the second subpixel group is represented by at least one table.
前記制御部は、前記文字または図形を補正抑制するか否かを示す補正抑制データに基づいて、前記第2サブピクセル群の色要素レベルを設定する、請求項1に記載の文字図形表示装置。   2. The character graphic display device according to claim 1, wherein the control unit sets a color element level of the second sub-pixel group based on correction suppression data indicating whether or not the character or the graphic is corrected and suppressed. 前記補正抑制データは、前記文字または図形を表すビットマップデータに含まれている、請求項7に記載の文字図形表示装置。   The character graphic display device according to claim 7, wherein the correction suppression data is included in bitmap data representing the character or graphic. 前記補正抑制データは、レベル値を有する、請求項7に記載の文字図形表示装置。   The character graphic display device according to claim 7, wherein the correction suppression data has a level value. 情報表示装置によって読み取り可能な記録媒体であって、
前記情報表示装置は、複数の画素を有する表示デバイスと、前記表示デバイスを制御する制御部とを備え、
前記複数の画素のそれぞれは、第1方向に配列された複数のサブピクセルを含み、前記複数のサブピクセルのそれぞれには複数の色要素のうち対応する1つの色要素が予め割り当てられており、
前記複数の色要素のそれぞれの強さは、複数の色要素レベルによって表され、
前記記録媒体は、
前記複数のサブピクセルに対応する前記複数の色要素をそれぞれ独立に制御することにより、文字または図形を前記表示デバイスに表示するステップを包含する処理を前記制御部に実行させるためのプログラムを記録しており、
前記文字または図形を前記表示デバイスに表示するステップは、
前記表示デバイスに表示される文字または図形の骨格部分に対応する少なくとも1つのサブピクセルを含む骨格サブピクセル群の色要素レベルと、前記骨格サブピクセル群のうちの1つのサブピクセルに隣接する第1サブピクセル群であって、前記第1方向に並んだ少なくとも1つのサブピクセルを含む第1サブピクセル群の色要素レベルとを設定するステップと、
前記骨格サブピクセル群のうちの1つのサブピクセルに隣接する第2サブピクセル群であって、前記第1方向に対して垂直な第2方向に並んだ少なくとも1つのサブピクセルを含む第2サブピクセル群の色要素レベルを前記第1サブピクセル群のうちの少なくとも1つのサブピクセルの色要素レベルに応じて設定するステップと
を包含する、記録媒体。
A recording medium readable by an information display device,
The information display device includes a display device having a plurality of pixels, and a control unit that controls the display device,
Each of the plurality of pixels includes a plurality of sub-pixels arranged in a first direction, and each of the plurality of sub-pixels is pre-assigned a corresponding one of the plurality of color elements,
The strength of each of the plurality of color elements is represented by a plurality of color element levels,
The recording medium is
A program for causing the control unit to execute a process including a step of displaying characters or figures on the display device by independently controlling the plurality of color elements corresponding to the plurality of sub-pixels. And
The step of displaying the character or figure on the display device includes:
A color element level of a skeleton subpixel group including at least one subpixel corresponding to a skeleton portion of a character or a graphic displayed on the display device, and a first adjacent to one subpixel of the skeleton subpixel group. Setting a color element level of a first sub-pixel group that includes at least one sub-pixel arranged in the first direction.
A second subpixel group adjacent to one subpixel of the skeleton subpixel group, the second subpixel including at least one subpixel arranged in a second direction perpendicular to the first direction; Setting a color element level of a group according to a color element level of at least one subpixel of the first subpixel group.
複数の画素を有する表示デバイスと、前記表示デバイスを制御する制御部とを備えた情報表示装置に表示処理を実行させるためのプログラムであって、
前記複数の画素のそれぞれは、第1方向に配列された複数のサブピクセルを含み、前記複数のサブピクセルのそれぞれには複数の色要素のうち対応する1つの色要素が予め割り当てられており、
前記複数の色要素のそれぞれの強さは、複数の色要素レベルによって表され、
前記表示処理は、
前記複数のサブピクセルに対応する前記複数の色要素をそれぞれ独立に制御することにより、文字または図形を前記表示デバイスに表示するステップを包含し、
前記文字または図形を前記表示デバイスに表示するステップは、
前記表示デバイスに表示される文字または図形の骨格部分に対応する少なくとも1つのサブピクセルを含む骨格サブピクセル群の色要素レベルと、前記骨格サブピクセル群のうちの1つのサブピクセルに隣接する第1サブピクセル群であって、前記第1方向に並んだ少なくとも1つのサブピクセルを含む第1サブピクセル群の色要素レベルとを設定するステップと、
前記骨格サブピクセル群のうちの1つのサブピクセルに隣接する第2サブピクセル群であって、前記第1方向に対して垂直な第2方向に並んだ少なくとも1つのサブピクセルを含む第2サブピクセル群の色要素レベルを前記第1サブピクセル群のうちの少なくとも1つのサブピクセルの色要素レベルに応じて設定するステップと
を包含する、プログラム。
A program for causing an information display device including a display device having a plurality of pixels and a control unit to control the display device to execute display processing,
Each of the plurality of pixels includes a plurality of sub-pixels arranged in a first direction, and each of the plurality of sub-pixels is pre-assigned a corresponding one of the plurality of color elements,
The strength of each of the plurality of color elements is represented by a plurality of color element levels,
The display process includes
Including independently displaying a character or a graphic on the display device by independently controlling the plurality of color elements corresponding to the plurality of sub-pixels,
The step of displaying the character or figure on the display device includes:
A color element level of a skeleton subpixel group including at least one subpixel corresponding to a skeleton portion of a character or a graphic displayed on the display device, and a first adjacent to one subpixel of the skeleton subpixel group. Setting a color element level of a first sub-pixel group that includes at least one sub-pixel arranged in the first direction.
A second subpixel group adjacent to one subpixel of the skeleton subpixel group, the second subpixel including at least one subpixel arranged in a second direction perpendicular to the first direction; Setting a color element level of a group in accordance with a color element level of at least one sub-pixel of the first sub-pixel group.
JP2005007517A 2005-01-14 2005-01-14 Character / graphic display device, program, and recording medium Expired - Fee Related JP3827318B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2005007517A JP3827318B2 (en) 2005-01-14 2005-01-14 Character / graphic display device, program, and recording medium
PCT/JP2006/300363 WO2006075695A1 (en) 2005-01-14 2006-01-13 Character figure display, program, and recording medium
TW95101426A TWI322980B (en) 2005-01-14 2006-01-13 Character/graphic element displaying apparatus rogram and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005007517A JP3827318B2 (en) 2005-01-14 2005-01-14 Character / graphic display device, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2006195229A true JP2006195229A (en) 2006-07-27
JP3827318B2 JP3827318B2 (en) 2006-09-27

Family

ID=36677718

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005007517A Expired - Fee Related JP3827318B2 (en) 2005-01-14 2005-01-14 Character / graphic display device, program, and recording medium

Country Status (3)

Country Link
JP (1) JP3827318B2 (en)
TW (1) TWI322980B (en)
WO (1) WO2006075695A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100816303B1 (en) * 2006-09-11 2008-03-27 엔 하이테크 주식회사 Method for displaying letters on led-display-board by static driving and circuit for therof
JP2022536778A (en) * 2019-06-12 2022-08-18 北海恵科光電技術有限公司 Character boundary processing method, display panel and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3552105B2 (en) * 2000-05-26 2004-08-11 シャープ株式会社 Graphic display device, character display device, display method, recording medium, and program
JP2003302962A (en) * 2002-04-08 2003-10-24 Sharp Corp Display device, character and graphic display method, character and graphic display program, and readable recording medium
JP4079268B2 (en) * 2003-07-03 2008-04-23 シャープ株式会社 Character display device, character display method, character display program, and readable recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100816303B1 (en) * 2006-09-11 2008-03-27 엔 하이테크 주식회사 Method for displaying letters on led-display-board by static driving and circuit for therof
JP2022536778A (en) * 2019-06-12 2022-08-18 北海恵科光電技術有限公司 Character boundary processing method, display panel and computer readable storage medium

Also Published As

Publication number Publication date
WO2006075695A1 (en) 2006-07-20
JP3827318B2 (en) 2006-09-27
TW200701178A (en) 2007-01-01
TWI322980B (en) 2010-04-01

Similar Documents

Publication Publication Date Title
JP5031954B2 (en) Display device, display method, and recording medium recording display control program
JP4117233B2 (en) Video expression method and apparatus
KR100432288B1 (en) Graphic display apparatus, character display apparatus, display method, and recording medium
US6542161B1 (en) Character display apparatus, character display method, and recording medium
US7006096B2 (en) Character display apparatus, character display method, and recording medium
KR100258919B1 (en) Dithering circuit and method
JP4407875B2 (en) CHARACTER DISPLAY DEVICE, CHARACTER DISPLAY METHOD, CONTROL PROGRAM FOR CONTROLLING THE CHARACTER DISPLAY METHOD, AND RECORDING MEDIUM CONTAINING THE CONTROL PROGRAM
KR20020080244A (en) Display method and display device
JP3827318B2 (en) Character / graphic display device, program, and recording medium
US7292253B2 (en) Display apparatus, information display method, information display program, readable recording medium, and information apparatus
JP4079268B2 (en) Character display device, character display method, character display program, and readable recording medium
JP4772049B2 (en) Image data generation apparatus, image data generation method, program, and storage medium
JP3646981B2 (en) Display method
JP3519186B2 (en) Image halftone processing device
JP4667464B2 (en) Image information generating apparatus, image information generating method, image information generating program, and recording medium
JP2007156500A (en) Character display apparatus
JP4831936B2 (en) Character display device
JP2007200023A (en) Image processor and image processing method
JP5726824B2 (en) How to generate strokes
JP2005347814A (en) Resolution conversion method
JP2009204828A (en) Image display device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060605

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: 20060703

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060703

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: 20100714

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110714

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110714

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120714

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120714

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130714

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees