JP2014081784A - Text pen-stroke display tool - Google Patents

Text pen-stroke display tool Download PDF

Info

Publication number
JP2014081784A
JP2014081784A JP2012229157A JP2012229157A JP2014081784A JP 2014081784 A JP2014081784 A JP 2014081784A JP 2012229157 A JP2012229157 A JP 2012229157A JP 2012229157 A JP2012229157 A JP 2012229157A JP 2014081784 A JP2014081784 A JP 2014081784A
Authority
JP
Japan
Prior art keywords
stroke
display
document
cell
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012229157A
Other languages
Japanese (ja)
Other versions
JP5919496B2 (en
Inventor
Yukio Nakagawa
幸男 中川
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP2012229157A priority Critical patent/JP5919496B2/en
Publication of JP2014081784A publication Critical patent/JP2014081784A/en
Application granted granted Critical
Publication of JP5919496B2 publication Critical patent/JP5919496B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To solve such a problem that a conventional pen-stroke display tool constructs strokes with a plurality of control points to which regular order is assigned and displays outlines to represent pen strokes but cannot make further representation, otherwise displays elements composing strokes of characters prestored in a memory according to stroke order, or displays characters by controlling display timing of display matrix, thus it does not have enough flexibility in a display manner.SOLUTION: A text pen-stroke display tool is configured to: capture outlines of text character strings on paper or the like at predetermined fineness level as point sequence data; capture the inside of the outlines by a program as character thickness made of a set of regular squares finely divided with desired accuracy; specify display order for each of the squares; specify screen display start time of the display order for each of the squares; and perform pen-stroke display of the text character strings by displaying the screen in the specified display manner.

Description

本発明は文書文字列を行列からなる正方形升目に区切り、升目ごとの画面表示開始時刻を調整するようにして、推定運筆を忠実に再現できるようにした文書運筆表示ツール。 The present invention is a document handwriting display tool that can reproduce an estimated handwriting faithfully by dividing a document character string into square cells made of a matrix and adjusting the screen display start time for each cell.

文書文字列の外郭線内部を、所望の精度で細かく区切られた正方形升目の文字肉としてプログラムにより取り込み、該升目の画面表示開始時刻を一々指定して、書を如何にも名筆書家が書いたかのようなタッチの推定運筆表示を目標とする。 The inside of the outline of the document character string is taken in by the program as the character of the square cell that is finely divided with the desired accuracy, and the screen display start time is specified one by one, and the calligrapher writes anything. The target is to display the estimated strokes as if they were touches.

アウトライン方式のフォントデータのTTF(True Type Font)を用いて文字の運筆を表現するもの(特許文献1参照)、文字の画を構成するエレメントが筆順に従って表示される筆順表示装置(特許文献2参照)、文字等の書き順を順次点灯することのできるマトリクス表示装置( 特許文献3参照)の特許があった。   A character stroke is expressed using a TTF (True Type Font) of outline type font data (refer to Patent Document 1), and a stroke order display device that displays elements constituting a character image according to the stroke order (refer to Patent Document 2). ), There has been a patent for a matrix display device (see Patent Document 3) that can sequentially turn on the writing order of characters and the like.

特開2008−76555号広報JP 2008-76555 A 特開平09―244616号広報Japanese Laid-Open Patent Application No. 09-244616 特開平08―220982号広報Japanese Laid-Open Patent Application No. 08-220982

しかしながら、特許文献1は規則的な順序が割り当てられた複数の制御点によって字画を構成して輪郭を表示させ、運筆表現させるものであり、それ以上の表現はできず、特許文献2は予めメモリーに記憶された文字の画を構成するエレメントを筆順に従って表示させるものであり、特許文献3は、文字を表示マトリックスによりハード的にマトリックスの表示タイミングを制御して表示させるものであり、その表示の仕方は柔軟性に欠ける。 However, in Patent Document 1, a stroke is constituted by a plurality of control points to which a regular order is assigned, a contour is displayed, and a stroke is expressed. No more expression can be performed. The elements constituting the image of the character stored in the screen are displayed according to the stroke order. Patent Document 3 displays the character by controlling the display timing of the matrix in hardware using the display matrix. The way is inflexible.

本発明は、このような従来の問題を解決しようとするもので、文書文字列の外郭線の座標値を、該文書文字列を形成する文字の字画ごとの点列データとして取り込む取込手段と、取り込まれた点列データからなる外郭線内部を升目に区切る分割手段と、該分割手段によって分割された前記文書文字列の升目個々の画面表示開始時刻を指定して運筆表示する画面表示手段を有する文書運筆表示ツールを提供することを目的とするものである。   The present invention is to solve such a conventional problem, and capture means for capturing the coordinate value of the outline of a document character string as point sequence data for each character stroke forming the document character string; Dividing means for dividing the outline of the captured point sequence data into cells, and screen display means for specifying the screen display start time of each cell of the document character string divided by the dividing device and displaying the strokes An object of the present invention is to provide a document handwriting display tool.

画面表示手段は、文書文字列の文字を識別する文字番号、字画を識別する字画番号、及び2つの行番号と2つの列番号で表される4点からなる升目番号で識別される升目を特定色に塗りつぶし、且つ升目ごとに指定される画面表示開始時刻により文書文字列を表示するようにした調整手段を有することを特徴とする。 The screen display means identifies the cell number identified by the character number that identifies the character of the document character string, the stroke number that identifies the stroke, and the cell number that consists of the four points represented by the two row numbers and the two column numbers. The image processing apparatus includes an adjusting unit that fills a color and displays a document character string at a screen display start time specified for each cell.

外郭線内部を升目に区切る分割手段は、前記文書文字列を動的に運筆表示するのに必要十分なまでに外郭線内部を行と列の正方形升目に分割することを特徴とする。 The dividing means for dividing the inside of the outline into cells is characterized in that the inside of the outline is divided into square cells of rows and columns until it is necessary and sufficient to dynamically display the document character string.

取込手段はタブレット上に配置された文書文字列をスタイラスペンにより文書文字列の外郭線を点列データの集合として、文字番号、字画番号及び点列を識別する点列番号により外郭線の座標値を取り込んでいくことを特徴とする。 The capturing means uses the stylus pen to place the document character string placed on the tablet as a set of point string data, and the coordinates of the contour line by the character string, the stroke number, and the point string number that identifies the point string It is characterized by taking in values.

調整手段は、文書文字列全体の推定運筆表示時間を総升目数で除した時間に升目番号に割り当てられる表示順を乗じた時間を升目ごとの画面表示開始時刻の初期値とし、該画面表示開始時刻を任意に微調整できるようにしたことを特徴とする。 The adjustment means sets the time obtained by dividing the estimated stroke display time of the entire document character string by the total number of cells and the display order assigned to the cell number as an initial value of the screen display start time for each cell, and starts the screen display. It is characterized in that the time can be arbitrarily finely adjusted.

升目番号に割り当てられる表示順は、個々の升目を特定色に塗りつぶして、画面表示順序を表すことを特徴とする。本発明は以上のような構成よりなる。 The display order assigned to the cell numbers is characterized in that each cell is painted with a specific color to represent the screen display order. The present invention is configured as described above.

文書文字列の外郭線内部を、所望の精度で細かく区切られた正方形升目の集合の文字肉としてプログラムにより取り込み、該升目ごとの表示順を指定し、該升目ごとに表示順に対する画面表示開始時刻を指定して、画面表示することにより文書文字列に対する運筆表示が可能となる。   The inside of the outline of the document character string is captured by the program as the character of a set of square cells finely divided with desired accuracy, the display order for each cell is specified, and the screen display start time for the display order for each cell By designating and displaying on the screen, it is possible to display strokes for the document character string.

即ち、本発明によれば、世の中の名だたる書家の名筆例えば、橘逸勢、空海、宮本武蔵、司馬遷、王羲之、顔真卿などの文書文字列をあたかも当該書家がその場で書いているかのように、臨場感あふれるタッチで推定運筆表示させることができる。 That is, according to the present invention, it is as if a calligrapher of a famous calligrapher, such as Tachibana Yuse, Kukai, Musashi Miyamoto, Susumu Shiba, Yasuyuki Wang, Shinji Kaji, is written on the spot. In addition, it is possible to display the estimated handwriting with a touch full of realism.

文書運筆表示ツールの全体構成図である。It is a whole block diagram of a document stroke display tool. 本ツールの全体のフローの説明図である。It is explanatory drawing of the whole flow of this tool. 文書文字列「明けましておめでとう」1回目〜3回目の分割の図である。FIG. 10 is a diagram of the first to third division of the document character string “Happy New Year”. 文字「お」の右肩「点」の字画を拡大した、1回目の分割の図である。It is the figure of the 1st division | segmentation which expanded the stroke of the right shoulder "dot" of the character "O". 文字「お」の右肩「点」の字画を拡大した、2回目の分割の図である。It is the figure of the 2nd division | segmentation which expanded the stroke of the right shoulder "dot" of the character "O". 文字「お」の右肩「点」の字画を拡大した、3回目の分割の図である。It is the figure of the 3rd division | segmentation which expanded the stroke of the right shoulder "dot" of the character "O". 点列データ関数Aの説明図である。It is explanatory drawing of the point sequence data function A. 点列データの例である。It is an example of point sequence data. 文字肉の升目分割のアルゴリズムの詳細の説明図である。It is explanatory drawing of the detail of the algorithm of a mesh division of a character meat. 図9とは異なるタイプの文字字画の升目分割のアルゴリズムの説明図である。It is explanatory drawing of the algorithm of the cell division | segmentation of the type of character stroke different from FIG. 比較的複雑な文字字画の例である。図10関連。This is an example of a relatively complex character stroke. Related to FIG. 表示順指定を説明する画面例である。It is an example of a screen explaining display order specification. 画面表示開始時刻関数Bの説明図である。It is explanatory drawing of the screen display start time function B. FIG. 画面表示開始時刻関数のデータ例である。It is an example of data of a screen display start time function.

運筆表現するために、取り込まれた文書文字列の外郭線内部を、初回の升目分割として例えば、2と入力すると2mm×2mmの正方形升目で分割され、次第に半分、1/4という具合に入力して、外郭線が運筆表示に十分な細かさになるまで分割を繰り返していく。なお長さの単位については文書文字列を取り込む紙や拓本の大きさ、表示画面の大きさを元に決めるとよい。   In order to express handwriting, the inside of the outline of the captured document character string is divided into square grids of 2 mm x 2 mm as the first cell division, for example, 2 is input, and gradually input to half, 1/4, and so on. Then, the division is repeated until the outline is fine enough to display the stroke. Note that the unit of length may be determined based on the size of the paper or document that captures the document character string, and the size of the display screen.

このように文書文字列に対する分割は、最初の正方形升目長が操作者により入力された後、プログラムにより升目分割がなされ、升目からなる文字肉が求められて、画面で運筆を確認し、運筆に十分になるまで半分の半分と再分割を繰り返す。
該画面への文書運筆表示ツールは画面表示の大きさを念頭に、外郭線の点列データの個数が決まり、格子の細かさを操作者が次第に細かく指定して決まっていく。
In this way, the division into the document character string is performed by the program after the first square cell length is input by the operator, the character is divided by the program, the character meat consisting of the cell is obtained, and the stroke is confirmed on the screen. Repeat subdivision with half halves until sufficient.
The document stroke display tool on the screen determines the number of contour line point sequence data in consideration of the size of the screen display, and the operator gradually determines the fineness of the grid.

予め紙乃至拓本から取り込んだ文字外郭線の点列データからなる文書文字列を正方形升目に区切り、該升目の集合の文字肉とし、該文字肉をプログラムにより自動的に取り込めるようにした。   A document character string made up of point outline data of character outlines taken in advance from paper or takuboku is divided into square cells, and the character meat of the set of the cells is automatically captured by the program.

本ツールは図1のようにキーボード11、コンピュータ12、メモリー13、マウス14、画面15、タブレット16、スタイラスペン17からなる。
キーボード11から、操作者が文字番号、字画番号を入力して、画面15上で入力を確認して、スタイラスペン17の操作により、タブレット16上に配置された文書文字列18の外郭線の座標値がコンピュータ12経由でメモリー13に取り込まれる。マウス14はコンピュータ12と赤外線接続されており、升目に対する表示順の指定に用いられる(段落67〜76で詳述)。
As shown in FIG. 1, the tool includes a keyboard 11, a computer 12, a memory 13, a mouse 14, a screen 15, a tablet 16, and a stylus pen 17.
The operator inputs a character number and stroke number from the keyboard 11, confirms the input on the screen 15, and operates the stylus pen 17 to coordinate the outline of the document character string 18 arranged on the tablet 16. The value is taken into the memory 13 via the computer 12. The mouse 14 is connected to the computer 12 by infrared rays and is used for designating the display order for the cells (detailed in paragraphs 67 to 76).

特に座標読取装置20において、タブレット16には座標読み取りのために必要な回路等が組み込まれており、文書文字列18の外郭線上の所望の点においてスタイラスペン17を適度の押圧力をもって操作することで、該点の座標値が読み取られる。
符号10は後で説明する文書文字列18の外郭線上の前記点の座標値読み取りのための原点である。
In particular, in the coordinate reading device 20, a circuit or the like necessary for coordinate reading is incorporated in the tablet 16, and the stylus pen 17 is operated with a suitable pressing force at a desired point on the outline of the document character string 18. Thus, the coordinate value of the point is read.
Reference numeral 10 denotes an origin for reading the coordinate value of the point on the outline of the document character string 18 described later.

本ツールの全体のフローを図2に示すが、図1の全体構成図も参照しながら説明する。
図1に示すスタイラスペン17の操作により、タブレット16にセットされた文書文字列18の外郭線の点列データ取込(S1)を行う。次に取り込んだ外郭線を図1の画面15で表示(S2)してしてみて点列データの数が運筆表示に十分か否かをみる。
The overall flow of the tool is shown in FIG. 2, and will be described with reference to the overall configuration diagram of FIG.
By taking the stylus pen 17 shown in FIG. 1, the outline data of the outline line of the document character string 18 set on the tablet 16 is fetched (S1). Next, the captured outline is displayed on the screen 15 of FIG. 1 (S2) to see whether the number of point sequence data is sufficient for the stroke display.

次に画面15で升目分割(S3)を行い、外郭線内部に存在する升目の集合を文字肉として、文字肉画面表示(S4)を行ってみる。即ち升目を特定色、例えば黒色に塗りつぶす。このとき、個々の升目に対する画面表示開始時刻(後述)は同一であり、単純には画面表示開始時刻関数の値に0が入り、即ち文書文字列18の画面表示は一斉に、又は瞬時になされる。 Next, the cell division is performed on the screen 15 (S3), and the character meat screen display (S4) is performed with the set of the cells existing inside the outline as the character meat. That is, the cells are filled with a specific color, for example, black. At this time, the screen display start times (described later) for the individual cells are the same, and the value of the screen display start time function is simply 0, that is, the screen display of the document character string 18 is performed all at once or instantaneously. The

ここで文字としての外郭線が保たれているか判断する。即ち運筆に十分な分割精度(S5)が得られているかを見るわけである。十分でなかったら必要に応じて文書文字列18を拡大して、升目分割をさらに細かくする(S6)。 Here, it is determined whether the outline as a character is maintained. That is, it is checked whether sufficient division accuracy (S5) is obtained for the stroke. If it is not sufficient, the document character string 18 is enlarged as necessary to further subdivide the cell division (S6).

運筆に十分な分割精度が得られていると判断できたら、即ち文書文字列18の外郭線が滑らかになるまで分割されたら、全升目について升目番号に対する表示順指定(S7)を行い、次に表示順、等時間間隔の画面表示(S8)を行う。次に升目個々の画面表示開始時刻を調整(S9)して、画面15で運筆確認(S10)し、最適の運筆が得られなかったら(S11)表示順指定からやり直して、最適な運筆が得られたら処理の終了となる。 When it is determined that sufficient division accuracy is obtained for the stroke, that is, when the outline of the document character string 18 is divided until it becomes smooth, the display order designation (S7) for the cell numbers is performed for all cells, and then The screen display (S8) is performed in the display order and at equal time intervals. Next, the screen display start time of each cell is adjusted (S9), and the stroke is confirmed on the screen 15 (S10). If the optimum stroke is not obtained (S11), the display order is designated again and the optimum stroke is obtained. If so, the process ends.

文書文字列18を文字番号、字画番号、2つの行番号と2つの列番号で表される4点からなる升目番号と表示順により各升目の画面表示開始時刻を指定して運筆表示制御を行うこととする。図3の(A)、(B)、(C)ような「明けましておめでとう」という文書文字列18を例に説明する。 Handwriting display control is performed by designating the screen display start time of each cell according to the cell number consisting of 4 points represented by the character number, stroke number, two line numbers and two column numbers and the display order of the document character string 18. I will do it. A document character string 18 “Happy New Year” as shown in FIGS. 3A, 3B, and 3C will be described as an example.

文書文字列18の文字を識別するために文字番号として、「明」を文字番号=1、「け」を文字番号=2などと置くこととする。さらに文字或いは漢字の画数を識別するために字画番号として、図の「明」の文字においては日の左側の縦線が 字画番号=1、日の上側の横線と右側の縦線で形成される逆L字が字画番号=2などと置くこととする。 In order to identify the character of the document character string 18, “Ming” is set as character number = 1, “K” is set as character number = 2, and the like. Furthermore, as a stroke number to identify the number of strokes of characters or kanji characters, the vertical line on the left side of the day is formed by the stroke number = 1, the horizontal line on the upper side of the day and the vertical line on the right side in the “Ming” character in the figure. The inverted L character is set as stroke number = 2 or the like.

このように文書文字列18を文字番号、字画番号単位に制御することにより、運筆調整を柔軟に、自在に行うことが可能となり、名筆の書の筆触・筆尖・筆鋒の転折・脱力・ゆれ・ひねり・減衰などとして動的に画面15に再現できることになる。 By controlling the document character string 18 in units of character numbers and stroke numbers in this way, it is possible to adjust the strokes flexibly and flexibly, and the writing, writing, and weakness of the writing brushes, weakness, and shaking of the calligraphy It can be dynamically reproduced on the screen 15 as a twist / attenuation.

図3の(A)、(B)、(C)に示すようにX、Y座標値の原点を原点10とし、この原点を起点に図1の座標読取装置20による座標値読み取りがなされる。これらの図は(A)から(B)へ1/2、(B)から(C)へさらに1/2格子が細かくなっていっていることを示している。 As shown in (A), (B), and (C) of FIG. 3, the origin of the X and Y coordinate values is the origin 10, and the coordinate reading device 20 of FIG. These figures show that the 1/2 lattice is becoming finer from (A) to (B) and from 1/2 (B) to (C).

図4は図3の文書文字列18の、「お」の右肩「点」字画を抜粋し、拡大したうえでの分割を示しており、正方形升目に分割した図である。図5、図6はそれぞれ、図4の字画を1/2、1/4と分割しており、その後さらに1/n(nは2の倍数)と分割を繰り返して、運筆表示できる適切な細かさまで分割していくことになる。 FIG. 4 shows a division of the document character string 18 of FIG. 3 extracted from the right shoulder “dot” stroke of “O” and enlarged, and is divided into squares. 5 and 6 respectively divide the stroke of FIG. 4 into 1/2 and 1/4, and then repeat the division with 1 / n (n is a multiple of 2), and the appropriate detail that can be displayed by handwriting. It will be divided.

適切な分割精度に分割して、文字の外郭線からはみ出さない升目の集合を文字肉として表し、この文字肉の各升目の画面表示開始時刻を指定して、特定色、例えば黒色に塗りつぶして、あたかも名筆書家がその場で書いているような運筆を表現する。   A set of squares that do not protrude from the outline of the character is represented as character flesh, divided into appropriate division accuracy, specified on the screen display start time of each square of the character flesh, and painted in a specific color, for example, black , Expresses the stroke as if a calligrapher was writing on the spot.

図4、図5、図6における特に原点について、先に述べたように図3に示した原点10は不変である。格子点に関連して、左上から下方へ行番号、右方へ列番号を1,2,3,・・・nと振ってあるが、原点がこれらの図の直左上にあるのではない。またこれらの図のX、Y軸の→、↓もそれぞれの軸を示しているに過ぎず、矢印の交点はいわばローカル原点である。   As shown above, the origin 10 shown in FIG. 3 is not changed, particularly with respect to the origin in FIGS. In relation to the grid points, row numbers are assigned from the upper left to the lower side, and column numbers are assigned to the right, 1, 2, 3,... N, but the origin is not located at the upper left of these figures. In addition, the X and Y axes → and ↓ in these figures only indicate the respective axes, and the intersection of the arrows is the local origin.

段落25でも一部説明したが、文字の字画の外郭線取込の詳細について説明する。
本ツールでは図7のような点列データ関数Aが用意されており第1パラメータとして文字番号、第2パラメータとして字画番号、第3パラメータとして点列番号からなり、これらのパラメータで識別されてX,Y座標値が点列データとして関数Aに取り込まれる。
As described in part in paragraph 25, details of the outline drawing of a character stroke will be described.
In this tool, a point sequence data function A as shown in FIG. 7 is prepared, which consists of a character number as the first parameter, a stroke number as the second parameter, and a point sequence number as the third parameter. , Y coordinate values are taken into the function A as point sequence data.

図8は点列データの例である。文字の字画の外郭線の点列データ取込(図2のS1)に際しては、操作者が文字番号、字画番号を入力して、点列番号が順々にプログラムにより割り当てられて、外郭線のX、Y座標値が取り込まれる。図8の例では点列番号は、文字番号、字画番号ごとの一貫番号としているが、勿論文字番号、字画番号に依存しない一貫番号としてもよい。   FIG. 8 shows an example of point sequence data. When capturing the dot sequence data of the outline of the character stroke (S1 in FIG. 2), the operator inputs the character number and the stroke number, the dot sequence number is assigned in sequence by the program, X and Y coordinate values are captured. In the example of FIG. 8, the point sequence number is a consistent number for each character number and stroke number, but of course, it may be a consistent number independent of the character number and stroke number.

このようにして、文字ごと、字画ごとに「・・・おめでとう」と最後の文字にいたるまで適切な細かさで外郭線の点列データが点列データ関数Aに取り込まれる。適切な細かさとは画面表示の大きさに応じて、例えば表示画面が小さければそれだけ取り込まれる点列データの数は少なくなり粗くなるし、表示画面が大きければそれだけ取り込まれる点列データの数は多くなり密になり、このように文字列外郭線が滑らかに表示できる細かさを意味している。   In this way, the point sequence data of the outline is captured into the point sequence data function A with appropriate fineness until the last character is displayed for each character and stroke, “... Congratulations”. Appropriate fineness depends on the size of the screen display, for example, the smaller the display screen, the smaller the number of point sequence data captured, and the larger the display screen, the greater the number of point sequence data captured. This means that the character string outline can be displayed smoothly in this way.

図8に示すような点列データを全て取り込むと、適宜点列データ関数によって、外郭線を描くことが出来るようになっている。それは文書文字列全体、文字、字画単位に、任意に行える。   When all the point sequence data as shown in FIG. 8 is taken in, an outline can be drawn by a point sequence data function as appropriate. This can be done arbitrarily for the entire document string, characters, and strokes.

外郭線取込が終わると、次に外郭線内部を正方形升目に区切る升目分割となり、そのアルゴリズムの詳細について図9により説明する。
図は同じように、文字「お」の右肩の「点」であり、説明を簡明にするために点列の数を極端に少なくし、分割数も少なくして模式的に表している。
When the outline drawing is completed, the division of the outline is divided into squares, and the details of the algorithm will be described with reference to FIG.
In the same way, the figure is a “point” on the right shoulder of the character “O”, and for the sake of simplicity, the number of point sequences is extremely reduced and the number of divisions is also reduced.

先に図3で示したように原点10として、図は原図を拡大しているが、いくら拡大しても、また分割をいくら細かくしても常に原点10は変わらない。
図9でもx座標値について左から右方向へ、y座標値について上から下方へ増方向として矢印で示している。
As shown in FIG. 3, the original is enlarged as the origin 10 as shown in FIG. 3, but the origin 10 does not always change no matter how large or how fine the division is.
Also in FIG. 9, the x coordinate value is indicated by an arrow from left to right and the y coordinate value is increased from top to bottom.

点列データとこれから説明する格子点データをX、Y座標値それぞれでソートして、文字の字画内部に存在する格子点を抽出し、これらの格子点4点で構成される字画内部に存在する升目の集合を文字肉とする。この文字肉で文字列の外郭線が運筆表示のための滑らかに表示できる細かさまで分割が行われることになる。 The point sequence data and the grid point data to be described below are sorted according to the X and Y coordinate values, and the grid points existing inside the character stroke are extracted. The set of squares is the character meat. With this character, the outline of the character string is divided to such a fineness that it can be displayed smoothly for stroke display.

ここで点列データに対する格子点データという観点で、両者を改めて説明しておく。
点列データとは文字外郭線上の点列番号で識別されるX、Y座標値であり、格子点データとは格子が交わる点のX、Y座標値であり、格子点データの値は常に整数値をとる。
Here, both will be described again from the viewpoint of grid point data with respect to point sequence data.
The point sequence data is the X and Y coordinate values identified by the point sequence number on the character outline, and the grid point data is the X and Y coordinate values of the points where the grid intersects. Take a number.

点列データP1〜P5はこの順番に連続する点列であり、字画の外郭線を構成する閉曲線を形成するが、P1〜P5を次のように表す。
(XP1 YP1),(XP2 YP2),(XP3 YP3),(XP4 YP4),
(XP5 YP5)
これら点列データのうち最小値はP1点、即ち(XP1 YP1)であるが、最大値はXP3とYP4となっている。
このようにPnは点列データの呼びであり、(XPn YPn)はその座標値を表している。
The point sequence data P1 to P5 is a sequence of points that are continuous in this order, and forms a closed curve constituting the outline of the stroke, and P1 to P5 are expressed as follows.
(XP1 YP1), (XP2 YP2), (XP3 YP3), (XP4 YP4),
(XP5 YP5)
Among these point sequence data, the minimum value is P1, that is, (XP1 YP1), but the maximum values are XP3 and YP4.
Thus, Pn is a call for point sequence data, and (XPn YPn) represents its coordinate value.

次に点列データと格子点データをX、Y座標値それぞれでソートすることにするが、文字肉の対象となる格子点は、点列データのX、Y座標値の最小値、最大値の間に存在するものだけを対象とすればよい。即ち対象となる格子点は図9の●で示すP23,P26,P56,P53の太線で囲まれる格子点だけを対象とすればよく、それは表1のようになる。
尚Pk,lは格子点の呼びを表し、kは行番号、lは列番号を表している。

Figure 2014081784
Next, the point sequence data and the grid point data are sorted by the X and Y coordinate values, respectively, but the grid points that are the target of the character flesh are the minimum and maximum values of the X and Y coordinate values of the point sequence data. You only need to target something in between. That is, only the lattice points surrounded by the thick lines P23, P26, P56, and P53 indicated by ● in FIG.
Pk, l represents the name of a grid point, k represents a row number, and l represents a column number.
Figure 2014081784

点列データと上記の文字肉候補として絞られた、格子点データをX、Y座標値それぞれでソートすると、それらは表2、表3のようになる。
尚X座標値のソートはこのように左から右へと座標値が増えるように並べられており、また格子点データについて、同じX座標値をとるものを縦方向に並べている。
同様に、Y座標値のソートは上から下へと座標値が増えるように並べられており、格子点データについて、同じY座標値をとるものを横方向に並べている。

Figure 2014081784
Figure 2014081784
Table 2 and Table 3 are obtained by sorting the dot sequence data and the grid point data narrowed down as the above-mentioned character meat candidates by the X and Y coordinate values, respectively.
The X coordinate values are sorted so that the coordinate values increase from left to right as described above, and grid data having the same X coordinate values are arranged in the vertical direction.
Similarly, the Y coordinate values are sorted so that the coordinate values increase from top to bottom, and the lattice point data having the same Y coordinate values are arranged in the horizontal direction.
Figure 2014081784
Figure 2014081784

次に図で点列データの内部に存在する格子点を求めて,点列データの内部に存在する升目からなる文字肉を求めることとする。
点列データの内部に存在する格子点を求めるためには、各々の格子点に隣接する点列データ2点を結ぶ上下二直線ではさまれる格子点を求めればよい。
そこで格子点について、X=3,4,5,6の時の上述の2直線のY座標値を検討していくこととする。
このように便宜上、格子について図の列番号をX座標値の目盛、行番号をY座標値の目盛、と兼用して説明している。
Next, in the figure, the grid points existing inside the point sequence data are obtained, and the character flesh consisting of the cells existing inside the point sequence data is obtained.
In order to obtain the lattice points existing inside the point sequence data, it is only necessary to obtain the lattice points that are sandwiched between two upper and lower straight lines connecting two point sequence data adjacent to each lattice point.
Therefore, for the lattice points, the Y coordinate values of the two straight lines described above when X = 3, 4, 5, and 6 will be examined.
As described above, for convenience, the lattice numbers in the figure are used as the X coordinate value scale and the row numbers as the Y coordinate value scale.

2点m,nを通る直線の式は
y−Ypn=(Ypm−Ypn)(x−Xpn)/(Xpm−Xpn)
と表せる。従って直線P1P2の式は
y−Yp2=(Yp1−Yp2)(x−Xp2)/(Xp1−Xp2)
となる。
The equation of the straight line passing through the two points m and n is y-Ypn = (Ypm-Ypn) (x-Xpn) / (Xpm-Xpn)
It can be expressed. Therefore, the equation of the straight line P1P2 is y-Yp2 = (Yp1-Yp2) (x-Xp2) / (Xp1-Xp2)
It becomes.

上の直線の式から、そのプログラムロジックはまず直線P1P2、直線P1P5の直線の式を求め、X=3の時のY座標値を求めると、(X2,3 Y2,3)のみが2つの直線にはさまれる格子点であることが分かる。
同様にこれら二直線についてX=4の時のY座標値を求めると、(X2,4 Y2,4)、(X3,4 Y3,4)が両直線にはさまれる格子点であることが分かる。
From the above straight line equation, the program logic first finds the straight line equations of the straight line P1P2 and the straight line P1P5, and when obtaining the Y coordinate value when X = 3, only (X2,3 Y2,3) is two straight lines. It can be seen that the grid points are sandwiched between.
Similarly, when the Y coordinate value when X = 4 is obtained for these two straight lines, it is understood that (X2,4 Y2,4) and (X3,4 Y3,4) are lattice points that are sandwiched between the two straight lines. .

次にX=5の格子点について判断することになるがそれには直線P2P3、直線P5P4の直線の式を求め、X=5の時のY座標値を求めると、(X2,5 Y2,5)、(X3,5 Y3,5)、(X4,5 Y4,5)が両直線にはさまれる格子点であることが分かる。
さらにX=6の格子点について判断することになるが、直線P2P3と直線P3P4の直線の式を求め、X=6の時のY座標値を求めると、(X3,6 Y3,6)、 (X4,6 Y4,6)が両直線にはさまれる格子点であることが分かる。
Next, a determination is made regarding the lattice point of X = 5. For this purpose, a straight line equation of straight line P2P3 and straight line P5P4 is obtained, and a Y coordinate value when X = 5 is obtained, (X2,5 Y2,5) , (X3,5 Y3,5), (X4,5 Y4,5) are lattice points that are sandwiched between the two straight lines.
Further, the determination is made for the lattice point of X = 6. When the equation of the straight line of the straight line P2P3 and the straight line P3P4 is obtained and the Y coordinate value when X = 6 is obtained, (X3,6 Y3,6) It can be seen that X4,6 Y4,6) is a lattice point sandwiched between the two straight lines.

以上で点列データの内部に存在する格子点、即ち文字肉判断が終了する。即ちP2,3 P2,4 P2,5 P3,4 P3,5 P3,6 P4,5 P4,6 の格子点が残ることになる。これらの格子点のうち、P2,4 P3,4 P2,5 P3,5 とP3,5 P4,5 P3,6 P4,6 で構成される2個の升目が文字肉として構成されることになる。唯一格子点P2,3 は格子点P3,3 が除外されており、升目を構成しえないので文字肉を構成する格子点とは成り得ず、最後に除外されることになる。以上のように当分割では2個の升目からなる文字肉が生成される。   This completes the determination of grid points existing inside the point sequence data, that is, the character meat. That is, the lattice points P2, 3 P2, 4 P2, 5 P3, 4 P3, 5 P3, 6 P4, 5 P4, 6 remain. Among these lattice points, two squares composed of P2, 4 P3, 4 P2, 5 P3, 5 and P3, 5 P4, 5 P3, 6 P4, 6 are configured as character flesh. . Only the lattice point P2,3 is excluded from the lattice point P3,3, and cannot be formed as a lattice point because it cannot form a cell, and is excluded at the end. As described above, in this division, character flesh consisting of two squares is generated.

ところで、図10のような、例えば「ゝ」などの文字字画に関しては、上述の図9で説明したロジックとは異なってくる。このように同一字画内でY座標値が増えるとき、X座標値が一旦増えた後、次に減っていく、または逆にX座標値が一旦減った後、次に増えていく場合のロジックは異なる。   Incidentally, for example, a character image such as “ゝ” as shown in FIG. 10 is different from the logic described in FIG. In this way, when the Y coordinate value increases in the same stroke, the X coordinate value increases once and then decreases, or conversely, the logic when the X coordinate value decreases and then increases next is Different.

図10では、このように図9の点列データP3とP4の間にP6、P7、P8の3点を追加しており、同様にこれらの点列は閉曲線を形成し、字画の外郭線を構成するが、これら8個の点列データをつぎのように表す。
(XP1 YP1),(XP2 YP2),(XP3 YP3),(XP6 YP6),(XP7 YP7),(XP8 YP8),(XP4 YP4),(XP5 YP5)
これら点列データのうち最小値はP1点、即ち(XP1 YP1)であり、最大値はXP6とYP7となっている。
In FIG. 10, three points P6, P7, and P8 are added between the point sequence data P3 and P4 in FIG. 9 as described above. Similarly, these point sequences form a closed curve, and the outline of the stroke is displayed. Although constituted, these eight point sequence data are expressed as follows.
(XP1 YP1), (XP2 YP2), (XP3 YP3), (XP6 YP6), (XP7 YP7), (XP8 YP8), (XP4 YP4), (XP5 YP5)
Among these point sequence data, the minimum value is P1, that is, (XP1 YP1), and the maximum values are XP6 and YP7.

次に点列データと格子点データをX、Y座標値それぞれでソートする場合、前と同じように考えて、対象となる格子点は図10の●で示すP2,3 P2,7 P6,7 P6,3 の太線で囲まれる格子点だけを対象とすればよく、それは表4のようになる。

Figure 2014081784
Next, when the point sequence data and the grid point data are sorted by the X and Y coordinate values, the target grid points are P2, 3 P2, 7 P6, 7 shown by ● in FIG. Only the lattice points surrounded by the thick lines P6, 3 need to be targeted, as shown in Table 4.
Figure 2014081784

点列データと上記の文字肉候補として絞られた、格子点データをX、Y座標値それぞれでソートすると、それらは表5、表6のようになる。ソートの要領は前と同様である。

Figure 2014081784
Figure 2014081784
Table 5 and Table 6 are obtained by sorting the dot sequence data and the lattice point data narrowed down as the above-mentioned character meat candidates by the X and Y coordinate values, respectively. The sorting procedure is the same as before.
Figure 2014081784
Figure 2014081784

以後、図9の場合と異なる部分についてだけ、即ち追加された点列データに関してのみ説明する。まず文字肉を形成する升目は図9の2個に、格子点P5,6 P6,6 P5,7 P6,7からなる升目が追加される。そのプログラムロジックは基本的にこれまでの説明で良いが、図のように、同一x座標値(x=5)線上で、格子点をはさむ2直線対が複数存在する場合は異なってくる。それは図の×印で示す格子点を除外し、○で示す格子点は外郭線内部に存在するという判断のロジックである。 Hereinafter, only the parts different from the case of FIG. 9, that is, only the added point sequence data will be described. First, the cells forming the character flesh are added to the two cells shown in FIG. 9 by adding cells formed by lattice points P5, 6 P6, 6 P5, 7 P6, and 7. The program logic can basically be described so far, but it differs when there are a plurality of two straight line pairs sandwiching lattice points on the same x coordinate value (x = 5) line as shown in the figure. This is the logic for determining that a grid point indicated by a cross in the figure is excluded and that a grid point indicated by a circle exists inside the outline.

X=5の格子点において、直線P5P4とP8P4に挟まれる格子点は除外しなければならない。そして直線P8P4とP8P7については外郭線内部に存在するという判断をするロジックである。 In the lattice point of X = 5, the lattice point sandwiched between the straight lines P5P4 and P8P4 must be excluded. The straight lines P8P4 and P8P7 are logics that determine that they exist inside the outline.

さらに同様な検討を進めると、図11のような比較的複雑な文字字画の場合である。このような場合、文字字画の内側にある格子点(○で示す)か、外側にある格子点(×で示す)かの判断は図9により説明した処理とは異なる。 If the same examination is further advanced, it is a case of a relatively complicated character / character drawing as shown in FIG. In such a case, the determination of whether the lattice point is inside the character drawing (indicated by a circle) or the outside lattice point (indicated by a cross) is different from the processing described with reference to FIG.

図11で(A)のように、左上から右下へ降りて来て、やがて左下へ降りていくような場合、或いは同様に右下へ降りて来て、左上へ上がる場合(図示せず)、又は(B)のように、逆に右上から左下へ降りて来て、やがて右下へ降りていくような場合、或いは同様に左下へ降りて来て右上へ上がる場合(図示せず)などである。 As shown in FIG. 11A, when descending from the upper left to the lower right and eventually descending to the lower left, or similarly descending to the lower right and going to the upper left (not shown) Or, when going down from the upper right to the lower left and then going down to the lower right as in (B), or going down to the upper right and going up to the upper right (not shown) It is.

図から分かるように、字画内の格子点を挟む一対の上下の2直線で判断するということになる。(A)においては直線1と直線2の間に格子点があるか否かを判断し、次に直線3と直線4で判断するということになる。直線2と直線3では一対とはならないということである。
(B)においても同様であり、直線5と直線6、直線7と直線8で判断するということである。直線6と直線7では一対とはならないということである。
それは(C)のような幾重にも曲がる、字画でも同じであり、格子点を挟む2直線において1番目と2番目、3番目と4番目、5番目と6番目という直線対で判断するということである。2番目と3番目、4番目と5番目は対象の直線対とはならないということである。
尚図11において直線nは格子点の両隣の2つの点列データからなっており、さらにX=5の縦線は、横に引かれた水平線と共に格子点を形成していることを表している。
As can be seen from the figure, the determination is made by a pair of upper and lower two straight lines sandwiching the lattice points in the stroke. In (A), it is determined whether or not there is a grid point between the straight line 1 and the straight line 2, and then it is determined by the straight line 3 and the straight line 4. This means that the straight line 2 and the straight line 3 do not form a pair.
The same applies to (B), which means that determination is made based on the straight lines 5 and 6 and the straight lines 7 and 8. This means that the straight line 6 and the straight line 7 do not form a pair.
It is the same for strokes as shown in (C), and it is the same for strokes. The two straight lines sandwiching the grid points are judged by the first, second, third, fourth, fifth and sixth straight line pairs. It is. The second, the third, the fourth and the fifth are not the target straight line pair.
In FIG. 11, a straight line n is composed of two point sequence data adjacent to the lattice points, and a vertical line of X = 5 represents that a lattice point is formed with a horizontal line drawn horizontally. .

このようなロジックにより、以後分割をさらに1/2、1/4、1/8・・・と細かく分割して、滑らかな文字の運筆表現ができる、即ち推定運筆に必要な最適な分割の文字肉を求めることができる。 With such a logic, the division can be further divided into 1/2, 1/4, 1/8, etc., so that a smooth character stroke expression can be achieved. You can ask for meat.

前にも一部説明しているが、図4、5、6は「お」の文字の右肩の字画「点」の分割の様子を示しており、18個の点列データで文字肉を升目に分割する過程を説明する図である。図9に対して点列データを5点から18点に増やした上で、分割を1/2、1/4と細かくした図になっている。   As previously explained in part, FIGS. 4, 5 and 6 show the division of the “s” character on the right shoulder of the character “O”. It is a figure explaining the process divided | segmented into a cell. Compared to FIG. 9, the point sequence data is increased from 5 points to 18 points, and the division is reduced to 1/2 and 1/4.

その結果即ち、図5は図4の升目をさらに半分に分割し、図6は図5の升目をさらに半分に分割している。図4では文字肉が升目2個で表され、図5では文字肉が升目20個で表され、図6では升目119個で表されている。これまで述べてきた文字肉を求めるプログラムロジックは分割がいくら細かくなっても有効であり、変わらない。 As a result, FIG. 5 further divides the cell of FIG. 4 in half, and FIG. 6 further divides the cell of FIG. In FIG. 4, the character flesh is represented by two squares, in FIG. 5, the character flesh is represented by 20 squares, and in FIG. 6, it is represented by 119 squares. The program logic for determining the character flesh described so far is effective no matter how fine the division is.

これらの説明は、「お」の文字の右肩の字画「点」に着目して、升目分割して文字肉を求める方法について、本ツールのプログラムがどのようなロジックで作られているかを述べている。一旦運筆に十分な分割精度まで分割がなされると、図3に示すような文書文字列全体に対して、その分割精度まで一気に分割を行うことになる。その時升目の数は数万から数十万、場合によっては百万に達する場合も有り得よう。このように升目数が膨大になって、段落41或いは50で説明したX、Y座標値それぞれにおけるソートのデータが、文字肉を求める際のプログラムの基礎データとなってくる。 These explanations describe the logic of the program of this tool for the method of finding the character flesh by dividing the grid, focusing on the character “dot” on the right shoulder of the character “O”. ing. Once the division accuracy is sufficient for the stroke, the entire document character string as shown in FIG. 3 is divided at once to the division accuracy. At that time, the number of cells may be tens of thousands to hundreds of thousands, and in some cases, it can reach one million. Thus, the number of cells becomes enormous, and the sort data in each of the X and Y coordinate values described in paragraph 41 or 50 becomes the basic data of the program for obtaining the character flesh.

正方形升目からなる文字肉が求まるとこれらの升目にはプログラムにより、升目番号が振られることになる。升目番号は、左から右へ、上から下へと順々に一貫番号で振っていくこととする。文字の一部即ち「お」の文字の右肩の字画「点」の場合、文字肉の正方形升目に図のような升目番号が振られる。   When character meat consisting of square cells is obtained, these cells are assigned cell numbers by the program. The cell numbers are assigned with a consistent number from left to right and from top to bottom. In the case of a part of a character, that is, a character “dot” on the right shoulder of the character “O”, a cell number as shown in the figure is assigned to the square cell of the character.

まず図4では2個の升目から文字肉が形成され、升目番号に対し表7のような格子点により構成されている。

Figure 2014081784
First, in FIG. 4, character flesh is formed from two grids, and the grid numbers are configured by grid points as shown in Table 7.
Figure 2014081784

図5は図4に対しさらに細かく、その1/2の升目の大きさに分割しており、20個の升目から文字肉が形成され、升目番号に対し表8のような格子点により構成されている。

Figure 2014081784
FIG. 5 is more detailed than FIG. 4 and is divided into half the size of the cell, and the character flesh is formed from the 20 cells, and the cell number is composed of grid points as shown in Table 8. ing.
Figure 2014081784

図6は図5に対しさらに細かく、1/2の升目の大きさに分割して、119の升目から文字肉が形成され、升目番号に対し表9のような格子点で構成されているが、ここでは中間の升目番号、即ち4〜116とそれに対する格子点を省いており、前後3個の升目についてだけ記述している。
さらに図6では図4、5では図示した升目を形成する、4隅の格子を“k,l“(kは行番号、lは列番号)のように示していない。

Figure 2014081784
FIG. 6 is further finer than FIG. 5 and is divided into half cell sizes to form character flesh from 119 cells, and the cell numbers are composed of grid points as shown in Table 9. Here, intermediate cell numbers, that is, 4 to 116 and lattice points corresponding to the cell numbers are omitted, and only the three cells before and after are described.
Further, in FIG. 6, the lattices at the four corners forming the grids shown in FIGS. 4 and 5 are not shown as “k, l” (k is a row number, and l is a column number).
Figure 2014081784

図6のように図4の升目を細かくして、1/4の正方形升目に分割しても、適切な運筆表示には分割精度として、まだまだ不十分である。しかも図6の分割は「お」の字の右肩の「点」についての分割についての説明であり、文書文字列全体、即ち「明けましておめでとう」について分割したときの升目数は膨大なものになるということは先にも述べた。 Even if the grid of FIG. 4 is made fine as shown in FIG. 6 and divided into quarter square grids, the division accuracy is still insufficient for proper handwriting display. In addition, the division in FIG. 6 is an explanation of the division of the “dot” on the right shoulder of the character “O”, and the number of cells when dividing the entire document character string, that is, “Happy New Year” is enormous. I mentioned earlier.

しかし一方、運筆表示に十分な点列データの取り込みを行った後、分割がいくら細かくなって、升目数が膨大になっても、先述のプログラムロジックにより、文字肉を機械的に求めることができる。即ち段落59でも触れたように点列データと格子点データのX、Y座標値それぞれのソートのデータが極めて重要となってくる。 On the other hand, however, even after the point sequence data sufficient for stroke display is taken in, even if the division becomes finer and the number of cells becomes enormous, the above-mentioned program logic can mechanically obtain the character meat. . That is, as mentioned in paragraph 59, the sorting data of the X and Y coordinate values of the point sequence data and the grid point data is extremely important.

運筆表示に十分な数の升目数の文字肉が求まると、即ち分割精度が十分であると判断する(図2のS5)と、升目番号に対する表示順指定(同S7)を行い、次に表示順、等時間間隔の画面表示(同S8)を行う。そして最後に個々の升目に対する画面表示開始時刻の調整(同S9)を行うことになる。 When it is determined that there is a sufficient number of characters for the stroke display, that is, the division accuracy is sufficient (S5 in FIG. 2), the display order is designated for the cell numbers (S7), and then displayed. The screens are displayed at regular time intervals (S8). Finally, adjustment of the screen display start time for each cell (S9) is performed.

個々の升目に対する画面表示順番を示す表示順の振り方について説明する。説明するのに丁度適当な升目数である図6を流用した図12を使って説明する。
表示順指定(図2のS7)作業は、図1の画面15に図12のように、プログラムにより個々の升目に振られた升目番号が升目内の右上に表示された状態で始まる。
このように以下の作業は画面15上でマウス14を使用して行われ、必用に応じて画面15に表示される図12のような図を拡大、縮小して行われる。
升目番号、1の升目内でマウス14押下により、表示順は1となり、この表示順が升目内の左下に下線付き数字で表示される。
A method of assigning the display order indicating the screen display order for each cell will be described. This will be described with reference to FIG. 12, which is a diversion of FIG.
The display order specification (S7 in FIG. 2) operation starts with the screen number assigned to each cell by the program displayed on the upper right in the cell as shown in FIG. 12 on the screen 15 in FIG.
In this way, the following operations are performed on the screen 15 using the mouse 14 and are performed by enlarging or reducing the figure shown in FIG. 12 displayed on the screen 15 as necessary.
When the mouse 14 is pressed in the cell number 1 and the cell 14 is pressed, the display order is 1, and this display order is displayed as an underlined number in the lower left of the cell.

同様に升目番号、2のマウス14押下により、表示順は2となり、升目番号、11のマウス14押下により、表示順は3となる。同じような操作で、升目番号23,3,12,24にはこれらの順番で表示順4〜7が振られる。このように1個ずつ升目を指示して表示順指定を基本とするが、次のような半自動で表示順を連続して指示していく方法が備わっている。 Similarly, when the mouse 14 with the cell number 2 is pressed, the display order is 2, and when the mouse 14 with the cell number 11 is pressed, the display order is 3. By the same operation, the cell numbers 23, 3, 12, and 24 are assigned display orders 4 to 7 in this order. In this way, each cell is instructed one by one, and the display order is basically designated. However, the following semi-automatic method for continuously instructing the display order is provided.

升目番号、4のマウス14押下により表示順は8となり、次に間を飛ばして升目番号、37のマウス14押下により表示順は11となり、飛ばした、升目番号、13と25には、プログラムが判断して、表示順9と10が入るようになっている。 When the mouse 14 with the cell number 4 is pressed, the display order is 8, and then the screen number is skipped and the display order is 11 when the mouse 14 with the cell 37 is pressed, and the program is stored in the skipped cell numbers 13 and 25. Judgment is made so that display orders 9 and 10 are entered.

間を省略して、同様に升目番号、21のマウス14押下により表示順は49となり、間を飛ばして升目番号、87のマウス14押下により表示順は56が入り、飛ばした、升目番号、33から79には、プログラムが判断して、表示順50〜55が入るようになっている。 Similarly, when the mouse number 14 of 21 is pressed, the display order is 49, and when the mouse 14 is pressed 87, the display order 56 is entered when the mouse 14 is pressed, and the cell number 33 From 79 to 79, the program judges and the display order 50 to 55 is entered.

尚図12の升目内の右上P、左下(下線付き)はそれぞれ今説明している升目番号と表示順を表しており、即ち具体的な数値を書かずに省略して表している。 In FIG. 12, the upper right P and lower left Q (with an underline) in the cell represent the cell number and display order currently described, that is, a specific numerical value is omitted without writing.

運筆表示に十分な升目の数は前述したように、数万否、百万に達する場合がありえよう。従って升目番号に対する表示順指定には、このような方法以外にも、種々プログラムにより自動的に振られていくような方法が考慮されている。ここで、それらの方法について、これ以上の説明はしない。 As described above, the number of cells sufficient for displaying the strokes may reach tens of thousands or millions. Therefore, in order to specify the display order for the cell numbers, other than such a method, a method of automatically assigning it by various programs is considered. Here, these methods will not be further described.

以上のようにして、全ての文字、字画について、即ち本発明の例では「あけまして・・・」の文字列に対して、文字番号、字画番号、升目番号、表示順が決定されることになり、文書文字列の画面15表示のための準備が整ったことになる。 As described above, the character number, the stroke number, the grid number, and the display order are determined for all characters and strokes, that is, in the example of the present invention, for the character string “open”. Thus, the preparation for displaying the document character string on the screen 15 is completed.

画面15表示については、図13に示すような画面表示開始時刻関数Bが用意されており、これまでに整った文字番号、字画番号、升目番号、表示順が埋められたことになるわけである。 For the screen 15 display, a screen display start time function B as shown in FIG. 13 is prepared, and the character number, stroke number, cell number, and display order that have been prepared so far are filled. .

個々の升目に対し画面表示開始時刻の、升目総数it、推定画面表示総時間tとしたとき、各升目の画面表示開始時刻はt/it * i4(i4は表示順)となり、まず、この画面表示開始時刻を初期値として運筆の様子を見てみることとする。 When the total screen number it and estimated screen display total time t of the screen display start time for each individual cell, the screen display start time of each cell is t / it * i4 (i4 is the display order). Let's take a look at the strokes with the display start time as the initial value.

仮に図3の「あけまして・・・・」文字列全体の升目総数itを百万(個)、画面表示総時間tを10秒としたとき、画面表示開始時刻は
10/1,000,000 * i4(表示順)=10μ秒 * i4
となり、即ち升目1個1個が10μ秒間隔で、表示順の順序で特定色に塗られて、例えば黒く塗られて画面15表示がなされていくことになる。即ち表示順、等時間間隔の画面表示(図2のS8)が行われることになる。
Assuming that the total number of cells “it” in FIG. 3 is 1 million (pieces) and the total screen display time t is 10 seconds, the screen display start time is 10 / 1,000,000 *. i4 (display order) = 10 μsec * i4
That is, each cell is painted in a specific color in the order of display at intervals of 10 μs, for example, black, and the screen 15 is displayed. That is, screen display (S8 in FIG. 2) is performed at the display order and at equal time intervals.

以上のようにして表示順の確認が終わると、図13の画面表示開始時刻関数Bの値、即ち本ツールが目標とする運筆に近づけるため、升目個々の画面表示開始時刻を調整(図2のS9)していくことになる。   When the confirmation of the display order is completed as described above, the screen display start time function B in FIG. 13, that is, the screen display start time of each cell is adjusted in order to approach the target stroke of the tool (see FIG. 2). S9) will continue.

図14は画面表示開始時刻関数Bのデータ例である。このように文字の字画ごとに升目の画面表示開始時刻を調整することを基本とするが、後の段落82で述べる運筆行程の中の例えば起筆・走筆・終筆これらのサブルーチンが用意されており、効率的に画面表示開始時刻を指定できるようになって、便利になっている。
これらサブルーチンの詳細については説明しない。
FIG. 14 is a data example of the screen display start time function B. In this way, the screen display start time is adjusted for each character stroke. For example, the following subroutines are prepared in the stroke process described in paragraph 82 below. It is now convenient to be able to specify the screen display start time efficiently.
Details of these subroutines will not be described.

文字或いは字画ごとに運筆調整をして確認後、図3の文書文字列18「あけまして・・・」の最後の分割が終わり、即ち「お」の文字の右肩字画「点」について例えば1/512の分割で運筆調整を確認して、他の字画についても運筆調整が完了すると、文書文字列18「あけまして・・・」全体に対して1/512で分割して最終の確認を行うことになる。   After performing the stroke adjustment for each character or stroke, the final division of the document character string 18 “Opening ...” in FIG. 3 is finished, that is, for the right shoulder print “dot” of the character “O”, for example, 1 / When the stroke adjustment is confirmed in 512 divisions, and the stroke adjustment is completed for other strokes, the document character string 18 “open” is divided into 1/512 and the final confirmation is performed. Become.

最終的に文字列を図1の画面15に表示してみて、推定運筆表示に合致していることを確認して、表現(出力)の完了となる。このようにして、文字や字画で表示順や画面表示開始時刻を調整することにより名筆の運筆を、動的に詳細に表現できることになる。 Finally, the character string is displayed on the screen 15 of FIG. 1, and it is confirmed that it matches the estimated stroke display, and the expression (output) is completed. In this way, by adjusting the display order and the screen display start time with the characters and strokes, the strokes of the master call can be dynamically expressed in detail.

2009年の大仏次郎賞を受賞した、石川九楊氏の『近代書史』の補完的ツールをめざして、画面上に運筆感を再現できたらと、即ち『近代書史』で描かれた言葉による説明に対して、動的に運筆を表現できたらとの思いから本発明に至った。   Aiming at the complementary tool of Mr. Kyugo Ishikawa's “Modern Book History” that won the 2009 Great Buddha Jiro Award, words written in “Modern Book History” The present invention has been reached from the desire to be able to express handwriting dynamically.

宇宙物理学者の池内了氏が選評の弁として述べる「 一つの字の起筆・走筆・終筆と続く流れのなかでの筆触・筆尖・筆鋒を転折・脱力・ゆれ・ひねり・減衰などとして詳細に分析するとともに、例えば西田幾多郎の書の特徴を垂直筆、速度感、表現の変化、筆圧感、云々」というような概念を画面上に動的に表現できることになる。 Astrophysicist Ryo Ikeuchi described as a commentary on “The details of writing, brushing, brushing, twisting, damping, etc. For example, it is possible to dynamically express on the screen a concept such as “vertical brush, sense of speed, change in expression, feeling of pressure, etc.”.

また文字や字画を升目に分割した、即ち文書文字列外郭線内部が微細な升目に分割され、各升目に対して筆順を指定し、その筆順指定された個々の升目に対し画面表示開始時刻を指定することにより“かすれ”さえ表現できることになる。 Also, the characters and strokes are divided into cells, that is, the inside of the document character string outline is divided into fine cells, the stroke order is specified for each cell, and the screen display start time is set for each cell for which the stroke order is specified. By specifying, even “blur” can be expressed.

尚升目分割に際して、正方形の升目に分割してと説明してきたが、必ずしも正方形升目である必要はなく、要は方形の升目を半分、さらにその半分と分割を繰り返していけばよい。 In addition, although it has been described that the square cell is divided into square cells, it is not always necessary to form a square cell. In short, it suffices to repeat the division with half of the square cell and further with the half of the square cell.

10 原点
11 キーボード
12 コンピュータ
13 メモリー
14 マウス
15 画面
16 タブレット
17 スタイラスペン
18 文書文字列
20 座標読取装置
10 Origin 11 Keyboard 12 Computer 13 Memory 14 Mouse 15 Screen 16 Tablet 17 Stylus Pen 18 Document String 20 Coordinate Reading Device

Claims (6)

文書文字列の外郭線の座標値を、該文書文字列を形成する文字の字画ごとの点列データとして取り込む取込手段と、取り込まれた点列データからなる外郭線内部を升目に区切る分割手段と、該分割手段によって分割された前記文書文字列の升目個々の画面表示開始時刻を指定して運筆表示する画面表示手段を有する文書運筆表示ツール。 A capturing unit that captures the coordinate values of the outline of the document character string as point sequence data for each stroke of the characters that form the document character string, and a dividing unit that divides the inside of the outline of the captured point sequence data into cells And a document handwriting display tool having screen display means for specifying and displaying a screen display start time for each cell of the document character string divided by the dividing means. 前記画面表示手段は、前記文書文字列を文字を識別する文字番号、字画を識別する字画番号、及び2つの行番号と2つの列番号で表される4点からなる升目番号で識別される該升目を特定色に塗りつぶし、且つ該升目ごとに指定される前記画面表示開始時刻により前記文書文字列を表示するようにした調整手段を有する請求項1記載の文書運筆表示ツール。 The screen display means identifies the document character string by a character number for identifying a character, a stroke number for identifying a stroke, and a cell number having four points represented by two row numbers and two column numbers. 2. The document stroke display tool according to claim 1, further comprising an adjusting unit that fills a cell with a specific color and displays the document character string according to the screen display start time specified for each cell. 前記外郭線内部を升目に区切る分割手段は、前記文書文字列を動的に運筆表示するのに必要十分なまでに外郭線内部を行と列の正方形升目に分割することを特徴とする、請求項1記載の文書運筆表示ツール。 The dividing means for dividing the inside of the outline into cells to divide the inside of the outline into squares of rows and columns to a necessary and sufficient extent to dynamically display the document character string. Item 1. A document stroke display tool according to item 1. 前記取込手段はタブレット上に置された前記文書文字列をスタイラスペンにより該文書文字列の外郭線を点列データの集合として、前記文字番号、前記字画番号及び点列を識別する点列番号により外郭線の座標値を取り込んでいくことを特徴とする請求項1記載の文書運筆表示ツール。 As a set of the capturing means is point sequence data outline of the document string the document text string that is placed on the tablet by a stylus pen, the character number, point sequence identifying the strokes number and sequence of points The document stroke display tool according to claim 1, wherein the coordinate values of the outline are taken in by numbers. 前記調整手段は、前記文書文字列全体の推定運筆表示時間を総升目数で除した時間に升目番号に割り当てられる表示順を乗じた該時間を升目ごとの前記画面表示開始時刻の初期値とし、升目ごとの該画面表示開始時刻を指定できるようにしたことを特徴とする請求項2記載の文書運筆表示ツール。 The adjustment means uses the time obtained by dividing the estimated stroke display time of the entire document character string by the total number of cells and the display order assigned to the cell number as an initial value of the screen display start time for each cell, 3. The document stroke display tool according to claim 2, wherein the screen display start time for each cell can be specified. 前記升目番号に割り当てられる表示順は、個々の升目を特定色に塗りつぶして、画面表示順序を表すことを特徴とする請求項5記載の文書運筆表示ツール。 6. The document stroke display tool according to claim 5, wherein the display order assigned to the cell number represents a screen display order by filling each cell with a specific color.
JP2012229157A 2012-10-16 2012-10-16 Document stroke display tool Active JP5919496B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012229157A JP5919496B2 (en) 2012-10-16 2012-10-16 Document stroke display tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012229157A JP5919496B2 (en) 2012-10-16 2012-10-16 Document stroke display tool

Publications (2)

Publication Number Publication Date
JP2014081784A true JP2014081784A (en) 2014-05-08
JP5919496B2 JP5919496B2 (en) 2016-05-18

Family

ID=50785926

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012229157A Active JP5919496B2 (en) 2012-10-16 2012-10-16 Document stroke display tool

Country Status (1)

Country Link
JP (1) JP5919496B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016133659A (en) * 2015-01-20 2016-07-25 幸男 中川 Calligraphy proficiency degree determination device
CN107111390A (en) * 2015-01-04 2017-08-29 微软技术许可有限责任公司 The communication of active touch control pen and digitizer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07160184A (en) * 1993-12-02 1995-06-23 Gakken Co Ltd Image data display device
JPH1039736A (en) * 1996-07-26 1998-02-13 Nippon Telegr & Teleph Corp <Ntt> Method for dynamically generating character and method for dynamically displaying character
US20040041811A1 (en) * 2002-08-27 2004-03-04 Yu-Jen Lin Descriptive method of characters for displaying the thickness of strokes thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07160184A (en) * 1993-12-02 1995-06-23 Gakken Co Ltd Image data display device
JPH1039736A (en) * 1996-07-26 1998-02-13 Nippon Telegr & Teleph Corp <Ntt> Method for dynamically generating character and method for dynamically displaying character
US20040041811A1 (en) * 2002-08-27 2004-03-04 Yu-Jen Lin Descriptive method of characters for displaying the thickness of strokes thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JPN6016000193; 徳丸正孝ほか2名: '"ペン習字(筆記学習)支援システム -行書学習における動画手本の教育効果の検証-"' ヒューマンインタフェースシンポジウム2006 論文集 , 20060925, pp. 207〜212, ヒューマンインタフェース学会 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107111390A (en) * 2015-01-04 2017-08-29 微软技术许可有限责任公司 The communication of active touch control pen and digitizer
CN107111390B (en) * 2015-01-04 2021-04-16 微软技术许可有限责任公司 Method and system for active stylus to digitizer communication
US11204655B2 (en) 2015-01-04 2021-12-21 Microsoft Technology Licensing, Llc Active stylus communication with a digitizer
JP2016133659A (en) * 2015-01-20 2016-07-25 幸男 中川 Calligraphy proficiency degree determination device

Also Published As

Publication number Publication date
JP5919496B2 (en) 2016-05-18

Similar Documents

Publication Publication Date Title
JPH08510854A (en) Method and apparatus for grouping and manipulating electronic representations of handwriting, printing and drawing
US7428711B2 (en) Glow highlighting as an ink attribute
US20150170384A1 (en) Apparatus and method for creating drawing data superimposing grouped data on a screen
CN103606305A (en) Chinese character writing learning system
JP2014167635A (en) Method for processing stroke-based font for low-resolution display
CN108154191A (en) The recognition methods of file and picture and system
Bajić et al. Chart classification using simplified VGG model
US10204187B1 (en) Method and system for implementing data reduction for waveform data
JP5919496B2 (en) Document stroke display tool
CN106934839A (en) A kind of CAD polar plots cut drawing method and device automatically
Tubb et al. The Divergent Interface: Supporting Creative Exploration of Parameter Spaces.
CN107608510A (en) Method for building up, device and the electronic equipment in gesture model storehouse
Al’boschiy et al. Automated balancing method of vector Illustration and its software implementation
JP6694638B2 (en) Program, information storage medium, and recognition device
JP5807699B1 (en) Information processing apparatus and program
CN106250035A (en) System and method for dynamically generating personalized handwritten fonts
KR100459507B1 (en) Apparatus for manufacturing graphic contents
JP7448132B2 (en) Handwritten structural decomposition
JP2006318232A (en) Analytical mesh correction device
US10535175B2 (en) Timeline tool for producing computer-generated animations
JP6965656B2 (en) Form management device and program
KR20140106374A (en) word mission match 3 game and program
JP4490215B2 (en) Data display device and program
EP2116946A1 (en) Knit goods simulation device and knit goods simulation method
CN110221712B (en) Input method and processing terminal based on character characteristics

Legal Events

Date Code Title Description
A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20151002

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151002

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20151216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160112

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160121

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160212

R150 Certificate of patent or registration of utility model

Ref document number: 5919496

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250