JP4726087B2 - Data processing apparatus, data processing method, electronic information device, control program, and readable recording medium - Google Patents

Data processing apparatus, data processing method, electronic information device, control program, and readable recording medium Download PDF

Info

Publication number
JP4726087B2
JP4726087B2 JP2007551972A JP2007551972A JP4726087B2 JP 4726087 B2 JP4726087 B2 JP 4726087B2 JP 2007551972 A JP2007551972 A JP 2007551972A JP 2007551972 A JP2007551972 A JP 2007551972A JP 4726087 B2 JP4726087 B2 JP 4726087B2
Authority
JP
Japan
Prior art keywords
character
value
characteristic value
target
graphic
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
JP2007551972A
Other languages
Japanese (ja)
Other versions
JPWO2007074792A1 (en
Inventor
章夫 小谷
宣美 朝井
安久 中村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2007551972A priority Critical patent/JP4726087B2/en
Publication of JPWO2007074792A1 publication Critical patent/JPWO2007074792A1/en
Application granted granted Critical
Publication of JP4726087B2 publication Critical patent/JP4726087B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves

Landscapes

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

Description

本発明は、文字(記号を含む)データまたは図形データの処理を制御するデータ処理装置、これを用いたデータ処理方法、このデータ処理装置を表示や印字などの出力部に用いた例えば携帯端末装置(PDA)および携帯電話装置などの携帯型情報通信機器の他、デジタルテレビジョンやパーソナルコンピュータなどの電子情報機器、この画像処理方法の各処理ステップをコンピュータに実行させるための制御プログラムおよびこれを記録したコンピュータ読み取り可能な可読記録媒体に関する。   The present invention relates to a data processing device that controls processing of character (including symbols) data or graphic data, a data processing method using the data processing device, and a portable terminal device using the data processing device for an output unit such as display or printing. (PDA) and portable information communication devices such as mobile phone devices, electronic information devices such as digital televisions and personal computers, control programs for causing a computer to execute each processing step of the image processing method, and recording the same The present invention relates to a computer-readable readable recording medium.

従来より、携帯端末装置(PDA)や携帯電話装置などの携帯型情報通信機器の普及にともなって、画面に表示される文字を読む機会が急増している。さらに、今後急速に普及すると見込まれるデジタルテレビジョンにおいても、電子番組表(EPG=Electric Program Guide)などの利用が多くなり、画面に表示される文字を読む機会が増えてきている。   Conventionally, with the widespread use of portable information communication devices such as portable terminal devices (PDAs) and cellular phone devices, opportunities to read characters displayed on the screen have increased rapidly. Furthermore, even in digital television, which is expected to spread rapidly in the future, the use of electronic program guides (EPG = Electric Program Guide) is increasing, and the opportunity to read characters displayed on the screen is increasing.

しかしながら、デジタルテレビジョンにおける表示画面の解像度は低く、例えば、ハイビジョン規格であるHDV1080i(商品名)においても、45inchの表示画面に対して、よく用いられている高さ20mmの文字または図形を映し出そうとすると、約30ドットになる。このため、複雑な漢字などでは、表示された文字が潰れたり、文字を構成するストロークの位置がばらついたりして、文字の表示品質が損なわれることがある。   However, the resolution of the display screen in digital television is low. For example, HDV1080i (product name), which is a high-definition standard, displays a commonly used character or figure with a height of 20 mm on a 45-inch display screen. If it does so, it becomes about 30 dots. For this reason, in complex Chinese characters, the displayed characters may be crushed or the positions of strokes constituting the characters may vary, resulting in a loss of character display quality.

字母毎の特性値のばらつきについては、例えば非特許文献1に記載されている。
佐藤敬之助,“文字のデザインシリーズ6.漢字下”,丸善株式会社,1976
Non-patent document 1 describes, for example, variations in characteristic values for each character.
Keinosuke Sato, “Character Design Series 6. Under Kanji”, Maruzen Co., 1976

本発明者らは、特許文献1として、特願2004−327109号において、文字の固有の特性を示す特性値を利用して、文字の品質が保たれるように表示画面上に表示させる技術を提案している。この技術では、文字の特性値が基準特性値に合うように、文字に含まれるストロークの位置を調整することによって、文字を構成するストロークのバランスが整った読みやすい文字を生成することが可能になっている。即ち、文字の形から特性値(例えば文字重心)を求め、予め取得した特性値に近づけるように文字の形を補正するものである。   In Japanese Patent Application No. 2004-327109 as a patent document 1, the present inventors use a characteristic value indicating a characteristic characteristic of a character to display it on a display screen so that the quality of the character is maintained. is suggesting. With this technology, by adjusting the position of the stroke included in the character so that the character characteristic value matches the reference characteristic value, it is possible to generate an easy-to-read character with a well-balanced stroke constituting the character. It has become. That is, a characteristic value (for example, a character center of gravity) is obtained from the character shape, and the character shape is corrected so as to approach the previously acquired characteristic value.

この特許文献1の技術は、基準文字の固有の特性を示す基準特性値または所定の基準値と対象文字の特性値とを比較して対象文字の特性度を判定するものであり、基準文字の固有の特性を示す基準特性値または所定の基準値は、一意的に求められるもので、予め決められたものであった。   The technique of Patent Document 1 is to determine a characteristic level of a target character by comparing a reference characteristic value indicating a characteristic specific to the reference character or a predetermined reference value with a characteristic value of the target character. The reference characteristic value indicating the unique characteristic or the predetermined reference value is uniquely determined and has been determined in advance.

例えば、10000ドット×10000ドットのビットマップエリアにビットマップデータを記載した高精度な字母を、30ドット×30ドットに縮小した場合、字母の特性値が量子化誤差によって変化し、字母の読みやすさが失われる。そこで、特許文献1の技術では、30ドット×30ドットに縮小した文字の特性値を計算して、字母の特性値との乖離値から、縮小された文字のストロークを調整する。これによって、特性値の乖離を少なくし、字母の持つ読みやすさを保持しようとするものであった。   For example, when a high-precision character in which bitmap data is described in a bitmap area of 10000 dots × 10000 dots is reduced to 30 dots × 30 dots, the characteristic value of the character changes due to the quantization error, and the character is easy to read. Is lost. Therefore, in the technique of Patent Document 1, the characteristic value of a character reduced to 30 dots × 30 dots is calculated, and the stroke of the reduced character is adjusted from the deviation value from the characteristic value of the character. As a result, the divergence of the characteristic values is reduced, and the readability of the characters is to be maintained.

しかしながら、この特許文献1の技術では、字母を変形させた文字データの特性値を字母の特性値に合わせることはできるが、字母毎の特性値のばらつきを調整することはできなかった。   However, with the technique of Patent Document 1, the characteristic value of the character data obtained by deforming the character can be matched with the characteristic value of the character, but the variation of the characteristic value for each character cannot be adjusted.

字母毎の特性値のばらつきについては、例えば非特許文献1に記載されているように、文字固有の形から特性値のばらつきが発生する。例えば、「上」という文字は、文字重心値が下の方にあり、「下」という文字は反対に文字重心値が上の方にある。これらの文字を文字列として並べると、文字毎の重心にばらつきが生じてしまい、文字列の並びが安定化しない。   As for the variation of the characteristic value for each character, for example, as described in Non-Patent Document 1, the variation of the characteristic value occurs from the shape unique to the character. For example, a character “upper” has a lower character centroid value, and a character “lower” has an upper character centroid value. If these characters are arranged as a character string, the center of gravity of each character varies, and the character string arrangement is not stabilized.

特に、EPG画面などにおいて、短い文字列が表示される場合には、文字毎の重心のばらつきが顕著に表われるため、このばらつきをいかにして調整するかということが課題となる。   In particular, when a short character string is displayed on an EPG screen or the like, the variation in the center of gravity for each character appears remarkably, so how to adjust this variation becomes a problem.

本発明は、上記従来の問題を解決するもので、字母毎の特性値のばらつきを調整して、より読みやすい文字や図形を生成することができるデータ処理装置、これを用いたデータ処理方法、このデータ処理装置を用いた電子情報機器、この画像処理方法の各処理ステップをコンピュータに実行させるための制御プログラムおよびこれを記録したコンピュータ読み取り可能な可読記録媒体を提供することを目的とする。   The present invention solves the above-described conventional problems, and adjusts the variation of the characteristic value for each character to generate more readable characters and figures, a data processing method using the same, It is an object of the present invention to provide an electronic information device using the data processing apparatus, a control program for causing a computer to execute each processing step of the image processing method, and a computer-readable readable recording medium recording the control program.

本発明のデータ処理装置は、対象となる対象文字または図形列を構成する文字または図形の形態に基づいて、文字または図形の特性値として該対象文字または図形の固有の特性を示す対象特性値を算出する第1算出手段と、一または複数の対象特性値から一つの基準特性値を算出する第2算出手段と、該対象特性値と該基準特性値を比較する比較手段と、 該比較手段による比較結果に応じて該対象文字または図形列を構成する文字または図形をそれぞれ制御する制御手段とを有するものであり、そのことにより上記目的が達成される。 また、本発明のデータ処理装置は、対象となる対象文字または図形列を構成する文字または図形の形態に基づいて、文字または図形の特性値として該対象文字または図形の固有の特性を示す対象特性値を算出する第1算出手段と、取得した基準特性値と該対象特性値を比較する比較手段と、該比較手段による比較結果に応じて該対象文字または図形列を構成する文字または図形をそれぞれ制御する制御手段とを有するものであり、そのことにより上記目的が達成される。この場合、前記基準特性値は、予め取得されて記憶部に保持されていてもよく、前記対象特性値の一または複数から一つの前記基準特性値を算出する第2算出手段をさらに有していてもよい。   The data processing apparatus according to the present invention provides a target characteristic value indicating a characteristic characteristic of the target character or graphic as a characteristic value of the character or graphic based on the form of the character or graphic constituting the target target character or graphic string. A first calculating means for calculating; a second calculating means for calculating one reference characteristic value from one or a plurality of target characteristic values; a comparing means for comparing the target characteristic value with the reference characteristic value; And a control means for controlling the character or graphic constituting the target character or graphic string according to the comparison result, thereby achieving the above object. In addition, the data processing apparatus of the present invention provides a target characteristic indicating a characteristic characteristic of the target character or figure as a characteristic value of the character or figure based on the form of the character or figure constituting the target target character or figure string. A first calculating means for calculating a value, a comparing means for comparing the acquired reference characteristic value with the target characteristic value, and a character or a figure constituting the target character or figure string according to a comparison result by the comparing means, respectively Control means for controlling, thereby achieving the above object. In this case, the reference characteristic value may be acquired in advance and held in the storage unit, and further includes a second calculation unit that calculates one reference characteristic value from one or a plurality of the target characteristic values. May be.

また、好ましくは、本発明のデータ処理装置における第1算出手段は、前記対象文字または図形列を構成する文字または図形の形態を含む領域上の座標点の累和、累積または相関関数に基づいて前記対象特性値を算出する。   Preferably, the first calculation means in the data processing device of the present invention is based on a summation, accumulation or correlation function of coordinate points on an area including the character or figure form constituting the target character or figure string. The target characteristic value is calculated.

さらに、好ましくは、本発明のデータ処理装置における対象特性値は、一つの文字または図形において、単一の数値または一点の座標値として処理されている。   Further, preferably, the target characteristic value in the data processing device of the present invention is processed as a single numerical value or a single coordinate value in one character or figure.

さらに、好ましくは、本発明のデータ処理装置における対象特性値は、前記文字または図形の形態を含んで構成されている所定の範囲内にある複数の各画素の値と、該各画素の位置に対応する複数の座標とに基づいて算出される文字または図形の特性値である。   Further preferably, the target characteristic value in the data processing apparatus of the present invention is the value of each of a plurality of pixels within a predetermined range configured to include the form of the character or graphic, and the position of each pixel. Character or figure characteristic values calculated based on a plurality of corresponding coordinates.

さらに、好ましくは、本発明のデータ処理装置における各画素の値を点値とし、一つの画素の座標の各軸での位置と当該画素の点値との積を点モーメントとして、各軸に対する所定の範囲内の画素の点モーメントの総和を、当該所定の範囲内の画素の点値の総和で除した値を各軸の位置として求めた値で構成される座標をもって前記文字または図形の特性値とする。   Further preferably, the value of each pixel in the data processing apparatus of the present invention is a point value, and the product of the position of each pixel coordinate on each axis and the point value of the pixel is a point moment, and a predetermined value for each axis Characteristic value of the character or figure having coordinates composed of values obtained by dividing the sum of the point moments of the pixels within the range by the sum of the point values of the pixels within the predetermined range as the position of each axis And

さらに、好ましくは、本発明のデータ処理装置における各画素の値として、前記画素以外の他の一つの画素との距離および両画素の値を用いて算出される新たな画素の値である2点間値を用いることによって前記文字または図形の特性値を算出する。   Further preferably, two points which are values of new pixels calculated using the distance from one pixel other than the pixel and the values of both pixels as the value of each pixel in the data processing device of the present invention. The characteristic value of the character or figure is calculated by using the interval value.

さらに、好ましくは、本発明のデータ処理装置における2点間値を、前記画素の値と前記他の一つの画素の値との積を両画素間の距離の所定の累乗値で除することにより求め、当該画素以外の所定の範囲内にある画素との2点間値の累和を、当該画素の新たな値として処理する。   Further preferably, the value between two points in the data processing apparatus of the present invention is obtained by dividing the product of the value of the pixel and the value of the other one pixel by a predetermined power value of the distance between the two pixels. The sum of two-point values with a pixel within a predetermined range other than the pixel is obtained and processed as a new value for the pixel.

さらに、好ましくは、本発明のデータ処理装置における各画素の値は、重みを考慮した値である。   Further preferably, the value of each pixel in the data processing apparatus of the present invention is a value in consideration of the weight.

さらに、好ましくは、本発明のデータ処理装置において、前記対象文字または図形列を構成する文字または図形の形態は、文字または図形のストロークまたは文字または図形の輪郭を形成する線の先端部および点の近傍に定めた近傍点の2点を結んだ線を少なくとも一つの線上に有し、文字または図形の形状部分を過半数含んだ閉曲線で囲まれる領域の内側である。   Further preferably, in the data processing device according to the present invention, the character or graphic form constituting the target character or graphic string is a stroke of a character or graphic or a tip of a line or a point forming a contour of the character or graphic. It is on the inside of a region surrounded by a closed curve that has a line connecting at least two neighboring points defined in the vicinity on at least one line and includes a majority of the character or figure shape portion.

さらに、好ましくは、本発明のデータ処理装置における近傍点は、前記文字または図形のストロークまたは前記文字または図形の輪郭を形成する線の先端部および点で形成される文字または図形の形状上の点である。   Further preferably, the neighboring point in the data processing device of the present invention is a point on the shape of the character or figure formed by the tip of the stroke or the line forming the outline of the character or figure and the point. It is.

さらに、好ましくは、本発明のデータ処理装置における閉曲線は、文字または図形の輪郭を形成する線を少なくとも一つ有する。   Further preferably, the closed curve in the data processing apparatus of the present invention has at least one line forming the outline of a character or a figure.

さらに、好ましくは、本発明のデータ処理装置における第2算出手段は、前記第1算出手段により算出された一または複数の対象特性値の基礎統計量に基づいて、前記基準特性値を算出する。   Further preferably, the second calculation means in the data processing device of the present invention calculates the reference characteristic value based on a basic statistic of one or more target characteristic values calculated by the first calculation means.

さらに、好ましくは、本発明のデータ処理装置における第2算出手段は、前記基礎統計量として、前記一または複数の対象特性値の平均値、中央値、最頻値、最大値および最小値のいずれかの値、またはそれらの値の近傍値を算出する。また、好ましくは、本発明のデータ処理装置における第2算出手段は、前記基準特性値として、前記一または複数の対象特性値の平均値、中央値、最頻値、最大値および最小値のいずれかの値、またはそれらの値の近傍値を算出する。   Further preferably, the second calculation means in the data processing device of the present invention is any one of an average value, median value, mode value, maximum value, and minimum value of the one or more target characteristic values as the basic statistic. Or a value near these values is calculated. Preferably, the second calculation means in the data processing apparatus of the present invention is any one of an average value, a median value, a mode value, a maximum value, and a minimum value of the one or more target characteristic values as the reference characteristic value. Or a value near these values is calculated.

さらに、好ましくは、本発明のデータ処理装置において、前記対象文字または図形列を構成する文字または図形数m(mは2以上の自然数)を読み取る文字または図形数読取手段と、カウンタ変数nを「0」に初期化するカウンタ変数初期化手段と、文字または図形形状を示す文字または図形データを読み取る文字または図形データ読取手段と、読み取られた文字または図形データに基づいてビットマップ上に文字または図形データを生成する文字または図形データ生成手段と、該ビットマップ上に生成された文字または図形データをシルエット化するシルエット化手段とを有し、前記第1算出手段は、シルエット化されたデータに対して前記対象特性値を算出する。   Further preferably, in the data processing apparatus of the present invention, the character or figure number reading means for reading the number m of characters or figures (m is a natural number of 2 or more) constituting the target character or figure string, and the counter variable n is set to “ Counter variable initialization means for initializing to "0", character or figure data reading means for reading the character or figure data indicating the character or figure shape, and the character or figure on the bitmap based on the read character or figure data Character or graphic data generating means for generating data, and silhouette generating means for silhouetteizing the character or graphic data generated on the bitmap, the first calculating means for the silhouetted data To calculate the target characteristic value.

さらに、好ましくは、本発明のデータ処理装置におけるシルエット化手段は、前記文字または図形の形態を閉曲線の内部に設定してシルエット化する。   Further preferably, the silhouette generating means in the data processing apparatus of the present invention sets the form of the character or figure inside a closed curve to make a silhouette.

さらに、好ましくは、本発明のデータ処理装置における第1算出手段は、前記シルエット化されたデータに対して計算式(後述する数2;式1〜式3)によって文字または図形の特性としての文字または図形の重心値を算出するための重心計算処理を行う重心計算処理手段を有する。   Further preferably, the first calculation means in the data processing apparatus of the present invention is characterized in that the character as the characteristic of the character or figure is calculated by the calculation formula (Equation 2 to be described later; Formula 1 to Formula 3) for the silhouetted data. Alternatively, it has a centroid calculation processing means for performing a centroid calculation process for calculating the centroid value of the figure.

さらに、好ましくは、本発明のデータ処理装置における前記文字または図形の対象特性値として文字または図形の重心値を記憶部に保存させる文字または図形重心値保存手段と、 前記カウンタ変数nをインクリメントして新たなカウンタ変数nとし、当該カウンタ変数nが前記文字または図形数mと等しくなるまで、前記文字または図形データ読取手段、前記文字または図形データ生成手段、前記シルエット化手段、前記第1算出手段および該文字または図形重心値保存手段の各処理をこの順に繰り返すように制御する繰り返し制御手段とを有する。   Further preferably, in the data processing device of the present invention, the character or figure centroid value storage means for storing the centroid value of the character or figure in the storage unit as the target characteristic value of the character or figure, and the counter variable n is incremented. A new counter variable n, until the counter variable n is equal to the number m of characters or figures, the character or figure data reading means, the character or figure data generating means, the silhouette means, the first calculating means, Repetition control means for controlling each processing of the character or figure centroid value storage means to repeat in this order.

さらに、好ましくは、本発明のデータ処理装置における第2算出手段は、前記カウンタ変数nが前記文字または図形数mと等しい場合に、前記文字または図形の対象特性値から前記基準特性値を算出する。また、好ましくは、本発明のデータ処理装置において、前記対象特性値の一または複数から一つの前記基準特性値を算出する第2算出手段をさらに有し、該第2算出手段は、前記カウンタ変数nが前記文字または図形数mと等しい場合に、前記文字または図形の対象特性値から前記基準特性値を算出する。   Further preferably, the second calculation means in the data processing apparatus of the present invention calculates the reference characteristic value from the target characteristic value of the character or graphic when the counter variable n is equal to the number m of the character or graphic. . Preferably, in the data processing device of the present invention, the data processing device further includes second calculation means for calculating one reference characteristic value from one or a plurality of the target characteristic values, wherein the second calculation means includes the counter variable When n is equal to the number m of characters or figures, the reference characteristic value is calculated from the target characteristic values of the characters or figures.

さらに、好ましくは、本発明のデータ処理装置における第2算出手段は、前記基準特性値として、前記文字または図形重心値保存手段により記憶部に保存されている対象特性値の平均値を算出する。また、好ましくは、本発明のデータ処理装置において、前記対象特性値の一または複数から一つの前記基準特性値を算出する第2算出手段をさらに有し、該第2算出手段は、前記基準特性値として、前記文字または図形重心値保存手段により記憶部に保存されている対象特性値の平均値、中央値、最頻値、最大値および最小値のいずれかの値、またはそれらの値の近傍値を算出する。   Further preferably, the second calculation means in the data processing apparatus of the present invention calculates an average value of the target characteristic values stored in the storage unit by the character or figure centroid value storage means as the reference characteristic value. Preferably, in the data processing device according to the present invention, the data processing device further includes second calculation means for calculating one reference characteristic value from one or a plurality of the target characteristic values, wherein the second calculation means includes the reference characteristic value. As the value, an average value, median value, mode value, maximum value and minimum value of the target characteristic values stored in the storage unit by the character or figure centroid value storage means, or the vicinity of those values Calculate the value.

さらに、好ましくは、本発明のデータ処理装置における比較手段は、前記基準特性値と前記対象特性値との差分を算出する。   Further preferably, the comparison means in the data processing apparatus of the present invention calculates a difference between the reference characteristic value and the target characteristic value.

さらに、好ましくは、本発明のデータ処理装置における比較手段は、前記基準特性値と前記対象特性値との差分に対して特定比率を乗算する。   Further preferably, the comparison means in the data processing device of the present invention multiplies a difference between the reference characteristic value and the target characteristic value by a specific ratio.

さらに、好ましくは、本発明のデータ処理装置における制御手段は、前記比較手段によって算出された差分に応じて、前記対象文字または図形列を構成する各文字または図形をそれぞれ変形または移動させる。   Further preferably, the control means in the data processing device of the present invention respectively deforms or moves each character or figure constituting the target character or figure string in accordance with the difference calculated by the comparison means.

さらに、好ましくは、本発明のデータ処理装置における制御手段は、前記文字または図形の重心値が基準特性値と同じになるまで、各文字または図形をそれぞれ変形または移動するように制御する。   Further preferably, the control means in the data processing apparatus of the present invention controls each character or figure to be deformed or moved until the centroid value of the character or figure becomes equal to the reference characteristic value.

本発明の電子情報機器は、本発明の上記データ処理装置を表示または印字用の出力部に用いたものであり、そのことにより上記目的が達成される。   An electronic information device according to the present invention uses the data processing device according to the present invention as an output unit for display or printing, thereby achieving the above object.

本発明のデータ処理方法は、対象となる対象文字または図形列を構成する文字または図形の形態に基づいて、文字または図形の特性値として該対象文字または図形の固有の特性を示す対象特性値を算出する第1算出ステップと、一または複数の対象特性値から一つの基準特性値を算出する第2算出ステップと、該対象特性値と該基準特性値を比較する比較ステップと、該比較手段による比較結果に応じて該対象文字または図形列を構成する文字または図形をそれぞれ制御する制御ステップとを有するものであり、そのことにより上記目的が達成される。また、本発明のデータ処理方法は、対象となる対象文字または図形列を構成する文字または図形の形態に基づいて、文字または図形の特性値として該対象文字または図形の固有の特性を示す対象特性値を算出する第1算出ステップと、取得した基準特性値と該対象特性値を比較する比較ステップと、該比較手段による比較結果に応じて該対象文字または図形列を構成する文字または図形をそれぞれ制御する制御ステップとを有するものであり、そのことにより上記目的が達成される。この場合、前記基準特性値は、予め取得されて記憶部に保持されていてもよく、または、前記対象特性値の一または複数から一つの前記基準特性値を算出する第2算出ステップをさらに有していてもよい。   According to the data processing method of the present invention, an object characteristic value indicating a characteristic characteristic of the target character or figure is obtained as a characteristic value of the character or figure based on the form of the character or figure constituting the target character or figure string. A first calculating step for calculating; a second calculating step for calculating one reference characteristic value from one or a plurality of target characteristic values; a comparing step for comparing the target characteristic value with the reference characteristic value; And a control step for controlling the character or graphic constituting the target character or graphic string according to the comparison result, thereby achieving the above object. Further, the data processing method of the present invention is based on the target character or figure characteristic value indicating the characteristic characteristic of the target character or figure based on the character or figure form constituting the target character or figure string. A first calculation step for calculating a value, a comparison step for comparing the acquired reference characteristic value with the target characteristic value, and a character or a figure constituting the target character or graphic string according to the comparison result by the comparison unit, respectively And the above-mentioned object is achieved. In this case, the reference characteristic value may be acquired in advance and stored in the storage unit, or may further include a second calculation step of calculating one reference characteristic value from one or more of the target characteristic values. You may do it.

また、好ましくは、本発明のデータ処理方法において、前記対象文字または図形列を構成する文字または図形数m(mは2以上の自然数)を読み取る文字または図形数読取ステップと、カウンタ変数nを「0」に初期化するカウンタ変数初期化ステップと、
文字または図形形状を示す文字または図形データを読み取る文字または図形データ読取ステップと、読み取られた文字または図形データに基づいてビットマップ上に文字または図形データを生成する文字または図形データ生成ステップと、該ビットマップ上に生成された文字または図形データをシルエット化するシルエット化ステップとを有し、前記第1算出ステップは、シルエット化されたデータに対して前記対象特性値を算出する。
Preferably, in the data processing method of the present invention, a character or figure number reading step for reading a character or figure number m (m is a natural number of 2 or more) constituting the target character or figure string; A counter variable initialization step to initialize to "0";
A character or graphic data reading step for reading character or graphic data indicating a character or graphic shape; a character or graphic data generating step for generating character or graphic data on a bitmap based on the read character or graphic data; And a first step of calculating a target characteristic value for the silhouetted data.

さらに、好ましくは、本発明のデータ処理方法において、前記文字または図形の対象特性値として文字または図形の重心値を記憶部に保存させる文字または図形重心値保存ステップと、前記カウンタ変数nをインクリメントして新たなカウンタ変数nとし、当該カウンタ変数nが前記文字または図形数mと等しくなるまで、前記文字または図形データ読取ステップ、前記文字または図形データ生成ステップ、前記シルエット化ステップ、前記第1算出ステップおよび該文字または図形重心値保存ステップの各処理をこの順に繰り返すように制御する繰り返し制御ステップとを有する。   Further preferably, in the data processing method of the present invention, a character or figure centroid value storing step for storing a character or figure centroid value as a target characteristic value of the character or figure in a storage unit; and the counter variable n is incremented. A new counter variable n, and until the counter variable n becomes equal to the number m of characters or figures, the character or figure data reading step, the character or figure data generation step, the silhouette step, and the first calculation step And a repetition control step for controlling each processing of the character or figure centroid value storing step to be repeated in this order.

さらに、好ましくは、本発明のデータ処理方法における第2算出ステップは、前記カウンタ変数nが前記文字または図形数mと等しい場合に、前記基準特性値として、前記文字または図形重心値保存手段により記憶部に保存されている対象特性値の平均値、中央値、最頻値、最大値および最小値のいずれかの値、またはそれらの値の近傍値を算出し、前記比較ステップは、該基準特性値と前記対象特性値との差分に対して特定比率を乗算し、前記制御ステップは、前記文字または図形の重心値が基準特性値と同じになるまで、該特定比率を乗算した値に応じて各文字または図形をそれぞれ変形または移動するように制御する。   Further preferably, in the data processing method of the present invention, the second calculation step stores, as the reference characteristic value, the character or figure centroid value storage means when the counter variable n is equal to the number m of the characters or figures. Calculating an average value, median value, mode value, maximum value and minimum value of the target characteristic values stored in the section, or a neighboring value of those values, and the comparison step includes the reference characteristic The difference between the value and the target characteristic value is multiplied by a specific ratio, and the control step depends on the value multiplied by the specific ratio until the centroid value of the character or figure becomes the same as the reference characteristic value. Each character or figure is controlled to be deformed or moved.

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

本発明の可読記録媒体は、本発明の上記制御プログラムが記録されたコンピュータ読み取り可能なものであり、そのことにより上記目的が達成される。   The readable recording medium of the present invention is a computer-readable recording medium on which the control program of the present invention is recorded, whereby the above object is achieved.

上記構成により、以下に、本発明の作用について説明する。   The operation of the present invention will be described below with the above configuration.

本発明にあっては、文字または図形列を構成する文字または図形の形態に基づいて、主観的文字の重心や中心のように人によってばらつかず、誰が算出しても固有の特性値を、文字または図形の対象特性値として算出する。この対象特性値としては、例えば、文字または図形の形態を含む領域上の座標点の累和、累積、相関関数に基づいて、文字または図形の重心を算出することが可能となる。   In the present invention, based on the form of the character or figure constituting the character or figure string, it does not vary by the person, such as the center of gravity or center of the subjective character, and the characteristic value that is unique for anyone to calculate, Calculated as the target characteristic value of a character or figure. As the target characteristic value, for example, the center of gravity of the character or figure can be calculated based on the accumulation, accumulation, and correlation function of the coordinate points on the area including the form of the character or figure.

字母毎の特性値のばらつきを調整するために、一つ以上の対象特性値から一つの基準特性値として算出する。この基準特性値としては、例えば、一つ以上の文字または図形の対象特性値の平均値、中央値、最頻値、最大値、最小値などの基礎統計量を用いることができる。   In order to adjust the variation of the characteristic value for each character, it is calculated as one reference characteristic value from one or more target characteristic values. As the reference characteristic value, for example, a basic statistic such as an average value, median value, mode value, maximum value, minimum value, etc. of target characteristic values of one or more characters or figures can be used.

算出された基準特性値と対象特性値を比較して、比較結果に応じて対象文字または図形を制御することによって、字母毎の特性値のばらつきを調整して、より読みやすい文字または図形列を生成することが可能となる。   By comparing the calculated reference characteristic value with the target characteristic value and controlling the target character or figure according to the comparison result, the characteristic value variation for each character is adjusted to make the character or figure string easier to read. Can be generated.

以上により、本発明によれば、文字または図形の形態に基づいて、人によりばらつかない固有の特性値を算出することができる。また、求められた一つ以上の特性値を用いて、字母毎にばらつかない基準特性値を求めることができる。その基準特性値に各文字または図形の特性値を合わせることによって、字母毎の特性値のばらつきを調整して、より読みやすい文字または図形列を生成することができる。   As described above, according to the present invention, it is possible to calculate a unique characteristic value that does not vary from person to person based on the form of characters or figures. In addition, a reference characteristic value that does not vary for each character can be obtained by using one or more obtained characteristic values. By matching the characteristic value of each character or graphic with the reference characteristic value, it is possible to adjust the variation of the characteristic value for each character and generate a character or graphic string that is easier to read.

本発明の実施形態に係る文字列データ生成装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the character string data generation apparatus which concerns on embodiment of this invention. 図1の文字データの表示例を示す図である。It is a figure which shows the example of a display of the character data of FIG. 図1の文字データの表示例を示す図である。FIG. 2 is a diagram illustrating a display example of character data in FIG. 図1の文字データの表示例を示す図である。It is a figure which shows the example of a display of the character data of FIG. 図2Aの文字データの一例を示す図である。It is a figure which shows an example of the character data of FIG. 2A. 図2Bの文字データの一例を示す図である。It is a figure which shows an example of the character data of FIG. 2B. 図2Cの文字データの一例を示す図である。It is a figure which shows an example of the character data of FIG. 2C. 図1の文字列データ生成プログラムの処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the character string data generation program of FIG. 図4のフローチャートで生成される文字列を表示手段に表示させた表示例を示す図である。It is a figure which shows the example of a display which displayed on the display means the character string produced | generated by the flowchart of FIG. 図4のシルエット化ステップの具体的処理手順を示すフローチャートである。It is a flowchart which shows the specific process sequence of the silhouette step of FIG. 図4のシルエット化ステップを説明のための一例を示す図である。It is a figure which shows an example for description about the silhouette formation step of FIG. 図4のシルエット化ステップの処理結果を説明のための一例を示す図である。It is a figure which shows an example for demonstrating the process result of the silhouette step of FIG. 図4の文字重心算出ステップで用いる算出式の一例を示す図である。It is a figure which shows an example of the calculation formula used at the character gravity center calculation step of FIG. 図4の文字重心算出ステップの計算結果の一例を示す図である。It is a figure which shows an example of the calculation result of the character gravity center calculation step of FIG. 図4の文字重心算出ステップで求められた計算結果を表示手段に表示させた一表示例を示す図であって、(a)は移動前の図、(b)は移動後の図である。It is a figure which shows the example of a display which displayed the calculation result calculated | required at the character gravity center calculation step of FIG. 4 on the display means, Comprising: (a) is a figure before a movement, (b) is a figure after a movement. 文字の形状における定義を説明するための図である。It is a figure for demonstrating the definition in the shape of a character. 図12で記載された部分の説明表である。It is explanatory drawing of the part described in FIG. 文字を構成する各部の点に値と重みを与えた例を説明するための図である。It is a figure for demonstrating the example which gave the value and the weight to the point of each part which comprises a character. 図4のフローチャートに図形列データを投入して求められた計算結果を表示手段に表示させた一表示例を示す図である。It is a figure which shows one example of a display which displayed on the display means the calculation result calculated | required by throwing figure sequence data into the flowchart of FIG.

符号の説明Explanation of symbols

10 表示手段
20 制御手段
21 CPU
211 文字数読取手段
212 カウンタ変数初期化手段
213 文字データ読取手段
214 文字データ生成手段
215 シルエット化手段
216 対象特性値算出手段(第1算出手段)
216a 重心計算処理手段
217 文字重心値保存手段
218 繰り返し制御手段
219 基準特性値算出手段(第2算出手段)
220 比較手段
221 変形制御手段(制御手段)
22 メインメモリ
30 入力手段
40 補助メモリ
41 プログラム
42 データ
42a 文字データ
100 文字データ生成装置
10 display means 20 control means 21 CPU
211 Character number reading means 212 Counter variable initialization means 213 Character data reading means 214 Character data generating means 215 Silhouette making means 216 Target characteristic value calculating means (first calculating means)
216a Center of gravity calculation processing means 217 Character center of gravity value storage means 218 Repetition control means 219 Reference characteristic value calculation means (second calculation means)
220 comparison means 221 deformation control means (control means)
22 Main memory 30 Input means 40 Auxiliary memory 41 Program 42 Data 42a Character data 100 Character data generator

以下に、本発明のデータ処理装置およびこれを用いたデータ処理方法の実施形態について、図面を参照しながら詳細に説明する。   Hereinafter, embodiments of a data processing device and a data processing method using the same according to the present invention will be described in detail with reference to the drawings.

本発明は、文字は、文字・記号・文字における部首、または部首のごとく記号を構成する区分けされた部分で構成された文字・記号、またはマークとして識別される絵記号など含む。また、図形は、記号や模様を含む。以下では、本発明を文字について説明するが、図形についても同様である。よって、本明細書では、説明が煩雑になるため文字に置き換えて説明する。
(本発明の基本思想)
本発明にあっては、文字を、その背景を含めた形態として条件付けることによって、背景も考慮に入れた文字の固有の特性を示す特性値を算出することが可能となり、一つの文字に対して一つ、または、所定の部首に対して一つの特性値を算出することができる。これにより、文字を少なくとも一つの特性値により、周辺の環境も含んで特徴付けることが可能となる。これは、文字の定量的特性値の表現は、新たな概念であり、新たな技術の開示である。
In the present invention, a character includes a character / symbol / character, a character / symbol / character, or a pictorial symbol identified as a mark. The graphic includes symbols and patterns. In the following, the present invention will be described with respect to characters, but the same applies to graphics. Therefore, in this specification, the description will be complicated and replaced with characters.
(Basic idea of the present invention)
In the present invention, it is possible to calculate a characteristic value indicating a characteristic unique to a character that takes the background into account by conditioning the character as a form including the background. One characteristic value can be calculated for one or a predetermined radical. Thus, it is possible to characterize the character including the surrounding environment by at least one characteristic value. The expression of the quantitative characteristic value of a character is a new concept and a new technology disclosure.

この特性値を表すものとして、重心が考えられる。重心は、最終的には重心の座標で表されるが、これを同じ算出方法で処理可能な文字の平均質量、平均ポテンシャル、総質量および総ポテンシャルなどによって取り扱うことも可能である。   The center of gravity can be considered as the characteristic value. The center of gravity is finally represented by the coordinates of the center of gravity, but this can be handled by the average mass, average potential, total mass, total potential, etc. of characters that can be processed by the same calculation method.

以下に、重心の概念について説明する。従来、文字を取り扱う世界では、「文字の重心や中心」という言葉が用いられている。文字の表現としては同じであるが、求め方も用いられる観点も大きく異なっており、混同しないため、以下に補足する。   The concept of the center of gravity will be described below. Conventionally, in the world where characters are handled, the words “center of gravity and center of characters” are used. Although it is the same as the expression of the character, the way of finding it and the point of view used are also very different and not confused.

文字を取り扱う場合に、観念的に、文字の評価として「文字の重心・重心線」、または「文字の中心・中心線」という表現を用いることがある。しかしながら、これらは、ほとんどの場合には、一定背景による一定色での形状として取り扱われる文字の形態や文字の太さなど、文字構成を観察した場合に文字のバランスの中心を主観的な見地において定めるものである。したがって、従来の「文字の重心や中心」は、書体、形状の色や背景の色、文様、上下左右に隣接する文字の並びによっても影響を受け、あくまで人の主観で定められた主観的な重心であって、人によってばらつきがあり、定量的に定めることができない。   When handling characters, the expression “character centroid / center line” or “character center / center line” may be used as an evaluation of the character. However, in most cases, these are the subjective balances of the character balance when observing the character composition, such as character shape and character thickness, which are treated as shapes in a certain color with a certain background. It is determined. Therefore, the conventional “center of gravity and center of the character” is also influenced by the font, shape color, background color, pattern, and the arrangement of characters adjacent to the top, bottom, left, and right. The center of gravity, which varies from person to person, cannot be determined quantitatively.

これに対して、本願における文字の特性値としての重心は、上記「主観的な文字の重心や中心」のように人によりばらつかず、誰が算出しても固有の値が求められる、文字の形態に準じた値であり、文字の見易さや品位を示す特性値として、機器で処理可能なパラメータとして定量化されたものである。   On the other hand, the center of gravity as the characteristic value of the character in the present application does not vary depending on the person as in the above "subjective center of gravity and center of the character", and a unique value is obtained regardless of who calculates it. It is a value according to the form, and is quantified as a parameter that can be processed by the device, as a characteristic value indicating the legibility and quality of characters.

さらに、この特性値の求め方は、特許文献1にも記載しているように、従来の先行技術とは全く異なった技術であり、全ての文字を少なくとも一つの固有値や座標で表現可能な新しい概念である。視点を変えれば、特性値が集約可能な象限に、文字の形態的特性を象限変換(関数変換)し、各文字の投影結果を基準として、各文字を制御する手法である。即ち、重心は、文字の形態を示す座標点における各値の累和、累積または相関関数により算出され、形態に固有の特性を表す特性値と言うことができる。   Furthermore, as described in Patent Document 1, this characteristic value is obtained by a technique that is completely different from the conventional prior art, and is a new technique that can express all characters with at least one eigenvalue or coordinate. It is a concept. If the viewpoint is changed, this is a method in which the morphological characteristics of characters are converted into quadrants (function conversion) into quadrants in which characteristic values can be aggregated, and each character is controlled based on the projection result of each character. That is, the center of gravity is calculated by the accumulation, accumulation, or correlation function of the values at the coordinate points indicating the character form, and can be said to be a characteristic value that represents a characteristic unique to the form.

また、文字は、一つの文字で成立するというよりも、多くの弁別符号として一定の符号の集まりとして機能しており、構造上も共通の部分を有している。一般的文字、記号や絵記号についても同様である。特に、一般の文字の場合には、部首の選択として同じものを定めて共通に利用するという考え方によって、文字の記憶量を削減する手法がある。このような場合には、一つの文字を一つの特性値で現さず、定めた部首に対して特性値を求めることによって、一つの文字は、定められた部首の数だけ特性値を持つことができる。ここでは、部首で事例を示したが、記号や絵記号の部分を同じ考え方で表現し、複数の特性値で一つの記号や絵記号を現すことも同じ概念である。   In addition, a character functions as a collection of constant codes as many discrimination codes rather than being formed by a single character, and has a common part in structure. The same applies to general characters, symbols and pictograms. In particular, in the case of general characters, there is a method of reducing the storage amount of characters by the idea of defining the same radical selection and using it in common. In such a case, one character does not appear with one characteristic value, but the characteristic value is obtained for the determined radical, so that one character has the characteristic value for the determined number of radicals. be able to. Here, an example is shown at the radical, but it is also the same concept that a symbol or pictogram part is expressed in the same way and a single symbol or pictogram is expressed by a plurality of characteristic values.

特性値を、後で詳細に説明する文字の重心として考えると、文字が記述された枠内における重心の見方、縦・横に並んだ文字間での影響を考慮した重心、背景の色や紋様の影響を考慮した重心、文字の形状の輪郭内の色や文様の影響など、文字とその周辺環境に応じて、基準となる文字の形態をどのようにするかを決めて、使い分けることができる。事例的な運用を考えれば、背景は白、形状は黒として、文字の枠について特性値を算出したり、一定の手法で定められた閉曲線であるシルエットの中を黒としたり、形状を黒、形状外のシルエットをグレー、シルエット以外の背景を白として値と重みを変化させて重心を算出したりすることもできる。文字の形態の定め方や特性値の算出方法の定め方によっては、文字の主観的重心に近い定量的重心を求めることもできる。結果的には、所定の条件下、範囲を設定して、文字の形態として、その特性値を持って文字を取り扱うことになる。   Considering the characteristic value as the center of gravity of the character, which will be described in detail later, how to see the center of gravity within the frame in which the character is described, the center of gravity considering the effect between characters arranged vertically and horizontally, the background color and pattern Depending on the character and its surrounding environment, such as the center of gravity taking into account the influence of the character, the color in the outline of the character shape and the influence of the pattern, you can decide how to use the standard character form and use it properly . Considering an example operation, the background is white, the shape is black, the characteristic value is calculated for the character frame, the silhouette of the closed curve defined by a certain method is black, the shape is black, It is also possible to calculate the center of gravity by changing the value and weight with gray as the silhouette outside the shape and white as the background other than the silhouette. Depending on how the character form is determined and how the characteristic value calculation method is determined, a quantitative centroid close to the subjective centroid of the character can be obtained. As a result, the range is set under a predetermined condition, and the character is handled with the characteristic value as the character form.

実験によれば、文字の重心を求める算出方法を操作することによって、上記特性値を、上記主観で定まる文字の重心などに近づけ得ることが判明している。文字の形態として考察する範囲をどのように設定するかについては、文字の骨格だけを考慮に入れて評価する、または、背景を考慮するなど、求められる条件によって範囲が代わり、重心の算出を何に依存させるかについても含め、選択することが可能である。例えば、白い背景に黒い文字があった場合、文字を徐々に小さくしていくと、文字のストローク同士が接近し、黒い塊として認知される。これは、文字のストロークの端点を結び、外接した多角形の内側を黒で塗りつぶした状態と近似している。また、文字が大きい場合には、文字のシルエットが認知されることはない。さらに、文字の大きさが変化していく中で、シルエットの中の黒いストローク以外の空間は、白から黒まで段階的に明度が変化した状態で認知される。   According to experiments, it has been found that by operating a calculation method for obtaining the center of gravity of a character, the characteristic value can be approximated to the center of gravity of the character determined by the subjectivity. As for how to set the range to be considered as the character form, evaluate the range taking into account only the character skeleton, or consider the background. It is possible to select whether to depend on the For example, if there are black characters on a white background and the characters are gradually made smaller, the character strokes approach each other and are recognized as black blocks. This approximates the state where the end points of the strokes of the characters are connected and the inside of the circumscribed polygon is filled with black. Further, when the character is large, the silhouette of the character is not recognized. Furthermore, as the size of the characters changes, spaces other than the black strokes in the silhouette are recognized with the brightness changing in stages from white to black.

文字形態の範囲を、文字の形状だけの場合から、文字のシルエット内を黒く塗りつぶした場合とすることも考え得る。この場合、主観的な重心の位置も変化し、定量的な重心を定める形態と、その座標点の値や重みを変化させることによって、主観の重心に近づけ得るという結果を得ている。さらに、定量的取り扱い故に、特性値と形態の定め方、重心の求め方、影響を受ける座標と与える座標の設定の仕方などによって、展開可能な体系的取り扱いも様々なものが可能となっている。   It can be considered that the range of the character form is from the case of only the shape of the character to the case where the inside of the character silhouette is painted black. In this case, the position of the subjective center of gravity also changes, and the result of being able to approach the subjective center of gravity is obtained by changing the value and weight of the coordinate point and the form of determining the quantitative center of gravity. Furthermore, because of the quantitative handling, various systematic handling that can be deployed is possible depending on how to determine the characteristic value and form, how to determine the center of gravity, how to set the affected coordinates and the given coordinates, etc. .

特性値の使い方を示すと、対象となる文字の形態に基づいて、文字の特性値として算出された上記対象文字の固有の特性を示す対象特性値と、一または複数の対象特性値から算出された一つの基準特性値とを比較し、比較結果に応じて対象文字列を構成する対象文字を制御する。比較結果は一定基準の内・外などであってもよく、複数の比較結果の内で最も近い・遠いなどであってもよい。また、対象文字の制御としては、対象文字の形態を変化させるものであってもよく、採用・不採用を伴うものであってよく、これらによって対象文字の選別を可能としても良い。
(文字の形態)
形状は、文字や図形としてデザインされた線や点であり、または、それぞれが輪郭を有するものである。図12では、「上」の輪郭内であるAの部分が形状である。
The usage of the characteristic value is calculated from the target characteristic value indicating the characteristic characteristic of the target character calculated as the characteristic value of the character and one or more target characteristic values based on the form of the target character. The single reference characteristic value is compared, and the target character constituting the target character string is controlled according to the comparison result. The comparison result may be inside or outside a certain standard, or may be the closest or farthest among a plurality of comparison results. Further, the control of the target character may be one that changes the form of the target character, may be adopted / not adopted, and the selection of the target character may be enabled by these.
(Character form)
The shape is a line or a point designed as a character or a figure, or each has an outline. In FIG. 12, the portion A within the “upper” contour is the shape.

文字や図形の形態は、文字や図形の形状とその背景を特徴付ける部分である。形状と背景について、値または重み付けを有する単位面積または座標点によって構成すると、より明確に、文字や図形の重心に影響を与える範囲を示すことができる。例えば、文字や図形の形状は、形状以外の部分の値や重み付けを「0」または範囲を限って一定値としたものに相当する。   The form of a character or figure is a part that characterizes the shape of the character or figure and its background. When the shape and the background are configured by unit areas or coordinate points having values or weights, it is possible to more clearly indicate a range that affects the center of gravity of characters and figures. For example, the shape of a character or a figure corresponds to a value or weight of a part other than the shape being “0” or a constant value with a limited range.

形態の範囲は、図12の「上」を例に取ると、形状であるAの部分としてもよい。また、ストロークや輪郭を形成する線の先端の近傍である(12−1)の領域に近傍点を定め、その結線を線上に有する閉曲線の内部である(A+B)の領域としてもよい。図12に示す閉曲線X1〜X8は、形状上の点で、先端部の端点でもあるX1、X2、X3、X4、X5、X6、X7およびX8を含み、端点間を結んだX2−X3、X4−X5およびX1−X8を含み、輪郭線X1-X2、X3−X4、X5−X6およびX7−X8を含み、さらに形状Aを内部に含んでいる。さらに、図12には線を示していないが、X1とX2の中心点、X3とX4の中心点、X5とX6の中心点およびX7とX8の中心点を結んで構成される閉曲線の内部を一つの領域としてもよい。形状上の点やその周辺に存在する点に対して、値と重みを設定することによって、形態の設定条件が成立する。近傍点は、形状の近傍であれば、形状上に無くてもよい。また、必要に応じて選択的に抽出される点であってもよい。さらに、形状の輪郭線を閉曲線に含んでいてもよい。図12の例では、閉曲線X1〜X8が形状上の輪郭線12−3を含んでいる。   The range of the shape may be a portion A that is a shape, taking “upper” in FIG. 12 as an example. Alternatively, a neighborhood point may be defined in the region (12-1) that is in the vicinity of the tip of the line that forms the stroke or outline, and the region (A + B) that is inside the closed curve having the connection on the line. The closed curves X1 to X8 shown in FIG. 12 include X1, X2, X3, X4, X5, X6, X7 and X8, which are points on the shape and are also end points of the tip, and connect the end points X2-X3, X4 -X5 and X1-X8, contour lines X1-X2, X3-X4, X5-X6 and X7-X8, and shape A inside. Further, although the line is not shown in FIG. 12, the inside of the closed curve formed by connecting the center point of X1 and X2, the center point of X3 and X4, the center point of X5 and X6, and the center point of X7 and X8 is shown. It is good also as one field. By setting values and weights for points on the shape and points around it, the setting condition of the form is established. The neighboring point may not be on the shape as long as it is near the shape. Moreover, the point extracted selectively as needed may be sufficient. Furthermore, the contour line of the shape may be included in the closed curve. In the example of FIG. 12, the closed curves X1 to X8 include a contour line 12-3 on the shape.

形態の取り扱いは、形状の内部、周辺の各部分、座標における値や重み付けを変えることによって、文字の形状そのものだけでなく、その周辺の状況も含めて、相互に影響しあう点の影響度を考慮して定めることができる。形態が形状上の点でなくてもよいのは、後述する文字の特性値が、文字を取り巻く環境を大きく含めて定まるものであり、従来技術のように文字の形状を克明に復元しようとする算出を行うものではないからである。   In the handling of forms, by changing the values and weights in the interior, surrounding parts, and coordinates, the degree of influence of the points that affect each other, including not only the shape of the character itself but also the surrounding situation, is determined. It can be determined in consideration. The shape does not have to be a point on the shape because the characteristic value of the character to be described later is determined by including the environment surrounding the character, and it tries to restore the shape of the character as in the prior art. This is because the calculation is not performed.

図13は、図12の各部の説明を示したものである。図13に示すように、図12のAは、「上」の形状であり、「上」の輪郭および輪郭内の部分の領域を示している。また、図12のBは、「上」のストロークにおける先端部分の近傍内の点を結んだ閉曲線の内部でAを含まない部分である。図12の近傍点は先端部分の端点であり、閉曲線は端点X1〜X8を結んだ線である。また、図12のCは、AおよびBを含まない文字枠の内側の領域である。さらに、図12のDは、隣接する文字「正」の枠領域全体を示している。さらに、図12のEは、文字枠内のCの外側の領域であり、Dがある場合にはEにDは含まれない。図12のP1nは領域A内の点であり、図12のP2nは領域B内の点であり、図12のP3nは領域C内の点であり、図12のP4nは領域D内で隣接する文字上の点であり、図12のP5nは領域D内の点であり、図12のP6nは領域E内の点である。さらに、図12の12−1は辺の先端の近傍部分であり、図12の12−2は文字の枠であり、図12の12−3は「上」の輪郭線(太線)である。さらに、図12のX12は端点間の中心点で、端点X1とX2の中心点であり、図12のXNN+1は上記X12の一般形で、端点XNとXN+1の中心点である。さらに、図12のR1nR5nはP1nとP5nの距離で、図12のRmnRxyは上記R1nR5nの一般形で、PmnとPxyの距離である。   FIG. 13 shows an explanation of each part of FIG. As shown in FIG. 13, A in FIG. 12 has an “upper” shape, and shows an “upper” outline and a region of a portion within the outline. Further, B in FIG. 12 is a portion that does not include A in the closed curve connecting points in the vicinity of the tip portion in the “up” stroke. The neighboring points in FIG. 12 are the end points of the tip portion, and the closed curve is a line connecting the end points X1 to X8. Further, C in FIG. 12 is a region inside the character frame not including A and B. Further, D in FIG. 12 shows the entire frame area of the adjacent character “positive”. Further, E in FIG. 12 is an area outside C in the character frame, and when D exists, E is not included in E. P1n in FIG. 12 is a point in the region A, P2n in FIG. 12 is a point in the region B, P3n in FIG. 12 is a point in the region C, and P4n in FIG. 12 is a point in the region D, and P6n in FIG. 12 is a point in the region E. Further, 12-1 in FIG. 12 is a portion near the front end of the side, 12-2 in FIG. 12 is a character frame, and 12-3 in FIG. 12 is an “upper” outline (thick line). Further, X12 in FIG. 12 is a center point between the end points and is a center point between the end points X1 and X2, and XNN + 1 in FIG. 12 is a general form of the above X12 and is a center point between the end points XN and XN + 1. Furthermore, R1nR5n in FIG. 12 is the distance between P1n and P5n, and RmnRxy in FIG. 12 is the general form of R1nR5n, which is the distance between Pmn and Pxy.

形態について、さらに説明する。文字の形態をデザイン的に通常認識し得る形状に限定して形態とすることができる。または、文字のストロークまたは輪郭を形成する線の端点のうち、選別的に定められた選別端点を通る線を含んで構成される閉曲線の内部領域を形態とすることができる。あるいは、選別端点間に引いた線と文字の輪郭で構成される閉曲線の内部領域を、文字の形態とする手法も考えられる。   The form will be further described. The form of the character can be limited to a form that can be normally recognized in terms of design. Alternatively, an internal region of a closed curve including a line passing through a selection end point that is selectively determined among end points of a line that forms a stroke or outline of a character can be used. Alternatively, a method may be considered in which an internal region of a closed curve composed of a line drawn between selected end points and a character outline is used as a character form.

さらに、ストロークや輪郭の先端部の点は、形状上にあってもよく、形状外にあるが先端の近傍の点であってもよい。当然のことながら、近傍の点は、形状上の点も含んでいる。上記近傍の点には、ストローク等の先端部分が内部にある点もあり、形状を囲む外周線に近い点もある。これらは、文字個々で定めることも、一律に定めることもできる。即ち、文字により定まる選択的な点と言うことができる。少なくとも選択的に定められた2点を結ぶ線を含む閉曲線の領域内部を、形態の範囲とすることができる。形状の過半数部分は、この閉曲線に含まれる。   Furthermore, the point at the tip of the stroke or contour may be on the shape, or may be a point in the vicinity of the tip that is outside the shape. As a matter of course, nearby points include points on the shape. Among the points in the vicinity, there is a point where a tip portion such as a stroke is inside, and there is also a point close to an outer peripheral line surrounding the shape. These can be determined individually or uniformly. That is, it can be said to be a selective point determined by characters. The inside of the region of the closed curve including a line connecting at least two points determined selectively can be set as the range of the form. The majority of the shape is included in this closed curve.

さらに、背景を考慮する際に、周辺に並んだ文字も含めて背景として、重み付けや値の設定で重心を求める手法に、容易に組み込むことができる。これらの手法の範囲は、文字の取り扱い方によって定めることができる。   Furthermore, when considering the background, it can be easily incorporated into a technique for obtaining the center of gravity by setting weights and values as backgrounds including characters arranged in the vicinity. The scope of these methods can be determined by how the characters are handled.

なお、シルエットにおいて、形状部分と他のシルエットの値や重みを変えて用いてもよい。言い換えれば、上記文字の形態が、文字のストロークまたは文字の輪郭を形成する線の先端部および点の近傍に定めた近傍点の2点を結んだ線を少なくとも一つ線上に有し、文字の形状部分を過半数含んだ閉曲線で囲まれる領域の内側を範囲とすることができる。当然のことながら、上記近傍点が、文字のストロークまたは文字の輪郭を形成する線の先端部および点で形成される文字の形状上の点であってもよい。さらに、上記閉曲線が、文字の輪郭を形成する線を少なくとも一つ線上に有していてもよい。   In the silhouette, values and weights of the shape portion and other silhouettes may be changed. In other words, the form of the character has at least one line on the line connecting the two points of the tip of the line that forms the stroke of the character or the outline of the character and the neighboring point defined in the vicinity of the point. The inside of the region surrounded by the closed curve including the majority of the shape portion can be set as the range. As a matter of course, the neighboring point may be a point on the shape of the character formed by the tip of the line and the point forming the character stroke or the character outline. Furthermore, the closed curve may have at least one line forming the outline of the character on the line.

文字の形態は、図12のAに示す形状の部分、図12のA・B・Cに示す背景における枠の内部、または文字の輪郭外周にある影の部分、背景にある模様や色彩の部分、図12のA・Bに示す近傍点を結んだ閉曲線の内部、図12のDに示す隣接文字の形状の部分、図12のEに示す文字枠の外部などの点について、上記各点の値および重み付けをどのように定めるかによって決まる。文字をどのような背景環境・隣接環境で利用するかということを考慮に入れて、影響を与える点の値で重みを決めることによって、文字の形態を条件付けることができる。この条件は、取り扱い方を統一した扱いとしてもよく、文字個々で定めてもよく、あるところまでは統一して扱い、ある部分は個別に決めるなど、条件を重ねてもよい。   The shape of the character is a portion of the shape shown in A of FIG. 12, the inside of the frame in the background shown in A, B, or C of FIG. 12, or the shadow portion around the outline of the character, the portion of the pattern or color in the background , Points inside the closed curve connecting the neighboring points shown in FIGS. 12A and 12B, adjacent character shape parts shown in FIG. 12D, and outside the character frame shown in FIG. It depends on how the values and weights are determined. The character form can be conditioned by taking into account the background environment / adjacent environment in which the character is used, and determining the weight with the value of the influential point. This condition may be handled in a unified manner, may be determined individually for each character, or may be determined in a unified manner up to a certain point, and a certain part may be determined individually.

いずれにしても、形状・背景の構成点の値と重みを与えることを含んで定められた条件で決まる文字の形態に対して、文字の特性値が定められる。また、背景の影響を受けない場合の文字の形態として、形状だけを形態としたり、背景を白地と定めて所定の値を与えて形態として定めることもできる。   In any case, the characteristic value of the character is determined for the character form determined by the predetermined condition including the value of the shape / background composing point and the weighting. In addition, as the form of the character when not affected by the background, it is possible to form only the shape, or to determine the form by giving the predetermined value by setting the background as a white background.

文字の形態は、各点の値と重みを設定することによって、種々、取り扱うことができる。重心を具体的に算出する場合には、各点の座標位置が重要となる。文字の形状と背景・隣接する文字を含む範囲にある座標点の位置・値並びに重みの設定によって、重心は特定される。   Various forms of characters can be handled by setting the value and weight of each point. When the center of gravity is specifically calculated, the coordinate position of each point is important. The center of gravity is specified by setting the position and value of the coordinate point in the range including the character shape and the background / adjacent character and the weight.

座標点の値としては、座標点の値と重みとの積を用いることができる。事例的に考えれば、文字の形態は、周辺の重み・値を全て一定の値としたものを標準形態とすることも可能である。また、一定の値を「0」とすれば、文字の形態を形状と等価として、背景と独立して扱うことができる。   As the value of the coordinate point, the product of the value of the coordinate point and the weight can be used. Considering a case example, the character form may be a standard form in which peripheral weights and values are all constant values. If the constant value is “0”, the character form can be treated as an equivalent to the shape and can be handled independently of the background.

また、背景の座標点の範囲を限定し、例えば文字枠の中としたり、文字の形状の周辺に形状に応じた影の部分としたり、さらに、文字シルエットの部分などに限定した取り扱いなども可能である。さらに、文字の形態の範囲を形状の輪郭の内側とし、背景部分は後述する算術式によって各座標点の重み付けを変えてもよく、各座標で値を変えてもよい。さらに、その周辺に背景色があれば、色の展開に応じて文字の形態とすることも可能である。即ち、文字の形態は、文字の周辺を含む、条件によって定まる文字の特性値を算出する範囲とすることができる。   In addition, the range of background coordinate points can be limited, for example, within a character frame, or a shadow portion corresponding to the shape around the character shape, or handling limited to the character silhouette portion, etc. It is. Furthermore, the range of the character form may be set to the inside of the contour of the shape, and the weight of each coordinate point may be changed by an arithmetic expression to be described later, or the value may be changed at each coordinate. Furthermore, if there is a background color around it, it can be in the form of characters according to the color development. That is, the character form can be a range in which the characteristic value of the character determined by the condition including the periphery of the character is calculated.

言い換えれば、文字の形態とは、文字が利用される様々な背景で文字を取り扱う場合に、その背景の環境も含んで標準的に取り扱えうことができる文字の見易さを定量的に定める策定領域である。文字としてデザインされた形状とその周辺の領域において影響を及ぼし合うとして予め定めた範囲である。利用に限定して扱えば、形状を含めた文字の近傍において、最も強く主観的に影響を受ける部分を主形態とし、影響を与える範囲を従形態として取り扱うことも可能である。背景部分は、範囲を選別して、影響度によって特性値の算出上の重みや値を変えたりすることによって、影響度のレベルを調節することができる。   In other words, the character form is a formula that quantitatively defines the legibility of characters that can be handled in a standard manner, including the background environment when handling characters in various backgrounds where the characters are used. It is an area. This is a predetermined range that affects the shape designed as characters and the surrounding area. If it is limited to use, it is also possible to treat the portion that is most strongly and subjectively affected in the vicinity of the character including the shape as the main form, and the affected range as the sub form. For the background portion, the level of the influence can be adjusted by selecting the range and changing the weight or value in calculating the characteristic value according to the influence.

その一つを事例的に言えば、文字を構成する部分の重みを「1」とし、背景については「0」、「0.5」、「0.05」などの重みを持たせて算出することが可能である。   As one example, the weight of the part constituting the character is set to “1”, and the background is calculated with weights such as “0”, “0.5”, “0.05”, etc. It is possible.

図14には、図12に示した「上」の文字と背景、隣接する文字に対して、値と重みを設定し、後述する質量の重心、ポテンシャルの重心で用いられる点値を簡易的に算出する方法について、事例として示している。   In FIG. 14, values and weights are set for the “upper” character, background, and adjacent characters shown in FIG. 12, and point values used for the mass centroid and potential centroid described later are simply shown. The calculation method is shown as an example.

各領域A〜Eの各点P1n〜P6nの点の値と重みの設定により、重心を求める点値がP11においていくらになるかということを、重心を質量・ポテンシャルのいずれかで求めた場合について、事例的に算出している。各点の座標を示すと複雑となるため、両者の違いが克明に出る点値を算出して示している。重心の算出は、点値が定まれば同じ考え方で算出できることは、後述する式から明らかである。   A case where the center of gravity is obtained from either mass or potential by determining the value of the center of gravity in P11 by setting the values and weights of the points P1n to P6n of the respective regions A to E. It is calculated as a case study. Since the coordinates of each point are complicated, point values that clearly show the difference between the two are calculated and shown. It is clear from the formula described later that the center of gravity can be calculated in the same way if the point value is determined.

図14のNo.1は背景を定常とする例であり、領域A内の点P1nの点値a1は「1」、領域B内の点P2nの点値a2、領域C内の点P3nの点値a3、領域D内で隣接する文字上の点P4nの点値a4、領域D内の点P5nの点値a5および領域E内の点P6nの点値a6は「0」である。この場合、形状上の点P11における点値は、質量型ではM=a1、ポテンシャル型ではP=[(a1×a1)/(R11R12)2}]+[(a1×a1)/(R11R13)2}]となる。   No. of FIG. 1 is an example in which the background is stationary, the point value a1 of the point P1n in the region A is “1”, the point value a2 of the point P2n in the region B, the point value a3 of the point P3n in the region C, and the region D The point value a4 of the point P4n on the adjacent character, the point value a5 of the point P5n in the region D, and the point value a6 of the point P6n in the region E are “0”. In this case, the point value at the point P11 on the shape is M = a1 for the mass type and P = [(a1 × a1) / (R11R12) 2}] + [(a1 × a1) / (R11R13) 2 for the potential type. }].

また、図14のNo.2も背景を定常とする例であり、領域A内の点P1nの点値a1は「1」、領域B内の点P2nの点値a2および領域C内の点P3nの点値a3は「0.5」、領域D内で隣接する文字上の点P4nの点値a4、領域D内の点P5nの点値a5および領域E内の点P6nの点値a6は「0」である。この場合、形状上の点P11における点値は、質量型ではM=a1、ポテンシャル型ではP=[(a1×0.5×a2)/(R11R21)2}]+[(a1×0.5×a3)/(R11R31)2}]となる。   In addition, in FIG. 2 is also an example in which the background is stationary, the point value a1 of the point P1n in the region A is “1”, the point value a2 of the point P2n in the region B and the point value a3 of the point P3n in the region C are “0”. .5 ”, the point value a4 of the point P4n on the adjacent character in the region D, the point value a5 of the point P5n in the region D, and the point value a6 of the point P6n in the region E are“ 0 ”. In this case, the point value at the point P11 on the shape is M = a1 in the mass type and P = [(a1 × 0.5 × a2) / (R11R21) 2}] + [(a1 × 0.5 in the potential type). × a3) / (R11R31) 2}].

さらに、図14のNo.3は形態を閉曲線の内部とした例であり、領域A内の点P1nの点値a1および領域B内の点P2nの点値a2は「1」、領域C内の点P3nの点値a3の点値は「0.5」、領域D内で隣接する文字上の点P4nの点値a4、領域D内の点P5nの点値a5および領域E内の点P6nの点値a6は「0」である。この場合、形状上の点P11における点値は、質量型ではM=a1、ポテンシャル型ではP=[(a1×a2)/(R11R21)2}]+[(a1×0.5×a3)/(R11R31)2}]となる。   Further, in FIG. 3 is an example in which the form is an inside of a closed curve, the point value a1 of the point P1n in the region A and the point value a2 of the point P2n in the region B are “1”, and the point value a3 of the point P3n in the region C is The point value is “0.5”, the point value a4 of the point P4n on the adjacent character in the region D, the point value a5 of the point P5n in the region D, and the point value a6 of the point P6n in the region E are “0”. It is. In this case, the point value at the point P11 on the shape is M = a1 in the mass type and P = [(a1 × a2) / (R11R21) 2}] + [(a1 × 0.5 × a3) / in the potential type. (R11R31) 2}].

さらに、図14のNo.4はNo3における隣接文字の扱いを異ならせたものであり、領域A内の点P1nの点値a1および領域B内の点P2nの点値a2は「1」、領域C内の点P3nの点値a3の点値は「0.5」、領域D内で隣接する文字上の点P4nの点値a4は「0.1」、領域D内の点P5nの点値a5および領域E内の点P6nの点値a6は「0」である。この場合、形状上の点P11における点値は、質量型ではM=a1、ポテンシャル型ではP=[(a1×a2)/(R11R21)2}]+[(a1×0.5×a3)/(R11R31)2}]+[(a1×0.1×a4)/(R11R41)2}]となる。
(対象特性値の求め方:特性値である重心が質量の重心である場合)
本発明において、文字の形態に固有の特性を表す対象特性値を算出する際に、例えば文字の重心として、文字の質量の重心を求めることができる。以下に、文字の質量の重心を求める方法の一例について説明する。
Further, in FIG. 4 is different in the handling of adjacent characters in No3, the point value a1 of the point P1n in the area A and the point value a2 of the point P2n in the area B are “1”, and the point P3n in the area C The point value of the value a3 is “0.5”, the point value a4 of the point P4n on the adjacent character in the region D is “0.1”, the point value a5 of the point P5n in the region D and the point in the region E The point value a6 of P6n is “0”. In this case, the point value at the point P11 on the shape is M = a1 in the mass type and P = [(a1 × a2) / (R11R21) 2}] + [(a1 × 0.5 × a3) / in the potential type. (R11R31) 2}] + [(a1 × 0.1 × a4) / (R11R41) 2}].
(How to obtain the target characteristic value: When the center of gravity that is the characteristic value is the center of mass of the mass)
In the present invention, when calculating a target characteristic value representing a characteristic specific to a character form, for example, the center of mass of the character can be obtained as the center of gravity of the character. Below, an example of the method of calculating | requiring the gravity center of the mass of a character is demonstrated.

文字の形態は、形態として定められた範囲を構成する単位面積の集合である。ここで、単位面積部分が有する特定の値を単位量と呼び、単位量の総和を文字の質量とすることができる。文字を、座標上に取り、一つの座標点を単位面積として、各座標点が有する画素値を単位量とすることができる。複数の座標点を持って単位面積とし、その複数の座標点が持つ画素値は、単位量に等価であってもよく、単位面積が有する単位量の平均値であってもよい。単位量を示すものを事例的に挙げると、密度、階調・輝度・色・照度・濃度・明度などの物理量や人為的に設定された数値などが上げられる。物理的な質量との相対的関係においては、単位面積の厚さが単位長で構成されていると考えれば、同じ次元で考察することができる。また、単位量は、単位質量でもある。   The character form is a set of unit areas constituting a range defined as the form. Here, the specific value which the unit area part has is called a unit quantity, and the sum total of the unit quantity can be made into the mass of a character. Characters can be taken on the coordinates, one coordinate point can be a unit area, and a pixel value of each coordinate point can be a unit amount. A plurality of coordinate points are used as a unit area, and pixel values of the plurality of coordinate points may be equivalent to the unit amount or may be an average value of the unit amounts of the unit area. Examples of units that indicate unit quantities include physical quantities such as density, gradation, brightness, color, illuminance, density, and brightness, and artificially set numerical values. In the relative relationship with the physical mass, if the thickness of the unit area is considered to be composed of the unit length, it can be considered in the same dimension. The unit amount is also a unit mass.

文字の重心とは、文字の単位質量の分布の中心である。先にも述べたが、文字の背景に対しても単位質量の考え方を同じく適用することによって、背景を含んだ文字の重心を計算することが可能である。具体的には、文字の質量に影響を与えることを考慮した文字の形態における座標点が構成する全ての座標点の画素値の総和(代表的点の総和も含む)を文字の質量とすることができる。   The center of gravity of the character is the center of the distribution of the unit mass of the character. As described above, it is possible to calculate the center of gravity of a character including the background by applying the concept of unit mass to the background of the character. Specifically, the sum of pixel values (including the sum of representative points) of all coordinate points formed by the coordinate points in the character form in consideration of affecting the mass of the character is used as the character mass. Can do.

文字の重心座標の各軸上の位置は、上記影響を与える点の単位質量とその点を各軸に投影した位置と各点の重みの積を点モーメントとして、その点モーメントの各軸における総和を文字の質量で除することによって求められる。即ち、座標点(x、y)における質量をg[x][y]とし、重心位置(GRx、GRy)とすれば、文字の形態の質量wとGRx・GRyは、以下の式1〜式3によって求められる。   The position of the center of gravity of the character on each axis is the sum of the point moments on each axis, with the product of the unit mass of the affected point, the projected position of the point on each axis, and the weight of each point as the point moment. Is divided by the mass of the character. That is, assuming that the mass at the coordinate point (x, y) is g [x] [y] and the center of gravity (GRx, GRy), the mass w and GRx · GRy in the form of characters 3 is required.

ここで、Xwidthは水平方向の画素数であり、Ywidthは垂直方向の画素数であり、ωは重み値である。
(対象特性値の求め方:特性値である重心がポテンシャルの重心である場合)
本発明において、文字の形態に固有の特性を表す対象特性値を算出する際に、例えば文字の重心として、文字のポテンシャルの重心を求めることができる。上記説明では、文字の重心を、文字の形態の質量における重心として定量化する手法について説明したが、主観的評価では、背景からの影響や隣接する文字によって、その文字の重心の設定が影響を受ける。
Here, X width is the number of pixels in the horizontal direction, Y width is the number of pixels in the vertical direction, and ω is a weight value.
(How to obtain the target characteristic value: When the center of gravity that is the characteristic value is the center of gravity of the potential)
In the present invention, when calculating a target characteristic value representing a characteristic specific to a character form, for example, the centroid of the potential of the character can be obtained as the centroid of the character. In the above description, the method of quantifying the center of gravity of a character as the center of gravity of the mass of the character's form has been described, but in the subjective evaluation, the setting of the center of gravity of the character is affected by the influence from the background and adjacent characters. receive.

その影響を考慮した文字の重心を定量的に算出するために、文字の形態を示す各点へのそれ以外の点の影響を定量的に求める手法として、文字のポテンシャルの重心が考えられる。以下に、文字のポテンシャルの重心を求める方法の一例について説明する。   In order to quantitatively calculate the center of gravity of the character in consideration of the influence, the center of potential of the character can be considered as a method for quantitatively determining the influence of other points on each point indicating the character form. Hereinafter, an example of a method for obtaining the center of gravity of the character potential will be described.

文字の形態を構成する点に対して、文字の形状および背景の各点が与える影響度の総和が、文字の形態を構成する点の点ポテンシャルであり、文字の形態を構成する全ての点の点ポテンシャルの総和が、文字のポテンシャルと言える。文字のポテンシャルの重心は、点ポテンシャルの分布の中心として求められる。即ち、文字の形態として定められた点に対して影響を与える点が作用する力を考えればベクトルで表され、影響を与えると定められた点による全てのベクトルの総和が影響を与えられる点のベクトルと考えられる。   The sum of the influence of each point of the character shape and the background on the points that make up the character form is the point potential of the points that make up the character form, and all the points that make up the character form The sum of point potentials can be said to be the potential of letters. The center of gravity of the character potential is obtained as the center of the distribution of the point potential. In other words, if the force acting on the point that affects the point determined as the character form is considered, it is expressed as a vector, and the sum of all the vectors of the point determined to affect the point is affected. Considered a vector.

さらに、補足すれば、文字の形態をデザイン的に通常認識し得る形状に限定して重心を求めるか、または後述するように、文字の形態として文字のストロークまたは輪郭を形成する端点を選別的に定め、その端点を通る線で構成される領域の内部を文字の形態とする手法も考えられる。さらに、背景に、近傍に並んだ文字も含めて重心を求める手法も容易に用いることができる。これらの手法の範囲は、文字の取り扱い方によって定めることが可能であり、質量による重心やポテンシャルによる重心の取り扱いに関らず、同じである。   Furthermore, if supplemented, the shape of the character is limited to a shape that can be normally recognized by design, and the center of gravity is obtained, or as will be described later, the end points that form the stroke or outline of the character are selected selectively. A method is also conceivable in which an area defined by a line passing through the endpoint is defined as a character form. Furthermore, it is possible to easily use a method for obtaining the center of gravity including characters arranged in the vicinity in the background. The range of these methods can be determined by how to handle characters, and is the same regardless of the handling of the center of gravity by mass or the center of gravity by potential.

文字の形態を表す点とそれらに影響を与える点が値を持ち、それらを各々質量と見ると、文字のポテンシャルは、文字のポテンシャルエネルギーとして取り扱うことができる。   The points representing the form of characters and the points that affect them have values, and when these are regarded as masses, the potential of the characters can be treated as the potential energy of the characters.

文字のポテンシャルの重心座標の各軸上の位置は、上記影響を与える点のポテンシャルエネルギーと、その点を各軸に投影した位置と、各点の重みの積の各軸における総和を文字のポテンシャルエネルギーで除することにより求められる。即ち、文字のポテンシャルエネルギーの重心位置(GRPx、GRPy)とすれば、各点のポテンシャルエネルギーP(x,y)とP(x,y)とP(xi,yi)の距離rとGRPx・GRPyは、以下の(数9)の式4〜式7によって求められる。   The position on each axis of the centroid coordinates of the character potential is the sum of the product of the potential energy of the affected point, the projected position of the point on each axis, and the weight of each point on each axis. It is obtained by dividing by energy. That is, if the center of gravity position (GRPx, GRPy) of the potential energy of the character is assumed, the distance r between the potential energies P (x, y), P (x, y) and P (xi, yi) at each point and GRPx · GRPy Is obtained by the following equations (4) to (7).

なお、   In addition,

は自分自身の点が周りから影響をうけるポテンシャルエネルギーを意味する。また、 Means the potential energy at which one's own point is influenced by the surroundings. Also,

は自分自身の点を含まないすべての点の総和を意味する。さらに、 Means the sum of all points not including one's own. further,

は、自分自身の点と影響する点のそれぞれの質量を掛け合わしたものである。さらに、 Is the product of the mass of each of its own points and influencing points. further,

Is

When

の距離を表す。乗数kは、通常2とするが、任意の値で処理してもよい。wは、文字の形態を構成する点のポテンシャルエネルギーの総和である。 Represents the distance. The multiplier k is normally 2 but may be processed with an arbitrary value. w is the sum of the potential energies of the points constituting the character form.

(基準特性値の求め方)
以上のようにして算出された一つ以上の対象特性値の基礎統計量として、平均値、中央値、最頻値、最大値および最小値のいずれかの値、またはそれらの値の近傍値によって、基準特性値を算出することができる。この基準特性値と上記対象特性値との差分を算出し、算出された差分に応じて対象文字列を構成する文字を制御することにより、見やすい文字列を生成することができる。
(データ処理装置)
上述したように、文字の形態の定め方によって、文字の形状や背景の特性を表現可能な特性値を算出して取り扱うことができる。よって、形状を表現するために多くのデータを用いるか、または単なる名称としてのコードで対応付ける取り扱い方法と比較して、固有の特性値によって文字を取り扱うことが可能な本願発明は、差別化された技術であると言える。すなわち、識別特性値そのものが形態の特性を表現している。従来のビットマップ座標では全てを展開しないと形状を示すことができないが、本願発明では、値そのもので文字を識別可能である。
(How to obtain standard characteristic values)
As a basic statistic of one or more target characteristic values calculated as described above, one of the average value, median value, mode value, maximum value and minimum value, or a neighboring value of those values. The reference characteristic value can be calculated. By calculating the difference between the reference characteristic value and the target characteristic value, and controlling the characters constituting the target character string according to the calculated difference, it is possible to generate a legible character string.
(Data processing device)
As described above, the characteristic value that can represent the character shape and the background characteristic can be calculated and handled depending on how the character form is determined. Therefore, compared with a handling method that uses a lot of data to express a shape or associates with a code as a mere name, the present invention that can handle characters with unique characteristic values has been differentiated. It can be said that it is technology. That is, the identification characteristic value itself expresses the characteristic of the form. In the conventional bitmap coordinates, the shape cannot be shown unless all are expanded, but in the present invention, the character can be identified by the value itself.

基準特性値と対象特性値とを比較するデータ処理装置と同様に、通常、一つの文字では、特性値は、単一であってもよい。また、文字を部首などの部分に分けていくつかの部首を共通化する場合、各部首に対しても特性値を持たせることができる。この場合、文字を単一ではなく、複数の特性値の組み合わせとして取り扱うこともできるが、数値化されていることによって、比較・識別などの制御は、従来の形状的比較処理に比べて数段容易である。当然のことながら、上記特性値の求め方は処理に充当される。   Similar to the data processing apparatus that compares the reference characteristic value and the target characteristic value, normally, a single character may have a single characteristic value. Further, when a character is divided into parts such as radicals and some radicals are shared, a characteristic value can be given to each radical. In this case, a character can be handled as a combination of a plurality of characteristic values instead of a single one. However, since it is digitized, control such as comparison / identification is several steps compared to conventional geometric comparison processing. Easy. As a matter of course, the method for obtaining the characteristic value is applied to processing.

以下に、本発明のデータ処理装置の実施形態を文字列データ生成装置に適用した場合について、図面を参照しながらを詳細に説明する。   Hereinafter, a case where an embodiment of a data processing device of the present invention is applied to a character string data generation device will be described in detail with reference to the drawings.

なお、先にも述べたが、本願における特許請求の範囲および明細書において、「文字」は、文字・記号・文字における部首、または部首のように記号を構成する区分けされた部分で構成された文字・記号またはマークとして識別される絵記号を含んでいる。また、特性値についての基本的な考え方は、特許文献1に記載されているものと同様である。   As described above, in the claims and specification of the present application, the “character” is composed of a radical in a character / symbol / character, or a divided part constituting a symbol such as a radical. Pictographs that are identified as marked characters / symbols or marks. The basic concept of the characteristic value is the same as that described in Patent Document 1.

以下の説明では、単一の文字について記載しているが、文字を部首などに分けて複数の特性値を持たせる場合、または文字が絵記号などである場合についても、基本思想は同じである。   In the following description, a single character is described. However, the basic idea is the same when the character is divided into radicals or the like to have a plurality of characteristic values, or when the character is a pictogram. is there.

また、文字の重心は、Y方向の座標とX方向の座標があり、以下の説明では重心のY方向の座標を「重心のY座標」、重心のX方向の座標を「重心のX座標」として説明する。   The center of gravity of the character has a Y-direction coordinate and an X-direction coordinate. In the following description, the Y-direction coordinate of the center of gravity is referred to as “Y-coordinate of the center of gravity”, and the X-direction coordinate of the center of gravity is referred to as “X-coordinate of the center of gravity”. Will be described.

図1は、本発明の実施形態に係る文字列データ生成装置の構成例を示すブロック図である。   FIG. 1 is a block diagram illustrating a configuration example of a character string data generation device according to an embodiment of the present invention.

図1において、この文字列データ生成装置100は、本発明のデータ処理装置として機能する。文字列データ生成装置100は、例えば、パーソナルコンピュータであり得る。パーソナルコンピュータとしては、例えば、デスクトップ型またはラップトップ型の任意のタイプのコンピュータが使用され得る。または、文字列データ生成装置100は、ワードプロセッサであってもよい。さらに、文字列データ生成装置100は、カラー表示および白黒表示のうちの少なくとも一方の表示が可能な表示手段を備えた電子機器または電子情報機器などの任意の情報表示装置であり得る。例えば、文字列データ生成装置100は、カラー液晶表示デバイスを備えた電子情報機器、携帯情報ツールである携帯情報端末装置、PHSを含む携帯電話装置、または一般の電話装置/FAX(ファクシミリ)などの通信機器であってもよい。さらに、例えば、文字列データ生成装置100は、テレビジョン装置またはプロジェクタであってもよい。   In FIG. 1, this character string data generation device 100 functions as a data processing device of the present invention. The character string data generation device 100 can be, for example, a personal computer. As the personal computer, for example, any type of computer of a desktop type or a laptop type can be used. Alternatively, the character string data generation device 100 may be a word processor. Furthermore, the character string data generation device 100 may be any information display device such as an electronic device or an electronic information device provided with display means capable of displaying at least one of color display and monochrome display. For example, the character string data generation device 100 is an electronic information device including a color liquid crystal display device, a portable information terminal device that is a portable information tool, a portable telephone device including a PHS, or a general telephone device / FAX (facsimile). It may be a communication device. Further, for example, the character string data generation device 100 may be a television device or a projector.

図1において、文字列データ生成装置100は、2色または2色以上のカラー表示が可能な表示手段10と、表示手段10に文字を表示するように表示手段10を制御する制御手段20と、表示手段10に表示すべき文字を示す文字情報を制御手段20に入力するために使用される入力手段30と、補助メモリ40とを含む。制御手段20には、表示手段10と、入力手段30と、補助メモリ40とが接続されている。   In FIG. 1, a character string data generation device 100 includes a display unit 10 capable of displaying two colors or two or more colors, a control unit 20 that controls the display unit 10 to display characters on the display unit 10, An input unit 30 used to input character information indicating characters to be displayed on the display unit 10 to the control unit 20 and an auxiliary memory 40 are included. Display means 10, input means 30, and auxiliary memory 40 are connected to control means 20.

文字情報は、例えば、文字を識別する文字コードと文字の大きさを示す文字サイズとを含む。文字コードは、例えば、JISコード、シフトJISコード、EUCコード、区点コード、UNICODEなどである。   The character information includes, for example, a character code that identifies a character and a character size that indicates the size of the character. The character code is, for example, a JIS code, a shift JIS code, an EUC code, a block code, a UNICODE, or the like.

入力手段30としては、文字情報を入力することが可能な任意のタイプの入力デバイスが使用され得る。例えば、キーボード、マウスまたはペン入力装置が、入力手段30として好適に使用され得る。文字列データ生成装置100が携帯電話装置である場合には、通話先の電話番号を指定するための数字キーが文字情報を入力するために用いられてもよい。また、表示手段10に表示される文字のサイズが予め1つに固定されている場合には、文字サイズの入力は省略され得る。   As the input means 30, any type of input device capable of inputting character information can be used. For example, a keyboard, mouse or pen input device can be suitably used as the input means 30. When the character string data generation device 100 is a mobile phone device, a numeric key for designating a telephone number of a call destination may be used to input character information. Further, when the size of the character displayed on the display means 10 is fixed to one in advance, the input of the character size can be omitted.

文字列データ生成装置100がインターネットを含む通信回線に接続するための接続手段を備えている場合には、その通信回線から受信した電子メールに含まれるメッセージが表示手段10に表示されてもよい。この場合には、接続手段が、入力手段30として機能する。   When the character string data generating apparatus 100 includes a connection unit for connecting to a communication line including the Internet, a message included in an e-mail received from the communication line may be displayed on the display unit 10. In this case, the connection unit functions as the input unit 30.

補助メモリ40には、制御プログラムとしての文字列データ生成プログラム41と、文字列データ生成プログラム41を実行するために必要なデータ42とが格納されている。このデータ42は、文字を示す文字データ42aを含む。この文字データ42aは、例えば、フォントデータである。例えば、フォントデータは、アウトラインフォント形式、ストローク形式およびビットマップ形式のうちの少なくとも1つの形式で表される。なお、文字には、文字の部首、文字の一部、アルファベットなども含まれる。文字列データ生成プログラム41と文字データ42aとの詳細は、後述される。補助メモリ40は本発明の可読記録媒体として機能し、文字列データ生成プログラム41は本発明の制御プログラムとして機能する。   The auxiliary memory 40 stores a character string data generation program 41 as a control program and data 42 necessary for executing the character string data generation program 41. The data 42 includes character data 42a indicating characters. The character data 42a is, for example, font data. For example, the font data is represented in at least one of an outline font format, a stroke format, and a bitmap format. The character includes a radical of the character, a part of the character, an alphabet, and the like. Details of the character string data generation program 41 and the character data 42a will be described later. The auxiliary memory 40 functions as a readable recording medium of the present invention, and the character string data generation program 41 functions as a control program of the present invention.

補助メモリ40としては、文字列データ生成プログラム41およびデータ42を格納することが可能な任意のタイプの記憶装置が使用され得る。例えば、ハードディスク、CD−ROM、MO、MD、DVD、ICカード、光カードなどのコンピュータ読み取り可能な可読記録媒体が好適に使用され得る。   As the auxiliary memory 40, any type of storage device capable of storing the character string data generation program 41 and the data 42 can be used. For example, a computer-readable readable recording medium such as a hard disk, CD-ROM, MO, MD, DVD, IC card, or optical card can be suitably used.

なお、文字列データ生成プログラム41およびデータ42は、補助メモリ40に格納されることに限定されない。例えば、文字列データ生成プログラム41およびデータ42は、制御手段20に含まれる後述するメインメモリ22に格納されてもよいし、他のROM(図示せず)に格納されてもよい。ROMは、例えば、マスクROM、EPROM、EEPROM、またはフラッシュROMなどであり得る。文字列データ生成プログラム41およびデータ42を格納する可読記録媒体は、プログラム41およびデータ42を固定的に担持する。   The character string data generation program 41 and the data 42 are not limited to being stored in the auxiliary memory 40. For example, the character string data generation program 41 and the data 42 may be stored in a main memory 22 (described later) included in the control unit 20 or may be stored in another ROM (not shown). The ROM can be, for example, a mask ROM, EPROM, EEPROM, or flash ROM. A readable recording medium that stores the character string data generation program 41 and the data 42 carries the program 41 and the data 42 in a fixed manner.

文字列データ生成装置100がインターネットを含む通信回線に接続するための通信手段を備えている場合には、その通信回線から文字列データ生成プログラム41およびデータ42の少なくとも一部をダウンロードすることができる。この場合、ダウンロードに必要なローダープログラムは、ROM(図示せず)に予め格納されていてもよいし、補助メモリ40から制御手段20にインストールされてもよい。   When the character string data generation device 100 includes communication means for connecting to a communication line including the Internet, at least a part of the character string data generation program 41 and data 42 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 20 from the auxiliary memory 40.

制御手段20は、中央演算処理装置であるCPU21と、CPU21の起動時にワークメモリとして働くRAMのメインメモリ22とを含む。   The control means 20 includes a CPU 21 that is a central processing unit and a RAM main memory 22 that functions as a work memory when the CPU 21 is activated.

CPU21は、文字列データ生成装置100の全体を制御および監視すると共に、補助メモリ40に格納されている文字列データ生成プログラム41を実行する。   The CPU 21 controls and monitors the entire character string data generation device 100 and executes a character string data generation program 41 stored in the auxiliary memory 40.

CPU21は、メインメモリ22に格納された各種のデータに基づいて文字列データ生成プログラム41を実行することにより、変形された文字を示す変形文字データを生成する。生成された変形文字データは、メインメモリ22に一旦格納された後、表示手段10に出力される。変形文字データが表示手段10に出力されるタイミングは、CPU21によって制御される。   The CPU 21 generates deformed character data indicating the deformed character by executing the character string data generation program 41 based on various data stored in the main memory 22. The generated deformed character data is temporarily stored in the main memory 22 and then output to the display means 10. The timing at which the deformed character data is output to the display means 10 is controlled by the CPU 21.

CPU21は、制御プログラムとしての文字列データ生成プログラム41および文字データ42aに基づいて、対象文字(または図形)列を構成する文字(または図形)数m(mは2以上の自然数)を読み取る文字または図形数読取手段としての文字数読取手段211と、カウンタ変数nを「0」に初期化するカウンタ変数初期化手段212と、文字(または図形)形状を示す文字(または図形)データを読み取る文字または図形データ読取手段としての文字データ読取手段213と、読み取られた文字(または図形)データに基づいてビットマップ上に文字(または図形)データを生成する文字または図形データ生成手段としての文字データ生成手段214と、ビットマップ上に生成された文字(または図形)データをシルエット化するシルエット化手段215と、シルエット化されたデータに対して文字(または図形)の重心値などの対象特性値を算出する第1算出手段としての対象特性値算出手段216と、文字(または図形)の対象特性値として文字(または図形)の重心値を記憶部に保存させる文字または図形重心値保存手段としての文字重心値保存手段217と、カウンタ変数nをインクリメントして新たなカウンタ変数nとし、当該カウンタ変数nが文字または図形数mと等しくなるまで、文字データ読取手段213、文字データ生成手段214、シルエット化手段215、対象特性値算出手段216および文字重心値保存手段217の各処理をこの順に繰り返すように制御する繰り返し制御手段218と、カウンタ変数nが文字(または図形)数mと等しい場合に、基準特性値として、文字重心値保存手段217により記憶部に保存されている対象特性値の平均値を算出する第2算出手段としての基準特性値算出手段219と、これらの基準特性値と対象特性値との差分に対して特定比率を乗算する比較手段220と、比較手段220によって算出された差分に特定比率(ここでは「1」)を乗算した値に応じて、各文字または図形をそれぞれ変形または移動させる制御手段としての変形制御手段221との機能を順次実行する。   Based on the character string data generation program 41 as the control program and the character data 42a, the CPU 21 reads the character m (or graphic) number m (m is a natural number of 2 or more) constituting the target character (or graphic) string or Character number reading means 211 as a figure number reading means, counter variable initialization means 212 for initializing a counter variable n to “0”, and a character or figure for reading character (or figure) data indicating a character (or figure) shape Character data reading means 213 as data reading means, and character data generating means 214 as character or graphic data generating means for generating character (or graphic) data on a bitmap based on the read character (or graphic) data. And a characterizing (or graphic) data generated on the bitmap Etching means 215, target characteristic value calculation means 216 as first calculation means for calculating the target characteristic value such as the centroid value of the character (or figure) for the silhouetted data, and the character (or figure) Character centroid value storage means 217 as a character or figure centroid value storage means for storing a centroid value of a character (or figure) as a target characteristic value in a storage unit, a counter variable n is incremented to form a new counter variable n, Until the counter variable n becomes equal to the number m of characters or figures, the processes of the character data reading unit 213, the character data generation unit 214, the silhouette conversion unit 215, the target characteristic value calculation unit 216, and the character centroid value storage unit 217 are performed in this order. Repeat control means 218 for controlling to repeat, and when the counter variable n is equal to the number m of characters (or figures) Reference characteristic value calculation means 219 as second calculation means for calculating the average value of the target characteristic values stored in the storage unit by the character centroid value storage means 217 as reference characteristic values, and these reference characteristic values and target characteristics Comparison means 220 for multiplying the difference from the value by a specific ratio, and transforming each character or figure according to a value obtained by multiplying the difference calculated by the comparison means 220 by a specific ratio (here, “1”) Or the function with the deformation | transformation control means 221 as a control means to move is performed sequentially.

対象特性値算出手段216は、シルエット化されたデータに対して計算式(前述した数2;式1〜式3)によって文字または図形の特性としての文字または図形の重心値を算出するための重心計算処理を行う重心計算処理手段216aを有している。   The target characteristic value calculation means 216 calculates the centroid for calculating the centroid value of the character or figure as the characteristic of the character or figure by the calculation formula (the above-mentioned formula 2; Formula 1 to Formula 3) with respect to the silhouetted data. It has a center-of-gravity calculation processing means 216a that performs calculation processing.

一方、メインメモリ22は、入力手段30から入力されたデータや表示手段10に表示するためのデータや文字列データ生成プログラム41を実行するために必要なデータを一時的に格納する。   On the other hand, the main memory 22 temporarily stores data input from the input unit 30, data to be displayed on the display unit 10, and data necessary for executing the character string data generation program 41.

表示手段10には、制御手段20から出力された変形文字データが入力され、表示手段10は、変形文字を表示する。   The display unit 10 receives the modified character data output from the control unit 20, and the display unit 10 displays the modified character.

表示手段10は、例えばカラー液晶表示デバイスなどである。カラー液晶表示デバイスとしては、パーソナルコンピュータなどに多く用いられている透過型の液晶表示デバイスの他、反射型やリアプロ型の液晶表示デバイスが使用され得る。しかしながら、表示手段10は、カラー液晶表示デバイスに限定されない。表示手段10として、X方向およびY方向に配列された複数のピクセルを有する任意の白黒またはカラー表示装置(いわゆるXYマトリクス表示装置)が使用され得る。   The display means 10 is, for example, a color liquid crystal display device. As the color liquid crystal display device, a reflection type or rear pro type liquid crystal display device can be used in addition to a transmission type liquid crystal display device often used in personal computers and the like. However, the display means 10 is not limited to a color liquid crystal display device. As the display means 10, any black and white or color display device (so-called XY matrix display device) having a plurality of pixels arranged in the X direction and the Y direction can be used.

なお、変形文字が表示手段に表示されるとは限らない。変形文字は、印字装置(プリンタ)により紙に印刷され得る。この場合には、文字列データ生成装置100は、出力装置としての表示手段10に代えてまたは表示手段10に加えて、出力装置としての印字装置(プリンタ)を含む。このプリンタには、制御手段20から出力された変形文字データが入力される。このプリンタは、変形文字を紙面上に印字する。   The deformed character is not always displayed on the display means. The deformed character can be printed on paper by a printing device (printer). In this case, the character string data generation device 100 includes a printing device (printer) as an output device instead of or in addition to the display device 10 as an output device. The printer receives the modified character data output from the control means 20. This printer prints deformed characters on a paper surface.

さらに、変形文字データは、インターネットを含む電話通信回線に出力され得る。この場合には、文字列データ生成装置100は、出力装置としての表示手段10に代えてまたは表示手段10に加えて、電話通信回線に文字列データ生成装置100を接続するための接続手段(通信手段)を含む。文字列データ生成装置100は、この接続手段を介して、電話通信回線に変形文字データを出力可能とする。   Further, the deformed character data can be output to a telephone communication line including the Internet. In this case, the character string data generation device 100 replaces the display means 10 as the output device or in addition to the display means 10, connection means (communication) for connecting the character string data generation device 100 to the telephone communication line. Means). The character string data generating apparatus 100 can output the deformed character data to the telephone communication line via this connection means.

図2A〜図2Cは、図1に示す補助メモリ40中のデータ42における文字データ42aに基づいて、256画素×256画素のサイズで表示された文字を示す図である。なお、例えば端点まる1aを端点(1)aで示す。   2A to 2C are diagrams showing characters displayed in a size of 256 pixels × 256 pixels based on the character data 42a in the data 42 in the auxiliary memory 40 shown in FIG. For example, the end point 1a is indicated by an end point (1) a.

図2Aは、256画素×256画素のサイズで表示されたひらがな文字「う」を示している。図2Aにおいて、ひらがな文字「う」は、ストローク#1−1と、ストローク#1−2と、ストローク#1−3と、ストローク#1−4と、ストローク#2−1と、ストローク#2−2と、ストローク#2−3と、ストローク#2−4と、ストローク#2−5と、ストローク#2−6と、ストローク#2−7と、ストローク#2−8と、ストローク#2−9と、ストローク#2−10と、ストローク#2−11と、ストローク#2−12と、ストローク#2−13とを含む。ストローク#1−1は端点(1)a(85,240)と端点(2)a(79,215)が直線によって結ばれる。ストローク#1−2は端点(2)a(79,215)と端点(3)a(176,199)が方向点(2)a−1(117,208)と方向点(2)a−2(148,202)で構成されるベジェ曲線によって結ばれる。スロトーク#1−3は端点(3)a(176,199)と端点(4)a(181,223)が直線によって結ばれる。ストローク#1−4は端点(4)a(181,223)と端点(1)a(85,240)が方向点(4)a−1(153,225)と方向点(4)a−2(123,232)で構成されるベジェ曲線で結ばれる。これらのストローク#1−1と、ストローク#1−2と、ストローク#1−3と、ストローク#1−4とを結ぶことにより「う」の上の部品が表現される。同様に、ストローク#2−1からストローク#2−13を結ぶことにより「う」の下の部品が表現されて、上の部品と合わせてひらがな文字「う」の全体が表現される。   FIG. 2A shows a hiragana character “U” displayed in a size of 256 pixels × 256 pixels. In FIG. 2A, the hiragana character “U” is stroke # 1-1, stroke # 1-2, stroke # 1-3, stroke # 1-4, stroke # 2-1, and stroke # 2-. 2, stroke # 2-3, stroke # 2-4, stroke # 2-5, stroke # 2-6, stroke # 2-7, stroke # 2-8, stroke # 2-9 Stroke # 2-10, stroke # 2-11, stroke # 2-12, and stroke # 2-13. In stroke # 1-1, the end point (1) a (85, 240) and the end point (2) a (79, 215) are connected by a straight line. Stroke # 1-2 includes end point (2) a (79, 215) and end point (3) a (176, 199) as direction point (2) a-1 (117, 208) and direction point (2) a-2. Connected by a Bezier curve composed of (148, 202). In the slot talk # 1-3, the end point (3) a (176, 199) and the end point (4) a (181, 223) are connected by a straight line. Stroke # 1-4 includes end point (4) a (181, 223) and end point (1) a (85, 240) as direction point (4) a-1 (153, 225) and direction point (4) a-2. They are connected by a Bezier curve composed of (123, 232). By connecting the stroke # 1-1, the stroke # 1-2, the stroke # 1-3, and the stroke # 1-4, a part above “U” is expressed. Similarly, by connecting stroke # 2-1 to stroke # 2-13, the part under “U” is expressed, and the entire hiragana character “U” is expressed together with the upper part.

図2Bは、256画素×256画素のサイズで表示されたひらがな文字「と」を示している。図2Bにおいて、ひらがな文字「と」は、ストローク#3−1〜ストローク#3−19を含む。ストローク#3−1は端点(1)c(91,235)と端点(2)c(95,169)が直線によって結ばれる。ストローク#3−2は端点(2)c(95,169)と端点(3)c(102,136)が方向点(2)c−1(97,157)と方向点(2)c−2(98,145)で構成されるベジェ曲線によって結ばれる。同様に、ストローク#3−3からストローク#3−19が結ばれ、ストローク#3−1からストローク#3−19を結ぶことによりひらがな文字「と」の全体が表現される。   FIG. 2B shows hiragana characters “to” displayed in a size of 256 pixels × 256 pixels. In FIG. 2B, the hiragana character “to” includes stroke # 3-1 to stroke # 3-19. In stroke # 3-1, the end point (1) c (91, 235) and the end point (2) c (95, 169) are connected by a straight line. Stroke # 3-2 includes end point (2) c (95,169) and end point (3) c (102,136) as direction point (2) c-1 (97,157) and direction point (2) c-2. Connected by a Bezier curve composed of (98, 145). Similarly, stroke # 3-3 is connected to stroke # 3-19, and stroke # 3-1 to stroke # 3-19 is connected to express the entire hiragana character “to”.

図2Cは、256画素×256画素のサイズで表示されたひらがな文字「ふ」を示している。図2Cにおいて、ひらがな文字「ふ」は、ストローク#4−1〜ストローク#4−4と、ストローク#5−1〜ストローク#5−17と、ストローク#6−1〜ストローク#6−4と、ストローク#7−1〜ストローク#7−4とを含む。ストローク#4−1は端点(1)d(94,229)と端点(2)d(82,209)が直線によって結ばれる。ストローク#4−2は端点(2)d(82,209)と端点(3)d(50,180)が方向点(2)d−1(97,203)と方向点(2)d−2(17,190)で構成されるベジェ曲線によって結ばれる。同様に、ストローク#4−3およびストローク#4−4が結ばれ、ストローク#4−1からストローク#4−4を結ぶことによりひらがな文字「ふ」の上の部品が表現される。同様に、ストローク#5−1からストローク#5−17を結ぶことによりひらがな文字「ふ」の中央の部品が表現され、ストローク#6−1からストローク#6−4を結ぶことによりひらがな文字「ふ」の左の部品が表現され、ストローク#7−1からストローク#7−4を結ぶことによりひらがな文字「ふ」の右の部品が表現されて、上の部品と合わせてひらがな文字「ふ」の全体が表現される。   FIG. 2C shows the hiragana character “fu” displayed in a size of 256 pixels × 256 pixels. In FIG. 2C, the hiragana character “fu” is stroke # 4-1 to stroke # 4-4, stroke # 5-1 to stroke # 5-17, stroke # 6-1 to stroke # 6-4, Stroke # 7-1 to Stroke # 7-4 are included. In stroke # 4-1, the end point (1) d (94, 229) and the end point (2) d (82, 209) are connected by a straight line. Stroke # 4-2 has end point (2) d (82, 209) and end point (3) d (50, 180) as direction point (2) d-1 (97, 203) and direction point (2) d-2. Connected by a Bezier curve composed of (17, 190). Similarly, stroke # 4-3 and stroke # 4-4 are connected, and by connecting stroke # 4-1 to stroke # 4-4, the part above hiragana character “F” is expressed. Similarly, the center part of the hiragana character “fu” is expressed by connecting stroke # 5-1 to stroke # 5-17, and the hiragana character “fu” is expressed by connecting stroke # 6-1 to stroke # 6-4. The left part of "" is represented, and by connecting stroke # 7-1 to stroke # 7-4, the right part of the hiragana character "fu" is represented, and together with the upper part, the hiragana character "fu" The whole is expressed.

図3A〜図3Cは、図1に示す補助メモリ40中のデータ42における文字データ42aの一例を示す図である。文字データ42aは、例えば、フォントデータである。   3A to 3C are diagrams showing an example of character data 42a in the data 42 in the auxiliary memory 40 shown in FIG. The character data 42a is, for example, font data.

図3Aは、図2Aに表示例を示すひらがな文字「う」の文字データを示している。図3Aにおいて、ストローク#1−1は方向点に座標データがないため、端点の点番号(1)a(85,240)と端点の点番号(2)a(79,215)を結ぶ直線になる。また、ストローク#1−2は、方向点に座標データがあるため、端点(2)a(79,215)と端点(3)a(176,199)を方向点(2)a−1(117,208)と方向点(2)a−2(148,202)で構成されるベジェ曲線で結んだ曲線になる。ストローク#1−3以下も同様である。   FIG. 3A shows character data of the hiragana character “U” shown in FIG. 2A. In FIG. 3A, since stroke # 1-1 has no coordinate data at the direction point, it is a straight line connecting the end point number (1) a (85, 240) and the end point number (2) a (79, 215). Become. Since stroke # 1-2 has coordinate data at the direction point, the end point (2) a (79, 215) and the end point (3) a (176, 199) are converted into the direction point (2) a-1 (117). 208) and a direction point (2) a-2 (148, 202). The same applies to strokes # 1-3 and thereafter.

図3Bは、図2Bに表示例を示すひらがな文字「と」の文字データを示している。図3Bにおいて、ストローク#3−1は方向点に座標データがないため、端点の点番号(1)c(91,235)と端点の点番号(2)c(95,169)を結ぶ直線になる。また、ストローク#3−2は、方向点に座標データがあるため、端点(2)c(95,169)と端点(3)c(102,136)を方向点(2)c−1(97,157)と方向点(2)c−2(98,145)で構成されるベジェ曲線で結んだ曲線になる。ストローク#3−3以下も同様である。   FIG. 3B shows character data of the hiragana characters “to” whose display example is shown in FIG. 2B. In FIG. 3B, since stroke # 3-1 has no coordinate data at the direction point, it is a straight line connecting the end point number (1) c (91, 235) and the end point number (2) c (95, 169). Become. Also, since stroke # 3-2 has coordinate data at the direction point, the end point (2) c (95, 169) and the end point (3) c (102, 136) are converted into the direction point (2) c-1 (97 , 157) and the direction point (2) c-2 (98, 145). The same applies to strokes # 3-3 and subsequent.

図3Cは、図2Cに表示例を示すひらがな文字「ふ」の文字データを示している。図3Cにおいて、ストローク#4−1は方向点に座標データがないため、端点の点番号(1)d(94,229)と端点の点番号(2)d(82,209)を結ぶ直線になる。また、ストローク#4−2は、方向点に座標データがあるため、端点(2)d(82,209)と端点(3)d(50,180)を方向点(2)d−1(97,203)と方向点(2)d−2(17,190)で構成されるベジェ曲線で結んだ曲線になる。ストローク#4−3以下も同様である。   FIG. 3C shows character data of the hiragana character “fu” shown in FIG. 2C. In FIG. 3C, since stroke # 4-1 has no coordinate data at the direction point, it is a straight line connecting the end point number (1) d (94, 229) and the end point number (2) d (82, 209). Become. Further, since stroke # 4-2 has coordinate data at the direction point, the end point (2) d (82, 209) and the end point (3) d (50, 180) are converted into the direction point (2) d-1 (97. , 203) and a Bezier curve composed of direction points (2) d-2 (17, 190). The same applies to strokes # 4-3 and thereafter.

図4は、図1に示す文字列データ生成プログラム41による処理手順を示すフローチャートである。文字列データ生成プログラム41は、CPU21によって実行される。   FIG. 4 is a flowchart showing a processing procedure by the character string data generation program 41 shown in FIG. The character string data generation program 41 is executed by the CPU 21.

以下に、図1〜図4を参照しながら、文字列データ生成プログラム41の処理手順について、図4のステップ毎に説明する。なお、以下では、図2および図3に示す文字について説明しているが、ここで処理される対象文字は、これに限定されるものではない。   Hereinafter, the processing procedure of the character string data generation program 41 will be described step by step in FIG. 4 with reference to FIGS. In the following, the characters shown in FIGS. 2 and 3 are described, but the target characters processed here are not limited to these.

図4のステップS1:文字列をなす文字数が、入力手段30を介してメインメモリ22に入力され、変数mに文字数が入力される。例えば図5に示すように文字列が「とうふ」であれば変数mには「3」が入力される。   Step S1 in FIG. 4: The number of characters forming the character string is input to the main memory 22 via the input means 30, and the number of characters is input to the variable m. For example, as shown in FIG. 5, if the character string is “Tofu”, “3” is input to the variable m.

図4のステップS2:カウンタ変数nが「0」に初期化される。   Step S2 in FIG. 4: The counter variable n is initialized to “0”.

図4のステップS3:文字列のうちのn+1番目の文字情報(文字コード406)が入力手段30を介してメインメモリ22に入力される。補助メモリに40に格納されている文字データ42aの中から、入力された文字情報に対応する文字データが補助メモリ40から読み取られる。読み取られた文字データは、文字の形状を示すデータであり、例えば、図2A〜図2Cに示されるようなデータである。   Step S3 in FIG. 4: The (n + 1) th character information (character code 406) in the character string is input to the main memory 22 via the input means 30. Character data corresponding to the input character information is read from the auxiliary memory 40 from among the character data 42 a stored in the auxiliary memory 40. The read character data is data indicating the shape of the character, for example, data as shown in FIGS. 2A to 2C.

図4のステップS4:文字データに基づいて、256ドット×256ドットのビットマップ上に黒く塗りつぶされた文字データが、例えば図6に示されるように生成される。生成された文字データがメインメモリ22に入力される。   Step S4 in FIG. 4: Based on the character data, character data blacked out on a 256 dot × 256 dot bitmap is generated as shown in FIG. 6, for example. The generated character data is input to the main memory 22.

図4のステップS5:256ドット×256ドットのビットマップ上に生成された文字データをシルエット化(文字の形態を閉曲線の内部に設定する処理;図8参照)するために、次のサブステップが実行される。ここでは、分かりやすくするために、図6に示すフローチャートと図7に示す漢字「上」を用いて説明する。   Step S5 in FIG. 4: In order to silhouette the character data generated on the 256 dot × 256 dot bitmap (processing for setting the character form inside the closed curve; see FIG. 8), the following sub-steps are performed: Executed. Here, for easy understanding, the flowchart shown in FIG. 6 and the kanji character “up” shown in FIG. 7 will be used.

図6のサブステップSS1:ストローク上の画素について、y座標が最小の点が求められる。y座標が同じ点がある場合には、x座標が小さい方が選ばれる。このようにして求められた点が図7にP0として示されている。   Sub-step SS1: the pixel with the smallest y coordinate is obtained for the pixel on the stroke. If there are points with the same y coordinate, the smaller x coordinate is selected. The point thus obtained is shown as P0 in FIG.

図6のサブステップSS2:角度を格納する変数θが「0」に、Piのiが「0」に初
期化される。
Sub-step SS2 of FIG. 6: The variable θ for storing the angle is initialized to “0” and Pi i is initialized to “0”.

図6のサブステップSS3:文字輪郭を構成する全ての点とPiについて、水平線となす角度が求められる。その中で、θ以上で最小の角度を持つ点が選ばれ、Pi+1とされる。但し、同じ角度の点が複数ある場合には、より遠い点が選ばれるものとする。図7では、P1の間で水平線となす角度がΔθ1である点P2、P2との間で水平線となす角度がΔθ2である点P3、P3との間でなす角度がΔθ3である点がP4と順次設定されている。   Sub-step SS3 of FIG. 6: The angles formed with the horizontal line are obtained for all points and Pi that constitute the character outline. Among them, a point having a minimum angle equal to or larger than θ is selected and set to Pi + 1. However, when there are a plurality of points having the same angle, a farther point is selected. In FIG. 7, the point formed between the points P2 and P3 where the angle formed with the horizontal line between P1 and ΔP1 is P2 and P2 between the points P2 and P2 between which is Δθ2 and the angle formed between ΔP3 and P3 is P4 It is set sequentially.

図6のサブステップSS4:Pi+1がP0と等しい場合(YES)には処理が終了され、図4のステップ6の処理に移る。それ以外の場合(NO)には、サブステップSS5の処理に移る。   If sub-step SS4 in FIG. 6: Pi + 1 is equal to P0 (YES), the process ends, and the process proceeds to step 6 in FIG. In other cases (NO), the process proceeds to sub-step SS5.

図6のサブステップSS5:iが増分され、サブステップSS3の処理に移る。   Sub-step SS5: i in FIG. 6 is incremented, and the process proceeds to sub-step SS3.

図2Aの「う」のデータについて、ステップS5のシルエット化が行われた結果を図8に示している。   FIG. 8 shows the result of the silhouette conversion performed on the data “U” in FIG. 2A in step S5.

図8に示すように、ひらがなも字「う」のデータについて、U_P1(85,240)とU_P2(52,154)とU_P3(93,35)とU_P4(109,12)とU_P5(199,135)とU_P6(181,223)とU_P1(85,240)を結ぶ直線で囲まれた部分が質量(黒)で塗りつぶされたシルエットが形成されている。   As shown in FIG. 8, U_P1 (85, 240), U_P2 (52, 154), U_P3 (93, 35), U_P4 (109, 12), and U_P5 (199, 135) for the data of the hiragana character “U”. ), U_P6 (181, 223), and U_P1 (85, 240), a portion surrounded by a straight line is filled with a mass (black).

図4のステップS6:文字の形態に基づいて、対象特性値を算出する処理が行われる。ここでは、ステップS5で生成されたシルエットに対して、図9に示す計算式によって、文字の特性としての文字重心値を算出するための重心計算処理が行われる。図9に示す計算式は、上記式1〜3において重み値ωを1としたものである。   Step S6 in FIG. 4: Processing for calculating the target characteristic value is performed based on the character form. Here, a centroid calculation process for calculating a character centroid value as a character characteristic is performed on the silhouette generated in step S5 by the calculation formula shown in FIG. The calculation formula shown in FIG. 9 is one in which the weight value ω is 1 in the above formulas 1-3.

図10に、対象特性値としての文字重心値の計算結果を示している。例えば、「と」の場合、文字重心値は図9の式によって116.21と求められる。また、「う」の場合、文字重心値は図9の式によって132.41と求められる。さらに、「ふ」の場合、文字重心値は図9の式によって107.99と求められる。   FIG. 10 shows the calculation result of the character centroid value as the target characteristic value. For example, in the case of “to”, the character centroid value is obtained as 116.21 by the equation of FIG. In the case of “U”, the character centroid value is obtained as 132.41 by the equation of FIG. Further, in the case of “fu”, the character centroid value is obtained as 107.99 by the equation of FIG.

図4のステップS7:文字の対象特性値である文字重心値がメインメモリ22に保存される。   Step S7 in FIG. 4: The character centroid value, which is the target characteristic value of the character, is stored in the main memory 22.

図4のステップS8:カウンターが一つ増分される。   Step S8 in FIG. 4: The counter is incremented by one.

図4のステップS9:カウンターと文字数が等しい場合(YES)は、ステップS10の処理に移る。等しくない場合は、ステップS3に戻る。   Step S9 in FIG. 4: If the number of characters is equal to the counter (YES), the process proceeds to step S10. If they are not equal, the process returns to step S3.

図4のステップS10:文字列を構成する文字の対象特性値から基準特性値を算出する処理が行われる。ここでは、図10に示すように、メインメモリ22に保存されていた対象特性値の平均値が算出される。「と」、「う」および「ふ」の平均値は118.87になり、その値が基準特性値とされる。   Step S10 in FIG. 4: A process of calculating the reference characteristic value from the target characteristic value of the characters constituting the character string is performed. Here, as shown in FIG. 10, the average value of the target characteristic values stored in the main memory 22 is calculated. The average value of “to”, “u”, and “fu” is 118.87, and this value is used as the reference characteristic value.

図4のステップS11:基準特性値と各文字の対象特性値が比較される。ここでは、基準特性値と対象特性値との乖離(差分)に対して、特定の比率が乗算される。乗算値は1を基準とするが、プラス値であってもマイナス値であってもよい。ここでは乗算値は1とする。   Step S11 in FIG. 4: The reference characteristic value and the target characteristic value of each character are compared. Here, the specific ratio is multiplied by the deviation (difference) between the reference characteristic value and the target characteristic value. The multiplication value is based on 1, but may be a positive value or a negative value. Here, the multiplication value is 1.

図4のステップS12:基準特性値と対象特性値との比較結果に応じて文字が変形される。ここでは、各文字の文字重心値が基準特性値と同じになるまで、文字が移動される。例えば、「と」の場合、対象特性値である文字重心値は116.21であるので、基準特性値との差分2.66だけ、データがy方向に移動される。また、「う」の場合、基準値との差分−13.54だけ、データがy方向に移動される。さらに、「ふ」の場合、基準値との差分10.88だけ、y方向に移動される。変形された文字は、表示手段10の表示画面上に表示される。   Step S12 in FIG. 4: The character is deformed according to the comparison result between the reference characteristic value and the target characteristic value. Here, the character is moved until the character centroid value of each character becomes equal to the reference characteristic value. For example, in the case of “to”, the character centroid value as the target characteristic value is 116.21, and thus the data is moved in the y direction by a difference 2.66 from the reference characteristic value. In the case of “U”, the data is moved in the y direction by a difference of −13.54 from the reference value. Further, in the case of “F”, the difference is moved by 10.88 from the reference value in the y direction. The deformed character is displayed on the display screen of the display means 10.

移動前の状態を図11(a)に示し、移動した後の状態を図11(b)に示している。図11(b)を見ると、文字の重心位置が調整されたことがわかる。   FIG. 11A shows the state before the movement, and FIG. 11B shows the state after the movement. From FIG. 11B, it can be seen that the center of gravity position of the character has been adjusted.

同様に、図形に対して同じステップにより処理を行ったものを図15(a)と図15(b)に示している。移動前の状態を図15(a)に示し、移動した後の状態を図15(b)に示している。   Similarly, FIG. 15 (a) and FIG. 15 (b) show the result of processing performed on the figure by the same steps. The state before the movement is shown in FIG. 15 (a), and the state after the movement is shown in FIG. 15 (b).

図15(b)を見ると、重心位置が調整されたことがわかる。   From FIG. 15B, it can be seen that the position of the center of gravity has been adjusted.

さらに、隣接する少なくとも1つ以上の文字が変わるごとに基準特性値の再計算することによって、常に文字重心値が揃った文字列を表示手段10に表示させることもできる。   Further, by recalculating the reference characteristic value every time at least one adjacent character changes, it is possible to always display a character string having a uniform character centroid value on the display means 10.

以上、図を参照しながら文字列データ生成装置100について説明した。この文字データ装置100は、本発明の実施形態の処理装置として機能する。
(可読記録媒体)
文字列データ生成装置100には、上述したように、データ処理装置の機能を実行させるための制御プログラムとしてのデータ処理プログラム(プログラム41)が格納されている。この制御プログラムは、コンピュータの出荷時に、文字列データ生成装置100に含まれる格納手段に予め格納されていてもよい。または、コンピュータの出荷後に、これらの制御プログラムを格納手段に格納するようにしてもよい。
The character string data generation device 100 has been described above with reference to the drawings. The character data device 100 functions as a processing device according to the embodiment of the present invention.
(Readable recording medium)
As described above, the character string data generation device 100 stores a data processing program (program 41) as a control program for executing the functions of the data processing device. This control program may be stored in advance in storage means included in the character string data generation device 100 when the computer is shipped. Alternatively, these control programs may be stored in the storage means after the computer is shipped.

例えば、ユーザがインターネット上の特定のウェブサイトからこれらの制御プログラムを有料または無料でダウンロードし、そのダウンロードされたプログラムをコンピュータにインストールするようにしてもよい。これらのプログラムがフレキシブルディスク、CD−ROM、DVD−ROMなどのコンピュータ読み取り可能な可読記録媒体に記録されている場合には、読取装置(例えば、ディスクドライブ装置)を用いてこれらの制御プログラムをコンピュータにインストールするようにしてもよい。インストールされた制御プログラムは、格納手段に格納される。
(制御プログラムについて)
上記実施形態では、文字列データを生成する場合を例に挙げて説明したが、本発明はこれに限定されない。文字列データを生成する場合に代えてまたは、文字列データを生成する場合に加えて、基準特性値を算出する場合にも本発明を適用することができる。この場合、図1に示す文字列データ生成プログラム41に代えてまたは、文字列データ生成プログラム41に加えて、基準特性値算出プログラムを使用するようにすればよい。
For example, the user may download these control programs from a specific website on the Internet for a fee or free of charge, and install the downloaded programs on the computer. When these programs are recorded on a computer-readable readable recording medium such as a flexible disk, a CD-ROM, or a DVD-ROM, these control programs are stored in a computer using a reading device (for example, a disk drive device). You may make it install in. The installed control program is stored in the storage means.
(About control program)
In the above embodiment, the case of generating character string data has been described as an example, but the present invention is not limited to this. Instead of generating character string data, or in addition to generating character string data, the present invention can also be applied to calculating a reference characteristic value. In this case, a reference characteristic value calculation program may be used instead of or in addition to the character string data generation program 41 shown in FIG.

この基準特性値算出プログラムを使用する場合には、文字列データ生成装置100は、基準特性値算出装置として機能する。基準特性値算出プログラムは、図1に示すCPU21によって実行される。基準特性値算出装置は、基準特性値を算出し、算出した基準特性値を出力する。算出された基準特性値は、例えば、図1に示す表示手段10に出力されて、表示手段10には、特性値が反映されて表示される。   When this reference characteristic value calculation program is used, the character string data generation device 100 functions as a reference characteristic value calculation device. The reference characteristic value calculation program is executed by the CPU 21 shown in FIG. The reference characteristic value calculation device calculates a reference characteristic value and outputs the calculated reference characteristic value. The calculated reference characteristic value is output to, for example, the display unit 10 shown in FIG. 1 and displayed on the display unit 10 while reflecting the characteristic value.

さらに、文字データを生成する場合に代えてまたは、文字データを生成する場合に加えて、図形データを生成する場合にも本発明を適用することができる。この場合、図1に示す文字列データ生成プログラム41に代えてまたは、文字列データ生成プログラム41に加えて、図形データ生成プログラムを使用するようにすればよい。なお、図形には、例えば、模様や記号などが含まれる。   Furthermore, the present invention can be applied to the case of generating graphic data instead of generating character data or in addition to generating character data. In this case, a graphic data generation program may be used instead of or in addition to the character string data generation program 41 shown in FIG. The figure includes, for example, a pattern or a symbol.

さらに、図形データ生成プログラムを使用する場合には、文字列データ生成装置100は、図形データ生成装置として機能する。図形データ生成プログラムは、図1に示すCPU21によって実行される。図形データ生成装置は、少なくとも1つの変形図形データを生成し、生成された少なくとも1つの変形図形データに基づいて少なくとも1つの基準特性値を算出し、少なくとも1つの基準特性値のうちの1つに対応する変形図形データを出力する。   Furthermore, when using a graphic data generation program, the character string data generation device 100 functions as a graphic data generation device. The graphic data generation program is executed by the CPU 21 shown in FIG. The graphic data generating device generates at least one deformed graphic data, calculates at least one reference characteristic value based on the generated at least one deformed graphic data, and sets it as one of the at least one reference characteristic value. Output the corresponding deformed figure data.

以上により、本実施形態にあっては、対象となる文字列を構成する文字の形態に基づいて、文字の特性値として対象文字の固有の特性を示す対象特性値を算出する対象特性値算出手段216と、一または複数の対象特性値から一つの基準特性値を算出する基準特性値算出手段219と、これらの対象特性値と基準特性値を比較する比較手段220と、この比較手段220による比較結果に応じて対象文字列を構成する文字をそれぞれ変形制御する変形制御手段221とを有している。これによって、字母毎の特性値のばらつきを調整して、より読みやすい文字を生成することができる。   As described above, in the present embodiment, the target characteristic value calculation means for calculating the target characteristic value indicating the characteristic specific to the target character as the character characteristic value based on the form of the character constituting the target character string. 216, reference characteristic value calculation means 219 for calculating one reference characteristic value from one or a plurality of target characteristic values, comparison means 220 for comparing these target characteristic values with the reference characteristic value, and comparison by the comparison means 220 It has deformation control means 221 for controlling deformation of the characters constituting the target character string according to the result. This makes it possible to adjust the variation in the characteristic value for each character and generate a character that is easier to read.

なお、上記実施形態では、文字データ生成装置100が、対象となる文字列を構成する文字の形態に基づいて、文字の特性値として対象文字の固有の特性を示す対象特性値の一または複数から一つの基準特性値を算出する第2算出手段としての基準特性値算出手段219を有する場合について説明したが、この基準特性値算出手段219を有する場合に代えて、上記基準特性値として、一または複数の対象特性値の平均値、中央値、最頻値、最大値および最小値のいずれかの値、またはそれらの値の近傍値となるべき値を、予め予測して記憶部である補助メモリ40に保持しておき、比較手段220により、この予測して取得した基準特性値と対象特性値を比較するようにしてもよい。この場合には、第2算出手段を設ける場合に比べて基準特性値としての精度は多少落ちるものの、字母毎の特性値のばらつきを調整して、より読みやすい文字を生成することができる本発明の目的を達成することができる。
よって、この場合の本発明の文字データ生成装置は、対象となる対象文字または図形列を構成する文字または図形の形態に基づいて、文字または図形の特性値として該対象文字または図形の固有の特性を示す対象特性値を算出する第1算出手段としての対象特性値算出手段216と、取得した基準特性値と該対象特性値を比較する比較手段220と、この比較手段220による比較結果に応じて対象文字または図形列を構成する文字または図形をそれぞれ制御する制御手段としての変形制御手段221とを有する。また同様に、本発明のデータ処理方法としての文字データ生成方法は、対象特性値算出手段216により、対象となる対象文字または図形列を構成する文字または図形の形態に基づいて、文字または図形の特性値として対象文字または図形の固有の特性を示す対象特性値を算出する第1算出ステップと、比較手段220により、取得した基準特性値と該対象特性値を比較する比較ステップと、変形制御手段221により、比較手段220による比較結果に応じて対象文字または図形列を構成する文字または図形をそれぞれ制御する制御ステップとを有するものであり、そのことにより上記目的が達成される。この方法の場合にも、基準特性値は、予め取得されて記憶部である補助メモリ40に保持されていてもよく、または、対象特性値の一または複数から一つの基準特性値を算出する第2算出ステップとしての基準特性値算出手段219をさらに有していてもよい。
以上のように、本発明の好ましい実施形態を用いて本発明を例示してきたが、本発明は、この実施形態に限定して解釈されるべきものではない。本発明は、特許請求の範囲によってのみその範囲が解釈されるべきであることが理解される。当業者は、本発明の具体的な好ましい実施形態の記載から、本発明の記載および技術常識に基づいて等価な範囲を実施することができることが理解される。本明細書において引用した特許、特許出願および文献は、その内容自体が具体的に本明細書に記載されているのと同様にその内容が本明細書に対する参考として援用されるべきであることが理解される。
In the above-described embodiment, the character data generation device 100 determines whether the character characteristic value is one or more of the target characteristic values indicating the characteristic characteristic of the target character as the character characteristic value based on the character form of the target character string. The case of having the reference characteristic value calculating means 219 as the second calculating means for calculating one reference characteristic value has been described, but instead of having the reference characteristic value calculating means 219, the reference characteristic value may be one or Auxiliary memory that is a storage unit that predicts in advance a value that should be an average value, median value, mode value, maximum value, and minimum value of a plurality of target characteristic values, or a value that is close to those values. The reference characteristic value obtained by the comparison may be compared with the target characteristic value by the comparison unit 220. In this case, although the accuracy as the reference characteristic value is somewhat lower than in the case where the second calculating means is provided, the present invention can generate a more readable character by adjusting the variation of the characteristic value for each character. Can achieve the purpose.
Therefore, in this case, the character data generation device of the present invention has a characteristic characteristic of the target character or graphic as a characteristic value of the character or graphic based on the character or graphic form constituting the target character or graphic string. A target characteristic value calculating unit 216 as a first calculating unit that calculates a target characteristic value indicating the target characteristic value, a comparing unit 220 that compares the acquired reference characteristic value with the target characteristic value, and a comparison result by the comparing unit 220 It has a deformation control means 221 as a control means for controlling each character or figure constituting the target character or figure string. Similarly, in the character data generation method as the data processing method of the present invention, the target characteristic value calculation means 216 uses the character or graphic form of the target character or graphic string to be the target character or graphic string. A first calculation step for calculating a target characteristic value indicating a characteristic characteristic of the target character or figure as a characteristic value; a comparison step for comparing the reference characteristic value acquired by the comparison unit 220 with the target characteristic value; and a deformation control unit. 221 has a control step for controlling the character or graphic constituting the target character or graphic string according to the comparison result by the comparing means 220, whereby the above object is achieved. Also in this method, the reference characteristic value may be acquired in advance and held in the auxiliary memory 40 that is a storage unit, or the reference characteristic value may be calculated from one or a plurality of target characteristic values. Further, reference characteristic value calculation means 219 may be further provided as two calculation steps.
As mentioned above, although this invention has been illustrated using preferable embodiment of this invention, this invention should not be limited and limited to this embodiment. It is understood that the scope of the present invention should be construed only by the claims. It is understood that those skilled in the art can implement an equivalent range based on the description of the present invention and the common general technical knowledge from the description of specific preferred embodiments of the present invention. Patents, patent applications, and documents cited herein should be incorporated by reference in their entirety, as if the contents themselves were specifically described herein. Understood.

本発明は、文字列または図系列を構成する文字(記号を含む)または図形の固有の特性を示す特性値を算出し、算出された特性値から基準特性値を算出し、個々の文字または図形の特性値と基準特性値を比較して、文字データまたは図形データの処理を制御するデータ処理装置、これを用いたデータ処理方法、このデータ処理装置を表示や印字などの出力部に用いた例えば携帯端末(PDA)装置および携帯電話装置などの携帯型情報通信機器の他、デジタルテレビジョンやパーソナルコンピュータなどの電子情報機器、この画像処理方法の各処理ステップをコンピュータに実行させるための制御プログラムおよびこれを記録したコンピュータ読み取り可能な可読記録媒体の分野において、文字または図形の形態に基づいて、主観的文字の重心や中心のように人によりばらつかず、誰が算出しても固有の値を求めることができる。本発明で算出される特性値は、文字の形態に基づいた文字の特性を示す値であり、文字の見やすさ、品位を示す値として機器で処理できる。さらに、求められた一つ以上の特性値を用いて、字母毎にばらつかない基準特性値を求めることができる。その基準特性値に各文字または図形の特性値を合わせることによって、より読みやすい文字または図形列を生成することができる。   The present invention calculates a characteristic value indicating a characteristic characteristic of a character (including a symbol) or a figure constituting a character string or a figure series, calculates a reference characteristic value from the calculated characteristic value, and determines each character or figure. A data processing device that controls the processing of character data or graphic data by comparing the characteristic value of the data and the reference characteristic value, a data processing method using the data processing device, and the data processing device used for an output unit such as display or printing In addition to portable information communication devices such as portable terminal (PDA) devices and cellular phone devices, electronic information devices such as digital televisions and personal computers, a control program for causing a computer to execute each processing step of this image processing method, and In the field of computer-readable readable recording media in which this is recorded, subjective character duplication is based on the form of characters or figures. Not fluctuated by a person as or center, who can be calculated determine a unique value. The characteristic value calculated in the present invention is a value indicating the character characteristic based on the character form, and can be processed by the device as a value indicating the legibility and quality of the character. Further, a reference characteristic value that does not vary for each character can be obtained using one or more obtained characteristic values. By matching the characteristic value of each character or graphic with the reference characteristic value, it is possible to generate a character or graphic string that is easier to read.

Claims (25)

対象となる対象文字または図形列を構成する文字または図形の形態に基づいて、文字または図形の特性値として該対象文字または図形の固有の特性を示す対象特性値を算出する第1算出手段と、
該対象文字または図形のすべての該対象特性値に基づいて一つの基準特性値を算出する第2算出手段と、
算出した該基準特性値と該対象特性値を比較する比較手段と、
該比較手段による比較結果に応じて該対象文字または図形列を構成するすべての文字または図形の該対象特性値が、算出した該基準特性値に揃うように、当該文字または図形をそれぞれ変形または移動させる処理を制御する制御手段と
該対象文字または図形列を構成する文字または図形数m(mは2以上の自然数)を読み取る文字または図形数読取手段と、
カウンタ変数nを「0」に初期化するカウンタ変数初期化手段と、
文字または図形形状を示す文字または図形データを読み取る文字または図形データ読取手段と、
読み取られた文字または図形データに基づいてビットマップ上に文字または図形データを生成する文字または図形データ生成手段と、
該ビットマップ上に生成された文字または図形データをシルエット化するシルエット化手段と、
該文字または図形の対象特性値として文字または図形の重心値を記憶部に保存させる文字または図形重心値保存手段と、
該カウンタ変数nをインクリメントして新たなカウンタ変数nとし、当該カウンタ変数nが該文字または図形数mと等しくなるまで、該文字または図形データ読取手段、該文字または図形データ生成手段、該シルエット化手段、該第1算出手段および該文字または図形重心値保存手段の各処理をこの順に繰り返すように制御する繰り返し制御手段とを有し、
該第1算出手段は、シルエット化されたデータに対して該対象特性値を算出するデータ処理装置。
First calculation means for calculating a target characteristic value indicating a characteristic characteristic of the target character or graphic as a characteristic value of the character or graphic based on a character or graphic form constituting the target character or graphic string;
Second calculating means for calculating one reference characteristic value based on all the target characteristic values of the target character or figure;
A comparison means for comparing the calculated reference characteristic value with the target characteristic value;
The character or figure is deformed or moved so that the target characteristic values of all the characters or figures constituting the target character or figure string are aligned with the calculated reference characteristic values according to the comparison result by the comparison means. Control means for controlling the processing to be performed ;
A character or figure number reading means for reading the number m of characters or figures constituting the target character or figure string (m is a natural number of 2 or more);
Counter variable initialization means for initializing the counter variable n to “0”;
Character or graphic data reading means for reading character or graphic data indicating a character or graphic shape;
Character or graphic data generating means for generating character or graphic data on a bitmap based on the read character or graphic data;
Silhouette conversion means for converting character or graphic data generated on the bitmap;
Character or figure centroid value storage means for storing a character or figure centroid value as a target characteristic value of the character or figure in a storage unit;
The counter variable n is incremented to become a new counter variable n, and until the counter variable n becomes equal to the number m of characters or figures, the character or figure data reading means, the character or figure data generating means, the silhouette Repetitive control means for controlling each process of the means, the first calculating means and the character or figure centroid value storing means to be repeated in this order,
The first calculation means is a data processing device that calculates the target characteristic value for the silhouetted data.
前記第1算出手段は、前記対象文字または図形列を構成する文字または図形の形態を含む領域上の座標点の累和、累積または相関関数に基づいて前記対象特性値を算出する請求項1に記載のデータ処理装置。  The said 1st calculation means calculates the said object characteristic value based on the accumulation of the coordinate point on the area | region containing the form of the character or figure which comprises the said object character or figure row | line | column, or a correlation function. The data processing apparatus described. 前記対象特性値は、一つの文字または図形において、単一の数値または一点の座標値として処理されている請求項1および2のいずれかに記載のデータ処理装置。  The data processing apparatus according to claim 1, wherein the target characteristic value is processed as a single numerical value or a coordinate value of one point in one character or figure. 前記対象特性値は、前記文字または図形の形態を含んで構成されている所定の範囲内にある複数の各画素の値と、該各画素の位置に対応する複数の座標とに基づいて算出される文字または図形の特性値である請求項1に記載のデータ処理装置。  The target characteristic value is calculated based on a value of each of a plurality of pixels within a predetermined range configured to include the form of the character or graphic and a plurality of coordinates corresponding to the position of each pixel. The data processing apparatus according to claim 1, wherein the data processing apparatus has characteristic values of characters or figures. 前記各画素の値を点値とし、一つの画素の座標の各軸での位置と当該画素の点値との積を点モーメントとして、各軸に対する所定の範囲内の画素の点モーメントの総和を、当該所定の範囲内の画素の点値の総和で除した値を各軸の位置として求めた値で構成される座標をもって前記文字または図形の特性値とする請求項4に記載のデータ処理装置。  The value of each pixel is a point value, and the product of the position of each pixel coordinate on each axis and the point value of the pixel is a point moment, and the sum of the point moments of pixels within a predetermined range with respect to each axis is calculated. 5. A data processing apparatus according to claim 4, wherein the character or figure characteristic value is a coordinate having a value obtained by dividing a value obtained by dividing the sum of point values of pixels within the predetermined range as a position of each axis. . 前記各画素の値として、前記画素以外の他の一つの画素との距離および両画素の値を用いて算出される新たな画素の値である2点間値を用いることによって前記文字または図形の特性値を算出する請求項5に記載のデータ処理装置。  As the value of each pixel, the distance between one pixel other than the pixel and the value between the two points, which is a new pixel value calculated using the values of both pixels, are used to determine the character or figure. The data processing apparatus according to claim 5, wherein the characteristic value is calculated. 前記2点間値を、前記画素の値と前記他の一つの画素の値との積を両画素間の距離の所定の累乗値で除することにより求め、当該画素以外の所定の範囲内にある画素との2点間値の累和を、当該画素の新たな値として処理する請求項6に記載のデータ処理装置。  The value between the two points is obtained by dividing the product of the value of the pixel and the value of the other one pixel by a predetermined power value of the distance between the two pixels, and within a predetermined range other than the pixel The data processing apparatus according to claim 6, wherein a sum of values between two points with a certain pixel is processed as a new value of the pixel. 前記各画素の値は、重みを考慮した値である請求項4に記載のデータ処理装置。  The data processing apparatus according to claim 4, wherein the value of each pixel is a value considering a weight. 前記対象文字または図形列を構成する文字または図形の形態は、文字または図形のストロークまたは文字または図形の輪郭を形成する線の先端部および点の近傍に定めた近傍点の2点を結んだ線を少なくとも一つの線上に有し、文字または図形の形状部分を過半数含んだ閉曲線で囲まれる領域の内側であり、
前記近傍点は、前記文字または図形のストロークまたは前記文字または図形の輪郭を形成する線の先端部および点で形成される文字または図形の形状上の点である請求項1に記載のデータ処理装置。
The form of the character or figure constituting the target character or figure string is a line connecting two points, the tip of the line that forms the stroke of the character or figure or the outline of the character or figure and the vicinity of the point. On at least one line, inside a region surrounded by a closed curve containing the majority of the character or figure shape part,
The data processing apparatus according to claim 1, wherein the neighboring point is a point on the shape of a character or a figure formed by a tip of a line or a point that forms a stroke of the character or the figure or an outline of the character or the figure. .
前記閉曲線は、文字または図形の輪郭を形成する線を少なくとも一つ有する請求項9に記載のデータ処理装置。  The data processing apparatus according to claim 9, wherein the closed curve has at least one line forming a contour of a character or a figure. 前記第2算出手段は、前記第1算出手段により算出された複数の対象特性値の基礎統計量に基づいて、前記基準特性値を算出する請求項1に記載のデータ処理装置。  The data processing apparatus according to claim 1, wherein the second calculation unit calculates the reference characteristic value based on a basic statistic of a plurality of target characteristic values calculated by the first calculation unit. 前記第2算出手段は、前記基準特性値として、前記複数の対象特性値の平均値、中央値、最頻値、最大値および最小値のいずれかの値を算出する請求項11に記載のデータ処理装置。  The data according to claim 11, wherein the second calculating unit calculates any one of an average value, a median value, a mode value, a maximum value, and a minimum value of the plurality of target characteristic values as the reference characteristic value. Processing equipment. 前記シルエット化手段は、前記文字または図形の形態を閉曲線の内部に設定してシルエット化する請求項1に記載のデータ処理装置。The data processing apparatus according to claim 1, wherein the silhouette forming unit sets the form of the character or the figure inside a closed curve to make a silhouette. 前記第1算出手段は、前記シルエット化されたデータに対して計算式(数1;式1〜式3)によって文字または図形の特性としての文字または図形の重心値を算出するための重心計算処理を行う重心計算処理手段を有する請求項1に記載のデータ処理装置。
ここで、Xwidthは水平方向の画素数であり、Ywidthは垂直方向の画素数であり、ωは重み値であり、g[x][y]は、座標点(x、y)における質量である。
The first calculating means calculates the center of gravity of the character or figure as the characteristic of the character or figure for the silhouetted data by a calculation formula (Equation 1; Formula 1 to Formula 3). The data processing apparatus according to claim 1, further comprising a center-of-gravity calculation processing unit.
Here, X width is the number of pixels in the horizontal direction, Y width is the number of pixels in the vertical direction, ω is a weight value, and g [x] [y] is the mass at the coordinate point (x, y). It is.
前記第2算出手段は、前記カウンタ変数nが前記文字または図形数mと等しい場合に、前記文字または図形の対象特性値から前記基準特性値を算出する請求項1に記載のデータ処理装置。2. The data processing apparatus according to claim 1, wherein the second calculation unit calculates the reference characteristic value from the target characteristic value of the character or graphic when the counter variable n is equal to the number m of the character or graphic. 前記第2算出手段は、前記基準特性値として、前記文字または図形重心値保存手段により記憶部に保存されている対象特性値の平均値、中央値、最頻値、最大値および最小値のいずれかの値を算出する請求項1に記載のデータ処理装置。The second calculation means is any one of an average value, a median value, a mode value, a maximum value, and a minimum value of the target characteristic values stored in the storage unit by the character or figure centroid value storage means as the reference characteristic value. the data processing apparatus according to claim 1 4 for calculating the Kano value. 前記比較手段は、前記基準特性値と前記対象特性値との差分を算出する請求項1に記載のデータ処理装置。  The data processing apparatus according to claim 1, wherein the comparison unit calculates a difference between the reference characteristic value and the target characteristic value. 前記比較手段は、前記基準特性値と前記対象特性値との差分に対して特定比率を乗算する請求項1または1に記載のデータ処理装置。It said comparison means, the data processing apparatus according to claim 1 or 1 7 multiplies a specific ratio to the difference between the target characteristic value and the reference characteristic value. 前記制御手段は、前記比較手段によって算出された差分に応じて、前記対象文字または図形列を構成する各文字または図形をそれぞれ変形または移動させる請求項1または1に記載のデータ処理装置。Wherein, in response to the calculated difference by the comparison means, the data processing device according to the characters or graphics constituting the object character or graphic sequence in claim 1 or 1 7 is deformed or moved, respectively. 前記制御手段は、前記文字または図形の重心値が基準特性値と同じになるまで、各文字または図形をそれぞれ変形または移動するように制御する請求項1に記載のデータ処理装置。  The data processing apparatus according to claim 1, wherein the control unit controls each character or figure to be deformed or moved until a centroid value of the character or figure becomes equal to a reference characteristic value. 請求項1に記載のデータ処理装置を表示または印字用の出力部に用いた電子情報機器。  An electronic information device using the data processing device according to claim 1 as an output unit for display or printing. 第1算出手段が対象となる対象文字または図形列を構成する文字または図形の形態に基づいて、文字または図形の特性値として該対象文字または図形の固有の特性を示す対象特性値を算出する第1算出ステップと、
第2算出手段が該対象文字または図形のすべての該対象特性値に基づいて一つの該基準特性値を算出する第2算出ステップと、
比較手段が取得した基準特性値と該対象特性値を比較する比較ステップと、
制御手段が該比較ステップによる比較結果に応じて該対象文字または図形列を構成するすべての文字または図形の該対象特性値が、算出した該基準特性値に揃うように当該文字または図形をそれぞれ変形または移動させる処理を制御する制御ステップと
図形数読取手段が該対象文字または図形列を構成する文字または図形数m(mは2以上の自然数)を読み取る文字または図形数読取ステップと、
カウンタ変数初期化手段がカウンタ変数nを「0」に初期化するカウンタ変数初期化ステップと、
図形データ読取手段が文字または図形形状を示す文字または図形データを読み取る文字または図形データ読取ステップと、
図形データ生成手段が読み取られた文字または図形データに基づいてビットマップ上に文字または図形データを生成する文字または図形データ生成ステップと、
シルエット化手段が該ビットマップ上に生成された文字または図形データをシルエット化するシルエット化ステップと、
文字または図形重心値保存手段が該文字または図形の対象特性値として文字または図形の重心値を記憶部に保存させる文字または図形重心値保存ステップと、
繰り返し制御手段が該カウンタ変数nをインクリメントして新たなカウンタ変数nとし、当該カウンタ変数nが該文字または図形数mと等しくなるまで、該文字または図形データ読取ステップ、該文字または該データ生成ステップ、該シルエット化ステップ、該第1算出ステップおよび該文字または図形重心値保存ステップの各処理をこの順に繰り返すように制御する繰り返し制御ステップとを有し、
該第1算出ステップでは、シルエット化されたデータに対して前記対象特性値が算出されるデータ処理方法。
The first calculation means calculates a target characteristic value indicating a characteristic characteristic of the target character or graphic as a characteristic value of the character or graphic based on the character or graphic form constituting the target character or graphic string as a target. 1 calculation step;
A second calculating step in which a second calculating means calculates one reference characteristic value based on all the target characteristic values of the target character or graphic;
A comparison step for comparing the target characteristic value with the reference characteristic value acquired by the comparison means ;
The control means transforms the character or figure so that the target characteristic values of all the characters or figures constituting the target character or figure string are aligned with the calculated reference characteristic value according to the comparison result of the comparison step. Or a control step for controlling the process to be moved ;
A character or figure number reading step in which a figure number reading means reads a character or figure number m (m is a natural number of 2 or more) constituting the target character or figure string;
A counter variable initialization step in which the counter variable initialization means initializes the counter variable n to “0”;
A character or graphic data reading step in which the graphic data reading means reads the character or graphic data indicating the character or graphic shape;
A character or graphic data generating step for generating character or graphic data on a bitmap based on the character or graphic data read by the graphic data generating means;
A silhouetteizing step in which the silhouette generating means silhouettes the character or graphic data generated on the bitmap;
A character or figure centroid value storage step in which the character or figure centroid value storage means stores the centroid value of the character or figure in the storage unit as the target characteristic value of the character or figure;
The repetitive control means increments the counter variable n to become a new counter variable n, and the character or graphic data reading step, the character or data generating step until the counter variable n becomes equal to the number m of characters or graphics A repetitive control step for controlling the silhouette processing step, the first calculation step, and the character or figure centroid value storage step so as to be repeated in this order,
In the first calculation step, the target characteristic value is calculated for the silhouetted data.
前記第2算出ステップは、カウンタ変数nが前記文字または図形数mと等しい場合に、前記基準特性値として、前記文字または図形重心値保存手段により記憶部に保存されている対象特性値の平均値、中央値、最頻値、最大値および最小値のいずれかの値算出され
前記比較ステップは、該基準特性値と前記対象特性値との差分に対して特定比率乗算され
前記制御ステップは、前記文字または図形の重心値が基準特性値と同じになるまで、該特定比率を乗算した値に応じて各文字または図形それぞれ変形または移動するように前記処理が制御される請求項2に記載のデータ処理方法。
In the second calculation step , when the counter variable n is equal to the number m of characters or figures, the average of the target characteristic values stored in the storage unit by the character or figure centroid value storage means as the reference characteristic value value, median, mode, one of the values of the maximum and minimum values is calculated,
In the comparison step , the difference between the reference characteristic value and the target characteristic value is multiplied by a specific ratio,
In the control step, until said centroid value of a character or graphics is the same as the reference characteristic value, the processing as each character or graphics are deformed or moved respectively in accordance with a value obtained by multiplying the specific ratio is controlled the data processing method according to claim 2 2 that.
請求項22または3に記載の画像処理方法の各処理ステップをコンピュータに実行させるための制御プログラム。A control program for executing the respective processing steps of the image processing method according to the computer to claim 2 2, or 2 3. 請求項2に記載の制御プログラムが記録されたコンピュータ読み取り可能な可読記録媒体。Computer readable readable recording medium in which control program is recorded according to claims 2 to 4.
JP2007551972A 2005-12-28 2006-12-25 Data processing apparatus, data processing method, electronic information device, control program, and readable recording medium Expired - Fee Related JP4726087B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007551972A JP4726087B2 (en) 2005-12-28 2006-12-25 Data processing apparatus, data processing method, electronic information device, control program, and readable recording medium

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2005380029 2005-12-28
JP2005380029 2005-12-28
PCT/JP2006/325823 WO2007074792A1 (en) 2005-12-28 2006-12-25 Data processor, data processing method, electronic information device, control program, and readable recording medium
JP2007551972A JP4726087B2 (en) 2005-12-28 2006-12-25 Data processing apparatus, data processing method, electronic information device, control program, and readable recording medium

Publications (2)

Publication Number Publication Date
JPWO2007074792A1 JPWO2007074792A1 (en) 2009-06-04
JP4726087B2 true JP4726087B2 (en) 2011-07-20

Family

ID=38218012

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007551972A Expired - Fee Related JP4726087B2 (en) 2005-12-28 2006-12-25 Data processing apparatus, data processing method, electronic information device, control program, and readable recording medium

Country Status (2)

Country Link
JP (1) JP4726087B2 (en)
WO (1) WO2007074792A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63218992A (en) * 1986-05-20 1988-09-12 富士ゼロックス株式会社 Character display device
JPH0863591A (en) * 1995-03-08 1996-03-08 Casio Comput Co Ltd Method and device for outputting image
JP2000207393A (en) * 1999-01-20 2000-07-28 Techno Advance:Kk Character arrangement outputting device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63218992A (en) * 1986-05-20 1988-09-12 富士ゼロックス株式会社 Character display device
JPH0863591A (en) * 1995-03-08 1996-03-08 Casio Comput Co Ltd Method and device for outputting image
JP2000207393A (en) * 1999-01-20 2000-07-28 Techno Advance:Kk Character arrangement outputting device

Also Published As

Publication number Publication date
JPWO2007074792A1 (en) 2009-06-04
WO2007074792A1 (en) 2007-07-05

Similar Documents

Publication Publication Date Title
US7505041B2 (en) Iteratively solving constraints in a font-hinting language
CN101331520A (en) Stroke contrast in font hinting
JP2007058868A (en) Method and system for providing substitute computer font
US9865071B2 (en) Simulating variances in human writing with digital typography
JP2013061660A (en) Method for generating stroke-based font character for low-resolution display
JP4162670B2 (en) How to generate a silhouetted gray font
CN1702734B (en) Rendering a graphical object when a corresponding outline lacks control points
KR20060045418A (en) Character image generating apparatus, character image generating method, display control apparatus, display control method and computer-readable recording medium for recording character image generation program or display control program there on
US7609268B2 (en) Arrangement for the scaling of fonts
KR100918890B1 (en) Processing device and recording medium
JP4726087B2 (en) Data processing apparatus, data processing method, electronic information device, control program, and readable recording medium
WO2005004105A1 (en) Character display apparatus, character display method, character display program, and recording medium
JP4808220B2 (en) Character pattern generation device, character pattern generation program, and readable recording medium
JP2008111954A (en) Display controller, display control program and recording medium recorded with display control program
JP3357855B2 (en) Font processing apparatus, font processing method, and storage medium
JPH0950272A (en) Method and device for outline font generation
JPH11119762A (en) Display control device, display control method, and storage medium
WO2007026850A9 (en) Image information generator, image information generating method, image information generating program, and recording medium
JPH0259873A (en) Image processor
JPH0968963A (en) Device and method for processing character

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101015

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110118

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110316

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110407

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140422

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees