JPH0679324B2 - Brush typeface generation method - Google Patents
Brush typeface generation methodInfo
- Publication number
- JPH0679324B2 JPH0679324B2 JP12230587A JP12230587A JPH0679324B2 JP H0679324 B2 JPH0679324 B2 JP H0679324B2 JP 12230587 A JP12230587 A JP 12230587A JP 12230587 A JP12230587 A JP 12230587A JP H0679324 B2 JPH0679324 B2 JP H0679324B2
- Authority
- JP
- Japan
- Prior art keywords
- brush
- writing
- character
- point
- pen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 18
- 230000002194 synthesizing effect Effects 0.000 claims description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005674 electromagnetic induction Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000000087 stabilizing effect Effects 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
- Controls And Circuits For Display Device (AREA)
Description
【発明の詳細な説明】 (イ)産業上の利用分野 本発明はペンで書かれた線文字や描画を毛筆書体に変換
する毛筆書体発生方法に関する。DETAILED DESCRIPTION OF THE INVENTION (a) Field of Industrial Application The present invention relates to a writing style generating method for converting a line character or drawing written with a pen into a writing style.
(ロ)従来の技術 近年、毛筆体で印字できるワープロが実現され、毛筆体
文字印字の文書が流行している。(B) Conventional Technology In recent years, word processors capable of printing with a writing brush have been realized, and documents with writing with a writing brush have become popular.
このような、毛筆体印字処理は、単に印刷時のフォント
として活字体の代りに毛筆体のものを選択して使用して
いるにすぎず、このワープロの使用者自身の筆跡で書い
た毛筆体の文字を得る事はできなかった。In such a brush writing process, only the font used for printing is selected and used as the font at the time of printing, and the brush written by the handwriting of the user of this word processor is used. I couldn't get the character.
これに対して、「マウスを筆代わりに硯なしで書道が楽
しめる」書道シミュレーションソフト(日経パソコン19
87年1月12日号第290頁〜第291頁に詳しい)が開発さ
れ、筆記者自身の筆跡に近い毛筆描画を可能にしてい
る。On the other hand, a calligraphy simulation software (Nikkei PC 19)
(Details on pages 290 to 291 of January 12, 1987) have been developed to enable writing with a brush close to the handwriting of the writer himself.
(ハ)発明が解決しようとする問題点 しかしながら、上述の如き書道シミュレーションでは、
描画ストロークの方向にかかわらず、筆のタッチとして
の筆先形状キャラクターの配列方向が固定されている為
に、筆先が筆の進行方向に追従して変化する実際の毛筆
の動きを再現できず、最適な毛筆書体を得る事はできな
かった。(C) Problems to be Solved by the Invention However, in the calligraphy simulation as described above,
Regardless of the direction of the drawing stroke, the arrangement direction of the brush tip shape character as the touch of the brush is fixed, so it is not possible to reproduce the actual movement of the brush that the brush tip changes according to the traveling direction of the brush, which is optimal I couldn't get a nice writing brush.
(ニ)問題点を解決するための手段 本発明の毛筆書体発生方法は、座標読み取り装置上に入
力ペンで筆記した描画ストロークの標本値列並びに、描
画ストロークの移動方向を検出し、筆先形状キャラクタ
ーを上記描画ストロークの標本値毎に、描画ストローク
の移動方向に対してキャラクターの頭部方向が一致する
ように連続的に配列し、毛筆風の筆跡イメージを合成す
るものである。(D) Means for Solving the Problems The writing brush type generating method of the present invention detects a sample value string of a drawing stroke written by an input pen on a coordinate reading device and a moving direction of the drawing stroke to detect a brush-shaped character. Is continuously arranged for each sample value of the drawing stroke so that the head direction of the character coincides with the moving direction of the drawing stroke, and a handwriting image like a writing brush is synthesized.
(ホ)作 用 本発明の毛筆書体発生方法によれば、入力ペンの筆記軌
跡から描画ストロークの移動方向をリアルタイムで検出
し、これに基づいて配列描画される筆先形状キャラクタ
ーの夫々の方向が自動的に決定される。(E) Operation According to the writing brush type generation method of the present invention, the moving direction of the drawing stroke is detected in real time from the writing locus of the input pen, and based on this, the respective directions of the brush-shaped characters that are array-drawn are automatically determined. To be decided.
(ヘ)実施例 一般に漢字(第2図図示の「本」)を中心とした日本の
文字は縦、横、斜めなどの8方向のストロークで書き表
わす事ができる。また、漢字以外にも平仮名や図形を書
き表わす場合には、第3図の番号“0"〜“15"で示す如
き16方向のストロークに対応させるのが好ましい。(F) Example In general, Japanese characters centering on kanji (“book” shown in FIG. 2) can be written by strokes in eight directions such as vertical, horizontal, and diagonal. When writing hiragana or figures other than kanji, it is preferable to correspond to strokes in 16 directions as indicated by numbers "0" to "15" in FIG.
一方、毛筆の筆先形状(S)は第4図(b)の如き流線
型をなしており、第4図(a)に示す如く、毛筆(Q)
のストロークの進行方向に対して、キャラクターの頭部
(H)が一致し、その尾部(T)が逆向きとなる。即
ち、第5図の筆先形状(S)の配置の時、毛筆はキャラ
クター(S)の頭部(H)方向、即ち矢印A方向に常に
移動して筆先形状のキャラクター列(S′)(S′)…
で示すような筆跡を残すのであって、例えばこれと直交
する矢印方向に移動して筆先形状のキャラクター列
(S″)(S″)…を残すような事はない。On the other hand, the brush tip shape (S) of the writing brush is streamlined as shown in FIG. 4 (b), and as shown in FIG. 4 (a), the writing brush (Q)
The head portion (H) of the character coincides with the advancing direction of the stroke and the tail portion (T) of the character is opposite. That is, when the brush tip shape (S) of FIG. 5 is arranged, the brush always moves in the head (H) direction of the character (S), that is, in the direction of arrow A, and the character string (S ') (S') of the brush tip shape is moved. ′) ...
That is, the handwriting as shown in FIG. 4 is left, and for example, there is no case where the character string (S ″) (S ″) ...
従って、毛筆の筆跡を得るには、第5図の如き筆先形状
(S)のキャラクターを進行方行に対してその頭部
(H)方向が常に一致するように配列すればよい。Therefore, in order to obtain the handwriting of the writing brush, it is only necessary to arrange the character of the writing tip shape (S) as shown in FIG. 5 so that the head (H) direction always coincides with the traveling direction.
斯様な毛筆書体の発生方法を実現する為の毛筆書体発生
機構の構成を第1図に示し、同図に基づき本発明方法を
詳述する。FIG. 1 shows the structure of a writing-script writing mechanism for realizing such a writing-writing type generation method, and the method of the present invention will be described in detail with reference to FIG.
第1図に於いて、(1)はタブレットや電子黒板などの
座標読み取り装置であり、入力ペンで読み取り面上に文
字を筆記すると、一定時間(例えば0.01sec)毎にこの
ペンの位置を示す座標をサンプリング出力するものであ
る。この装置(1)の読み取り方式には、電磁誘導方
式、感圧方式などがあるが、特に限定されない。(2)
は座標読み取り装置(1)から出力された座標値のサン
プル列からペンの移動量を算出する移動距離検出器であ
り、所定の距離(例えば毛筆の線巾の1/5程度)以上の
移動を検出したときのサンプルを新たな標本値として選
出し、移動方向検出器(3)に方向検出を指示する。こ
の移動方向検出器(3)は移動距離検出器(2)が指示
したタイミングで新たな標本値に対して入力ペン移動方
向を検出するものである。(4)は両検出器(2)、
(3)の夫々から送出されて来る位置座標で表わされる
描画ストロークの標本値列と各標本値に於ける移動方向
の両情報に基づき、特定の位置に特定の方向を向いた特
定の筆先形状キャラクターのパターンを決定するパター
ン生成器であり、このパターンをパターンデータメモリ
(5)から読み出してCRT、LCD等からなる表示装置に配
列表示するのである。In FIG. 1, (1) is a coordinate reading device such as a tablet or an electronic blackboard. When a character is written on the reading surface with an input pen, the position of this pen is shown at regular time intervals (for example, 0.01 sec). The coordinates are sampled and output. The reading method of the device (1) includes an electromagnetic induction method and a pressure sensitive method, but is not particularly limited. (2)
Is a movement distance detector that calculates the amount of movement of the pen from the sample string of coordinate values output from the coordinate reading device (1), and moves over a predetermined distance (for example, about 1/5 of the line width of the writing brush). The sample at the time of detection is selected as a new sample value, and the moving direction detector (3) is instructed to detect the direction. The moving direction detector (3) detects the moving direction of the input pen with respect to a new sample value at the timing indicated by the moving distance detector (2). (4) is both detectors (2),
Based on both the sampled value sequence of drawing strokes represented by the position coordinates sent from each of (3) and the moving direction information at each sampled value, a specific brush tip shape directed to a specific position at a specific position This is a pattern generator that determines the pattern of the character, and reads this pattern from the pattern data memory (5) and displays it in an array on a display device such as a CRT or LCD.
次に動作を詳細に述べる。Next, the operation will be described in detail.
(i)座標読み取り装置(1)では、第6図に示すよう
に、一定時間(0.01sec)間隔で検出した座標値を(x1,
y1),,,(xw,yw)なる点列データとして、実時間に移動
距離検出器(2)に出力する。(I) In the coordinate reading device (1), as shown in FIG. 6, the coordinate value detected at a constant time (0.01 sec) is calculated as (x1,
It is output to the movement distance detector (2) in real time as point sequence data of y1) ,,, (xw, yw).
(ii)移動距離検出器(2)では、座標読み取り装置か
ら一定時間(0.01sec)ごとに送られる位置データに基
づき常に移動距離を算出している。第7図に示すように
移動距離測定の原点[O(x0,y0)]は直前に表示した
パターンの位置である。この原点を中心にした半径
(r)の円領域の中の点Eは、移動した点としない。距
離がr以上の点Fが現れると、ペンが移動したものと
し、その座標値(xf,yf)を方向検出器(3)に出力す
る。ここで、距離Rは、次のように定める。(Ii) The moving distance detector (2) always calculates the moving distance based on the position data sent from the coordinate reading device at fixed time intervals (0.01 sec). As shown in FIG. 7, the origin [O (x 0 , y 0 )] of the moving distance measurement is the position of the pattern displayed immediately before. The point E in the circular area having the radius (r) centered on this origin is not the moved point. When a point F having a distance of r or more appears, it is assumed that the pen has moved, and the coordinate value (xf, yf) is output to the direction detector (3). Here, the distance R is determined as follows.
そして、移動距離のしきい値rは表示パターンの基本形
の大きさにより次の如く定める。 Then, the threshold r of the moving distance is determined as follows according to the size of the basic shape of the display pattern.
即ち、小さい筆先を用いて筆記する場合は、しきい値r
も小さくする。 That is, when writing with a small brush tip, the threshold value r
Also make it smaller.
また、第8図に示すように、最初にペンを筆記面に降ろ
したときの位置は非常に不安定なので、上述の如き移動
距離検出は行なわずに次のような安定化規則を設ける。Further, as shown in FIG. 8, the position when the pen is first lowered onto the writing surface is very unstable. Therefore, the following stabilizing rule is provided without detecting the moving distance as described above.
座標値を(x,y)で表し、座標読み取り装置(1)から
得られる最初のn点の平均値をとり、N(X,Y)とす
る。The coordinate value is represented by (x, y), and the average value of the first n points obtained from the coordinate reading device (1) is taken as N (X, Y).
その後、次のm点を無視し、n+m+1点目の座標との
間で、方向を算出し、この時のパターンの表示位置は、
n+m+1点目となり、この点が最初の表示パターンの
配置位置S1である(この第8図では、n=5,m=5とし
ている)。 After that, the next m point is ignored, the direction is calculated between the coordinates of the n + m + 1th point, and the display position of the pattern at this time is
It is the (n + m + 1) th point, and this point is the arrangement position S 1 of the first display pattern (in this FIG. 8, n = 5 and m = 5).
(iii)移動方向検出器(3)では、移動距離検出器
(2)からの指示に従い、方向検出を行う。原点の座標
は、第1点としては上記の(N,Y)とし、以降は直前に
方向算出に使用した点を座標とする。第7図の点Oから
点Fへの方向を移動方向とし、第1図に示すような定め
られた方向(図では16方向)に、あてはめる。この場
合、検出する移動方向は多い程、表示する際により滑ら
かな筆跡が得られる事は明白であるが、座標読み取り装
置の筆記面上をペンで移動する場合の筆跡は、細かい方
向の変化が発生するので、16方向程度に検出を限定した
ほうが、進行方向のブレなどを吸収するのに都合がよ
い。(Iii) The moving direction detector (3) detects the direction according to the instruction from the moving distance detector (2). The coordinates of the origin are the above-mentioned (N, Y) as the first point, and hereinafter, the point used for the direction calculation is the coordinate. The direction from the point O to the point F in FIG. 7 is set as the movement direction, and the movement is applied in a predetermined direction (16 directions in the figure) as shown in FIG. In this case, it is clear that the more the moving direction is detected, the smoother the handwriting can be obtained at the time of displaying, but the handwriting when moving with the pen on the writing surface of the coordinate reading device has a small change in direction. Since it occurs, it is more convenient to limit the detection to about 16 directions in order to absorb blurring in the traveling direction.
(iv)パターン生成器(4)では、移動距離検出器
(2)から与えられる位置に、移動方向検出器(3)か
ら与えられる方向成分を持った筆先形状キヤラクターの
パターンを、パターンデータメモリ(5)のパターンデ
ータをもとに算出し、表示部に出力する。(Iv) In the pattern generator (4), the pattern of the brush tip shape character having the direction component given by the movement direction detector (3) is provided at the position given by the movement distance detector (2) as a pattern data memory ( It is calculated based on the pattern data of 5) and output to the display unit.
筆跡を表示するには第9図に示すように筆先パターン
(S)をペンの移動に連動させて表示する。第9図
(a)では筆先パターンを重ね合わせて合成する事によ
り筆跡を生成しており、同図(b)では筆先パターン
(S)を外接線で結んだ範囲全体を筆跡として合成して
いる。いずれの場合も、ペンの移動に従って、実時間に
表示することができるので、表示される筆跡を見ながら
思い通りの字又は図を描画することができる。第10図
は、上述の第9図(a)に示した合成手法に基づく本発
明方法にて得られた描画文字「洋」の一例である。To display the handwriting, the writing tip pattern (S) is displayed in conjunction with the movement of the pen, as shown in FIG. In FIG. 9 (a), a handwriting is generated by superimposing and combining the writing point patterns, and in FIG. 9 (b), the entire range in which the writing point pattern (S) is connected by a circumscribed line is combined as a writing. . In any case, since the pen can be displayed in real time according to the movement of the pen, it is possible to draw a desired character or figure while watching the displayed handwriting. FIG. 10 is an example of the drawn character “Yo” obtained by the method of the present invention based on the synthesizing method shown in FIG. 9 (a).
(ト)発明の効果 本発明の毛筆書体発生方法は、入力ペンの筆記軌跡から
描画ストロークの各標本点に於いて、夫々の移動方向に
従った方向に筆先形状キャラクターを自動的に配列する
事ができるので、実際の毛筆の筆先の動きに応じた忠実
な毛筆書体を生成する事が可能となる。よって、本発明
方法によれば、毛筆タッチの柔らかな書体、筆跡をペン
(硬筆)を用いて作成できる。手法は簡単で、フォント
データもほとんど必要としない。既製のフォントを用い
た毛筆文字と比較して、大胆で自由な書体で筆記でき
る。(G) Effect of the Invention According to the brush typeface generation method of the present invention, at each sample point of the drawing stroke from the writing locus of the input pen, the brush tip-shaped characters are automatically arranged in the direction according to the respective moving direction. Since it is possible, it is possible to generate a faithful writing brush typeface according to the movement of the actual writing brush tip. Therefore, according to the method of the present invention, it is possible to create a soft typeface and handwriting with a writing brush using a pen (hard brush). The method is simple and requires almost no font data. You can write in a bold and free typeface as compared to brush letters using ready-made fonts.
第1図は本発明の毛筆書体発生方法を実現するための装
置構成図、第2図、第3図、並びに第4図(a)(b)
は毛筆書体の特性を示す模式図、第5図は、第6図、第
7図、第8図、第9図、並びに第10図は、本発明方法を
実現する装置構成を動作説明する為の模式図である。 (1)……座標読み取り装置、(2)……移動距離検出
器、(3)……移動方向検出器、(4)……パターン生
成器、(5)……パターンデータメモリ、(6)……表
示装置。FIG. 1 is a block diagram of an apparatus for realizing the method for generating a writing brush type of the present invention, FIG. 2, FIG. 3, and FIG. 4 (a) (b).
Is a schematic diagram showing the characteristics of a writing brush, FIG. 5 is FIG. 6, FIG. 7, FIG. 8, FIG. 9, and FIG. 10 are for explaining the operation of the apparatus configuration for realizing the method of the present invention. FIG. (1) ... coordinate reading device, (2) ... moving distance detector, (3) ... moving direction detector, (4) ... pattern generator, (5) ... pattern data memory, (6) ...... Display device.
Claims (1)
描画ストロークの標本値列並びに、描画ストロークの移
動方向を検出し、筆先形状キャラクターを上記描画スト
ロークの標本値毎に、描画ストロークの移動方向に対し
て該キャラクターの頭部方向が一致するように連続的に
配列し、毛筆風の筆跡イメージを合成する事を特徴とし
た毛筆書体発生方法。1. A sequence of sample values of drawing strokes written with an input pen on a coordinate reading device and a moving direction of the drawing strokes are detected, and a brush-shaped character is moved in the moving direction of the drawing strokes for each sample value of the drawing strokes. With respect to the character, the writing head generating method is characterized by arranging them continuously so that the head directions of the characters are the same, and synthesizing a handwriting image in a writing style.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12230587A JPH0679324B2 (en) | 1987-05-19 | 1987-05-19 | Brush typeface generation method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12230587A JPH0679324B2 (en) | 1987-05-19 | 1987-05-19 | Brush typeface generation method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63286979A JPS63286979A (en) | 1988-11-24 |
| JPH0679324B2 true JPH0679324B2 (en) | 1994-10-05 |
Family
ID=14832666
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP12230587A Expired - Fee Related JPH0679324B2 (en) | 1987-05-19 | 1987-05-19 | Brush typeface generation method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0679324B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109461194A (en) * | 2018-09-19 | 2019-03-12 | 安徽慧视金瞳科技有限公司 | A kind of method for drafting for simulating art designing pen style of writing |
-
1987
- 1987-05-19 JP JP12230587A patent/JPH0679324B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63286979A (en) | 1988-11-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TW513656B (en) | Handwriting information processing system comprising a character segmentation user interface | |
| US4189744A (en) | Apparatus for generating signals representing operator-selected portions of a scene | |
| JP4810146B2 (en) | Method and apparatus for generating input text | |
| US5155813A (en) | Computer apparatus for brush styled writing | |
| EP0099971B1 (en) | Retro-stroke compression and image generation of script and graphic data employing an information processing system | |
| EP1330109B1 (en) | Index and retrieval system and method for scanned notes from whiteboard | |
| CN105046730A (en) | Writing trace demonstration method and apparatus applied to writing brush | |
| JPH06175777A (en) | Brush typeface forming apparatus and brush typeface forming method | |
| CN109584129A (en) | A kind of copying method and device of calligraphy | |
| JP3239022B2 (en) | Image processing device | |
| JPH0679323B2 (en) | Brush typeface generation method | |
| JPH0679324B2 (en) | Brush typeface generation method | |
| Ruggles | Letterform design systems | |
| JPWO2004095361A1 (en) | Online handwritten character input device and method | |
| JP4632389B2 (en) | Electronic blackboard apparatus and control method thereof | |
| EP0509996B1 (en) | Computer apparatus for brush styled writing | |
| JP3034140B2 (en) | Character generation method and device | |
| JPS63286980A (en) | Method for generating calligraphic style | |
| JPH0782530B2 (en) | Handwriting recognition device | |
| US12360607B2 (en) | Mid-air-gesture editing method, device, display system and medium | |
| Yamasaki et al. | Computer calligraphy-brush written Kanji formation based on the brush-touch movement | |
| JPH06175639A (en) | Character generation method and apparatus | |
| JPS62190565A (en) | Device for making fair copy of hand-written pattern | |
| JPH03184182A (en) | Character output layout determination system | |
| JPH1091317A (en) | Handwriting input display device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |