Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4772049B2 - Image data generation apparatus, image data generation method, program, and storage medium - Google Patents
[go: Go Back, main page]

JP4772049B2 - Image data generation apparatus, image data generation method, program, and storage medium - Google Patents

Image data generation apparatus, image data generation method, program, and storage medium Download PDF

Info

Publication number
JP4772049B2
JP4772049B2 JP2007524668A JP2007524668A JP4772049B2 JP 4772049 B2 JP4772049 B2 JP 4772049B2 JP 2007524668 A JP2007524668 A JP 2007524668A JP 2007524668 A JP2007524668 A JP 2007524668A JP 4772049 B2 JP4772049 B2 JP 4772049B2
Authority
JP
Japan
Prior art keywords
basic
pixel
display
color
contribution level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007524668A
Other languages
Japanese (ja)
Other versions
JPWO2007007769A1 (en
Inventor
安久 中村
哲 岡田
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 JP2007524668A priority Critical patent/JP4772049B2/en
Publication of JPWO2007007769A1 publication Critical patent/JPWO2007007769A1/en
Application granted granted Critical
Publication of JP4772049B2 publication Critical patent/JP4772049B2/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
    • 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/246Generation of individual character patterns of ideographic or arabic-like characters

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Generation (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Processing (AREA)

Description

本発明は、文字または図形に含まれる縦線の側縁の輪郭を明瞭に表示することを可能にする画像データ生成装置、画像データ生成方法、その画像データ生成方法における各ステップをコンピュータに実行させるためのプログラムおよびそのプログラムが格納されたコンピュータ読み取り可能な記憶媒体に関する。   The present invention allows an image data generation apparatus, an image data generation method, and a computer to execute each step in the image data generation method that can clearly display the outline of a side edge of a vertical line included in a character or graphic. And a computer-readable storage medium storing the program.

パーソナルコンピューター、携帯電話機等の機器では、通常、カラー表示が可能な表示装置が設けられている。特許文献1(特開2003−248476号公報)には、カラー表示が可能な表示部に文字を表示する際に、文字を構成する縦線を太く表示して表示品位を向上させるようになった表示装置が開示されている。   Devices such as personal computers and mobile phones are usually provided with a display device capable of color display. In Patent Document 1 (Japanese Patent Laid-Open No. 2003-248476), when characters are displayed on a display unit capable of color display, the vertical lines constituting the characters are displayed thick to improve the display quality. A display device is disclosed.

特許文献1に開示された表示装置では、マトリクス状に配置された画素(ピクセル)のそれぞれが、行方向に隣接する複数の色素子(サブピクセル)によって構成されており、文字を表示する際に、表示される文字の骨格の基本部分(芯)に相当する部分を色素子単位で割り当てて、骨格を構成する色素子に対して、所定の表示色となるように所定の輝度値を設定し、骨格を構成する色素子の周囲の色素子に対して、骨格を構成する色素子からの距離に対応した輝度値をそれぞれ割り当てるようになっている。このような構成により、表示される文字の縦線を、色付きを抑制して太く表示することができる。   In the display device disclosed in Patent Document 1, each of the pixels (pixels) arranged in a matrix is configured by a plurality of color elements (subpixels) adjacent in the row direction, and when displaying characters, A portion corresponding to the basic portion (core) of the skeleton of the displayed character is allocated in units of color elements, and a predetermined luminance value is set so that a predetermined display color is obtained for the color elements constituting the skeleton. The luminance values corresponding to the distance from the color elements constituting the skeleton are respectively assigned to the color elements around the color elements constituting the skeleton. With such a configuration, the vertical lines of the displayed characters can be displayed thickly while suppressing coloring.

図12は、文字を表示する際に、文字を構成する縦線を高い表示品位で太く表示することができる従来の表示装置の概略構成を示すブロック図である。この表示装置は、表示画面に文字、図形等が表示される表示部10と、表示部10を制御する制御部50とを有している。   FIG. 12 is a block diagram showing a schematic configuration of a conventional display device capable of displaying a vertical line constituting a character thickly with high display quality when displaying the character. The display device includes a display unit 10 that displays characters, graphics, and the like on a display screen, and a control unit 50 that controls the display unit 10.

表示部10は、その表示画面に複数の画素(ピクセル)11がマトリクス状に配置されており、各画素は、それぞれがR(赤色)、G(緑色)、B(青色)の表示が可能な3種類の色素子(サブピクセル)11R、11G、11Bによって構成されている。各色素子11R、11G、11Bは、横(行)方向に沿って、その順番に並んで配置されている。そして、各画素11毎に、各画素11を構成する各色素子11R、11G、11Bの輝度値を制御することによって、表示画面に文字、図形等がカラー表示される。   The display unit 10 has a plurality of pixels (pixels) 11 arranged in a matrix on the display screen, and each pixel can display R (red), G (green), and B (blue). It is composed of three types of color elements (sub-pixels) 11R, 11G, and 11B. The color elements 11R, 11G, and 11B are arranged in that order along the horizontal (row) direction. Then, by controlling the luminance values of the color elements 11R, 11G, and 11B constituting each pixel 11 for each pixel 11, characters, figures, and the like are displayed in color on the display screen.

制御部50は、入力される文字・図形データ31に基づいて、文字における骨格の基本部分(芯)を形成する基本部分形成手段51と、基本部分形成手段51によって形成される骨格の基本部分および線幅情報52に基づいて背景色に対して表示に寄与するレベルを各色素子毎に設定する表示寄与レベル割り付け手段54と、該表示寄与レベル割り付け手段54によって設定された各色素子の表示寄与レベルおよび文字色/背景色情報に基づいて各色素子の出力値を設定する出力値生成手段55とを有している。   Based on the input character / graphic data 31, the control unit 50 includes a basic part forming unit 51 that forms a basic part (core) of the skeleton of the character, a basic part of the skeleton formed by the basic part forming unit 51, and Display contribution level allocating means 54 for setting a level contributing to display with respect to the background color based on the line width information 52 for each color element, and display contribution levels of the respective color elements set by the display contribution level allocating means 54 and Output value generating means 55 for setting the output value of each color element based on the character color / background color information.

基本部分形成手段51には、文字または図形に関する文字・図形データ31が入力される。文字・図形データ31が入力されると、入力される文字・図形データに基づいて文字または図形の骨格の基本部分(芯)が色素子単位で設定される。設定された色素子は基本色素子として定義され、その基本色素子に関するデータが表示寄与レベル割り付け手段54に出力される。   Character / graphic data 31 relating to a character or graphic is input to the basic part forming means 51. When the character / graphic data 31 is input, the basic portion (core) of the skeleton of the character or graphic is set for each color element based on the input character / graphic data. The set color element is defined as a basic color element, and data relating to the basic color element is output to the display contribution level assigning means 54.

表示寄与レベル割り付け手段54には、文字または図形の線幅情報32が入力されており、基本部分形成手段51から入力される基本色素子のデータと、線幅情報32とに基づいて、基本色素子と、その基本色素子の周囲の色素子とに対して、表示寄与レベルがそれぞれ設定される。表示寄与レベルは、文字または図形を表示画面に表示する場合に、背景色に対して色素子が文字または図形の表示にどの程度寄与するかを示す割合であり、表示寄与レベルが小さいほど、背景色として寄与する割合が高くて、表示に寄与する割合が低くなることを示している。表示寄与レベル割り付け手段54にて設定された各色素子の表示寄与レベルは、出力値生成手段55に出力される。   The display contribution level allocating means 54 is input with the line width information 32 of characters or figures. Based on the basic color element data input from the basic portion forming means 51 and the line width information 32, the basic color is displayed. A display contribution level is set for each of the elements and the color elements around the basic color element. The display contribution level is a ratio indicating how much the color element contributes to the display of the character or figure with respect to the background color when the character or figure is displayed on the display screen. It shows that the ratio contributing to color is high and the ratio contributing to display is low. The display contribution level of each color element set by the display contribution level assignment unit 54 is output to the output value generation unit 55.

出力値生成手段55には、文字色および背景色を表す表示色/背景色情報33が入力されており、表示寄与レベル割り付け手段54にて設定された各色素子の表示寄与レベルと、入力される表示色および背景色の情報とに基づいて、各色素子毎に輝度値がそれぞれ設定される。設定された輝度値が表示部10に与えられる。これにより、表示部10には、所望の文字、画像等が表示される。   Display value / background color information 33 representing the character color and background color is input to the output value generation means 55, and the display contribution level of each color element set by the display contribution level assignment means 54 is input. A luminance value is set for each color element based on the display color and background color information. The set luminance value is given to the display unit 10. As a result, desired characters, images, and the like are displayed on the display unit 10.

このような構成の表示装置において、文字等の縦線を太く表示する方法について説明する。文字・画像データ31が入力されると、基本部分形成手段51は、入力された文字・画像データ31に関する文字または画像のビットマップデータから骨格の基本部分(芯)を形成する。ビットマップデータには、画像データとして、文字・図形の骨格が画素単位で設定されている。   A description will be given of a method of displaying vertical lines such as characters thickly in the display device having such a configuration. When the character / image data 31 is input, the basic part forming unit 51 forms a basic part (core) of the skeleton from the character or image bitmap data related to the input character / image data 31. In the bitmap data, a character / graphic skeleton is set for each pixel as image data.

図13A(a)は、文字等を構成する縦線(列方向に沿った直線)のビットマップデータを示している。通常、ビットマップデータに設定されている文字等の骨格は、縦線の線幅が1画素(すなわち3つの色素子)によって規定されている。従って、ビットマップデータを構成する各画素11の各色素子11R、11G、11Bは、全てが背景ではなく、文字の表示に寄与していることから、図13A(b)に示すように、表示寄与レベルが100%に設定されている。このようなビットマップデータから、図13A(c)に示すように、縦線を構成する各画素11の左右方向の中央に位置する色素子11Gが、骨格の基本部分となる基本色素子として抽出される。   FIG. 13A (a) shows bitmap data of vertical lines (straight lines along the column direction) constituting characters and the like. Usually, in the skeleton of characters or the like set in the bitmap data, the line width of the vertical line is defined by one pixel (that is, three color elements). Accordingly, the color elements 11R, 11G, and 11B of each pixel 11 constituting the bitmap data all contribute to the display of characters, not the background. Therefore, as shown in FIG. The level is set to 100%. From such bitmap data, as shown in FIG. 13A (c), the color element 11G located at the center in the left-right direction of each pixel 11 constituting the vertical line is extracted as a basic color element that is a basic part of the skeleton. Is done.

このようにして基本色素子が抽出されて、基本色素子データが得られると、縦線を、ビットマップデータによる線幅である1画素よりも太くなるように例えば5色素子によって「中太線」として表示する場合には、表示寄与レベル割り付け手段54は、図13B(a)に示すように、基本色素子が属する画素を骨格画素として、その骨格画素に含まれる全ての色素子の表示寄与レベルを100%に設定するとともに、その骨格画素の左右の各側方にそれぞれ隣接する各画素に含まれる色素子に対して、骨格画素からの距離に応じた表示寄与レベルをそれぞれ設定する。具体的には、骨格画素に隣接する各画素では、骨格画素に隣接する色素子(左側の画素では色素子11B、右側の画素では色素子11R)に対しては66%の表示寄与レベルが設定され、左右方向の中央の色素子11Gに対しては、33%の表示寄与レベルが設定され、骨格画素に対して最も遠方に位置する色素子(左側の画素では色素子11R、右側の画素では色素子11B)に対しては0%の表示寄与レベルが設定される。0%の表示寄与レベルが設定される色素子は、文字の表示には全く寄与しない背景色を表示することになる。   When basic color elements are extracted in this way and basic color element data is obtained, the “middle thick line” is formed by, for example, five color elements so that the vertical line becomes thicker than one pixel which is the line width of the bitmap data. As shown in FIG. 13B (a), the display contribution level assigning unit 54 uses the pixels to which the basic color element belongs as a skeleton pixel, and the display contribution levels of all the color elements included in the skeleton pixel. Is set to 100%, and a display contribution level corresponding to the distance from the skeleton pixel is set for each color element included in each pixel adjacent to the left and right sides of the skeleton pixel. Specifically, for each pixel adjacent to the skeleton pixel, a display contribution level of 66% is set for the color element adjacent to the skeleton pixel (the color element 11B for the left pixel and the color element 11R for the right pixel). The display contribution level of 33% is set for the center color element 11G in the left-right direction, and the color element located farthest from the skeleton pixel (the color element 11R for the left pixel and the color element 11R for the right pixel). A display contribution level of 0% is set for the color element 11B). A color element for which a display contribution level of 0% is set displays a background color that does not contribute to character display at all.

表示寄与レベル割り付け手段54によって表示寄与レベルが設定されると、出力値生成手段55は、設定された表示寄与レベルに基づいて各色素子に対して輝度値を設定して、設定された輝度値が表示部10に出力されることによって、表示部10は、図13B(b)に示すように、縦線を5個の色素子によって「中太線」として表示する。   When the display contribution level is set by the display contribution level assigning unit 54, the output value generating unit 55 sets the luminance value for each color element based on the set display contribution level, and the set luminance value is By outputting to the display unit 10, the display unit 10 displays the vertical lines as “medium thick lines” with five color elements, as shown in FIG. 13B (b).

この場合、縦線の左右の各側縁部では、人間の目には、図13B(a)および図14に実線で示すような輝度変化が感じられるために、図13B(b)に示すように、左右の各側縁の輪郭は、若干、不明瞭になる。この場合、各色素子の文字寄与レベル(文字色の割合)を基本色素子の距離が近いほど高く設定することによって、仮に線の色が黒であっても、右側の側縁部には水色、左側の側縁部にはオレンジ色の色つきが生じるが、人間の目には、両側の側縁の色付きが相殺されることによって、そのような色付きはほとんど感じられない。   In this case, at each of the left and right side edges of the vertical line, the human eye perceives a change in luminance as shown by the solid line in FIGS. 13B (a) and 14, so that it is as shown in FIG. 13B (b). In addition, the contours of the left and right side edges are slightly unclear. In this case, by setting the character contribution level (character color ratio) of each color element higher as the distance between the basic color elements is shorter, even if the color of the line is black, the right side edge is light blue, The left side edge is colored orange, but the human eye hardly perceives such coloring by canceling the coloring of the side edges on both sides.

次に、縦線を9個の色素子によって「極太線」として表示する場合について説明する。この場合には、表示寄与レベル割り付け手段54は、図13C(a)に示すように、基本色素子が属する画素を骨格画素として、その骨格画素に含まれる全ての色素子の表示寄与レベルを100%に設定するとともに、その骨格画素の左右の各側方にそれぞれ隣接する各画素に含まれた色素子を、骨格画素からの距離に応じた表示寄与レベルに設定する。具体的には、骨格画素に隣接する各画素において、骨格画素に隣接する色画素(左側の画素では色素子11B、右側の画素では色素子11R)に対しては、骨格画素と同様に100%の表示寄与レベルを設定し、左右方向の中央の色素子11Gに対しては、66%の表示寄与レベルを設定し、骨格画素に対して最も遠方に位置する色画素(左側の画素では色素子11R、右側の画素では色素子11B)に対しては33%の表示寄与レベルを設定する。骨格画素に対してさらに遠方側に位置する画素に対しては、0%の表示寄与レベルを設定する。そして、設定された表示寄与レベルに基づいて輝度値が設定され、設定された輝度値によって各色素子が表示されることによって、図13C(b)に示すように、縦線が5個の色素子によって「極太線」として表示される。   Next, a case where a vertical line is displayed as a “thick line” by nine color elements will be described. In this case, as shown in FIG. 13C (a), the display contribution level assigning unit 54 sets the pixel to which the basic color element belongs as a skeleton pixel, and sets the display contribution level of all the color elements included in the skeleton pixel to 100. %, And the color elements included in the respective pixels adjacent to the left and right sides of the skeleton pixel are set to the display contribution level according to the distance from the skeleton pixel. Specifically, in each pixel adjacent to the skeleton pixel, 100% of the color pixel adjacent to the skeleton pixel (the color element 11B in the left pixel and the color element 11R in the right pixel) is the same as the skeleton pixel. The display contribution level of 66% is set for the center color element 11G in the left-right direction, and the color pixel located farthest from the skeleton pixel (the color element in the left pixel) is set. 11R, a display contribution level of 33% is set for the color element 11B) in the right pixel. A display contribution level of 0% is set for a pixel located further away from the skeleton pixel. Then, a luminance value is set based on the set display contribution level, and each color element is displayed according to the set luminance value, so that as shown in FIG. 13C (b), the vertical line has five color elements. Is displayed as a “thick line”.

この場合も、縦線の左右の各側縁部では、人間の目には、図13C(a)に実線で示すような緩やかな輝度変化が感じられるために、左右の各側縁の輪郭は、若干、不明瞭になる。また、各色素子の文字寄与レベル(文字色の割合)を、基本色素子からの距離が近いほど高く設定することによって、仮に線の色が黒であっても、右側の側縁部に青色、左側の側縁部に赤色の色付きが生じるが、人間の目には、両側の側縁の色付きが相殺されることによって、そのような色付きはほとんど感じられない。   Also in this case, at the left and right side edges of the vertical line, since the human eye feels a gradual change in luminance as shown by the solid line in FIG. 13C (a), the contours of the left and right side edges are Somewhat obscure. In addition, by setting the character contribution level (character color ratio) of each color element higher as the distance from the basic color element is closer, even if the color of the line is black, the right side edge is blue, Although red coloring occurs on the left side edge, such coloring is hardly perceived by the human eye by canceling the coloring of the side edges on both sides.

なお、「太線」を表示する場合に、表示寄与レベルを画素単位で設定することも考えられる。この場合、文字色を「黒」、背景色を「白」とすることによって、異なる色相の色が出力されることなく、中間調としてグレーレベルが出力される。従って、文字または図形における骨格の基本部分を構成する基本色素子を含む骨格画素に隣接する画素の表示寄与レベルは、全ての色素子11R、11G、11Bで、最大値と最小値との中間レベルであって全て等しく設定される。   When displaying “thick line”, it may be possible to set the display contribution level in units of pixels. In this case, by setting the character color to “black” and the background color to “white”, a gray level is output as a halftone without outputting a color of a different hue. Therefore, the display contribution level of the pixels adjacent to the skeleton pixels including the basic color elements constituting the basic part of the skeleton in the character or figure is an intermediate level between the maximum value and the minimum value in all the color elements 11R, 11G, and 11B. And all are set equal.

図15Aおよび図15Bは、それぞれ、画素毎に表示寄与レベルを制御する方法の説明図である。この場合、骨格の基本部分の調整は行われず、図13A(a)に示す方法と同様に、基本部分を構成する基本色素子として、画素の左右方向の中央に位置する色素子11Gが抽出される。   15A and 15B are explanatory diagrams of a method for controlling the display contribution level for each pixel. In this case, the basic part of the skeleton is not adjusted, and the color element 11G located at the center in the left-right direction of the pixel is extracted as the basic color element constituting the basic part, as in the method shown in FIG. 13A (a). The

図15Aは、線幅を9個の色素子によって「中太線」で表示する場合を示している。図15A(a)に示すように、基本色素子11Gを含む骨格画素は、表示寄与レベルとして100%が設定され、また、骨格画素に隣接する各隣接画素を構成する色素子の表示寄与レベルは全て等しく設定される。この場合、例えば、図13B(a)に示されるように、骨格画素に隣接する各隣接画素全体の表示寄与レベルと同様にする場合には、図13B(a)に示される各隣接画素の全ての色素子の表示寄与レベルの平均値が、各隣接画素の表示寄与レベルとして設定される。   FIG. 15A shows a case where the line width is displayed as “medium thick line” by nine color elements. As shown in FIG. 15A (a), the display contribution level of the skeleton pixel including the basic color element 11G is set to 100%, and the display contribution level of the color elements constituting each adjacent pixel adjacent to the skeleton pixel is All are set equal. In this case, for example, as shown in FIG. 13B (a), in the case where the display contribution level is the same for all the adjacent pixels adjacent to the skeleton pixel, all of the adjacent pixels shown in FIG. 13B (a) The average value of the display contribution levels of the color elements is set as the display contribution level of each adjacent pixel.

出力値生成手段55においては、各画素における輝度値が、表示寄与レベルを係数として文字色と背景色とを重み付け平均することによって設定されるために、骨格画素に隣接する各画素においては、各隣接画素に含まれる色素子11R、11G、11Bは等しい画素値であって、骨格画素と背景との中間の輝度値であって背景側の輝度値に近い輝度値となる。その結果、表示される縦線は、左右に中間調の輝度値が配置される。これにより、図15A(a)の実線で示すような輝度変化が観察され、図15A(a)の点線(=図13B(a)の実線)と比べて輝度変化が緩やかになる。その結果、左右の各側縁部の輪郭の不明瞭さが増すことなる。   In the output value generation means 55, since the luminance value in each pixel is set by weighted averaging of the character color and the background color using the display contribution level as a coefficient, in each pixel adjacent to the skeleton pixel, The color elements 11R, 11G, and 11B included in the adjacent pixels have the same pixel value, which is an intermediate luminance value between the skeleton pixel and the background and is close to the luminance value on the background side. As a result, the displayed vertical lines have halftone luminance values on the left and right. As a result, a luminance change as shown by the solid line in FIG. 15A (a) is observed, and the luminance change becomes gentle compared to the dotted line in FIG. 15A (= solid line in FIG. 13B (a)). As a result, the ambiguity of the contours of the left and right side edges increases.

図15Bは、線幅を9個の色素子によって「極太線」で表示する場合の説明図である。この場合も、基本色素子11Gを含む骨格画素は、表示寄与レベルとして100%が設定され、骨格画素の両側にそれぞれ隣接する各隣接画素には、全て等しい表示寄与レベルが設定される。この場合、各隣接画素の全ての色素子に対しては「中太線」にて表示する際の各隣接画素の全ての色素子に対する表示寄与レベルよりも大きな表示寄与レベルが設定される。なお、図13C(a)に示さる各隣接画素全体の表示寄与レベルと同様の表示寄与レベルに設定する場合には、図13C(a)に示さる各隣接画素を構成する全ての色素子の表示寄与レベルの平均値が表示寄与レベルとして設定される。   FIG. 15B is an explanatory diagram in a case where the line width is displayed as “very thick line” by nine color elements. Also in this case, the display contribution level of the skeleton pixel including the basic color element 11G is set to 100%, and the same display contribution level is set to each adjacent pixel adjacent to both sides of the skeleton pixel. In this case, a display contribution level higher than the display contribution level for all the color elements of each adjacent pixel when displaying with “middle thick line” is set for all the color elements of each adjacent pixel. When the display contribution level is set to be the same as the display contribution level of the entire adjacent pixels shown in FIG. 13C (a), all the color elements constituting each adjacent pixel shown in FIG. 13C (a) are set. The average value of the display contribution level is set as the display contribution level.

出力値生成手段55においては、各画素における輝度値が、表示寄与レベルを係数として文字色と背景色とを重み付け平均することによって設定されるために、図15B(b)に示すように、骨格画素に隣接する各隣接画素では、色素子11Rの輝度値と色素子11Gの輝度値と色素子11Bの輝度値が等しく、骨格画素と背景との中間の輝度値であって骨格画素の輝度値に近い輝度値となる。表示される縦線は、左右の各側縁部に中間調の輝度値が配置され、従って、図13B(a)において実線で示すような輝度変化が観察され、図15B(a)の点線(=図13C(a)の実線)と比べて、輝度変化が緩やかに観察される。その結果、「極太線」の各側縁部における不明瞭さが増すことなる。   In the output value generation means 55, since the luminance value in each pixel is set by weighted averaging of the character color and the background color using the display contribution level as a coefficient, as shown in FIG. 15B (b), In each adjacent pixel adjacent to the pixel, the luminance value of the color element 11R, the luminance value of the color element 11G, and the luminance value of the color element 11B are equal, and the luminance value of the skeleton pixel is an intermediate luminance value between the skeleton pixel and the background. The luminance value is close to. In the displayed vertical line, halftone luminance values are arranged at the left and right side edges. Therefore, a luminance change as shown by a solid line in FIG. 13B (a) is observed, and a dotted line ( = A luminance change is observed more slowly than the solid line in FIG. 13C (a). As a result, the ambiguity at each side edge of the “extremely thick line” increases.

以上のように、縦線を「極太線」で表示する場合には、表示寄与レベルを画素単位で設定すると、図16に示すように、左右の各側縁部において輝度変化を感じる領域が広くなることから、斜め線の左右の各側縁が明確に表示されず、線幅も広く感じられるという問題がある。   As described above, when the vertical lines are displayed as “extremely thick lines”, when the display contribution level is set in units of pixels, as shown in FIG. Therefore, there is a problem that the left and right side edges of the diagonal line are not clearly displayed and the line width is felt wide.

図17は、文字を構成する斜め線を「中太線」または「極太線」として表示する場合の説明図である。図17(a)は、斜め線を示すビットマップデータであり、斜め線に対して、各画素毎に、1つの色素子が斜め方向に相互に連続するように設定されており、この設定された色素子によって骨格の基本部分が形成されている。このような斜め線を「中太線」として表示する場合には、図17(b)に示すように、各基本色素子と、各基本色素子を中心として左右に相互に隣接する各2個の色素子との合計5個の色素子に対して100%の表示寄与レベルが設定される。これにより、斜め線が「中太線」として表示される。この場合には、斜め線における各側縁が明確に表示されるために、各色素子のコーナー部が明確に観察され、斜め線の側縁部は、滑らかに表示されないという問題がある。   FIG. 17 is an explanatory diagram in the case where the oblique lines constituting the characters are displayed as “middle thick lines” or “very thick lines”. FIG. 17 (a) is bitmap data indicating a diagonal line, and one color element is set to be continuous with each other in the diagonal direction for each pixel with respect to the diagonal line. The basic part of the skeleton is formed by the color elements. When such an oblique line is displayed as a “medium thick line”, as shown in FIG. 17B, each basic color element and each two adjacent to the left and right around each basic color element are centered. A display contribution level of 100% is set for a total of five color elements. Thereby, the diagonal line is displayed as a “middle thick line”. In this case, since each side edge in the diagonal line is clearly displayed, the corner portion of each color element is clearly observed, and the side edge portion of the diagonal line is not displayed smoothly.

さらには、斜め線を「中太線」として表示する場合に、斜め線の側縁部における滑らかさが増すように、図18(a)に示すように、基本色素子が同じ画素に属している場合に、それらの画素に含まれる基本色素子の位置を、最も右側に位置する色素子11Bにシフトして、図18(b)に示すように、シフトした色素子11Bと、その本色素子11Bを中心として左右に相互に隣接する各2個の色素子との合計5個の色素子とに対して、100%の表示寄与レベルを設定する場合もある。この場合には、斜め線の各側縁において、明確に表示される色素子のコーナー部の個数が減少するために、各側縁部の滑らかさが増すことになる。しかしながら、この場合も、各側縁が明確になっていることによって、色素子のコーナー部が明確に表示されることから、各側縁は、必ずしも満足できる滑らかさにはなっていない。   Further, when the diagonal line is displayed as “middle thick line”, the basic color elements belong to the same pixel as shown in FIG. 18A so that the smoothness at the side edge of the diagonal line is increased. In this case, the position of the basic color element included in these pixels is shifted to the color element 11B located on the rightmost side, and as shown in FIG. 18B, the shifted color element 11B and the main color element 11B In some cases, a display contribution level of 100% may be set for a total of five color elements including two color elements adjacent to each other on the left and right sides. In this case, since the number of corner portions of the color elements that are clearly displayed is reduced at each side edge of the diagonal line, the smoothness of each side edge portion is increased. However, also in this case, since the corners of the color elements are clearly displayed because each side edge is clear, each side edge is not necessarily smooth enough.

また、図18(c)に示すように、シフトした色素子11Bが属する画素を骨格画素として全ての色素子に対して100%の表示寄与レベルを設定し、シフトした色素子11Bの一方(図18(c)においては右側)に隣接する画素に含まれる全ての色素子に対しては66%の表示寄与レベルを設定する場合もある。この場合には、66%の表示寄与レベルが設定された斜め線の右側の側縁が明確に表示されず、また、線幅も、広く感じられるという問題がある。   Further, as shown in FIG. 18C, a display contribution level of 100% is set for all the color elements with the pixel to which the shifted color element 11B belongs as a skeleton pixel, and one of the shifted color elements 11B (see FIG. 18). In some cases, a display contribution level of 66% is set for all the color elements included in the pixel adjacent to the right side in 18 (c). In this case, there is a problem in that the right side edge of the diagonal line with the display contribution level of 66% is not clearly displayed, and the line width is felt wide.

なお、図18(c)に示す「中太線」を「極太線」として表示する場合には、図18(d)に示すように、骨格画素の左右両側に位置する各隣接画素に含まれる全ての色素子に対して66%の表示寄与レベルが設定される。この場合には、図16に示すように、左右の各側縁部において輝度変化を感じる領域が広くなることから、斜め線の左右の各側縁が明瞭に表示されず、線幅も広く感じられるという問題がある。   When the “middle thick line” shown in FIG. 18C is displayed as “extremely thick line”, as shown in FIG. 18D, all the pixels included in the adjacent pixels located on the left and right sides of the skeleton pixel are all included. A display contribution level of 66% is set for each color element. In this case, as shown in FIG. 16, since the area where the luminance change is felt at the left and right side edges becomes wide, the left and right side edges of the diagonal line are not clearly displayed, and the line width is also felt wide. There is a problem that is.

さらには、斜め線を太く表示する場合において、表示品位をより一層向上させる方法が、前記特許文献1に開示されており、以下、この方法について説明する。この場合、まず、図19(a)に示すように、i行j列の画素について注目すると、図19(b)に示すように、その注目画素と、その注目画素に対して上下方向、横方向、斜め方向の各方向に隣接する8つの隣接画素のビットマップデータに基づいて、注目画素における横(行)方向における基本色素子を求める。具体的には、注目画素とその周囲の9個の画素における骨格画素の数と位置とに基づいて、骨格素子を構成する1個または2個または3個の色素子が基本色素子として設定される。図19(a)に示すビットマップデータでは、図19(b)に示すように、注目画素における色素子11Bのみが基本色素子とされる。他の画素についても同様に処理されることにより、図19(c)に示すように、各骨格画素に対して1または複数の基本色素子がそれぞれ設定される。そして、設定された基本色素子によって骨格の基本部分のデータが生成される。   Furthermore, a method for further improving the display quality in the case of displaying a thick diagonal line is disclosed in Patent Document 1, and this method will be described below. In this case, first, as shown in FIG. 19 (a), when attention is paid to the pixel in i row and j column, as shown in FIG. 19 (b), the target pixel, the vertical direction, A basic color element in the horizontal (row) direction of the target pixel is obtained based on bitmap data of eight adjacent pixels adjacent to each of the direction and the diagonal direction. Specifically, one, two, or three color elements constituting the skeleton element are set as basic color elements based on the number of pixels and the positions of the skeleton pixels in the target pixel and the nine surrounding pixels. The In the bitmap data shown in FIG. 19A, as shown in FIG. 19B, only the color element 11B in the target pixel is the basic color element. By processing the other pixels in the same manner, as shown in FIG. 19C, one or a plurality of basic color elements are set for each skeleton pixel. Then, data of the basic portion of the skeleton is generated by the set basic color element.

このようにして、骨格の基本部分のデータが生成されると、骨格の基本部分を構成する基本色素子と、その基本色素子の周囲の色素子との表示寄与レベルが、基本色素子からの距離に基づいて設定される。この場合、基本色素子から色素子の並び方向である横(行)方向の距離が大きくなった色素子ほど、背景色の割合が高くなるように表示寄与レベルが割り付けられる。   When the data of the basic part of the skeleton is generated in this way, the display contribution levels of the basic color elements constituting the basic part of the skeleton and the color elements around the basic color element are determined from the basic color elements. Set based on distance. In this case, the display contribution level is assigned so that the ratio of the background color increases as the distance between the basic color element and the horizontal (row) direction that is the arrangement direction of the color elements increases.

図20は、この場合の表示寄与レベル割り付け手段54による表示寄与レベルの割り付け方法の説明図である。この場合には、表示寄与レベル割り付け手段54では、輝度レベルとして、0〜15の16個の整数値を16進数で表現し、骨格の基本部分を構成する基本色素子では最大値F、基本色素子から横(行)方向にN個(本例では3個)分の色素子だけ離れた色素子(基本色素子から4番目に位置する色素子)では最小値0、それ以外の部分では1〜9の整数値、および、A、B、C、D、Eの記号に設定される。ここで、A、B、C、D、Eの記号は、それぞれ、整数値10、11、12、13、14、15を示すものであり、16進数では、それぞれ、0x0a、0x0b、0x0c、0x0d、0x0e、0x0fで表される。   FIG. 20 is an explanatory diagram of a display contribution level assignment method by the display contribution level assignment means 54 in this case. In this case, the display contribution level allocating unit 54 expresses 16 integer values of 0 to 15 as hexadecimals as luminance levels, and the basic color element constituting the basic part of the skeleton has the maximum value F and the basic color. The minimum value is 0 for a color element (color element positioned fourth from the basic color element) separated by N (three in this example) color elements in the horizontal (row) direction from the element, and 1 for other parts. It is set to an integer value of ˜9 and symbols A, B, C, D, E. Here, the symbols A, B, C, D, and E indicate integer values 10, 11, 12, 13, 14, and 15, respectively, and in hexadecimal numbers, 0x0a, 0x0b, 0x0c, and 0x0d, respectively. , 0x0e, 0x0f.

例えば、基本色素子に対して表示寄与レベルとして最大値である「F」が設定されると、この基本色素子に対して色素子の並び方向である横(行)方向に位置する3つの色素子のそれぞれに対して、表示寄与レベルとして「9」、「6」、「3」という値が割り付けられる。図20(a)に示す場合には、点線で囲むi行j列の注目画素では、色素子11Bのみが基本色素子に設定されている。よって、図20(b)に示すように、i行j列の注目画素では、基本色素子11Bに表示寄与レベルとして「F」が設定され、この基本色素子11Bに横方向に隣接する注目画素の色素子11Gには表示寄与レベルとして「9」が割り付けられ、注目画素における色素子11Rには表示寄与レベルとして「6」が割り付けられる。さらに、注目画素の左側に隣接するi行(j−1)列の画素では、注目画素に隣接する色素子11Bに対してのみ、表示寄与レベルとして「3」が割り付けられ、他の色素子に対しては、特に表示寄与レベルが設定されない。反対に、注目画素に対して右側に隣接するi行(j+1)列の画素の注目画素に隣接する色素子11Rには表示寄与レベルとして「9」が割り付けられ、その隣接画素における注目画素の遠方側に位置する色素子11Gには表示寄与レベルとして「6」が割り付けられ、さらに遠方側の色素子11Bには表示寄与レベルとして「3」が割り付けられる。同様にして表示寄与レベルが割り付けられることにより、図20(c)に示す状態になる。   For example, when “F” which is the maximum value as the display contribution level is set for the basic color element, three colors positioned in the horizontal (row) direction as the arrangement direction of the color elements with respect to the basic color element. For each element, values of “9”, “6”, and “3” are assigned as display contribution levels. In the case shown in FIG. 20A, only the color element 11B is set as the basic color element in the pixel of interest in the i row and j column surrounded by the dotted line. Therefore, as shown in FIG. 20B, in the target pixel of i row and j column, “F” is set as the display contribution level in the basic color element 11B, and the target pixel adjacent to the basic color element 11B in the horizontal direction. “9” is assigned as the display contribution level to the color element 11G, and “6” is assigned as the display contribution level to the color element 11R in the target pixel. Further, in the pixel in the i row (j−1) column adjacent to the left side of the target pixel, “3” is assigned as the display contribution level only to the color element 11B adjacent to the target pixel, and other color elements are assigned. On the other hand, the display contribution level is not particularly set. On the contrary, “9” is assigned as the display contribution level to the color element 11R adjacent to the target pixel of the pixel in the i row (j + 1) column adjacent to the right side with respect to the target pixel. “6” is assigned as the display contribution level to the color element 11G positioned on the side, and “3” is assigned as the display contribution level to the color element 11B on the far side. Similarly, when the display contribution level is assigned, the state shown in FIG.

なお、ここでは、基本色素子に対して、色素子の並び方向である左右両方向に対して同じ距離だけ離れている場合には、同じ表示寄与レベルを割り付けているが、左右の各方向に同じ距離だけ離れている色素子に対して異なる表示寄与レベルを割り付けるようにしてもよい。また、表示寄与レベルは、「9」、「6」、「3」に限定されるものではない。   Here, the same display contribution level is assigned to the basic color elements when they are separated by the same distance with respect to both the left and right directions as the arrangement direction of the color elements, but the same in each of the left and right directions. Different display contribution levels may be assigned to color elements that are separated by a distance. Further, the display contribution level is not limited to “9”, “6”, and “3”.

このようにして設定される表示寄与レベルは、表示される文字・図形の線幅を示す線幅情報31として入力される線幅レベルに基づいて、設定される表示寄与レベルがさらに補正される。   The display contribution level thus set is further corrected based on the line width level input as the line width information 31 indicating the line width of the displayed character / graphic.

図21に示す例では、入力される線幅の太さレベルに対して、基本色素子と、その基本色素子の左右方向に隣接する3個の色素子に対する表示寄与レベルの補正値が予め設定されて、テーブルとされている。このように、表示寄与レベルの補正値をテーブルとしておくことにより、入力される線幅の太さレベルに対応した表示寄与レベル補正値を容易に選択することができる。   In the example shown in FIG. 21, the correction value of the display contribution level for a basic color element and three color elements adjacent to the basic color element in the left-right direction is set in advance for the input line width thickness level. Being a table. Thus, by setting the correction value of the display contribution level as a table, it is possible to easily select the display contribution level correction value corresponding to the input line width thickness level.

図21に示すテーブルでは、1画素(3個の色素子)によって縦線の線幅を表示する通常の線幅の太さレベル「i」では、表示寄与レベルは特に補正せず、前述のようにして設定された表示寄与レベルとされる。これに対して、太さレベル「i−1」(例えば、通常の線幅に対してやや細め)では、骨格の基本部分に相当する基本色素子の表示寄与レベルが「F」、基本色素子に隣接する色素子の表示寄与レベルが「8」、基本色素子から1色素子分の距離だけ離れた色素子の表示寄与レベルが「5」、基本色素子から2色素子分の距離だけ離れた色素子の表示寄与レベルが「2」、基本色素子から3色素子分の距離だけ離れた色素子の表示寄与レベルが「0」にそれぞれ補正される。   In the table shown in FIG. 21, the display contribution level is not particularly corrected at the normal line width thickness level “i” in which the vertical line width is displayed by one pixel (three color elements), as described above. The display contribution level set as above. On the other hand, at the thickness level “i−1” (for example, slightly narrower than the normal line width), the display contribution level of the basic color element corresponding to the basic part of the skeleton is “F”. The display contribution level of the color element adjacent to the color element is “8”, the display contribution level of the color element separated from the basic color element by the distance of one color element is “5”, and the distance of the two color elements from the basic color element is separated. The display contribution level of the color element is corrected to “2”, and the display contribution level of the color element separated from the basic color element by a distance of three color elements is corrected to “0”.

また、太さレベル「i+1」(通常の線幅に対してやや太めである「中太線」)では、骨格の基本部分に相当する基本色素子の表示寄与レベルが「F」、基本色素子に隣接する色素子の表示寄与レベルが「A」、基本色素子から1色素子分の距離だけ離れた色素子の表示寄与レベルが「7」、基本色素子から2色素子分の距離だけ離れた色素子の表示寄与レベルが「4」、基本色素子から3色素子分の距離だけ離れた色素子の表示寄与レベルが「0」に補正される。さらに、太さレベル「i+2」(「中太線」よりも縦線幅が太い「極太線」)では、骨格の基本部分に相当する基本色素子の表示寄与レベルが「F」、基本色素子に隣接する色素子の表示寄与レベルが「B」、基本色素子から1色素子分の距離だけ離れた色素子の表示寄与レベルが「8」、基本色素子から2色素子分の距離だけ離れた色素子の表示寄与レベルが「5」、基本色素子から3色素子分の距離だけ離れた色素子の輝度レベルが「0」に補正される。   At the thickness level “i + 1” (“medium thick line”, which is slightly thicker than the normal line width), the display contribution level of the basic color element corresponding to the basic part of the skeleton is “F”, and the basic color element is The display contribution level of the adjacent color element is “A”, the display contribution level of the color element separated from the basic color element by the distance of one color element is “7”, and the distance of the two color elements is separated from the basic color element. The display contribution level of the color element is corrected to “4”, and the display contribution level of the color element that is separated from the basic color element by a distance of three color elements is corrected to “0”. Further, at the thickness level “i + 2” (“extremely thick line” whose vertical line width is thicker than “middle thick line”), the display contribution level of the basic color element corresponding to the basic part of the skeleton is “F”, and the basic color element is The display contribution level of the adjacent color element is “B”, the display contribution level of the color element separated from the basic color element by the distance of one color element is “8”, and the distance of the two color elements is separated from the basic color element. The display contribution level of the color element is corrected to “5”, and the luminance level of the color element that is separated from the basic color element by a distance of three color elements is corrected to “0”.

この場合、太さレベル「i」と太さレベル「i+1」とを比較してみると、骨格の基本部分に相当する基本色素子の表示寄与レベルはそれぞれ「F」と等しく、また、基本色素子から3色素子分の距離だけ離れた色素子の表示寄与レベルもそれぞれ「0」と等しくなっているが、その間に位置する各色素子の輝度レベルは、太さレベルi+1の方が、骨格の基本部分を形成する基本色素子の表示寄与レベルに近い数値になっており、背景色よりもさらに文字色に近い表示寄与レベルに補正されていることを意味している。   In this case, comparing the thickness level “i” with the thickness level “i + 1”, the display contribution level of the basic color element corresponding to the basic portion of the skeleton is equal to “F”, and the basic color The display contribution levels of the color elements that are separated from the elements by the distance of the three color elements are also equal to “0”. However, the brightness level of each color element positioned between them is the thickness level i + 1 of the skeleton. The numerical value is close to the display contribution level of the basic color element forming the basic portion, which means that the display contribution level is corrected to be closer to the character color than the background color.

このようにして、表示寄与レベル割り付け手段54によって表示寄与レベルの補正値が設定されると、設定された表示寄与レベルの補正値が、出力値生成手段55に与えられる。出力値生成手段55では、各色素子毎に設定された輝度レベルが、画素単位にまとめられ、各画素毎に輝度レベルが生成される。例えば、出力値生成手段55には、1画素毎の表示寄与レベル集合と、文字色/背景色情報33に対応した輝度値とが対応付けられた輝度テーブルが設けられており、文字色/背景色情報33に対応した輝度値を出力することにより、表示部10に所定の太さの縦線による文字が生成される。   In this way, when the display contribution level correction value is set by the display contribution level assigning unit 54, the set display contribution level correction value is given to the output value generation unit 55. In the output value generation means 55, the luminance level set for each color element is collected in units of pixels, and the luminance level is generated for each pixel. For example, the output value generation means 55 is provided with a luminance table in which a display contribution level set for each pixel and a luminance value corresponding to the character color / background color information 33 are associated with each other. By outputting a luminance value corresponding to the color information 33, a character with a vertical line having a predetermined thickness is generated on the display unit 10.

例えば、出力値生成手段55では、1つの画素を構成する3つの色素子の表示寄与レベ
ルが「F、F、F」であれば、その画素の色素子11R、11G、11Bの輝度値として予め設定された(0,0,0)が出力され、画素を構成する色素子の表示寄与レベルが「0、0、0」であれば、その画素の色素子11R、11G、11Bの輝度値として(255,255,255)が出力される。各色素子11R、11G、11Bの表示寄与レベル「3」、「6」、「9」については、色素子11R、11G、11Bの種類に対応する輝度値が設定され、それぞれの色素子の表示寄与レベルが等しい場合であっても、「色素子11Rの輝度値」≧「色素子11Gの輝度値」≧「色素子11Bの輝度値」とされる。
For example, in the output value generation means 55, if the display contribution level of the three color elements constituting one pixel is “F, F, F”, the luminance values of the color elements 11R, 11G, and 11B of the pixel are stored in advance. If the set (0, 0, 0) is output and the display contribution level of the color elements constituting the pixel is “0, 0, 0”, the luminance values of the color elements 11R, 11G, and 11B of the pixel are obtained. (255, 255, 255) is output. For the display contribution levels “3”, “6”, and “9” of the color elements 11R, 11G, and 11B, luminance values corresponding to the types of the color elements 11R, 11G, and 11B are set. Even when the levels are equal, “the luminance value of the color element 11R” ≧ “the luminance value of the color element 11G” ≧ “the luminance value of the color element 11B”.

また、骨格画素に隣接する各隣接画素を構成する色素子の表示寄与レベルが「3、6、9」であれば、色素子11R、11G、11Bの輝度値を満たすような輝度値、例えば(230,202,168)などの値が出力される。ここで、R、G、Bの輝度値が(230,202,168)では赤みがかった表示状態となるが、骨格画素に対して反対側に隣接する画素の輝度値を、例えば(168,202,230)とRとBの輝度値を反転した値に設定して、基本部分の近傍でR、G、B個々の輝度値の出力値が等しくなるように調整することにより、色付きを抑制することができる。   Further, if the display contribution level of the color elements constituting each adjacent pixel adjacent to the skeleton pixel is “3, 6, 9”, a luminance value that satisfies the luminance values of the color elements 11R, 11G, and 11B, for example ( 230, 202, 168) and the like are output. Here, when the luminance values of R, G, and B are (230, 202, 168), the display state is reddish. For example, the luminance values of pixels adjacent to the opposite side of the skeleton pixel are (168, 202, 230) and the luminance values of R and B are inverted and adjusted so that the output values of the R, G, and B luminance values are equal in the vicinity of the basic portion, thereby suppressing coloring. Can do.

図22は、このような動作をする表示寄与レベル割り付け手段54に対する出力値生成手段55の動作を説明するための図である。   FIG. 22 is a diagram for explaining the operation of the output value generating means 55 for the display contribution level assigning means 54 that performs such an operation.

例えば、図22(a)に点線で囲むi行j列の画素における色素子11R、11G、11Bの各色素子に割り付けられた表示寄与レベルは、「6、9、F」となっている。この場合、例えば(202,169,0)などの輝度値が出力されることにより、各色素子は、その輝度値に対応した表示とされる。同様にして、ビットマップデータを構成する全画素に対して輝度値が設定されることによって、図22(c)に示すような表示状態が得られる。なお、各画素を構成する3つの色素子の表示寄与レベルの組合せに応じた各色素子の輝度値を予め設定して、図22(b)に示すようなテーブルとしてもよい。
特開2003−248476号公報
For example, the display contribution levels assigned to the color elements 11R, 11G, and 11B in the pixels of i rows and j columns surrounded by a dotted line in FIG. 22A are “6, 9, F”. In this case, for example, by outputting a luminance value such as (202, 169, 0), each color element is displayed corresponding to the luminance value. Similarly, the display state as shown in FIG. 22C is obtained by setting the luminance value for all the pixels constituting the bitmap data. Note that the luminance value of each color element corresponding to the combination of the display contribution levels of the three color elements constituting each pixel may be set in advance to form a table as shown in FIG.
JP 2003-248476 A

上述の従来技術では、文字等の縦線を太く表示する場合には、骨格における基本部分を構成する色素子が抽出されると、抽出された色素子を中心として、左右方向に隣接する各色素子の表示寄与レベルを設定している。このために、各画素単位で輝度値が設定されることになり、表示される縦線は、しかも、左右の各側縁部において輝度の階調レベルが左右方向に広がった状態に表示されることになり、各側縁が必ずしも明瞭に表示されるものではなく、縦線の輪郭がぼけて観察されるおそれがある。このために、太線によって表示される文字等の画像は、必ずしも高品位で表示されるものではないという問題がある。   In the above-described prior art, when displaying vertical lines such as characters thickly, when the color elements constituting the basic part in the skeleton are extracted, each color element adjacent in the left-right direction centering on the extracted color elements The display contribution level is set. For this reason, the luminance value is set for each pixel, and the displayed vertical lines are displayed in a state where the luminance gradation level spreads in the left-right direction at the left and right side edges. In other words, each side edge is not always clearly displayed, and the outline of the vertical line may be blurred and observed. For this reason, there is a problem that images such as characters displayed by thick lines are not necessarily displayed with high quality.

本発明は、上記従来の問題を解決するものであり、その目的は、縦線を太く表示する場合にも、各側縁部がぼけて表示されることを抑制して、各側縁の輪郭を明瞭に表示することを可能にする画像データ生成装置、画像データ生成方法、その画像データ生成方法をコンピュータに実行させるためのプログラムおよびそのプログラムが格納されたコンピュータ読み取り可能な記憶媒体を提供することにある。   The present invention solves the above-described conventional problems, and the object thereof is to suppress the display of each side edge portion in a blurred manner even when the vertical line is displayed thick, and the contour of each side edge. Data display apparatus, image data generation method, program for causing a computer to execute the image data generation method, and a computer-readable storage medium storing the program It is in.

本発明の画像データ生成装置は、画像データを生成する画像データ生成装置であって、前記画像データは、複数のピクセルを有する表示装置に画像を表示するために使用され、前記複数のピクセルのそれぞれは、所定の方向に配列された複数のサブピクセルに物理的または論理的に分割されており、前記画像データ生成装置は、文字データまたは図形データに基づいて、文字または図形の骨格を表す基本部分をサブピクセル単位で形成する基本部分形成手段であって、前記基本部分を構成するサブピクセルを基本サブピクセルとして規定する基本部分形成手段と、単一のピクセルに含まれる前記複数のサブピクセルのそれぞれの位置のうち前記基本サブピクセルの個数が最小である位置に応じて、前記基本部分を構成するすべての基本サブピクセルを前記所定の方向にサブピクセル単位でシフトすることによって、シフトされた基本部分を形成し、これにより前記文字または前記図形の骨格を調整する骨格調整手段と、前記シフトされた基本部分と前記文字または前記図形の線幅を規定する線幅情報とに基づいて、前記基本サブピクセルが属する骨格ピクセルおよび前記骨格ピクセルに隣接する少なくとも1つの隣接ピクセルのそれぞれに対して、当該ピクセルが前記文字または前記図形の表示に寄与する割合を示す表示寄与レベルを割り付ける表示寄与レベル割り付け手段と、前記骨格ピクセルまたは前記隣接ピクセルに割り付けられた前記表示寄与レベルを輝度値に変換し、前記骨格ピクセルまたは前記隣接ピクセルに前記輝度値が設定された画像データを出力する出力値生成手段とを備えており、これにより、上記目的が達成される。   The image data generation device of the present invention is an image data generation device that generates image data, and the image data is used to display an image on a display device having a plurality of pixels, and each of the plurality of pixels Is physically or logically divided into a plurality of sub-pixels arranged in a predetermined direction, and the image data generation device is a basic portion that represents a skeleton of a character or a figure based on the character data or the figure data. Each of the plurality of subpixels included in a single pixel, and a basic part forming unit that defines subpixels constituting the basic portion as basic subpixels. All the basic sub-pixels constituting the basic part according to the position where the number of the basic sub-pixels is the smallest among the positions. Shifting a cell in sub-pixel units in the predetermined direction to form a shifted basic part, thereby adjusting a skeleton of the character or the figure, the shifted basic part, For each of the skeleton pixel to which the basic subpixel belongs and at least one adjacent pixel adjacent to the skeleton pixel based on the line width information defining the line width of the character or the figure, the pixel is the character or Display contribution level assigning means for assigning a display contribution level indicating a ratio contributing to the display of the figure, and converting the display contribution level assigned to the skeleton pixel or the adjacent pixel into a luminance value, and the skeleton pixel or the adjacent Output value generation that outputs image data in which the luminance value is set for a pixel And a stage, whereby the above-mentioned object can be achieved.

前記骨格調整手段は、単一のピクセルに含まれる前記複数のサブピクセルのそれぞれの位置のうち中央の位置に存在する前記基本サブピクセルの個数が最小である場合には、前記基本部分を構成するすべての基本サブピクセルをシフトせず、単一のピクセルに含まれる前記複数のサブピクセルのそれぞれの位置のうち中央の位置から前記所定の方向とは反対の方向にある位置に存在する前記基本サブピクセルの個数が最小である場合には、前記基本部分を構成するすべての基本サブピクセルを前記所定の方向にシフトし、単一のピクセルに含まれる前記複数のサブピクセルのそれぞれの位置のうち中央の位置から前記所定の方向にある位置に存在する前記基本サブピクセルの個数が最小である場合には、前記基本部分を構成するすべての基本サブピクセルを前記所定の方向とは反対の方向にシフトしてもよい。   The skeleton adjustment means constitutes the basic portion when the number of the basic sub-pixels present at the center among the positions of the plurality of sub-pixels included in a single pixel is the smallest. All of the basic sub-pixels are not shifted, and the basic sub-pixels are located at positions in the direction opposite to the predetermined direction from the center position among the positions of the plurality of sub-pixels included in the single pixel. When the number of pixels is minimum, all the basic subpixels constituting the basic portion are shifted in the predetermined direction, and the center among the positions of the plurality of subpixels included in a single pixel is shifted. If the number of the basic sub-pixels existing at the position in the predetermined direction from the position of the base is the smallest, all the basics constituting the basic part Bupikuseru may be shifted in a direction opposite to the said predetermined direction.

前記表示寄与レベル割り付け手段は、前記骨格ピクセルに最大の表示寄与レベルを割り付け、前記少なくとも1つの隣接ピクセルのうちの第1の隣接ピクセルが前記少なくとも1つの隣接ピクセルのうちの第2の隣接ピクセルよりも前記骨格ピクセルを構成する基本サブピクセルに近接している場合には、前記第1の隣接ピクセルの表示寄与レベルが前記第2の隣接ピクセルの表示寄与レベルよりも高くなるように、前記少なくとも1つの隣接ピクセルのそれぞれに前記最大の表示寄与レベル以外の表示寄与レベルを割り付けてもよい。   The display contribution level assigning means assigns a maximum display contribution level to the skeleton pixel, and a first neighboring pixel of the at least one neighboring pixel is more than a second neighboring pixel of the at least one neighboring pixel. In the case where it is close to the basic subpixels constituting the skeleton pixel, the display contribution level of the first adjacent pixel is higher than the display contribution level of the second adjacent pixel. A display contribution level other than the maximum display contribution level may be assigned to each of two adjacent pixels.

前記表示寄与レベル割り付け手段は、前記文字または前記図形に含まれる縦線または斜め線を「中太線」として表示する場合には、前記第2の隣接ピクセルに最小の表示寄与レベルを割り付けてもよい。   The display contribution level allocating unit may allocate a minimum display contribution level to the second adjacent pixel when a vertical line or a diagonal line included in the character or the graphic is displayed as a “medium thick line”. .

前記表示寄与レベル割り付け手段は、前記文字または前記図形に含まれる縦線または斜め線を「極太線」として表示する場合には、前記第1の隣接ピクセルに最大の表示寄与レベルを割り付け、前記第2の隣接ピクセルに最大の表示寄与レベルと最小の表示寄与レベルとの間にある中間の表示寄与レベルを割り付けてもよい。   The display contribution level assigning means assigns a maximum display contribution level to the first adjacent pixel when displaying a vertical line or diagonal line included in the character or the graphic as a “thick line”. An intermediate display contribution level between the maximum display contribution level and the minimum display contribution level may be assigned to two adjacent pixels.

前記画像データ生成装置は、前記基本部分の形状に基づいて、前記基本部分の一部を構成する基本サブピクセルの個数を計数しないように構成されていてもよい。   The image data generation device may be configured not to count the number of basic sub-pixels constituting a part of the basic part based on the shape of the basic part.

前記画像データ生成装置は、前記基本サブピクセルの個数に重み係数を乗算することにより、前記基本サブピクセルの重み付けられた個数を計算してもよい。   The image data generation device may calculate the weighted number of the basic subpixels by multiplying the number of the basic subpixels by a weighting factor.

前記基本部分形成手段は、前記文字または前記図形が複数のブロックに分割されている場合には、各ブロック毎に前記基本部分を形成してもよい。   The basic part forming means may form the basic part for each block when the character or the graphic is divided into a plurality of blocks.

前記文字データまたは前記図形データは、ビットマップデータであってもよい。   The character data or the graphic data may be bitmap data.

前記複数のピクセルは、マトリクス状に配列されており、前記所定の方向は、前記マトリクスの行方向または列方向であってもよい。   The plurality of pixels may be arranged in a matrix, and the predetermined direction may be a row direction or a column direction of the matrix.

前記複数のピクセルのそれぞれは、赤(R)色を表示するR色素子と、緑(G)色を表示するG色素子と、青(B)色を表示するB色素子とをサブピクセルとして含み、前記R色素子、前記G色素子、前記B色素子は、前記マトリクスの行方向または列方向に、前記R色素子、前記G色素子、前記B色素子の順番で配置されていてもよい。   Each of the plurality of pixels includes an R color element that displays a red (R) color, a G color element that displays a green (G) color, and a B color element that displays a blue (B) color as subpixels. The R color element, the G color element, and the B color element may be arranged in the order of the R color element, the G color element, and the B color element in the row direction or the column direction of the matrix. Good.

本発明の画像データ生成方法は、画像データを生成する画像データ生成方法であって、前記画像データは、複数のピクセルを有する表示装置に画像を表示するために使用され、前記複数のピクセルのそれぞれは、所定の方向に配列された複数のサブピクセルに物理的または論理的に分割されており、前記画像データ生成方法は、文字データまたは図形データに基づいて、文字または図形の骨格を表す基本部分をサブピクセル単位で形成するステップであって、前記基本部分を構成するサブピクセルを基本サブピクセルとして規定するステップと、単一のピクセルに含まれる前記複数のサブピクセルのそれぞれの位置のうち前記基本サブピクセルの個数が最小である位置に応じて、前記基本部分を構成するすべての基本サブピクセルを前記所定の方向にサブピクセル単位でシフトすることによって、シフトされた基本部分を形成し、これにより前記文字または前記図形の骨格を調整するステップと、前記シフトされた基本部分と前記文字または前記図形の線幅を規定する線幅情報とに基づいて、前記基本サブピクセルが属する骨格ピクセルおよび前記骨格ピクセルに隣接する少なくとも1つの隣接ピクセルのそれぞれに対して、当該ピクセルが前記文字または前記図形の表示に寄与する割合を示す表示寄与レベルを割り付けるステップと、前記骨格ピクセルまたは前記隣接ピクセルに割り付けられた前記表示寄与レベルを輝度値に変換し、前記骨格ピクセルまたは前記隣接ピクセルに前記輝度値が設定された画像データを出力するステップとを包含し、これにより、上記目的が達成される。   The image data generation method of the present invention is an image data generation method for generating image data, wherein the image data is used for displaying an image on a display device having a plurality of pixels, and each of the plurality of pixels is displayed. Is physically or logically divided into a plurality of sub-pixels arranged in a predetermined direction, and the image data generation method is a basic part that represents a skeleton of a character or graphic based on character data or graphic data. A sub-pixel unit, defining a sub-pixel constituting the basic portion as a basic sub-pixel, and among the positions of the plurality of sub-pixels included in a single pixel, the basic pixel Depending on the position where the number of subpixels is minimum, all the basic subpixels constituting the basic portion are set to the predetermined number. Shifting the direction by sub-pixel units to form a shifted basic part, thereby adjusting the skeleton of the character or the figure, and the shifted basic part and the line width of the character or the figure For each of the skeleton pixel to which the basic sub-pixel belongs and at least one adjacent pixel adjacent to the skeleton pixel, the pixel contributes to the display of the character or the figure. Assigning a display contribution level indicating a ratio; and converting the display contribution level assigned to the skeleton pixel or the adjacent pixel into a luminance value, and setting the luminance value to the skeleton pixel or the adjacent pixel. To achieve the above purpose. That.

本発明のプログラムは、上述した方法における各ステップをコンピュータに実行させるためのプログラムであり、これにより、上記目的が達成される。   The program of the present invention is a program for causing a computer to execute each step in the above-described method, thereby achieving the above object.

本発明の記憶媒体は、上述したプログラムが格納されたコンピュータ読み取り可能な記憶媒体であり、これにより、上記目的が達成される。   The storage medium of the present invention is a computer-readable storage medium storing the above-described program, thereby achieving the above object.

本発明は、このように、縦線を太く表示する場合にも、各側縁部がぼけて表示されることを抑制して、各側縁の輪郭を明確に表示することができ、表示品位を著しく向上させることができる。   As described above, the present invention can suppress the display of each side edge portion blurring and display the outline of each side edge clearly even when the vertical line is displayed thick. Can be significantly improved.

図1は、本発明の実施形態に係る文字図形表示装置の要部構成を示すブロック図FIG. 1 is a block diagram showing a main configuration of a character graphic display device according to an embodiment of the present invention. 図2Aの(a)は、縦方向の直線(縦線)の骨格部分の線幅が横方向に相互に隣接する5個の色素子によって構成される「仮想中太線」の表示部における表示状態を示す模式図、図2Aの(b)は、その表示される「仮想中太線」の表示寄与レベルを示す図FIG. 2A shows a display state of the “virtual middle thick line” in the display unit, in which the line width of the skeleton portion of the vertical straight line (vertical line) is composed of five color elements adjacent to each other in the horizontal direction. FIG. 2B is a schematic diagram showing the display contribution level of the displayed “virtual middle thick line”. 図2Bの(a)は、「仮想中太線」の基本色素子の位置をシフトさせた状態での表示寄与レベルを示す図、図2Bの(b)は、その表示状態を示す模式図2A is a diagram showing a display contribution level in a state where the position of the basic color element of “virtual middle thick line” is shifted, and FIG. 2B is a schematic diagram showing the display state. 図2Cの(a)は、「仮想中太線」の基本色素子の位置をシフトさせて各画素毎に表示寄与レベルを設定した状態を示す図、図2Cの(b)は、その表示状態を示す模式図FIG. 2C (a) is a diagram showing a state in which the display contribution level is set for each pixel by shifting the position of the basic color element of the “virtual middle thick line”, and FIG. 2C (b) shows the display state. Schematic diagram showing 図3の(a)〜(c)は、それぞれ、「仮想中太線」の基本色素子の位置をシフトさせて各画素毎に表示寄与レベルを設定した場合における表示される「中太線」の輝度変化の説明図FIGS. 3A to 3C show the brightness of the “middle thick line” displayed when the position of the basic color element of the “virtual middle thick line” is shifted and the display contribution level is set for each pixel. Illustration of change 図4Aの(a)は、縦方向の直線(縦線)の骨格部分の線幅が横方向に相互に隣接する7個の色素子によって構成される「仮想極太線」の表示部における表示状態を示す模式図、図4Aの(b)は、その表示される「仮想極太線」の表示寄与レベルを示す図FIG. 4A shows the display state of the “virtual thick line” in the display unit, in which the line width of the skeleton portion of the straight line (vertical line) in the vertical direction is composed of seven color elements adjacent to each other in the horizontal direction. FIG. 4A is a schematic diagram showing the display contribution level of the displayed “virtual thick line”. 図4Bの(a)は、「仮想極太線」の基本色素子の位置をシフトさせた状態での表示寄与レベルを示す図、図4Bの(b)は、その表示状態を示す模式図4A is a diagram showing a display contribution level in a state where the position of the basic color element of the “virtual thick line” is shifted, and FIG. 4B is a schematic diagram showing the display state. 図4Cの(a)は、「仮想極太線」の基本色素子の位置をシフトさせて各画素毎に表示寄与レベルを設定した状態を示す図、図4Cの(b)は、その表示状態を示す模式図FIG. 4C is a diagram showing a state in which the position of the basic color element of the “virtual thick line” is shifted to set the display contribution level for each pixel, and FIG. 4C (b) shows the display state. Schematic diagram showing 図5は、図1の文字図形表示装置の動作を説明するフローチャートFIG. 5 is a flowchart for explaining the operation of the character graphic display device of FIG. 図6の(a)〜(e)は、それぞれ、図1の文字図形表示装置の制御部20の制御を、「H」の文字データが入力される場合の説明図6 (a) to 6 (e) are diagrams for explaining the control of the control unit 20 of the character graphic display device of FIG. 1 when character data “H” is input. 図7の(a)は、文字「H」を「中太線」で表示する場合に、基本色素子の位置をシフトさせた状態の表示寄与レベルを示す図、図7の(b)は、それを表形式で示す図FIG. 7A shows a display contribution level in a state where the position of the basic color element is shifted when the character “H” is displayed by “middle thick line”, and FIG. Showing in tabular form 図8の(a)は、文字「H」を「極太線」で表示する場合に、基本色素子の位置をシフトさせた状態の表示寄与レベルを示す図、図8の(b)は、それを表形式で示す図FIG. 8A shows a display contribution level in a state where the position of the basic color element is shifted when the character “H” is displayed as “extremely thick line”, and FIG. Showing in tabular form 図9はの(a)は、斜め線の骨格に対する基本部分を構成する基本色素子を示す模式図、図9の(b)は、その斜め線を本発明の文字図形表示装置によって表示した状態を示す模式図9A is a schematic diagram showing a basic color element constituting a basic portion with respect to a skeleton of diagonal lines, and FIG. 9B is a state in which the diagonal lines are displayed by the character graphic display device of the present invention. Schematic diagram showing 図10の(a)〜(c)は、それぞれ、外側に骨格を有するとともに、内側にも骨格を有する文字を、本発明の文字図形表示装置によって「中太線」で表示する場合の説明図FIGS. 10A to 10C are explanatory diagrams in the case where characters having a skeleton on the outside and a skeleton on the inside are displayed as “middle thick lines” by the character graphic display device of the present invention. 図11の(a)〜(c)は、それぞれ、複数ブロックによって構成された文字を、本発明の文字図形表示装置によって「中太線」で表示する場合の説明図11 (a) to 11 (c) are explanatory diagrams in the case where a character composed of a plurality of blocks is displayed as “middle thick line” by the character graphic display device of the present invention. 図12は、従来の表示装置の要部構成を示すブロック図FIG. 12 is a block diagram showing a main configuration of a conventional display device. 図13Aの(a)は、縦方向の直線(縦線)のビットマップデータを示す模式図、図13Aの(b)は、その縦線の表示寄与レベルを示す図、図13Aの(c)は、ビットマップデータから抽出された基本色素子を示す模式図FIG. 13A is a schematic diagram showing bit map data of a vertical straight line (vertical line), FIG. 13A is a diagram showing the display contribution level of the vertical line, and FIG. Fig. 4 is a schematic diagram showing basic color elements extracted from bitmap data 図13Bの(a)は、従来の表示装置によって縦線を「中太線」で表示する場合の表示寄与レベルを示す図、図13Bの(b)は、その表示状態を示す模式図13A is a diagram showing a display contribution level when a vertical line is displayed as a “medium thick line” by a conventional display device, and FIG. 13B (b) is a schematic diagram showing a display state thereof. 図13Cの(a)は、従来の表示装置によって縦線を「極太線」で表示する場合の表示寄与レベルを示す図、図13Cの(b)は、その表示状態を示す模式図FIG. 13C is a diagram showing a display contribution level when a vertical line is displayed as a “very thick line” by a conventional display device, and FIG. 13C is a schematic diagram showing a display state thereof. 図14は、従来の表示装置によって縦線を「中太線」で表示する場合における表示される「中太線」の輝度変化の説明図FIG. 14 is an explanatory diagram of a luminance change of “middle thick line” displayed when a vertical line is displayed as “middle thick line” by a conventional display device. 図15Aの(a)は、従来の表示装置によって縦線を「中太線」で表示する場合の他の例における表示寄与レベルを示す図、図15Aの(b)は、その表示状態を示す模式図15A is a diagram showing a display contribution level in another example in which a vertical line is displayed as a “medium thick line” by a conventional display device, and FIG. 15A is a schematic diagram showing a display state thereof. Figure 図15Bの(a)は、従来の表示装置によって縦線を「極太線」で表示する場合の他の例における表示寄与レベルを示す図、図15Bの(b)は、その表示状態を示す模式図FIG. 15B is a diagram showing a display contribution level in another example in which vertical lines are displayed as “extremely thick lines” by a conventional display device, and FIG. 15B is a schematic diagram showing the display state. Figure 図16は、従来の表示装置によって縦線を「極太線」で表示する場合における表示される「極太線」の輝度変化の説明図FIG. 16 is an explanatory diagram of a luminance change of the “thick line” displayed when the vertical line is displayed as “thick line” by the conventional display device. 図17の(a)は、斜め線を示すビットマップデータの模式図、図17の(b)は、従来の表示装置によって斜め線を「中太線」で表示した状態を示す模式図17A is a schematic diagram of bitmap data indicating a diagonal line, and FIG. 17B is a schematic diagram illustrating a state in which the diagonal line is displayed as a “medium thick line” by a conventional display device. 図18の(a)は、斜め線を示すビットマップデータから基本色素子を抽出した状態を示す模式図、図18の(b)は、従来の表示装置によって、抽出された基本色素子に基づいて斜め線を「中太線」で表示した状態を示す模式図、図18の(c)は、従来の表示装置によって、抽出された基本色素子に基づいて斜め線を「中太線」で表示する他の例における表示状態を示す模式図、図18の(d)は、従来の表示装置によって、抽出された基本色素子に基づいて斜め線を「極太線」として表示する場合における表示状態を示す模式図FIG. 18A is a schematic diagram showing a state in which basic color elements are extracted from bitmap data showing diagonal lines, and FIG. 18B is based on basic color elements extracted by a conventional display device. FIG. 18C is a schematic diagram showing a state in which diagonal lines are displayed as “middle thick lines”, and FIG. 18C shows diagonal lines as “middle thick lines” based on basic color elements extracted by a conventional display device. FIG. 18D is a schematic diagram showing a display state in another example, and FIG. 18D shows a display state when a diagonal line is displayed as a “thick line” based on the extracted basic color element by a conventional display device. Pattern diagram 図19の(a)〜(c)は、それぞれ、従来の表示装置によって、斜め線を太線で表示する場合の他の例の説明図19 (a) to 19 (c) are explanatory diagrams of other examples in the case where diagonal lines are displayed as bold lines by a conventional display device, respectively. 図20の(a)〜(c)は、それぞれ、図19に示す表示例における輝度値の設定例の説明図20 (a) to 20 (c) are explanatory diagrams of setting examples of luminance values in the display example shown in FIG. 図21は、図19に示す表示例における輝度値の設定例を示す表形式の図FIG. 21 is a table format showing an example of setting the luminance value in the display example shown in FIG. 図22の(a)〜(c)は、それぞれ、図19に示す表示例における輝度値の設定例の説明図22 (a) to 22 (c) are explanatory diagrams of setting examples of luminance values in the display example shown in FIG.

符号の説明Explanation of symbols

10 表示部
20A 制御部
21 基本部分形成手段
22 基本色素子計数手段
23 骨格調整手段
24 表示寄与レベル割り付け手段
25 出力値生成手段
31 文字・図形データ
32 線幅情報
33 文字色/背景色情報
DESCRIPTION OF SYMBOLS 10 Display part 20A Control part 21 Basic part formation means 22 Basic color element counting means 23 Skeletal adjustment means 24 Display contribution level assignment means 25 Output value generation means 31 Character / graphic data 32 Line width information 33 Character color / background color information

以下に、本発明の実施形態について、図面に基づいて説明する。   Embodiments of the present invention will be described below with reference to the drawings.

なお、以下の説明では、文字または図形がベクトル形式で実現されているものとする。ベクトル形式とは、例えばストロークを、開始点及び終了点の座標点列で表したものである。通常、ベクトル形式のデータは、実際に用いる文字サイズより大きな数値で表されているため、実際の大きさにスケール変換することが必要となるが、その際に誤差が生じてしまう。そこで、本実施形態では、誤差を少なくするために、骨格の基本部分(ベクトルデータの端点を繋ぐ線分)が、色素子単位で生成するものとする。   In the following description, it is assumed that characters or figures are realized in vector format. In the vector format, for example, a stroke is expressed by a coordinate point sequence of a start point and an end point. In general, vector format data is represented by a numerical value larger than the character size actually used. Therefore, it is necessary to perform scale conversion to an actual size, but an error occurs at that time. Therefore, in this embodiment, in order to reduce the error, the basic part of the skeleton (the line connecting the end points of the vector data) is generated in units of color elements.

図1は、本発明の実施形態に係る文字図形表示装置の要部構成を示すブロック図である。図1に示す文字表示装置は、図12に示す文字表示装置と同様に、表示画面に文字または図形が表示される表示部10と、表示部10を制御する制御部20とを有している。   FIG. 1 is a block diagram showing a main configuration of a character graphic display device according to an embodiment of the present invention. Similar to the character display device shown in FIG. 12, the character display device shown in FIG. 1 includes a display unit 10 that displays characters or figures on a display screen, and a control unit 20 that controls the display unit 10. .

表示部10は、例えば液晶表示装置によって構成されており、その表示画面に複数の画素(ピクセル)11がマトリクス状に配置されている。各画素は、それぞれがR(赤色)、G(緑色)、B(青色)の表示が可能な3種類の色素子(サブピクセル)11R、11Gおよび11Bによって構成されている。各色素子11R、11Gおよび11Bは、横(行)方向に沿って、その順番に並んで配置されている。そして、各画素11を構成する各色素子11R、11Gおよび11Bの輝度値を制御することによって、表示画面に、文字、図形等がカラー表示される。   The display unit 10 is configured by, for example, a liquid crystal display device, and a plurality of pixels (pixels) 11 are arranged in a matrix on the display screen. Each pixel includes three types of color elements (sub-pixels) 11R, 11G, and 11B that can display R (red), G (green), and B (blue). The color elements 11R, 11G, and 11B are arranged in that order along the horizontal (row) direction. Then, by controlling the luminance values of the color elements 11R, 11G and 11B constituting each pixel 11, characters, figures, etc. are displayed in color on the display screen.

制御部20は、基本部分形成手段21と、基本色素子計数手段22と、骨格調整手段23と、表示寄与レベル割り付け手段24と、出力値生成手段25とを有している。   The control unit 20 includes a basic part forming unit 21, a basic color element counting unit 22, a skeleton adjusting unit 23, a display contribution level assigning unit 24, and an output value generating unit 25.

制御部20に設けられた基本部分形成手段21には、図12に示す表示装置と同様に、文字・図形データ31が入力されるようになっており、図12に示す表示装置の基本部分形成手段21と同様に、入力された文字・図形データに対応するビットマップデータに基づいて、文字または図形の骨格の基本部分を形成する色素子11R、11Gまたは11Bが基本色素子として抽出される。この基本部分形成手段21にて抽出された基本色素子に関するデータは、基本色素子計数手段22および骨格調整手段23にそれぞれ与えられる。   Character / graphic data 31 is input to the basic part forming means 21 provided in the control unit 20 as in the display device shown in FIG. 12, and the basic part formation of the display device shown in FIG. Similar to the means 21, the color elements 11R, 11G or 11B forming the basic part of the skeleton of the character or graphic are extracted as basic color elements based on the bitmap data corresponding to the input character / graphic data. Data relating to the basic color elements extracted by the basic part forming means 21 is given to the basic color element counting means 22 and the skeleton adjusting means 23, respectively.

基本色素子計数手段22では、基本部分形成手段21にて抽出された基本色素子数が各色毎に計数されて、その計数結果が骨格調整手段23に与えられる。   In the basic color element counting unit 22, the number of basic color elements extracted by the basic part forming unit 21 is counted for each color, and the counting result is given to the skeleton adjusting unit 23.

骨格調整手段23には、文字または図形を構成する縦線または斜め線の線幅情報32が与えられとともに、基本部分形成手段21からの基本色素子に関するデータおよび基本色素子計数手段22による計数結果も与えられており、表示される文字または図形の線幅と、各色毎の基本色素子の数とに基づいて、基本色素子のデータを調整する処理が行われる。   The skeleton adjusting means 23 is provided with line width information 32 of vertical lines or diagonal lines constituting characters or figures, and data relating to basic color elements from the basic part forming means 21 and counting results by the basic color element counting means 22. The basic color element data is adjusted based on the line width of the displayed character or figure and the number of basic color elements for each color.

骨格調整手段23に入力される文字または図形の線幅情報32としては、例えば「細線」、「中太線」、「極太線」等が入力される。「細線」、「中太線」、「極太線」のそれぞれによって表示される縦線の線幅は、線幅を構成する色素子の個数によって異なる。   For example, “thin line”, “medium thick line”, “extremely thick line” or the like is input as the line width information 32 of the character or figure input to the skeleton adjusting means 23. The line width of the vertical line displayed by each of the “thin line”, “medium thick line”, and “very thick line” varies depending on the number of color elements constituting the line width.

表示寄与レベル割り付け手段24には、文字または図形の線幅情報32と、骨格調整手段23によって基本部分が調整された骨格データとが供給され、文字または図形の骨格となる色素子とその近傍の色素子とに対して、文字または図形の線幅に対応する表示寄与レベルが設定される。   The display contribution level assigning means 24 is supplied with the line width information 32 of the character or figure and the skeleton data whose basic part has been adjusted by the skeleton adjusting means 23, and the color element that becomes the skeleton of the character or figure and the vicinity thereof A display contribution level corresponding to the line width of a character or a figure is set for the color element.

表示寄与レベルは、文字または図形を表示画面に表示する場合に、背景色に対して色素子が文字または図形の表示にどの程度寄与するかを示す割合であり、表示寄与レベルが小さいほど、背景色として寄与する割合が高くて表示に寄与する割合が低くなることを示している。表示寄与レベル割り付け手段24にて設定された各色素子の表示寄与レベルは、出力値生成手段25に出力される。   The display contribution level is a ratio indicating how much the color element contributes to the display of the character or figure with respect to the background color when the character or figure is displayed on the display screen. It shows that the ratio contributing to color is high and the ratio contributing to display is low. The display contribution level of each color element set by the display contribution level assignment unit 24 is output to the output value generation unit 25.

出力値生成手段25では、文字または図形の色およびその背景色を表す文字色/背景色情報33が入力されて、各色素子に対して設定された表示寄与レベルが、入力される文字色/背景色情報に応じて補正されて、各色素子に対する輝度値が設定される。設定された輝度値は表示データとして表示部10に供給される。   In the output value generation means 25, the character color / background color information 33 representing the color of the character or figure and the background color thereof is input, and the display contribution level set for each color element is input to the input character color / background. The luminance value for each color element is set after being corrected according to the color information. The set luminance value is supplied to the display unit 10 as display data.

次に、骨格調整手段23による基本部分の調整方法の概略について説明する。   Next, an outline of a basic portion adjustment method by the skeleton adjustment means 23 will be described.

図2A(a)は、縦方向の直線(縦線)の骨格部分の線幅が横方向に相互に隣接する5個の色素子によって構成される「仮想中太線」による表示状態を示す平面図であり、図2A(b)は、その表示される「仮想中太線」の表示寄与レベルを示すグラフである。「仮想中太線」は、1画素の中央に位置する色素子11Gを中心として左右方向に相互に隣接する5個の色素子によって構成されており、これら色素子の表示寄与レベルをそれぞれ100%に設定する。   FIG. 2A (a) is a plan view showing a display state by a “virtual middle thick line” configured by five color elements in which the line width of the skeleton portion of the vertical straight line (vertical line) is adjacent to each other in the horizontal direction. FIG. 2A (b) is a graph showing the display contribution level of the displayed “virtual middle thick line”. The “virtual middle thick line” is composed of five color elements adjacent to each other in the left-right direction around the color element 11G located at the center of one pixel, and the display contribution level of these color elements is set to 100%. Set.

このような「仮想中太線」に対して、5個の色素子の中心位置を、画素の左右方向の中心に位置する色素子11Gに対して1色素子分だけ右方向にシフトすることによって、色素子11Bを「仮想中太線」の中心位置とする。これにより、図2B(a)に示す状態になるが、この場合も、1色素子分だけシフトされた5個の骨格色素子の表示寄与レベルは、それぞれ100%に設定される。   For such a “virtual middle thick line”, the center position of the five color elements is shifted to the right by one color element with respect to the color element 11G located at the center in the horizontal direction of the pixel, The color element 11B is set as the center position of the “virtual middle thick line”. As a result, the state shown in FIG. 2B (a) is obtained. In this case as well, the display contribution levels of the five skeleton color elements shifted by one color element are each set to 100%.

本発明では、このようにシフトされた「仮想中太線」に対して、図2C(a)に示すように、画素単位で表示寄与レベルを設定するようになっている。すなわち、5個の色素子の中心に位置する色素子11Bが含まれる画素の全ての色素子11R、11G、11Bの表示寄与レベルを100%と設定する。そして、5個の色素子の中心に位置する色素子11Bに隣接する各隣接画素の全ての色素子11R、11G、11Bに対する表示寄与レベルを、反対側(中心の色素子11Bに対して遠方側)に隣接する画素の全ての色素子11R、11G、11Bに対する表示寄与レベルよりも高く設定する。図2Cにおいては、中心の色素子11Bに隣接する隣接画素の全ての色素子11R、11G、11Bに対する表示寄与レベルを80%に、反対側の隣接画素の全ての色素子11R、11G、11Bに対する表示寄与レベルを0%に設定している。   In the present invention, the display contribution level is set for each pixel as shown in FIG. 2C (a) for the “virtual middle thick line” thus shifted. That is, the display contribution level of all the color elements 11R, 11G, and 11B of the pixel including the color element 11B located at the center of the five color elements is set to 100%. The display contribution level for all the color elements 11R, 11G, and 11B of each adjacent pixel adjacent to the color element 11B located at the center of the five color elements is set to the opposite side (the far side with respect to the center color element 11B). ) Is set higher than the display contribution level for all the color elements 11R, 11G, and 11B of the pixels adjacent to. In FIG. 2C, the display contribution level for all the color elements 11R, 11G, 11B of the adjacent pixels adjacent to the central color element 11B is set to 80%, and for all the color elements 11R, 11G, 11B of the adjacent pixels on the opposite side. The display contribution level is set to 0%.

このようにして設定された表示寄与レベルに基づいて、出力値生成手段25によって輝度値を設定することにより、図2C(b)に示すような「中太線」が表示されることになる。この場合、表示される「中太線」は、図2C(a)に実線で示すような輝度変化が人間の目によって観察されることになり、表示される「中太線」の右側の側縁部は、輝度が、左右方向に広くなるように緩やかに変化しているのに対して、左側の側縁部の輝度は急峻に変化しており、従って左側の側縁部の輪郭が明確になる。なお、右側の側縁部における輝度変化は、図15A(a)に示す従来技術における表示に際しての輝度変化にほぼ等しくなっており、しかも、一方の側縁部において輝度変化が観察されることから、縦線全体の不明瞭さがほとんど感じられず、明瞭な表示として観察される。   By setting the luminance value by the output value generation means 25 based on the display contribution level set in this way, a “middle thick line” as shown in FIG. 2C (b) is displayed. In this case, the displayed “middle thick line” indicates that the luminance change as shown by the solid line in FIG. 2C (a) is observed by the human eye, and the right side edge of the displayed “middle thick line”. In contrast, the luminance gradually changes so as to increase in the left-right direction, whereas the luminance on the left side edge changes sharply, and therefore the left side edge has a clear outline. . Note that the luminance change at the right side edge is substantially equal to the luminance change at the time of display in the prior art shown in FIG. 15A (a), and the luminance change is observed at one side edge. The ambiguity of the entire vertical line is hardly felt, and it is observed as a clear display.

このように、本発明では、図3(a)に示すように、「中太線」を構成する色素子の中心が、1画素の中心に位置する色素子11Gから、左右方向のいずれか一方にシフトさせて、そのシフトした中心の色素子が属する画素と、シフトした中心の色素子に隣接(近接)する隣接画素と、反対側(中心の色画素に対して遠方側)の隣接画素のそれぞれに対して、画素単位で色素子の表示寄与レベルを設定するようになっている。この場合、図3(b)に示すように、シフトした色素子が属する画素の表示レベルを最大として、シフトした色素子に隣接(近接)する隣接画素の色素子に対する表示寄与レベルを、反対側(中心の色画素に対して遠方側)の隣接画素の色素子に対する表示寄与レベルよりも高くすることによって、人間の目には、図3(c)に太線で示すような輝度レベルの変化が観察されることになり、輝度レベルの変化が左右方向に広がることを抑制することができ、表示品位が著しく向上する。   In this way, in the present invention, as shown in FIG. 3A, the center of the color element constituting the “middle thick line” is shifted from the color element 11G located at the center of one pixel to either one of the left and right directions. The pixel to which the shifted center color element belongs, the adjacent pixel adjacent to (close to) the shifted center color element, and the adjacent pixel on the opposite side (distant from the center color pixel). On the other hand, the display contribution level of the color element is set for each pixel. In this case, as shown in FIG. 3 (b), the display level of the pixel to which the shifted color element belongs is maximized, and the display contribution level to the color element of the adjacent pixel adjacent to (adjacent to) the shifted color element is set to the opposite side. By making it higher than the display contribution level for the color element of the adjacent pixel (on the far side with respect to the central color pixel), a change in luminance level as shown by a thick line in FIG. As a result, the change in luminance level can be suppressed from spreading in the left-right direction, and the display quality is significantly improved.

図4A(a)は、縦方向の直線の線幅が相互に隣接する7個の色素子によって構成される「仮想極太線」による表示状態を示す平面図であり、図4A(b)は、その表示される「仮想極太線」の表示寄与レベルを示すグラフである。「仮想極太線」は、1画素の中央に位置する色素子11Gを中心として左右方向に並んだ7個の色素子によって色素子が構成されており、これら骨格色素子の表示寄与レベルをそれぞれ100%に設定している。   FIG. 4A (a) is a plan view showing a display state by a “virtual thick line” composed of seven color elements whose line widths in the vertical direction are adjacent to each other, and FIG. 4A (b) It is a graph which shows the display contribution level of the "virtual very thick line" displayed. The “virtual thick line” is composed of seven color elements arranged in the left-right direction centering on the color element 11G located at the center of one pixel, and the display contribution level of each of these skeleton color elements is set to 100. % Is set.

このような「仮想極太線」において、7個の骨格色素子の中心を、画素の中心に位置する色素子11Gに対して1色素子分だけ右方向にシフトさせることによって、中心位置を色素子11Bにすると、図4B(a)に示す状態になる。この場合も、1色素子分だけシフトされた7個の色素子の表示寄与レベルは、それぞれ100%に設定される。   In such a “virtual thick line”, the center position of the seven skeleton color elements is shifted to the right by one color element with respect to the color element 11G located at the center of the pixel, so that the center position is changed to the color element. If it is set to 11B, it will be in the state shown to Fig.4B (a). Also in this case, the display contribution level of the seven color elements shifted by one color element is set to 100%.

本発明では、このようにシフトされた「仮想極太線」に対して、図4C(a)に示すように、画素単位で表示寄与レベルをそれぞれ設定するようになっており、7個の色素子の中心に位置する色素子11Bが含まれる画素の全て色画素11R、11G、11Bの表示寄与レベルを100%と設定する。そして、中心の色素子11Bに隣接(近接)する画素の全ての色素子11R、11G、11Bに対する表示寄与レベルも100%とし、反対側(中心の色画素に対して遠方側)に隣接する隣接画素の全ての色素子11R、11G、11Bに対する表示寄与レベルを、100%よりも低く設定する。図4C(a)においては、骨格色素子11Bに隣接(近接)する隣接画素とは反対側の隣接画素の全ての色素子11R、11G、11Bに対する表示寄与レベルを33%に設定している。   In the present invention, for the “virtual thick line” shifted in this way, as shown in FIG. 4C (a), the display contribution level is set for each pixel, and seven color elements are set. The display contribution level of all the color pixels 11R, 11G, and 11B of the pixels including the color element 11B located at the center of is set to 100%. The display contribution level for all the color elements 11R, 11G, and 11B of the pixels adjacent to (adjacent to) the central color element 11B is also set to 100%, and adjacent to the opposite side (distant from the central color pixel). The display contribution level for all the color elements 11R, 11G, and 11B of the pixel is set lower than 100%. In FIG. 4C (a), the display contribution level for all the color elements 11R, 11G, and 11B of the adjacent pixels on the opposite side to the adjacent pixels adjacent to (adjacent to) the skeleton color element 11B is set to 33%.

このようにして設定された表示寄与レベルに基づいて、出力値生成手段25によって輝度値を設定することにより、図4C(b)に示すような「極太線」が表示されることになる。このようにして表示される「極太線」は、図4C(a)に実線で示すような輝度レベルの変化が人間の目に観察されることになり、表示される「極太線」の左側の側縁部は、輝度が、左右方向に広くなるように緩やかに変化しているのに対して、右側の側縁部の輝度は急峻に変化しており、右側の側縁部の輪郭が明確になっている。なお、左側の側縁部における輝度変化は、図15B(a)に示す従来技術における表示に際しての輝度変化にほぼ等しくなっており、しかも、一方の側縁部において輝度変化が観察されることから、縦線全体の不明瞭さがほとんど感じられず、明瞭な表示として観察される。   By setting the luminance value by the output value generation means 25 based on the display contribution level set in this way, a “very thick line” as shown in FIG. 4C (b) is displayed. In the “thick line” displayed in this way, a change in the luminance level as shown by a solid line in FIG. 4C (a) is observed by the human eye. The brightness of the side edge changes gently so that it becomes wider in the left-right direction, while the brightness of the right side edge changes sharply, and the right side edge has a clear outline. It has become. Note that the luminance change at the left side edge is substantially equal to the luminance change at the time of display in the prior art shown in FIG. 15B (a), and the luminance change is observed at one side edge. The ambiguity of the entire vertical line is hardly felt, and it is observed as a clear display.

本発明の表示装置の基本的な原理はこのようになっており、以下、本発明の文字図形表示装置における制御部20の具体的な動作を、図5に示すフローチャートに基づいて、文字データが入力される場合について詳細に説明する。   The basic principle of the display device of the present invention is as described above. Hereinafter, the specific operation of the control unit 20 in the character graphic display device of the present invention will be described based on the flowchart shown in FIG. The case of inputting will be described in detail.

基本部分形成手段21の動作は、従来の図12に示す文字表示装置の基本部分形成手段51と同様になっており、例えば文字の骨格パターンとなるデータが入力されると、骨格パターンの基本部分(芯)を構成する基本色素子が、ビットマップデータに基づいて生成される(図5のステップS1、以下同様)。   The operation of the basic part forming means 21 is the same as that of the basic part forming means 51 of the conventional character display device shown in FIG. 12. For example, when data that becomes a character skeleton pattern is input, the basic part of the skeleton pattern is inputted. The basic color elements constituting the (core) are generated based on the bitmap data (step S1 in FIG. 5, the same applies hereinafter).

基本部分形成手段21によって生成された基本色素子のデータは、基本色素子計数手段22および骨格調整手段23に与えられる。基本色素子計数手段22では、文字の基本部分を構成する基本色素子の個数が色素子の種類(色)毎に計数され(図5のステップS2)、その計数結果が骨格調整手段23に与えられる。骨格調整手段23では、単一の画素に含まれる色素子11R、11G、11Bの種類(すなわち、R(赤色)、G(緑色)、B(青色)の3種類)のうち、文字の基本部分を構成する基本色素子の個数が最小である種類がどれかを判定する(図5のステップS3、S4)。文字の基本部分を構成する基本色素子の個数が最小である種類が、R(赤色)(すなわち、単一の画素に含まれる色素子11R、11G、11Bのうち左側に位置する色素子の種類)である場合には、文字の基本部分を構成するすべての基本色素子を示す基本色素子のデータを右側に基本色素子1個分だけシフトする(図5のステップS5)。文字の基本部分を構成する基本色素子の個数が最小である種類が、B(青色)(すなわち、単一の画素に含まれる色素子11R、11G、11Bのうち右側に位置する色素子の種類)である場合には、文字の基本部分を構成するすべての基本色素子を示す基本色素子のデータを左側に基本色素子1個分だけシフトする(図5のステップS6)。なお、文字の基本部分を構成する基本色素子の個数が最小である種類が、G(緑色)(すなわち、単一の画素に含まれる色素子11R、11G、11Bのうち中央に位置する色素子の種類)である場合には、基本色素子のデータは、左右いずれの方向にもシフトされない。   The basic color element data generated by the basic part forming means 21 is given to the basic color element counting means 22 and the skeleton adjusting means 23. In the basic color element counting means 22, the number of basic color elements constituting the basic part of the character is counted for each type (color) of the color elements (step S 2 in FIG. 5), and the counting result is given to the skeleton adjusting means 23. It is done. In the skeleton adjusting means 23, the basic portion of the character among the types of color elements 11R, 11G, and 11B (that is, three types of R (red), G (green), and B (blue)) included in a single pixel. Which type has the smallest number of basic color elements is determined (steps S3 and S4 in FIG. 5). The type with the smallest number of basic color elements constituting the basic part of the character is R (red) (that is, the type of color elements located on the left side of the color elements 11R, 11G, and 11B included in a single pixel). ), The basic color element data indicating all the basic color elements constituting the basic part of the character is shifted to the right by one basic color element (step S5 in FIG. 5). The type with the smallest number of basic color elements constituting the basic part of the character is B (blue) (that is, the type of color elements located on the right side among the color elements 11R, 11G, and 11B included in a single pixel). ), The basic color element data indicating all the basic color elements constituting the basic part of the character is shifted to the left by one basic color element (step S6 in FIG. 5). The type having the smallest number of basic color elements constituting the basic part of the character is G (green) (that is, the color element located at the center among the color elements 11R, 11G, and 11B included in a single pixel). The basic color element data is not shifted in either the left or right direction.

その後に、骨格調整手段23によって、シフトされた基本色素子のデータまたはシフトされていない基本色素子のデータと、入力される線幅情報32とに基づいて、各色素子に対して表示寄与レベルが割り付けられる(図5のステップS7)。その後、出力値生成手段25によって、割り付けられた表示寄与レベルと、入力される文字色/背景色情報33とに基づいて、各色素子に対して輝度値が設定される(図5のステップS8)。   After that, the skeleton adjustment unit 23 sets the display contribution level for each color element based on the data of the shifted basic color element or the data of the non-shifted basic color element and the input line width information 32. Allocation is performed (step S7 in FIG. 5). Thereafter, the output value generation means 25 sets a luminance value for each color element based on the assigned display contribution level and the input character color / background color information 33 (step S8 in FIG. 5). .

以下、このような制御部20の制御を、文字・図形データ31として「H」の文字データが入力される場合について、図6に基づいて具体的に説明する。   Hereinafter, the control of the control unit 20 will be specifically described with reference to FIG. 6 in the case where character data “H” is input as the character / graphic data 31.

文字・図形データ31として「H」の文字が入力されると、基本部分形成手段21は、ビットマップデータから文字「H」の骨格データを取得して、図6(a)に示すように、文字「H」の骨格における基本部分を構成する基本色素子が抽出される。基本部分形成手段21によって抽出された基本色素子のデータは、基本色素子計数手段22および骨格調整手段23に出力される。基本色素子計数手段22では、骨格の基本部分を構成する基本色素子の個数を各色素子の種類(11R、11G、11B)毎に計数して、その計数結果が骨格調整手段23に与えられる。   When the character “H” is input as the character / graphic data 31, the basic part forming unit 21 acquires the skeleton data of the character “H” from the bitmap data, and as shown in FIG. The basic color elements constituting the basic part in the skeleton of the letter “H” are extracted. The basic color element data extracted by the basic part forming means 21 is output to the basic color element counting means 22 and the skeleton adjusting means 23. The basic color element counting means 22 counts the number of basic color elements constituting the basic portion of the skeleton for each color element type (11R, 11G, 11B), and gives the result of the counting to the skeleton adjusting means 23.

骨格調整手段23では、基本色素子計数手段22によって計数された各種類(色)毎の基本色素子の個数から、基本色素子の個数が最小である種類(色)を特定する。骨格調整手段23には、図6(b)に示すように、色素子の種類(11R、11G、11B)に応じて、骨格の基本部分を構成する基本色素子のデータをシフトするための調整値が予め設定されており、例えば、基本色素子の個数が最小である種類(色)がR(赤色)である場合には、調整値として「+1」が設定されており、基本色素子の個数が最小である種類(色)がG(緑色)である場合には、調整値として「0」が設定されており、基本色素子の個数が最小である種類(色)がB(青色)である場合には、調整値として「−1」が設定されている。調整値は、骨格の基本部分を示す基本色素子のデータのシフトに関する情報であり、調整値「0」は、基本色素子のデータをシフトしないことを示し、調整値「+1」は、基本色素子のデータの位置を1色素子分だけ右方向にシフトすることを示し、調整値「−1」は、基本色素子のデータの位置を1色素子だけ左方向にシフトすることを示している。   The skeleton adjusting unit 23 identifies the type (color) having the smallest number of basic color elements from the number of basic color elements for each type (color) counted by the basic color element counting unit 22. As shown in FIG. 6B, the skeleton adjusting means 23 is an adjustment for shifting the data of the basic color elements constituting the basic part of the skeleton according to the types of color elements (11R, 11G, 11B). For example, when the type (color) with the smallest number of basic color elements is R (red), “+1” is set as the adjustment value, and the value of the basic color element is When the type (color) with the smallest number is G (green), “0” is set as the adjustment value, and the type (color) with the smallest number of basic color elements is B (blue). In this case, “−1” is set as the adjustment value. The adjustment value is information regarding the shift of the data of the basic color element indicating the basic part of the skeleton, the adjustment value “0” indicates that the data of the basic color element is not shifted, and the adjustment value “+1” is the basic color element. The element data position is shifted rightward by one color element, and the adjustment value “−1” indicates that the basic color element data position is shifted leftward by one color element. .

1画素を構成する3種類の色素子は、R(赤色)の色素子11Rと、G(緑色)の色素子11Gと、B(青色)の色素子11Bとがその順番で、表示画面の左側から右側に沿って並んでいることから、R(赤色)、G(緑色)、B(青色)の3種類のうち、骨格の基本部分を構成する基本色素子の個数が最も少ない種類の色素子が、1画素における左右方向の中央に位置するように、基本色素子のデータの位置をシフトさせる。これにより、1画素における中央の位置(すなわち、色素子11Gの位置)にある基本色素子の個数よりも、1画素における中央の位置以外の位置(すなわち、色素子11Rまたは色素子11Bの位置)にある基本色素子の個数が多くなる。   The three types of color elements constituting one pixel are an R (red) color element 11R, a G (green) color element 11G, and a B (blue) color element 11B in that order, on the left side of the display screen. Are arranged along the right side, and therefore, among the three types of R (red), G (green), and B (blue), the color element having the smallest number of basic color elements constituting the basic portion of the skeleton However, the position of the data of the basic color element is shifted so as to be positioned at the center in the left-right direction in one pixel. As a result, a position other than the center position in one pixel (that is, the position of the color element 11R or the color element 11B) rather than the number of basic color elements in the center position (that is, the position of the color element 11G) in one pixel. The number of basic color elements increases.

図6(a)に示される例では、文字「H」の左側の縦線(文字「H」の基本部分の一部)が、色素子11Gによってのみ構成され、文字「H」の右側の縦線(文字「H」の基本部分の一部)が、色素子11Bによってのみ構成され、文字「H」の横線(文字「H」の基本部分の一部)は、同数の色素子11R、11G、11Bによって構成されている。このことから、図6(a)に示す文字「H」の基本色素子のデータでは、色素子11Rの個数が最小になっている。従って、図6(b)に示す表から、調整値として「+1」が設定され、骨格の基本部分を構成する全ての基本色素子の位置が、右側に1色素子分だけシフトされる。これにより、図6(c)に示すように、骨格の基本部分「H」の左側の縦線は、色素子11Bによってのみ構成され、骨格の基本部分「H」の右側の縦線は、色素子11Rによってのみ構成されることになる。   In the example shown in FIG. 6A, the vertical line on the left side of the character “H” (part of the basic portion of the character “H”) is configured only by the color element 11G, and the vertical line on the right side of the character “H”. A line (a part of the basic part of the letter “H”) is constituted only by the color elements 11B, and a horizontal line of the letter “H” (a part of the basic part of the letter “H”) is the same number of color elements 11R, 11G. , 11B. For this reason, in the data of the basic color element of the letter “H” shown in FIG. 6A, the number of color elements 11R is minimized. Therefore, from the table shown in FIG. 6B, “+1” is set as the adjustment value, and the positions of all the basic color elements constituting the basic part of the skeleton are shifted to the right by one color element. Accordingly, as shown in FIG. 6C, the vertical line on the left side of the basic part “H” of the skeleton is constituted only by the color element 11B, and the vertical line on the right side of the basic part “H” of the skeleton is the color. It is configured only by the element 11R.

このようにして、骨格の基本部分の基本色素子のデータが調整されると、調整された基本色素子のデータが表示寄与レベル割り付け手段24に与えられる。表示寄与レベル割り付け手段24には、線幅情報32が入力されており、表示寄与レベル割り付け手段24は、調整された基本色素子のデータと線幅情報32とに基づいて、表示寄与レベルが、各画素単位で、すなわち、各画素を構成する全ての色素子に対して同じ表示寄与レベルになるように、設定される。   When the basic color element data of the basic part of the skeleton is adjusted in this way, the adjusted basic color element data is given to the display contribution level assigning means 24. Line width information 32 is input to the display contribution level assigning unit 24, and the display contribution level assigning unit 24 has the display contribution level based on the adjusted basic color element data and the line width information 32. It is set so that the same display contribution level is obtained for each pixel, that is, for all color elements constituting each pixel.

この場合、基本色素子が含まれる画素を骨格画素として、この骨格画素11に含まれる全ての色素子11R、11G、11Bに対して、表示寄与レベルとしてそれぞれ100%が設定される。そして、骨格画素に含まれる基本色素子の位置に基づいて、骨格画素に隣接する画素の表示寄与レベルがそれぞれ設定される。すなわち、骨格画素に含まれた基本色素子に隣接(近接)する隣接画素に対しては、反対側(基本色素子に対して遠方側)に隣接する隣接画素よりも高い表示寄与レベルが設定される。   In this case, assuming that the pixel including the basic color element is a skeleton pixel, 100% is set as the display contribution level for all the color elements 11R, 11G, and 11B included in the skeleton pixel 11. Then, the display contribution levels of the pixels adjacent to the skeleton pixel are set based on the positions of the basic color elements included in the skeleton pixel. That is, a higher display contribution level is set for an adjacent pixel adjacent (close) to the basic color element included in the skeleton pixel than an adjacent pixel adjacent to the opposite side (distant from the basic color element). The

図7(a)は、線幅情報32として「中太線」が入力される場合の表示寄与レベル割り付け手段24による設定例を示している。図7(a)においては、基本色素子は、1画素の右側に位置する色素子11Bになっている。文字を「中太線」で表示する場合には、基本色素子11Bが含まれる1つの画素が骨格画素として設定され、その骨格画素に含まれる全ての色素子11R、11G、11Bの表示寄与レベルが100%に設定される。そして、骨格画素11における基本色素子11Bが、骨格画素11において最も右側に位置することから、この基本色素子11Bに隣接する隣接画素に含まれる全ての色画素11R、11G、11Bに対して表示寄与レベルが66%に設定され、反対側(基本色素子に対して遠方側)に隣接する隣接画素に含まれる全ての色画素11R、11G、11Bに対して表示寄与レベルが0%に設定される。   FIG. 7A shows a setting example by the display contribution level assigning unit 24 when “middle thick line” is input as the line width information 32. In FIG. 7A, the basic color element is a color element 11B located on the right side of one pixel. When displaying a character with “middle thick line”, one pixel including the basic color element 11B is set as a skeleton pixel, and the display contribution levels of all the color elements 11R, 11G, and 11B included in the skeleton pixel are set. Set to 100%. Since the basic color element 11B in the skeleton pixel 11 is positioned on the rightmost side in the skeleton pixel 11, display is performed for all the color pixels 11R, 11G, and 11B included in the adjacent pixels adjacent to the basic color element 11B. The contribution level is set to 66%, and the display contribution level is set to 0% for all the color pixels 11R, 11G, and 11B included in the adjacent pixels adjacent to the opposite side (the far side from the basic color element). The

なお、比較のために、図7(b)に、図12に示す従来の文字表示装置において「中太線」を表示する場合の表示寄与レベルの設定例を示す。図7(b)においては、表示寄与レベルを「%」にて表示しており、「中太線」で表示される縦線の左右の各側縁部において、緩やかな輝度変化が観察されるために、縦線の左右の各側縁の輪郭が明瞭にならず、その結果、縦線全体がぼやけた印象になる。   For comparison, FIG. 7B shows a setting example of the display contribution level when the “medium thick line” is displayed in the conventional character display device shown in FIG. In FIG. 7B, the display contribution level is displayed in “%”, and a gradual change in luminance is observed at the left and right side edges of the vertical line displayed as “middle thick line”. In addition, the contours of the left and right side edges of the vertical line are not clear, and as a result, the entire vertical line is blurred.

図8は、線幅情報32として「極太線」が入力される場合の表示寄与レベル割り付け手段24による設定例を示している。図8においては、基本色素子の位置が1画素の左側に位置する色画素11Bになっている。文字を「極太線」で表示する場合には、基本色素子11Bが含まれる骨格画素を構成する全ての色素子11R、11G、11Bの表示寄与レベルが100%に設定される。また、その基本色素子11Bに隣接(近接)する画素に含まれる全ての色素子11R、11G、11Bに対して表示寄与レベルが100%に設定される。基本色素子11Bが含まれた骨格画素に対して右側(基本色素子に対して遠方側)に隣接する隣接画素に含まれる全ての色画素11R、11G、11Bに対しては、表示寄与レベルが66%に設定される。   FIG. 8 shows an example of setting by the display contribution level assigning means 24 when “extremely thick line” is input as the line width information 32. In FIG. 8, the position of the basic color element is the color pixel 11B located on the left side of one pixel. When characters are displayed as “extremely thick lines”, the display contribution level of all the color elements 11R, 11G, and 11B constituting the skeleton pixel including the basic color element 11B is set to 100%. In addition, the display contribution level is set to 100% for all the color elements 11R, 11G, and 11B included in the pixels adjacent (close to) the basic color element 11B. For all the color pixels 11R, 11G, and 11B included in the adjacent pixels on the right side (the far side with respect to the basic color element) with respect to the skeleton pixel including the basic color element 11B, the display contribution level is 66% is set.

このようにして、表示寄与レベルが設定されると、設定された表示寄与レベルが出力値生成手段25に与えられる。出力値生成手段25には、文字色および背景色を表す文字色/背景色情報33が入力されており、表示寄与レベル割り付け手段24にて設定された各色素子の表示寄与レベルが、文字色および背景色に応じた輝度値とされて、表示部10に与えられる。   In this way, when the display contribution level is set, the set display contribution level is given to the output value generation means 25. Character value / background color information 33 representing the character color and the background color is input to the output value generation means 25, and the display contribution level of each color element set by the display contribution level assignment means 24 is the character color and the background color information. The luminance value corresponding to the background color is given to the display unit 10.

例えば、白色の背景に黒文字を表示させる場合、画素の表示寄与レベルが100%であれば、その画素を構成する全ての色素子11R、11G、11Bの輝度値として、それぞれ「0」が設定される。また、画素の表示寄与レベルが0%であれば、その画素を構成する色素子11R、11G、11Bの輝度値として、それぞれ「255」が設定される。また、画素の表示寄与レベルが33%であれば、その画素を構成する色素子11R、11G、11Bの輝度値として、表示寄与レベル33%に対応する輝度値「85(=255×33/100)」が設定される。同様に画素の表示寄与レベルが66%であれば、その画素を構成する色素子11R、11G、11Bの輝度値として、表示寄与レベル66%に対応する輝度値「170(=255×66/100)」が設定される。   For example, when displaying a black character on a white background, if the display contribution level of the pixel is 100%, “0” is set as the luminance value of all the color elements 11R, 11G, and 11B constituting the pixel. The If the display contribution level of the pixel is 0%, “255” is set as the luminance value of each of the color elements 11R, 11G, and 11B constituting the pixel. If the display contribution level of the pixel is 33%, the luminance value “85 (= 255 × 33/100) corresponding to the display contribution level 33% is used as the luminance value of the color elements 11R, 11G, and 11B constituting the pixel. ) ”Is set. Similarly, if the display contribution level of a pixel is 66%, the luminance value “170 (= 255 × 66/100) corresponding to the display contribution level 66% is obtained as the luminance value of the color elements 11R, 11G, and 11B constituting the pixel. ) ”Is set.

なお、背景色が白色以外の色に設定され、また、表示される文字色が黒色以外の色に設定される場合には、それぞれの設定された色による補正値を考慮した輝度値が、各色素子に対して設定される。   In addition, when the background color is set to a color other than white and the displayed character color is set to a color other than black, the brightness value considering the correction value for each set color is set for each color. Set for the element.

このようにして、各色素子に対する輝度値が設定されることによって、表示部では、図7(d)に示すように、「中太線」による「H」が表示され、また、図7(e)に示すように、「極太線」による「H」が表示される。   In this way, by setting the luminance value for each color element, “H” by “middle thick line” is displayed on the display unit as shown in FIG. 7D, and FIG. As shown in FIG. 5, “H” by “extremely thick line” is displayed.

次に、本発明の文字図形表示装置によって、斜め線を「中太線」として表示する場合を、図9に基づいて説明する。図9(a)には、斜め線の骨格に対する基本部分を構成する基本色素子が示されている。このような基本色素子のデータに対して、基本色素子計数手段21および骨格調整手段22による調整を行なった後に、表示寄与レベル割り付け手段24によって表示寄与レベルを設定すると、図9(b)に示すように、斜め線が「中太線」として表示される。この場合には、図18(c)に示す場合と比較して、各側縁部における色素子のコーナー部が不明確に(ぼやけて)表示されることから、斜め線の側縁部における角部の印象が薄められ、斜め線の各側縁部における滑らか感が向上することになる。   Next, a case where the diagonal line is displayed as “middle thick line” by the character graphic display device of the present invention will be described with reference to FIG. FIG. 9A shows basic color elements constituting a basic portion with respect to a skeleton with diagonal lines. When the display contribution level is set by the display contribution level assigning unit 24 after the basic color element data is adjusted by the basic color element counting unit 21 and the skeleton adjusting unit 22, the display contribution level is set as shown in FIG. As shown, the diagonal lines are displayed as “medium thick lines”. In this case, compared with the case shown in FIG. 18 (c), the corners of the color elements at each side edge are displayed indefinitely (blurred), so that the corners at the side edges of the diagonal lines are displayed. The impression of a part is thinned and the smooth feeling in each side edge part of a diagonal line improves.

なお、上記の説明では、基本色素子計数手段22によって、文字における骨格の基本部分を構成する基本色素子の個数を各色素子の種類毎に計数する構成になっている。しかしながら、一般的に、文字は外側がくっきりと表示されると全体がくっきりと表示されているように感じられるため、外側に骨格を有するとともに、内側にも骨格を有するような場合には、内部の骨格の基本部分を構成する基本色素子数を計数しないようにしてもよい。   In the above description, the basic color element counting means 22 is configured to count the number of basic color elements constituting the basic portion of the skeleton of the character for each type of color element. However, in general, when the outside is clearly displayed, it seems that the whole is clearly displayed. Therefore, if the character has a skeleton on the outside and also has a skeleton on the inside, The number of basic color elements constituting the basic part of the skeleton may not be counted.

例えば、文字「田」が入力されて、図10(a)に示すように、骨格の基本部分を構成する基本色素子が抽出された場合を考える。この場合、図10(a)に示すように、文字「田」の左側の縦線は行方向2画素目の色素子11Gに割り付けられており、また、中央の縦線が行方向5画素目の色素子11Rに割り付けられ、右側の縦線は行方向7画素目の色素子11Bに割り付けられている。その結果、骨格の基本部分「田」を構成する3種類の色素子11R、11G、11Bのそれぞれ個数は等しくなり、最小個数の色素子の種類を決定することができない。このような場合には、両側の縦線の内側に位置する中央の縦線を構成する基本色素子の個数を計数しないようにする。これにより、骨格の基本部分を構成する基本色素子の個数が最小である種類をR(赤色)であると決定することができる。   For example, let us consider a case where a basic color element constituting the basic part of the skeleton is extracted as shown in FIG. In this case, as shown in FIG. 10A, the vertical line on the left side of the character “field” is assigned to the color element 11G of the second pixel in the row direction, and the central vertical line is the fifth pixel in the row direction. The right vertical line is assigned to the color element 11B of the seventh pixel in the row direction. As a result, the number of the three types of color elements 11R, 11G, and 11B constituting the basic part “field” of the skeleton becomes equal, and the type of the minimum number of color elements cannot be determined. In such a case, the number of basic color elements constituting the central vertical line located inside the vertical lines on both sides is not counted. Thereby, it is possible to determine that the type having the smallest number of basic color elements constituting the basic portion of the skeleton is R (red).

骨格の基本部分を構成する基本色素子の個数が最小である種類がR(赤色)であると決定されることによって、骨格の基本部分を構成する基本色素子のデータが1色素子分だけ右方向にシフトされる。これにより、図10(b)に示すように、文字「田」の左側の縦線を行方向2画素目の色素子11Bに、文字「田」の中央の縦線を行方向5画素目の色素子11Gに、文字「田」の右側の縦線を行方向8画素目の色素子11Rに割り付けられる。   By determining that the type having the smallest number of basic color elements constituting the basic part of the skeleton is R (red), the data of the basic color elements constituting the basic part of the skeleton is the right by one color element. Shifted in the direction. As a result, as shown in FIG. 10B, the vertical line on the left side of the character “field” is the color element 11B of the second pixel in the row direction, and the vertical line at the center of the character “field” is the fifth pixel in the row direction. The vertical line on the right side of the character “field” is assigned to the color element 11R of the eighth pixel in the row direction to the color element 11G.

このような状態で、表示寄与レベルおよび輝度値を設定することにより、図10(c)に示すように、両側の縦線における外側の側縁部が明確に表示され、文字全体が、より明確に表示されているように感じられる。   In such a state, by setting the display contribution level and the luminance value, as shown in FIG. 10 (c), the outer side edges of the vertical lines on both sides are clearly displayed, and the entire character is more clearly displayed. It seems to be displayed.

なお、この例では、内側部分における骨格の基本部分を構成する基本色素子の個数を計数しない構成としたが、骨格の基本部分の一部を構成する基本色素子の個数を計数しない構成としてもよい。また、計数された基本色素子の個数に重み係数を乗算することにより、基本色素子の重み付けられた個数を計算するようにしてもよい。例えば、文字に含まれる縦線毎に重み係数を設定し、基本色素子の個数を色素子の種類毎に計数する際に、基本色素子の個数に、縦線毎に設定された重み係数を乗算するようにしてもよい。この場合にも、外側の骨格に対する重み係数を大きくすることによって、外側の側縁部を明確に表示することができ、文字全体を明確に表示されているように感じさせることができる。   In this example, the number of basic color elements constituting the basic part of the skeleton in the inner part is not counted, but the number of basic color elements constituting a part of the basic part of the skeleton may not be counted. Good. Alternatively, the weighted number of basic color elements may be calculated by multiplying the counted number of basic color elements by a weighting factor. For example, when a weighting factor is set for each vertical line included in a character and the number of basic color elements is counted for each type of color element, the weighting coefficient set for each vertical line is set as the number of basic color elements. You may make it multiply. Also in this case, by increasing the weighting factor for the outer skeleton, the outer side edge can be clearly displayed, and the entire character can be felt as if it is clearly displayed.

さらに、文字の骨格が相互に分離した複数のブロックで構成されている場合には、個々のブロックにおいて、色素子の種類毎に基本色素子の個数を計数するようにしてもよい。   Furthermore, when the character skeleton is composed of a plurality of blocks separated from each other, the number of basic color elements may be counted for each type of color element in each block.

図11は、骨格が複数のブロックを有する文字「品」が入力された場合の基本色素子の個数の計数方法の説明図である。図11(a)では、文字「品」の一部を示している。   FIG. 11 is an explanatory diagram of a method of counting the number of basic color elements when a character “product” whose skeleton has a plurality of blocks is input. FIG. 11A shows a part of the character “product”.

文字「品」は、3個のブロック「口」によって構成されており、各ブロック「口」を1単位として、基本色素子の個数を計数してシフトすることが可能である。   The character “product” is composed of three blocks “mouth”, and each block “mouth” is regarded as one unit, and the number of basic color elements can be counted and shifted.

図11(a)に示すように、上側に位置する「口」は左側の縦線が行方向4画素目の色素子11Gに割り付けられており、また、右側の縦線が行方向7画素目の色素子11Bに割り付けられているため、基本色素子の個数が最小である色素子の種類はR(赤色)となる。そこで、図11(b)に示すように、上側に位置する「口」を1色素子分だけ右側にシフトさせて左側縦線を行方向4画素目の色素子11Bに、右側の縦線を行方向8画素目の色素子11Rにそれぞれ割り付けることができる。   As shown in FIG. 11A, in the “mouth” located on the upper side, the left vertical line is assigned to the color element 11G of the fourth pixel in the row direction, and the right vertical line is the seventh pixel in the row direction. Therefore, the color element type with the smallest number of basic color elements is R (red). Therefore, as shown in FIG. 11B, the “mouth” located on the upper side is shifted to the right by one color element, the left vertical line is set to the color element 11B of the fourth pixel in the row direction, and the right vertical line is set. Each color element 11R in the row direction can be assigned to the color element 11R.

また、図11(a)に示すように、左下側に位置するブロック「口」は左側縦線が行方向2画素目の色素子11Rに、右側の縦線が行方向5画素目の色素子11Gに割り付けられているため、基本色素子の個数が最小である色素子の種類はB(青色)となる。そこで、図11(b)に示すように、左下側に位置するブロック「口」を1色素子分だけ左側にシフトさせることによって、左側の縦線を行方向1画素目の色素子11Bに、右側の縦線を行方向4画素目の色素子11Rに割り付けることができる。   Further, as shown in FIG. 11A, in the block “mouth” located on the lower left side, the left vertical line is the color element 11R of the second pixel in the row direction, and the right vertical line is the color element of the fifth pixel in the row direction. Since it is assigned to 11G, the type of the color element having the smallest number of basic color elements is B (blue). Therefore, as shown in FIG. 11B, by shifting the block “mouth” located on the lower left side to the left by one color element, the left vertical line is changed to the color element 11B of the first pixel in the row direction. The vertical line on the right side can be assigned to the color element 11R of the fourth pixel in the row direction.

これにより、図11(c)に示すような輝度値に設定されて、上側に位置するブロック「口」については、行方向3画素目と4画素目の境界、および8画素目と9画素目の境界が明確に表示される。また、左下側に位置するブロック「口」については、行方向1画素の左側の境界、および行方向5画素目と6画素目の境界が明確に表示される。   As a result, the luminance value as shown in FIG. 11C is set, and for the block “mouth” located on the upper side, the boundary between the third and fourth pixels in the row direction, and the eighth and ninth pixels. The boundaries of are clearly displayed. For the block “mouth” located on the lower left side, the left boundary of the first pixel in the row direction and the fifth and sixth pixels of the row direction are clearly displayed.

なお、文字または図形が予め複数のブロックに分割されていない場合であっても、基本部分を構成する基本色素子が抽出された時点で、上下方向(列方向)または左右方向(行方向)に並んだ全色素子に対する基本色素子の個数のヒストグラムに基づいて、基本色素子数が0の行もしくは列を求めることにより、分割されたブロックとみなすことができる。   Even when characters or figures are not divided into a plurality of blocks in advance, the basic color elements constituting the basic portion are extracted in the vertical direction (column direction) or the horizontal direction (row direction). Based on a histogram of the number of basic color elements with respect to all the arranged color elements, a row or a column having the number of basic color elements of 0 can be obtained and regarded as a divided block.

例えば、図11に示す文字「品」の例では、行単位の基本色素子の個数のヒストグラムから、図11(b)に示すように、5行目の画素における基本色素子数が0であることが分かる。これにより、1〜4行目の各画素と、6〜9行目の各画素とに対して、それぞれ個別に基本色素子数を計数することができる。   For example, in the example of the character “product” shown in FIG. 11, the number of basic color elements in the pixels in the fifth row is 0 as shown in FIG. I understand that. Thereby, the number of basic color elements can be individually counted for each pixel in the 1st to 4th rows and each pixel in the 6th to 9th rows.

なお、上記実施形態において、制御部20をコンピュータによって構成して、プログラムによって、図5に示すフローチャートの各ステップをコンピュータにて実行させるようにしてもよく、また、そのプログラムをコンピュータ読み取り可能な記録媒体に記録するようにしてもよい。   In the above-described embodiment, the control unit 20 may be configured by a computer, and each step of the flowchart shown in FIG. 5 may be executed by the computer using a program, or the program may be recorded in a computer-readable manner. You may make it record on a medium.

なお、上述した実施形態では、カラー表示が可能な表示部10を有する文字図形表示装置の構成を説明したが、本発明は、これに限定されない。本発明は、カラー表示は不可能であるが白黒表示は可能な表示部を有する文字図形表示装置に適用することもできる。このことは、上述した実施形態において、表示部10の色素子(サブピクセル)単位ではなく、表示部10の画素(ピクセル)単位に表示寄与レベルが割り付けられていること、表示部10の色素子(サブピクセル)単位ではなく、表示部10の画素(ピクセル)単位に輝度値が設定されていることから当業者には明らかである。従って、表示部10に含まれる複数の画素(ピクセル)のそれぞれは、複数の色素子(サブピクセル)に物理的に分割されている必要はない。例えば、表示部10が白黒表示のみ可能である場合には、表示部10に含まれる複数のピクセルのそれぞれは、複数のサブピクセルに物理的に分割されている必要はなく、ピクセル単位に輝度値がグレースケール値として設定されれば足りる。ただし、表示部10に含まれる複数のピクセルのそれぞれが複数のサブピクセルに物理的に分割されていない場合でも、制御部20は、表示部10に含まれる複数のピクセルのそれぞれがあたかも複数のサブピクセルに物理的に分割されているかのように仮定して(すなわち、仮想的に分割されているものとして)処理を行う。この意味で、表示部10に含まれる複数のピクセルのそれぞれは、複数のサブピクセルに仮想的に(すなわち、論理的に)分割されている必要がある。   In the above-described embodiment, the configuration of the character / graphic display device having the display unit 10 capable of color display has been described. However, the present invention is not limited to this. The present invention can also be applied to a character / graphic display device having a display unit that cannot display color but can display black and white. This is because, in the above-described embodiment, the display contribution level is assigned not to the color element (sub-pixel) unit of the display unit 10 but to the pixel (pixel) unit of the display unit 10, and the color element of the display unit 10 It is clear to those skilled in the art that the luminance value is set not in units of (sub-pixels) but in units of pixels (pixels) of the display unit 10. Therefore, each of the plurality of pixels (pixels) included in the display unit 10 does not need to be physically divided into a plurality of color elements (sub-pixels). For example, when the display unit 10 can only perform monochrome display, each of the plurality of pixels included in the display unit 10 does not need to be physically divided into a plurality of sub-pixels, and the luminance value in units of pixels. Should be set as the grayscale value. However, even when each of the plurality of pixels included in the display unit 10 is not physically divided into a plurality of sub-pixels, the control unit 20 is as if each of the plurality of pixels included in the display unit 10 is a plurality of sub-pixels. Processing is performed on the assumption that the image is physically divided into pixels (i.e., virtually divided). In this sense, each of the plurality of pixels included in the display unit 10 needs to be virtually (that is, logically) divided into a plurality of subpixels.

以下、表示部10が白黒表示のみ可能である場合における制御部20の動作を説明する。ここで、表示部10に含まれる複数のピクセルのそれぞれは、所定の方向に配列された複数のサブピクセルに仮想的に(すなわち、論理的に)に分割されているものと仮定する。所定の方向は、例えば、複数のピクセルが配列されたマトリクスの行方向または列方向であり得るが、これに限定されない。   Hereinafter, the operation of the control unit 20 when the display unit 10 can only perform monochrome display will be described. Here, it is assumed that each of the plurality of pixels included in the display unit 10 is virtually (that is, logically) divided into a plurality of subpixels arranged in a predetermined direction. The predetermined direction may be, for example, a row direction or a column direction of a matrix in which a plurality of pixels are arranged, but is not limited thereto.

基本部分形成手段21は、文字データまたは図形データに基づいて、文字または図形の骨格を表す基本部分をサブピクセル単位で形成し、基本部分を構成するサブピクセルを基本サブピクセルとして規定する。基本サブピクセルは、基本色素子計数手段22および骨格調整手段23に供給される。   The basic part forming unit 21 forms a basic part representing a skeleton of a character or a figure in units of subpixels based on character data or graphic data, and defines subpixels constituting the basic part as basic subpixels. The basic subpixel is supplied to the basic color element counting means 22 and the skeleton adjusting means 23.

基本色素子計数手段22は、単一のピクセルに含まれる複数のサブピクセルのそれぞれの位置ごとに基本サブピクセルの個数を計数する。ここで、基本色素子計数手段22は、基本色素子の個数の代わりに基本サブピクセルの個数を計数するため、基本サブピクセル計数手段とも呼ばれる。基本色素子計数手段22による計数結果は、骨格調整手段23に供給される。   The basic color element counting means 22 counts the number of basic subpixels for each position of a plurality of subpixels included in a single pixel. Here, the basic color element counting means 22 is also called basic subpixel counting means because it counts the number of basic subpixels instead of the number of basic color elements. The counting result by the basic color element counting unit 22 is supplied to the skeleton adjusting unit 23.

骨格調整手段23は、単一のピクセルに含まれる複数のサブピクセルのそれぞれの位置のうち基本サブピクセルの個数が最小である位置に応じて、基本部分を構成するすべての基本サブピクセルをその所定の方向(すなわち、単一のピクセルに含まれる複数のサブピクセルの配列方向と同一の方向)にサブピクセル単位でシフトすることによって、シフトされた基本部分を形成する。これにより、文字または図形の骨格が調整される。例えば、骨格調整手段23は、単一のピクセルに含まれる複数のサブピクセルのそれぞれの位置のうち中央の位置に存在する基本サブピクセルの個数が最小である場合には、基本部分を構成するすべての基本サブピクセルをまったくシフトせず、単一のピクセルに含まれる複数のサブピクセルのそれぞれの位置のうち中央の位置からその所定の方向とは反対の方向(例えば、左方向)にある位置に存在する基本サブピクセルの個数が最小である場合には、基本部分を構成するすべての基本サブピクセルをその所定の方向(例えば、右方向)にシフトし、単一のピクセルに含まれる複数のサブピクセルのそれぞれの位置のうち中央の位置からその所定の方向(例えば、右方向)にある位置に存在する前記基本サブピクセルの個数が最小である場合には、基本部分を構成するすべての基本サブピクセルをその所定の方向とは反対の方向(例えば、左方向)にシフトする。このようにして、シフトされた基本部分は、表示寄与レベル割り付け手段24に供給される。   The skeletal adjustment means 23 determines all the basic subpixels constituting the basic portion as the predetermined number according to the position where the number of basic subpixels is the smallest among the positions of the plurality of subpixels included in the single pixel. Are shifted in sub-pixel units in the same direction (that is, the same direction as the arrangement direction of a plurality of sub-pixels included in a single pixel) to form a shifted basic portion. Thereby, the skeleton of a character or a figure is adjusted. For example, when the number of basic sub-pixels present at the center position among the positions of a plurality of sub-pixels included in a single pixel is the smallest, the skeleton adjusting unit 23 may configure all the basic parts. The basic sub-pixel of the sub-pixel is not shifted at all, and the position of the plurality of sub-pixels included in the single pixel is shifted from the center position to the position opposite to the predetermined direction (for example, the left direction). When the number of basic subpixels present is minimum, all the basic subpixels constituting the basic part are shifted in a predetermined direction (for example, rightward), and a plurality of subpixels included in a single pixel are shifted. When the number of the basic sub-pixels existing at the position in the predetermined direction (for example, the right direction) from the center position among the positions of the pixels is the smallest The, the the predetermined direction all the basic sub-pixels constituting the basic portion is shifted in the opposite direction (e.g., left). The shifted basic portion is supplied to the display contribution level assigning means 24 in this way.

なお、基本色素子計数手段22は、文字図形表示装置にとって必須の構成要素ではない。例えば、単一のピクセルに含まれる複数のサブピクセルのそれぞれの位置のうち基本サブピクセルの個数が最小である位置が予め計数されており、その位置が保持されている場合には、基本色素子計数手段22を省略することができる。基本サブピクセルの個数が最小である位置を文字または図形を表示するたびに計数する必要がないからである。例えば、基本サブピクセルの個数が最小である位置は、使用されるフォントごとに保持されていてもよい。あるいは、基本サブピクセルの個数が最小である位置は、文字または図形ごとに保持されていてもよいし、文字の一部または図形の一部ごと(例えば、文字または図形が複数のブロックに分割されている場合には、そのブロックごと)に保持されていてもよい。例えば、基本サブピクセルの個数が最小である位置を示す情報を文字データまたは図形データに埋め込んだ形式で、基本サブピクセルの個数が最小である位置を保持することが可能である。この場合には、骨格調整手段23は、その保持された位置を参照することにより、その保持された位置に応じて、基本部分を構成するすべての基本サブピクセルをサブピクセル単位でシフトするようにすればよい。   The basic color element counting means 22 is not an essential component for the character graphic display device. For example, when the position where the number of basic subpixels is the smallest among the positions of a plurality of subpixels included in a single pixel is counted in advance and the position is held, the basic color element The counting means 22 can be omitted. This is because it is not necessary to count the position where the number of basic sub-pixels is minimum every time a character or a graphic is displayed. For example, the position where the number of basic subpixels is minimum may be held for each font used. Alternatively, the position where the number of basic subpixels is minimum may be held for each character or figure, or for each part of the character or part of the figure (for example, the character or figure is divided into a plurality of blocks). May be held for each block). For example, it is possible to hold a position where the number of basic subpixels is minimum in a form in which information indicating the position where the number of basic subpixels is minimum is embedded in character data or graphic data. In this case, the skeleton adjusting unit 23 refers to the held position so as to shift all the basic subpixels constituting the basic part in units of subpixels according to the held position. do it.

表示寄与レベル割り付け手段24は、シフトされた基本部分と文字または図形の線幅を規定する線幅情報とに基づいて、基本サブピクセルが属する骨格ピクセルおよび骨格ピクセルに隣接する少なくとも1つの隣接ピクセルのそれぞれに対して、当該ピクセルが文字または図形の表示に寄与する割合を示す表示寄与レベルを割り付ける。骨格ピクセルまたは隣接ピクセルに割り付けられた表示寄与レベルは、出力値生成手段25に供給される。   The display contribution level allocating means 24 determines the skeleton pixel to which the basic subpixel belongs and at least one adjacent pixel adjacent to the skeleton pixel based on the shifted basic portion and the line width information defining the line width of the character or figure. A display contribution level indicating the ratio of the pixel contributing to the display of characters or graphics is assigned to each. The display contribution level assigned to the skeleton pixel or the adjacent pixel is supplied to the output value generation means 25.

出力値生成手段25は、骨格ピクセルまたは隣接ピクセルに割り付けられた表示寄与レベルを輝度値に変換し、その輝度値を表示部10に出力する。なお、出力値生成手段25に文字色/背景情報33が入力される必要は必ずしもない。例えば、背景は白色であり、文字は黒色であると固定されている場合には、出力値生成手段25は、文字色/背景情報33を参照することなく、骨格ピクセルまたは隣接ピクセルに割り付けられた表示寄与レベルを輝度値に変換することができる。   The output value generation unit 25 converts the display contribution level assigned to the skeleton pixel or the adjacent pixel into a luminance value, and outputs the luminance value to the display unit 10. Note that the character color / background information 33 is not necessarily input to the output value generation unit 25. For example, when the background is white and the character is fixed to be black, the output value generation means 25 is assigned to the skeleton pixel or the adjacent pixel without referring to the character color / background information 33. The display contribution level can be converted into a luminance value.

さらに、上述した実施形態では、表示部10と制御部20とを備えた文字図形表示装置の構成を説明したが、本発明は、これに限定されない。表示部10を有さない装置もまた本発明の範囲内である。例えば、制御部20に含まれる基本部分形成手段21、基本色素子計数手段22、骨格調整手段23、表示寄与レベル割り付け手段24および出力値生成手段25を含む装置は、複数のピクセルを有する表示装置に画像を表示するために使用される画像データを生成する画像データ生成装置として本発明の範囲内である。上述した実施形態において説明した制御部20の機能が、画像データ生成装置の機能と同等であることが明らかだからである。   Furthermore, although embodiment mentioned above demonstrated the structure of the character-graphics display apparatus provided with the display part 10 and the control part 20, this invention is not limited to this. Devices that do not have a display 10 are also within the scope of the present invention. For example, the device including the basic part forming means 21, the basic color element counting means 22, the skeleton adjusting means 23, the display contribution level assigning means 24, and the output value generating means 25 included in the control unit 20 is a display device having a plurality of pixels. The present invention is within the scope of the present invention as an image data generating device for generating image data used to display an image on the screen. This is because it is clear that the function of the control unit 20 described in the above-described embodiment is equivalent to the function of the image data generation device.

以上のように、本発明の好ましい実施形態を用いて本発明を例示してきたが、本発明は、この実施形態に限定して解釈されるべきものではない。本発明は、特許請求の範囲によってのみその範囲が解釈されるべきであることが理解される。当業者は、本発明の具体的な好ましい実施形態の記載から、本発明の記載および技術常識に基づいて等価な範囲を実施することができることが理解される。本明細書において引用した特許、特許出願および文献は、その内容自体が具体的に本明細書に記載されているのと同様にその内容が本明細書に対する参考として援用されるべきであることが理解される。   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 clearly displays the outline of each side edge by suppressing the blurring of each side edge even when the vertical line is displayed thick in a device such as a personal computer or a cellular phone. be able to.

Claims (14)

画像データを生成する画像データ生成装置であって、
前記画像データは、複数のピクセルを有する表示装置に画像を表示するために使用され、前記複数のピクセルのそれぞれは、所定の向きに配列された複数のサブピクセルに物理的または論理的に分割されており、
前記画像データ生成装置は、
文字データまたは図形データに基づいて、文字または図形の骨格を表す基本部分をサブピクセル単位で形成する基本部分形成手段であって、前記基本部分を構成するサブピクセルを基本サブピクセルとして規定する基本部分形成手段と、
前記基本部分を構成する前記基本サブピクセルが属するピクセルにおける前記基本サブピクセルの位置のうち、前記ピクセルにおける前記基本サブピクセルの位置の個数が最小になる位置に応じて予め決められた向きに、前記基本部分を構成する前記基本サブピクセルをサブピクセル単位でシフトすることによって、シフトされた基本部分を形成し、これにより前記文字または前記図形の骨格を調整する骨格調整手段と、
前記シフトされた基本部分と前記文字または前記図形の線幅を規定する線幅情報とに基づいて、前記基本サブピクセルが属する骨格ピクセルおよび前記骨格ピクセルに隣接する少なくとも1つの隣接ピクセルのそれぞれに対して、当該ピクセルが前記文字または前記図形の表示に寄与する割合を示す表示寄与レベルを割り付ける表示寄与レベル割り付け手段と、
前記骨格ピクセルまたは前記隣接ピクセルに割り付けられた前記表示寄与レベルを輝度値に変換し、前記骨格ピクセルまたは前記隣接ピクセルに前記輝度値が設定された画像データを出力する出力値生成手段と
を備えた、画像データ生成装置。
An image data generation device for generating image data,
The image data is used to display an image on a display device having a plurality of pixels, and each of the plurality of pixels is physically or logically divided into a plurality of sub-pixels arranged in a predetermined direction. And
The image data generation device includes:
Basic part forming means for forming a basic part representing a skeleton of a character or a figure in units of subpixels based on character data or figure data, and defining a subpixel constituting the basic part as a basic subpixel Forming means;
Among the positions of the basic subpixels in the pixel to which the basic subpixels constituting the basic part belong, the direction determined in advance according to the position where the number of the positions of the basic subpixels in the pixel is minimized , by shifting the basic sub-pixels constituting the basic portion in Sa Bupikuseru units, and skeletal adjusting means to form a shifted base portion, thereby adjusting the skeleton of the character or the graphic,
For each of the skeleton pixel to which the basic subpixel belongs and at least one adjacent pixel adjacent to the skeleton pixel based on the shifted basic portion and line width information defining the line width of the character or the figure Display contribution level assigning means for assigning a display contribution level indicating a ratio of the pixel contributing to the display of the character or the figure,
Output value generating means for converting the display contribution level assigned to the skeleton pixel or the adjacent pixel into a luminance value, and outputting image data in which the luminance value is set to the skeleton pixel or the adjacent pixel. , Image data generation device.
前記骨格調整手段は、前記基本部分を構成する前記基本サブピクセルが属するピクセルにおける前記基本サブピクセルの位置のうち中央存在する前記基本サブピクセルの位置の個数が最小である場合には、前記基本部分を構成するすべての基本サブピクセルをシフトせず、前記基本部分を構成する前記基本サブピクセルが属するピクセルにおける前記基本サブピクセルの位置のうち中央の位置から前記所定の向きとは反対の向きにある位置に存在する前記基本サブピクセルの位置の個数が最小である場合には、前記基本部分を構成するすべての基本サブピクセルを前記所定の向きにシフトし、前記基本部分を構成する前記基本サブピクセルが属するピクセルにおける前記基本サブピクセルの位置のうち中央の位置から前記所定の向きにある位置に存在する前記基本サブピクセルの位置の個数が最小である場合には、前記基本部分を構成するすべての基本サブピクセルを前記所定の向きとは反対の向きにシフトする、請求項1に記載の画像データ生成装置。The framework adjusting means, when the number of positions of the basic sub-pixel present in the center of positions of the basic sub-pixels in the basic sub-pixel belongs pixels constituting the base section is the smallest, the basic All basic subpixels constituting the portion are not shifted, and the basic subpixel position of the pixel to which the basic subpixel constituting the basic portion belongs is changed from the center position to the direction opposite to the predetermined direction . When the number of positions of the basic sub-pixels existing at a certain position is minimum, all the basic sub-pixels constituting the basic part are shifted in the predetermined direction , and the basic sub-parts constituting the basic part are shifted. from the center position in the predetermined direction of the position of the basic sub-pixels in the pixel which pixel belongs When the number of positions of the basic sub-pixel present in the location is minimum, shifts in the opposite orientation and all the basic sub-pixels constituting the basic portion the predetermined direction, according to claim 1 Image data generation apparatus. 前記表示寄与レベル割り付け手段は、前記骨格ピクセルに最大の表示寄与レベルを割り付け、前記少なくとも1つの隣接ピクセルのうちの第1の隣接ピクセルが前記少なくとも1つの隣接ピクセルのうちの第2の隣接ピクセルよりも前記骨格ピクセルを構成する基本サブピクセルに近接している場合には、前記第1の隣接ピクセルの表示寄与レベルが前記第2の隣接ピクセルの表示寄与レベルよりも高くなるように、前記少なくとも1つの隣接ピクセルのそれぞれに前記最大の表示寄与レベル以外の表示寄与レベルを割り付ける、請求項1に記載の画像データ生成装置。  The display contribution level assigning means assigns a maximum display contribution level to the skeleton pixel, and a first neighboring pixel of the at least one neighboring pixel is more than a second neighboring pixel of the at least one neighboring pixel. In the case where it is close to the basic subpixels constituting the skeleton pixel, the display contribution level of the first adjacent pixel is higher than the display contribution level of the second adjacent pixel. The image data generation device according to claim 1, wherein a display contribution level other than the maximum display contribution level is assigned to each of two adjacent pixels. 前記表示寄与レベル割り付け手段は、前記文字または前記図形に含まれる縦線または斜め線を「中太線」として表示する場合には、前記第2の隣接ピクセルに最小の表示寄与レベルを割り付ける、請求項3に記載の画像データ生成装置。  The display contribution level assigning means assigns a minimum display contribution level to the second adjacent pixel when displaying a vertical line or diagonal line included in the character or the graphic as a “medium thick line”. 4. The image data generation device according to 3. 前記表示寄与レベル割り付け手段は、前記文字または前記図形に含まれる縦線または斜め線を「極太線」として表示する場合には、前記第1の隣接ピクセルに最大の表示寄与レベルを割り付け、前記第2の隣接ピクセルに最大の表示寄与レベルと最小の表示寄与レベルとの間にある中間の表示寄与レベルを割り付ける、請求項3に記載の画像データ生成装置。  The display contribution level assigning means assigns a maximum display contribution level to the first adjacent pixel when displaying a vertical line or diagonal line included in the character or the graphic as a “thick line”. The image data generation device according to claim 3, wherein an intermediate display contribution level between the maximum display contribution level and the minimum display contribution level is assigned to two adjacent pixels. 前記画像データ生成装置は、前記基本部分の形状に基づいて、前記基本部分の一部を構成する基本サブピクセルについては、前記基本部分を構成する前記基本サブピクセルが属するピクセルにおける前記基本サブピクセルの位置の個数を計数しないように構成されている、請求項1に記載の画像データ生成装置。The image data generation device, based on the shape of the basic part, for basic subpixels constituting a part of the basic part, the basic subpixels in the pixel to which the basic subpixel constituting the basic part belongs. The image data generation device according to claim 1, wherein the image data generation device is configured not to count the number of positions . 前記画像データ生成装置は、前記基本部分を構成する前記基本サブピクセルが属するピクセルにおける前記基本サブピクセルの位置のうち、前記ピクセルにおける前記基本サブピクセルの位置の個数が最小になる位置を求める際、前記基本部分を構成する前記基本サブピクセルを構成する縦線毎に重み係数を設定し、前記ピクセルにおける前記基本サブピクセルの位置の個数を計数する際、前記重み係数を乗算する、請求項1に記載の画像データ生成装置。The image data generation device, when obtaining the position where the number of the position of the basic subpixel in the pixel is the smallest among the positions of the basic subpixel in the pixel to which the basic subpixel constituting the basic portion belongs, The weighting factor is set for each vertical line constituting the basic subpixel constituting the basic portion, and the weighting factor is multiplied when counting the number of positions of the basic subpixel in the pixel. The image data generation device described. 前記基本部分形成手段は、前記文字または前記図形が複数のブロックに分割されている場合には、各ブロック毎に前記基本部分を形成する、請求項1に記載の画像データ生成装置。  The image data generation device according to claim 1, wherein, when the character or the graphic is divided into a plurality of blocks, the basic part forming unit forms the basic part for each block. 前記文字データまたは前記図形データは、ビットマップデータである、請求項1に記載の画像データ生成装置。  The image data generation device according to claim 1, wherein the character data or the graphic data is bitmap data. 前記複数のピクセルは、マトリクス状に配列されており、前記所定の向きは、前記マトリクスの行の向きまたは列の向きである、請求項1に記載の画像データ生成装置。Wherein the plurality of pixels are arranged in a matrix, said predetermined orientation, wherein a direction or a column direction of the row of the matrix, the image data generating apparatus according to claim 1. 前記複数のピクセルのそれぞれは、赤(R)色を表示するR色素子と、緑(G)色を表示するG色素子と、青(B)色を表示するB色素子とをサブピクセルとして含み、
前記R色素子、前記G色素子、前記B色素子は、前記マトリクスの行の向きまたは列の向きに、前記R色素子、前記G色素子、前記B色素子の順番で配置されている、請求項10に記載の画像データ生成装置。
Each of the plurality of pixels includes an R color element that displays a red (R) color, a G color element that displays a green (G) color, and a B color element that displays a blue (B) color as subpixels. Including
Wherein R color element, the G color element, the B color element, the orientation of the orientation or column of a row of said matrix, said R color element, the G color elements are arranged in the order of the B color elements, The image data generation device according to claim 10.
画像データを生成する画像データ生成方法であって、
前記画像データは、複数のピクセルを有する表示装置に画像を表示するために使用され、前記複数のピクセルのそれぞれは、所定の向きに配列された複数のサブピクセルに物理的または論理的に分割されており、
前記画像データ生成方法は、
文字データまたは図形データに基づいて、文字または図形の骨格を表す基本部分をサブピクセル単位で形成するステップであって、前記基本部分を構成するサブピクセルを基本サブピクセルとして規定するステップと、
前記基本部分を構成する前記基本サブピクセルが属するピクセルにおける前記基本サブピクセルの位置のうち、前記ピクセルにおける前記基本サブピクセルの位置の個数が最小になる位置に応じて予め決められた向きに、前記基本部分を構成する前記基本サブピクセルをサブピクセル単位でシフトすることによって、シフトされた基本部分を形成し、これにより前記文字または前記図形の骨格を調整するステップと、
前記シフトされた基本部分と前記文字または前記図形の線幅を規定する線幅情報とに基づいて、前記基本サブピクセルが属する骨格ピクセルおよび前記骨格ピクセルに隣接する少なくとも1つの隣接ピクセルのそれぞれに対して、当該ピクセルが前記文字または前記図形の表示に寄与する割合を示す表示寄与レベルを割り付けるステップと、
前記骨格ピクセルまたは前記隣接ピクセルに割り付けられた前記表示寄与レベルを輝度値に変換し、前記骨格ピクセルまたは前記隣接ピクセルに前記輝度値が設定された画像データを出力するステップと
を包含する、画像データ生成方法。
An image data generation method for generating image data,
The image data is used to display an image on a display device having a plurality of pixels, and each of the plurality of pixels is physically or logically divided into a plurality of sub-pixels arranged in a predetermined direction. And
The image data generation method includes:
Forming a basic portion representing a skeleton of a character or graphic based on character data or graphic data in subpixel units, and defining a subpixel constituting the basic portion as a basic subpixel;
Among the positions of the basic subpixels in the pixel to which the basic subpixels constituting the basic part belong, the direction determined in advance according to the position where the number of the positions of the basic subpixels in the pixel is minimized , by shifting the basic sub-pixels constituting the basic portion in Sa Bupikuseru units, a step of forming the shifted base portion, thereby adjusting the skeleton of the character or the graphic,
For each of the skeleton pixel to which the basic subpixel belongs and at least one adjacent pixel adjacent to the skeleton pixel based on the shifted basic portion and line width information defining the line width of the character or the figure Assigning a display contribution level indicating a ratio of the pixel contributing to the display of the character or the figure;
Converting the display contribution level assigned to the skeleton pixel or the adjacent pixel into a luminance value, and outputting the image data in which the luminance value is set to the skeleton pixel or the adjacent pixel. Generation method.
請求項12に記載の方法における各ステップをコンピュータに実行させるためのプログラム。  The program for making a computer perform each step in the method of Claim 12. 請求項13に記載のプログラムが格納されたコンピュータ読み取り可能な記憶媒体。  A computer-readable storage medium storing the program according to claim 13.
JP2007524668A 2005-07-12 2006-07-11 Image data generation apparatus, image data generation method, program, and storage medium Expired - Fee Related JP4772049B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007524668A JP4772049B2 (en) 2005-07-12 2006-07-11 Image data generation apparatus, image data generation method, program, and storage medium

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2005203708 2005-07-12
JP2005203708 2005-07-12
JP2007524668A JP4772049B2 (en) 2005-07-12 2006-07-11 Image data generation apparatus, image data generation method, program, and storage medium
PCT/JP2006/313797 WO2007007769A1 (en) 2005-07-12 2006-07-11 Image data generator, image data generating method, program and storage medium

Publications (2)

Publication Number Publication Date
JPWO2007007769A1 JPWO2007007769A1 (en) 2009-01-29
JP4772049B2 true JP4772049B2 (en) 2011-09-14

Family

ID=37637160

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007524668A Expired - Fee Related JP4772049B2 (en) 2005-07-12 2006-07-11 Image data generation apparatus, image data generation method, program, and storage medium

Country Status (4)

Country Link
JP (1) JP4772049B2 (en)
CN (1) CN101243487B (en)
TW (1) TWI356394B (en)
WO (1) WO2007007769A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011078503A (en) 2009-10-05 2011-04-21 Delta Tooling Co Ltd Cushion structure and vehicle seat
GB2487717B (en) * 2011-01-25 2017-06-21 Advanced Risc Mach Ltd Image encoding method
JP5255132B2 (en) * 2012-01-18 2013-08-07 シャープ株式会社 Multi-tone character display method, multi-tone character display device, multi-tone character display program, television receiver equipped with multi-tone character display device, and mobile phone equipped with multi-tone character display device machine
CN110442313B (en) * 2019-06-27 2021-09-21 华为技术有限公司 Display attribute adjusting method and related equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003302962A (en) * 2002-04-08 2003-10-24 Sharp Corp Display device, character / graphic display method, character / graphic display program, and readable recording medium
JP2004093932A (en) * 2002-08-30 2004-03-25 Seiko Epson Corp Font processing device, terminal device, font processing method, and font processing program
JP2005024987A (en) * 2003-07-03 2005-01-27 Sharp Corp Character display device, character display method, character display program, and readable recording medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3483946B2 (en) * 1994-08-19 2004-01-06 三菱電機株式会社 Font processing apparatus and font processing method
TW324820B (en) * 1996-05-28 1998-01-11 Sharp Kk Character pattern generating apparatus capable of easily generating characters of a plurality of different fonts
JP4407875B2 (en) * 2002-02-25 2010-02-03 シャープ株式会社 CHARACTER DISPLAY DEVICE, CHARACTER DISPLAY METHOD, CONTROL PROGRAM FOR CONTROLLING THE CHARACTER DISPLAY METHOD, AND RECORDING MEDIUM CONTAINING THE CONTROL PROGRAM

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003302962A (en) * 2002-04-08 2003-10-24 Sharp Corp Display device, character / graphic display method, character / graphic display program, and readable recording medium
JP2004093932A (en) * 2002-08-30 2004-03-25 Seiko Epson Corp Font processing device, terminal device, font processing method, and font processing program
JP2005024987A (en) * 2003-07-03 2005-01-27 Sharp Corp Character display device, character display method, character display program, and readable recording medium

Also Published As

Publication number Publication date
JPWO2007007769A1 (en) 2009-01-29
CN101243487B (en) 2010-12-08
TW200717440A (en) 2007-05-01
CN101243487A (en) 2008-08-13
TWI356394B (en) 2012-01-11
WO2007007769A1 (en) 2007-01-18
HK1118935A1 (en) 2009-02-20

Similar Documents

Publication Publication Date Title
JP4117233B2 (en) Video expression method and apparatus
KR101427607B1 (en) Multi-color conversion
CN101174403B (en) Graphic display apparatus, character display apparatus, display method, recording medium, and program
JP2006285238A (en) Display method for use in display device and display device
JP2005092222A (en) VIDEO DISPLAY METHOD, VIDEO DISPLAY DEVICE, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING COMPUTER PROGRAM
CN103927974A (en) Display, Image Processing Unit, Image Processing Method, And Electronic Apparatus
US20070122061A1 (en) Image processing device, image processing program, and computer-readable recording medium
US7468732B2 (en) Character display apparatus and character display method, control program for controlling the character display method and recording medium recording the control program
CN109313878B (en) Display device and display device control method
JP5141418B2 (en) Image display control device, program, and image display control method
JP2001100725A (en) Character display device, character display method, and recording medium
CN113299247B (en) Method and related device for optimizing display effect of color electronic ink screen
TWI463479B (en) Image device and data processing system
CN100437746C (en) Character display device and character display method
JP4772049B2 (en) Image data generation apparatus, image data generation method, program, and storage medium
KR100642694B1 (en) Display apparatus, information display method, information display program, readable recording medium, and information apparatus
JPWO2005071659A1 (en) Display device, display control device, display method, display control program, and computer-readable recording medium recording the program
TWI253988B (en) Method of adjusting halftone image dot positions for improving print quality
JP3827318B2 (en) Character / graphic display device, program, and recording medium
HK1118935B (en) Image data generator and image data generating method
CN106033659A (en) Display driver and display device
JP2015106095A (en) Image processing apparatus, image processing method, and computer program
JP2022023288A (en) Image processing device, method, and program
JP2014052613A (en) Display device, and computer program
JP2007156500A (en) Character display device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110124

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110318

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110621

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

Free format text: PAYMENT UNTIL: 20140701

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees