JP5713707B2 - Stroke generation device, stroke generation method, stroke generation program, character generation device, character generation method, and character generation program - Google Patents

Stroke generation device, stroke generation method, stroke generation program, character generation device, character generation method, and character generation program Download PDF

Info

Publication number
JP5713707B2
JP5713707B2 JP2011018668A JP2011018668A JP5713707B2 JP 5713707 B2 JP5713707 B2 JP 5713707B2 JP 2011018668 A JP2011018668 A JP 2011018668A JP 2011018668 A JP2011018668 A JP 2011018668A JP 5713707 B2 JP5713707 B2 JP 5713707B2
Authority
JP
Japan
Prior art keywords
stroke
influence
feature point
point
feature
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.)
Active
Application number
JP2011018668A
Other languages
Japanese (ja)
Other versions
JP2012159978A (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.)
University of Aizu
Original Assignee
University of Aizu
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 University of Aizu filed Critical University of Aizu
Priority to JP2011018668A priority Critical patent/JP5713707B2/en
Priority to KR1020110113797A priority patent/KR101500511B1/en
Publication of JP2012159978A publication Critical patent/JP2012159978A/en
Application granted granted Critical
Publication of JP5713707B2 publication Critical patent/JP5713707B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Character Discrimination (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

本発明に係るストローク生成装置、ストローク生成方法、ストローク生成プログラム、文字生成装置、文字生成方法および文字生成プログラムに関し、より詳細には、書き手によって複数回書かれた同じ文字に基づいて、書き手の文字であることを示す「個人性」を備えながらも、それぞれのストロークが異なる形状となる「変移性」を備えたストロークまたは文字を生成することが可能なストローク生成装置、ストローク生成方法、ストローク生成プログラム、文字生成装置、文字生成方法および文字生成プログラムに関する。   The present invention relates to a stroke generation device, a stroke generation method, a stroke generation program, a character generation device, a character generation method, and a character generation program according to the present invention, and more particularly, based on the same character written multiple times by a writer. Stroke generation device, stroke generation method, and stroke generation program capable of generating strokes or characters having “transition” that each stroke has a different shape while having “individuality” indicating that The present invention relates to a character generation device, a character generation method, and a character generation program.

今日では、ワープロソフトなどを用いてコンピュータ上で文章を作成することが一般的に行われている。このため、作成された文章を印刷する場合には、予め用意された書体(フォント)の中からユーザによって所定の書体が選択され、選択された書体により文字の印刷が行われている。   Today, it is common practice to create text on a computer using word processing software or the like. For this reason, when printing a prepared sentence, a predetermined font is selected by the user from fonts (fonts) prepared in advance, and characters are printed by the selected font.

しかしながら、印刷に用いられる書体は、予め用意されたバランスのよい読みやすい字体であることが多い。このため、作家や小説のジャンル等に応じて、文章の特徴・雰囲気を書体によって表現することは困難であった。このような要求に対応するため、今日では、手書き文字に似た書体が多く提案されている。   However, the typeface used for printing is often a well-balanced and easy-to-read typeface prepared in advance. For this reason, it has been difficult to express the characteristics and atmosphere of the text in a typeface according to the genre of the writer or the novel. In order to meet such demands, many fonts resembling handwritten characters have been proposed today.

しかしながら、手書き文字に似た書体であっても、その書体が予め用意された書体である場合には、同じ文字が繰り返し同じ字体(同一の書体の文字)として印刷されてしまう。一方で、実際に人の手で書かれた文章では、同じ文字が複数回記載されても、それぞれの文字は書き手の文字であると認識され得る共通した個性を備えつつ、各文字が微妙に異なったものとなることが多い。   However, even if the typeface is similar to a handwritten character, if the typeface is a typeface prepared in advance, the same character is repeatedly printed as the same typeface (character of the same typeface). On the other hand, in a sentence actually written by a human hand, even if the same character is written multiple times, each character has a common personality that can be recognized as the writer's character, and each character is subtly Often different.

書かれた文字が、同一の書き手により書かれたものと認識できる程度の類似性を「個人性」と呼び、この「個人性」を備えた文字であっても、詳細に比較すると文字が微妙に異なった形状を示す多様性の程度を「変移性」とする。   The similarity that can be recognized that the written characters are written by the same writer is called “individuality”, and even characters with this “individuality” are subtle when compared in detail. The degree of diversity showing different shapes is called “transition”.

このように、書体として予め用意された文字は、書き手の違いを認識できないため「個人性」を示さず、さらに、同じ文字は全く同一の文字(同一書体の文字)となるため「変移性」も備えていない。   In this way, characters prepared in advance as a typeface do not show “individuality” because the difference between the writers cannot be recognized, and furthermore, the same character becomes the same character (a character of the same typeface), and thus “transition”. It does not have.

一方で、書き手により書かれた文字を、ほとんど変形しないで使用する方法が提案されている(例えば、非特許文献1〜3参照)。これらの方法は主に文字・ストローク間の接続にフォーカスを合わせるために使用される方法であり、高い個人性を備えているが、入力される文字データの個数が少ない場合には、非常に低い変移性を示すものであった。   On the other hand, a method of using characters written by a writer with almost no deformation has been proposed (for example, see Non-Patent Documents 1 to 3). These methods are mainly used to focus the connection between characters and strokes, and have high personality, but very low when the number of input character data is small It showed displaceability.

また、統計的確率モデルの一種のHidden Markov model (HMM)またはBayesian networkを使って文字をモデリングし、最も確率が高い文字を生成する方法が提案されている(非特許文献4〜6参照)。Hidden Markov modelによって生成された文字は、人が読むことができる程度の文字を生成することが可能であり、Bayesian networkによって生成された文字は、人によって書かれたような形状を呈する文字を生成することが可能であった。これらの方法で生成された文字は、書き手により書かれた文字であると認識される確率が高い文字を生成できるため、中間程度の「個人性」を示すことはできるが、「変移性」が低いものであった。   Further, a method has been proposed in which a character is modeled using a Hidden Markov model (HMM) or a Bayesian network, which is a kind of statistical probability model, to generate a character with the highest probability (see Non-Patent Documents 4 to 6). Characters generated by the Hidden Markov model can generate characters that can be read by humans, and characters generated by the Bayesian network generate characters that have shapes that are written by humans. It was possible to do. Characters generated by these methods can generate characters that have a high probability of being recognized as characters written by the writer, so that they can show an intermediate “individuality”, but “transition” is It was low.

さらに、文字をGlobalに変形させる手法が提案されている(非特許文献7〜13参照)。文字をGlobalに変形させるとは、他の文字との関係が形状的に共通したものとなる変形を行うことを意味している。例えば、文字を傾斜文字(斜め文字)にしたり、強調文字にしたりして、文字の一部を変化させるのではなく文字の全体を共通して変形させる場合が該当する。   Furthermore, a method for transforming characters into Global has been proposed (see Non-Patent Documents 7 to 13). Transforming a character into Global means performing a transformation that makes the relationship with other characters common in shape. For example, the case where the character is changed into a slanted character (an oblique character) or an emphasized character and the entire character is deformed in common instead of changing a part of the character is applicable.

この手法では、文字の筆記速度を変形させたり、独立的な文字あるいは2つの文字の間の関係をモデリングし、パラメータを変えることにより文字を生成する。文字をGlobalに変形させる方法は、文字の部分的な変形(Localな変形)に関する考慮はされておらず、Globalな変形を与えることのみを目的にして開発された。文字をGlobalに変形させる方法を用いて生成された文字は、他の方法に比べて中間以上の個人性を示すとともに、中間程度の変移性を示すという特徴を有している。   In this method, a character is generated by changing the writing speed of a character, modeling an independent character or a relationship between two characters, and changing parameters. The method of transforming characters into Global was not considered for partial deformation of characters (Local deformation), and was developed only for the purpose of giving Global deformation. Characters generated by using the method of transforming characters into Global have the characteristics of exhibiting intermediate or higher personality as compared to other methods, and exhibiting intermediate transitional properties.

また、遺伝的アルゴリズムを使って多様な形状の文字を生成する方法も提案されている(例えば、非特許文献14参照)。遺伝的アルゴリズムを用いることにより、非常に多様な形状の文字を生成することができる。しかしながら、遺伝的アルゴリズムを用いて生成された文字は、個人性が失われてしまうだけでなく、読むことが難しいほど歪んだ文字が生成されてしまう場合もあるという特徴が存在した。   In addition, a method of generating characters of various shapes using a genetic algorithm has been proposed (see, for example, Non-Patent Document 14). By using a genetic algorithm, it is possible to generate characters of very various shapes. However, characters generated using a genetic algorithm have not only lost personality, but also have a feature that characters that are distorted so as to be difficult to read may be generated.

Isabelle Guyon,"Handwriting synthesis from handwritten glyphs", Proc. IWFHR'96, p.309-312, 1996Isabelle Guyon, "Handwriting synthesis from handwritten glyphs", Proc. IWFHR'96, p.309-312, 1996 C.V. Jawahar, A. Balasubramanian,"Synthesis of online handwriting in Indian languages", Proc. IWFHR'06, p.108-113, 2006C.V.Jawahar, A. Balasubramanian, "Synthesis of online handwriting in Indian languages", Proc. IWFHR'06, p.108-113, 2006 Z.Lin, L.Wan,"Style-preserving English handwriting synthesis", Pattern Recognition, Vol. 40, Issue 7, p.2097-2109, 2007Z.Lin, L.Wan, "Style-preserving English handwriting synthesis", Pattern Recognition, Vol. 40, Issue 7, p.2097-2109, 2007 B.-K.Sin, J.H. Kim,"Network-based approach to Korean handwriting analysis", Int. Journal of Pattern Recognition and Artificial Intelligence, Vol.12, No.2, p.233-249, 1998B.-K.Sin, J.H. Kim, "Network-based approach to Korean handwriting analysis", Int. Journal of Pattern Recognition and Artificial Intelligence, Vol.12, No.2, p.233-249, 1998 H. Choi, S.-J. Cho, J.H. Kim,"Generation of handwritten characters with Bayesian network based on-line handwriting recognizers", Proc. ICDAR'03, vol. 2, p.995-999, 2003H. Choi, S.-J. Cho, J.H. Kim, "Generation of handwritten characters with Bayesian network based on-line handwriting recognizers", Proc. ICDAR'03, vol. 2, p.995-999, 2003 H. Choi, J.H. Kim, "Probabilistic synthesis of personal-style handwriting", IEICE Transactions on Information and Systems, Vol. E92-D No.4, p.653-661, 2009H. Choi, J.H. Kim, "Probabilistic synthesis of personal-style handwriting", IEICE Transactions on Information and Systems, Vol. E92-D No.4, p.653-661, 2009 S. Setlur, V. Govindaraju, "Generating manifold samples from a handwritten word", Pattern Recognition Letters, Vol. 15, Issue 9, p.901-905, September 1994S. Setlur, V. Govindaraju, "Generating manifold samples from a handwritten word", Pattern Recognition Letters, Vol. 15, Issue 9, p.901-905, September 1994 J. Wang, C. Wu, Y.-Q. Xu, H.-Y. Shum, "Combining shape and physical models for online cursive handwriting synthesis", Int. Journal on Document Analysis and Recognition, Vol. 7, Issue 4, p.1433-2833, 2005J. Wang, C. Wu, Y.-Q. Xu, H.-Y. Shum, "Combining shape and physical models for online cursive handwriting synthesis", Int. Journal on Document Analysis and Recognition, Vol. 7, Issue 4 , p.1433-2833, 2005 L. Devroye, M. McDougall, "Random fonts for the simulation of handwriting", Electronic Publishing, Vol. 8, No.4, p.281-294, 1995L. Devroye, M. McDougall, "Random fonts for the simulation of handwriting", Electronic Publishing, Vol. 8, No. 4, p.281-294, 1995 M. Mori, A. Suzuki, A. Shio, S. Ohtsuka, "Generating new samples from handwritten numerals based on point correspondence", Proc. IWFHR'00, p. 281-290, 2000M. Mori, A. Suzuki, A. Shio, S. Ohtsuka, "Generating new samples from handwritten numerals based on point correspondence", Proc. IWFHR'00, p. 281-290, 2000 Y. Zheng, D. Doermann, "Handwriting matching and its application to handwriting synthesis", Proc. ICDAR'05, p.861-865, 2005Y. Zheng, D. Doermann, "Handwriting matching and its application to handwriting synthesis", Proc. ICDAR'05, p.861-865, 2005 R. Plamondon, W. Guerfali, "The generation of handwriting with delta-lognormal synergies", Biological Cybernetics, Vol. 78, p.119-132, 1998R. Plamondon, W. Guerfali, "The generation of handwriting with delta-lognormal synergies", Biological Cybernetics, Vol. 78, p.119-132, 1998 D.-H. Lee, H.-G. Cho, "A new synthesizing method for handwriting Korean scripts", Int. Journal of Pattern Recognition and AI 12(11), p.45-61, 1998D.-H. Lee, H.-G. Cho, "A new synthesizing method for handwriting Korean scripts", Int. Journal of Pattern Recognition and AI 12 (11), p.45-61, 1998 Y. Wada, K. Ohkawa, K. Sumita, "Generation of diversiform characters using a computational handwriting model and a genetic algorithm", ICANN'01, LNCS. Springer, Hedelberg, Volume 2130, p.1217-1224, 2001Y. Wada, K. Ohkawa, K. Sumita, "Generation of diversiform characters using a computational handwriting model and a genetic algorithm", ICANN'01, LNCS. Springer, Hedelberg, Volume 2130, p.1217-1224, 2001

しかしながら、上述したような従来の手書き文字生成方法では、いくつかの筆記スタイルを一つのモデルで表現することができない。具体的には、「個人性」を備えつつも、それぞれ異なった形状を示す「変移性」を備えた文字を生成する場合、従来の手書き文字生成方法では、変移性を表現することが可能な文字モデルを、その変移性の多様性に応じて複数用意しなければならないという問題があった。このため、書き手により書かれた文字の基本的なスタイルを維持しながら(つまり、「個人性」を維持しながら)、多様な手書きの文字(「変移性」を備える文字)を生成することが、従来の手書き文字生成方法では困難であるという問題があった。   However, in the conventional handwritten character generation method as described above, several writing styles cannot be expressed by one model. Specifically, in the case of generating characters with “transition” that have different shapes while having “individuality”, the conventional handwritten character generation method can express the transition. There was a problem that a plurality of character models had to be prepared according to the variety of transmutability. For this reason, it is possible to generate a variety of handwritten characters (characters with “transition”) while maintaining the basic style of characters written by the writer (ie, maintaining “individuality”). The conventional handwritten character generation method has a problem that it is difficult.

本発明は上記課題に鑑みてなされたものであり、書き手により書かれた複数の同じ文字をサンプルとして、同一の書き手により書かれた文字であると認識可能な「個人性」を備えつつ、それぞれの文字の形状に多様性を生じさせる「変移性」を備えたストロークまたは文字を、サンプルの個数以上に多く生成することが可能な、ストローク生成装置、ストローク生成方法、ストローク生成プログラム、文字生成装置、文字生成方法および文字生成プログラムを提供することを課題とする。   The present invention has been made in view of the above-mentioned problems, and a plurality of the same characters written by a writer are used as samples, while having “individuality” that can be recognized as characters written by the same writer, Stroke generating device, stroke generating method, stroke generating program, and character generating device capable of generating more strokes or characters having a “transition” that causes a variety of character shapes than the number of samples An object is to provide a character generation method and a character generation program.

上記課題を解決するために、本発明に係るストローク生成装置は、同じ文字の軌跡および書き順に関する情報に基づいて、当該文字の構造をストローク別に分解するストローク分解手段と、該ストローク分解手段により分解されたストローク毎に、当該ストロークの形状を特徴付ける特徴点を抽出する特徴点抽出手段と、前記ストロークの一の特徴点を基準として、当該ストロークにおける全ての他の特徴点から前記一の特徴点までの距離と方向とを示す影響ベクトルの集合を、当該ストロークにおける全ての特徴点について求める影響ベクトル集合抽出手段と、該影響ベクトル集合抽出手段により求められた前記影響ベクトルの集合であって、複数回書かれた前記同じ文字毎の全てのストロークの全ての特徴点における前記影響ベクトルの集合を、複数回書かれた前記同じ文字の同じ部位を構成するストロークの特徴点毎にクラスタリングすることにより、当該特徴点における前記影響ベクトルの集合をクラス分けするクラスタリング手段と、前記一の特徴点から次の特徴点の位置を決定するための位置決定パターンを、前記クラスタリング手段によりクラス分けされた前記一の特徴点における前記影響ベクトルの集合のクラス数に応じて数パターン設定し、全ての特徴点の位置決定パターンに基づいて特徴点位置判断モデルを生成するモデル生成手段と、該モデル生成手段により生成された特徴点位置判断モデルに従って、次の特徴点の位置を決定するための位置決定パターンとして前記クラスタリング手段によりクラス分けされた前記影響ベクトルの集合を用いることにより、各特徴点の位置を決定してストロークを生成するストローク生成手段とを備えることを特徴とする。   In order to solve the above-described problems, a stroke generation device according to the present invention includes a stroke decomposing unit that decomposes a character structure for each stroke based on information on the trajectory and writing order of the same character, and the stroke decomposing unit. From each other feature point in the stroke to the one feature point, the feature point extracting means for extracting the feature point characterizing the shape of the stroke for each stroke and the one feature point of the stroke as a reference An influence vector set extracting means for obtaining all the feature points in the stroke, a set of the influence vectors obtained by the influence vector set extracting means, and Of the influence vector at all feature points of all strokes of the same character written Clustering means for classifying the set of effect vectors at the feature points by clustering each feature point of the stroke constituting the same part of the same character written multiple times, and the one feature point The position determination pattern for determining the position of the next feature point is set according to the number of classes of the set of the influence vectors at the one feature point classified by the clustering means, and all the features are set. Model generation means for generating a feature point position determination model based on the point position determination pattern, and a position determination pattern for determining the position of the next feature point according to the feature point position determination model generated by the model generation means By using the set of influence vectors classified by the clustering means as Characterized in that it comprises a stroke generating means for generating a stroke and determine the position of each feature point.

また、本発明に係るストローク生成方法は、ストローク分解手段が、同じ文字の軌跡および書き順に関する情報に基づいて、当該文字の構造をストローク別に分解するストローク分解ステップと、該ストローク分解ステップにおいて分解されたストローク毎に、特徴点抽出手段が、当該ストロークの形状を特徴付ける特徴点を抽出する特徴点抽出ステップと、前記ストロークの一の特徴点を基準として、当該ストロークにおける全ての他の特徴点から前記一の特徴点までの距離と方向とを示す影響ベクトルの集合を、影響ベクトル集合抽出手段が、当該ストロークにおける全ての特徴点について求める影響ベクトル集合抽出ステップと、該影響ベクトル集合抽出ステップにおいて求められた前記影響ベクトルの集合であって、複数回書かれた前記同じ文字毎の全てのストロークの全ての特徴点における前記影響ベクトルの集合を、複数回書かれた前記同じ文字の同じ部位を構成するストロークの特徴点毎にクラスタリングすることにより、クラスタリング手段が、当該特徴点における前記影響ベクトルの集合をクラス分けするクラスタリングステップと、モデル生成手段が、前記一の特徴点から次の特徴点の位置を決定するための位置決定パターンを、前記クラスタリングステップにおいてクラス分けされた前記一の特徴点における前記影響ベクトルの集合のクラス数に応じて数パターン設定し、全ての特徴点の位置決定パターンに基づいて特徴点位置判断モデルを生成するモデル生成ステップと、該モデル生成ステップにおいて生成された特徴点位置判断モデルに従って、次の特徴点の位置を決定するための位置決定パターンとして前記クラスタリングステップにおいてクラス分けされた前記影響ベクトルの集合を用いることにより、ストローク生成手段が、各特徴点の位置を決定してストロークを生成するストローク生成ステップとを備えることを特徴とする。   In the stroke generation method according to the present invention, the stroke decomposition means decomposes the structure of the character for each stroke based on the information on the trajectory and writing order of the same character, and is decomposed in the stroke decomposition step. For each stroke, the feature point extracting means extracts a feature point that characterizes the shape of the stroke, and from all other feature points in the stroke based on one feature point of the stroke, The influence vector set extraction means obtains a set of influence vectors indicating the distance and direction to one feature point for all feature points in the stroke, and is obtained in the influence vector set extraction step. A set of the influence vectors written multiple times By clustering the set of influence vectors at all feature points of all strokes for each same character for each stroke feature point constituting the same part of the same character written multiple times, the clustering means, A clustering step for classifying the set of influence vectors at the feature point, and a position determination pattern for determining a position of the next feature point from the one feature point by the model generation unit is classified at the clustering step. A model generation step of setting several patterns according to the number of classes of the set of the influence vectors at the one feature point, and generating a feature point position determination model based on the position determination patterns of all the feature points; According to the feature point position determination model generated in the generation step, Stroke generation in which stroke generation means determines the position of each feature point and generates a stroke by using the set of influence vectors classified in the clustering step as a position determination pattern for determining the position of the point And a step.

さらに、本発明に係るストローク生成プログラムは、複数回書かれた同じ文字の軌跡および書き順に関する情報を用いることにより、前記文字を構成するストロークに類似するストロークを生成することが可能なストローク生成プログラムであって、コンピュータに、前記同じ文字の軌跡および書き順に関する情報に基づいて、当該文字の構造をストローク別に分解させるストローク分解機能と、該ストローク分解機能により分解されたストローク毎に、当該ストロークの形状を特徴付ける特徴点を抽出させる特徴点抽出機能と、前記ストロークの一の特徴点を基準として、当該ストロークにおける全ての他の特徴点から前記一の特徴点までの距離と方向とを示す影響ベクトルの集合を、当該ストロークにおける全ての特徴点について求めさせる影響ベクトル集合抽出機能と、該影響ベクトル集合抽出機能により求められた前記影響ベクトルの集合であって、複数回書かれた前記同じ文字毎の全てのストロークの全ての特徴点における前記影響ベクトルの集合を、複数回書かれた前記同じ文字の同じ部位を構成するストロークの特徴点毎にクラスタリングさせることにより、当該特徴点における前記影響ベクトルの集合をクラス分けさせるクラスタリング機能と、前記一の特徴点から次の特徴点の位置を決定するための位置決定パターンを、前記クラスタリング機能によってクラス分けされた前記一の特徴点における前記影響ベクトルの集合のクラス数に応じて数パターン設定させ、全ての特徴点の位置決定パターンに基づいて特徴点位置判断モデルを生成させるモデル生成機能と、該モデル生成機能において生成された特徴点位置判断モデルに従って、次の特徴点の位置を決定するための位置決定パターンとして前記クラスタリング機能によりクラス分けされた前記影響ベクトルの集合を用いることにより、各特徴点の位置を決定するストロークを生成させるストローク生成機能とを実現させるプログラムであることを特徴とする。   Further, the stroke generation program according to the present invention is capable of generating a stroke similar to the stroke constituting the character by using information on the trajectory and writing order of the same character written a plurality of times. And, based on the information on the trajectory and writing order of the same character, the computer decomposes the structure of the character for each stroke, and for each stroke decomposed by the stroke decomposition function, A feature point extraction function for extracting a feature point that characterizes a shape, and an influence vector that indicates the distance and direction from all other feature points in the stroke to the one feature point based on one feature point of the stroke Is obtained for all feature points in the stroke. An influence vector set extraction function, and a set of the influence vectors obtained by the influence vector set extraction function, wherein the influence vectors at all feature points of all strokes of the same character written a plurality of times A clustering function for classifying the set of the influence vectors at the feature point by clustering the set for each feature point of the stroke constituting the same part of the same character written a plurality of times, and the one feature point The position determination pattern for determining the position of the next feature point is set according to the number of classes of the set of the effect vectors at the one feature point classified by the clustering function, and all the features are set. A model generation function that generates a feature point position determination model based on a point position determination pattern; By using the set of influence vectors classified by the clustering function as a position determination pattern for determining the position of the next feature point according to the feature point position determination model generated by the model generation function, It is a program for realizing a stroke generation function for generating a stroke for determining the position of a point.

なお、上述した文字には、漢字やひらがななどの一般的な文字だけに限定されるのではなく、記号やマークなどがが含まれるものとする。また、ストロークには、文字を構成する点や線などが該当する。また、特徴点位置判断モデルとして、例えば、位置決定パターンの集合によりツリー構造に類似した構造で示されるモデルや、特徴点毎の位置決定パターンのパターン数に応じて各特徴点の関係が示された表などからなるモデル等が一例として該当する。   Note that the characters described above are not limited to general characters such as kanji and hiragana, but include symbols and marks. A stroke corresponds to a point or a line constituting a character. In addition, as a feature point position determination model, for example, a model represented by a structure similar to a tree structure by a set of position determination patterns, or the relationship between each feature point is indicated according to the number of position determination pattern patterns for each feature point. An example is a model made up of a table.

上述したように、本発明に係るストローク生成装置、ストローク生成方法およびストローク生成プログラムでは、文字の構造をストローク毎に分解した後に、ストロークの形状を特徴付ける特徴点を抽出し、該当するストロークの一の特徴点の位置を示す他の特徴点からの影響ベクトルの集合を求める。ここで、分解されたストロークは、複数回書かれた同じ文字毎に求められるため、複数回書かれた同じ文字の同じ部位を構成するストロークの特徴点毎に複数の影響ベクトルの集合を求めることができる。このため、本発明に係るストローク生成装置、ストローク生成方法およびストローク生成プログラムでは、複数回書かれた同じ文字の同じ部位を構成するストロークの特徴点毎に複数の影響ベクトルの集合をクラスタリングすることにより、特徴点の位置を決定するための特徴点位置判断モデルを、位置決定パターンに基づいて求めることが可能となる。   As described above, in the stroke generating device, the stroke generating method, and the stroke generating program according to the present invention, after decomposing the character structure for each stroke, the feature points characterizing the shape of the stroke are extracted, and one of the corresponding strokes is extracted. A set of influence vectors from other feature points indicating the position of the feature point is obtained. Here, since the decomposed stroke is obtained for each same character written a plurality of times, a plurality of influence vector sets are obtained for each feature point of the stroke constituting the same part of the same character written a plurality of times. Can do. For this reason, in the stroke generation device, the stroke generation method, and the stroke generation program according to the present invention, by clustering a set of a plurality of influence vectors for each feature point of the stroke constituting the same part of the same character written a plurality of times The feature point position determination model for determining the position of the feature point can be obtained based on the position determination pattern.

この特徴点位置判断モデルは、特徴点毎に数パターンの分岐(位置決定パターン)が形成されるため、書き手によって書かれた同じ文字の回数よりも多種類のストロークを生成することができる。さらに、このように生成されるストロークは、実際に書き手により書かれた文字の軌跡および書き順に関する情報に基づいて求められるものであるため、書き手の文字であることを示す「個人性」を備え、さらに「個人性」を備えながらも、それぞれのストロークが異なる形状となる「変移性」を備えたものとすることができる。   In this feature point position determination model, several patterns of branches (position determination patterns) are formed for each feature point, so that it is possible to generate more types of strokes than the number of the same characters written by the writer. Furthermore, since the strokes generated in this way are obtained based on information on the trajectory and writing order of characters actually written by the writer, they have “individuality” indicating that they are the characters of the writer. Furthermore, while having “individuality”, it is possible to have “transition” in which each stroke has a different shape.

また、上述したストローク生成装置は、前記ストロークの一の特徴点を基準として、当該一の特徴点よりも前の軌跡に位置する他の特徴点を影響点として求める影響点抽出手段を備え、前記影響ベクトル集合抽出手段は、前記影響点から前記一の特徴点までの距離と方向とを示す影響ベクトルを、前記一の特徴点における全ての影響点において求めるものであってもよい。   Further, the stroke generation device described above includes an influence point extraction unit that obtains, as an influence point, another feature point located in a trajectory before the one feature point based on one feature point of the stroke, The influence vector set extraction unit may obtain an influence vector indicating a distance and a direction from the influence point to the one feature point at all the influence points in the one feature point.

また、上述したストローク生成方法は、前記ストロークの一の特徴点を基準として、影響点抽出手段が、当該一の特徴点よりも前の軌跡に位置する他の特徴点を影響点として求める影響点抽出ステップを備え、前記影響ベクトル集合抽出ステップにおいて、前記影響ベクトル集合抽出手段が、前記影響点から前記一の特徴点までの距離と方向とを示す影響ベクトルを、前記一の特徴点における全ての影響点において求めるものであってもよい。   Further, in the stroke generation method described above, the influence point extraction unit determines, as an influence point, another feature point located on a trajectory before the one feature point based on one feature point of the stroke. An extraction step, wherein in the influence vector set extraction step, the influence vector set extraction means displays an influence vector indicating a distance and a direction from the influence point to the one feature point for all of the one feature point. You may obtain | require in an influence point.

さらに、上述したストローク生成プログラムは、前記コンピュータに、前記ストロークの一の特徴点を基準として、当該一の特徴点よりも前の軌跡に位置する他の特徴点を影響点として求めさせる影響点抽出機能を実現させ、前記影響ベクトル集合抽出機能において、前記影響点から前記一の特徴点までの距離と方向とを示す影響ベクトルを、前記一の特徴点における全ての影響点において求めさせるものであってもよい。   Furthermore, the stroke generation program described above causes the computer to determine, as an influence point, another feature point located in a locus before the one feature point with reference to one feature point of the stroke. In the influence vector set extraction function, an influence vector indicating the distance and direction from the influence point to the one feature point is obtained at all influence points in the one feature point. May be.

実際に書き手が文字を書く場合には、書いている箇所よりも少し前のストロークの軌跡を考慮して、文字およびストロークの形状、大きさ、バランスを判断し、文字を書く傾向がある。このため、ストロークの形状を特徴付ける特徴点の位置も、その特徴点よりも前の軌跡に位置する特徴点の影響を多く受け得るものである。   When a writer actually writes a character, there is a tendency to write the character by determining the shape, size, and balance of the character and stroke in consideration of the stroke trajectory just before the writing portion. For this reason, the position of the feature point that characterizes the shape of the stroke can also be greatly influenced by the feature point located on the locus before the feature point.

本発明に係るストローク生成装置、ストローク生成方法およびストローク生成プログラムでは、上述したように、ストロークの一の特徴点を基準として、当該一の特徴点よりも前の軌跡に位置する他の特徴点を影響点として求め、影響点から一の特徴点までの距離と方向とを示す影響ベクトルを、一の特徴点における全ての影響点において求めている。このように、一の特徴点よりも前の軌跡に位置する他の特徴点を基準として特徴点の位置を決定する影響ベクトルを求めることにより、影響ベクトルの集合に基づいて決定される特徴点の位置が、実際の書き手が文字を書くときの特徴を反映させた状態で決定されることになる。   In the stroke generation device, the stroke generation method, and the stroke generation program according to the present invention, as described above, with reference to one feature point of the stroke, other feature points located in the locus before the one feature point are obtained. As an influence point, an influence vector indicating the distance and direction from the influence point to one feature point is obtained at all the influence points in the one feature point. In this way, by obtaining an influence vector that determines the position of a feature point with reference to another feature point located on a trajectory before one feature point, the feature point determined based on the set of effect vectors The position is determined in a state that reflects the characteristics of the actual writer writing the character.

また、上述したストローク生成装置は、前記ストロークの一の特徴点を基準として、当該一の特徴点よりも前の軌跡に位置する他の特徴点であって、前記一の特徴点と前記他の特徴点とを結んだラインがいずれかのストロークの軌跡によって遮られない他の特徴点を影響点として求める影響点抽出手段を備え、前記影響ベクトル集合抽出手段は、前記影響点から前記一の特徴点までの距離と方向とを示す影響ベクトルを、前記一の特徴点における全ての影響点において求めるものであってもよい。   Further, the stroke generation device described above is another feature point located on a trajectory before the one feature point on the basis of one feature point of the stroke, and the one feature point and the other feature point An influence point extraction unit that obtains another feature point that is not obstructed by a trajectory of any stroke as an influence point is provided, and the influence vector set extraction unit includes the one feature from the influence point. You may obtain | require the influence vector which shows the distance and direction to a point in all the influence points in the said one feature point.

さらに、上記ストローク生成方法は、前記ストロークの一の特徴点を基準として、影響点抽出手段が、当該一の特徴点よりも前の軌跡に位置する他の特徴点であって、前記一の特徴点と前記他の特徴点とを結んだラインがいずれかのストロークの軌跡によって遮られない他の特徴点を影響点として求める影響点抽出ステップを備え、前記影響ベクトル集合抽出ステップにおいて、前記影響ベクトル集合抽出手段は、前記影響点から前記一の特徴点までの距離と方向とを示す影響ベクトルを、前記一の特徴点における全ての影響点において求めるものであってもよい。   Further, the stroke generation method is characterized in that the influence point extracting means is another feature point located in a locus before the one feature point, with the one feature point of the stroke as a reference. An influence point extracting step of obtaining, as an influence point, another feature point that is not obstructed by a trajectory of any stroke of a line connecting the point and the other feature point, and in the influence vector set extraction step, the influence vector The set extraction unit may obtain an influence vector indicating a distance and a direction from the influence point to the one feature point at all the influence points in the one feature point.

また、上述したストローク生成プログラムは、前記コンピュータに、前記ストロークの一の特徴点を基準として、当該一の特徴点よりも前の軌跡に位置する他の特徴点であって、前記一の特徴点と前記他の特徴点とを結んだラインがいずれかのストロークの軌跡によって遮られない他の特徴点を影響点として求めさせる影響点抽出機能を実現させ、前記影響ベクトル集合抽出機能において、前記影響点から前記一の特徴点までの距離と方向とを示す影響ベクトルを、前記一の特徴点における全ての影響点において求めさせるものであってもよい。   Further, the stroke generation program described above may cause the computer to have another feature point located on a locus before the one feature point with respect to the one feature point of the stroke, and the one feature point. And an influence point extraction function that obtains other feature points that are not obstructed by the trajectory of any stroke as an influence point. In the influence vector set extraction function, An influence vector indicating a distance and a direction from a point to the one feature point may be obtained at all the influence points in the one feature point.

実際に書き手が文字を書く場合には、書いている箇所よりも少し前のストロークの軌跡を考慮して、文字およびストロークの形状、大きさ、バランスを判断し、文字を書く傾向がある。さらに、書き手が文字を書く場合には、書いている箇所に近い部分の軌跡の影響を大きく受けて文字の形状、大きさ、バランスの判断を行う傾向があり、文字の軌跡により遮られた離れた場所のストローク(文字の点や線など)の影響を受けにくいという傾向がある。   When a writer actually writes a character, there is a tendency to write the character by determining the shape, size, and balance of the character and stroke in consideration of the stroke trajectory just before the writing portion. In addition, when a writer writes a character, there is a tendency to judge the shape, size, and balance of the character greatly influenced by the locus of the portion close to the portion being written. There is a tendency that it is not easily affected by strokes (such as character dots and lines).

このため、本発明に係るストローク生成装置、ストローク生成方法およびストローク生成プログラムでは、上述したように、ストロークの一の特徴点を基準として、一の特徴点よりも前の軌跡に位置する他の特徴点であって、一の特徴点と他の特徴点とを結んだラインがいずれかのストロークの軌跡によって遮られない他の特徴点を影響点として求め、影響点から一の特徴点までの距離と方向とを示す影響ベクトルを、一の特徴点における全ての影響点において求めている。このようにして、影響ベクトルを求めることにより、影響ベクトルの集合に基づいて決定される特徴点の位置が、実際の書き手が文字を書くときの特徴を反映させた状態で決定されることになる。   For this reason, in the stroke generation device, the stroke generation method, and the stroke generation program according to the present invention, as described above, with reference to one feature point of the stroke, the other feature located in the locus before the one feature point The distance from the influence point to the one feature point is obtained as another feature point that is a point and the line connecting the one feature point and the other feature point is not obstructed by the trajectory of any stroke. And the influence vector indicating the direction are obtained at all the influence points in one feature point. In this way, by determining the influence vector, the position of the feature point determined based on the set of influence vectors is determined in a state reflecting the characteristics when the actual writer writes the character. .

また、上述したストローク生成装置は、複数回書かれた前記同じ文字の同じ部位を構成する複数のストローク毎に特徴点の数が異なる場合に、当該ストローク別に特徴点の追加処理を行って特徴点の数を同じにする特徴点追加手段を備えるものであってもよい。   In addition, when the number of feature points differs for each of a plurality of strokes constituting the same part of the same character written a plurality of times, the stroke generation device described above performs a feature point addition process for each stroke, and the feature points It may be provided with a feature point adding means for making the number of the same.

さらに、上述したストローク生成方法は、複数回書かれた前記同じ文字の同じ部位を構成する複数のストローク毎に特徴点の数が異なる場合に、特徴点追加手段が、当該ストローク別に特徴点の追加処理を行って特徴点の数を同じにする特徴点追加ステップを備えるものであってもよい。   Further, in the above-described stroke generation method, when the number of feature points is different for each of a plurality of strokes constituting the same part of the same character written a plurality of times, the feature point adding unit adds the feature points for each stroke. You may provide the feature point addition step which processes and makes the number of feature points the same.

また、上述したストローク生成プログラムは、前記コンピュータに、複数回書かれた前記同じ文字の同じ部位を構成する複数のストローク毎に特徴点の数が異なる場合に、当該ストローク別に特徴点の追加処理を行って特徴点の数を同じにさせる特徴点追加機能を実現させるものであってもよい。   In addition, the stroke generation program described above performs addition processing of feature points for each stroke when the number of feature points is different for each of a plurality of strokes constituting the same part of the same character written multiple times on the computer. It is also possible to realize a feature point addition function for performing the same number of feature points.

同一の書き手によって複数回書かれた同じ文字の同じ部位を構成するストロークの特徴点の位置は、書かれた文字毎に共通すること多いが、書かれる文字は毎回全く同じ文字をコピーしたものではないため、特徴点の個数がストローク毎に異なってしまう場合もあり得る。   The position of the feature point of the stroke that constitutes the same part of the same character written multiple times by the same writer is often common to each written character, but the written character is not a copy of the exact same character each time Therefore, the number of feature points may be different for each stroke.

このように、複数回書かれた同じ文字の同じ部位を構成するストロークの特徴点の個数が異なる場合には、クラスタリングされた影響ベクトルの集合によって、特徴点位置判断モデルを生成することが困難となる。このため、本発明に係るストローク生成装置、ストローク生成方法およびストローク生成プログラムでは、複数回書かれた同じ文字の同じ部位を構成する複数のストローク毎に特徴点の数が異なる場合に、当該ストローク別に特徴点の追加処理を行うことにより、特徴点の数を同じにさせる処理を行い、特徴点位置判断モデルの生成を行いやすくすることが可能となる。   In this way, when the number of feature points of the strokes constituting the same part of the same character written multiple times is different, it is difficult to generate a feature point position determination model by a set of clustered effect vectors. Become. For this reason, in the stroke generation device, the stroke generation method, and the stroke generation program according to the present invention, when the number of feature points differs for each of a plurality of strokes constituting the same portion of the same character written a plurality of times, By performing the feature point addition process, it is possible to perform the process of making the number of feature points the same, and to easily generate the feature point position determination model.

また、本発明に係る文字生成装置は、上述したストローク生成装置と、前記ストローク分解手段により分解された、同一の文字の異なる部位を構成するストローク間において、一のストロークの特徴点を基準とし、当該一のストロークとは異なる他のストロークの全ての特徴点から前記一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、複数回書かれた同じ文字毎の全てのストロークにおける全ての特徴点毎に求めるストローク間ベクトル集合抽出手段と、前記ストローク生成手段により生成された一のストロークの大きさを、同一の文字であって異なる部位を構成する他のストロークのストローク間ベクトルの集合と、同一の文字であって同じ部位を構成する同一のストロークにおける影響ベクトルの集合とに基づいて調整する大きさ調整手段と、該大きさ調整手段により大きさ調整が行われたストロークの位置を、同一の文字であって異なる部位を構成する他のストロークにおけるストローク間ベクトルの集合に基づいて調整する位置調整手段とを備えることを特徴とする。   In addition, the character generation device according to the present invention is based on the stroke generation device described above and the strokes constituting the different parts of the same character, which are decomposed by the stroke decomposition means, as a reference, A set of inter-stroke vectors indicating distances and directions from all feature points of other strokes different from the one stroke to the feature points of the one stroke are all strokes for the same character written multiple times. An inter-stroke vector set extracting means to be obtained for every feature point in the above, and an inter-stroke vector of another stroke constituting the different parts of the same character with the size of one stroke generated by the stroke generating means. And a set of influence vectors in the same stroke that is the same character and constitutes the same part The size adjustment means for adjusting based on the above and the position of the stroke whose size is adjusted by the size adjustment means is set to a set of vectors between strokes in other strokes which are the same character and constitute different parts. And a position adjusting means for adjusting based on this.

さらに、本発明に係る文字生成方法は、上述したストローク生成方法と、前記ストローク分解ステップにおいて分解された、同一の文字の異なる部位を構成するストローク間において、一のストロークの特徴点を基準とし、当該一のストロークとは異なる他のストロークの全ての特徴点から前記一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、ストローク間ベクトル集合抽出手段が、複数回書かれた同じ文字毎の全てのストロークの全ての特徴点毎に求めるストローク間ベクトル集合抽出ステップと、前記ストローク生成ステップにおいて生成された一のストロークの大きさを、大きさ調整手段が、同一の文字であって異なる部位を構成する他のストロークのストローク間ベクトルの集合と、同一の文字であって同じ部位を構成する同一のストロークにおける影響ベクトルの集合とに基づいて調整する大きさ調整ステップと、該大きさ調整ステップにより大きさ調整が行われたストロークの位置を、位置調整手段が、同一の文字であって異なる部位を構成する他のストロークにおけるストローク間ベクトルの集合に基づいて調整する位置調整ステップとを備えることを特徴とする。   Further, the character generation method according to the present invention is based on the stroke generation method described above and the stroke constituting the different parts of the same character, which is decomposed in the stroke decomposition step, as a reference, An inter-stroke vector set extraction means is written a plurality of times as a set of inter-stroke vectors indicating distances and directions from all feature points of other strokes different from the one stroke to the feature points of the one stroke. In addition, the size adjustment means determines that the size of one stroke generated in the stroke vector set extraction step for each feature point of all the strokes of the same character for each feature point and the stroke generation step is the same character. The same character as the set of inter-stroke vectors of other strokes that make up different parts. The position adjustment means adjusts the size adjustment step for adjusting based on the set of influence vectors in the same stroke constituting the same part, and the position of the stroke subjected to the size adjustment by the size adjustment step, And a position adjustment step of adjusting based on a set of vectors between strokes in other strokes that are the same character and constitute different parts.

また、上述した文字生成プログラムは、コンピュータに、上述したストローク生成プログラムにより実現される機能と、前記ストローク分解機能により分解された、同一の文字の異なる部位を構成するストローク間において、一のストロークの特徴点を基準とし、当該一のストロークとは異なる他のストロークの全ての特徴点から前記一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、複数回書かれた同じ文字毎の全てのストロークの全ての特徴点毎に求めさせるストローク間ベクトル集合抽出機能と、前記ストローク生成機能により生成された一のストロークの大きさを、同一の文字であって異なる部位を構成する他のストロークのストローク間ベクトルの集合と、同一の文字であって同じ部位を構成する同一のストロークにおける影響ベクトルの集合とに基づいて調整させる大きさ調整機能と、該大きさ調整機能により大きさ調整が行われたストロークの位置を、同一の文字であって異なる部位を構成する他のストロークにおけるストローク間ベクトルの集合に基づいて調整させる位置調整機能とを実現させるための文字生成プログラムであることを特徴とする。   In addition, the above-described character generation program has one stroke between a function realized by the above-described stroke generation program and a stroke constituting a different part of the same character decomposed by the stroke decomposition function. A set of inter-stroke vectors indicating the distance and direction from all feature points of other strokes different from the one stroke to the feature point of the one stroke, with the feature point as a reference, and written multiple times The inter-stroke vector set extraction function for obtaining all the feature points of all the strokes for each character and the size of one stroke generated by the stroke generation function are the same character and constitute different parts The same character and the same part as the set of inter-stroke vectors of other strokes The size adjustment function to be adjusted based on the set of influence vectors in one stroke, and the position of the stroke whose size has been adjusted by the size adjustment function are the same character and constitute different parts It is a character generation program for realizing the position adjustment function to be adjusted based on the set of vectors between strokes in the strokes.

上述したように、本発明に係る文字生成装置、文字生成方法および文字生成プログラムでは、異なるストローク間の位置関係を示すストローク間ベクトルを求める。このストローク間ベクトルは、一のストロークの特徴点を基準とし、当該一のストロークとは異なる他のストロークの全ての特徴点から前記一のストロークの特徴点までの距離と方向とを示すベクトルである。ストローク間ベクトルを全ての特徴点毎に求めることによって、ストロークの特徴点レベルで他のストロークからの特徴点に基づく相対的な位置関係を求めることが可能となる。   As described above, in the character generation device, the character generation method, and the character generation program according to the present invention, an inter-stroke vector indicating a positional relationship between different strokes is obtained. This inter-stroke vector is a vector indicating the distance and direction from all feature points of other strokes different from the one stroke to the feature point of the one stroke, with reference to the feature point of one stroke. . By obtaining an inter-stroke vector for every feature point, it is possible to obtain a relative positional relationship based on feature points from other strokes at the feature point level of the stroke.

本発明に係る文字生成装置、文字生成方法および文字生成プログラムでは、ストロークの大きさを調整する場合には、ストローク間ベクトルの集合と影響ベクトルの集合とに基づいて大きさ調整を行う。ストロークの大きさ調整を行う場合には、他のストロークからの相対的な関係だけでなく、同じストローク内の特徴点における影響も大きさ決定に影響を受けるためである。   In the character generation device, the character generation method, and the character generation program according to the present invention, when adjusting the stroke size, the size adjustment is performed based on the set of inter-stroke vectors and the set of influence vectors. This is because when adjusting the size of the stroke, not only the relative relationship from other strokes but also the influence on the feature points in the same stroke is affected by the size determination.

一方で、本発明に係る文字生成装置、文字生成方法および文字生成プログラムでは、ストロークの位置を調整する場合には、ストローク間ベクトルの集合に基づいて位置調整を行う。位置調整を行う場合には、他のストロークに対する相対的な関係が大きく影響し、同じストローク内の特徴点の関係については、他のストロークに対する相対的な関係に比べて影響を受けにくいことを考慮したものである。   On the other hand, in the character generation device, the character generation method, and the character generation program according to the present invention, when adjusting the position of the stroke, the position is adjusted based on a set of vectors between strokes. When adjusting the position, the relative relationship with other strokes has a significant effect, and the relationship between feature points within the same stroke is less affected than the relative relationship with other strokes. It is a thing.

また、上述した文字生成装置は、前記ストローク分解手段により分解された、同一の文字の異なる部位を構成するストローク間において、一のストロークの特徴点を基準とし、当該一のストロークよりも書き順的に前に位置する他のストロークの特徴点を、ストローク間影響点として求めるストローク間影響点抽出手段を備え、前記ストローク間ベクトル集合抽出手段は、前記ストローク間影響点抽出手段により求められた全てのストローク間影響点から前記一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、複数回書かれた同じ文字毎の全てのストロークにおける全ての特徴点毎に求めるものであってもよい。   Further, the character generation device described above is based on the feature point of one stroke between strokes constituting different parts of the same character decomposed by the stroke decomposing means, and is more in order of writing than the one stroke. The inter-stroke influence point extraction means for obtaining the characteristic points of the other strokes positioned before as the influence point between strokes, and the inter-stroke vector set extraction means includes all the stroke influence point extraction means obtained by the inter-stroke influence point extraction means. A set of inter-stroke vectors indicating the distance and direction from the inter-stroke influence point to the feature point of the one stroke is obtained for every feature point in all strokes of the same character written multiple times. May be.

さらに、上述した文字生成方法は、前記ストローク分解ステップにおいて分解された、同一の文字の異なる部位を構成するストローク間において、一のストロークの特徴点を基準とし、ストローク間影響点抽出手段が、当該一のストロークよりも書き順的に前に位置する他のストロークの特徴点を、ストローク間影響点として求めるストローク間影響点抽出ステップを備え、前記ストローク間ベクトル集合抽出ステップにおいて、前記ストローク間ベクトル集合抽出手段が、前記ストローク間影響点抽出ステップにおいて求められた全てのストローク間影響点から前記一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、複数回書かれた同じ文字毎の全てのストロークの全ての特徴点毎に求めるものであってもよい。   Further, in the character generation method described above, the inter-stroke influence point extracting means uses the feature point of one stroke as a reference between the strokes constituting different parts of the same character decomposed in the stroke decomposition step. An inter-stroke influence point extracting step for obtaining a feature point of another stroke positioned in a stroke order before one stroke as an inter-stroke influence point, wherein the inter-stroke vector set extracting step includes: The extraction means is the same in which a set of inter-stroke vectors indicating the distances and directions from all the inter-stroke influence points obtained in the inter-stroke influence point extracting step to the feature points of the one stroke is written a plurality of times. Even for every feature point of every stroke of every character There.

また、上述した文字生成プログラムは、前記コンピュータに、前記ストローク分解機能によって分解された、同一の文字の異なる部位を構成するストローク間において、一のストロークの特徴点を基準とし、当該一のストロークよりも書き順的に前に位置する他のストロークの特徴点を、ストローク間影響点として求めさせるストローク間影響点抽出機能を実現させ、前記ストローク間ベクトル集合抽出機能において、前記ストローク間影響点抽出機能により求められた全てのストローク間影響点から前記一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、複数回書かれた同じ文字毎の全てのストロークの全ての特徴点毎に求めさせるものであってもよい。   Further, the character generation program described above is based on the feature point of one stroke between strokes constituting different parts of the same character decomposed by the stroke decomposition function in the computer. Also realizes an inter-stroke influence point extraction function for obtaining the characteristic points of other strokes positioned in the previous stroke order as inter-stroke influence points, and the inter-stroke vector point extraction function includes the inter-stroke influence point extraction function. A set of inter-stroke vectors indicating the distance and direction from all the inter-stroke influence points determined by the above to the feature point of the one stroke, all feature points of all strokes of the same character written multiple times It may be determined every time.

実際に書き手が文字を書く場合には、書いている箇所よりも少し前のストロークの軌跡を考慮して、文字およびストロークの形状、大きさ、バランスを判断し、文字を書く傾向がある。このため、異なるストローク間の位置関係を示すストローク間ベクトルのストローク間影響点も、一のストロークよりも書き順的に前に位置する他のストロークの特徴点の影響を多く受け得るものである。   When a writer actually writes a character, there is a tendency to write the character by determining the shape, size, and balance of the character and stroke in consideration of the stroke trajectory just before the writing portion. For this reason, the inter-stroke influence point of the inter-stroke vector indicating the positional relationship between different strokes can also be greatly influenced by the feature points of other strokes positioned in the stroke order before one stroke.

本発明に係る文字生成装置、文字生成方法および文字生成プログラムでは、上述したように、同一の文字の異なる部位を構成するストローク間において、一のストロークの特徴点を基準とし、当該一のストロークよりも書き順的に前に位置する他のストロークの特徴点を、ストローク間影響点として求め、ストローク間影響点から一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、複数回書かれた同じ文字毎の全てのストロークの全ての特徴点毎に求めている。このように、一のストロークよりも書き順的に前に位置する他のストロークの特徴点を基準としてストロークの大きさおよび位置調整を行うためのストローク間ベクトルを求めることにより、ストローク間ベクトルの集合に基づいて決定されるストロークの大きさおよび位置が、実際の書き手が文字を書くときの特徴を反映させた状態で決定されることになる。   In the character generation device, the character generation method, and the character generation program according to the present invention, as described above, between the strokes constituting different parts of the same character, based on the feature point of one stroke, Also, the feature points of other strokes located in the previous stroke order are obtained as inter-stroke influence points, and a set of inter-stroke vectors indicating the distance and direction from the inter-stroke influence point to the one stroke feature point, It is calculated for every feature point of every stroke written for the same character written multiple times. In this way, a set of inter-stroke vectors is obtained by obtaining an inter-stroke vector for adjusting the size and position of the stroke with reference to the feature points of other strokes positioned in the stroke order before the one stroke. The size and position of the stroke determined based on the above are determined in a state reflecting the characteristics of the actual writer writing the character.

上述した文字生成装置は、前記ストローク分解手段により分解された、同一の文字の異なる部位を構成するストローク間において、一のストロークの特徴点を基準とし、当該一のストロークよりも書き順的に前に位置する他のストロークであって、当該他のストロークのいずれかの特徴点と前記一のストロークの特徴点とを結んだラインがいずれかのストロークの軌跡によって遮られない前記いずれかの特徴点を、ストローク間影響点として求めるストローク間影響点抽出手段を備え、前記ストローク間ベクトル集合抽出手段は、前記ストローク間影響点抽出手段により求められた全てのストローク間影響点から前記一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、複数回書かれた同じ文字毎の全てのストロークにおける全ての特徴点毎に求めるものであってもよい。   The character generation device described above uses a feature point of one stroke as a reference between strokes constituting different parts of the same character decomposed by the stroke decomposing means, and precedes the stroke in order of writing. Any one of the above-mentioned feature points, wherein a line connecting any one of the feature points of the other stroke and the feature point of the one stroke is not obstructed by the locus of any stroke. Is obtained as an inter-stroke influence point extraction means, and the inter-stroke vector set extraction means is characterized by the one stroke from all the inter-stroke influence points obtained by the inter-stroke influence point extraction means. A set of inter-stroke vectors that indicate the distance and direction to the point is all strokes for the same character written multiple times. Or it may be determined for each of all feature points in over click.

さらに、上述した文字生成方法は、前記ストローク分解ステップにおいて分解された、同一の文字の異なる部位を構成するストローク間において、一のストロークの特徴点を基準とし、ストローク間影響点抽出手段が、当該一のストロークよりも書き順的に前に位置する他のストロークであって、当該他のストロークのいずれかの特徴点と前記一のストロークの特徴点とを結んだラインがいずれかのストロークの軌跡によって遮られない前記いずれかの特徴点を、ストローク間影響点として求めるストローク間影響点抽出ステップを備え、前記ストローク間ベクトル集合抽出ステップにおいて、前記ストローク間ベクトル集合抽出手段が、前記ストローク間影響点抽出ステップにおいて求められた全てのストローク間影響点から前記一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、複数回書かれた同じ文字毎の全てのストロークの全ての特徴点毎に求めるものであってもよい。   Further, in the character generation method described above, the inter-stroke influence point extracting means uses the feature point of one stroke as a reference between the strokes constituting different parts of the same character decomposed in the stroke decomposition step. Another stroke located in the stroke order before one stroke, and a line connecting any feature point of the other stroke and the feature point of the one stroke is the locus of any stroke An inter-stroke influence point extracting step for obtaining any one of the feature points that is not obstructed by the inter-stroke influence point, wherein the inter-stroke vector set extracting means includes the inter-stroke effect set in the inter-stroke vector set extracting step. The one stroke is calculated from all the inter-stroke influence points obtained in the extraction step. A set of strokes between vector indicating the distance and direction to the feature points over click, or may be determined for each of all the feature points of all strokes for each of a plurality of times written same character.

また、上述した文字生成プログラムは、前記コンピュータに、前記ストローク分解機能により分解された、同一の文字の異なる部位を構成するストローク間において、一のストロークの特徴点を基準とし、当該一のストロークよりも書き順的に前に位置する他のストロークであって、当該他のストロークのいずれかの特徴点と前記一のストロークの特徴点とを結んだラインがいずれかのストロークの軌跡によって遮られない前記いずれかの特徴点を、ストローク間影響点として求めさせるストローク間影響点抽出機能を実現させ、前記ストローク間ベクトル集合抽出機能において、前記ストローク間影響点抽出機能により求められた全てのストローク間影響点から前記一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、複数回書かれた同じ文字毎の全てのストロークの全ての特徴点毎に求めさせるものであってもよい。   Further, the character generation program described above is based on the feature point of one stroke between the strokes constituting different parts of the same character decomposed by the stroke decomposition function in the computer. Also, other strokes that are positioned forward in the stroke order, and the line connecting any one of the feature points of the other stroke and the feature point of the one stroke is not obstructed by the trajectory of any stroke. An inter-stroke influence point extraction function for obtaining any one of the feature points as an inter-stroke influence point is realized, and all the inter-stroke influences obtained by the inter-stroke influence point extraction function in the inter-stroke vector set extraction function An inter-stroke vector indicating the distance and direction from the point to the feature point of the one stroke Assemble, it may be one cause determined for each all the feature points of all strokes for each of a plurality of times written same character.

実際に書き手が文字を書く場合には、書いている箇所よりも少し前のストロークの軌跡を考慮して、文字およびストロークの形状、大きさ、バランスを判断し、文字を書く傾向がある。さらに、書き手が文字を書く場合には、書いている箇所に近い他のストロークの影響を大きく受けて文字の形状、大きさ、バランスの判断を行う傾向があり、他のストロークの軌跡により遮られた離れた場所のストロークの影響を受けにくいという傾向がある。   When a writer actually writes a character, there is a tendency to write the character by determining the shape, size, and balance of the character and stroke in consideration of the stroke trajectory just before the writing portion. In addition, when a writer writes a character, it tends to judge the shape, size, and balance of the character by being greatly influenced by other strokes close to the writing location, and is obstructed by the trajectory of the other strokes. There is a tendency that it is not easily affected by the stroke of a remote place.

このため、本発明に係る文字生成装置、文字生成方法および文字生成プログラムでは、上述したように、一のストロークの特徴点を基準とし、当該一のストロークよりも書き順的に前に位置する他のストロークであって、当該他のストロークのいずれかの特徴点と一のストロークの特徴点とを結んだラインがいずれかのストロークの軌跡によって遮られないいずれかの特徴点を、ストローク間影響点として求め、ストローク間影響点から一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、複数回書かれた同じ文字毎の全てのストロークの全ての特徴点毎に求めている。このように、一のストロークよりも書き順的に前に位置する他のストロークの特徴点であって、他のストロークのいずれかの特徴点と一のストロークの特徴点とを結んだラインがいずれかのストロークの軌跡によって遮られないいずれかの特徴点を基準としてストロークの大きさおよび位置調整を行うためのストローク間ベクトルを求めることにより、ストローク間ベクトルの集合に基づいて決定されるストロークの大きさおよび位置が、実際の書き手が文字を書くときの特徴を反映させた状態で決定されることになる。   For this reason, in the character generation device, the character generation method, and the character generation program according to the present invention, as described above, the feature point of one stroke is used as a reference, and the character generation device, the character generation method, and the character generation program are positioned before the one stroke in the order of writing. The stroke influence point between strokes is a feature point that is not obstructed by the trajectory of any stroke. A set of inter-stroke vectors indicating the distance and direction from the inter-stroke influence point to the feature point of one stroke is obtained for every feature point of all strokes of the same character written multiple times. Yes. In this way, the feature points of other strokes located in the stroke order before one stroke, and the line connecting any feature point of another stroke and the feature point of one stroke The stroke size determined on the basis of the set of inter-stroke vectors by determining the stroke size and the stroke-to-stroke vector based on any feature point that is not obstructed by the stroke trajectory. The height and position are determined in a state reflecting the characteristics of the actual writer writing the character.

上述したように、本発明に係るストローク生成装置、ストローク生成方法、ストローク生成プログラム、文字生成装置、文字生成方法および文字生成プログラムは、文字の構造をストローク毎に分解した後に、ストロークの形状を特徴付ける特徴点を抽出し、該当するストロークの一の特徴点の位置を示す他の特徴点からの影響ベクトルの集合を求める。分解されたストロークは、複数回書かれた同じ文字毎に求められるため、複数回書かれた同じ文字の同じ部位を構成するストロークの特徴点毎に複数の影響ベクトルの集合を求めることができる。このため、複数回書かれた同じ文字の同じ部位を構成するストロークの特徴点毎に、複数の影響ベクトルの集合をクラスタリングすることにより、特徴点の位置を決定するための特徴点位置判断モデルを、位置決定パターンに基づいて求めることが可能となる。   As described above, the stroke generation device, the stroke generation method, the stroke generation program, the character generation device, the character generation method, and the character generation program according to the present invention characterize the shape of the stroke after decomposing the character structure for each stroke. A feature point is extracted, and a set of influence vectors from other feature points indicating the position of one feature point of the corresponding stroke is obtained. Since the decomposed stroke is obtained for each same character written a plurality of times, a set of a plurality of influence vectors can be obtained for each feature point of the stroke constituting the same part of the same character written a plurality of times. For this reason, a feature point position determination model for determining the position of a feature point is obtained by clustering a set of a plurality of effect vectors for each feature point of a stroke constituting the same part of the same character written multiple times. It becomes possible to obtain based on the position determination pattern.

この特徴点位置判断モデルは、特徴点毎に分岐点が形成されるため、書き手によって書かれた同じ文字の回数よりも多種類のストロークを生成することができる。さらに、このように生成されるストロークは、実際に書き手により書かれた文字の軌跡および書き順に関する情報に基づいて求められるものであるため、書き手の文字であることを示す「個人性」を備え、さらに「個人性」を備えながらも、それぞれのストロークが異なる形状となる「変移性」を備えたものとすることができる。   In this feature point position determination model, a branch point is formed for each feature point, so that it is possible to generate more types of strokes than the number of the same characters written by the writer. Furthermore, since the strokes generated in this way are obtained based on information on the trajectory and writing order of characters actually written by the writer, they have “individuality” indicating that they are the characters of the writer. Furthermore, while having “individuality”, it is possible to have “transition” in which each stroke has a different shape.

実施の形態に係る手書き文字生成装置の概略構成を示したブロック図である。It is the block diagram which showed schematic structure of the handwritten character production | generation apparatus which concerns on embodiment. 実施の形態に係るCPUによって実行される手書き文字の生成処理の処理手順示したフローチャートである。It is the flowchart which showed the process sequence of the production | generation process of the handwritten character performed by CPU which concerns on embodiment. 手書き文字の生成処理における処理内容を模式的に示した説明図である。It is explanatory drawing which showed typically the processing content in the production | generation process of a handwritten character. 2つのストロークを比較して特徴点の個数を合わせる処理を説明するための図である。It is a figure for demonstrating the process which matches the number of feature points by comparing two strokes. 複数のストロークを比較して特徴点の個数を合わせる処理を説明するための図である。It is a figure for demonstrating the process which compares the some stroke and matches the number of feature points. (a)は、1つのストロークにより構成される「2」の文字における特徴点を、7個の特徴点(P0〜P6)で示した図であり、(b)は、P6の特徴点をP2からP5までの特徴点からの影響ベクトルにより示した図である。(A) is the figure which showed the feature point in the character of "2" comprised by one stroke with seven feature points (P0-P6), (b) is the feature point of P6 to P2. It is the figure shown with the influence vector from the feature point from to P5. (a)〜(c)は、図6に示したストロークの「P6」点における影響ベクトルのクラスタリング結果(クラス0〜クラス2)を示した図である。(A)-(c) is the figure which showed the clustering result (class 0-class 2) of the influence vector in the "P6" point of the stroke shown in FIG. (a)はストロークを構成する特徴点の位置決定パターンを示すモデルの一例を示した図であり、(b)は、(a)に示したモデルの代わりに表で特徴点の位置決定パターンを示した図である。(A) is the figure which showed an example of the model which shows the position determination pattern of the feature point which comprises a stroke, (b) is a table instead of the model shown to (a), and shows the position determination pattern of the feature point in a table | surface. FIG. (a)〜(c)は、4つのストロークにより構成される同じ文字を書き手が3回書いた場合であって、各ストロークW1〜W3のストローク間影響点からストロークW4の特徴点へのストローク間ベクトルを示した図である。(A)-(c) is the case where the writer wrote the same character composed of four strokes three times, and between the strokes from the inter-stroke influence point of each stroke W1 to W3 to the feature point of the stroke W4. It is the figure which showed the vector. (a)〜(c)は、数字の「2」の最後の特徴点「P6」の位置を決定する処理過程を説明するための図である。(A)-(c) is a figure for demonstrating the process in which the position of the last feature point "P6" of the number "2" is determined. (a)〜(d)は、ストロークの大きさ調整処理を説明するための図である。(A)-(d) is a figure for demonstrating the magnitude | size adjustment process of a stroke. (a)〜(d)は、ストロークの位置調整処理を説明するための図である。(A)-(d) is a figure for demonstrating the position adjustment process of a stroke. (a)は、書き手が5回書いた「2gmx四柿雪魅右石亜」からなる縦書きの文字列を示し、(b)は、(a)の文字列に基づいて生成された10列分の文字列を示している。(A) shows a vertically-written character string consisting of “2 gmx four-way snow charming right stone stone” written by a writer five times, and (b) shows 10 columns generated based on the character string of (a). The minute string is shown.

以下、本発明に係る文字生成装置の一例として、手書き文字生成装置を示しつつ、図面を用いて詳細に説明する。   Hereinafter, as an example of a character generation device according to the present invention, a handwritten character generation device will be described in detail with reference to the drawings.

図1は、実施の形態に係る手書き文字生成装置の概略構成を示したブロック図である。   FIG. 1 is a block diagram illustrating a schematic configuration of a handwritten character generation apparatus according to an embodiment.

手書き文字生成装置1は、図1に示すように、ディスプレイ部11と、入力操作部12と、本体部13とを有している。   As shown in FIG. 1, the handwritten character generation device 1 includes a display unit 11, an input operation unit 12, and a main body unit 13.

ディスプレイ部11は、本体部13における処理内容を、ユーザに対して視認可能に表示させる役割を有している。ディスプレイ部11には、液晶ディスプレイや、CRTディスプレイなどの一般的な表示装置が用いられる。   The display unit 11 has a role of displaying the processing content in the main body unit 13 so as to be visible to the user. A general display device such as a liquid crystal display or a CRT display is used for the display unit 11.

入力操作部12は、本体部13に対してデータ等の入力を行う場合に、ユーザによって操作される入力手段である。本実施の形態に係る本体部13では、手書き文字を入力するためのタブレットがその一例として用いられている。タブレットは、電子ペン12aと,電子ペン12aにより書かれたペン先の座標位置を読み取るスクリーン部12bとを有している。   The input operation unit 12 is input means operated by a user when inputting data or the like to the main body unit 13. In the main body unit 13 according to the present embodiment, a tablet for inputting handwritten characters is used as an example. The tablet includes an electronic pen 12a and a screen unit 12b that reads the coordinate position of the pen tip written by the electronic pen 12a.

ユーザは、筆記用具で文字を書くようにして、電子ペン12aのペン先でスクリーン部12bに文字を書くことにより、文字の各ストローク(文字を構成する点や線などが該当し、本実施の形態に係る手書き文字生成装置1では、電子ペン12aのペン先がスクリーン部12bに接触されてから、スクリーン部12b上をなぞるようにして移動し、その後に、ペン先がスクリーン部12bから離れるまでの一連の動作により求められるペン先の移動状態を1ストロークとする)の座標を求めることができる。本実施の形態に係る手書き文字生成装置1により、手書き文字を生成するためのサンプル文字は、入力操作部12のスクリーン部12bを介して、ユーザにより操作された電子ペン12aの移動状態に基づいて取得される。   The user writes characters on the screen unit 12b with the pen tip of the electronic pen 12a as if writing the characters with a writing instrument, so that each stroke of the characters (dots and lines constituting the characters are applicable). In the handwritten character generating apparatus 1 according to the embodiment, after the pen tip of the electronic pen 12a is brought into contact with the screen unit 12b, the pen point moves on the screen unit 12b until the pen tip moves away from the screen unit 12b. The coordinate of the pen tip movement state obtained by a series of operations is defined as one stroke). The sample character for generating the handwritten character by the handwritten character generation device 1 according to the present embodiment is based on the movement state of the electronic pen 12a operated by the user via the screen unit 12b of the input operation unit 12. To be acquired.

なお、図1には、入力操作部12としてタブレットのみを示しているが、入力操作部12はタブレットだけに限定されるものではなく、一般的なキーボード、マウス、トラックボールなどの機器を含めることができる。   In FIG. 1, only the tablet is shown as the input operation unit 12, but the input operation unit 12 is not limited to the tablet, and includes devices such as a general keyboard, mouse, and trackball. Can do.

本体部13は、制御部20と、データ記録部21とを有している。   The main body unit 13 includes a control unit 20 and a data recording unit 21.

データ記録部21は、ハードディスク、SSD(Solid State Drive)などの一般的な補助記憶装置により構成されている。データ記録部21には、制御部20において実行される手書き文字の生成処理に関するプログラムが記録されている。また、データ記録部21は、入力操作部12により取得されたサンプル文字が記録される。さらに、データ記録部21には、手書き文字を生成する処理において、必要に応じて記録される様々な情報(例えば、後述する統計的なモデル(特徴点位置判断モデル)に関する情報など)を記録することが可能となっている。   The data recording unit 21 includes a general auxiliary storage device such as a hard disk or an SSD (Solid State Drive). The data recording unit 21 stores a program related to a handwritten character generation process executed by the control unit 20. The data recording unit 21 records sample characters acquired by the input operation unit 12. Further, the data recording unit 21 records various information recorded as necessary in the process of generating handwritten characters (for example, information on a statistical model (feature point position determination model) described later). It is possible.

制御部20は、データ記録部21に記録されるプログラムに従って、後述する手書き文字の生成処理を行う役割を有している。具体的に、制御部20は、CPU(Central Processing Unit:ストローク分解手段、ストローク生成手段、ストローク間ベクトル集合抽出手段、ストローク間影響点抽出手段、影響点抽出手段、特徴点追加手段、特徴点抽出手段、影響ベクトル集合抽出手段、クラスタリング手段、モデル生成手段、大きさ調整手段、位置調整手段)30と、RAM(Random Access Memory)31とを有している。CPU30は、制御部20における手書き文字の生成処理を実質的に実行する役割を有している。RAM31は、CPU30の処理に利用されるワークエリアとして用いられる。   The control unit 20 has a role of performing handwritten character generation processing, which will be described later, in accordance with a program recorded in the data recording unit 21. Specifically, the control unit 20 is a CPU (Central Processing Unit: stroke decomposing unit, stroke generating unit, inter-stroke vector set extracting unit, inter-stroke influence point extracting unit, influence point extracting unit, feature point adding unit, feature point extracting unit. Means, influence vector set extraction means, clustering means, model generation means, size adjustment means, position adjustment means) 30 and RAM (Random Access Memory) 31. The CPU 30 has a role of substantially executing handwritten character generation processing in the control unit 20. The RAM 31 is used as a work area used for processing by the CPU 30.

次に、制御部20のCPU30による手書き文字の生成について説明する。CPU30は、データ記録部21に記録されるプログラムに従って、手書き文字の生成処理を実行する。   Next, generation of handwritten characters by the CPU 30 of the control unit 20 will be described. The CPU 30 executes handwritten character generation processing according to the program recorded in the data recording unit 21.

図2は、CPU30により実行される手書き文字の生成処理の処理手順を示したフローチャートであり、図3は、手書き文字の生成処理の処理内容を模式的に示した説明図である。   FIG. 2 is a flowchart showing a processing procedure of handwritten character generation processing executed by the CPU 30, and FIG. 3 is an explanatory diagram schematically showing processing contents of handwritten character generation processing.

まず、CPU30は、生成する文字のサンプル情報を取得する(図2におけるステップS.1、図3におけるステップS.21)。具体的には、まず、書き手に、サンプルとなる文字または文字列(例えば、文章など)を所定回数、例えば5回だけ、入力操作部12(電子ペン12aおよびスクリーン部12b)を用いて繰り返し記載してもらう。CPU30は、入力操作部12を介して取得した文字情報を、サンプル情報としてデータ記録部21に記録する。このサンプル情報は、ユーザにより書かれた文字における各ストロークの書き始めから書き終わりまでの筆先の軌跡に関する情報を、書き始め座標から書き終わり座標までの時間的な経過情報およびペン先の位置的(座標的)な経過情報により構成される。また、サンプル情報は、同じ文字内における複数のストローク間の位置関係の情報、および、各ストロークが書かれた順番を示す情報等により構成される。   First, the CPU 30 acquires sample information of characters to be generated (step S.1 in FIG. 2 and step S.21 in FIG. 3). Specifically, first, a sample character or character string (for example, a sentence or the like) is repeatedly written to the writer using the input operation unit 12 (the electronic pen 12a and the screen unit 12b) only a predetermined number of times, for example, five times. do that for me. The CPU 30 records the character information acquired via the input operation unit 12 in the data recording unit 21 as sample information. This sample information includes information on the trajectory of the writing tip from the beginning of writing to the end of writing of each stroke in the character written by the user, temporal information from the writing start coordinate to the writing end coordinate, and the position of the pen tip ( It is composed of (coordinate) progress information. Further, the sample information includes information on the positional relationship between a plurality of strokes in the same character, information indicating the order in which each stroke is written, and the like.

なお、本実施の形態に係る手書き文字生成装置1においては、電子ペン12aおよびスクリーン部12bからなる入力操作部12が設けられており、入力操作部12を用いることによって、書き手により書かれた文字情報をサンプル情報として取得する構成を採用する。しかしながら、文字のサンプル情報は、必ずしも入力操作部12により読み取られる構成には限定されず、例えば、入力操作部12を設けず、他の入力操作部等を用いて予め取得されたサンプル情報が、データ記録部21に記録される構成であってもよい。予め、データ記録部21にサンプル情報が記録されている場合、CPU30は、ステップS.1の処理として、データ記録部21に記録されているサンプル情報を読み出す処理を行う。   In addition, in the handwritten character generation apparatus 1 according to the present embodiment, an input operation unit 12 including an electronic pen 12a and a screen unit 12b is provided. By using the input operation unit 12, characters written by a writer A configuration is adopted in which information is acquired as sample information. However, the character sample information is not necessarily limited to the configuration that is read by the input operation unit 12. For example, the sample information acquired in advance using another input operation unit or the like without the input operation unit 12 is provided. The structure recorded on the data recording part 21 may be sufficient. When the sample information is recorded in the data recording unit 21 in advance, the CPU 30 performs step S.1. As the first process, a process of reading sample information recorded in the data recording unit 21 is performed.

次に、CPU30は、取得されたサンプル情報に基づいて、各文字の各ストロークを個別に抽出し(ステップS.2、ステップS.22、ストローク分解ステップ)、1つのストロークの形状を特徴付ける特徴的な点(以下「特徴点」という)を求める(特徴点抽出ステップ)と共に、複数の特徴点の個数を同一のストロークを示す複数のストロークにおいて共通化する処理を行う(ステップS.3、ステップS.23、特徴点追加ステップ)。各ストロークにおける特徴的な点の個数の共通化処理については、後で詳細に説明する。   Next, the CPU 30 individually extracts each stroke of each character based on the acquired sample information (step S.2, step S.22, stroke decomposition step), and characterizes the shape of one stroke. A point (hereinafter referred to as “feature point”) is obtained (feature point extraction step), and a process of sharing the number of feature points in a plurality of strokes indicating the same stroke is performed (steps S.3 and S). .23, feature point adding step). The process of sharing the number of characteristic points in each stroke will be described later in detail.

次に、CPU30は、同一のストローク内における各特徴点の関係を求める(ステップS.4、ステップS.23)。具体的に、CPU30は、各特徴点について、一の特徴点に影響を及ぼし得る同一ストローク内の他の特徴点を求め、他の特徴点から一の特徴点までの相対的な方向およびその距離に基づいて影響ベクトルを求める。そして、CPU30は、一の特徴点における複数の他の特徴点からの影響ベクトルの集合を、特徴点毎に求めて(影響ベクトル集合抽出ステップ)、影響ベクトルの集合毎にクラスタリング処理を行う(ステップS.5、ステップS.23、クラスタリングステップ)。このクラスタリング処理によって、各ストロークにおける各特徴点の相対的な方向関係および隣接する特徴点間の距離関係をクラス分けして求めることが可能となる。   Next, CPU30 calculates | requires the relationship of each feature point in the same stroke (step S.4, step S.23). Specifically, for each feature point, the CPU 30 obtains another feature point within the same stroke that can affect the one feature point, and the relative direction and distance from the other feature point to the one feature point. The influence vector is obtained based on Then, the CPU 30 obtains a set of influence vectors from a plurality of other feature points in one feature point for each feature point (effect vector set extraction step), and performs clustering processing for each set of effect vectors (step S.5, step S.23, clustering step). By this clustering process, the relative directional relationship of each feature point in each stroke and the distance relationship between adjacent feature points can be obtained by classifying.

その後、CPU30は、クラスタリングされた影響ベクトルの集合のクラスと、サンプル情報とに基づいて、ストロークの形状を特徴付ける特徴点の位置を影響ベクトルの集合のクラスに応じて、特徴点毎に分岐した(位置決定パターンに分けた)統計的なモデルを生成する処理を行う(ステップS.6、ステップS.23、モデル生成ステップ)。その詳細については後述する。   Thereafter, the CPU 30 branches the position of the feature point characterizing the shape of the stroke for each feature point according to the class of the influence vector set based on the class of the clustered effect vector set and the sample information ( A process of generating a statistical model (divided into position determination patterns) is performed (step S.6, step S.23, model generation step). Details thereof will be described later.

次に、CPU30は、文字を構成する複数のストロークとの相互的な関係を、各ストロークにおける特徴点との関係に基づいて求める(ステップS.7、ステップS.24)。具体的に、CPU30は、各特徴点について、一の特徴点に影響を及ぼし得る他のストローク内の他の影響点(特徴点)を求め、他の影響点から一の特徴点までの相対的な位置関係およびその距離に基づいてストローク間ベクトルを求める。そして、CPU30は、他ストローク内の他の特徴点から一の特徴点までのストローク間ベクトルの集合を、特徴点毎に求める(ステップS.8、ステップS.24、ストローク間ベクトル集合抽出ステップ)。   Next, the CPU 30 obtains a mutual relationship with a plurality of strokes constituting the character based on the relationship with the feature points in each stroke (step S.7, step S.24). Specifically, for each feature point, the CPU 30 obtains another influence point (feature point) in another stroke that can affect the one feature point, and relative to the one feature point from the other influence point. A stroke-to-stroke vector is obtained based on the correct positional relationship and its distance. Then, the CPU 30 obtains a set of inter-stroke vectors from another feature point in another stroke to one feature point for each feature point (step S.8, step S.24, inter-stroke vector set extraction step). .

ここまで説明したステップS.1〜ステップS.8(ステップS.21〜ステップS.24)までの処理により、CPU30は、取得したサンプル情報に基づいて、「個人性」を備えつつ「変移性」を備えた手書き文字を生成するためのモデルパターンを取得することになる。このステップS.1〜ステップS.8に基づいて生成されたモデルパターンを利用することにより、次述するステップS.9およびステップS.10の処理を経て、「個人性」を備えつつ「変移性」を備えた手書き文字を生成する。   Step S. described so far. 1-step S.E. 8 (steps S.21 to S.24), the CPU 30 generates a handwritten character having “personality” and “transition” based on the acquired sample information. You will get the pattern. This step S.I. 1-step S.E. By using the model pattern generated based on the step 8, the following step S. 9 and step S. Through 10 processes, a handwritten character having “individuality” and “transition” is generated.

まず、CPU30は、ステップS.6において求められた統計的なモデルと、ステップS.5において求められた影響ベクトルとに基づいて、各ストロークの生成を行う(ステップS.9、ステップS.25、ストローク生成ステップ)。各ストロークの生成に関する詳細な説明は後述するが、原則として、一の特徴点は、その特徴点が描かれる以前の同一ストローク内の他の特徴点の影響を受けて(このような特徴点を影響点という)、その位置が決定される。さらに、影響を受け得る特徴点は、一の特徴点からストローク軌跡により遮られることの無い可視的な影響点の影響(この影響点をヴィジブルな影響点という。)を大きく受けるという考え方に基づいて、ストロークの生成が行われる。   First, the CPU 30 executes step S.1. 6 and the statistical model obtained in step 6; Each stroke is generated based on the influence vector obtained in step 5 (step S.9, step S.25, stroke generation step). Although a detailed description of the generation of each stroke will be described later, in principle, one feature point is influenced by other feature points in the same stroke before the feature point is drawn (such a feature point Its location) is determined. Furthermore, based on the idea that feature points that can be affected are greatly affected by a visible influence point that is not obstructed by a stroke trajectory from one feature point (this influence point is called a visible influence point). A stroke is generated.

次に、CPU30は、ステップS.8において取得された各特徴点のストローク間ベクトルに基づいて、各ストロークの大きさ調整および位置調整が行われる(ステップS.10、ステップS.25)。具体的に、CPU30は、ストローク間ベクトルに基づいて、一つ文字の形成する複数のストローク間の相対的な大きさ調整(大きさ調整ステップ)と、各ストローク間における相対的な位置調整(位置調整ステップ)を行う。   Next, the CPU 30 executes step S.1. Based on the inter-stroke vector of each feature point acquired in step 8, the size and position of each stroke are adjusted (steps S.10 and S.25). Specifically, the CPU 30 adjusts the relative size (a size adjustment step) between a plurality of strokes formed by one character and the relative position adjustment (position) between the strokes based on the vector between strokes. Adjust step).

このように、ステップS.9におけるストロークの生成、および、ステップS.10における各ストロークの位置調整・大きさ調整を繰り返し行うことにより、「個人性」を備えつつ「変移性」を備えた手書き文字を、サンプル文字として書き手に書かれた文字の回数より多くの種類生成することが可能となる(ステップS.26)。   Thus, step S.E. 9 for generating a stroke, and step S. By repeatedly adjusting the position and size of each stroke in step 10, handwritten characters with “individuality” and “transition” are more kinds than the number of characters written by the writer as sample characters. It can be generated (step S.26).

次に、上述したプログラムにおいて実行される各処理内容の詳細について説明する。   Next, details of each processing content executed in the above-described program will be described.

[1つのストロークを構成する複数の特徴的な点の個数を同一のストロークを示す複数のストロークにおいて共通化する処理(図2のステップS.3)]
図2のステップS.3に示した、「1つのストロークを構成する複数の特徴点を求める処理」について説明する。
[Process for sharing the number of characteristic points constituting one stroke in a plurality of strokes indicating the same stroke (step S.3 in FIG. 2)]
Step S. of FIG. The “process for obtaining a plurality of feature points constituting one stroke” shown in FIG.

上述したように、ステップS.2において、CPU30が、サンプル情報に基づいて、各文字の各ストロークを個別に抽出している。ここで、サンプル情報とは、書き手によって複数回書かれた同じ文字の軌跡および書き順に関する文字毎の情報である。例えば、書き手に「イ」という文字を5回だけ手書き入力してもらった場合には、サンプル情報として、「ノ」部分のストロークと「|」部分の2つのストロークにより構成される「イ」のサンプル情報が、5文字分だけ抽出されることになる。   As described above, step S.E. 2, the CPU 30 extracts each stroke of each character individually based on the sample information. Here, the sample information is information for each character related to the trajectory and the writing order of the same character written multiple times by the writer. For example, if the writer has input the character “I” by handwriting only five times, as sample information, “I” composed of two strokes of “NO” and “|” The sample information is extracted by 5 characters.

CPU30は、ステップS.2において、例えば、「ノ」部分のストロークを5文字分だけ抽出し、ステップS.3において、この「ノ」部分のストロークを構成する特徴的点の抽出処理を行う。具体的にCPU30は、特徴点として、ストロークの形状を形成する特徴的な点、つまり、隣接配置された特徴点を直線で結ぶことにより、点と点との連結によりストロークの形状を示すことが可能なストローク内の特徴点を抽出する。例えば、「|」は直線であるため、直線の両単にそれぞれ特徴点を1つずつ設定すれば、「|」の形状を点と点との連結で示すことができる。しかしながら「ノ」は、湾曲した形状をしているため、両端の特徴点だけでなくその間に湾曲状態に対応して複数の特徴点を設定しなければ、その湾曲状態を点と点との連結で示すことができなくなる。このため、「ノ」は、CPU30によって、「|」よりも多くの特徴点が抽出されることになる。   The CPU 30 executes step S.1. 2, for example, the stroke of the “no” portion is extracted by 5 characters, In step 3, a characteristic point constituting the stroke of the “no” portion is extracted. Specifically, the CPU 30 may indicate the shape of the stroke by connecting the points that are characteristic points that form the shape of the stroke, that is, by connecting the adjacent feature points with a straight line. Extract feature points in possible strokes. For example, since “|” is a straight line, if one feature point is set for each of the straight lines, the shape of “|” can be represented by a connection between the points. However, “No” has a curved shape, so if you do not set multiple feature points corresponding to the curved state between them, not just the feature points at both ends, the curved state is connected to the points. Can no longer be shown. Therefore, the CPU 30 extracts more feature points than “|” by the CPU 30.

なお、書き手が複数回同じ文字を書くことによってサンプル情報を取得した場合、同じ文字の同じストロークであっても、そのストロークの形状などによって、特徴点の数が異なった数となってしまう場合がある。この場合には、特徴点の数を合わせておく必要がある。   If the writer acquires the sample information by writing the same character multiple times, the number of feature points may differ depending on the shape of the stroke, even if the stroke is the same character. is there. In this case, it is necessary to match the number of feature points.

2つのストロークを比較して特徴点の個数を合わせる手法として、Dynamic time warping with segment divisionと呼ばれる手法が知られている。この手法は、既存のDynamic Time Warping (L. Rabiner, B.-H. Juang, "Fundamentals of speech recognition", Prentice Hall,USA, p.209-213,1993と呼ばれる手法を拡張したものである。例えば、図4(a)に示すような、実線で示された少なくとも4つの特徴点を備えたストロークと、破線で示された少なくとも2つの特徴点を備えたストロークとが存在する場合を考える。図4(a)に示された実線のストロークと破線のストロークとの特徴的の個数を合わせる場合には、まず、対応する特徴点を求める。図4(a)に示すストロークでは、実線のストロークのD1と破線のストロークのQ1、実線のストロークのD4と破線のストロークのQ2とが対応している。このため、CPU30は、少なくとも、D1とQ1とを対応する点と判断し、D4とQ2とを対応する点と判断する。   As a technique for comparing the number of feature points by comparing two strokes, a technique called Dynamic time warping with segment division is known. This method is an extension of the existing dynamic time warping (L. Rabiner, B.-H. Juang, "Fundamentals of speech recognition", Prentice Hall, USA, p.209-213, 1993). For example, let us consider a case where there is a stroke having at least four feature points indicated by a solid line and a stroke having at least two feature points indicated by a broken line as shown in FIG. 4A, when the characteristic number of the stroke of the solid line and the stroke of the broken line are matched, first, the corresponding feature point is obtained.In the stroke shown in FIG. Therefore, the CPU 30 determines that D1 and Q1 correspond to at least a corresponding point, and D4 and Q2 correspond to the stroke D1 and the stroke Q4 of the broken line. And the corresponding point To do.

次に、CPU30は、対応する点が無いため特徴点が少ないストロークに対して、新たな特徴点を追加する処理を行う。図4(a)に示すように、実線のストロークにおけるD2、D3に対応する点が、破線のストロークには存在しない。従って、CPU30は、破線のストロークにおけるQ1とQ2との間に、D2とD3とに対応する点をそれぞれ追加する処理を行う。   Next, since there is no corresponding point, the CPU 30 performs a process of adding a new feature point for a stroke with a small number of feature points. As shown in FIG. 4A, points corresponding to D2 and D3 in the solid stroke do not exist in the broken stroke. Therefore, the CPU 30 performs a process of adding points corresponding to D2 and D3 between Q1 and Q2 in the stroke of the broken line.

図4(b)は、破線のストロークにおけるQ1からQ2までの部分的ストロークと、実線のストロークにおけるD1からD4までの部分的ストロークとを拡大して示した図である。図4(b)に示すように、CPU30は、D1からD4までの全体的な長さに対する、D1からD2までの長さと、D2からD3までの長さと、D3からD4までの長さとの比率を求める。そして、この比率に対応するようにして、破線のストロークにおけるQ1とQ2との間に、D2に対応するQa点と、D3に対応するQb点とを追加する。このようにして、特徴点を追加することによって、特徴点の個数を、異なるストロークの間で合わせることが可能となる。   FIG. 4B is an enlarged view showing a partial stroke from Q1 to Q2 in the stroke of the broken line and a partial stroke from D1 to D4 in the stroke of the solid line. As shown in FIG. 4 (b), the CPU 30 determines the ratio of the length from D1 to D2, the length from D2 to D3, and the length from D3 to D4 with respect to the overall length from D1 to D4. Ask for. Then, Qa point corresponding to D2 and Qb point corresponding to D3 are added between Q1 and Q2 in the stroke of the broken line so as to correspond to this ratio. In this way, by adding feature points, the number of feature points can be adjusted between different strokes.

しかしながら、図4に示したDynamic time warping with segment divisionの手法は、2つのストロークに対してのみ有効な手法である。一方で、本実施の形態に係る手書き文字生成装置1では、3つ以上のストロークの特徴点に対しても適用させる必要が生ずる。このため、本実施の形態に係る手書き文字生成装置1では、Matching through template among many strokesと呼ばれる手法を採用する。この手法は、2つのストロークに基づいて特徴点が求められたストロークをテンプレートとして新しく定義し、新しいストロークが追加される毎に、新たに追加されたストロークとテンプレートとに基づいて新たな特徴点を求めて、新たな特徴点が追加されたテンプレートを新しく定義する。また、テンプレートを新しく定義すると共に、既に追加されたストロークに対して対応する新たな特徴点を追加する処理を繰り返し行う。このような処理を繰り返すことによって、全てのストロークで特徴点の個数が同じになるように、特徴点の調整を図ることが可能となる。   However, the method of Dynamic time warping with segment division shown in FIG. 4 is effective only for two strokes. On the other hand, in the handwritten character generation device 1 according to the present embodiment, it is necessary to apply it to feature points of three or more strokes. For this reason, the handwritten character generation device 1 according to the present embodiment employs a technique called “Matching through template among many strokes”. This method newly defines a stroke for which a feature point is obtained based on two strokes as a template, and each time a new stroke is added, a new feature point is calculated based on the newly added stroke and the template. In search, a new template with new feature points added is defined. In addition, a template is newly defined, and a process of adding a new feature point corresponding to an already added stroke is repeatedly performed. By repeating such processing, it is possible to adjust the feature points so that the number of feature points is the same for all strokes.

図5(a)には、特徴点の調整が行われたストロークAとストロークBとが示されている。ストロークAおよびストロークBにおいて白丸と黒丸とは、特徴点を示しており、黒丸は調整前のストロークにおける特徴点を示し、白丸は調整処理(Dynamic time warping with segment division)に基づいて新たに追加された特徴点を示している。また、テンプレートは、新たに定義されたテンプレートを示している。   FIG. 5A shows a stroke A and a stroke B in which the feature points have been adjusted. In stroke A and stroke B, white circles and black circles indicate feature points, black circles indicate feature points in the stroke before adjustment, and white circles are newly added based on adjustment processing (Dynamic time warping with segment division). The characteristic points are shown. Further, the template indicates a newly defined template.

図5(a)に示すように、最初に定義されるテンプレートは、ストロークAの特徴点とストロークBの特徴点に基づいて生成された特徴点を考慮して定義されることになる。次に、新しいストロークCが追加された場合には、図5(b)に示すように、図5(a)により定義されたテンプレートと、新たに追加されたストロークCとに基づいて新たな特徴点の生成が行われて、新しいテンプレートが生成されることになる。さらに、新たなテンプレートが生成される場合には、前段階で特徴点の調整が既に行われたストロークAおよびストロークBに対しても、新たなストロークCとテンプレートとの比較により新たに生成された点の追加が行われる。   As shown in FIG. 5A, the template defined first is defined in consideration of the feature points generated based on the stroke A feature points and the stroke B feature points. Next, when a new stroke C is added, as shown in FIG. 5B, a new feature is created based on the template defined by FIG. 5A and the newly added stroke C. Points are generated and a new template is generated. Further, when a new template is generated, the stroke A and the stroke B whose feature points have already been adjusted in the previous stage are newly generated by comparing the new stroke C with the template. A point is added.

このように、2つのテンプレートに基づいて新たな特徴点の生成などが行われた結果に基づいてテンプレートを生成し、新たに追加されたテンプレートに対しては、生成されたテンプレートの特徴点との比較により新たな特徴点の追加を行い、追加が行われた特徴点を考慮した新たなテンプレートを生成する。また、既にテンプレートの生成のために比較が行われたテンプレートに対しても、新たに生成された特徴点に対応する特徴点の追加を行う。この処理を繰り返して行うことによって、全てのストロークに形成される特徴点の数を同一の個数とすることが可能となる。   As described above, a template is generated based on the result of generating a new feature point based on the two templates, and the newly added template is defined as a feature point of the generated template. A new feature point is added by comparison, and a new template is generated in consideration of the added feature point. Also, a feature point corresponding to a newly generated feature point is added to a template that has already been compared for template generation. By repeating this process, the number of feature points formed in all strokes can be made the same.

[同一のストローク内における各特徴点の関係を求める処理(図2のステップS.4:Influencing Model)]
次に、「同一のストローク内における各特徴点の関係を求める処理(図2のステップS.4)」について説明する。本実施の形態に係る手書き文字生成装置1では、「同一のストローク内の任意の1点の位置は、同一のストローク内の他の多数の点の位置から影響を受けて決定される。」という仮定に基づいて、同一のストローク内における各特徴点の関係を求める。上述したステップS.3によって個数の共通化が図られた特徴点において、特定の特徴点の位置に影響を及ぼす他の特徴点をその特徴点における影響点(Influencing Points)と定義する。そして、影響点と定義された多数の特徴点うち、同一のストロークにおける特定の特徴点よりも前に(時間的に前に)書かれた影響点を基準として、ヴィジブル(Visible)な影響点を求める。ここで、ヴィジブルとは、特定の特徴点と、その特徴点よりも前にに書かれたそれぞれの特徴点とを結んだラインが、特定の特徴点に至るまでに書かれるストロークの軌跡(line segment)によって遮られないことを意味する。
[Process for obtaining relationship between feature points in the same stroke (Step S.4: Influencing Model in FIG. 2)]
Next, the “process for obtaining the relationship between the feature points in the same stroke (step S.4 in FIG. 2)” will be described. In the handwritten character generation apparatus 1 according to the present embodiment, “the position of an arbitrary point in the same stroke is determined by being influenced by the positions of many other points in the same stroke”. Based on the assumption, the relationship between each feature point in the same stroke is obtained. Step S. described above. Among the feature points whose number is shared by 3, other feature points that affect the position of a specific feature point are defined as influencing points at that feature point. Then, out of many feature points defined as influence points, Visible influence points are defined based on the influence points written before (in time) the specific feature points in the same stroke. Ask. Here, a visible is a stroke trajectory (line) that is written until a line connecting a specific feature point and each feature point written before that feature point reaches the specific feature point. means not blocked by segment).

図6(a)(b)は、1つのストロークにより構成される文字「2」における特徴点を、7個の特徴点(P0〜P6)で示したものである。図6(a)および(b)の場合には、4文字の「2」がサンプルの文字として取得された場合を示している。このように「2」という文字より、7つの特徴点を求めると、「P6」と「P0」とを結んだラインと、「P6」と「P1」とを結んだラインとは、「P2」から「P3」に至るまでのストロークの軌跡により遮られることになる。従って、「P6」にとって、「P0」と「P1」とはヴィジブルな影響点には該当しなくなる。   FIGS. 6A and 6B show the feature points in the character “2” composed of one stroke as seven feature points (P0 to P6). FIGS. 6A and 6B show a case where “2” of four characters is acquired as a sample character. Thus, when seven feature points are obtained from the character “2”, the line connecting “P6” and “P0” and the line connecting “P6” and “P1” are “P2”. Will be blocked by the trajectory of the stroke from “P3” to “P3”. Therefore, for “P6”, “P0” and “P1” do not correspond to visible influence points.

さらに、CPU30は、RIP(Representative Influencing Point:代表影響点)を求める処理を行う。ここで、RIPとは全てのストロークにおいてヴィジブルな影響点に該当するものではないが、ヴィジブルな影響点として検出される特徴点が一部存在するため、ヴィジブルな影響点と同様の判断が行われる特徴点を意味する。   Further, the CPU 30 performs processing for obtaining a RIP (Representative Influencing Point). Here, RIP does not correspond to a visible influence point in all strokes, but since there are some feature points detected as visible influence points, the same determination as the visible influence point is performed. Means a feature point.

例えば、図6(b)に示した数字の「2」における4番目(画面の右端)のストロークでは、「P6」と「P4」とを結んだラインが、「P2」から「P3」に至るストロークの軌跡によって遮られている。このため、図6(b)における4番目の「2」で判断すると、「P4」は「P6」におけるヴィジブルな影響点には該当しなくなる。   For example, in the fourth stroke (right end of the screen) of the number “2” shown in FIG. 6B, the line connecting “P6” and “P4” reaches from “P2” to “P3”. It is blocked by the stroke trajectory. For this reason, if the fourth “2” in FIG. 6B is determined, “P4” does not correspond to the visible influence point in “P6”.

しかしながら、図6(b)における1番目〜3番目の「2」では、「P6」と「P4」とを結んだラインが、「P2」から「P3」に至るストロークの軌跡によって遮られていない。従って、図6(b)における1番目〜3番目の「2」で判断すると、「P4」は「P6」におけるヴィジブルな影響点に該当することになる。このように、同一の書き手により同じ文字が書かれた場合であっても、微妙なストロークの軌跡により、一の影響点が、ヴィジブルな影響点に該当する場合もあれば、該当しない場合も存在する。このような影響点に関しては、ヴィジブルな影響点に該当する文字の数(図6(b)で示す場合には、4文字のうち3文字で「P4」がヴィジブルな影響点に該当)に基づいて、ヴィジブルな影響点と判断され得るサンプル数的な割合を求め、この割合が一定の基準値以上である場合には、RIPであるとの認定を行う。本実施の形態では、例えば、4割以上の割合でヴィジブルな影響点と判断され得る場合に、その影響点をRIPと認定する。   However, in the first to third “2” in FIG. 6B, the line connecting “P6” and “P4” is not obstructed by the trajectory of the stroke from “P2” to “P3”. . Therefore, when judging from the first to third “2” in FIG. 6B, “P4” corresponds to a visible influence point in “P6”. In this way, even if the same character is written by the same writer, there is a case where one influence point may or may not correspond to a visible influence point due to a delicate stroke trajectory. To do. With respect to such influence points, based on the number of characters corresponding to visible influence points (in the case shown in FIG. 6B, “P4” corresponds to a visible influence point for three of the four characters). Thus, the ratio of the number of samples that can be judged as a visible influence point is obtained, and when this ratio is equal to or greater than a certain reference value, the RIP is recognized. In the present embodiment, for example, when a visible influence point can be determined at a ratio of 40% or more, the influence point is recognized as RIP.

[特徴点毎に求められた影響ベクトルの集合に対するクラスタリング処理(図2のステップS.5:Vector Clustering)]
次に、「一の特徴点における複数の影響点からの影響ベクトルの集合を、特徴点毎に求めて、影響ベクトルの集合毎に行うクラスタリング処理(図2のステップS.5)」について説明する。上述した「同一のストローク内における各特徴点の関係を求める処理(図2のステップS.4)」によって、各特徴点におけるヴィジブルな影響点が求められる。このヴィジブルな影響点は、特定の特徴点において、同一ストローク内で大きく影響を受けた特徴点を示すものである。つまり、特定の特徴点は、複数のヴィジブルな影響点から特定の特徴点までのそれぞれのベクトル(距離および方向を示す影響ベクトル)に大きく影響を受けるものであると判断される。従って、ストロークにおける各特徴点は、各特徴点において求められたヴィジブルな影響点からの影響ベクトルに基づいて決定されることになる。
[Clustering Processing for a Set of Influence Vectors Obtained for Each Feature Point (Step S.5: Vector Clustering in FIG. 2)]
Next, the “clustering process (step S.5 in FIG. 2) for obtaining a set of influence vectors from a plurality of influence points in one feature point for each feature point and performing each influence vector set” will be described. . Visible influence points at each feature point are obtained by the above-described “process for obtaining the relationship between the feature points within the same stroke (step S.4 in FIG. 2)”. This visible influence point indicates a feature point that is greatly affected in the same stroke at a specific feature point. That is, the specific feature point is determined to be greatly influenced by each vector (influence vector indicating distance and direction) from the plurality of visible influence points to the specific feature point. Therefore, each feature point in the stroke is determined based on the influence vector from the visible influence point obtained at each feature point.

CPU30は、ストロークの特徴点毎に、ヴィジブルな影響点からの影響ベクトルの組み合わせ(パターン)を判断して、影響ベクトルの組み合わせについてクラスタリングを行う。本実施の形態に係る手書き文字生成装置1では、クラスタリングを行うためのアルゴリズムの一例として「Simplified Adaptive Resonance Theory 2(B.-H. Kim, K.-M. Koo, Y.-M. Park, E.-Y Cha, "A study on quantization method using ART2 for contents-based image retrieval (in Korean)", Proc. 22th Conf. Korea Information Processing Society, Vol. 11, No. 2, 2004」を用いる。図7(a)〜(c)は、図6に示したストロークの「P6」点における影響ベクトルのクラスタリング結果(クラス0〜クラス2)を示している。   The CPU 30 determines the combination (pattern) of the influence vectors from the visible influence points for each feature point of the stroke, and performs clustering on the combination of the influence vectors. In the handwritten character generation apparatus 1 according to the present embodiment, “Simplified Adaptive Resonance Theory 2 (B.-H. Kim, K.-M. Koo, Y.-M. Park, E.-Y Cha, “A study on quantization method using ART2 for contents-based image retrieval (in Korean)”, Proc. 22th Conf. Korea Information Processing Society, Vol. 11, No. 2, 2004 ”is used. 7 (a) to (c) show the clustering results (class 0 to class 2) of the influence vectors at the point “P6” of the stroke shown in FIG.

具体的には、図6に示した「P6」点を基準として、「P6」点にとってヴィジブルな影響点「P2」点、「P3」点、「P4」点、「P5」点から「P6」点への影響ベクトルを求めて、各影響ベクトルの特徴に基づいてクラスタリングを行っている。図7に示すクラスタリングは、4つの影響ベクトルの距離を計算した結果に基づいてグループ分けを行った場合のクラスタリング結果を示している。このクラスタリング結果より、例えば、「P6」点の位置決定パターンは、同一ストロークの「P5」点を基準としてクラスタリングされたクラスの数だけ(図7に示す3つ)可能性があることが示されている。つまり、それぞれのクラスタリング結果に応じて求められる「P6」点の位置は、「P5」点を基準として、いずれかのクラス(クラス0〜クラス2)が選択されたかによって、そのクラスに該当する影響ベクトルの方向と距離とによって決定される。   More specifically, with reference to the “P6” point shown in FIG. 6, the “P2” point, the “P3” point, the “P4” point, and the “P5” point to the “P6” point that are visible to the “P6” point. A point influence vector is obtained, and clustering is performed based on the feature of each influence vector. The clustering shown in FIG. 7 shows the clustering result when grouping is performed based on the result of calculating the distance between the four influence vectors. From this clustering result, for example, it is shown that the position determination pattern of the “P6” point may be the number of classes clustered with reference to the “P5” point of the same stroke (three as shown in FIG. 7). ing. That is, the position of the “P6” point obtained according to each clustering result has an influence corresponding to the class depending on whether any class (class 0 to class 2) is selected with reference to the “P5” point. It is determined by the direction and distance of the vector.

[特徴点の位置決定パターンを示す統計的なモデルを構成する処理(図2のステップS.6:Statistical Model)]
次に、「特徴点の位置決定パターンを示す統計的なモデルを構成する処理」について説明する。上述した影響ベクトルのクラスタリング処理(図2のステップS.5)によって、一つ前の特徴点から次の特徴点の位置を決定する方法が求められる。例えば、図6に示した「P5」点を基準として次の特徴点である「P6」点の位置決定パターンは、図7に示した3パターンのいずれかの影響ベクトルの集合に基づいて決定される。従って、「P6」点は「P5」点を基準として3パターン(3つのクラス)の異なった位置に決定されることになる。
[Process of constructing a statistical model indicating the position determination pattern of feature points (step S.6 in FIG. 2: Statistical Model)]
Next, the “process for forming a statistical model indicating the position determination pattern of feature points” will be described. A method for determining the position of the next feature point from the previous feature point is obtained by the above-described clustering process of the influence vectors (step S.5 in FIG. 2). For example, the position determination pattern of the next feature point “P6” point based on the “P5” point shown in FIG. 6 is determined based on the set of influence vectors in any of the three patterns shown in FIG. The Accordingly, the “P6” point is determined at three different positions (three classes) with respect to the “P5” point.

このように、全ての特徴点において影響ベクトルの集合を求めることによって、一つ前の特徴点から次の特徴点の位置決定パターンが求められる。さらに、いずれのパターンに従って次の特徴点が決定されるかの割合は、サンプル情報に基づいて算出することができる。すなわち、同じストロークを構成するn回分のサンプル情報が、クラスタリングされた影響ベクトルの集合のどのクラスに該当するかを求めることにより、全体数nに対する各クラスの該当数に基づく割合を求めることができる。   In this way, by determining a set of influence vectors at all feature points, a position determination pattern for the next feature point is obtained from the previous feature point. Furthermore, the ratio of which pattern the next feature point is determined according to which pattern can be calculated based on the sample information. That is, by determining which class in the clustered influence vector set the sample information for n times constituting the same stroke corresponds to the total number n, the ratio based on the corresponding number of each class can be obtained. .

つまり、ストロークの特徴を示す特徴点の位置決定は、同一ストロークにおける直前の特徴点を基準として、影響ベクトルの集合のクラスに基づいて決定され、そのクラスの決定割合は、サンプル情報における各クラスの該当割合に応じて決定されることになる。   In other words, the position of the feature point indicating the feature of the stroke is determined based on the class of the set of influence vectors with reference to the immediately preceding feature point in the same stroke, and the determination ratio of the class is determined for each class in the sample information. It will be decided according to the corresponding ratio.

図8(a)は、このようにして求められた一連の特徴点の位置決定パターンをモデル(統計的なモデル)で示した図である。図8(a)において、orderは、ストロークを構成する特徴点の順番を示し、order0は、一番はじめの特徴点を示している。   FIG. 8A is a diagram showing a model (statistical model) of the position determination pattern of a series of feature points obtained in this way. In FIG. 8A, order indicates the order of feature points constituting the stroke, and order 0 indicates the first feature point.

orderの値が1つ大きくなる場合、つまり次の特徴点を決定する場合には、その前の特徴点、つまり、値が1つ大きくなる前のorderを基準として、クラスタリングされた影響ベクトルの集合の個数だけ、特徴点の分岐する位置決定パターンが存在することになる。例えば、order1の特徴点は、order0の特徴点C00に対して2種類の位置決定パターンを有しており、一方の特徴点がC10、他方の特徴点がC11となっている。同様にしてorder2の特徴点は、order1の特徴点においてそれぞれ2種類の位置決定パターンが存在している。このため、order2の特徴点は、C20、C21、C22、C23、の4種類となっている。同様にorder3特徴点は、C30、C31、C32、C33の4種類となっている。 When the value of order is increased by 1, that is, when the next feature point is determined, a set of clustered influence vectors based on the previous feature point, that is, the order before the value is increased by 1. There are as many position determination patterns as feature points branch. For example, feature points order1 has two types of positioning pattern for the feature point C 00 of Order0, one feature point C 10, the other characteristic point is in the C 11. Similarly, for the feature point of order2, there are two types of position determination patterns for the feature point of order1. Therefore, feature points order2 is, C 20, C 21, C 22, C 23, and has a four. Similarly order3 feature point has a four C 30, C 31, C 32 , C 33.

さらに、分岐した位置決定パターンのどれが選択されるかという割合は、n個のサンプル情報のうち、どちらの位置決定パターンに該当するサンプルパターンが存在するかの割合に応じて決定される。例えば、サンプル情報として10回分のストロークに関する情報が存在する場合、10回分のストロークのうち、何回のストロークが、クラスタリングされたクラスのいずれに該当するかによって、位置決定パターンの決定割合が求められる。図8(a)においては、特徴点C00から特徴点C10に分岐する割合が0.6、特徴点C00から特徴点C11に分岐する割合が0.4となっていることが示されている。つまり、特徴点C00におけるサンプル数が10であった場合には、6のサンプルが特徴点C10に属する位置決定パターンを示し、4のサンプルが特徴点C11に属する位置決定パターンを示したことになる。 Further, the ratio of which of the branched position determination patterns is selected is determined according to the ratio of the sample pattern corresponding to which position determination pattern among n pieces of sample information. For example, when there is information about 10 strokes as sample information, the determination ratio of the position determination pattern is determined depending on which of the 10 strokes corresponds to the clustered class. . In FIG. 8 (a), the it is shown that the percentage of branching to the feature point to C 10 feature points C 00 0.6, the ratio of branched to the characteristic point C 11 from the feature point C 00 has become 0.4 Has been. That is, when the number of samples at the feature point C 00 is 10, 6 samples indicate the position determination pattern belonging to the feature point C 10 , and 4 samples indicate the position determination pattern belonging to the feature point C 11 . It will be.

このようにして、全ての特徴点について、クラスの数とその割合に応じて1つ前の特徴点との対応関係を求めることにより、図8(a)に示すような統計的なモデルを求めることができる。このモデルに従って、ストロークを完成させることにより、様々な特徴を備えたストロークを示すことが可能となる。   In this way, a statistical model as shown in FIG. 8A is obtained by obtaining the correspondence relationship with the previous feature point in accordance with the number of classes and the ratio of all feature points. be able to. By completing the stroke according to this model, it is possible to show a stroke having various characteristics.

モデルに従って求められる各特徴点は、全て書き手の特徴に基づいてクラスタリングされた影響ベクトルの集合に基づいて決定されるため、特徴点に基づいて形成される各ストロークは、書き手の特徴を示した形状を示すことになる。このため、モデルを用いて求められるストロークは、同一の書き手により書いた文字であると認識可能な「個人性」を備えたストロークであると共に、それぞれの文字の形状に多様性を生じさせる「変移性」を備えたストロークを示すという特徴を備えることになる。   Since each feature point obtained according to the model is determined based on a set of influence vectors clustered based on the writer's features, each stroke formed based on the feature points is a shape that represents the writer's features. Will be shown. For this reason, the strokes obtained using the model are strokes having “individuality” that can be recognized as characters written by the same writer, and the “transition” that causes diversity in the shape of each character. It has the feature of showing a stroke with “character”.

さらに、モデルを用いて求められるストロークは、サンプル情報の個数以上に多くの種類の形状(特徴点の組み合わせ)で示すことができ、実際に書き手にサンプルとして書いてもらう文字の回数よりも多くのストロークモデルを生成することが可能となる。   In addition, the stroke required using the model can be shown in more types of shapes (combination of feature points) than the number of sample information, which is more than the number of characters actually written by the writer as a sample. A stroke model can be generated.

なお、モデルを構築する場合には、既に説明したように、同一のストロークに含まれる(ストロークを構成する)特徴点の数を同じにする必要がある。このため、ストロークにおける特徴点の数が同じでない場合には、既に、図4,図5を示して説明した処理を行うことにより、特徴点の数を同じにする処理を優先して行う必要が生ずる。   When building a model, as described above, it is necessary to make the number of feature points included in the same stroke (constituting a stroke) the same. For this reason, when the number of feature points in the stroke is not the same, it is necessary to preferentially perform the process of making the number of feature points the same by performing the process described with reference to FIGS. Arise.

また、モデルは、図8(a)に示すようなツリー構造に類似した形状をなすものには限定されない。図8(b)は、図8(a)に示したモデルの代わりに表によって特徴点の位置決定パターンを示したものである。このように、具体的なモデルの構成は、クラスタリングされたクラスのいずれに該当するかによって、位置決定パターンの決定割合が求められるものであれば、ツリー構造に類似した形状をなすものであっても、表により特定されるものであっても、さらに異なる構成により成立するものであってもよい。   Further, the model is not limited to a model having a shape similar to a tree structure as shown in FIG. FIG. 8B shows a position determination pattern of feature points using a table instead of the model shown in FIG. As described above, the specific model configuration has a shape similar to a tree structure as long as the determination ratio of the position determination pattern is obtained depending on which of the clustered classes it corresponds to. May be specified by a table, or may be established by a different configuration.

[複数のストロークにおける相互的な関係を、各ストロークにおける特徴点との関係に基づいて求める処理(図2のステップS.7:Interstroke Model)
次に、「文字を構成する複数のストロークにおける相互的な関係を、各ストロークにおける特徴点との関係に基づいて求める処理」について説明する。上述したモデルの構成処理によって、「個人性」および「変移性」を備えたストロークの形状を求めることができる。本処理では、このような、「個人性」および「変移性」を備えたストロークを組み合わせることにより、「個人性」および「変移性」を備えた文字を生成する処理を行う。
[Process for obtaining a mutual relationship in a plurality of strokes based on a relationship with a feature point in each stroke (step S.7: Interstroke Model in FIG. 2)
Next, “a process for obtaining a mutual relationship among a plurality of strokes constituting a character based on a relationship with a feature point in each stroke” will be described. Through the model configuration process described above, the stroke shape having “individuality” and “transition” can be obtained. In this process, a process for generating a character having “personality” and “transition” is performed by combining strokes having “personality” and “transition”.

生成された文字において「個人性」および「変移性」を備えるためには、ストロークのそれぞれに「個人性」および「変移性」が備わっているだけでなく、文字を形成するそれぞれのストロークの関係においても、サンプル情報に基づいて求められる特徴を備えたものでなくてはいけない。このため、文字を構成する一のストロークと他のストロークとの相互的な関係を、他のストロークにおける特徴点から一のストロークにおける特徴点までの方向と距離とに基づいて求める。従って、本処理では、各サンプル情報に基づいて、一のストロークの特徴点の位置を、他のストロークの特徴点からのベクトル(以下、ストローク間ベクトルとする)により求める処理を行う。   In order to have “individuality” and “transition” in the generated characters, not only each stroke has “individuality” and “transition”, but also the relationship between the strokes forming the character However, it must have the characteristics required based on the sample information. For this reason, a mutual relationship between one stroke and another stroke constituting the character is obtained based on the direction and distance from the feature point in the other stroke to the feature point in the one stroke. Therefore, in this process, based on each sample information, the process of obtaining the position of the feature point of one stroke by a vector from the feature point of another stroke (hereinafter referred to as an inter-stroke vector) is performed.

ストローク間ベクトルは、同一文字の異なる部位を構成するストローク間において、異なる他のストロークの全ての特徴点の影響を一のストロークにおける特徴点が受けるものとする。実際に書き手が文字を書く場合には、既に描かれたストローク(例えば、文字の点や線等)の位置や大きさに対応するように注意して次に描くストロークの位置や大きさを決定・調整する傾向がある。このため、本処理においても、既に描かれた他のストロークの特徴点からのストローク間ベクトルを求める。このようにして求められたストローク間ベクトルに基づいて、既に描かれているストロークの特徴点からの方向および距離を求めることにより、目的とするストロークの位置および大きさを決定・調整することが可能となる。   It is assumed that the feature point in one stroke is affected by all feature points of other different strokes between strokes constituting different parts of the same character. When a writer actually writes a character, determine the position and size of the stroke to be drawn next, taking care to correspond to the position and size of the stroke already drawn (for example, a character dot or line).・ Tends to adjust. Therefore, also in this process, an inter-stroke vector is obtained from the feature points of other strokes already drawn. It is possible to determine and adjust the position and size of the target stroke by determining the direction and distance from the stroke feature point that has already been drawn based on the inter-stroke vector thus determined. It becomes.

また、ストローク間ベクトルを求める場合においても、ヴィジブルな影響点を考慮して決定される。つまり、一のストロークにおける特定の特徴点と、その特徴点よりも前に描かれたそれぞれの特徴点とを結んだラインが、いずれかのストロークによって遮られない影響点を基準として、ストローク間ベクトルを求める。   Also, when determining an inter-stroke vector, it is determined in consideration of visible influence points. In other words, the stroke-to-stroke vector is based on the point of influence where a line connecting a specific feature point in one stroke and each feature point drawn before that feature point is not obstructed by any stroke. Ask for.

図9(a)〜(c)は、4つのストロークにより構成される同じ文字を、書き手が3回書いた場合を示している。それぞれの文字は、左側縦線からなるストロークW1、上側横線からなるストロークW2、右側縦線からなるストロークW3、中央部横線からなるW4の4つのストロークにより構成されている。このストロークの書き順はW1、W2、W3、W4の順番である。また、ストロークW1〜W3は、それぞれの端部に位置する2つの特徴点により構成されており、ストロークW4は、横方向に配列された3つの特徴点によって構成されている。   9A to 9C show a case where the writer has written the same character composed of four strokes three times. Each character is composed of four strokes: a stroke W1 consisting of a left vertical line, a stroke W2 consisting of an upper horizontal line, a stroke W3 consisting of a right vertical line, and W4 consisting of a central horizontal line. The stroke order is W1, W2, W3, W4. The strokes W1 to W3 are composed of two feature points located at the respective end portions, and the stroke W4 is composed of three feature points arranged in the horizontal direction.

図9(a)〜(c)では、ストロークW4の一番左側の特徴点におけるストローク間ベクトルがベクトル表記(矢印記号)によって示されている。より詳細に、図9(a)〜(c)には、ストロークW4とは異なるストロークの特徴点のうち、ストロークW4よりも前に書かれたストロークW1〜W3であって、さらに、各ストロークW1〜W3の各特徴点から、ストロークW4の一番左側の特徴点へと結ばれたラインが、ストロークW1〜W3の存在によって遮られていない特徴点(ヴィジブルな特徴点)のストローク間ベクトルが描かれている。このようにして求められたストローク間ベクトルに基づいて、ストローク間の大きさ調整および位置調整を行うことが可能となる。   In FIGS. 9A to 9C, the inter-stroke vector at the leftmost feature point of the stroke W4 is indicated by a vector notation (arrow symbol). More specifically, FIGS. 9A to 9C show strokes W1 to W3 written before the stroke W4 among the stroke characteristic points different from the stroke W4, and each stroke W1. A line between each feature point of W3 to the leftmost feature point of the stroke W4 is drawn as an inter-stroke vector of feature points (visible feature points) that are not obstructed by the presence of the strokes W1 to W3 It is. Based on the inter-stroke vector thus determined, it is possible to adjust the size and position between strokes.

[モデルと影響ベクトルとに基づくストロークの生成処理(図2のステップS.9)]
次に、CPU30が、ステップS.6において求められた統計的なモデルと、ステップS.5において求められた影響ベクトルとに基づいて、各ストロークの生成を行う処理について説明する。
[Stroke Generation Processing Based on Model and Influence Vector (Step S.9 in FIG. 2)]
Next, the CPU 30 executes step S.1. 6 and the statistical model obtained in step 6; A process for generating each stroke based on the influence vector obtained in step 5 will be described.

上述したように、同一ストローク内の特徴点の位置は、他の特徴点からの影響ベクトルにより求めることができる。また、各特徴点を決定する場合に用いられる影響ベクトルの集合は、クラスタリングされた影響ベクトルの集合のクラスのいずれかであり、どの影響ベクトルの集合が採用されるかは、モデルの特徴点(各order)毎に決定される。従って、モデルの分岐に応じて、はじめのorder0から最後のorderまでの経路にそって各特徴点の位置を決定することにより、「個人性」および「変移性」を備えた複数のストロークを生成することが可能となる。   As described above, the position of a feature point within the same stroke can be obtained from an influence vector from another feature point. In addition, the set of influence vectors used when determining each feature point is one of the classes of clustered effect vectors, and which set of effect vectors is adopted depends on the feature points of the model ( Determined for each order). Therefore, by determining the position of each feature point along the route from the first order 0 to the last order according to the branch of the model, multiple strokes with “personality” and “transition” are generated. It becomes possible to do.

図10(a)〜(c)は、数字の「2」文字の最後の特徴点「P6」点の位置を決定する処理過程を示している。図10(a)は、数字の「2」において特徴点「P5」点までの位置が決定された状態を示しており、(b)は、「P6」点を決定するために用いられる影響ベクトルの集合を示している。そして、図10(c)は、(a)に示されたヴィジブルな影響点である「P2」〜「P5」の特徴点における影響ベクトルを、(b)に示した影響ベクトルを用いて示した図である。図10(c)に示すように、クラスタリングされた影響ベクトルの集合を用いて「P6」の位置を特定する場合には、必ずしも各影響ベクトルの先端が1点に一致するものではない。図10(c)に示すように、各影響ベクトルの先端位置が1点に一致しない場合には、それぞれの影響ベクトルにおける加重平均により求められる位置を、特徴点「P6」として決定する。このようにしてストロークにおける各特徴点をいずれかの影響ベクトルの集合を用いて決定することにより、様々な形状のストロークを生成することが可能となる。   FIGS. 10A to 10C show a process of determining the position of the last feature point “P6” of the number “2” character. FIG. 10A shows a state where the position up to the feature point “P5” is determined in the numeral “2”, and FIG. 10B shows an influence vector used to determine the “P6” point. A set of FIG. 10C shows the influence vectors at the feature points “P2” to “P5”, which are the visible influence points shown in FIG. 10A, using the influence vectors shown in FIG. FIG. As shown in FIG. 10C, when the position of “P6” is specified using a clustered set of influence vectors, the tip of each influence vector does not necessarily coincide with one point. As shown in FIG. 10C, when the tip position of each influence vector does not coincide with one point, the position obtained by the weighted average in each influence vector is determined as the feature point “P6”. In this way, strokes having various shapes can be generated by determining each feature point in the stroke using a set of any of the influence vectors.

[ストローク間ベクトルに基づく各ストロークの大きさ調整および位置調整の処理(図2のステップS.10)]
次に、各特徴点のストローク間ベクトルに基づいて、各ストロークの大きさ調整および位置調整を行う方法について説明する。まず、ストロークの大きさの調整をする場合には、一のストロークの全ての特徴点に対して、同一のストロークにおける影響点からの影響ベクトルと他のストロークにおける影響点からのストローク間ベクトルとを用いて、一のストロークにおける仮想位置を算出する。ストロークにおける仮想位置の算出において、他のストロークにおけるストローク間ベクトルを用いることにより、ストローク間の相対的な位置関係を考慮した仮想位置を算出することが可能となる。さらに、同一のストロークにおける影響点からの影響ベクトルを用いて仮想位置を算出することにより、同一ストローク内における各特徴点の相対的な位置関係を考慮した仮想位置を求めることが可能となる。
[Process of adjusting the size and position of each stroke based on the stroke vector (step S.10 in FIG. 2)]
Next, a method for adjusting the size and position of each stroke based on the inter-stroke vector of each feature point will be described. First, when adjusting the size of the stroke, for all feature points of one stroke, the influence vector from the influence point in the same stroke and the inter-stroke vector from the influence point in the other stroke are set. Use to calculate the virtual position in one stroke. In the calculation of the virtual position in the stroke, it is possible to calculate the virtual position in consideration of the relative positional relationship between the strokes by using the inter-stroke vector in the other strokes. Furthermore, by calculating the virtual position using the influence vector from the influence point in the same stroke, it is possible to obtain the virtual position in consideration of the relative positional relationship of each feature point in the same stroke.

そして、CPU30では、算出された仮想位置から、一のストロークにおける仮想的なストロークの大きさ(高さ寸法および幅寸法)を計算して、既存のストロークの大きさを計算された仮想ストロークの大きさに対応させて調整する。   Then, the CPU 30 calculates the size (height dimension and width dimension) of the virtual stroke in one stroke from the calculated virtual position, and calculates the size of the existing stroke. Adjust according to the height.

図11(a)〜(d)は、ストロークの大きさ調整の過程を示した図である。図11(a)のストロークW1〜W4は図9(a)に示したストロークと同一のものである。図11(a)のストロークW4の大きさ調整を行う場合、CPU30は、ストロークW4内の影響点における影響ベクトルと、他のストロークW1〜W3の影響点におけるストローク間ベクトルとに基づいて、図11(b)の白丸で示されるストロークW4の仮想位置を算出する。そしてCPU30は、求められた仮想位置に基づいて、図11(c)に示すように、仮想的な大きさのストロークW4aを計算し、図11(d)に示すように、既存のストロークW4の大きさを計算された仮想ストロークW4aの大きさに対応させて調整する。   FIGS. 11A to 11D are diagrams showing a process of adjusting the stroke size. The strokes W1 to W4 in FIG. 11A are the same as the strokes shown in FIG. When adjusting the size of the stroke W4 in FIG. 11 (a), the CPU 30 selects the influence vector at the influence point in the stroke W4 and the inter-stroke vector at the influence points of the other strokes W1 to W3. The virtual position of the stroke W4 indicated by the white circle in (b) is calculated. Then, the CPU 30 calculates a virtual stroke W4a based on the calculated virtual position as shown in FIG. 11C, and the existing stroke W4 as shown in FIG. 11D. The size is adjusted according to the calculated size of the virtual stroke W4a.

次に、CPU30では、大きさ調整が行われたストロークの位置調整処理を行う。位置調整処理においては、他のストロークの影響点におけるストローク間ベクトルのみを用いて、一のストロークにおける特徴点の仮想位置を算出する。位置調整処理においては、他のストロークに対するストローク間ベクトルのみを用い、同一ストローク内における影響ベクトルを用いない点で、大きさ調整処理を相違する。既に一のストロークにおける大きさ調整が行われており、この位置調整処理によってストロークの大きさおよび形状は変化がなく、また、一のストロークにおける位置調整には、他のストロークとの相互的な位置関係が、「個人性」および「変移性」を備えた文字を生成するために必要とされるためである。   Next, the CPU 30 performs position adjustment processing of the stroke whose size has been adjusted. In the position adjustment process, the virtual position of the feature point in one stroke is calculated using only the inter-stroke vector at the influence point of another stroke. The position adjustment processing is different from the size adjustment processing in that only the inter-stroke vector for other strokes is used and the influence vector in the same stroke is not used. The size adjustment in one stroke has already been performed, and the size and shape of the stroke are not changed by this position adjustment processing, and the position adjustment in one stroke has a mutual position with other strokes. This is because the relationship is required to generate characters with “personality” and “transition”.

そして、計算されたストロークにおける特徴点の仮想位置と、大きさ調整されたストロークにおける特徴点の実際の位置との誤差が最も小さくなるようにして、ストロークの位置の調整が行われる。   Then, the position of the stroke is adjusted so that the error between the calculated virtual position of the feature point in the stroke and the actual position of the feature point in the stroke whose size has been adjusted is minimized.

図12(a)〜(c)は、ストロークの位置調整の過程を示した図である。図12(a)は、ストロークの大きさ調整によりストロークW4の大きさが調整された後のストロークW1〜W4を示している。CPU30では、図12(b)に示すように、他のストロークW1〜W4の影響点におけるストローク間ベクトルのみを用いて、ストロークW4における特徴点の仮想位置(図12(b)における白丸の点)を算出する。そして、CPU30は、図12(c)に示すように、計算されたストロークW4の特徴点における仮想位置(図12(b)における白丸の点)と、大きさ調整されたストロークにおける特徴点の実際の位置との誤差が最も小さくなるようにして、ストロークW4の位置調整を行う。   12A to 12C are diagrams showing a process of adjusting the position of the stroke. FIG. 12A shows the strokes W1 to W4 after the size of the stroke W4 is adjusted by adjusting the size of the stroke. As shown in FIG. 12B, the CPU 30 uses only the inter-stroke vectors at the influence points of the other strokes W1 to W4, and uses the virtual positions of the feature points in the stroke W4 (white dots in FIG. 12B). Is calculated. Then, as shown in FIG. 12C, the CPU 30 calculates the virtual position (the white circle point in FIG. 12B) of the calculated feature point of the stroke W4 and the actual feature point in the stroke whose size has been adjusted. The position of the stroke W4 is adjusted so that the error with respect to the position is minimized.

このようにして、モデルの分岐に応じて様々なパターンのストロークを生成すると共に、生成されたストロークの大きさ調整および位置調整を上述したように行うことによって、サンプルとして文字を書いた書き手の「個人性」および「変移性」を備えた文字を、サンプルとして書いた文字の回数以上に多種類に生成することが可能となる。   In this way, strokes of various patterns are generated according to the branch of the model, and by adjusting the size and position of the generated strokes as described above, the writer who wrote the character as a sample “ Characters having “individuality” and “transition” can be generated in various types more than the number of characters written as samples.

図13(a)は、書き手により「2gmx四柿雪魅右石亜」からなる縦書きの文字列を5回だけ、サンプルとして書いてもらった手書き文字列を示している。一方で、図13(b)は、図13(a)のサンプルの文字列を入力操作部12において読み取り、上述した処理に基づいて、書き手の書いたサンプル文字列の「個人性」および「変移性」を備えた文字列を10文字列だけ生成させた例を示している。図13(a)と図13(b)とを比較すると、それぞれの文字は、全く同じ文字ではないが、共通した形状を示している。このように、手書き文字生成装置1を用いて文字を生成することにより、書き手が書いた文字列であると認識可能な特徴を示す「個人性」が反映された文字を生成することができると共に、それぞれの文字が共通した特徴を備えながら、それぞれ異なった文字としての特徴・相違点を備えた文字である「変移性」を備えた文字を生成することが可能となる。さらに、サンプルとして書かれた文字列は5回分、つまり1文字あたりのサンプルは5文字しかないのにかかわらず、生成された文字列は、5つ以上の異なった「変移性」を備えた文字列を生成することが可能となる。   FIG. 13A shows a handwritten character string written as a sample by a writer only five times in a vertically written character string made up of “2 gmx Shijo Yuki Mizushiishi”. On the other hand, in FIG. 13B, the character string of the sample in FIG. 13A is read by the input operation unit 12, and the “personality” and “transition” of the sample character string written by the writer based on the processing described above. An example is shown in which only 10 character strings having a character are generated. Comparing FIG. 13 (a) and FIG. 13 (b), each character is not the same character, but shows a common shape. In this way, by generating a character using the handwritten character generation device 1, it is possible to generate a character reflecting “individuality” indicating characteristics that can be recognized as a character string written by the writer. Thus, it is possible to generate a character having “transition”, which is a character having a characteristic / difference as a different character while each character has a common feature. In addition, the generated character string has five or more different “transitions” characters, even though the character string written as a sample is five times, that is, there are only five characters per character sample. A column can be generated.

以上説明したように、本実施の形態にかかる手書き文字生成装置1を用いることにより、文字を構成するストローク内の特徴点の位置を、同一ストローク内の各特徴点における影響ベクトルの集合によって求めることができるので、サンプルとして用いられる文字を書いた書き手の「個人性」および「変移性」を備えたストロークを生成することが可能となる。   As described above, by using the handwritten character generation device 1 according to the present embodiment, the position of the feature point in the stroke constituting the character is obtained from the set of influence vectors in each feature point in the same stroke. Therefore, it is possible to generate a stroke having “individuality” and “transition” of a writer who wrote a character used as a sample.

さらに、各特徴点における影響ベクトルの集合をクラスタリングしてクラス分けすることにより、ストローク内の特徴点の位置決定を複数(モデルの分岐数)選択することが可能となるので、サンプルの文字を書いた回数よりも多種類のストロークを生成することが可能となる。   Furthermore, by clustering and classifying a set of influence vectors at each feature point, it is possible to select multiple (points of model branches) for determining the position of the feature point in the stroke. More types of strokes than the number of times can be generated.

さらに、各ストロークの大きさ調整および位置調整を影響ベクトルの集合およびストローク間ベクトルの集合を用いて決定することができるので、ストローク間相互の位置および大きさをサンプルの文字の特徴に準じて調整することが可能となり、結果として、書き手の「個人性」および「変移性」を備えた文字を、サンプルを書いた回数よりも多種類に生成することが可能となる。   In addition, the size and position of each stroke can be determined using a set of influence vectors and a set of vectors between strokes, so that the position and size between strokes can be adjusted according to the character characteristics of the sample. As a result, it is possible to generate more characters with “personality” and “transition” of the writer than the number of times the sample has been written.

以上、本発明に係る文字生成装置について、図面を用いて詳細に説明したが、本発明に係る文字生成装置は上述した実施の形態の例には限定されない。当業者であれば、特許請求の範囲に記載された範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。   Although the character generation device according to the present invention has been described in detail with reference to the drawings, the character generation device according to the present invention is not limited to the above-described embodiments. It will be apparent to those skilled in the art that various changes and modifications can be made within the scope of the claims, and these are naturally within the technical scope of the present invention. Understood.

例えば、生成しようとする全ての文字の平均文字データをあらかじめ標準パターンとして第1のデータベースに記録させておき、さらに、ある書き手により、生成しようとする文字の特徴を備えた所定の文字を記述してもらうことによって、書き手により書かれた文字とは異なる特定の特徴を備えた文字を生成することが可能となる。   For example, average character data of all characters to be generated is recorded in advance in the first database as a standard pattern, and a predetermined character having characteristics of characters to be generated is described by a certain writer. This makes it possible to generate a character having specific characteristics different from those written by the writer.

具体的には、第1のデータベースに記録された標準パターンにおいて、全ての文字をストローク単位で分離し、分離されたストロークをクラスタリングすることによって多数のグループを生成する。そして、クラスタリングされた多数のグループを備えたストロークと、これから生成しようとする文字との関係を求めて、第3のデータベースに記録させる。一方で、書き手により書かれたサンプル文字によって求められるサンプル情報を、第2のデータベースに記録させる。   Specifically, in the standard pattern recorded in the first database, all characters are separated in units of strokes, and a large number of groups are generated by clustering the separated strokes. Then, the relationship between the strokes having a large number of clustered groups and the characters to be generated is obtained and recorded in the third database. On the other hand, sample information obtained by sample characters written by the writer is recorded in the second database.

このようにして、第1のデータベースに標準パターンを記録し、第2のデータベースに書き手により書かれた文字のサンプル情報を記録し、第3のデータベースにクラスタリングされた多数のストロークのグループと、生成しようとする文字との関係を示す情報を記録することによって、第2のデータベースに記録された生成可能な文字に関するストロークの集合を、第3のデータベースから求めることができ、求められた多数のストロークの情報を利用することによって、新しい文字を生成することができる。既存の研究方法(例えば、Jungpil Shin, Kazunori Suzuki, Atsushi Hasegawa, "Handwritten Chinese Character Font Generation Based on Stroke Correspondence", International Journal of Computer Processing of Oriental Languages, Vol.18, Issue 3, p.211-226,2005)を利用した場合には、書き手に100種類程度の漢字の入力を行ってもらうだけで、入力された漢字とは異なる3000種類程度の漢字を生成することが可能となる。   In this way, a standard pattern is recorded in the first database, sample information of characters written by the writer is recorded in the second database, and a large number of stroke groups clustered in the third database are generated. By recording information indicating the relationship with the character to be tried, a set of strokes relating to the characters that can be generated recorded in the second database can be obtained from the third database, and a large number of obtained strokes can be obtained. A new character can be generated by using the information. Existing research methods (for example, Jungpil Shin, Kazunori Suzuki, Atsushi Hasegawa, "Handwritten Chinese Character Font Generation Based on Stroke Correspondence", International Journal of Computer Processing of Oriental Languages, Vol.18, Issue 3, p.211-226, 2005), it is possible to generate about 3000 types of Chinese characters different from the input Chinese characters only by having the writer input about 100 types of Chinese characters.

また、サンプル情報として、同一の書き手により記述された文字だけを利用するのではなく、異なる書き手により書かれた異なる文字を混ぜ合わせてサンプル情報を採取することにより、それぞれの書き手における文字の特徴が混ぜ合わされた新たな「個人性」および「変移性」を備えた文字を生成することが可能となる。特に、上述した標準パターンを予めデータベースに記録しておくことにより、書き手により書かれた文字と異なる文字を生成することが可能となる。このため、十分な標準パターンを構築することにより、ユーザにより入力される文字数が少ない場合であっても、実際の書き手の文字に似通った多種類の文字を生成することが可能となる。   Also, as sample information, rather than using only the characters written by the same writer, by collecting sample information by mixing different characters written by different writers, the character characteristics of each writer can be obtained. It becomes possible to generate characters with new “individuality” and “transition” mixed. In particular, by recording the standard pattern described above in a database in advance, it is possible to generate a character different from the character written by the writer. For this reason, by constructing a sufficient standard pattern, even if the number of characters input by the user is small, it is possible to generate many types of characters similar to the characters of the actual writer.

また、漢字は、数多くの種類の文字を備えているが、各文字は、「部首」と呼ばれる共通した様々なストロークの集合によって構成されている。このため、複数の「部首」の相互間の関係を、本実施の形態に係る手書き文字生成装置1における「他のストロークの特徴点を基準とするストローク間ベクトルの集合を、目的とするストロークの特徴点毎に求める処理方法」に基づいてモデリングすることにより、共通する部首を使用する他の文字の生成を行うことが可能となる。   Kanji has many types of characters, and each character is composed of a set of various common strokes called “radicals”. For this reason, the relationship between a plurality of “radicals” is expressed as “a stroke corresponding to a set of inter-stroke vectors based on feature points of other strokes” in the handwritten character generation apparatus 1 according to the present embodiment. By modeling based on the “processing method obtained for each feature point”, it is possible to generate other characters using a common radical.

さらに、本発明に係る文字生成方法を応用することにより、楷書体で書かれたサンプル文字に基づいて草書体の文字を生成することが可能である。なお、草書体は、文字のストロークが他の文字と異なって接続された一筆書き的な形状を呈するという特徴を有している。このため、草書体を生成するためには、草書体を形成するストローク間の一般的な接続情報が必要となり、このような接続情報が第4のデータベースに記録されているものとする。   Furthermore, by applying the character generation method according to the present invention, it is possible to generate a cursive character based on sample characters written in a typeface. Note that the cursive type has a characteristic that it has a stroke-like shape in which strokes of characters are connected differently from other characters. For this reason, in order to generate a cursive font, general connection information between strokes forming the cursive font is required, and such connection information is recorded in the fourth database.

楷書体から草書体を生成する場合には、楷書体のサンプル情報に基づいてたくさんの楷書体のストロークを生成する。そして、生成された楷書体のストロークを、第4のデータベースに記録される接続情報に基づいて連結させて、ストロークの一部が接続された文字を生成する。その後、生成された文字情報を、フーリエ変換を用いて周波数領域に変換し、変換された周波数領域における高周波数の情報を除去した後に、フーリエ逆変換を用いてデータを文字情報(平面情報)に変換する。このようにフーリエ変換を行った後に高周波成分を除去してからフーリエ逆変換で文字情報に戻すことにより、ストロークのつながりがなめらかで美的に変形された(美的に崩れた)形状の草書体を生成することが可能となる。   When generating a cursive typeface from a typeface, a lot of typeface strokes are generated based on the sample information of the typeface. Then, the generated strokes of the typeface are connected based on the connection information recorded in the fourth database to generate a character to which a part of the stroke is connected. After that, the generated character information is converted into the frequency domain using Fourier transform, and after the high frequency information in the converted frequency domain is removed, the data is converted into character information (planar information) using inverse Fourier transform. Convert. After removing the high-frequency components after performing the Fourier transform and then converting it back to text information using the inverse Fourier transform, a cursive font with a smooth and aesthetically deformed (aesthetically collapsed) shape is generated. It becomes possible to do.

1 …手書き文字生成装置(ストローク生成装置、文字生成装置)
11 …ディスプレイ部
12 …入力操作部
12a …電子ペン
12b …スクリーン部
13 …本体部
20 …制御部
21 …データ記録部
30 …CPU(ストローク分解手段、ストローク生成手段、ストローク間ベクトル集合抽出手段、ストローク間影響点抽出手段、影響点抽出手段、特徴点追加手段、特徴点抽出手段、影響ベクトル集合抽出手段、クラスタリング手段、モデル生成手段、大きさ調整手段、位置調整手段)
31 …RAM
1 ... handwritten character generation device (stroke generation device, character generation device)
DESCRIPTION OF SYMBOLS 11 ... Display part 12 ... Input operation part 12a ... Electronic pen 12b ... Screen part 13 ... Main-body part 20 ... Control part 21 ... Data recording part 30 ... CPU (stroke decomposition | disassembly means, stroke generation means, inter-stroke vector set extraction means, stroke Inter-effect point extraction means, influence point extraction means, feature point addition means, feature point extraction means, influence vector set extraction means, clustering means, model generation means, size adjustment means, position adjustment means)
31 ... RAM

Claims (21)

同じ文字の軌跡および書き順に関する情報に基づいて、当該文字の構造をストローク別に分解するストローク分解手段と、
該ストローク分解手段により分解されたストローク毎に、当該ストロークの形状を特徴付ける特徴点を抽出する特徴点抽出手段と、
前記ストロークの一の特徴点を基準として、当該ストロークにおける全ての他の特徴点から前記一の特徴点までの距離と方向とを示す影響ベクトルの集合を、当該ストロークにおける全ての特徴点について求める影響ベクトル集合抽出手段と、
該影響ベクトル集合抽出手段により求められた前記影響ベクトルの集合であって、複数回書かれた前記同じ文字毎の全てのストロークの全ての特徴点における前記影響ベクトルの集合を、複数回書かれた前記同じ文字の同じ部位を構成するストロークの特徴点毎にクラスタリングすることにより、当該特徴点における前記影響ベクトルの集合をクラス分けするクラスタリング手段と、
前記一の特徴点から次の特徴点の位置を決定するための位置決定パターンを、前記クラスタリング手段によりクラス分けされた前記一の特徴点における前記影響ベクトルの集合のクラス数に応じて数パターン設定し、全ての特徴点の位置決定パターンに基づいて特徴点位置判断モデルを生成するモデル生成手段と、
該モデル生成手段により生成された特徴点位置判断モデルに従って、次の特徴点の位置を決定するための位置決定パターンとして前記クラスタリング手段によりクラス分けされた前記影響ベクトルの集合を用いることにより、各特徴点の位置を決定してストロークを生成するストローク生成手段と
を備えることを特徴とするストローク生成装置。
Stroke disassembling means for disassembling the structure of the character by stroke based on information on the trajectory and stroke order of the same character;
Feature point extracting means for extracting a feature point characterizing the shape of the stroke for each stroke decomposed by the stroke decomposing means;
Influence of obtaining a set of influence vectors indicating distances and directions from all other feature points in the stroke to the one feature point with respect to one feature point of the stroke for all feature points in the stroke Vector set extraction means;
A set of the influence vectors obtained by the influence vector set extraction means, wherein the set of the influence vectors at all the feature points of all the strokes of the same character written a plurality of times is written a plurality of times. Clustering means for classifying the set of influence vectors at the feature points by clustering for each feature point of the stroke that constitutes the same part of the same character;
A position determination pattern for determining the position of the next feature point from the one feature point is set according to the number of classes of the set of the influence vectors in the one feature point classified by the clustering means. Model generation means for generating a feature point position determination model based on the position determination pattern of all feature points;
By using the set of influence vectors classified by the clustering means as a position determination pattern for determining the position of the next feature point according to the feature point position determination model generated by the model generation means, A stroke generation device comprising: stroke generation means for determining a position of a point and generating a stroke.
前記ストロークの一の特徴点を基準として、当該一の特徴点よりも前の軌跡に位置する他の特徴点を影響点として求める影響点抽出手段を備え、
前記影響ベクトル集合抽出手段は、前記影響点から前記一の特徴点までの距離と方向とを示す影響ベクトルを、前記一の特徴点における全ての影響点において求めること
を特徴とする請求項1に記載のストローク生成装置。
An influence point extracting means for obtaining, as an influence point, another feature point located on a trajectory before the one feature point with respect to one feature point of the stroke;
The said influence vector set extraction means calculates | requires the influence vector which shows the distance and direction from the said influence point to the said one feature point in all the influence points in the said one feature point. The stroke generation device described.
前記ストロークの一の特徴点を基準として、当該一の特徴点よりも前の軌跡に位置する他の特徴点であって、前記一の特徴点と前記他の特徴点とを結んだラインがいずれかのストロークの軌跡によって遮られない他の特徴点を影響点として求める影響点抽出手段を備え、
前記影響ベクトル集合抽出手段は、前記影響点から前記一の特徴点までの距離と方向とを示す影響ベクトルを、前記一の特徴点における全ての影響点において求めること
を特徴とする請求項1に記載のストローク生成装置。
With reference to one feature point of the stroke, which is another feature point located in the locus before the one feature point, and which is a line connecting the one feature point and the other feature point An influence point extracting means for obtaining other feature points that are not obstructed by the trajectory of the stroke as an influence point;
The said influence vector set extraction means calculates | requires the influence vector which shows the distance and direction from the said influence point to the said one feature point in all the influence points in the said one feature point. The stroke generation device described.
複数回書かれた前記同じ文字の同じ部位を構成する複数のストローク毎に特徴点の数が異なる場合に、当該ストローク別に特徴点の追加処理を行って特徴点の数を同じにする特徴点追加手段を備えること
を特徴とする請求項1乃至請求項3のいずれか1項に記載のストローク生成装置。
When the number of feature points is different for each of multiple strokes that make up the same part of the same character written multiple times, feature point addition processing is performed to make the number of feature points the same for each stroke. The stroke generation device according to any one of claims 1 to 3, further comprising: means.
請求項1乃至請求項4のいずれか1項に記載のストローク生成装置と、
前記ストローク分解手段により分解された、同一の文字の異なる部位を構成するストローク間において、一のストロークの特徴点を基準とし、当該一のストロークとは異なる他のストロークの全ての特徴点から前記一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、複数回書かれた同じ文字毎の全てのストロークにおける全ての特徴点毎に求めるストローク間ベクトル集合抽出手段と、
前記ストローク生成手段により生成された一のストロークの大きさを、同一の文字であって異なる部位を構成する他のストロークのストローク間ベクトルの集合と、同一の文字であって同じ部位を構成する同一のストロークにおける影響ベクトルの集合とに基づいて調整する大きさ調整手段と、
該大きさ調整手段により大きさ調整が行われたストロークの位置を、同一の文字であって異なる部位を構成する他のストロークにおけるストローク間ベクトルの集合に基づいて調整する位置調整手段と、
を備えることを特徴とする文字生成装置。
The stroke generation device according to any one of claims 1 to 4,
Between the strokes constituting different parts of the same character decomposed by the stroke disassembling means, the feature point of one stroke is used as a reference, and all the feature points of other strokes different from the one stroke are used to calculate the one stroke. An inter-stroke vector set extracting means for obtaining a set of vectors between strokes indicating a distance and a direction to a feature point of the stroke for each feature point in all strokes of the same character written multiple times;
The size of one stroke generated by the stroke generating means is the same as that of the set of inter-stroke vectors of other strokes that constitute the same character and different parts, and the same character that constitutes the same part. A size adjusting means for adjusting based on a set of influence vectors in the stroke of
Position adjusting means for adjusting the position of the stroke whose size has been adjusted by the size adjusting means, based on a set of vectors between strokes in other strokes which are the same character and constitute different parts;
A character generation device comprising:
前記ストローク分解手段により分解された、同一の文字の異なる部位を構成するストローク間において、一のストロークの特徴点を基準とし、当該一のストロークよりも書き順的に前に位置する他のストロークの特徴点を、ストローク間影響点として求めるストローク間影響点抽出手段を備え、
前記ストローク間ベクトル集合抽出手段は、前記ストローク間影響点抽出手段により求められた全てのストローク間影響点から前記一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、複数回書かれた同じ文字毎の全てのストロークにおける全ての特徴点毎に求めること
を特徴とする請求項5に記載の文字生成装置。
Between strokes constituting different parts of the same character that have been decomposed by the stroke disassembling means, with reference to the characteristic point of one stroke, other strokes positioned in the order of writing before the one stroke. An inter-stroke influence point extraction means for obtaining a feature point as an inter-stroke influence point is provided.
The inter-stroke vector set extraction means includes a plurality of sets of inter-stroke vectors indicating distances and directions from all the inter-stroke influence points obtained by the inter-stroke influence point extraction means to the feature points of the one stroke. The character generation device according to claim 5, wherein the character generation device is obtained for every feature point in all strokes of the same character written once.
前記ストローク分解手段により分解された、同一の文字の異なる部位を構成するストローク間において、一のストロークの特徴点を基準とし、当該一のストロークよりも書き順的に前に位置する他のストロークであって、当該他のストロークのいずれかの特徴点と前記一のストロークの特徴点とを結んだラインがいずれかのストロークの軌跡によって遮られない前記いずれかの特徴点を、ストローク間影響点として求めるストローク間影響点抽出手段を備え、
前記ストローク間ベクトル集合抽出手段は、前記ストローク間影響点抽出手段により求められた全てのストローク間影響点から前記一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、複数回書かれた同じ文字毎の全てのストロークにおける全ての特徴点毎に求めること
を特徴とする請求項5に記載の文字生成装置。
Between strokes constituting different parts of the same character that have been decomposed by the stroke disassembling means, with reference to the feature point of one stroke, other strokes that are positioned in the order of writing before the one stroke. And any one of the feature points in which the line connecting any one of the feature points of the other stroke and the feature point of the one stroke is not obstructed by the trajectory of any stroke is defined as an inter-stroke influence point. Equipped with a means for extracting the influence points between strokes,
The inter-stroke vector set extraction means includes a plurality of sets of inter-stroke vectors indicating distances and directions from all the inter-stroke influence points obtained by the inter-stroke influence point extraction means to the feature points of the one stroke. The character generation device according to claim 5, wherein the character generation device is obtained for every feature point in all strokes of the same character written once.
ストローク分解手段が、同じ文字の軌跡および書き順に関する情報に基づいて、当該文字の構造をストローク別に分解するストローク分解ステップと、
該ストローク分解ステップにおいて分解されたストローク毎に、特徴点抽出手段が、当該ストロークの形状を特徴付ける特徴点を抽出する特徴点抽出ステップと、
前記ストロークの一の特徴点を基準として、当該ストロークにおける全ての他の特徴点から前記一の特徴点までの距離と方向とを示す影響ベクトルの集合を、影響ベクトル集合抽出手段が、当該ストロークにおける全ての特徴点について求める影響ベクトル集合抽出ステップと、
該影響ベクトル集合抽出ステップにおいて求められた前記影響ベクトルの集合であって、複数回書かれた前記同じ文字毎の全てのストロークの全ての特徴点における前記影響ベクトルの集合を、複数回書かれた前記同じ文字の同じ部位を構成するストロークの特徴点毎にクラスタリングすることにより、クラスタリング手段が、当該特徴点における前記影響ベクトルの集合をクラス分けするクラスタリングステップと、
モデル生成手段が、前記一の特徴点から次の特徴点の位置を決定するための位置決定パターンを、前記クラスタリングステップにおいてクラス分けされた前記一の特徴点における前記影響ベクトルの集合のクラス数に応じて数パターン設定し、全ての特徴点の位置決定パターンに基づいて特徴点位置判断モデルを生成するモデル生成ステップと、
該モデル生成ステップにおいて生成された特徴点位置判断モデルに従って、次の特徴点の位置を決定するための位置決定パターンとして前記クラスタリングステップにおいてクラス分けされた前記影響ベクトルの集合を用いることにより、ストローク生成手段が、各特徴点の位置を決定してストロークを生成するストローク生成ステップと
を備えることを特徴とするストローク生成方法。
A stroke disassembling step in which the stroke disassembling means disassembles the structure of the character by stroke based on the information on the trajectory and the stroke order of the same character;
For each stroke decomposed in the stroke decomposition step, the feature point extraction means extracts a feature point that characterizes the shape of the stroke; and
Based on one feature point of the stroke, an influence vector set extraction unit is configured to obtain a set of influence vectors indicating distances and directions from all other feature points in the stroke to the one feature point. An influence vector set extraction step for all feature points;
A set of the influence vectors obtained in the influence vector set extraction step, wherein the set of the influence vectors at all the feature points of all the strokes of the same character written a plurality of times is written a plurality of times. A clustering step in which the clustering means classifies the set of the influence vectors at the feature points by clustering for each feature point of the stroke constituting the same part of the same character,
The model generation means sets the position determination pattern for determining the position of the next feature point from the one feature point to the number of classes of the set of the influence vectors in the one feature point classified in the clustering step. In response to this, a model generation step for setting several patterns and generating a feature point position determination model based on the position determination patterns of all feature points;
Stroke generation by using the set of influence vectors classified in the clustering step as a position determination pattern for determining the position of the next feature point according to the feature point position determination model generated in the model generation step A means for generating a stroke, characterized in that the means includes a stroke generation step of determining a position of each feature point and generating a stroke.
前記ストロークの一の特徴点を基準として、影響点抽出手段が、当該一の特徴点よりも前の軌跡に位置する他の特徴点を影響点として求める影響点抽出ステップを備え、
前記影響ベクトル集合抽出ステップにおいて、前記影響ベクトル集合抽出手段が、前記影響点から前記一の特徴点までの距離と方向とを示す影響ベクトルを、前記一の特徴点における全ての影響点において求めること
を特徴とする請求項8に記載のストローク生成方法。
The influence point extracting means includes, as a reference, an influence point extraction step for obtaining, as an influence point, another feature point located on a trajectory before the one feature point based on one feature point of the stroke.
In the influence vector set extraction step, the influence vector set extraction means obtains an influence vector indicating a distance and a direction from the influence point to the one feature point at all the influence points in the one feature point. The stroke generation method according to claim 8.
前記ストロークの一の特徴点を基準として、影響点抽出手段が、当該一の特徴点よりも前の軌跡に位置する他の特徴点であって、前記一の特徴点と前記他の特徴点とを結んだラインがいずれかのストロークの軌跡によって遮られない他の特徴点を影響点として求める影響点抽出ステップを備え、
前記影響ベクトル集合抽出ステップにおいて、前記影響ベクトル集合抽出手段は、前記影響点から前記一の特徴点までの距離と方向とを示す影響ベクトルを、前記一の特徴点における全ての影響点において求めること
を特徴とする請求項8に記載のストローク生成方法。
On the basis of one feature point of the stroke, the influence point extracting means is another feature point located in a locus before the one feature point, and the one feature point and the other feature point An influence point extraction step for obtaining, as an influence point, another feature point that is not obstructed by the trajectory of any stroke.
In the influence vector set extraction step, the influence vector set extraction means obtains an influence vector indicating a distance and a direction from the influence point to the one feature point at all the influence points in the one feature point. The stroke generation method according to claim 8.
複数回書かれた前記同じ文字の同じ部位を構成する複数のストローク毎に特徴点の数が異なる場合に、特徴点追加手段が、当該ストローク別に特徴点の追加処理を行って特徴点の数を同じにする特徴点追加ステップを備えること
を特徴とする請求項8乃至請求項10のいずれか1項に記載のストローク生成方法。
When the number of feature points is different for each of a plurality of strokes constituting the same part of the same character written a plurality of times, the feature point adding means performs a feature point addition process for each stroke to calculate the number of feature points. The stroke generating method according to any one of claims 8 to 10, further comprising the same feature point adding step.
請求項8乃至請求項11のいずれか1項に記載のストローク生成方法と、
前記ストローク分解ステップにおいて分解された、同一の文字の異なる部位を構成するストローク間において、一のストロークの特徴点を基準とし、当該一のストロークとは異なる他のストロークの全ての特徴点から前記一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、ストローク間ベクトル集合抽出手段が、複数回書かれた同じ文字毎の全てのストロークの全ての特徴点毎に求めるストローク間ベクトル集合抽出ステップと、
前記ストローク生成ステップにおいて生成された一のストロークの大きさを、大きさ調整手段が、同一の文字であって異なる部位を構成する他のストロークのストローク間ベクトルの集合と、同一の文字であって同じ部位を構成する同一のストロークにおける影響ベクトルの集合とに基づいて調整する大きさ調整ステップと、
該大きさ調整ステップにより大きさ調整が行われたストロークの位置を、位置調整手段が、同一の文字であって異なる部位を構成する他のストロークにおけるストローク間ベクトルの集合に基づいて調整する位置調整ステップと
を備えることを特徴とする文字生成方法。
A stroke generation method according to any one of claims 8 to 11,
Between strokes constituting different parts of the same character decomposed in the stroke decomposing step, the feature point of one stroke is used as a reference, and all the feature points of other strokes different from the one stroke are used to determine the one stroke. The inter-stroke vector set extraction means that calculates the set of inter-stroke vectors indicating the distance and direction to the feature point of the stroke for each feature point of all the strokes of the same character written multiple times. A vector set extraction step;
The size of the one stroke generated in the stroke generation step is the same character as the set of inter-stroke vectors of other strokes that constitute the different parts of the same character and the size adjusting means. A magnitude adjustment step for adjusting based on a set of influence vectors in the same stroke constituting the same part;
Position adjustment in which the position adjustment means adjusts the position of the stroke whose size has been adjusted by the size adjustment step based on a set of vectors between strokes in other strokes that are the same character and constitute different parts. A character generation method comprising the steps of:
前記ストローク分解ステップにおいて分解された、同一の文字の異なる部位を構成するストローク間において、一のストロークの特徴点を基準とし、ストローク間影響点抽出手段が、当該一のストロークよりも書き順的に前に位置する他のストロークの特徴点を、ストローク間影響点として求めるストローク間影響点抽出ステップを備え、
前記ストローク間ベクトル集合抽出ステップにおいて、前記ストローク間ベクトル集合抽出手段が、前記ストローク間影響点抽出ステップにおいて求められた全てのストローク間影響点から前記一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、複数回書かれた同じ文字毎の全てのストロークの全ての特徴点毎に求めること
を特徴とする請求項12に記載の文字生成方法。
Between strokes constituting different parts of the same character decomposed in the stroke decomposition step, the inter-stroke influence point extraction means is more in a stroke order than the one stroke based on the feature points of one stroke. An inter-stroke influence point extraction step for obtaining a feature point of another stroke positioned in front as an inter-stroke influence point is provided,
In the inter-stroke vector set extracting step, the inter-stroke vector set extracting means calculates the distances and directions from all the inter-stroke effect points obtained in the inter-stroke effect point extracting step to the feature points of the one stroke. The character generation method according to claim 12, wherein a set of inter-stroke vectors to be shown is obtained for every feature point of every stroke written for a plurality of times for the same character.
前記ストローク分解ステップにおいて分解された、同一の文字の異なる部位を構成するストローク間において、一のストロークの特徴点を基準とし、ストローク間影響点抽出手段が、当該一のストロークよりも書き順的に前に位置する他のストロークであって、当該他のストロークのいずれかの特徴点と前記一のストロークの特徴点とを結んだラインがいずれかのストロークの軌跡によって遮られない前記いずれかの特徴点を、ストローク間影響点として求めるストローク間影響点抽出ステップを備え、
前記ストローク間ベクトル集合抽出ステップにおいて、前記ストローク間ベクトル集合抽出手段が、前記ストローク間影響点抽出ステップにおいて求められた全てのストローク間影響点から前記一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、複数回書かれた同じ文字毎の全てのストロークの全ての特徴点毎に求めること
を特徴とする請求項12に記載の文字生成方法。
Between strokes constituting different parts of the same character decomposed in the stroke decomposition step, the inter-stroke influence point extraction means is more in a stroke order than the one stroke based on the feature points of one stroke. Any one of the above-described features, wherein a line connecting any feature point of the other stroke and the feature point of the one stroke is not obstructed by the trajectory of any stroke. An inter-stroke influence point extraction step for obtaining points as inter-stroke influence points;
In the inter-stroke vector set extracting step, the inter-stroke vector set extracting means calculates the distances and directions from all the inter-stroke effect points obtained in the inter-stroke effect point extracting step to the feature points of the one stroke. The character generation method according to claim 12, wherein a set of inter-stroke vectors to be shown is obtained for every feature point of every stroke written for a plurality of times for the same character.
複数回書かれた同じ文字の軌跡および書き順に関する情報を用いることにより、前記文字を構成するストロークに類似するストロークを生成することが可能なストローク生成プログラムであって、
コンピュータに、
前記同じ文字の軌跡および書き順に関する情報に基づいて、当該文字の構造をストローク別に分解させるストローク分解機能と、
該ストローク分解機能により分解されたストローク毎に、当該ストロークの形状を特徴付ける特徴点を抽出させる特徴点抽出機能と、
前記ストロークの一の特徴点を基準として、当該ストロークにおける全ての他の特徴点から前記一の特徴点までの距離と方向とを示す影響ベクトルの集合を、当該ストロークにおける全ての特徴点について求めさせる影響ベクトル集合抽出機能と、
該影響ベクトル集合抽出機能により求められた前記影響ベクトルの集合であって、複数回書かれた前記同じ文字毎の全てのストロークの全ての特徴点における前記影響ベクトルの集合を、複数回書かれた前記同じ文字の同じ部位を構成するストロークの特徴点毎にクラスタリングさせることにより、当該特徴点における前記影響ベクトルの集合をクラス分けさせるクラスタリング機能と、
前記一の特徴点から次の特徴点の位置を決定するための位置決定パターンを、前記クラスタリング機能によってクラス分けされた前記一の特徴点における前記影響ベクトルの集合のクラス数に応じて数パターン設定させ、全ての特徴点の位置決定パターンに基づいて特徴点位置判断モデルを生成させるモデル生成機能と、
該モデル生成機能において生成された特徴点位置判断モデルに従って、次の特徴点の位置を決定するための位置決定パターンとして前記クラスタリング機能によりクラス分けされた前記影響ベクトルの集合を用いることにより、各特徴点の位置を決定するストロークを生成させるストローク生成機能と
を実現させることを特徴とするストローク生成プログラム。
A stroke generation program capable of generating a stroke similar to a stroke constituting the character by using information on a trajectory and a writing order of the same character written a plurality of times,
On the computer,
A stroke disassembly function for disassembling the structure of the character by stroke based on the information on the trajectory and writing order of the same character;
A feature point extraction function for extracting a feature point characterizing the shape of the stroke for each stroke decomposed by the stroke decomposition function;
Based on one feature point of the stroke, a set of influence vectors indicating distances and directions from all other feature points in the stroke to the one feature point are obtained for all feature points in the stroke. An influence vector set extraction function;
A set of the influence vectors obtained by the influence vector set extraction function, wherein the set of the influence vectors at all the feature points of all the strokes of the same character written a plurality of times is written a plurality of times. A clustering function for classifying the set of the influence vectors at the feature points by clustering for each feature point of the stroke constituting the same part of the same character,
A position determination pattern for determining the position of the next feature point from the one feature point is set according to the number of classes of the set of the influence vectors in the one feature point classified by the clustering function. A model generation function for generating a feature point position determination model based on a position determination pattern of all feature points;
By using the set of influence vectors classified by the clustering function as a position determination pattern for determining the position of the next feature point according to the feature point position determination model generated by the model generation function, A stroke generation program for realizing a stroke generation function for generating a stroke for determining a position of a point.
前記コンピュータに、
前記ストロークの一の特徴点を基準として、当該一の特徴点よりも前の軌跡に位置する他の特徴点を影響点として求めさせる影響点抽出機能を実現させ、
前記影響ベクトル集合抽出機能において、前記影響点から前記一の特徴点までの距離と方向とを示す影響ベクトルを、前記一の特徴点における全ての影響点において求めさせること
を特徴とする請求項15に記載のストローク生成プログラム。
In the computer,
Based on one feature point of the stroke, realize an influence point extraction function that obtains another feature point located in a trajectory before the one feature point as an influence point,
16. The influence vector set extraction function allows an influence vector indicating a distance and a direction from the influence point to the one feature point to be obtained at all influence points in the one feature point. Stroke generation program described in 1.
前記コンピュータに、
前記ストロークの一の特徴点を基準として、当該一の特徴点よりも前の軌跡に位置する他の特徴点であって、前記一の特徴点と前記他の特徴点とを結んだラインがいずれかのストロークの軌跡によって遮られない他の特徴点を影響点として求めさせる影響点抽出機能を実現させ、
前記影響ベクトル集合抽出機能において、前記影響点から前記一の特徴点までの距離と方向とを示す影響ベクトルを、前記一の特徴点における全ての影響点において求めさせること
を特徴とする請求項15に記載のストローク生成プログラム。
In the computer,
With reference to one feature point of the stroke, which is another feature point located in the locus before the one feature point, and which is a line connecting the one feature point and the other feature point Realize the influence point extraction function to obtain other feature points that are not obstructed by the trajectory of the stroke as the influence point,
16. The influence vector set extraction function allows an influence vector indicating a distance and a direction from the influence point to the one feature point to be obtained at all influence points in the one feature point. Stroke generation program described in 1.
前記コンピュータに、
複数回書かれた前記同じ文字の同じ部位を構成する複数のストローク毎に特徴点の数が異なる場合に、当該ストローク別に特徴点の追加処理を行って特徴点の数を同じにさせる特徴点追加機能を実現させること
を特徴とする請求項15乃至請求項17のいずれか1項に記載のストローク生成プログラム。
In the computer,
When the number of feature points is different for each of multiple strokes that make up the same part of the same character written multiple times, additional feature points are added to make the number of feature points the same for each stroke. The stroke generation program according to any one of claims 15 to 17, wherein a function is realized.
コンピュータに、
請求項15乃至請求項18のいずれか1項に記載のストローク生成プログラムにより実現される機能と、
前記ストローク分解機能により分解された、同一の文字の異なる部位を構成するストローク間において、一のストロークの特徴点を基準とし、当該一のストロークとは異なる他のストロークの全ての特徴点から前記一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、複数回書かれた同じ文字毎の全てのストロークの全ての特徴点毎に求めさせるストローク間ベクトル集合抽出機能と、
前記ストローク生成機能により生成された一のストロークの大きさを、同一の文字であって異なる部位を構成する他のストロークのストローク間ベクトルの集合と、同一の文字であって同じ部位を構成する同一のストロークにおける影響ベクトルの集合とに基づいて調整させる大きさ調整機能と、
該大きさ調整機能により大きさ調整が行われたストロークの位置を、同一の文字であって異なる部位を構成する他のストロークにおけるストローク間ベクトルの集合に基づいて調整させる位置調整機能と
を実現させるための文字生成プログラム。
On the computer,
A function realized by the stroke generation program according to any one of claims 15 to 18,
Between strokes constituting different parts of the same character, which are decomposed by the stroke decomposition function, the feature point of one stroke is used as a reference, and all the feature points of other strokes different from the one stroke are used as the reference point. An inter-stroke vector set extraction function for obtaining a set of vectors between strokes indicating the distance and direction to the feature point of the stroke for each feature point of all strokes of the same character written multiple times;
The size of one stroke generated by the stroke generation function is the same as the set of vectors between strokes of other strokes that are the same character and constitute different parts, and the same character that constitutes the same part A size adjustment function to adjust based on a set of influence vectors in the stroke of
A position adjustment function for adjusting the position of the stroke whose size has been adjusted by the size adjustment function based on a set of vectors between strokes in other strokes that are the same character and form different parts is realized. Character generation program for.
前記コンピュータに、
前記ストローク分解機能によって分解された、同一の文字の異なる部位を構成するストローク間において、一のストロークの特徴点を基準とし、当該一のストロークよりも書き順的に前に位置する他のストロークの特徴点を、ストローク間影響点として求めさせるストローク間影響点抽出機能を実現させ、
前記ストローク間ベクトル集合抽出機能において、前記ストローク間影響点抽出機能により求められた全てのストローク間影響点から前記一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、複数回書かれた同じ文字毎の全てのストロークの全ての特徴点毎に求めさせること
を特徴とする請求項19に記載の文字生成プログラム。
In the computer,
Between strokes constituting different parts of the same character, which are decomposed by the stroke decomposition function, with reference to the characteristic point of one stroke, other strokes positioned in the stroke order before the one stroke. Realize the inter-stroke influence point extraction function to obtain the feature points as the inter-stroke influence points,
In the inter-stroke vector set extraction function, a plurality of sets of inter-stroke vectors indicating distances and directions from all the inter-stroke influence points obtained by the inter-stroke influence point extraction function to the feature points of the one stroke The character generation program according to claim 19, wherein the character generation program is obtained for every feature point of every stroke for every same character written once.
前記コンピュータに、
前記ストローク分解機能により分解された、同一の文字の異なる部位を構成するストローク間において、一のストロークの特徴点を基準とし、当該一のストロークよりも書き順的に前に位置する他のストロークであって、当該他のストロークのいずれかの特徴点と前記一のストロークの特徴点とを結んだラインがいずれかのストロークの軌跡によって遮られない前記いずれかの特徴点を、ストローク間影響点として求めさせるストローク間影響点抽出機能を実現させ、
前記ストローク間ベクトル集合抽出機能において、前記ストローク間影響点抽出機能により求められた全てのストローク間影響点から前記一のストロークの特徴点までの距離と方向とを示すストローク間ベクトルの集合を、複数回書かれた同じ文字毎の全てのストロークの全ての特徴点毎に求めさせること
を特徴とする請求項19に記載の文字生成プログラム。
In the computer,
Between strokes constituting different parts of the same character, which are decomposed by the stroke decomposition function, with reference to the feature point of one stroke, and other strokes positioned in the stroke order before the one stroke. And any one of the feature points in which the line connecting any one of the feature points of the other stroke and the feature point of the one stroke is not obstructed by the trajectory of any stroke is defined as an inter-stroke influence point. Realize the function to extract the influence points between strokes
In the inter-stroke vector set extraction function, a plurality of sets of inter-stroke vectors indicating distances and directions from all the inter-stroke influence points obtained by the inter-stroke influence point extraction function to the feature points of the one stroke The character generation program according to claim 19, wherein the character generation program is obtained for every feature point of every stroke for every same character written once.
JP2011018668A 2011-01-31 2011-01-31 Stroke generation device, stroke generation method, stroke generation program, character generation device, character generation method, and character generation program Active JP5713707B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2011018668A JP5713707B2 (en) 2011-01-31 2011-01-31 Stroke generation device, stroke generation method, stroke generation program, character generation device, character generation method, and character generation program
KR1020110113797A KR101500511B1 (en) 2011-01-31 2011-11-03 Stroke generating apparatus, stroke generating method, stroke generating program, character generating apparatus, character generating method and character generating program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011018668A JP5713707B2 (en) 2011-01-31 2011-01-31 Stroke generation device, stroke generation method, stroke generation program, character generation device, character generation method, and character generation program

Publications (2)

Publication Number Publication Date
JP2012159978A JP2012159978A (en) 2012-08-23
JP5713707B2 true JP5713707B2 (en) 2015-05-07

Family

ID=46840469

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011018668A Active JP5713707B2 (en) 2011-01-31 2011-01-31 Stroke generation device, stroke generation method, stroke generation program, character generation device, character generation method, and character generation program

Country Status (2)

Country Link
JP (1) JP5713707B2 (en)
KR (1) KR101500511B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102180471B1 (en) * 2013-08-20 2020-11-18 삼성전자주식회사 A Method and Apparatus For Font Beautification Based On Writer-dependent Handwriting Recognition

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7983478B2 (en) * 2007-08-10 2011-07-19 Microsoft Corporation Hidden markov model based handwriting/calligraphy generation

Also Published As

Publication number Publication date
JP2012159978A (en) 2012-08-23
KR101500511B1 (en) 2015-03-10
KR20120089836A (en) 2012-08-14

Similar Documents

Publication Publication Date Title
AU737039B2 (en) Methods and apparatuses for handwriting recognition
US7983478B2 (en) Hidden markov model based handwriting/calligraphy generation
Lin et al. Style-preserving English handwriting synthesis
JP2669583B2 (en) Computer-based method and system for handwriting recognition
US5454046A (en) Universal symbolic handwriting recognition system
US7227993B2 (en) Learning-based system and process for synthesizing cursive handwriting
TWI437448B (en) Radical-based hmm modeling for handwritten east asian characters
EP1854048A1 (en) Recognition graph
Kosmala et al. On-line handwritten formula recognition using hidden Markov models and context dependent graph grammars
JP6506770B2 (en) Method and apparatus for recognizing music symbols
JPH06243297A (en) Method and equipment for automatic handwritten character recognition using static and dynamic parameter
Kosmala et al. On-line handwritten formula recognition using statistical methods
JP4817297B2 (en) Character search device
Zarro et al. Recognition-based online Kurdish character recognition using hidden Markov model and harmony search
Addis et al. Printed ethiopic script recognition by using lstm networks
Jayaraman et al. Modular approach to recognition of strokes in Telugu script
JP5713707B2 (en) Stroke generation device, stroke generation method, stroke generation program, character generation device, character generation method, and character generation program
Singh et al. Online handwritten Gurmukhi words recognition: An inclusive study
Roy et al. Synthetic data generation for Indic handwritten text recognition
WO2000034942A1 (en) Method and system for recognizing musical notations using a compass-direction user interface
Kosmala et al. Recognition of on-line handwritten formulas
JP6094400B2 (en) Information processing apparatus, information processing method, and information processing program
Kosmala et al. Online handwritten formula recognition with integrated correction recognition and execution
Elanwar The state of the art in handwriting synthesis
Bharath et al. On the significance of stroke size and position for online handwritten Devanagari word recognition: An empirical study

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131216

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140815

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140916

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150304

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150310

R150 Certificate of patent or registration of utility model

Ref document number: 5713707

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250