[go: up one dir, main page]

JP4667464B2 - Image information generating apparatus, image information generating method, image information generating program, and recording medium - Google Patents

Image information generating apparatus, image information generating method, image information generating program, and recording medium Download PDF

Info

Publication number
JP4667464B2
JP4667464B2 JP2007533345A JP2007533345A JP4667464B2 JP 4667464 B2 JP4667464 B2 JP 4667464B2 JP 2007533345 A JP2007533345 A JP 2007533345A JP 2007533345 A JP2007533345 A JP 2007533345A JP 4667464 B2 JP4667464 B2 JP 4667464B2
Authority
JP
Japan
Prior art keywords
skeleton
subpixel
subpixels
image information
color element
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007533345A
Other languages
Japanese (ja)
Other versions
JPWO2007026850A1 (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
Publication of JPWO2007026850A1 publication Critical patent/JPWO2007026850A1/en
Application granted granted Critical
Publication of JP4667464B2 publication Critical patent/JP4667464B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/409Edge or detail enhancement; Noise or error suppression
    • H04N1/4092Edge or detail enhancement
    • 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
    • G09G2300/00Aspects of the constitution of display devices
    • G09G2300/04Structural and physical details of display devices
    • G09G2300/0439Pixel structures
    • G09G2300/0443Pixel structures with several sub-pixels for the same colour in a pixel, not specifically used to display gradations
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0242Compensation of deficiencies in the appearance of colours

Landscapes

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

Description

本発明は、液晶ディスプレイ等の表示デバイス、プリンタ等の印刷デバイスのように、文字、図形等の画像を形成する装置に対して、文字、図形等の画像情報を生成するための画像情報生成装置に関する。また、本発明は、画像情報生成装置によって文字、図形等の画像情報を生成させるための画像情報生成方法、その画像情報生成方法による処理手順が記述された画像情報生成プログラム、そのプログラムが記録されたコンピュータ読み取り可能な記録媒体に関する。本発明の画像情報生成装置は、パーソナルコンピュータ、携帯電話機、デジタルテレビジョン等のような表示装置、印刷装置等を備えた電子機器、情報機器全般に応用することが可能である。   The present invention relates to an image information generation apparatus for generating image information such as characters and figures for an apparatus that forms images such as characters and figures such as a display device such as a liquid crystal display and a printing device such as a printer. About. The present invention also provides an image information generation method for generating image information such as characters and graphics by an image information generation apparatus, an image information generation program in which a processing procedure by the image information generation method is described, and the program is recorded. The present invention relates to a computer-readable recording medium. The image information generating apparatus of the present invention can be applied to display devices such as personal computers, mobile phones, digital televisions, etc., electronic devices including printing devices, and general information devices.

液晶ディスプレイ等の表示デバイスは、通常、技術的な制約から、プリンタ等の印刷デバイスに比べて解像度が低くなっている。このために、表示デバイスの表示画面に表示される文字、図形等の画像情報は、印刷物の印刷面に印刷される文字、図形等の画像情報に比べて精細度が低く、品質も劣る場合が多い。   A display device such as a liquid crystal display usually has a lower resolution than a printing device such as a printer due to technical limitations. For this reason, the image information such as characters and graphics displayed on the display screen of the display device may have lower definition and inferior quality than the image information such as characters and graphics printed on the printed surface of the printed matter. Many.

カラー液晶ディスプレイは、通常、ピクセルがマトリクス状に配置された表示画面において、各ピクセルが、例えばR、G、Bの各色を表示する3つのサブピクセルが横方向に配置されて構成されており、このような表示画面において、文字、図形等を表示する場合に、色付き、文字潰れ等が生じるおそれがあることから、文字、図形等を高精細に表示する方法が提案されている。   A color liquid crystal display is usually configured such that, on a display screen in which pixels are arranged in a matrix, each pixel is arranged with, for example, three sub-pixels that display R, G, and B colors in the horizontal direction. In such a display screen, when characters, graphics, etc. are displayed, there is a possibility that coloring, character collapse, etc. may occur. Therefore, a method of displaying characters, graphics, etc. with high definition has been proposed.

例えば、特許文献1(特許第3552094号公報)には、カラー液晶ディスプレイ等の表示画面に文字、図形を高精細で表示する方法が記載されている。この方法では、まず、文字の骨格(スケルトン)がサブピクセルを単位として表示されるように、骨格を形成するストロークに対して各ピクセル毎に1つのサブピクセルが割り当てられる。ストロークが縦線の場合には、縦方向に連続するサブピクセルが、それぞれ骨格サブピクセルとして割り当てられる。そして、骨格サブピクセルを最大の色要素レベルとし、骨格サブピクセルに隣接するサブピクセルに対しては、最大の色要素レベルよりも低い色要素レベルが割り当てられる。このようにして、骨格サブピクセルおよびその周囲のサブピクセルに対して色要素レベルが割り当てられると、各サブピクセルに割り当てられた色要素レベルに対応した輝度レベルで各サブピクセルを制御することによって、表示画面に文字、図形等が高精細で表示される。   For example, Patent Document 1 (Japanese Patent No. 3552094) describes a method of displaying characters and figures with high definition on a display screen such as a color liquid crystal display. In this method, first, one subpixel is assigned to each pixel for the stroke forming the skeleton so that the skeleton of the character is displayed in units of subpixels. When the stroke is a vertical line, subpixels that are continuous in the vertical direction are assigned as skeleton subpixels. The skeleton subpixel is set to the maximum color element level, and a color element level lower than the maximum color element level is assigned to the subpixel adjacent to the skeleton subpixel. In this way, when color element levels are assigned to the skeleton subpixel and its surrounding subpixels, by controlling each subpixel at a luminance level corresponding to the color element level assigned to each subpixel, Characters, graphics, etc. are displayed in high definition on the display screen.

図17は、特許文献1に示された文字表示装置100の概略構成を示している。この文字表示装置100は、カラー表示可能な表示デバイスとしての出力デバイス200と、この出力デバイス200の表示画面にて表示される画像情報を制御する制御部300とを備えている。出力デバイス200は、ピクセルがマトリクス情報に配置された表示画面を有しており、各ピクセルが、例えば、横方向に並んで配置されたR、G、Bの3つのサブピクセルによって構成されている。制御部300は、表示画面における各サブピクセルの輝度値(輝度レベル)をそれぞれ独立して制御するようになっている。制御部300は、主メモリ310とCPU320とを備え、そのCPU320は、出力デバイス200と、入力デバイス400と、補助記憶装置500とに接続されている。   FIG. 17 shows a schematic configuration of the character display device 100 disclosed in Patent Document 1. The character display device 100 includes an output device 200 as a display device capable of color display, and a control unit 300 that controls image information displayed on the display screen of the output device 200. The output device 200 has a display screen in which pixels are arranged in matrix information, and each pixel is composed of, for example, three sub-pixels R, G, and B arranged in the horizontal direction. . The control unit 300 is configured to independently control the luminance value (luminance level) of each sub-pixel on the display screen. The control unit 300 includes a main memory 310 and a CPU 320, and the CPU 320 is connected to the output device 200, the input device 400, and the auxiliary storage device 500.

補助記憶装置500には、表示デバイスである出力デバイス200において文字を表示させるための表示プログラム510と、この表示プログラム510を制御部300によって実行するために必要なデータ520とが格納されている。データ520は、文字形状データ520aと、補正テーブル520bと、輝度テーブル520cとを備えている。文字形状データ520aには、文字の形状を定義するためのデータとして、例えば文字の骨格形状を表すスケルトンデータ、文字の輪郭形状を表すアウトラインデータ等が格納されている。補正テーブル520bには、文字の骨格に対応して設定される骨格サブピクセルに隣接するサブピクセルの色要素レベルを設定するための補正パターンが格納されている。   The auxiliary storage device 500 stores a display program 510 for displaying characters on the output device 200, which is a display device, and data 520 necessary for executing the display program 510 by the control unit 300. The data 520 includes character shape data 520a, a correction table 520b, and a luminance table 520c. The character shape data 520a stores, for example, skeleton data representing the skeleton shape of the character, outline data representing the outline shape of the character, and the like as data for defining the shape of the character. The correction table 520b stores a correction pattern for setting a color element level of a sub-pixel adjacent to a skeleton sub-pixel set corresponding to the character skeleton.

補正テーブルには、骨格サブピクセルに隣接する3個または4個のサブピクセルに対する色要素レベルが設定されており、骨格サブピクセルに対して最大の色要素レベルが設定され、骨格サブピクセルに隣接する3個または4個のサブピクセルには、最大の色要素レベルよりも低い色要素レベルが、それぞれ割り当てられる。   In the correction table, color element levels for three or four subpixels adjacent to the skeleton subpixel are set, the maximum color element level is set for the skeleton subpixel, and the skeleton subpixel is adjacent. Three or four subpixels are each assigned a color element level lower than the maximum color element level.

また、輝度テーブル520cには、R、G、Bにそれぞれ対応した各サブピクセルに設定される色要素レベルと輝度レベルとの関係が設定されている。   In the luminance table 520c, the relationship between the color element level and the luminance level set for each subpixel corresponding to R, G, and B is set.

このような構成の文字表示装置100は、図18に示す処理手順にしたがって文字表示処理が行われる。   Character display apparatus 100 having such a configuration performs character display processing according to the processing procedure shown in FIG.

図18のステップS1001において、入力デバイス400から文字コードおよび文字サイズが入力されると、ステップS1002において、1文字分のスケルトン(骨格)データが主メモリ310に格納される。スケルトンデータとは、文字の骨格部分を示すデータであり、スケルトンデータは、線分を示すストロークデータの集合である。   When a character code and a character size are input from the input device 400 in step S1001 of FIG. 18, skeleton (skeleton) data for one character is stored in the main memory 310 in step S1002. Skeleton data is data indicating a skeleton portion of a character, and skeleton data is a set of stroke data indicating a line segment.

次に、ステップS1003において、入力された文字サイズに基づいて、スケルトンデータにおけるストロークデータの座標データがスケーリングされ、ステップS1004において、1ストローク分のデータが取り出される。   Next, in step S1003, the coordinate data of the stroke data in the skeleton data is scaled based on the input character size. In step S1004, data for one stroke is extracted.

次に、ステップS1005において、ストロークが直線であると判断された場合(Yes)には、ステップS1006に進み、直線上のサブピクセルを文字の基本部分(骨格)として定義する。一方、ステップS1005において、ストロークが直線ではないと判断された場合(No)には、ステップS1007に進み、曲線上のサブピクセルを文字の基本部分(骨格)として定義する。   Next, when it is determined in step S1005 that the stroke is a straight line (Yes), the process proceeds to step S1006, and subpixels on the straight line are defined as the basic portion (skeleton) of the character. On the other hand, if it is determined in step S1005 that the stroke is not a straight line (No), the process proceeds to step S1007, and the subpixel on the curve is defined as the basic portion (skeleton) of the character.

次に、ステップS1008において、文字の基本部分(骨格)に対応する骨格サブピクセルの色要素レベルを決定し、ステップS1009において、補正テーブル520bを用いて、骨格サブピクセルに対して横方向に隣接する3個または4個のサブピクセルの色要素レベルを決定する。   Next, in step S1008, the color element level of the skeleton subpixel corresponding to the basic portion (skeleton) of the character is determined, and in step S1009, the correction table 520b is used to horizontally adjoin the skeleton subpixel. Determine the color element levels of 3 or 4 sub-pixels.

次に、ステップS1010において、1文字に含まれる全てのストロークが処理されていない場合(No)には、ステップS1003に戻って処理を繰り返す。一方、ステップS1010において、1文字に含まれる全てのストロークが処理されている場合(Yes)には、ステップS1011に進み、輝度テーブル520cを用いてサブピクセルの色要素レベルを輝度レベルに変換する。   Next, in step S1010, when all the strokes included in one character have not been processed (No), the process returns to step S1003 and is repeated. On the other hand, if all the strokes included in one character are processed in step S1010 (Yes), the process proceeds to step S1011 and the color element level of the sub-pixel is converted into a luminance level using the luminance table 520c.

最後に、ステップS1012において、サブピクセルの輝度レベルを示す輝度データを、表示デバイスとしての出力デバイス200に転送して処理を終了する。   Finally, in step S1012, the luminance data indicating the luminance level of the sub-pixel is transferred to the output device 200 as a display device, and the process ends.

このような特許文献1に開示された方法によれば、文字の骨格に対応して設定される骨格サブピクセルに隣接するサブピクセルの色要素レベルおよび輝度レベルを適切にコントロールすることによって、文字を構成するストロークの線幅を変化させて表示する場合にも、高精細で、かつ、滑らかに表示することができる。   According to the method disclosed in Patent Document 1, the character is controlled by appropriately controlling the color element level and the luminance level of the subpixel adjacent to the skeleton subpixel set corresponding to the skeleton of the character. Even when the line width of the stroke to be configured is changed for display, high-definition and smooth display can be performed.

さらに、特許文献2(特開2003−248476号公報)には、文字の骨格に対応して設定された骨格サブピクセルの配列に基づいて、注目ピクセルを抽出し、その注目ピクセルを構成する各サブピクセルの輝度値を変更する方法が記載されている。   Further, in Patent Document 2 (Japanese Patent Application Laid-Open No. 2003-248476), a pixel of interest is extracted based on an array of skeleton subpixels set corresponding to the skeleton of a character, and each sub constituting the pixel of interest is extracted. A method for changing the luminance value of a pixel is described.

図19は、この特許文献2に開示された文字表示装置の概略構成を示すブロック図、図20は、その文字表示装置によって実施される処理のフローチャートである。   FIG. 19 is a block diagram showing a schematic configuration of the character display device disclosed in Patent Document 2, and FIG. 20 is a flowchart of processing executed by the character display device.

図19において、文字表示装置101は、カラー表示可能な表示デバイスによって構成された出力デバイス200と、この出力デバイス200に含まれる複数のサブピクセルに対応する複数の輝度値(輝度レベル)をそれぞれ独立して制御する制御部300とを備えている。制御部300は、主メモリ310とCPU320とを有しており、そのCPU320は、出力デバイス200と、入力デバイス400と、補助記憶装置501とに接続されている。出力デバイス200は、図17に示す出力デバイス200と同様の構成になっている。   In FIG. 19, the character display device 101 independently outputs an output device 200 configured by a display device capable of color display and a plurality of luminance values (luminance levels) corresponding to a plurality of subpixels included in the output device 200. And a control unit 300 that performs control. The control unit 300 includes a main memory 310 and a CPU 320, and the CPU 320 is connected to the output device 200, the input device 400, and the auxiliary storage device 501. The output device 200 has the same configuration as the output device 200 shown in FIG.

補助記憶装置501には、表示プログラム511と、表示プログラム511を制御部300によって実行するために必要なデータ521とが格納されている。データ521は、文字形状データ521aと、画素値テーブル521dとを有している。文字形状データ521aには、文字の形状を定義するためのデータとして、例えば文字の骨格形状を表すスケルトンデータ、文字の輪郭形状を表すアウトラインデータ、文字を表すビットマップデータ等が格納されている。画素値テーブルには、輝度レベルが決定される注目ピクセルに含まれるM個のサブピクセルと、その両側に隣接するN個のサブピクセルとを加えたM+2×2個のサブピクセルに含まれる文字の基本部分(骨格)の配列パターンに対して、注目ピクセルに含まれるM個のサブピクセルの輝度レベル(ピクセルの画素値)が設定されている。   The auxiliary storage device 501 stores a display program 511 and data 521 necessary for executing the display program 511 by the control unit 300. The data 521 has character shape data 521a and a pixel value table 521d. The character shape data 521a stores, for example, skeleton data representing the skeleton shape of the character, outline data representing the outline shape of the character, bitmap data representing the character, and the like as data for defining the shape of the character. The pixel value table includes M + 2 × 2 sub-pixels including M sub-pixels included in the pixel of interest whose luminance level is determined and N sub-pixels adjacent to both sides thereof. For the arrangement pattern of the basic part (skeleton), the luminance levels (pixel values of pixels) of M sub-pixels included in the pixel of interest are set.

このような構成の文字表示装置101により、図20に示すフローチャートに示す処理手順に基づいて文字表示処理が行われる。   Character display processing is performed by the character display device 101 having such a configuration based on the processing procedure shown in the flowchart of FIG.

図20のステップS1001において、入力デバイス400から文字コードおよび文字サイズが入力されると、ステップS1002において、1文字分のスケルトンデータが主メモリ310に格納される。   When a character code and a character size are input from the input device 400 in step S1001 in FIG. 20, skeleton data for one character is stored in the main memory 310 in step S1002.

次に、ステップS1003において、入力された文字サイズに基づいてスケルトンデータに含まれるストロークデータの座標データがスケーリングされ、ステップS1004において、1ストローク分のデータが取り出される。   In step S1003, the coordinate data of the stroke data included in the skeleton data is scaled based on the input character size. In step S1004, data for one stroke is extracted.

次に、ステップS1005において、ストロークが直線であると判断された場合(Yes)には、ステップS1006に進み、直線上のサブピクセルを文字の基本部分(骨格)として定義する。一方、ステップS1005において、ストロークが直線ではないと判断された場合(No)には、ステップS1007に進み、曲線上のサブピクセルを文字の基本部分(骨格)として定義する。ここまでの処理は、図18に示す特許文献1の文字表示装置100による処理と同様である。   Next, when it is determined in step S1005 that the stroke is a straight line (Yes), the process proceeds to step S1006, and subpixels on the straight line are defined as the basic portion (skeleton) of the character. On the other hand, if it is determined in step S1005 that the stroke is not a straight line (No), the process proceeds to step S1007, and the subpixel on the curve is defined as the basic portion (skeleton) of the character. The processing so far is the same as the processing by the character display device 100 of Patent Document 1 shown in FIG.

次に、ステップS1010において、1文字に含まれる全てのストロークが処理されていない場合(No)には、ステップS1003に戻って処理を繰り返す。一方、ステップS1010において、1文字に含まれる全てのストロークが処理されている場合(Yes)には、ステップS1101に進み、注目サブピクセルに隣接するサブピクセルの配列パターンを調べる。   Next, in step S1010, when all the strokes included in one character have not been processed (No), the process returns to step S1003 and is repeated. On the other hand, if all strokes included in one character have been processed in step S1010 (Yes), the process proceeds to step S1101, and the arrangement pattern of subpixels adjacent to the target subpixel is examined.

そして、ステップS1102において、画素値テーブル521dを検索し、注目ピクセルに対して、近傍サブピクセルの配列パターンに対応するサブピクセルの輝度レベルを設定する。   In step S1102, the pixel value table 521d is searched, and the luminance level of the subpixel corresponding to the arrangement pattern of the neighboring subpixels is set for the pixel of interest.

最後に、ステップS1103において、サブピクセルの輝度レベルを示す輝度データを表示デバイスなどの出力デバイス200に転送して処理を終了する。   Finally, in step S1103, the luminance data indicating the luminance level of the sub-pixel is transferred to the output device 200 such as a display device, and the process ends.

この特許文献2に開示されている方法によれば、特許文献1よりも簡略化された処理によって、文字の骨格に対応する骨格サブピクセルに隣接するサブピクセルの色要素レベルおよび輝度レベルを適切にコントロールすることができ、文字を構成するストロークの幅を変化させて表示する場合にも、高精細、かつ、滑らかに表示することが可能となる。さらに、この特許文献2には、互いに接近している骨格サブピクセルに関して、骨格サブピクセル同士の空間を確保するように骨格サブピクセルの位置を移動させた上で、骨格サブピクセルの並び方に基づいて注目するピクセルに含まれる各サブピクセルの輝度値を設定する方法も提案されている。これにより、表示画面において、文字が潰れたような状態で表示されることを防ぐことができる。
特許第3552094号公報 特開2003−248476号公報
According to the method disclosed in Patent Document 2, the color element level and the luminance level of the subpixel adjacent to the skeleton subpixel corresponding to the skeleton of the character are appropriately set by the process simplified compared to Patent Document 1. It is possible to control, and even when the width of strokes constituting the character is changed and displayed, high-definition and smooth display can be performed. Furthermore, in this patent document 2, with respect to the skeleton subpixels that are close to each other, the position of the skeleton subpixel is moved so as to ensure the space between the skeleton subpixels, and then based on the arrangement of the skeleton subpixels. A method for setting the luminance value of each sub-pixel included in the pixel of interest has also been proposed. Thereby, it is possible to prevent the display screen from being displayed in a state where characters are crushed.
Japanese Patent No. 352094 JP 2003-248476 A

前記特許文献1には、文字を構成するストローク同士が相互に接近している場合に、それぞれのストロークの骨格サブピクセルの間に挟まれたサブピクセルに対して色要素レベルを設定するに際して、色要素レベルの配列で定義される補正パターンを使い分けることが開示されている。しなしながら、この特許文献1には、どのような基準で補正パターンを使い分けるか、また、どのような補正パターンに変更すれば効果的であるかということについては、特に開示されていない。従って、この特許文献1に開示されている方法を用いて、骨格サブピクセルの間に挟まれたサブピクセルに対して色要素レベルを適切に設定された補正パターンを準備する必要があり、そのような補正パターンを準備するためには、多大な時間および労力を要するという問題がある。   In Patent Document 1, when strokes constituting a character are close to each other, when setting a color element level for a subpixel sandwiched between skeleton subpixels of each stroke, It is disclosed that a correction pattern defined by an element level array is properly used. However, this Patent Document 1 does not disclose in particular what kind of reference should be used for the correction pattern and what kind of correction pattern should be effective. Therefore, it is necessary to prepare a correction pattern in which color element levels are appropriately set for the subpixels sandwiched between the skeleton subpixels using the method disclosed in Patent Document 1. In order to prepare a correct correction pattern, there is a problem that it takes a lot of time and labor.

また、上記特許文献2に記載されているように、互いに接近している骨格サブピクセル同士の間の空間を確保するように、骨格サブピクセルの位置を移動させる方法では、階調パターンの干渉によって骨格サブピクセルにて表示されるストロークの間に色つき(カラーノイズ)が発生することを抑制することができ、しかも、文字が潰れたように表示されることを抑制することもできる。しかしながら、複数の骨格サブピクセルが並んで配置されるような場合には、いずれの骨格サブピクセルを移動させるかについて、多数の組合せが存在するため、移動させる骨格サブピクセルの判定が複雑になり、迅速に処理することができなくなるおそれがある。実際の文字においては、複数のストロークが並んでいる場合が数多くあり、そのような場合には、表示に際しての色付を抑制するとともに、文字が潰れて表示されることを抑制することが容易でないという問題がある。   In addition, as described in Patent Document 2, in the method of moving the position of the skeleton subpixel so as to ensure the space between the skeleton subpixels that are close to each other, the interference of the gradation pattern causes It can suppress that coloring (color noise) generate | occur | produces between the strokes displayed by a skeleton subpixel, and also can suppress that a character is displayed like being crushed. However, in the case where a plurality of skeleton subpixels are arranged side by side, since there are many combinations of which skeleton subpixels are to be moved, determination of the skeleton subpixels to be moved becomes complicated, There is a risk that it cannot be processed quickly. In actual characters, there are many cases in which a plurality of strokes are arranged, and in such a case, it is not easy to suppress coloring when displaying and to prevent the characters from being crushed and displayed. There is a problem.

本発明は、上記従来の課題を解決するものであり、相互に接近するストローク間に色付きが生じて表示されこと、および、文字が潰れて表示されることを確実に抑制することが可能な画像情報生成装置、画像情報生成方法、画像情報生成プログラム、およびその画像情報生成プログラムが記録されたコンピュータ読み取り可能な記録媒体を提供することを目的とする。   The present invention solves the above-described conventional problems, and is an image that can reliably suppress the occurrence of coloring between strokes approaching each other and the display of characters being crushed and displayed. An object is to provide an information generation apparatus, an image information generation method, an image information generation program, and a computer-readable recording medium on which the image information generation program is recorded.

本発明の画像情報生成装置は、表示装置に出力するための文字または図形の画像情報を生成する画像情報生成装置であって、該表示装置は、複数のピクセルを含み、該複数のピクセルのそれぞれは、所定の第1の方向に配置された複数のサブピクセルを含み、該複数のサブピクセルには、互いに異なる複数の色要素が割り当てられており、該画像情報生成装置は、文字または図形の骨格部分に対応する少なくとも1つのサブピクセルを少なくとも1つの骨格サブピクセルとして設定する骨格サブピクセル設定手段と、該骨格サブピクセルおよび該所定の第1の方向に沿って該骨格サブピクセルに隣接する少なくとも1つのサブピクセルのそれぞれに色要素レベルを設定する色要素レベル設定手段と、該所定の第1の方向に沿って互いに隣接する2つの骨格サブピクセルが存在するか否かを判定する判定手段と、該所定の第1の方向に沿って互いに隣接する2つの骨格サブピクセルが存在すると判定された場合には、該2つの骨格サブピクセル間の距離を算出する算出手段と、該算出された距離に基づいて、該2つの骨格サブピクセル間に位置する複数のサブピクセルの色要素レベルに対応する輝度レベルを平坦化するための平坦化率を設定する平坦化率設定手段と、該設定された平坦化率に基づいて、該2つの骨格サブピクセル間に位置する該複数のサブピクセルの輝度レベルを平坦化する平坦化手段とを備えている。   An image information generation apparatus according to the present invention is an image information generation apparatus that generates image information of characters or graphics for output to a display device, the display device including a plurality of pixels, and each of the plurality of pixels. Includes a plurality of sub-pixels arranged in a predetermined first direction, and a plurality of different color elements are assigned to the plurality of sub-pixels. Skeleton subpixel setting means for setting at least one subpixel corresponding to the skeleton portion as at least one skeleton subpixel; and at least adjacent to the skeleton subpixel along the skeleton subpixel and the predetermined first direction Color element level setting means for setting a color element level for each of the sub-pixels, and adjacent to each other along the predetermined first direction Determining means for determining whether or not there are two skeleton subpixels, and two skeleton subpixels when it is determined that there are two skeleton subpixels adjacent to each other along the predetermined first direction. Calculating means for calculating a distance between subpixels, and for flattening a luminance level corresponding to a color element level of a plurality of subpixels located between the two skeleton subpixels based on the calculated distance A flattening rate setting unit for setting a flattening rate; and a flattening unit for flattening the luminance levels of the plurality of subpixels positioned between the two skeleton subpixels based on the set flattening rate. It has.

好ましくは、前記表示装置における単一のピクセルに含まれる前記複数のサブピクセルには、それぞれ、R(赤)、G(緑)、B(青)が色要素として割り当てられている。   Preferably, R (red), G (green), and B (blue) are respectively assigned as color elements to the plurality of sub-pixels included in a single pixel in the display device.

好ましくは、前記平坦化率設定手段は、前記2つの骨格サブピクセル間に位置する注目ピクセルに含まれる複数のサブピクセルのそれぞれに対して前記平坦化率を設定する。   Preferably, the flattening rate setting unit sets the flattening rate for each of a plurality of subpixels included in a pixel of interest located between the two skeleton subpixels.

好ましくは、前記平坦化率設定手段は、前記2つの骨格サブピクセル間の距離が小さいほど前記平坦化率が大きくなるように該平坦化率を設定する。   Preferably, the flattening rate setting means sets the flattening rate so that the flattening rate increases as the distance between the two skeleton subpixels decreases.

好ましくは、前記所定の第1の方向に直交する所定の第2の方向に沿って連続する少なくとも2つの骨格サブピクセルが存在する場合には、前記平坦化率設定手段は、該所定の第2の方向に沿って連続する骨格サブピクセルの個数が増加するにつれて前記平坦化率が高くなるように該平坦化率を設定する。   Preferably, when there are at least two skeleton subpixels continuous along a predetermined second direction orthogonal to the predetermined first direction, the flattening rate setting means includes the predetermined second The flattening rate is set so that the flattening rate becomes higher as the number of continuous skeleton subpixels along the direction increases.

好ましくは、前記色要素レベル設定手段は、前記骨格サブピクセルに最大の色要素レベルを設定し、前記所定の第2の方向に沿って前記骨格サブピクセルに隣接するサブピクセルであって、該骨格サブピクセルでないサブピクセルが存在する場合には、該色要素レベル設定手段は、該サブピクセルを骨格相当サブピクセルとして、該骨格相当サブピクセルに該最大の色要素レベルよりも小さい色要素レベルを設定し、前記算出手段は、該骨格相当サブピクセルを骨格サブピクセルと同様に処理する。   Preferably, the color element level setting means sets a maximum color element level to the skeleton subpixel and is a subpixel adjacent to the skeleton subpixel along the predetermined second direction, When there is a subpixel that is not a subpixel, the color element level setting means sets the subpixel as a skeleton-equivalent subpixel and sets a color element level smaller than the maximum color element level in the skeleton-equivalent subpixel. Then, the calculation means processes the skeleton-equivalent subpixel in the same manner as the skeleton subpixel.

好ましくは、前記骨格部分を構成するストロークが斜め線である場合には、該斜め線に対して、すくなくとも1つの骨格サブピクセルと少なくとも1つの骨格相当サブピクセルとが特定され、前記色要素レベル設定手段は、該骨格サブピクセルに最大の色要素レベルを設定し、該色要素レベル設定手段は、該骨格相当サブピクセルに最大の色要素レベルよりも小さい色要素レベルを設定し、前記算出手段は、該骨格相当サブピクセルを骨格サブピクセルと同様に処理する。   Preferably, when the stroke constituting the skeleton portion is an oblique line, at least one skeleton subpixel and at least one skeleton-equivalent subpixel are specified for the oblique line, and the color element level setting is performed. The means sets a maximum color element level for the skeleton subpixel, the color element level setting means sets a color element level smaller than the maximum color element level for the skeleton-equivalent subpixel, and the calculation means The skeleton-equivalent subpixel is processed in the same manner as the skeleton subpixel.

本発明の画像情報生成方法は、表示装置に出力するための文字または図形の画像情報を生成する画像情報生成方法であって、該表示装置は、複数のピクセルを含み、該複数のピクセルのそれぞれは、所定の第1の方向に配置された複数のサブピクセルを含み、該複数のサブピクセルには、互いに異なる複数の色要素が割り当てられており、該画像情報生成方法は、文字または図形の骨格部分に対応する少なくとも1つのサブピクセルを少なくとも1つの骨格サブピクセルとして設定するステップと、該骨格サブピクセルおよび該所定の第1の方向に沿って該骨格サブピクセルに隣接する少なくとも1つのサブピクセルのそれぞれに色要素レベルを設定するステップと、該所定の第1の方向に沿って互いに隣接する2つの骨格サブピクセルが存在するか否かを判定するステップと、該所定の第1の方向に沿って互いに隣接する2つの骨格サブピクセルが存在すると判定された場合には、該2つの骨格サブピクセル間の距離を算出するステップと、該算出された距離に基づいて、該2つの骨格サブピクセル間に位置する複数のサブピクセルの色要素レベルに対応する輝度レベルを平坦化するための平坦化率を設定するステップと、該設定された平坦化率に基づいて、該2つの骨格サブピクセル間に位置する該複数のサブピクセルの輝度レベルを平坦化するステップとを包含する。   The image information generation method of the present invention is an image information generation method for generating image information of characters or graphics for output to a display device, the display device including a plurality of pixels, and each of the plurality of pixels. Includes a plurality of sub-pixels arranged in a predetermined first direction, and a plurality of different color elements are assigned to the plurality of sub-pixels. Setting at least one sub-pixel corresponding to the skeleton portion as at least one skeleton sub-pixel, and at least one sub-pixel adjacent to the skeleton sub-pixel along the predetermined first direction and the skeleton sub-pixel Each of which includes a step of setting a color element level and two skeleton subpixels adjacent to each other along the predetermined first direction. A step of determining whether or not two skeleton subpixels are adjacent to each other along the predetermined first direction, and calculating a distance between the two skeleton subpixels. Setting a flattening rate for flattening a luminance level corresponding to color element levels of a plurality of subpixels positioned between the two skeleton subpixels based on the calculated distance; Flattening brightness levels of the plurality of sub-pixels positioned between the two skeleton sub-pixels based on the set flattening rate.

また、本発明は、前記画像情報生成方法の各ステップをコンピュータに実行させるための画像情報生成プログラムである。   Moreover, this invention is an image information generation program for making a computer perform each step of the said image information generation method.

また、本発明は、前記画像情報生成プログラムが記録されたコンピュータ読み取り可能な記録媒体である。   Further, the present invention is a computer-readable recording medium on which the image information generation program is recorded.

本発明によれば、文字、図形等の骨格部分および骨格に準ずる部分に対応して設定される骨格サブピクセルおよび骨格相当サブピクセルの間に挟まれたサブピクセルの輝度レベルが平坦化されるように制御される。これにより、文字、図形等を構成するストローク同士が相互に接近している場合においても、ストロークの間に色付きが発生するおそれがなく、また、隣接するストローク同士が相互に密着して表示されることによって、文字等が潰れて表示されることを抑制することができる。さらに、隣接するストローク同士が接近していない場合には、各ストロークの輪郭を明確に表示することができ、その結果、文字、図形等を明確に表示することができる。   According to the present invention, the luminance levels of the sub-pixels sandwiched between the skeleton sub-pixels and the skeleton-equivalent sub-pixels set corresponding to the skeleton parts such as characters and graphics and the parts corresponding to the skeleton are flattened. Controlled. As a result, even when strokes constituting characters, figures, etc. are close to each other, there is no possibility of coloring between strokes, and adjacent strokes are displayed in close contact with each other. Therefore, it is possible to suppress the characters and the like from being crushed and displayed. Further, when adjacent strokes are not close to each other, the outline of each stroke can be clearly displayed, and as a result, characters, figures, and the like can be clearly displayed.

さらに、骨格を形成するストロークに対応するサブピクセルの長さ、骨格サブピクセルおよび骨格相当サブピクセルの長さで表されるストロークの長さ情報を用いて、ストロークが長いほど、ストロークの間に位置するサブピクセルの輝度レベルを高い平坦化率で平坦化することにより、ストローク同士が長い範囲にわたって相互に接近していても、それらのストロークの間における色付きを確実に抑制することができる。   Furthermore, using the length information of the stroke represented by the length of the subpixel corresponding to the stroke forming the skeleton, the length of the skeleton subpixel and the skeleton-equivalent subpixel, the longer the stroke, the position between the strokes. By flattening the luminance levels of the subpixels with a high flattening rate, coloring between the strokes can be reliably suppressed even if the strokes are close to each other over a long range.

図1は、本発明の実施形態1に係る画像情報生成装置の要部構成を示すブロック図である。FIG. 1 is a block diagram showing a main configuration of an image information generation apparatus according to Embodiment 1 of the present invention. 図2は、実施形態1の画像情報生成装置により画像情報生成プログラムに基づいて行われる画像情報生成処理を説明するためのフロー図である。FIG. 2 is a flowchart for explaining image information generation processing performed based on the image information generation program by the image information generation apparatus according to the first embodiment. 図3の(a)〜(c)は、それぞれ、本発明の画像情報生成装置における補正パターンテーブルの一例を示す図である。FIGS. 3A to 3C are diagrams each showing an example of a correction pattern table in the image information generation apparatus of the present invention. 図4は、実施形態1の画像情報生成装置における階調パターン基準テーブルの一例を示す図である。FIG. 4 is a diagram illustrating an example of a gradation pattern reference table in the image information generation apparatus according to the first embodiment. 図5は、表示画面における漢字「忙」の骨格サブピクセルの配列の一例を示す図である。FIG. 5 is a diagram illustrating an example of an arrangement of skeleton subpixels of the Chinese character “busy” on the display screen. 図6の(a)および(b)は、それぞれ、実施形態1の画像情報生成装置における骨格近接度テーブルの一例を示す図である。FIGS. 6A and 6B are diagrams each illustrating an example of a skeleton proximity table in the image information generation apparatus according to the first embodiment. 図7は、実施形態1の画像情報生成装置における平坦化率テーブルの一例を示す図である。FIG. 7 is a diagram illustrating an example of a flattening rate table in the image information generation apparatus according to the first embodiment. 図8の(a)〜(c)は、それぞれ、実施形態1の画像情報生成装置による輝度レベルの平坦化例について説明図である。FIGS. 8A to 8C are explanatory diagrams of examples of flattening the luminance level by the image information generating apparatus of the first embodiment. 図9は、本発明の実施形態2に係る画像情報生成装置の要部構成を示すブロック図である。FIG. 9 is a block diagram showing a main configuration of an image information generation apparatus according to Embodiment 2 of the present invention. 図10の(a)〜(c)は、それぞれ、実施形態2の画像情報生成装置における骨格近接度テーブルの一例を示す図である。(A)-(c) of FIG. 10 is a figure which shows an example of the frame | skeleton proximity | contact degree table in the image information generation apparatus of Embodiment 2, respectively. 図11は、実施形態2の画像情報生成装置における輝度テーブルの一例を示す図である。FIG. 11 is a diagram illustrating an example of a luminance table in the image information generation apparatus according to the second embodiment. 図12は、実施形態2の画像情報生成装置により画像情報生成プログラムに基づいて行われる画像情報生成処理を説明するためのフロー図である。FIG. 12 is a flowchart for explaining image information generation processing performed based on an image information generation program by the image information generation apparatus according to the second embodiment. 図13の(a)〜(d)は、それぞれ、実施形態2の画像情報生成装置による輝度レベルを平坦化制御する場合の説明図である。FIGS. 13A to 13D are explanatory diagrams in the case where the luminance level is flattened by the image information generation apparatus according to the second embodiment. 図14の(a)〜(c)は、それぞれ、実施形態2の画像情報生成装置による輝度レベルの平坦化制御する場合の他の例についての説明図である。14A to 14C are explanatory diagrams of other examples in the case where brightness level flattening control is performed by the image information generation apparatus of the second embodiment. 図15は、本発明の実施形態に係る画像情報生成装置に用いられる平坦化補強率テーブルの一例を示す図である。FIG. 15 is a diagram illustrating an example of a flattening reinforcement rate table used in the image information generation device according to the embodiment of the present invention. 図16の(a)〜(d)は、それぞれ、R、G、Bの3つのサブピクセルの輝度レベルの平坦化処理の例を示す図である。(A) to (d) of FIG. 16 are diagrams illustrating an example of the flattening process of the luminance levels of the three sub-pixels R, G, and B, respectively. 図17は、特許文献1に開示されている文字表示装置の要部構成を示すブロック図である。FIG. 17 is a block diagram showing the main configuration of the character display device disclosed in Patent Document 1. As shown in FIG. 図18は、特許文献1に開示されている文字表示装置により行われる文字表示処理を説明するためのフロー図である。FIG. 18 is a flowchart for explaining a character display process performed by the character display device disclosed in Patent Document 1. 図19は、特許文献2に開示されている文字表示装置の要部構成を示すブロック図である。FIG. 19 is a block diagram showing the main configuration of the character display device disclosed in Patent Document 2. As shown in FIG. 図20は、特許文献2に開示されている文字表示装置により行われる文字表示処理を説明するためのフロー図である。FIG. 20 is a flowchart for explaining a character display process performed by the character display device disclosed in Patent Document 2.

符号の説明Explanation of symbols

1A、1B 画像情報生成装置
2 入力部
3 制御部
4 出力部
5A、5B 補助記憶装置
51A、51B 画像情報生成プログラム
52A、52B データ
52a 骨格近接度テーブル
52b 平坦化率テーブル
52c 階調パターン基準テーブル
52d 補正テーブル
53a 骨格近接度テーブル
53b 平坦化率テーブル
53c 階調パターン基準テーブル
53d 補正テーブル
53e 輝度テーブル
1A, 1B Image information generation device 2 Input unit 3 Control unit 4 Output unit 5A, 5B Auxiliary storage device 51A, 51B Image information generation program 52A, 52B Data 52a Skeletal proximity table 52b Flattening rate table 52c Tone pattern reference table 52d Correction table 53a Skeletal proximity table 53b Flattening rate table 53c Tone pattern reference table 53d Correction table 53e Luminance table

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

<実施形態1>
図1は、本発明の実施形態1に係る画像情報生成装置1Aの要部構成を示すブロック図である。
<Embodiment 1>
FIG. 1 is a block diagram showing a main configuration of an image information generating apparatus 1A according to Embodiment 1 of the present invention.

図1に示す画像情報生成装置1Aは、入力部2と、制御部3と、出力部4と、補助記憶装置5Aとを備えている。   An image information generation apparatus 1A shown in FIG. 1 includes an input unit 2, a control unit 3, an output unit 4, and an auxiliary storage device 5A.

画像情報生成装置1Aとしては、例えば、出力部としてカラー表示装置を備えたパーソナルコンピュータであってもよい。パーソナルコンピュータとしては、デスクトップ型またはラップトップ型などの任意のタイプのコンピュータが使用され得る。あるいは、画像情報生成装置1Aとしては、ワードプロセッサであってもよい。   As the image information generation device 1A, for example, a personal computer including a color display device as an output unit may be used. As the personal computer, any type of computer such as a desktop type or a laptop type may be used. Alternatively, the image information generating apparatus 1A may be a word processor.

さらに、画像情報生成装置1Aは、カラー表示が可能なカラー表示デバイス、カラー印刷が可能な印刷デバイスを備えた電子機器、情報機器などの任意の装置であってもよく、例えば、携帯情報端末、PHS等の携帯電話機、一般の電話機、FAX等の通信機器、あるいは電子機器、携帯情報ツールであってもよい。   Furthermore, the image information generation apparatus 1A may be an arbitrary device such as a color display device capable of color display, an electronic device provided with a print device capable of color printing, or an information device, such as a portable information terminal, It may be a mobile phone such as PHS, a general phone, a communication device such as FAX, an electronic device, or a portable information tool.

入力部2は、生成すべき文字、図形等を指定するための各種情報を、制御部3に入力するために使用される。文字を指定するための情報としては、例えば、文字を識別する文字コード、文字の大きさを示す文字サイズ等が挙げられる。   The input unit 2 is used to input various information for designating characters, graphics, and the like to be generated to the control unit 3. Examples of information for designating a character include a character code for identifying the character, a character size indicating the size of the character, and the like.

入力部2としては、キーボード、マウス、ペン入力装置などの入力デバイスを用いることができる。また、入力部2は、外部の装置、機器等から情報を受け付けることが可能な通信インターフェースなどであっても良い。   As the input unit 2, an input device such as a keyboard, a mouse, and a pen input device can be used. The input unit 2 may be a communication interface that can accept information from an external device, device, or the like.

制御部3は、CPU31と主メモリ32とを有しており、CPU31は、入力部2と、出力部4と、補助記憶装置5Aとにそれぞれ接続されている。   The control unit 3 includes a CPU 31 and a main memory 32, and the CPU 31 is connected to the input unit 2, the output unit 4, and the auxiliary storage device 5A.

CPU32は、画像情報生成装置1の全体を制御および監視する。また、CPU32は、入力部2に入力された情報を受け取ると主メモリ31に格納する。また、補助記憶装置5Aに格納された画像情報生成プログラムを読み出して、この画像情報生成プログラムに基づいて、画像情報生成処理を実行する。生成された文字、図形等の情報は、出力部4に出力される。   The CPU 32 controls and monitors the entire image information generation apparatus 1. Further, when the CPU 32 receives the information input to the input unit 2, it stores it in the main memory 31. Further, the image information generation program stored in the auxiliary storage device 5A is read, and the image information generation process is executed based on the image information generation program. Information such as the generated characters and graphics is output to the output unit 4.

出力部4は、液晶ディスプレイのような表示デバイス、プリンタなどの印刷デバイスである。また、出力部4は、外部の装置、機器等へ情報を出力することが可能な通信インターフェース等であってもよい。   The output unit 4 is a display device such as a liquid crystal display or a printing device such as a printer. The output unit 4 may be a communication interface or the like that can output information to an external device, device, or the like.

出力部2は、一般的なカラー液晶表示デバイスである場合、表示画面に、マトリックス状に配置された複数の画素(ピクセル)のそれぞれに、例えば赤(R)、緑(G)、青(B)の3つの色要素がそれぞれ割り当てられたサブピクセルが、所定の方向、例えば横方向に沿ってストライプ状に並んで配置されている。そして、各サブピクセルの明るさの程度を示す輝度値(輝度(階調)レベル)を、制御部3によってそれぞれ独立して制御することによって、所望の文字、図形等の画像情報が生成され、生成された画像情報に基づいて各サブピクセルの表示色が制御されることによって、表示画面に文字、図形等の画像が表示される。   When the output unit 2 is a general color liquid crystal display device, each of a plurality of pixels (pixels) arranged in a matrix on the display screen, for example, red (R), green (G), blue (B ) Are assigned in stripes along a predetermined direction, for example, the horizontal direction. Then, by controlling the brightness value (brightness (gradation) level) indicating the brightness level of each sub-pixel independently by the control unit 3, image information such as desired characters and figures is generated, By controlling the display color of each sub-pixel based on the generated image information, images such as characters and figures are displayed on the display screen.

補助記憶装置5Aには、画像情報生成プログラム51Aと、その画像情報生成プログラム51Aによって用いられるデータ52Aとが格納されている。   The auxiliary storage device 5A stores an image information generation program 51A and data 52A used by the image information generation program 51A.

画像情報生成プログラム51Aは、本実施形態の画像情報生成処理を制御部3にて実行するためのプログラムである。画像情報生成プログラム51Aは、文字または図形の骨格部分(スケルトン)に対応する少なくとも1つのサブピクセルを少なくとも1つの骨格サブピクセルとして設定し、骨格サブピクセルに最大の色要素レベルを設定し、骨格サブピクセルに隣接する少なくとも1つのサブピクセルのそれぞれには最大の色要素レベルよりも低い色要素レベルを割り当て、さらには、所定の方向(例えば、横方向)に互いに隣接する2つの骨格サブピクセルが存在するか否かを判定し、その所定の方向(例えば、横方向)に互いに隣接する2つの骨格サブピクセルが存在する場合には、その2つの骨格サブピクセル間の距離を算出し、その算出された距離に基づいて、その2つの骨格サブピクセル間に位置する複数のサブピクセルの色要素レベル(もしくは、輝度レベル)を平坦化する処理を実施する。   The image information generation program 51A is a program for executing the image information generation processing of this embodiment by the control unit 3. The image information generation program 51A sets at least one subpixel corresponding to a skeleton portion (skeleton) of a character or a figure as at least one skeleton subpixel, sets the maximum color element level in the skeleton subpixel, and sets the skeleton subpixel. Each of the at least one subpixel adjacent to the pixel is assigned a color element level lower than the maximum color element level, and there are also two skeletal subpixels adjacent to each other in a predetermined direction (eg, lateral direction) If there are two skeleton subpixels that are adjacent to each other in the predetermined direction (for example, the horizontal direction), the distance between the two skeleton subpixels is calculated and calculated. Based on the measured distance, the color element levels (or possibly the subpixels) located between the two skeleton subpixels. , It carries out a process of flattening the luminance level).

データ52Aとしては、骨格近接度テーブル52aと、平坦化率テーブル52bと、階調パターン基準テーブル52cと、補正テーブル52dとが格納されている。   As the data 52A, a skeleton proximity table 52a, a flattening rate table 52b, a gradation pattern reference table 52c, and a correction table 52d are stored.

補正テーブル52dには、骨格サブピクセルに隣接する3個または4個のサブピクセルに対する色要素レベルが、表示画面において表示する際の線幅に基づいて設定されている。   In the correction table 52d, color element levels for three or four subpixels adjacent to the skeleton subpixel are set based on the line width when displayed on the display screen.

骨格近接度テーブル52aには、文字または図形の骨格部分に対応して設定される骨格サブピクセルにおいて、横方向に相互に隣接する骨格サブピクセル間の距離に基づいて、骨格近接度が設定されている。骨格近接度は、横方向に相互に隣接する骨格サブピクセル間に存在する画素数に応じてグループに分けられており、横方向に相互に隣接する骨格サブピクセルが存在している場合に、それらの骨格サブピクセル同士の骨格近接度を判定するために用いられる。   In the skeleton proximity table 52a, skeleton proximity is set based on the distance between the skeleton subpixels adjacent to each other in the horizontal direction in the skeleton subpixels set corresponding to the skeleton portion of the character or figure. Yes. Skeletal proximity is divided into groups according to the number of pixels that exist between skeleton subpixels that are adjacent to each other in the horizontal direction, and when skeleton subpixels that are adjacent to each other in the horizontal direction exist. This is used to determine the skeleton proximity between the skeleton subpixels.

また、平坦化率テーブル52bには、横方向に相互に隣接する骨格サブピクセルの骨格近接度に基づいて、骨格サブピクセル間に挟まれたサブピクセルの輝度レベル(階調レベル)を平坦化(均一化)するための平坦化率が設定されており、この平坦化率に基づいて、骨格サブピクセル間に挟まれたサブピクセルの輝度レベルが均一に平坦化されるように制御される。   In the flattening rate table 52b, the luminance level (gradation level) of the sub-pixels sandwiched between the skeleton sub-pixels is flattened based on the skeleton proximity of the skeleton sub-pixels adjacent to each other in the horizontal direction ( A flattening rate for equalization is set. Based on this flattening rate, the luminance level of the subpixels sandwiched between the skeleton subpixels is controlled to be flattened uniformly.

階調パターン基準テーブル52cは、骨格サブピクセル間に挟まれたサブピクセルの輝度レベルをピクセル単位で制御するために、各ピクセルを構成する3つのサブピクセルのそれぞれに設定される色要素レベルに対する輝度レベルが予め設定されている。骨格サブピクセル間に挟まれたサブピクセルは、補正テーブル52dによって、骨格サブピクセルに隣接する3個または4個について色要素レベルが設定されるが、骨格近接度テーブル52aから得られる相互に隣接する骨格サブピクセルの骨格近接度から、平坦化率テーブル52bに設定された平坦化率が設定され、設定された平坦化率によって平坦化された輝度レベルになるように、階調パターン基準テーブル52cに基づいて各サブピクセルの輝度レベルが設定される。   The gradation pattern reference table 52c is a luminance for the color element level set for each of the three sub-pixels constituting each pixel in order to control the luminance level of the sub-pixel sandwiched between the skeleton sub-pixels in units of pixels. Levels are preset. The subpixels sandwiched between the skeleton subpixels have color element levels set for three or four adjacent to the skeleton subpixel by the correction table 52d, but are adjacent to each other obtained from the skeleton proximity table 52a. The flattening rate set in the flattening rate table 52b is set from the skeleton proximity of the skeleton subpixel, and the brightness pattern leveled by the set flattening rate is set in the gradation pattern reference table 52c. Based on this, the luminance level of each sub-pixel is set.

補助記憶装置5Aとしては、画像情報生成プログラム51Aとデータ52Aを格納することが可能な任意のタイプの記憶装置が使用される。また、補助記憶装置5Aにおいて、画像情報生成プログラム51Aとデータ52Aを格納する記録媒体としては、任意の記録媒体が使用される。例えば、ハードディスク、CD−ROM、MO、フロッピー(登録商標)ディスク、MD、DVD、ICカード、光カードなどの記録媒体が好適に使用される。   As the auxiliary storage device 5A, any type of storage device capable of storing the image information generation program 51A and the data 52A is used. In the auxiliary storage device 5A, an arbitrary recording medium is used as a recording medium for storing the image information generation program 51A and the data 52A. For example, a recording medium such as a hard disk, CD-ROM, MO, floppy (registered trademark) disk, MD, DVD, IC card, or optical card is preferably used.

なお、画像情報生成プログラム51Aとデータ52Aは、補助記憶装置5Aにおける記録媒体に格納されることに限定されない。例えば、画像情報生成プログラム51Aとデータ52Aは、主メモリ31に格納されてもよく、また、ROM(図示せず)に格納されてもよい。ROMとしては、例えば、マスクROM、EPROM、EEPROM、フラッシュROMなどが使用される。ROMを使用する場合には、使用されるROMを交換するだけで、色々な処理のバリエーションを容易に実現することができ、従って、携帯型の端末装置、携帯電話機等に好適に適用することができる。   The image information generation program 51A and the data 52A are not limited to being stored in a recording medium in the auxiliary storage device 5A. For example, the image information generation program 51A and the data 52A may be stored in the main memory 31 or may be stored in a ROM (not shown). For example, a mask ROM, EPROM, EEPROM, flash ROM, or the like is used as the ROM. When a ROM is used, various processing variations can be easily realized simply by exchanging the used ROM. Therefore, the ROM can be suitably applied to a portable terminal device, a cellular phone, and the like. it can.

さらに、画像情報生成プログラム51Aとデータ52Aを格納する記録媒体は、上記ディスク、カード等の記憶装置、半導体メモリなどのように、プログラムやデータを固定的に担持する媒体以外に、通信ネットワークにおいてプログラムやデータを搬送するために使用される通信媒体のようにプログラムやデータを流動的に担持する媒体であってもよい。   Further, the recording medium for storing the image information generation program 51A and the data 52A is a program in a communication network other than a medium that holds the program and data fixedly, such as a storage device such as a disk or a card or a semiconductor memory. Or a medium that fluidly carries programs and data, such as a communication medium used to carry data.

文字表示装置1がインターネットを含む通信回線に接続するための手段を備えている場合には、その通信回線から画像情報生成プログラム51Aとデータ52Aをダウンロードすることができる。この場合、ダウンロードに必要なローダープログラムは、ROM(図示せず)に予め格納されていてもよく、また、補助記憶装置5Aから制御部3にインストールされてもよい。   When the character display device 1 includes means for connecting to a communication line including the Internet, the image information generation program 51A and the data 52A can be downloaded from the communication line. In this case, a loader program necessary for downloading may be stored in advance in a ROM (not shown), or may be installed in the control unit 3 from the auxiliary storage device 5A.

このような構成の画像情報生成装置1Aにおいて画像情報生成プログラム51Aに基づいて実施される画像情報生成処理について、図2に示すフローチャートに基づいて説明する。   The image information generation process performed based on the image information generation program 51A in the image information generation apparatus 1A having such a configuration will be described based on the flowchart shown in FIG.

まず、入力部2に文字コードおよび文字サイズが入力されると、文字サイズに基づいて線幅パラメータを取得する(図2のステップS1参照、以下同様)。線幅パラメータは、生成される文字、図形における縦線および斜め線の線幅を規定するものであり、入力される線幅パラメータに基づいて、例えば、「細い」、「普通」、「太い」の線幅が規定される。   First, when a character code and a character size are input to the input unit 2, a line width parameter is acquired based on the character size (see step S1 in FIG. 2, the same applies hereinafter). The line width parameter defines the line width of vertical lines and diagonal lines in generated characters and figures. For example, “thin”, “normal”, “thick” based on the input line width parameter. The line width is defined.

ステップS1において線幅パラメータが取得されると、文字または図形の骨格(スケルトン)データに対応するサブピクセルである骨格サブピクセルを設定し、骨格サブピクセルを最大の色要素レベルを設定するとともに、線幅パラメータによって規定される線幅に基づいて、骨格サブピクセルに隣接する3個または4個のサブピクセル(補正パターン長さ)の色要素レベルが、補正テーブル52dに基づいて設定される。   When the line width parameter is acquired in step S1, a skeleton subpixel, which is a subpixel corresponding to character or figure skeleton data, is set, the maximum color element level is set for the skeleton subpixel, Based on the line width defined by the width parameter, the color element levels of three or four subpixels (correction pattern length) adjacent to the skeleton subpixel are set based on the correction table 52d.

色要素レベルは、各サブピクセルの色要素が文字または図形の表示に寄与する度合いとして定義されている。   The color element level is defined as the degree to which the color element of each sub-pixel contributes to the display of characters or graphics.

色要素レベルは、例えば最大値を「7」、最小値を「0」として、「7」、「6」、「5」、「4」、「3」、「2」、「1」、「0」の8段階に設定されており、「7」〜「0」の各色要素レベルに対して、「0」、「35」、「73」、「109」、「146」、「182」、「219」、「255」の8段階の輝度レベルがそれぞれ割り当てられている。従って、骨格サブピクセルには、最大の色要素レベルである「7」が設定され、出力部4のカラー表示装置において、最大の色要素レベル「7」に対応する輝度レベル「255」が設定される。   The color element levels are, for example, “7”, “6”, “5”, “4”, “3”, “2”, “1”, “1”, “7”, and “0” as the minimum value. “0” is set to 8 levels, and “0”, “35”, “73”, “109”, “146”, “182”, Eight levels of luminance levels “219” and “255” are assigned, respectively. Accordingly, “7” which is the maximum color element level is set in the skeleton subpixel, and the luminance level “255” corresponding to the maximum color element level “7” is set in the color display device of the output unit 4. The

色要素レベルが設定される骨格サブピクセルに隣接するサブピクセルの個数(補正パターン長さ)は、出力部の構成等に基づいて3個または4個のいずれかに設定される。補正パターン52dの一例を図3に示す。図3(a)は、骨格サブピクセルに隣接する3個のサブピクセルに対して色要素レベルを設定する場合の補正テーブルであり、線幅パラメータによって規定される線幅「細い」、「普通」、「太い」に対応して、3個のサブピクセルの色要素レベルがそれぞれ設定される。   The number of sub-pixels (correction pattern length) adjacent to the skeleton sub-pixel for which the color element level is set is set to either 3 or 4 based on the configuration of the output unit or the like. An example of the correction pattern 52d is shown in FIG. FIG. 3A is a correction table for setting color element levels for three subpixels adjacent to the skeleton subpixel, and the line widths “thin” and “normal” defined by the line width parameter are shown in FIG. , Corresponding to “thick”, the color element levels of the three sub-pixels are respectively set.

例えば、線幅パラメータが「細い」である場合、骨格サブピクセルに隣接する3個のサブピクセルの色要素レベルは、骨格サブピクセルから近い順に、各サブピクセルに対して「3」、「1」、「0」にそれぞれ設定される。また、線幅パラメータにて規定される線幅が「普通」である場合、骨格サブピクセルに隣接する3個のサブピクセルの色要素レベルが骨格サブピクセルから近い順に「4」、「3」、「2」にそれぞれ設定される。さらに、線幅パラメータにて規定される線幅が「太い」である場合、骨格サブピクセルに隣接するサブピクセルの色要素レベルが骨格サブピクセルから近い順に「6」、「4」、「2」にそれぞれ設定される。   For example, when the line width parameter is “thin”, the color element levels of three subpixels adjacent to the skeleton subpixel are “3” and “1” for each subpixel in order from the skeleton subpixel. , “0”, respectively. When the line width specified by the line width parameter is “normal”, the color element levels of the three subpixels adjacent to the skeleton subpixel are “4”, “3”, Set to “2” respectively. Further, when the line width specified by the line width parameter is “thick”, the color element levels of the subpixels adjacent to the skeleton subpixel are “6”, “4”, “2” in order from the skeleton subpixel. Respectively.

図3(b)は、骨格サブピクセルに隣接する3個のサブピクセルに対して色要素レベルを設定する場合の補正テーブルの一例であり、線幅パラメータによって規定される線幅が「細い」である場合、骨格サブピクセルに隣接する4個のサブピクセルの色要素レベルは、骨格サブピクセルから近い順に「3」、「1」、「0」、「0」にそれぞれ設定される。また、線幅パラメータによって規定される線幅が「普通」である場合、骨格サブピクセルに隣接する4個のサブピクセルの色要素レベルが、骨格サブピクセルから近い順に「4」、「3」、「2」、「0」にそれぞれ設定される。さらに、線幅パラメータによって規定される線幅が「太い」である場合、骨格サブピクセルに隣接する4個のサブピクセルの色要素レベルが骨格サブピクセルから近い順に「5」、「4」、「3」、「2」にそれぞれ設定される。   FIG. 3B is an example of a correction table when color element levels are set for three subpixels adjacent to the skeleton subpixel, and the line width defined by the line width parameter is “thin”. In some cases, the color element levels of four subpixels adjacent to the skeleton subpixel are set to “3”, “1”, “0”, and “0” in order from the skeleton subpixel. When the line width defined by the line width parameter is “normal”, the color element levels of the four subpixels adjacent to the skeleton subpixel are “4”, “3”, “2” and “0” are set, respectively. Further, when the line width defined by the line width parameter is “thick”, the color element levels of the four subpixels adjacent to the skeleton subpixel are “5”, “4”, “ 3 ”and“ 2 ”, respectively.

なお、以下の説明では、補正パターンの長さ(骨格サブピクセルに隣接して色要素レベルが設定されるサブピクセルの個数)を3、線幅を「普通」として表示する場合について説明する。従って、ステップS2において、図3(a)の補正テーブルによって、骨格サブピクセルに隣接する3個のサブピクセルは、骨格サブピクセルに近い順に「4」、「3」、「2」の色要素レベルに設定される。   In the following description, a case will be described in which the length of the correction pattern (the number of subpixels whose color element level is set adjacent to the skeleton subpixel) is 3 and the line width is “normal”. Accordingly, in step S2, according to the correction table of FIG. 3A, the three subpixels adjacent to the skeleton subpixel are color element levels of “4”, “3”, and “2” in order from the skeleton subpixel. Set to

このようにして、補正テーブル52dによって骨格サブピクセルおよびそれに隣接する3個のサブピクセルの色要素レベルが設定されると、色要素レベルが設定されるサブピクセルの個数および線幅に対応した階調パターン基準テーブル52cが取得される(ステップS2)。   In this way, when the color element levels of the skeleton subpixel and three adjacent subpixels are set by the correction table 52d, the gradation corresponding to the number and line width of the subpixels for which the color element level is set. The pattern reference table 52c is acquired (step S2).

階調パターン基準テーブル52cも、補正テーブルと同様に、線幅パラメータにて規定される線幅である「細い」、「普通」、「太い」のそれぞれの場合において、骨格サブピクセルに隣接して色要素レベルが設定されるサブピクセルの個数(3個または4個)毎に、1ピクセルを構成するR、G、Bの3つのサブピクセルに対して設定され得る色要素レベルがパターン化されて設定されるとともに、各パターンにおけるR、G、Bの3つのサブピクセルに対して設定された色要素レベルに対応する輝度レベルがそれぞれ設定されている。   Similar to the correction table, the gradation pattern reference table 52c is adjacent to the skeleton subpixel in each case of “thin”, “normal”, and “thick” which are line widths defined by the line width parameter. For each number (3 or 4) of sub-pixels for which the color element level is set, the color element levels that can be set for the three sub-pixels of R, G, and B constituting one pixel are patterned. In addition to being set, luminance levels corresponding to the color element levels set for the three sub-pixels R, G, and B in each pattern are set.

図4は、線幅パラメータによって規定される線幅が「普通」であって補正パターンの長さが3(色要素レベルが設定される骨格サブピクセルに隣接するサブピクセルの個数)の場合における階調パターン基準テーブル52cの一例を示している。この図4の階調パターン基準テーブルは、R、G、Bそれぞれのサブピクセルにおける色要素レベルの組合せパターンとして23通りが設定されており、それぞれの組合せパターンの色要素レベルに対応する輝度レベルについても、それぞれ設定されている。   FIG. 4 shows the order when the line width specified by the line width parameter is “normal” and the length of the correction pattern is 3 (the number of subpixels adjacent to the skeleton subpixel for which the color element level is set). An example of the key pattern reference table 52c is shown. In the gradation pattern reference table of FIG. 4, 23 color element level combination patterns are set for each of the R, G, and B sub-pixels, and the luminance levels corresponding to the color element levels of the respective combination patterns are set. Each is also set.

このようにして、補正テーブルおよび階調パターン基準テーブルが取得されると、骨格サブピクセルの配列に基づいて、1つの骨格サブピクセルが含まれているピクセルに対して、骨格サブピクセルと、その骨格サブピクセルに隣接する補正パターン長さのサブピクセルと、横方向に隣接する骨格サブピクセル間に位置するサブピクセルとのそれぞれに対して、所定の輝度レベルを設定する処理が実施される(ステップS3)。   In this way, when the correction table and the gradation pattern reference table are acquired, based on the arrangement of the skeleton subpixels, a skeleton subpixel and its skeleton are obtained for a pixel including one skeleton subpixel. A process of setting a predetermined luminance level is performed for each of the sub-pixels of the correction pattern length adjacent to the sub-pixels and the sub-pixels positioned between the skeleton sub-pixels adjacent in the horizontal direction (step S3). ).

図5は、骨格サブピクセル配列の例を示す図である。図5の例では、出力部4を構成するカラー表示装置の表示画面におけるマトリクス状に配置された各ピクセルが、横方向に並ぶ3つのR、G、Bの各サブピクセルによってそれぞれ構成されており、その表示画面に、漢字「忙」の基本部分である骨格部分(スケルトン)を表示した状態を示している。この場合、図5に示す座標系では、左下の座標位置を原点Oとしており、図5においてハッチングで示すサブピクセルが骨格サブピクセルに設定されている。このように、1つのピクセルに対して1つの骨格サブピクセルが設定されているピクセル(画素)に対して、以下に示す処理が順次実施される。   FIG. 5 is a diagram illustrating an example of a skeleton subpixel arrangement. In the example of FIG. 5, each pixel arranged in a matrix on the display screen of the color display device constituting the output unit 4 is composed of three R, G, and B subpixels arranged in the horizontal direction. , The skeleton part (skeleton) which is the basic part of the Chinese character “busy” is displayed on the display screen. In this case, in the coordinate system shown in FIG. 5, the lower left coordinate position is the origin O, and the subpixels indicated by hatching in FIG. 5 are set as skeleton subpixels. In this manner, the following processing is sequentially performed on pixels (pixels) in which one skeleton subpixel is set for one pixel.

まず、骨格サブピクセルの配列に基づいて、骨格サブピクセルに対して最大の要素レベル「7」を設定する。そして、1ピクセル内に含まれる1つの骨格サブピクセル同士が横方向に隣接して骨格サブピクセル対を形成しているか否かを調べる(ステップS4)。そして、1ピクセル内に含まれる1つの骨格サブピクセル同士が横方向に隣接した骨格サブピクセル対が存在している場合(Yes)には、ステップS5に進み、存在しない場合(No)には、ステップS9に進む。   First, the maximum element level “7” is set for the skeleton subpixel based on the arrangement of the skeleton subpixel. Then, it is checked whether or not one skeleton subpixel included in one pixel is adjacent in the horizontal direction to form a skeleton subpixel pair (step S4). When there is a skeleton subpixel pair in which one skeleton subpixel included in one pixel is adjacent in the horizontal direction (Yes), the process proceeds to step S5, and when it does not exist (No), Proceed to step S9.

ステップS3において、隣接する骨格サブピクセルの対が存在しない場合には、ステップ9において、前記ステップS2において取得された補正テーブル52dから、補正パターンの長さに基づいて、この骨格サブピクセルに隣接する3個または4個のサブピクセルに対して色要素レベルをそれぞれ設定する。本実施形態では、線幅パラメータによって規定される線幅が「普通」であって補正パターンの長さが3(色要素レベルが設定される骨格サブピクセルに隣接するサブピクセルの個数)であるために、骨格サブピクセルに隣接する3個のサブピクセルは、骨格サブピクセルに近い順に「4」、「3」、「2」にそれぞれ設定される。   If there is no adjacent skeleton subpixel pair in step S3, in step 9, it is adjacent to this skeleton subpixel based on the length of the correction pattern from the correction table 52d acquired in step S2. Color element levels are set for three or four subpixels, respectively. In the present embodiment, the line width defined by the line width parameter is “normal” and the length of the correction pattern is 3 (the number of subpixels adjacent to the skeleton subpixel in which the color element level is set). In addition, the three sub-pixels adjacent to the skeleton subpixel are set to “4”, “3”, and “2” in order from the skeleton subpixel.

これに対して、隣接する骨格サブピクセルの対が存在する場合には、隣接する骨格サブピクセル対に挟まれる空間の大きさ(骨格サブピクセル間の距離)を求める(ステップS5)。この空間の大きさは、例えば、隣接する骨格サブピクセル対に挟まれるサブピクセルの個数に基づいて算出される。隣接する骨格サブピクセル対に挟まれる空間の大きさは、骨格サブピクセル対のそれぞれの位置に対応する座標値の差に基づいて求めることができる。   On the other hand, when there is a pair of adjacent skeleton subpixels, the size of the space (distance between the skeleton subpixels) sandwiched between the adjacent skeleton subpixel pairs is obtained (step S5). The size of this space is calculated based on, for example, the number of subpixels sandwiched between adjacent skeleton subpixel pairs. The size of the space between adjacent skeleton subpixel pairs can be obtained based on the difference in coordinate values corresponding to the respective positions of the skeleton subpixel pairs.

以下の説明では、図5において座標(14、6)にて示される骨格サブピクセルAと、座標(20、6)にて示される骨格サブピクセルBとに関する処理について、図8に基づいて説明する。図8(a)は、図5に対応しており、図8(b)は、図8(a)にて点線で囲まれた部分の拡大図である。骨格サブピクセルAとBとが、横方向に隣接しており、骨格サブピクセル対を形成している。なお、本実施形態では、各骨格サブピクセルAおよびBには、最大色要素レベル「7」が設定され、また、線幅パラメータによって規定される線幅が「普通」であって補正パターンの長さが3(色要素レベルが設定される骨格サブピクセルに隣接するサブピクセルの個数)であるために、骨格サブピクセルに隣接する3個のサブピクセルは、骨格サブピクセルに近い順に「4」、「3」、「2」の色要素レベルがそれぞれ設定される。   In the following description, processing related to the skeleton subpixel A indicated by coordinates (14, 6) and the skeleton subpixel B indicated by coordinates (20, 6) in FIG. 5 will be described with reference to FIG. . FIG. 8A corresponds to FIG. 5, and FIG. 8B is an enlarged view of a portion surrounded by a dotted line in FIG. 8A. The skeleton subpixels A and B are adjacent to each other in the horizontal direction to form a skeleton subpixel pair. In this embodiment, the maximum color element level “7” is set for each of the skeleton subpixels A and B, and the line width defined by the line width parameter is “normal”, and the length of the correction pattern Is 3 (the number of subpixels adjacent to the skeleton subpixel for which the color element level is set), the three subpixels adjacent to the skeleton subpixel are “4” in order from the skeleton subpixel. Color element levels of “3” and “2” are respectively set.

骨格サブピクセルAおよびBの空間の大きさは、図5に示す座標系から算出される。この場合、図5に示す座標系では、骨格サブピクセルAの横軸(X軸)の座標値が「14」、骨格サブピクセルBの横軸(X軸)の座標値「20」であることから、骨格サブピクセルAおよびBで挟まれる空間の大きさは、5(=20−14−1)と算出され、骨格サブピクセルAおよびBの間に5個のサブピクセルが存在することが求められる。   The size of the space of the skeleton subpixels A and B is calculated from the coordinate system shown in FIG. In this case, in the coordinate system shown in FIG. 5, the coordinate value of the horizontal axis (X axis) of the skeleton subpixel A is “14” and the coordinate value of the horizontal axis (X axis) of the skeleton subpixel B is “20”. Therefore, the size of the space sandwiched between the skeleton subpixels A and B is calculated as 5 (= 20-14-1), and it is determined that there are five subpixels between the skeleton subpixels A and B. It is done.

なお、ここでは隣接する骨格サブピクセル対にて挟まれる空間の大きさを用いて、隣接する骨格間の距離を定義しているが、単純に、両骨格サブピクセル間の距離(2点の座標値の差)を用いてもよい。   Note that here, the distance between adjacent skeletons is defined using the size of the space between adjacent skeleton subpixel pairs, but simply the distance between two skeleton subpixels (the coordinates of two points). (Value difference) may be used.

ステップS5において、骨格サブピクセルAおよびBで挟まれる空間の大きさが算出されると、骨格近接度テーブル52aに基づいて、隣接する骨格サブピクセルAおよびBにて挟まれる空間の大きさ(骨格間の距離)に対応した骨格近接度が読み出される(ステップS6)。   When the size of the space sandwiched between the skeleton subpixels A and B is calculated in step S5, the size of the space sandwiched between the adjacent skeleton subpixels A and B (the skeleton is based on the skeleton proximity table 52a. The skeleton proximity corresponding to (distance between) is read (step S6).

図6は、骨格近接度テーブル52aの一例を示しており、図6(a)は、補正パターンの長さ(色要素が設定される骨格サブピクセルに隣接するサブピクセルの個数)が3の場合であり、骨格サブピクセル対の間の空間の大きさが5サブピクセル以下である場合には、骨格近接度として「レベル1」が設定されている。また、骨格サブピクセル対の間の空間の大きさが6サブピクセル以上9サブピクセル以下である場合には、骨格近接度として「レベル2」が設定されており、さらに、骨格サブピクセル対の間の空間の大きさが10以上である場合には、骨格近接度として「レベル3」に設定されている。   FIG. 6 shows an example of the skeleton proximity table 52a. FIG. 6A shows a case where the length of the correction pattern (the number of subpixels adjacent to the skeleton subpixel in which the color element is set) is 3. When the size of the space between the skeleton subpixel pair is 5 subpixels or less, “level 1” is set as the skeleton proximity. When the size of the space between the skeleton subpixel pairs is 6 subpixels or more and 9 subpixels or less, “level 2” is set as the skeleton proximity, and further, between the skeleton subpixel pairs. When the size of the space is 10 or more, the skeleton proximity is set to “level 3”.

図6(b)は、補正パターンの長さ(色要素が設定される骨格サブピクセルに隣接するサブピクセルの個数)が4の場合であり、骨格サブピクセル対の間の空間の大きさが7サブピクセル以下である場合には、骨格近接度として「レベル1」が設定され、8サブピクセル以上11サブピクセル以下である場合には、骨格近接度として「レベル2」が設定され、12以上である場合には、骨格近接度として「レベル3」が設定されている。   FIG. 6B shows a case where the length of the correction pattern (the number of subpixels adjacent to the skeleton subpixel in which the color element is set) is 4, and the size of the space between the skeleton subpixel pair is 7. When it is less than or equal to sub-pixels, “level 1” is set as the skeleton proximity, and when it is 8 to 11 sub-pixels, “level 2” is set as the skeleton proximity. In some cases, “level 3” is set as the skeleton proximity.

図6(a)および(b)のように、補正パターンの長さに対応した骨格近接度テーブルを設定することにより、補正パターンの長さが空間の色付きに与える影響を考慮して、きめ細かく骨格近接度を決定することができる。   As shown in FIGS. 6A and 6B, by setting a skeleton proximity table corresponding to the length of the correction pattern, the influence of the length of the correction pattern on the coloration of the space is considered in detail. Proximity can be determined.

ステップS6では、このような骨格近接度テーブル52aに基づいて、骨格サブピクセル対の間の空間の大きさに対応した骨格近接度が求められる。そして、ステップS6において骨格サブピクセル対の間の空間の大きさに対応した骨格近接度が求められると、求められた骨格近接度に対応した平坦化率が、平坦化率テーブル52bに基づいて求められる(ステップS7)。平坦化率テーブル52bは、骨格サブピクセル対の間の空間の大きさに対応して設定された骨格近接度に対して、骨格サブピクセル対の間に位置するサブピクセルの色要素レベルを平坦化(均一化)するための割合である平坦化率が予め設定されてテーブル化されたものである。   In step S6, the skeleton proximity corresponding to the size of the space between the skeleton subpixel pairs is obtained based on such a skeleton proximity table 52a. In step S6, when the skeleton proximity corresponding to the size of the space between the skeleton subpixel pairs is obtained, the flattening rate corresponding to the obtained skeleton proximity is obtained based on the flattening rate table 52b. (Step S7). The flattening rate table 52b flattens the color element levels of the subpixels positioned between the skeleton subpixel pairs with respect to the skeleton proximity set corresponding to the size of the space between the skeleton subpixel pairs. A flattening rate, which is a ratio for (uniform), is set in advance and tabulated.

図7は、平坦化率テーブル52bの一例を示している。平坦化率テーブルは、横方向に相互に隣接する骨格サブピクセル間の距離が狭く、骨格近接度が小さいほど、骨格サブピクセル対の間に位置するサブピクセルの階調パターンが平坦になるように、大きな平坦化率に設定されている。図7においては、骨格近接度が「レベル1」の場合には、平坦化率として「0.8」が設定され、骨格近接度が「レベル2」の場合には、平坦化率として「0.5」が設定され、骨格近接度が「レベル3」の場合には、平坦化率として「0」が設定されている。   FIG. 7 shows an example of the flattening rate table 52b. The flattening rate table is such that the gradation pattern of the subpixels positioned between the skeleton subpixel pairs becomes flatter as the distance between the skeleton subpixels adjacent to each other in the horizontal direction is narrower and the skeleton proximity is smaller. A large flattening rate is set. In FIG. 7, when the skeleton proximity is “level 1”, “0.8” is set as the flattening rate, and when the skeleton proximity is “level 2”, the flattening rate is “0”. .5 ”is set and the skeleton proximity is“ level 3 ”,“ 0 ”is set as the flattening rate.

ステップS7において、骨格サブピクセル対の間に位置するサブピクセルの色要素レベルの平坦化率が骨格近接度に基づいて求められると、骨格サブピクセル対の間に位置する全てのサブピクセルから、R、G、Bの各サブピクセルによって構成される1つのピクセルが、注目ピクセルとして設定され、その注目ピクセルを構成するR、G、Bの各サブピクセルに対して補正テーブルによって設定された色要素レベルのパターンを、階調パターン基準テーブル52cから選択し、その階調パターンに対応する輝度レベルのパターンから、注目ピクセルを構成するR、G、Bの各サブピクセルに対する輝度レベルを設定して、設定された各輝度レベルを、ステップS7によって求められた平坦化率によって平坦化する。(ステップS8)。   In step S7, when the flattening rate of the color element level of the sub-pixel located between the skeleton sub-pixel pairs is determined based on the skeleton proximity, R subtracts from all the sub-pixels located between the skeleton sub-pixel pairs. , G, and B are set as a pixel of interest, and the color element level set by the correction table for each of the R, G, and B subpixels that form the pixel of interest Is selected from the gradation pattern reference table 52c, and the luminance level for each of the R, G, and B sub-pixels constituting the pixel of interest is set and set from the luminance level pattern corresponding to the gradation pattern. Each luminance level thus obtained is flattened by the flattening rate obtained in step S7. (Step S8).

図8(b)に示すように、注目ピクセルにおけるR、G、Bの各サブピクセルの色要素レベルは、「3」、「2」、「3」になっており、図4に示された階調パターン基準テーブル52cにおけるNo.12の色要素レベルのパターンに対応している。従って、注目ピクセルにおけるR、G、Bの各サブピクセルに対して、「146」、「182」、「146」の輝度レベルが設定される。そして、このようにして設定された輝度レベルが、ステップS7において求められた平坦化率「0.8」によって平坦化される。   As shown in FIG. 8B, the color element levels of the R, G, and B sub-pixels in the target pixel are “3”, “2”, and “3”, which are shown in FIG. No. in the gradation pattern reference table 52c. It corresponds to 12 color element level patterns. Accordingly, luminance levels of “146”, “182”, and “146” are set for the R, G, and B subpixels in the target pixel. Then, the brightness level set in this way is flattened by the flattening rate “0.8” obtained in step S7.

例えば、注目ピクセルにおけるR、G、Bの各サブピクセルに対して、階調パターン基準テーブル52cによって得られるそれぞれの輝度レベルを、VR_ref、VG_ref、VB_refとすると、それらの輝度レベルの平均値Vaveを下記式(1−1)によって算出し、平坦化率をRflatとすると、平坦化後の輝度レベルVR_flat、VG_flat、VB_flatは、下記式(1−2)〜(1−4)によって求められる。For example, when the luminance levels obtained by the gradation pattern reference table 52c are V R_ref , V G_ref , and V B_ref for the R, G, and B subpixels in the target pixel , the average of the luminance levels is obtained. When the value V ave is calculated by the following equation (1-1) and the flattening rate is R flat , the luminance levels V R_flat , V G_flat , and V B_flat after the flattening are expressed by the following equations (1-2) to (1) -4).

ave=(VRref+VGref+VBref)/3 …(1−1)
Rflat=VRref+(Vave−VRref)×Rflat …(1−2)
Gflat=VGref+(Vave−VGref)×Rflat …(1−3)
Bflat=VBref+(Vave−VBref)×Rflat …(1−4)
なお、上記平坦化処理の計算において、明るさに比例した重み付けを行うために、輝度レベル値の代わりに、輝度レベルをガンマ変換した値GR_ref、GG_ref、GB_refに対して上記式(1−1)〜(1−4)を適用し、下記式(2−1)〜(2−4)によって、平坦化後の値GRflat、GGflat、GBflatを求めてもよい。
V ave = (V Rref + V Gref + V Bref ) / 3 (1-1)
V Rflat = V Rref + (V ave −V Rref ) × R flat (1-2)
V Gflat = V Gref + (V ave −V Gref ) × R flat (1-3)
V Bflat = V Bref + (V ave −V Bref ) × R flat (1-4)
In the calculation of the flattening process, in order to perform weighting proportional to the brightness, instead of the luminance level value, the above formula (1) is used for values G R_ref , G G_ref , and G B_ref obtained by gamma-converting the luminance level. The values G Rflat , G Gflat , and G Bflat after flattening may be obtained by the following formulas (2-1) to (2-4) by applying (-1) to (1-4).

ave=(GRref+GGref+GBref)/3 …(2−1)
Rflat=GRref+(Gave−GRref)×Rflat …(2−2)
Gflat=GGref+(Gave−GGref)×Rflat …(2−3)
Bflat=GBref+(Gave−GBref)×Rflat …(2−4)
平坦化後の値GR_flat、GG_flat、GB_flatから逆ガンマ変換して平坦化した輝度レベルVRflat、VGflat、VBflatを求めることも可能である。ここで、ガンマ変換および逆ガンマ変換は、下記式(3−1)〜(3−2)によって定義される。
G ave = (G Rref + G Gref + G Bref ) / 3 (2-1)
G Rflat = G Rref + (G ave −G Rref ) × R flat (2-2)
G Gflat = G Gref + (G ave −G Gref ) × R flat (2-3)
G Bflat = G Bref + (G ave −G Bref ) × R flat (2-4)
It is also possible to obtain luminance levels V Rflat , V Gflat , and V Bflat that have been flattened by inverse gamma conversion from the flattened values G R_flat , G G_flat , and G B_flat . Here, gamma conversion and inverse gamma conversion are defined by the following equations (3-1) to (3-2).

ガンマ変換:G=Gmax×(V/Vmax)γ …(3−1)
逆ガンマ変換:V=Vmax×(G/Gmax)1/γ …(3−2)
但し、Gmax:ガンマ変換後の輝度レベルの最大値(例えば255)
Vmax:逆ガンマ変換後の輝度レベルの最大値(例えば255)
この場合、例えば、γ=2.2であり、ガンマ変換および逆ガンマ変換は非線形変換である。これにより、明るさに比例した重み付けを行って、平坦化処理をより効果的に行うことができる。
Gamma conversion: G = Gmax × (V / Vmax) γ (3-1)
Inverse gamma conversion: V = Vmax × (G / Gmax) 1 / γ (3-2)
However, Gmax: maximum value of luminance level after gamma conversion (for example, 255)
Vmax: Maximum value of luminance level after inverse gamma conversion (for example, 255)
In this case, for example, γ = 2.2, and the gamma conversion and the inverse gamma conversion are nonlinear conversions. Thereby, weighting proportional to the brightness is performed, and the flattening process can be performed more effectively.

前述したように、図8(c)に点線で囲んだ注目ピクセルにおけるR、G、Bの各サブピクセルに対して、「146」、「182」、「146」の輝度レベルがそれぞれ設定されており、これらの平均値は、前記式(1−1)から「158」になる。この平均値と、注目ピクセルにおけるR、G、Bの各サブピクセルの輝度レベルとを前記式(1−2)〜(1−4)に代入することによって、注目ピクセルにおけるR、G、Bの各サブピクセルの平坦化された輝度レベルとして、「156」、「163」、「156」がそれぞれ得られる。   As described above, the luminance levels of “146”, “182”, and “146” are set for the R, G, and B subpixels in the target pixel surrounded by the dotted line in FIG. The average value of these values is “158” from the equation (1-1). By substituting this average value and the luminance levels of the R, G, and B sub-pixels in the pixel of interest into the equations (1-2) to (1-4), the values of R, G, and B in the pixel of interest As the flattened luminance level of each sub-pixel, “156”, “163”, and “156” are obtained, respectively.

ここで、図2のステップS7における平坦化処理についてさらに詳しく説明する。この平坦化処理は、単一のピクセルに含まれる複数のサブピクセル(例えば、R、G、Bの3つのサブピクセル)に対して行われる。単一のピクセルに含まれる複数のサブピクセルの輝度レベルを平坦化するとは、その複数のサブピクセルのうちの少なくとも1つのサブピクセルの輝度レベルがその複数のサブピクセルの平均輝度レベルに近づくように、その複数のサブピクセルのうちの少なくとも1つサブピクセルの輝度レベルを補正することをいう。例えば、単一のピクセルにR、G、Bの3つのサブピクセルが含まれている場合には、その3つのサブピクセルのうちの少なくとも1つのサブピクセルの輝度レベルがその3つのサブピクセルの平均輝度レベルに近づくように、その3つのサブピクセルのうちの少なくとも1つのサブピクセルの輝度レベルを補正することにより、その3つのサブピクセルの輝度レベルを平坦化することができる。   Here, the planarization process in step S7 of FIG. 2 will be described in more detail. This flattening process is performed on a plurality of subpixels (for example, three subpixels R, G, and B) included in a single pixel. Flattening the luminance level of a plurality of subpixels included in a single pixel means that the luminance level of at least one subpixel of the plurality of subpixels approaches the average luminance level of the plurality of subpixels. , Correcting the luminance level of at least one subpixel of the plurality of subpixels. For example, if a single pixel includes three R, G, and B subpixels, the luminance level of at least one of the three subpixels is the average of the three subpixels. By correcting the luminance level of at least one of the three subpixels so as to approach the luminance level, the luminance level of the three subpixels can be flattened.

図16の(a)〜(d)は、それぞれ、R、G、Bの3つのサブピクセルの輝度レベルを平坦化する処理の例を示す。   16A to 16D show examples of processing for flattening the luminance levels of the three subpixels R, G, and B, respectively.

図16(a)は、B、G、Rの3つのサブピクセルの輝度レベルがこの順に単調減少である場合において、Bのサブピクセルの輝度レベルを平均輝度レベルに近づくように減少させ、Rのサブピクセルの輝度レベルを平均輝度レベルに近づくように増加させることにより、B、G、Rの3つのサブピクセルの輝度レベルを平坦化する処理の例を示す。   In FIG. 16A, when the luminance levels of the three subpixels B, G, and R are monotonously decreasing in this order, the luminance level of the B subpixel is decreased so as to approach the average luminance level, An example of processing for flattening the luminance levels of the three sub-pixels B, G, and R by increasing the luminance level of the sub-pixels so as to approach the average luminance level will be described.

図16(b)は、B、G、Rの3つのサブピクセルの輝度レベルがこの順に単調増加である場合において、Bのサブピクセルの輝度レベルを平均輝度レベルに近づくように増加させ、Rのサブピクセルの輝度レベルを平均輝度レベルに近づくように減少させることにより、B、G、Rの3つのサブピクセルの輝度レベルを平坦化する処理の例を示す。   In FIG. 16B, when the luminance levels of the three sub-pixels B, G, and R are monotonically increasing in this order, the luminance level of the B sub-pixel is increased so as to approach the average luminance level. An example of processing for flattening the luminance levels of the three sub-pixels B, G, and R by decreasing the luminance level of the sub-pixels so as to approach the average luminance level will be described.

図16(c)は、Gのサブピクセルの輝度レベルが極大である場合において、B、Rのサブピクセルの輝度レベルを平均輝度レベルに近づくように増加させ、Gのサブピクセルの輝度レベルを平均輝度レベルに近づくように減少させることにより、B、G、Rの3つのサブピクセルの輝度レベルを平坦化する処理の例を示す。   FIG. 16C shows that when the luminance level of the G sub-pixel is maximum, the luminance levels of the B and R sub-pixels are increased so as to approach the average luminance level, and the luminance level of the G sub-pixel is averaged. An example of processing for flattening the luminance levels of the three sub-pixels B, G, and R by reducing the luminance level so as to approach the luminance level will be described.

図16(d)は、Gのサブピクセルの輝度レベルが極小である場合において、B、Rのサブピクセルの輝度レベルを平均輝度レベルに近づくように減少させ、Gのサブピクセルの輝度レベルを平均輝度レベルに近づくように増加させることにより、B、G、Rの3つのサブピクセルの輝度レベルを平坦化する処理の例を示す。   FIG. 16D shows that when the luminance level of the G sub-pixel is minimal, the luminance levels of the B and R sub-pixels are decreased so as to approach the average luminance level, and the luminance level of the G sub-pixel is averaged. An example of processing for flattening the luminance levels of the three sub-pixels B, G, and R by increasing the luminance level so as to approach the luminance level will be described.

R、G、Bの3つのサブピクセルの輝度レベルを平坦化するための計算式は、前述の式(1−1)〜(1−4)または式(2−1)〜(2−4)の通りである。   The calculation formulas for flattening the luminance levels of the three sub-pixels R, G, and B are the aforementioned formulas (1-1) to (1-4) or formulas (2-1) to (2-4). It is as follows.

上述した平坦化処理を所定の方向(例えば、横方向)に沿って互いに隣接する2つの骨格サブピクセル間に位置する注目ピクセルに含まれる複数のサブピクセルに対して行うことにより、その2つの骨格サブピクセル間にある空間を無彩色に近づけることができる。その結果、骨格部分と骨格部分との間に色付きが生じることを抑制することができる。   By performing the above-described flattening process on a plurality of subpixels included in a pixel of interest located between two skeleton subpixels adjacent to each other along a predetermined direction (for example, a horizontal direction), the two skeletons The space between the subpixels can be made closer to an achromatic color. As a result, the occurrence of coloring between the skeleton portion and the skeleton portion can be suppressed.

ステップS8またはステップS9において、骨格サブピクセルおよび横方向に隣接する骨格サブピクセル間のサブピクセルの輝度レベルが設定されると、出力部4の表示画面におけるサブピクセルが設定された輝度レベルの明るさになるように、所定レベルの電圧値が出力部4に出力される(ステップS10)。   When the luminance level of the sub-pixel between the skeleton sub-pixel and the skeleton sub-pixel adjacent in the horizontal direction is set in step S8 or step S9, the brightness of the luminance level in which the sub-pixel in the display screen of the output unit 4 is set. A voltage value of a predetermined level is output to the output unit 4 so as to become (Step S10).

その後、処理すべきピクセルがあるか否かを調べて、ある場合(Yes)にはステップS4に戻って、処理すべきピクセルに対してステップS4〜S10の処理を繰り返し、処理すべきピクセルがない場合(No)には処理を終了する(ステップS11)。   Thereafter, it is checked whether or not there is a pixel to be processed. If there is (Yes), the process returns to step S4, and the processing of steps S4 to S10 is repeated for the pixel to be processed, and there is no pixel to be processed. In the case (No), the process is terminated (step S11).

以上のように、本実施形態によれば、文字または図形の骨格部分に対応する骨格サブピクセル同士が横方向に隣接する骨格サブピクセル対が存在する場合には、骨格サブピクセル対の間に位置する注目サブピクセルの輝度レベルを、骨格サブピクセル対間の距離に応じて平坦化するようになっているために、生成される文字、図形の画像情報において縦線が接近している場合でも、縦線の間にて色付きが発生することを抑制することができる。この場合、骨格サブピクセル対が接近していない場合には、骨格サブピクセル対の間に位置する注目サブピクセルの輝度レベルが平坦化されないため、文字、図形の輪郭がはっきりとした画像情報を生成することができる。   As described above, according to the present embodiment, when there is a skeleton subpixel pair in which skeleton subpixels corresponding to the skeleton portion of a character or a figure are adjacent to each other in the horizontal direction, the position is between the skeleton subpixel pairs. Since the luminance level of the target sub-pixel is flattened according to the distance between the skeleton sub-pixel pair, even when vertical lines are close in the image information of the generated characters and figures, It is possible to suppress occurrence of coloring between vertical lines. In this case, when the skeleton subpixel pair is not close, the luminance level of the target subpixel located between the skeleton subpixel pair is not flattened, so that image information with clear outlines of characters and figures is generated. can do.

<実施形態2>
図9は、本発明の実施形態2に係る画像情報生成装置1Bの要部構成を示すブロック図である。図9において、図1と共通の構成要素については、説明を省略する。
<Embodiment 2>
FIG. 9 is a block diagram showing a main configuration of an image information generation apparatus 1B according to Embodiment 2 of the present invention. 9, description of components common to those in FIG. 1 is omitted.

図9において、本実施形態2の画像情報生成装置1Bは、入力部2、制御部3、出力部4および補助記憶装置5Bを備えている。   In FIG. 9, the image information generating apparatus 1B according to the second embodiment includes an input unit 2, a control unit 3, an output unit 4, and an auxiliary storage device 5B.

補助記憶装置5Bは、画像情報生成プログラム51Bと、その画像情報生成プログラム51Bによって用いられるデータ53Bとが格納されている。   The auxiliary storage device 5B stores an image information generation program 51B and data 53B used by the image information generation program 51B.

画像情報生成プログラム51Bは、本実施形態の画像情報生成処理を制御部3にて実行するためのプログラムである。画像情報生成プログラム51Bは、文字または図形の骨格部分(スケルトン)がサブピクセル単位で構成されるように骨格(スケルトン)データに対応する骨格サブピクセルを設定し、骨格サブピクセルに対して最大の色要素レベルを割り付け、骨格サブピクセルに隣接するサブピクセルに対しては、最大の色要素レベルよりも低い色要素レベルを割り当て、さらには、横方向に相互に隣接する骨格サブピクセル間の距離に基づいて、隣接する骨格サブピクセル間に位置するサブピクセルに対しては、色要素レベルを平坦化して割り付ける処理を実施する。   The image information generation program 51B is a program for executing the image information generation processing of the present embodiment by the control unit 3. The image information generation program 51B sets the skeleton subpixel corresponding to the skeleton data so that the skeleton portion (skeleton) of the character or figure is configured in units of subpixels, and the maximum color for the skeleton subpixel. Assign element levels, assign sub-pixels adjacent to the skeleton subpixel to a color element level lower than the maximum color element level, and based on the distance between the skeleton subpixels adjacent to each other in the horizontal direction For the sub-pixels positioned between adjacent skeleton sub-pixels, a process of flattening and assigning the color element level is performed.

データ53Bとしては、骨格近接度テーブル53aと、平坦化率テーブル53bと、階調パターン基準テーブル53cと、補正テーブル53dと、輝度テーブル53eとが格納されている。   As the data 53B, a skeleton proximity table 53a, a flattening rate table 53b, a gradation pattern reference table 53c, a correction table 53d, and a luminance table 53e are stored.

補正テーブル53dは、前記実施形態1における補正テーブル53dと同様に、骨格サブピクセルに隣接する3個または4個のサブピクセルに対する色要素レベルが、表示画面に表示される線幅に基づいて設定されているが、本実施形態では、それに加えて、骨格サブピクセルに対して縦方向に隣接する骨格サブピクセルでないサブピクセルおよびそのサブピクセルに対して横方向に隣接する1または複数のサブピクセルに対して、色要素レベルが設定される。この場合、骨格サブピクセルの縦方向に隣接するサブピクセルに対しては、骨格サブピクセルに設定される最大の色要素レベルよりも低い色要素レベルが設定され、また、そのサブピクセルの横方向に隣接するサブピクセルは、さらに低い色要素レベルが設定される。そして、骨格サブピクセルの縦方向に隣接する骨格サブピクセルでないサブピクセルを、骨格相当サブピクセルとして設定され、以後の処理において、骨格相当サブピクセルが骨格サブピクセルと同様に処理される。   In the correction table 53d, as in the correction table 53d in the first embodiment, the color element levels for three or four subpixels adjacent to the skeleton subpixel are set based on the line width displayed on the display screen. However, in this embodiment, in addition to the non-skeleton subpixel that is vertically adjacent to the skeleton subpixel and one or more subpixels that are horizontally adjacent to the subpixel. Thus, the color element level is set. In this case, a color element level lower than the maximum color element level set for the skeleton subpixel is set for the subpixel adjacent to the skeleton subpixel in the vertical direction, and the subpixel is set in the horizontal direction of the subpixel. Adjacent subpixels are set to a lower color element level. Then, subpixels that are not skeleton subpixels adjacent to the skeleton subpixel in the vertical direction are set as skeleton-equivalent subpixels, and the skeleton-equivalent subpixels are processed in the same manner as the skeleton subpixels in the subsequent processing.

骨格近接度テーブル53aは、前記実施形態1における骨格近接度テーブル52aと同様に、文字または図形の骨格部分に対応して設定される骨格サブピクセルにおいて、横方向に相互に隣接する骨格サブピクセル間の距離に基づいて骨格近接度が設定されており、さらには、骨格相当サブピクセルついても、横方向に隣接する骨格サブピクセル(骨格相当サブピクセルを含む)との距離に基づいて骨格近接度が設定されている。骨格相当サブピクセルについては、設定された色要素レベルに対応した骨格近接度が設定されている。   Similar to the skeleton proximity table 52a in the first embodiment, the skeleton proximity table 53a is a skeleton subpixel set corresponding to a skeleton portion of a character or a figure, and between skeleton subpixels adjacent to each other in the horizontal direction. The skeleton proximity is set based on the distance of the skeleton, and the skeleton proximity is also determined based on the distance from the skeleton subpixels (including the skeleton-equivalent subpixels) adjacent to the skeleton in the horizontal direction. Is set. For the skeleton-equivalent subpixel, the skeleton proximity corresponding to the set color element level is set.

図10(a)〜(c)は、骨格近接度テーブル53aの一例を示しており、それぞれ、補正テーブルによって色要素レベルが設定されるサブピクセルの個数(補正パターンの長さ)は3である。図10(a)は、最大の色要素レベル7が設定される骨格サブピクセルが横方向に相互に隣接する場合に使用される骨格近接度テーブルであり、横方向に隣接する骨格サブピクセルの距離として、相互に隣接する骨格サブピクセルの間に位置するサブピクセルの個数が5個以下の場合には、骨格近接度として「レベル1」が設定され、サブピクセルの個数が6〜9個の場合には、骨格近接度として「レベル2」が設定され、サブピクセルの個数が10個以上の場合には、骨格近接度として「レベル3」が設定されている。   FIGS. 10A to 10C show an example of the skeleton proximity table 53a, and the number of subpixels (the length of the correction pattern) for which the color element level is set by the correction table is 3, respectively. . FIG. 10A is a skeleton proximity table used when skeleton subpixels for which the maximum color element level 7 is set are adjacent to each other in the horizontal direction, and the distance between the skeleton subpixels adjacent in the horizontal direction. When the number of subpixels positioned between adjacent skeleton subpixels is 5 or less, “level 1” is set as the skeleton proximity, and the number of subpixels is 6 to 9 “Level 2” is set as the skeleton proximity, and “Level 3” is set as the skeleton proximity when the number of sub-pixels is 10 or more.

図10(b)は、色要素レベルとして6〜4が設定された骨格相当サブピクセルと、骨格サブピクセルとが横方向に隣接する場合、または、色要素レベルとして6〜4が設定された骨格相当サブピクセル同士が横方向に隣接する場合に使用される骨格近接度テーブルであり、相互に隣接する骨格相当サブピクセルと骨格相当サブピクセルまたは骨格サブピクセルとの間に位置するサブピクセルの個数が3個以下の場合には、骨格近接度として「レベル1」が設定され、サブピクセルの個数が4〜6個の場合には、骨格近接度として「レベル2」が設定され、サブピクセルの個数が7個以上の場合には、骨格近接度として「レベル3」が設定されている。   FIG. 10B illustrates a case where a skeleton-equivalent subpixel in which 6 to 4 is set as the color element level and the skeleton subpixel are adjacent in the horizontal direction, or a skeleton in which 6 to 4 is set as the color element level. This is a skeleton proximity table used when the corresponding sub-pixels are adjacent to each other in the horizontal direction, and the number of sub-pixels positioned between the skeleton-equivalent sub-pixels and the skeleton-equivalent sub-pixels or the skeleton sub-pixels adjacent to each other. When the number is 3 or less, “level 1” is set as the skeleton proximity, and when the number of subpixels is 4 to 6, “level 2” is set as the skeleton proximity. Is 7 or more, “level 3” is set as the skeleton proximity.

図10(c)は、色要素レベルとして「3」〜「1」が設定された骨格相当サブピクセルと、骨格サブピクセルとが横方向に隣接する場合、または、1以上の色要素レベルが設定された骨格相当サブピクセル同士が横方向に隣接する場合に使用される骨格近接度テーブルであり、相互に隣接する骨格相当サブピクセルと骨格相当サブピクセルまたは骨格サブピクセルとの間に位置するサブピクセルの個数が6個以下の場合には、骨格近接度として「レベル2」が設定され、サブピクセルの個数が7個以上の場合には、骨格近接度として「レベル3」が設定されている。   FIG. 10C shows a case where a skeleton-equivalent subpixel in which “3” to “1” are set as color element levels and the skeleton subpixel are adjacent in the horizontal direction, or one or more color element levels are set. Is a skeleton proximity table used when the skeleton-equivalent subpixels are adjacent to each other in the horizontal direction, and is a subpixel located between the skeleton-equivalent subpixel and the skeleton-equivalent subpixel or the skeleton subpixel that are adjacent to each other “Level 2” is set as the skeleton proximity when the number of sub-pixels is 6 or less, and “Level 3” is set as the skeleton proximity when the number of sub-pixels is 7 or more.

このように、相互に隣接する骨格相当サブピクセルの色要素レベルの範囲が一致しない場合には、色要素レベルの範囲が小さな骨格近接度テーブルが使用される。そして、骨格サブピクセルおよび骨格相当サブピクセルに設定される色要素レベルに応じて複数の骨格近接度テーブルが設けられていることにより、骨格サブピクセルおよび骨格相当サブピクセルの色要素レベルによって決定される文字や図形の線の濃淡が空間の潰れに与える影響を考慮して、きめ細かく骨格近接度を決定することができる。   As described above, when the color element level ranges of the skeleton-equivalent subpixels adjacent to each other do not match, a skeleton proximity table having a small color element level range is used. Then, a plurality of skeleton proximity tables are provided in accordance with the color element levels set for the skeleton subpixel and the skeleton-equivalent subpixel, and thus are determined according to the color element levels of the skeleton subpixel and the skeleton-equivalent subpixel. Considering the influence of the shading of characters and figures on the collapse of the space, the skeleton proximity can be determined finely.

なお、平坦化率テーブル53bは、前記実施形態1における図7の平坦化率テーブル52bと同様の構成になっており、骨格近接度が「レベル1」の場合には、平坦化率として「0.8」が設定されており、骨格近接度が「レベル2」の場合には、平坦化率として「0.5」が設定されている。そして、骨格近接度が「レベル3」の場合には、平坦化率として「0.0」が設定されており、平坦化処理は行われない。   The flattening rate table 53b has the same configuration as the flattening rate table 52b of FIG. 7 in the first embodiment, and when the skeleton proximity is “level 1”, the flattening rate is “0”. .8 ”is set, and when the skeleton proximity is“ level 2 ”,“ 0.5 ”is set as the flattening rate. When the skeleton proximity is “level 3”, “0.0” is set as the flattening rate, and the flattening process is not performed.

階調パターン基準テーブル53cは、前記実施形態1における図4の階調パターン基準テーブル52cと同様の構成になっている。   The gradation pattern reference table 53c has the same configuration as the gradation pattern reference table 52c of FIG. 4 in the first embodiment.

輝度テーブル53dには、骨格相当サブピクセルに対して、横方向に骨格サブピクセルまたは骨格相当サブピクセルが隣接する場合において、横方向に隣接する骨格相当サブピクセルと、骨格サブピクセルまたは骨格相当サブピクセルとの間に位置するサブピクセルに対して設定されるそれぞれの色要素レベルに対応して輝度レベルが設定されており、図10にその一例を示す。図10に示す輝度テーブルでは、色要素レベルが「1」であるサブピクセルの輝度レベルは、R、G、Bのいずれの場合にも「255」であり、色要素レベルが「2」であるサブピクセルの輝度レベルは、R、G、Bのいずれの場合にも「219」であり、色要素レベルが「3」であるサブピクセルの輝度レベルは、R、G、Bのいずれの場合にも「182」であり、色要素レベルが「4」であるサブピクセルの輝度レベルは、R、G、Bのいずれの場合にも「109」であり、色要素レベルが「5」であるサブピクセルの輝度レベルは、R、G、Bのいずれの場合にも「73」であり、色要素レベルが「6」であるサブピクセルの輝度レベルは、R、G、Bのいずれの場合にも「36」であり、色要素レベルが「7」であるサブピクセルの輝度レベルは、R、G、Bのいずれの場合にも「0」である。   In the luminance table 53d, when a skeleton subpixel or a skeleton-equivalent subpixel is adjacent in the horizontal direction to the skeleton-equivalent subpixel, the skeleton-equivalent subpixel and the skeleton subpixel or the skeleton-equivalent subpixel that are adjacent in the horizontal direction. The luminance levels are set corresponding to the respective color element levels set for the sub-pixels positioned between and, and an example is shown in FIG. In the luminance table shown in FIG. 10, the luminance level of the subpixel whose color element level is “1” is “255” in any of R, G, and B, and the color element level is “2”. The luminance level of the sub-pixel is “219” in any of R, G, and B, and the luminance level of the sub-pixel having the color element level of “3” is in any of R, G, and B Is also “182”, the luminance level of the sub-pixel whose color element level is “4” is “109” in any of R, G, and B, and the sub-pixel whose color element level is “5”. The luminance level of the pixel is “73” in any of R, G, and B, and the luminance level of the sub-pixel having the color element level of “6” is in any of R, G, and B “36” and the color element level “7”. Degree level, R, in each case G, and B are "0".

以下に、本実施形態の画像情報生成装置1Bにより画像情報生成プログラム51Bに基づいて行われる画像情報生成処理について、図12に示すフローチャートと、図13の説明図とに基づいて説明する。図13は、実施形態1と同様に、漢字「忙」を、線幅「普通」で表示する場合の処理の説明図である。   Hereinafter, image information generation processing performed based on the image information generation program 51B by the image information generation apparatus 1B of the present embodiment will be described based on the flowchart shown in FIG. 12 and the explanatory diagram of FIG. FIG. 13 is an explanatory diagram of processing when the Chinese character “busy” is displayed with the line width “normal” as in the first embodiment.

まず、入力部2に文字コードおよび文字サイズが入力されると、文字サイズに基づいて線幅パラメータを取得する(図12のステップS21参照、以下同様)。線幅パラメータは、生成される文字、図形における縦線および斜め線の線幅を規定するものであり、入力される線幅パラメータに基づいて、例えば、「細い」、「普通」、「太い」の線幅が規定される。   First, when a character code and a character size are input to the input unit 2, a line width parameter is acquired based on the character size (see step S21 in FIG. 12, the same applies hereinafter). The line width parameter defines the line width of vertical lines and diagonal lines in generated characters and figures. For example, “thin”, “normal”, “thick” based on the input line width parameter. The line width is defined.

ステップS21において線幅パラメータが取得されると、文字または図形の骨格(スケルトン)データに対応するサブピクセルである骨格サブピクセルを設定し、骨格サブピクセルに最大の色要素レベルを設定するとともに、線幅パラメータによって規定される線幅に基づいて、骨格サブピクセルの横方向に隣接する3個または4個のサブピクセル(補正パターン長さ)の色要素レベルが補正テーブル53dに基づいて設定される。同時に、骨格サブピクセルの縦方向に隣接する骨格サブピクセルでないサブピクセルと、そのサブピクセルの両側のサブピクセルに対して、補正テーブル53dに基づいて色要素レベルが設定される。   When the line width parameter is acquired in step S21, a skeleton subpixel, which is a subpixel corresponding to character or figure skeleton data, is set, and the maximum color element level is set to the skeleton subpixel. Based on the line width defined by the width parameter, the color element levels of three or four subpixels (correction pattern lengths) adjacent in the horizontal direction of the skeleton subpixel are set based on the correction table 53d. At the same time, color element levels are set based on the correction table 53d for subpixels that are not skeleton subpixels adjacent to the skeleton subpixel in the vertical direction and subpixels on both sides of the subpixel.

図13(a)にて点線で囲った部分における骨格サブピクセルAおよびBについては、両骨格サブピクセルAおよびB間に5個のサブピクセルが位置しており、図10(a)の骨格近接度テーブルから、骨格近接度として「レベル1」が設定される。そして、両骨格サブピクセルAおよびBの間に位置する5個のサブピクセルについては、前記実施形態1と同様に、補正テーブル53dに基づいて、図13(c)に示すように、色要素レベルとして、骨格サブピクセルAに隣接するサブピクセルから順番に「4」、「3」、「2」、「3」、「4」が設定される。   Regarding the skeleton subpixels A and B in the portion surrounded by the dotted line in FIG. 13A, five subpixels are located between the skeleton subpixels A and B, and the skeleton proximity in FIG. From the degree table, “level 1” is set as the skeleton proximity. Then, for the five sub-pixels positioned between the two skeleton sub-pixels A and B, as shown in FIG. 13C, the color element level is based on the correction table 53d as in the first embodiment. As a result, “4”, “3”, “2”, “3”, “4” are set in order from the sub-pixel adjacent to the skeleton sub-pixel A.

これに対して、骨格サブピクセルAの縦方向に隣接するサブピクセルは、骨格相当サブピクセルDであり、その色要素レベルとして「5」が設定される。そして、その骨格相当サブピクセルDの両側に隣接する複数のサブピクセルに対して、色要素レベルの基準値(テーブルで規定される基準の値)がそれぞれ設定される。   On the other hand, the subpixel adjacent to the skeleton subpixel A in the vertical direction is the skeleton-equivalent subpixel D, and “5” is set as the color element level thereof. Then, color element level reference values (reference values defined in the table) are respectively set for a plurality of subpixels adjacent to both sides of the skeleton-corresponding subpixel D.

なお、骨格サブピクセルBの下側には、骨格サブピクセルCが隣接していることから、この骨格サブピクセルCに隣接する各サブピクセルについては、補正テーブル53dに基づいて、骨格サブピクセルCに近い順に、色要素レベルとして「4」、「3」、「2」の値が基準値として設定される。そして、骨格相当サブピクセルDと骨格サブピクセルCとの間に位置する各サブピクセルに対して、骨格相当サブピクセルDに基づいて設定される色要素レベルの基準値と、骨格サブピクセルCに基づいて設定される色要素レベルの基準値とに基づいて、色要素レベルが設定される。この場合の各サブピクセルに対する色要素レベルの設定は、各サブピクセルに対する基準値同士を比較して大きな色要素レベルに設定する構成、各サブピクセルに対する基準値の平均あるいは合計を色要素レベルとして設定する構成等の方法が適用される。   Since the skeleton subpixel C is adjacent to the lower side of the skeleton subpixel B, each of the subpixels adjacent to the skeleton subpixel C is assigned to the skeleton subpixel C based on the correction table 53d. In close order, values of “4”, “3”, and “2” are set as reference values as color element levels. For each subpixel located between the skeleton-equivalent subpixel D and the skeleton subpixel C, the color element level reference value set based on the skeleton-equivalent subpixel D and the skeleton subpixel C are used. The color element level is set based on the reference value of the color element level that is set in the above. In this case, the color element level for each subpixel is set to a large color element level by comparing the reference values for each subpixel, and the average or total of the reference values for each subpixel is set as the color element level. A method such as a configuration is applied.

図13(c)においては、骨格相当サブピクセルDの両側のサブピクセルに対して色要素レベル「2」がそれぞれ設定されており、また、そのサブピクセルに対して骨格サブピクセルC側に並んだ各サブピクセルに対して「2」、「2」、「3」、「4」の色要素レベルがそれぞれ設定されている。ここで、骨格相当ピクセルDの両側の色要素レベルは、図3(c)に示すような、骨格相当サブピクセル用の補正パターンのテーブル52dを参照して設定される。   In FIG. 13C, the color element level “2” is set for the sub-pixels on both sides of the skeleton-corresponding sub-pixel D, and the sub-pixels are arranged on the skeleton sub-pixel C side. Color element levels of “2”, “2”, “3”, and “4” are set for each subpixel. Here, the color element levels on both sides of the skeleton equivalent pixel D are set with reference to a correction pattern table 52d for the skeleton equivalent subpixel as shown in FIG.

なお、横方向に骨格サブピクセル同士が隣接する場合には、実施形態1にて説明した平坦化処理と同様の処理によって、両骨格サブピクセル間に位置する各サブピクセルの輝度レベルが平坦化されるために、その説明については省略する。以下の説明では、骨格相当サブピクセルに対する処理についてのみ説明する。   When the skeleton subpixels are adjacent to each other in the horizontal direction, the luminance level of each subpixel located between both skeleton subpixels is flattened by the same process as the flattening process described in the first embodiment. Therefore, the description is omitted. In the following description, only processing for the skeleton-equivalent subpixel will be described.

骨格相当サブピクセルが設定されると、その骨格相当サブピクセルに対して横方向に隣接する骨格サブピクセルまたは骨格相当サブピクセルが存在するかを判定する(ステップS22)。骨格相当サブピクセルと対になる骨格サブピクセルまたは骨格相当サブピクセルが存在する場合(Yes)には、ステップS23に進み、存在しない場合(No)には、ステップS27に進む。   When the skeleton-equivalent subpixel is set, it is determined whether there is a skeleton subpixel or a skeleton-equivalent subpixel adjacent to the skeleton-equivalent subpixel in the horizontal direction (step S22). If there is a skeleton subpixel or a skeleton-equivalent subpixel that is paired with the skeleton-equivalent subpixel (Yes), the process proceeds to step S23. If not (No), the process proceeds to step S27.

ステップS22において、骨格相当サブピクセルと対になる骨格サブピクセルまたは骨格相当サブピクセルが存在しない場合(No)には、ステップS27において、骨格相当サブピクセルに対して横方向に隣接するサブピクセルに対して色要素レベルを設定する。   In step S22, when there is no skeleton subpixel or skeleton equivalent subpixel that is paired with the skeleton-equivalent subpixel (No), in step S27, for the subpixels laterally adjacent to the skeleton-equivalent subpixel. To set the color element level.

これに対して、ステップS22において、骨格相当サブピクセルと対になる骨格サブピクセルまたは骨格相当サブピクセルが存在する場合(Yes)には、骨格相当サブピクセルと、その骨格相当サブピクセルと対になる骨格サブピクセルまたは骨格相当サブピクセルとの間に挟まれたサブピクセルの個数を、骨格相当サブピクセル間の距離として算出する(ステップS23)。この場合の具体的な処理は、図2のステップS5と同様である。   In contrast, if there is a skeleton subpixel or a skeleton-equivalent subpixel that is paired with the skeleton-equivalent subpixel in step S22 (Yes), the skeleton-equivalent subpixel and the skeleton-equivalent subpixel are paired. The number of subpixels sandwiched between the skeleton subpixel or the skeleton-corresponding subpixel is calculated as the distance between the skeleton-corresponding subpixels (step S23). The specific processing in this case is the same as step S5 in FIG.

ステップS23において、骨格相当サブピクセル間の距離が算出されると、算出された骨格相当サブピクセル間の距離に基づいて、骨格近接度テーブル53aから、骨格近接度を読み出す(ステップS24)。   When the distance between the skeleton-equivalent subpixels is calculated in step S23, the skeleton proximity is read out from the skeleton proximity table 53a based on the calculated distance between the skeleton-equivalent subpixels (step S24).

図13(c)においては、骨格相当サブピクセルの色要素レベルが「5」であり、骨格相当サブピクセルと骨格サブピクセルBとの間のサブピクセル数が5個であることから、図10(b)に示された骨格近接度テーブル53aから、骨格近接度として「レベル2」が得られる。   In FIG. 13C, the color element level of the skeleton-equivalent subpixel is “5”, and the number of subpixels between the skeleton-equivalent subpixel and the skeleton subpixel B is five. From the skeleton proximity table 53a shown in b), “level 2” is obtained as the skeleton proximity.

ステップS24にて骨格近接度が読み出されると、読み出された骨格近接度に対応した平坦化率を、平坦化率テーブル53bから読み出す。そして、骨格相当サブピクセル対の間に位置する全てのサブピクセルから、R、G、Bの各サブピクセルによって構成される1つのピクセルを注目ピクセルとして設定し、その注目ピクセルを構成するR、G、Bの各サブピクセルに対して設定されたそれぞれの色要素レベルに対する輝度レベルを、輝度テーブル53eから読み出す。そして、読み出された各サブピクセルの輝度レベルを、平坦化率テーブル53bから読み出された平坦化率に基づいてそれぞれ平坦化する(ステップS25)。   When the skeleton proximity is read in step S24, the flattening rate corresponding to the read skeleton proximity is read from the flattening rate table 53b. Then, from all the subpixels positioned between the skeleton-equivalent subpixel pairs, one pixel constituted by each of the R, G, and B subpixels is set as the pixel of interest, and R, G constituting the pixel of interest , B are read from the luminance table 53e for the respective color element levels set for the sub-pixels of B. Then, the read luminance level of each sub-pixel is flattened based on the flattening rate read from the flattening rate table 53b (step S25).

図13(c)において、骨格近接度が「レベル2」であることから、図7に示す平坦化率テーブルから、平坦化率として「0.5」が読み出される。また、図13(c)において、骨格相当サブピクセルDと骨格サブピクセルCとの間に位置する注目ピクセルにおけるR、G、Bの各サブピクセルは、それぞれ「2」、「2」、「3」の色要素レベルに設定されていることから、R、G、Bの各サブピクセルの輝度レベルは、図11に示す輝度テーブル53eに基づいて「182」、「182」、「146」になる。そして、図7に示す平坦化率テーブルから読み出された平坦化率「0.5」と前記式(2−1)〜(2−4)とによって平坦化すると、注目画素におけるR、G、Bの各サブピクセルの輝度レベルは、「177」、「177」、「159」になる。   In FIG. 13C, since the skeleton proximity is “level 2”, “0.5” is read as the flattening rate from the flattening rate table shown in FIG. In FIG. 13C, the R, G, and B subpixels in the target pixel located between the skeleton corresponding subpixel D and the skeleton subpixel C are “2”, “2”, and “3”, respectively. ”, The luminance levels of the R, G, and B sub-pixels are“ 182 ”,“ 182 ”, and“ 146 ”based on the luminance table 53e shown in FIG. . Then, when flattening is performed according to the flattening rate “0.5” read from the flattening rate table illustrated in FIG. 7 and the equations (2-1) to (2-4), R, G, The luminance level of each sub-pixel of B is “177”, “177”, and “159”.

このようにして、骨格相当サブピクセルDと骨格サブピクセルCとの間に位置する注目ピクセルの各サブピクセルの輝度レベルが算出されると、算出された各輝度レベルを注目ピクセルの各サブピクセルに対して設定する(ステップS26)。   In this way, when the luminance level of each subpixel of the target pixel located between the skeleton corresponding subpixel D and the skeleton subpixel C is calculated, each calculated luminance level is assigned to each subpixel of the target pixel. It sets for (step S26).

次いで、各サブピクセルに対して設定された輝度レベルに対応する電圧を出力部4に出力する(ステップS28)。   Next, a voltage corresponding to the luminance level set for each sub-pixel is output to the output unit 4 (step S28).

なお、ステップS27において、骨格相当サブピクセルに対して横方向に隣接するサブピクセルに対して色要素レベルを設定されている場合にも、同様に、各サブピクセルに対して設定された輝度レベルに対応する電圧を出力部4に出力する
その後、処理すべきピクセルがあるか否かを調べて、ある場合(Yes)にはステップS22に戻って、処理すべきピクセルに対してステップS22〜S28の処理を繰り返し、処理すべきピクセルがない場合(No)には処理を終了する。
In step S27, when the color element level is set for the subpixel adjacent in the horizontal direction to the skeleton-equivalent subpixel, the luminance level set for each subpixel is similarly set. After that, the corresponding voltage is output to the output unit 4. Then, it is checked whether or not there is a pixel to be processed. If there is (Yes), the process returns to step S22, and steps S22 to S28 are performed for the pixel to be processed. The process is repeated, and if there is no pixel to be processed (No), the process is terminated.

このように、骨格サブピクセルに対して、縦方向に隣接するサブピクセルが骨格サブピクセルでない場合にも、骨格サブピクセルよりも低い色要素レベルに設定して骨格サブピクセルと同様の処理を実施することによって、さらに高精細に文字等を表示することができる。   As described above, even when the subpixel adjacent in the vertical direction is not a skeleton subpixel, the same processing as that of the skeleton subpixel is performed with the color element level set lower than that of the skeleton subpixel. Thus, characters and the like can be displayed with higher definition.

<実施形態3>
前述の実施形態2は、文字および図形の骨格部分を構成するストロークが斜め線の場合にも適用することができる。この場合、斜め線を表示画面に表示するための骨格サブピクセルおよび骨格相当サブピクセルの設定は、特開2005−24987号公報に開示されている方法を適用することができる。
<Embodiment 3>
The second embodiment described above can also be applied to the case where the strokes constituting the skeleton portions of characters and figures are diagonal lines. In this case, the method disclosed in Japanese Patent Application Laid-Open No. 2005-24987 can be applied to the setting of the skeleton subpixel and the skeleton-equivalent subpixel for displaying diagonal lines on the display screen.

図14は、骨格部分が2本の斜め線である場合において、両斜め線の間の輝度レベルを平坦化する場合の説明図である。図14(a)において、骨格部分である2本の平行な斜め線を構成するストロークと、表示画面における各サブピクセルとの関係が示されている。なお、各ストロークを示すストロークデータは、始点および終点の座標が設定されたベクトルデータになっている。このような斜め線のストロークデータ(ベクトルデータ)が表示画面において設定されると、特開2005−24987号公報に開示されている方法によって、その斜め線の骨格サブピクセルおよび骨格相当サブピクセルが設定される。この場合、まず、ストロークが通過するサブピクセルを特定し、ストロークが通過するサブピクセルの中心点と、その中心点と同じX座標のストローク上の点との距離に基づいて、骨格サブピクセルおよび骨格相当サブピクセルが設定される。   FIG. 14 is an explanatory diagram in the case where the luminance level between both diagonal lines is flattened when the skeleton part is two diagonal lines. FIG. 14 (a) shows the relationship between the strokes forming two parallel diagonal lines that are the skeleton parts and the sub-pixels on the display screen. The stroke data indicating each stroke is vector data in which the coordinates of the start point and the end point are set. When such stroke data (vector data) of diagonal lines is set on the display screen, the skeleton subpixels and skeleton equivalent subpixels of the diagonal lines are set by the method disclosed in Japanese Patent Application Laid-Open No. 2005-24987. Is done. In this case, first, the sub-pixel through which the stroke passes is specified, and the skeleton sub-pixel and the skeleton are determined based on the distance between the center point of the sub-pixel through which the stroke passes and the point on the stroke having the same X coordinate as the center point. Equivalent subpixels are set.

サブピクセルの中心点と、その中心点と同じX座標のストローク上の点との距離が所定値よりも小さい場合には、そのサブピクセルは骨格サブピクセルとされ、色要素レベルとして最大の「7」が設定される。これに対して、サブピクセルの中心点と、その中心点と同じX座標のストローク上の点との距離が、前記所定値よりも大きな所定の範囲にある場合には、そのサブピクセルは骨格相当サブピクセルとされ、骨格サブピクセルに設定される色要素レベルよりも低い色要素レベル(例えば「6」)が設定される。さらには、ストロークが通過するサブピクセルの中心点と、その中心点と同じX座標のストローク上の点との距離が、前記所定の範囲よりも小さなサブピクセルが存在する場合には、そのサブピクセルに、骨格相当サブピクセルよりもさらに低い色要素レベルを設定し、さらに、必要に応じて、骨格サブピクセルおよび骨格相当サブピクセルに対して横方向に隣接する骨格サブピクセルおよび骨格相当サブピクセル以外のサブピクセルに対して、骨格相当サブピクセルに対して設定される色要素レベルよりも低い色要素レベルを設定する。   When the distance between the center point of a subpixel and a point on the same X coordinate stroke as the center point is smaller than a predetermined value, the subpixel is a skeleton subpixel and has a maximum color element level of “7”. Is set. On the other hand, when the distance between the center point of the subpixel and the point on the same X coordinate stroke as the center point is within a predetermined range larger than the predetermined value, the subpixel corresponds to the skeleton. A color element level (for example, “6”) lower than the color element level set for the skeleton subpixel is set as a subpixel. Furthermore, when there exists a subpixel in which the distance between the center point of the subpixel through which the stroke passes and the point on the stroke of the same X coordinate as the center point is smaller than the predetermined range, the subpixel In addition, a color element level lower than that of the skeleton-equivalent subpixel is set, and, if necessary, other than the skeleton subpixel and the skeleton-equivalent subpixel that are laterally adjacent to the skeleton subpixel and the skeleton-equivalent subpixel. A color element level lower than the color element level set for the skeleton-equivalent subpixel is set for the subpixel.

これにより、図14(b)に示すように、2本の平行なストロークを表示するためのサブピクセルが特定されて、各サブピクセルに対して色要素レベルが設定される。   As a result, as shown in FIG. 14B, subpixels for displaying two parallel strokes are specified, and a color element level is set for each subpixel.

このようにして、2本の平行なストロークを表示するためのサブピクセルおよび色要素レベルが設定されると、前述した実施形態2と同様に、補正テーブルに基づいて、骨格サブピクセルおよび骨格相当サブピクセルに対して横方向に隣接するサブピクセルに対して色要素レベルを設定する。これにより、図14(c)に示すように、骨格サブピクセルおよび骨格相当サブピクセルの周囲のサブピクセルに対して色要素レベルが設定される。以後は、前述した実施形態2と同様にして、横方向に隣接する骨格サブピクセルまたは骨格相当サブピクセルの間に位置する注目ピクセルのサブピクセルに対して、設定された色要素レベルを平坦化する処理が実施される。   When the sub-pixel and the color element level for displaying two parallel strokes are set in this way, the skeleton sub-pixel and the skeleton-equivalent sub are based on the correction table as in the second embodiment. A color element level is set for a sub-pixel adjacent in the horizontal direction with respect to the pixel. As a result, as shown in FIG. 14C, color element levels are set for the subpixels around the skeleton subpixel and the skeleton-equivalent subpixel. Thereafter, in the same manner as in the second embodiment described above, the set color element level is flattened for the sub-pixels of the target pixel located between the skeleton sub-pixels or skeleton-equivalent sub-pixels adjacent in the horizontal direction. Processing is performed.

以上のように、本実施形態によれば、骨格サブピクセルに隣接する骨格相当サブピクセルに対しても、骨格サブピクセルと同様に扱って、骨格相当ピクセルに対して横方向に隣接する骨格サブピクセルまたは骨格相当ピクセルとの間のサブピクセルの輝度レベルを平坦化処理するようになっており、これにより、文字、図形を構成するストローク同士が相互に接近している場合にも、ストローク間において色付きが発生することを抑制することができる。さらに、ストローク同士が相互に接近していない場合には、サブピクセルの輝度レベルが平坦化処理されないため、ストロークによって構成される文字、図形等をはっきりと明確に表示することができる。   As described above, according to this embodiment, the skeleton subpixel adjacent to the skeleton subpixel is also treated in the same manner as the skeleton subpixel, and the skeleton subpixel adjacent to the skeleton equivalent pixel in the horizontal direction. Or, the luminance level of the sub-pixel between the skeleton-equivalent pixels is flattened, so that even if the strokes that make up the characters and figures are close to each other, coloring is applied between the strokes. Can be prevented from occurring. Furthermore, when the strokes are not close to each other, the luminance level of the sub-pixel is not flattened, so that characters, figures, etc. constituted by the strokes can be displayed clearly and clearly.

<実施形態4>
なお、上記各実施形態1〜3において、所定方向に連続する骨格サブピクセルまたは骨格相当サブピクセルの長さに応じて、骨格サブピクセルまたは骨格相当サブピクセルの近傍に位置するサブピクセルの輝度レベルを制御して、輝度レベルの平坦化率を高く設定することも可能である。
<Embodiment 4>
In each of the first to third embodiments, the luminance level of the subpixel located in the vicinity of the skeleton subpixel or the skeleton-equivalent subpixel is set according to the length of the skeleton subpixel or the skeleton-equivalent subpixel that is continuous in the predetermined direction. It is also possible to control and set the flattening rate of the luminance level high.

通常、表示に際して、相互に接近したストローク同士の間に生じる色付きは、ストローク同士が接近している部分が長いほど、目立ちやすくなる。このために、ストローク同士が相互に隣接している場合には、隣接しているストローク部分を構成する骨格サブピクセルまたは骨格相当サブピクセルが、縦方向に連続して並ぶ個数を調べて、連続する骨格サブピクセルまたは骨格相当サブピクセルの個数が多いほど、相互に隣接するストローク同士の部分が長くなっているとして、各ストロークを構成する骨格サブピクセルまたは骨格相当サブピクセルの間に位置するサブピクセルの平坦化率が大きくなるように変更する。   Usually, when displaying, the coloration generated between the strokes that are close to each other becomes more conspicuous as the portion where the strokes are close to each other is longer. For this reason, when the strokes are adjacent to each other, the number of skeleton subpixels or skeleton-equivalent subpixels constituting the adjacent stroke portions is continuously determined by checking the number of the skeleton subpixels continuously arranged in the vertical direction. As the number of skeleton subpixels or skeleton-equivalent subpixels increases, the portion between adjacent strokes becomes longer. Change to increase the flattening rate.

このように平坦化率を変更するためには、例えば、図15に示すような平坦化補強率テーブルを用いることができる。図15に示す平坦化補強率テーブルは、相互に隣接しているストローク同士のそれぞれの部分を構成する骨格サブピクセルまたは骨格相当サブピクセルが縦方向に連続していることを示す情報として、ストローク長情報が定義されている。この「ストローク長情報」は、相互に隣接する各ストローク部分を構成する骨格サブピクセルの長さによって定義することもできるが、図15の例では、各ストロークによって構成される文字の高さに対して、それぞれのストロークにおける相互に隣接した部分の長さ(骨格サブピクセルまたは骨格相当サブピクセルの個数)の占める割合で定義されている。そして、このストローク長情報に対して、必要とされる平坦化率の増加割合を示す平坦化補強率がそれぞれ設定されている。平坦化補強率は、ストローク長情報によるストローク長が長いほど大きく設定されており、ストローク長情報が文字の高さの30%以上50%未満では平坦化補強率が50%、ストローク長が文字高さの10%以上30%未満では平坦化補強率が20%、ストローク長が文字高さ/幅の10%未満では平坦化補強率が0%と設定されている。   In order to change the flattening rate in this way, for example, a flattening reinforcement rate table as shown in FIG. 15 can be used. The flattening reinforcement rate table shown in FIG. 15 includes a stroke length as information indicating that skeleton subpixels or skeleton-equivalent subpixels constituting respective portions of strokes adjacent to each other are continuous in the vertical direction. Information is defined. This “stroke length information” can also be defined by the length of the skeleton subpixels constituting each stroke part adjacent to each other, but in the example of FIG. Thus, it is defined by the ratio of the lengths of adjacent portions (the number of skeleton subpixels or skeleton-equivalent subpixels) in each stroke. And the flattening reinforcement rate which shows the increase rate of the required flattening rate is set with respect to this stroke length information, respectively. The flattening reinforcement rate is set to be larger as the stroke length based on the stroke length information is longer. When the stroke length information is 30% or more and less than 50% of the character height, the flattening reinforcement rate is 50% and the stroke length is the character height. When the thickness is 10% or more and less than 30%, the flattening reinforcement rate is set to 20%, and when the stroke length is less than 10% of the character height / width, the flattening reinforcement rate is set to 0%.

補強された平坦化率x’は、平坦化率がx、平坦化補強率がy%である場合、下記式(4)によって求めることができる。   The reinforced flattening rate x 'can be obtained by the following equation (4) when the flattening rate is x and the flattening reinforcing rate is y%.

x’=x+(1−x)×y …(4)
例えば、平坦化率が0.8である場合、最大の平坦化率1に対する余裕度(1−x)が0.2であるため、平坦化補強率が50%であれば、補強された平坦化率x’は0.9(=0.8+0.2×50%)となり、輝度レベルが平坦化される度合いが強くなる。
x ′ = x + (1−x) × y (4)
For example, when the flattening rate is 0.8, the margin (1-x) for the maximum flattening rate 1 is 0.2. Therefore, if the flattening reinforcement rate is 50%, the reinforced flatness is The conversion rate x ′ is 0.9 (= 0.8 + 0.2 × 50%), and the degree to which the luminance level is flattened increases.

なお、骨格文字または図形の骨格部分として骨格ストロークがベクトルデータによって表されている場合には、ストローク長情報を求める際に、縦方向のストロークについて、ストロークの端点座標の差をストローク長として、文字、図形の全体サイズに対する比率を求めることができる。一方、骨格ストロークがベクトルデータによって表されていないために、座標値からストローク長を求めることができない場合には、骨格サブピクセルまたは骨格相当サブピクセルの配列に対して、縦方向に並ぶ骨格サブピクセルの数をカウントし、ストローク長として取り扱うことができる。   When the skeletal stroke is represented by vector data as the skeleton part of the skeleton character or figure, when calculating the stroke length information, the difference between the stroke end point coordinates is used as the stroke length for the vertical stroke. The ratio to the overall size of the figure can be obtained. On the other hand, when the stroke length cannot be obtained from the coordinate value because the skeleton stroke is not represented by the vector data, the skeleton subpixels arranged in the vertical direction with respect to the arrangement of the skeleton subpixel or the skeleton-equivalent subpixel. Can be counted and treated as the stroke length.

このように、相互に近接する縦線同士が長く続く場合には、それらの縦線の間のサブピクセルの平坦化率を大きくすることによって、縦線同士が長く近接する場合にも、その間に色付けが発生することを確実に防止することができる。   In this way, when vertical lines that are close to each other continue for a long time, by increasing the flattening rate of the subpixels between those vertical lines, even when the vertical lines are close to each other for a long time, It is possible to reliably prevent coloring from occurring.

なお、上記各実施形態において、平坦化後の輝度レベルを、計算をその都度行って求める方法について説明したが、平坦化後の輝度レベルを予め求めたテーブルを作成して、そのテーブルに基づいて輝度レベルを設定することによって、計算コストを抑えることも可能である。さらに、ガンマ変換・ガンマ逆変換を経て、明るさに比例した重みにより輝度レベルの平坦化を行う際に、計算をその都度行っても良いが、計算結果を予め求めたテーブルを作成しておき、そのテーブルに基づいて値を設定することにより計算コストを抑えることも、同様に可能である。本発明を実施する際には、計算コストと、テーブルとして記憶しておくためのメモリコストのバランスを考慮して、その処理方法と構成とが適切に選択され得る。   In each of the above-described embodiments, the method of obtaining the brightness level after flattening by performing calculation every time has been described. However, a table in which the brightness level after flattening is obtained in advance is created and based on the table. By setting the brightness level, it is possible to reduce the calculation cost. In addition, the calculation may be performed each time when the luminance level is flattened with a weight proportional to the brightness through gamma conversion and reverse gamma conversion, but a table in which the calculation results are obtained in advance is prepared. Similarly, it is possible to reduce the calculation cost by setting a value based on the table. In carrying out the present invention, the processing method and configuration can be appropriately selected in consideration of the balance between calculation cost and memory cost for storing as a table.

以上のように、本発明の好ましい実施形態を用いて本発明を例示してきたが、本発明は、この実施形態に限定して解釈されるべきものではない。本発明は、特許請求の範囲によってのみその範囲が解釈されるべきであることが理解される。当業者は、本発明の具体的な好ましい実施形態の記載から、本発明の記載および技術常識に基づいて等価な範囲を実施することができることが理解される。本明細書において引用した特許、特許出願および文献は、その内容自体が具体的に本明細書に記載されているのと同様にその内容が本明細書に対する参考として援用されるべきであることが理解される。   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 references cited herein should be incorporated by reference in their entirety as if the contents themselves were specifically described herein. Understood.

本発明は、パーソナルコンピュータ、携帯電話機、デジタルテレビジョンなどのように、表示装置や印刷装置を備えた電子機器や情報機器において、文字、図形等の骨格部分および骨格に準ずる部分に対応して設定される骨格サブピクセルおよび骨格相当サブピクセルの間に挟まれたサブピクセルの輝度レベルが平坦化されるように制御される。これにより、文字、図形等を構成するストローク同士が相互に接近している場合においても、ストロークの間に色付きが発生するおそれがなく、また、隣接するストローク同士が相互に密着して表示されることによって、文字等が潰れて表示されることを抑制することができる。さらに、隣接するストローク同士が接近していない場合には、各ストロークの輪郭を明確に表示することができ、その結果、文字、図形等を明確に表示することができる。   The present invention is set to correspond to a skeleton part such as a character and a figure and a part corresponding to the skeleton in an electronic device or an information device provided with a display device or a printing device such as a personal computer, a mobile phone, a digital television. The luminance level of the sub-pixel sandwiched between the skeleton sub-pixel and the skeleton-corresponding sub-pixel is controlled to be flattened. As a result, even when strokes constituting characters, figures, etc. are close to each other, there is no possibility of coloring between strokes, and adjacent strokes are displayed in close contact with each other. Therefore, it is possible to suppress the characters and the like from being crushed and displayed. Further, when adjacent strokes are not close to each other, the outline of each stroke can be clearly displayed, and as a result, characters, figures, and the like can be clearly displayed.

Claims (10)

表示装置に出力するための文字または図形の画像情報を生成する画像情報生成装置であって、
該表示装置は、複数のピクセルを含み、該複数のピクセルのそれぞれは、所定の第1の方向に配置された複数のサブピクセルを含み、該複数のサブピクセルには、互いに異なる複数の色要素が割り当てられており、
該画像情報生成装置は、
文字または図形の骨格部分に対応する少なくとも1つのサブピクセルを少なくとも1つの骨格サブピクセルとして設定する骨格サブピクセル設定手段と、
該骨格サブピクセルおよび該所定の第1の方向に沿って該骨格サブピクセルに隣接する少なくとも1つのサブピクセルのそれぞれに色要素レベルを設定する色要素レベル設定手段と、
該所定の第1の方向に沿って互いに隣接する2つの骨格サブピクセルが存在するか否かを判定する判定手段と、
該所定の第1の方向に沿って互いに隣接する2つの骨格サブピクセルが存在すると判定された場合には、該2つの骨格サブピクセル間の距離を算出する算出手段と、
該算出された距離に基づいて、該2つの骨格サブピクセル間に位置する複数のサブピクセルの色要素レベルに対応する輝度レベルを平坦化するための平坦化率を設定する平坦化率設定手段と、
該設定された平坦化率に基づいて、該2つの骨格サブピクセル間に位置する該複数のサブピクセルの輝度レベルを平坦化する平坦化手段と
を備えた、画像情報生成装置。
An image information generation device that generates image information of characters or figures for output to a display device,
The display device includes a plurality of pixels, each of the plurality of pixels including a plurality of sub-pixels arranged in a predetermined first direction, and the plurality of sub-pixels include a plurality of different color elements. Is assigned,
The image information generation device includes:
Skeleton subpixel setting means for setting at least one subpixel corresponding to the skeleton portion of the character or figure as at least one skeleton subpixel;
Color element level setting means for setting a color element level for each of the skeleton subpixel and at least one subpixel adjacent to the skeleton subpixel along the predetermined first direction;
Determining means for determining whether there are two skeleton subpixels adjacent to each other along the predetermined first direction;
Calculating means for calculating a distance between the two skeleton subpixels when it is determined that there are two skeleton subpixels adjacent to each other along the predetermined first direction;
A flattening rate setting means for setting a flattening rate for flattening a luminance level corresponding to the color element level of a plurality of subpixels positioned between the two skeleton subpixels based on the calculated distance; ,
An image information generating apparatus comprising: flattening means for flattening a luminance level of the plurality of subpixels positioned between the two skeleton subpixels based on the set flattening rate.
前記表示装置における単一のピクセルに含まれる前記複数のサブピクセルには、それぞれ、R(赤)、G(緑)、B(青)が色要素として割り当てられている、請求項1に記載の画像情報生成装置。  The R (red), G (green), and B (blue) are respectively assigned as color elements to the plurality of subpixels included in a single pixel in the display device. Image information generation device. 前記平坦化率設定手段は、前記2つの骨格サブピクセル間に位置する注目ピクセルに含まれる複数のサブピクセルのそれぞれに対して前記平坦化率を設定する、請求項1に記載の画像情報生成装置。  The image information generating apparatus according to claim 1, wherein the flattening rate setting unit sets the flattening rate for each of a plurality of subpixels included in a pixel of interest located between the two skeleton subpixels. . 前記平坦化率設定手段は、前記2つの骨格サブピクセル間の距離が小さいほど前記平坦化率が大きくなるように該平坦化率を設定する、請求項1に記載の画像情報生成装置。  The image information generating apparatus according to claim 1, wherein the flattening rate setting unit sets the flattening rate so that the flattening rate increases as the distance between the two skeleton subpixels decreases. 前記所定の第1の方向に直交する所定の第2の方向に沿って連続する少なくとも2つの骨格サブピクセルが存在する場合には、前記平坦化率設定手段は、該所定の第2の方向に沿って連続する骨格サブピクセルの個数が増加するにつれて前記平坦化率が高くなるように該平坦化率を設定する、請求項1に記載の画像情報生成装置。  In the case where there are at least two skeleton subpixels continuous along a predetermined second direction orthogonal to the predetermined first direction, the flattening rate setting means is arranged to perform the predetermined second direction. The image information generating apparatus according to claim 1, wherein the flattening rate is set so that the flattening rate becomes higher as the number of continuous skeleton subpixels increases. 前記色要素レベル設定手段は、前記骨格サブピクセルに最大の色要素レベルを設定し、
前記所定の第2の方向に沿って前記骨格サブピクセルに隣接するサブピクセルであって、該骨格サブピクセルでないサブピクセルが存在する場合には、該色要素レベル設定手段は、該サブピクセルを骨格相当サブピクセルとして、該骨格相当サブピクセルに該最大の色要素レベルよりも小さい色要素レベルを設定し、
前記算出手段は、該骨格相当サブピクセルを骨格サブピクセルと同様に処理する、請求項1に記載の画像情報生成装置。
The color element level setting means sets a maximum color element level for the skeleton subpixel,
When there is a subpixel that is adjacent to the skeleton subpixel along the predetermined second direction and is not the skeleton subpixel, the color element level setting unit sets the subpixel to the skeleton. As the equivalent subpixel, a color element level smaller than the maximum color element level is set for the skeleton equivalent subpixel,
The image information generation apparatus according to claim 1, wherein the calculation unit processes the skeleton-equivalent subpixel in the same manner as the skeleton subpixel.
前記骨格部分を構成するストロークが斜め線である場合には、該斜め線に対して、すくなくとも1つの骨格サブピクセルと少なくとも1つの骨格相当サブピクセルとが特定され、
前記色要素レベル設定手段は、該骨格サブピクセルに最大の色要素レベルを設定し、
該色要素レベル設定手段は、該骨格相当サブピクセルに最大の色要素レベルよりも小さい色要素レベルを設定し、
前記算出手段は、該骨格相当サブピクセルを骨格サブピクセルと同様に処理する、請求項1に記載の画像情報生成装置。
When the stroke constituting the skeleton portion is an oblique line, at least one skeleton subpixel and at least one skeleton-equivalent subpixel are specified for the oblique line;
The color element level setting means sets a maximum color element level for the skeleton subpixel,
The color element level setting means sets a color element level smaller than the maximum color element level for the skeleton-equivalent subpixel,
The image information generation apparatus according to claim 1, wherein the calculation unit processes the skeleton-equivalent subpixel in the same manner as the skeleton subpixel.
表示装置に出力するための文字または図形の画像情報を生成する画像情報生成方法であって、
該表示装置は、複数のピクセルを含み、該複数のピクセルのそれぞれは、所定の第1の方向に配置された複数のサブピクセルを含み、該複数のサブピクセルには、互いに異なる複数の色要素が割り当てられており、
該画像情報生成方法は、
文字または図形の骨格部分に対応する少なくとも1つのサブピクセルを少なくとも1つの骨格サブピクセルとして設定するステップと、
該骨格サブピクセルおよび該所定の第1の方向に沿って該骨格サブピクセルに隣接する少なくとも1つのサブピクセルのそれぞれに色要素レベルを設定するステップと、
該所定の第1の方向に沿って互いに隣接する2つの骨格サブピクセルが存在するか否かを判定するステップと、
該所定の第1の方向に沿って互いに隣接する2つの骨格サブピクセルが存在すると判定された場合には、該2つの骨格サブピクセル間の距離を算出するステップと、
該算出された距離に基づいて、該2つの骨格サブピクセル間に位置する複数のサブピクセルの色要素レベルに対応する輝度レベルを平坦化するための平坦化率を設定するステップと、
該設定された平坦化率に基づいて、該2つの骨格サブピクセル間に位置する該複数のサブピクセルの輝度レベルを平坦化するステップと
を包含する、画像情報生成方法。
An image information generation method for generating image information of characters or figures for output to a display device,
The display device includes a plurality of pixels, each of the plurality of pixels including a plurality of sub-pixels arranged in a predetermined first direction, and the plurality of sub-pixels include a plurality of different color elements. Is assigned,
The image information generation method includes:
Setting at least one subpixel corresponding to the skeleton portion of the character or figure as at least one skeleton subpixel;
Setting a color element level for each of the skeleton subpixel and at least one subpixel adjacent to the skeleton subpixel along the predetermined first direction;
Determining whether there are two skeletal subpixels adjacent to each other along the predetermined first direction;
If it is determined that there are two skeleton subpixels adjacent to each other along the predetermined first direction, calculating a distance between the two skeleton subpixels;
Setting a flattening rate for flattening a luminance level corresponding to a color element level of a plurality of subpixels located between the two skeleton subpixels based on the calculated distance;
Flattening brightness levels of the plurality of sub-pixels positioned between the two skeleton sub-pixels based on the set flattening rate.
請求項8に記載の画像情報生成方法の各ステップをコンピュータに実行させるための画像情報生成プログラム。  An image information generation program for causing a computer to execute each step of the image information generation method according to claim 8. 請求項9に記載の画像情報生成プログラムが記録されたコンピュータ読み取り可能な記録媒体。  A computer-readable recording medium on which the image information generating program according to claim 9 is recorded.
JP2007533345A 2005-09-01 2006-08-31 Image information generating apparatus, image information generating method, image information generating program, and recording medium Expired - Fee Related JP4667464B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2005254128 2005-09-01
JP2005254128 2005-09-01
PCT/JP2006/317279 WO2007026850A1 (en) 2005-09-01 2006-08-31 Image information generator, image information generating method, image information generating program, and recording medium

Publications (2)

Publication Number Publication Date
JPWO2007026850A1 JPWO2007026850A1 (en) 2009-03-12
JP4667464B2 true JP4667464B2 (en) 2011-04-13

Family

ID=37808933

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007533345A Expired - Fee Related JP4667464B2 (en) 2005-09-01 2006-08-31 Image information generating apparatus, image information generating method, image information generating program, and recording medium

Country Status (2)

Country Link
JP (1) JP4667464B2 (en)
WO (1) WO2007026850A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5028064B2 (en) * 2006-10-16 2012-09-19 富士通株式会社 Outline font luminance value correction system and method, and program for executing outline font luminance value correction

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003241736A (en) * 2002-02-22 2003-08-29 Matsushita Electric Ind Co Ltd Method and apparatus for image processing and display device
JP2003241718A (en) * 2002-02-18 2003-08-29 Mitsubishi Electric Corp Display device
JP2003248476A (en) * 2002-02-25 2003-09-05 Sharp Corp Character display device and character display method, control program for controlling the character display method, and recording medium with the control program recorded thereon
JP2004226681A (en) * 2003-01-23 2004-08-12 Fujitsu Ltd Character display method and device
JP2005024987A (en) * 2003-07-03 2005-01-27 Sharp Corp Device, method, and program for character display, and readable recording medium
JP2006154414A (en) * 2004-11-30 2006-06-15 Matsushita Electric Ind Co Ltd Image processing apparatus and its method and image display device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003241718A (en) * 2002-02-18 2003-08-29 Mitsubishi Electric Corp Display device
JP2003241736A (en) * 2002-02-22 2003-08-29 Matsushita Electric Ind Co Ltd Method and apparatus for image processing and display device
JP2003248476A (en) * 2002-02-25 2003-09-05 Sharp Corp Character display device and character display method, control program for controlling the character display method, and recording medium with the control program recorded thereon
JP2004226681A (en) * 2003-01-23 2004-08-12 Fujitsu Ltd Character display method and device
JP2005024987A (en) * 2003-07-03 2005-01-27 Sharp Corp Device, method, and program for character display, and readable recording medium
JP2006154414A (en) * 2004-11-30 2006-06-15 Matsushita Electric Ind Co Ltd Image processing apparatus and its method and image display device

Also Published As

Publication number Publication date
WO2007026850A9 (en) 2007-05-10
WO2007026850A1 (en) 2007-03-08
JPWO2007026850A1 (en) 2009-03-12

Similar Documents

Publication Publication Date Title
US7425960B2 (en) Device dependent rendering
JP4117233B2 (en) Video expression method and apparatus
KR100432288B1 (en) Graphic display apparatus, character display apparatus, display method, and recording medium
US7006096B2 (en) Character display apparatus, character display method, and recording medium
JP2004538523A (en) Method and system for sub-pixel rendering with gamma adjustment and adaptive filtering
KR100441584B1 (en) Character display apparatus, character display method, character display program, and recording medium therefor
JP4407875B2 (en) CHARACTER DISPLAY DEVICE, CHARACTER DISPLAY METHOD, CONTROL PROGRAM FOR CONTROLLING THE CHARACTER DISPLAY METHOD, AND RECORDING MEDIUM CONTAINING THE CONTROL PROGRAM
JP3552094B2 (en) Character display device, character display method, and recording medium
JP4079268B2 (en) Character display device, character display method, character display program, and readable recording medium
KR100642694B1 (en) Display apparatus, information display method, information display program, readable recording medium, and information apparatus
JP4667464B2 (en) Image information generating apparatus, image information generating method, image information generating program, and recording medium
JP3855889B2 (en) Font processing device, terminal device, display device, font processing method, and font processing program
JPWO2005071659A1 (en) Display device, display control device, display method, display control program, and computer-readable recording medium recording the program
JP4930860B2 (en) Graphic drawing apparatus, antialiasing method and program
JP3827318B2 (en) Character / graphic display device, program, and recording medium
JP4831936B2 (en) Character display device
JP2007200023A (en) Image processor and image processing method
KR20020090310A (en) Display method and display apparatus

Legal Events

Date Code Title Description
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: 20110111

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

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

Free format text: PAYMENT UNTIL: 20140121

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