JP2010055322A - Handwriting input system - Google Patents

Handwriting input system Download PDF

Info

Publication number
JP2010055322A
JP2010055322A JP2008218711A JP2008218711A JP2010055322A JP 2010055322 A JP2010055322 A JP 2010055322A JP 2008218711 A JP2008218711 A JP 2008218711A JP 2008218711 A JP2008218711 A JP 2008218711A JP 2010055322 A JP2010055322 A JP 2010055322A
Authority
JP
Japan
Prior art keywords
pen
pen tip
handwriting
distance
point
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.)
Pending
Application number
JP2008218711A
Other languages
Japanese (ja)
Inventor
Hiroaki Takagi
裕明 高木
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.)
Pentel Co Ltd
Original Assignee
Pentel Co Ltd
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 Pentel Co Ltd filed Critical Pentel Co Ltd
Priority to JP2008218711A priority Critical patent/JP2010055322A/en
Publication of JP2010055322A publication Critical patent/JP2010055322A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a handwriting input system in which a closed graphic expected by a user or each ruled line is connected even when a user writes a graphic or a chart without considering inclination of a pen. <P>SOLUTION: The handwriting input system is configured to calculate the total moving distance of a pen from position coordinates where a pen top is depressed to a writing object such as paper to position coordinates where the pen top is released from the writing object from the position coordinates of the pen to be obtained from a receiver, and to, when the total moving distance exceeds a set value, determine that a graphic has been written, and to retrieve an intersection under decided conditions, and to, when any intersection is not retrieved, generate an interpolation point to an end point or an approximate point as a target from the position coordinates where the pen top is depressed to the writing object such as paper or the position coordinates where the pen top is released form the writing object, and to add the interpolation point to the data of writing, and to display a closed graphic expected by a user or a graphic in which the intersection of each writing meets. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、少なくとも、利用者が手書きで筆跡を入力するためのペンと、ペンの位置座標を検出し、座標を出力する受信装置と、その座標出力を用いて筆跡を表示する表示装置をもつ計算機を備えた筆跡入力システムに関する。   The present invention has at least a pen for a user to input handwriting by handwriting, a receiving device for detecting the position coordinates of the pen and outputting the coordinates, and a display device for displaying the handwriting using the coordinate output. The present invention relates to a handwriting input system equipped with a computer.

従来、利用者が手書きでボールペン等の実際に紙などの筆記対象物に筆記可能なペンによって筆記し、そのペンの位置座標取得を得て計算機に表示もしくは、筆記の位置データを記憶する筆跡入力システムが知られている。それらのペンの位置座標を得るためには、ペンから超音波と電磁波を発生させて外部の受信装置から電磁波と超音波の到達時間差からペンの位置座標を得る超音波方式や、筆記可能エリア内のボード下にセンサーとなる配線を配置したボードと、コイル状の線を埋め込んだペンからなり電磁誘導にて、X軸、Y軸の位置を得る電磁授受方式などにより、ペンの位置座標を得ている。   Conventionally, a user writes with a pen that can be written on a writing object such as a ball pen by hand and obtains the position coordinates of the pen and displays it on a computer or stores handwriting position data. The system is known. In order to obtain the position coordinates of those pens, an ultrasonic method that generates ultrasonic waves and electromagnetic waves from the pens and obtains the pen position coordinates from the arrival time difference between the electromagnetic waves and the ultrasonic waves from an external receiver, or within the writable area The position coordinates of the pen are obtained by the electromagnetic transfer method that obtains the X-axis and Y-axis positions by electromagnetic induction consisting of a board with sensor wiring underneath the board and a pen with coiled wires embedded in it. ing.

特許文献1に於いては、超音波をペンの最先端から出力することができないため、ペンの傾きによる誤差が超音波方式の位置検出装置では、発生する。文献の例では、超音波発信素子がペンの先端から5mmの位置に配置しているときペンの傾きを45°傾けた場合、約3.5mmの誤差が発生することが書かれている。このため、ペンの異なった位置に超音波発信器を2つ設け、超音波受信機にて受信することにより、それぞれの超音波発信器の位置座標を得てペンの傾きを計算し、ペン先と超音波発信素子とのペンの傾きによる誤差を補正することにより、正確なペン先の位置座標を得ている。   In Patent Document 1, since ultrasonic waves cannot be output from the leading edge of the pen, an error due to the tilt of the pen occurs in the ultrasonic position detection apparatus. In the literature example, it is described that when the ultrasonic transmitting element is arranged at a position of 5 mm from the tip of the pen, an error of about 3.5 mm occurs when the inclination of the pen is inclined by 45 °. For this reason, two ultrasonic transmitters are provided at different positions of the pen and received by the ultrasonic receiver, the position coordinates of each ultrasonic transmitter are obtained, the pen inclination is calculated, and the pen tip By correcting the error due to the tilt of the pen between the oscillating element and the ultrasonic wave transmitting element, accurate position coordinates of the pen tip are obtained.

特許文献2に於いては、電磁授受方式においても、ペンの最先端にコイルを配置することができないため、位置検出方法において複数の受信センサーから得られる入力値からペンの傾きを得て誤差を補正することが可能なことが書かれている。   In Patent Document 2, even in the electromagnetic transmission / reception system, since the coil cannot be arranged at the tip of the pen, an error is obtained by obtaining the inclination of the pen from input values obtained from a plurality of receiving sensors in the position detection method. It is written that it can be corrected.

この様に、筆跡入力システムは、ペンの最先端の位置座標を得るために、様々な機構の追加や補正を行い誤差を少なくする発明がなされている。しかし、誤差を少なくする為、機構追加や複雑な補正を行うと部品点数の増加や必要な処理能力の増加によるコストアップや消費電力の増加などの問題が生じる。また、ペンの傾き以外にも筆跡入力システムには、ペンの中心軸の回転方向による誤差や絶対位置座標との誤差など様々な誤差要因があるため、ペンの最先端の位置座標を誤差無く得ることは難しくなっている。
特許公開2004−192142公報(段落6〜段落10) 特許公開平8−314615公報(段落10〜段落11)
Thus, the handwriting input system has been invented to reduce errors by adding and correcting various mechanisms in order to obtain the most advanced position coordinates of the pen. However, if a mechanism is added or complicated correction is performed in order to reduce the error, problems such as an increase in the number of parts and an increase in necessary processing capability cause an increase in cost and power consumption. Besides the pen tilt, the handwriting input system has various error factors such as errors due to the rotation direction of the center axis of the pen and errors with the absolute position coordinates, so the most advanced position coordinates of the pen can be obtained without errors. Things are getting harder.
Patent Publication 2004-192142 (paragraphs 6 to 10) Japanese Patent Publication No. 8-314615 (paragraphs 10 to 11)

上記理由により、ペン先にボールペンなどの筆記具を有する筆跡入力システムでは、利用者が丸などの図形をペンの傾きを変えながら書いた際、実際にボールペンなどで書かれた筆跡では、書き始めの始点と書き終わりの終点が重なっているにも関わらず、ペンの位置座標を得て表示を行う筆跡入力システムに表示される筆跡は、書き始めの始点と書き終わりの終点が離れたりする場合があった。また、表などの罫線を筆記した際、各罫線が交わらず隙間の空いた状態となることもあった。これらの問題点の発生の原因として、図や表などの筆記は、文字などを筆記する場合に比べ、ペンの移動距離が大きくなるため、ペンの傾きなどの誤差による影響を受けやすくなる。   For the above reasons, in a handwriting input system that has a writing instrument such as a ballpoint pen at the tip of the pen, when a user writes a figure such as a circle while changing the tilt of the pen, the handwriting actually written with a ballpoint pen etc. In spite of the overlap between the start point and the end point of writing, the handwriting displayed on the handwriting input system that obtains and displays the position coordinates of the pen may be separated from the start point of writing and the end point of writing end. there were. In addition, when writing ruled lines such as a table, the ruled lines may not intersect and may have a gap. As a cause of the occurrence of these problems, writing of figures, tables, and the like is more susceptible to errors such as pen tilt because the pen movement distance is longer than when writing characters or the like.

この様に、図形を筆記した際、その図形が始点と終点が閉じた状態で計算機に記憶される筆跡データが表示及び記憶されていないと、その筆跡データの図形を後の編集にて塗りつぶしなどの彩色を行うときなど図形が閉じていないため塗りつぶしの処理ができなくなる。また、筆跡データから図形を予め定義された基本図形と比較して認識する図形認識などに誤認識を与えることがあった。   In this way, when the figure is written, if the handwriting data stored in the computer is not displayed and stored with the start point and end point of the figure closed, the figure of the handwriting data is filled in later editing, etc. Since the figure is not closed, such as when coloring, the painting process cannot be performed. In addition, there is a case where erroneous recognition is given to figure recognition that recognizes a figure from handwriting data by comparing with a basic figure defined in advance.

本発明は、上記問題を解決するために成したもので、利用者が筆記可能なペンであり且つ、ペンの位置座標取得の為の必要な場合に於いて発信装置を具備するペンとペンから必要な場合に発信された信号を受信し、ペンの位置座標を検出し座標を計算機に出力する受信装置と、受信装置からのペンの位置座標から筆跡を表示する表示装置を持ち、且つ、ペンの位置座標を筆跡データとして記憶する計算機を備えた筆跡入力システムにおいて、ペン先が筆記対象物に最初に押下された位置座標からペン先が筆記対象物より離されたペンの総移動距離を計算し、予め設定された図形を筆記したか文字を筆記したかを判別する為の距離の設定値を上回った場合、通常の文字を筆記したのではなく図形を筆記したと判断を行い、最初のペン先押下位置とペン先が離れた位置の2点間の直線距離が予め設定された最初のペン先押下位置とペン先が離れた位置が接近していることを判別する距離の設定値を下回り、且つ最初にペン先押下された位置もしくはペン先が離れた位置から予め設定した近傍に筆跡自身が交差する点が無いかを判別する距離の設定値以内にその筆跡自身が交差する点が無い場合、最初のペン先押下位置とペン先が離れた位置を結ぶ補間する筆跡データを追加し、最初のペン先押下位置とペン先が離れた位置が結ばれた図形を表示および記憶する筆跡入力システムを構築することができる。   The present invention has been made to solve the above problems, and is a pen that can be written by a user and includes a pen and a pen provided with a transmitting device when necessary to acquire the position coordinates of the pen. A receiving device that receives a signal transmitted when necessary, detects a pen position coordinate and outputs the coordinate to a computer, and has a display device that displays a handwriting from the pen position coordinate from the receiving device. In a handwriting input system equipped with a computer that stores the position coordinates of handwriting as handwriting data, the total movement distance of the pen with the pen tip separated from the writing object is calculated from the position coordinates where the pen tip was first pressed on the writing object. If it exceeds the distance setting for determining whether you have written a pre-set figure or a letter, it will be judged that you have written a figure instead of writing a normal letter. Pen tip pressing position The linear distance between two points where the pen tip is separated is less than the preset value for determining the proximity of the first pen tip pressing position and the position where the pen tip is separated. If there is no point where the handwriting itself intersects within the set value of the distance to determine whether there is no point where the handwriting itself intersects in the preset vicinity from the position where the pen tip is pressed or the position where the pen tip is separated, the first Add handwriting data to be interpolated between the pen tip pressing position and the pen tip separation position, and build a handwriting input system that displays and stores the figure that connects the first pen tip pressing position and the pen tip separation position. be able to.

また、得られたペンの位置座標を記憶し、ペン先が筆記対象物に最初に押下された位置座標からペン先が筆記対象物より離されたペンの総移動距離を計算し、予め設定された図形を筆記したか文字を筆記したかを判別する為の距離の設定値を上回った場合、通常の文字を筆記したのではなく図形を筆記したと判断を行い、最初のペン先押下位置とペン先が離れた位置の2点間の直線距離が予め設定された最初のペン先押下位置とペン先が離れた位置が接近していることを判別する距離の設定値を下回り、且つ最初にペン先押下された位置もしくはペン先が離れた位置から予め設定した近傍に筆跡自身が交差する点が無いかを判別する距離の設定値以内にその筆跡自身が交差する点が無い場合、最初のペン先押下位置とペン先が離れた位置を結ぶ補間する筆跡データを追加し、最初のペン先押下位置とペン先が離れた位置が結ばれた図形を表示および記憶する筆跡入力システムを構築することができる。   Further, the position coordinates of the obtained pen are stored, and the total movement distance of the pen in which the pen tip is separated from the writing object is calculated from the position coordinates where the pen tip is first pressed on the writing object, and is set in advance. If it exceeds the distance setting value to determine whether you have written a letter or a letter, it will be judged that you have written a figure instead of writing a normal letter, The linear distance between two points where the pen tip is separated is less than the preset value for determining the proximity of the first pen tip pressing position and the position where the pen tip is separated. If there is no point where the handwriting itself intersects within the set value of the distance to determine whether there is no point where the handwriting itself intersects in the preset vicinity from the position where the pen tip is pressed or the position where the pen tip is separated, the first Connect the pen tip pressing position and the pen tip separation position. By adding handwriting data to be interpolated, it is possible to construct a handwriting input system that displays and stores a graphic in which the initial pen tip pressing position and the position where the pen tip is separated are connected.

また、得られたペンの位置座標を記憶し、ペン先が最初に筆記対象物に押下されてから位置座標からペン先が筆記対象物から離されたペンの総移動距離を計算し、予め設定された図形を筆記したか文字を筆記したかを判別する為の距離の設定値を上回った場合、通常の文字を筆記したのではなく図形を筆記したと判断を行い、且つ、すでに記憶された他の筆跡データのうち、前記方法と同様に図形を筆記した筆跡の線を検索し、次にその最初のペン先押下位置及びペン先が離れた位置にもっとも近い筆跡の線と近接点の位置を検索して、その距離が予め設定し記憶された最初のペン先押下位置もしくはペン先が離れた位置と近接点の位置が接近していることを判別する距離の設定値を下回っていた場合、ペン先押下位置及びペン先が離れた位置からその線の近接点に交わるように補間する筆跡データを追加し、最初のペン先押下位置もしくはペン先が離れた位置と他の線の近接点が結ばれた図形を表示および記憶する筆跡入力システムを構築することができる。   Also, the position coordinates of the obtained pen are stored, and the total movement distance of the pen in which the pen tip is moved away from the writing object after the pen tip is first pressed on the writing object is calculated and set in advance. If it exceeds the set distance value to determine whether the written figure or the letter was written, it was judged that the figure was written instead of writing a normal character, and it was already stored Search for the handwriting line where the figure was written from other handwriting data as in the above method, and then the position of the handwriting line closest to the first pen tip pressing position and the position where the pen tip was separated and the position of the proximity point And the distance is below the preset value for determining whether the first pen tip pressing position stored in advance or the pen tip separation position is close to the position of the proximity point. , The position where the pen tip is pressed Add handwriting data to be interpolated so that it intersects with the proximity point of the line, and the handwriting input that displays and stores the figure where the first pen tip pressing position or the position where the pen tip is separated and the proximity point of another line is connected A system can be constructed.

本発明では、前記筆跡システムを構築することにより、特殊なペン位置座標の誤差補正機能を追加することが無く、かつ利用者がペンの傾きなどを意識せずに図形や表などを筆記した場合、利用者が期待する閉じた図形や各罫線が連結された筆跡データを筆跡入力システムに表示及び記憶させることができ、そのシステムに図形認識機能や表認識機能がある場合、各認識率を上げることができる。   In the present invention, when the handwriting system is constructed, a special pen position coordinate error correction function is not added, and a user writes a figure or a table without being aware of the inclination of the pen. The handwritten input system can display and store the handwritten data that the user expects the closed figure and each ruled line, and if the system has the figure recognition function and the table recognition function, increase the recognition rate. be able to.

ペンの座標を取得する為には、ペンに超音波発信機を内蔵し、受信装置に超音波を送信し、その超音波を受信装置にて受信することにより、超音波の到達時間によってペンの位置座標を取得する超音波方式や、ペンの入力範囲内に静電容量検出用の導電パターンを配置し、ペンに容量変化の為の回路を設けペンの位置座標を取得する静電容量方式や、ペンの入力範囲内に抵抗膜を配置し、ペン筆記によるペン先の圧力を検知して抵抗値の変化によりペンの位置を検出する抵抗膜方式などが存在する。超音波方式や静電容量方式においては、ペンに発信用の回路を内蔵する必要がある。   In order to acquire the coordinates of the pen, an ultrasonic transmitter is built in the pen, the ultrasonic wave is transmitted to the receiving device, and the ultrasonic wave is received by the receiving device. An ultrasonic method for obtaining position coordinates, a capacitance method for obtaining the position coordinates of a pen by arranging a circuit for capacitance change in the pen by arranging a conductive pattern for capacitance detection within the input range of the pen, There is a resistive film system in which a resistive film is arranged in the input range of the pen, the pressure of the pen tip by pen writing is detected, and the position of the pen is detected by a change in resistance value. In the ultrasonic method and the capacitance method, it is necessary to incorporate a circuit for transmission in the pen.

ペンには、筆記可能なボールペンのリフィル等の筆記具が取り付けられており、ペンが用紙などに押下された場合、筆記具内のインキなどにより用紙に筆記を行うことができる。
発振回路を内蔵するペンは、ペン内部に筆記具と接続された圧力検出を行うセンサを内蔵することで用紙にペン先が押下されたことを検出し、受信装置にペンの位置座標を検出するための信号を発信して、ペンの位置座標を特定できる。また、ペン内部の発振回路は、電源を必要とするためペン内部に内蔵された電池もしくは、電磁誘導方式もしくは、ケーブル接続によって電源が供給される。ペンは、インキ切れなど際、筆記具を交換できる機能が必要となる。
A writing instrument such as a refillable ballpoint pen is attached to the pen, and when the pen is pressed onto a sheet or the like, writing can be performed on the sheet with ink or the like in the writing instrument.
The pen with built-in oscillation circuit has a built-in pressure detection sensor connected to the writing instrument inside the pen to detect that the pen tip has been pressed on the paper and to detect the position coordinates of the pen on the receiving device. The position coordinates of the pen can be specified by transmitting the signal. Further, since the oscillation circuit in the pen requires a power source, the power is supplied by a battery built in the pen, an electromagnetic induction system, or a cable connection. The pen needs to have a function to change the writing instrument when the ink runs out.

ペンによって筆記される対象物が紙等の場合は、ボールペンなどのリフィルをペンに入れ、座標出力が可能な範囲に紙を置き、ボールペン等による筆跡と受信装置から出力されるペンの座標値がずれない様にするため、紙を固定する必要がある。また、ボールペン等による実際に書かれた筆跡がいらない場合、スタイラス芯などを低摩擦なペン先をペンに入れ、液晶の上や机の上などで筆記される対象物に受信装置を設置することで筆記を行うことができる。   If the object to be written with a pen is paper or the like, put a refill such as a ballpoint pen into the pen, place the paper in a range where coordinates can be output, and the handwriting by the ballpoint pen and the coordinate value of the pen output from the receiver will be It is necessary to fix the paper to prevent it from shifting. Also, if you don't need handwriting written with a ballpoint pen, etc., put a stylus core etc. into the pen with a low friction pen tip and install the receiver on the object to be written on the liquid crystal or on the desk You can write in.

受信装置には、座標取得のための方式に応じた受信回路が内蔵されている。受信回路では、各種入力方式による位置取得方法によって、ペンの入力範囲内のあらかじめ定められた位置を原点とし、予め定められた分解能/品位の数値をXY2次元の絶対座標値として取得される。取得される位置座標の品位は、一般的な筆記の5mm程度の文字を取得するため、50dpi以上の品位で出力されることが望ましい。また、ペンが紙に押下されたり(筆記状態)、ペンが紙面から離れた状態(非筆記状態)になった場合のペンの状態情報なども同時に出力される。また、座標出力の時間間隔は、筆跡を失わないために毎秒30回以上が望まれる。   The receiving device incorporates a receiving circuit corresponding to a method for obtaining coordinates. In the receiving circuit, by a position acquisition method using various input methods, a predetermined position in the pen input range is used as the origin, and a predetermined resolution / quality value is acquired as an XY two-dimensional absolute coordinate value. As for the quality of the position coordinates to be acquired, it is desirable to output with a quality of 50 dpi or more in order to acquire characters of about 5 mm of general writing. Also, the pen state information when the pen is pressed on the paper (writing state) or the pen is separated from the paper surface (non-writing state) is also output at the same time. Further, the coordinate output time interval is preferably 30 times or more per second so as not to lose the handwriting.

受信装置と計算機は、通信接続されている。接続方式は、USBやRS−232C等の有線ケーブルによる通信や無線LAN及びBLUETOOTH等の無線による通信を用いることができる。筆記を行ってから筆跡のデータが画面に表示されるまでの時間を少なくする為、32kbps以上の通信速度が要求される。   The receiving device and the computer are connected for communication. As a connection method, communication using a wired cable such as USB or RS-232C or wireless communication such as a wireless LAN and BLUETOOTH can be used. A communication speed of 32 kbps or higher is required to reduce the time from writing to handwriting data being displayed on the screen.

計算機は、表示装置と接続されていて、ペンからの筆記が表示できるようにドット表示によるグラフィック表示が可能となっている。計算機は、複数のアプリケーションプログラムが同時に起動して表示装置に複数表示されることが望ましい。表示装置に表示される個々のアプリケーションプログラムは、任意の位置に表示可能で表示サイズは、自由に変更できることと表示/非表示を切り替えられることが必要となる。   The computer is connected to a display device, and can perform graphic display by dot display so that writing from a pen can be displayed. In the computer, it is desirable that a plurality of application programs are simultaneously activated and displayed on the display device. Each application program displayed on the display device can be displayed at an arbitrary position, the display size can be freely changed, and display / non-display must be switched.

計算機内では、受信装置から送られるペンの位置座標を受け取る通信部があり、予め起動されているペンの座標入力プログラムがペンの位置座標及びペンが押下された場合とペンが筆記対象物から離れた場合等のペンの状態を表す信号と供に通信データを受信する。   In the computer, there is a communication unit that receives the position coordinates of the pen sent from the receiving device, and the pen coordinate input program that has been started up in advance is when the pen position coordinates and the pen are pressed, and when the pen is separated from the writing object. The communication data is received together with a signal indicating the state of the pen in the case of a failure.

受信された通信データは、ペン先が筆記対象物に押下された位置座標から複数の経路点を経てペン先が筆記対象物からペン先が離された位置座標まで、1つの連続線(1ストローク)として筆跡データに追加して記憶される。   The received communication data includes one continuous line (one stroke) from the position coordinate at which the pen tip is pressed to the writing object to the position coordinate at which the pen tip is separated from the writing object through a plurality of path points. ) And stored in addition to the handwriting data.

本発明では、まず筆記された筆跡データが図形を筆記したものか文字を筆記したものか判別する。これは、後述の筆跡の補間を文字に施した場合、例えばアルファベット文字の「C(シー)」の文字などを始点と終点を結ぶ補間を行うとアルファベット文字の「O(オー)」のような字形に利用者が望んでいない形状に変更されるため、文字と判定される部分には、補間処理を行わない。また、文字と図を混在して記入する際、図形は文字の囲い図形や表としての罫線など、文字に比べてペン先の押下からペン先が離される1つの線分(1ストローク)の総移動量は、文字に比べ大きくなる。これを利用して、計算機内の不揮発性メモリに設定値を保存し、その設定値と1ストロークの総移動量を比較し、設定値を上回った場合、文字を筆記したのではなく、図形もしくは罫線を筆記したと判別する。例えば、一般的なノートなどにあらかじめ印刷されている罫線は、10mm以下であり、筆記される字高も10mm以下となるため、例えばアルファベット文字の「O(オー)」等を考慮すると字高の3倍以上を設定値にすることが必要になる。また、利用者により続け字など1ストロークの文字を筆記した際の総移動量が多くなる場合があり、設定値を利用者に応じて設定する必要がある。   In the present invention, first, it is determined whether the handwritten data written is a figure written or a letter written. This is because, when handwriting interpolation, which will be described later, is performed on a character, for example, if an alphabet character “C (Sea)” is interpolated between the start point and the end point, an alphabet character “O (O)” Since the character shape is changed to a shape not desired by the user, no interpolation processing is performed on the portion determined to be a character. In addition, when entering text and figures together, the figure is the total of one line segment (one stroke) that separates the pen tip from the press of the pen tip compared to the character, such as a character enclosing figure or a ruled line as a table. The amount of movement is larger than that of characters. Using this, save the set value in the non-volatile memory in the computer, compare the set value with the total movement amount of one stroke, and if it exceeds the set value, do not write a letter, It is determined that the ruled line is written. For example, a ruled line printed in advance on a general notebook or the like is 10 mm or less, and a written character height is also 10 mm or less. For example, when considering an alphabetic character “O” or the like, It is necessary to set the set value to 3 times or more. In addition, there are cases where the total amount of movement when one stroke of a character such as a continuous character is written by the user increases, and it is necessary to set a setting value according to the user.

次に本発明の1つでは、1つのストロークの始点と終点を閉じる処理を行う。まず、1つのストロークの始点と終点の直線距離を計算する。この直線距離があらかじめ計算機内の不揮発性メモリに記憶された設定値を下回った場合、利用者が閉じた図形を筆記したと判定する。この設定値を距離の固定値でもよいし、ストロークの総移動距離の比率であってもよい。超音波方式の筆跡入力システムの場合、ペンの傾きによる誤差が4mm程度ある場合、固定値の設定値は、2mm以上であることが望まれるが、利用者のペンの筆記特性に合わせて設定値を自由に変更できることが必要である。次に始点と終点が近く利用者が閉じた図形を筆記したと判別された場合、そのストローク自身に交点があるか判別を行い交点がある場合、もっとも始点もしくは終点に近い交点の位置を抽出する。抽出された交点と始点もしくは終点からの直線距離を計算し、あらかじめ計算機内の不揮発性メモリに記憶された設定値を下回った場合、すでにその1ストロークは、閉じて書かれた筆跡データとして補間処理を行わず処理を終了する。次に前記設定値を上回った場合、そのストロークの終点から始点への補間データを生成し、ストロークの終点座標位置から生成された各補間座標を追加してゆく。この補間処理を行うことで一筆書きで書かれた「○(丸)」や「□(四角)」等の図形を筆跡が閉じた状態にて表示および記憶することができる。   Next, in one of the present invention, the process which closes the start point and end point of one stroke is performed. First, the straight line distance between the start point and end point of one stroke is calculated. When this straight line distance is less than the set value stored in advance in the nonvolatile memory in the computer, it is determined that the user has written a closed figure. This set value may be a fixed distance value or a ratio of the total travel distance of the stroke. In the case of an ultrasonic handwriting input system, when the error due to the tilt of the pen is about 4 mm, the fixed value is preferably set to 2 mm or more. However, the set value is set in accordance with the writing characteristics of the user's pen. It is necessary to be able to change freely. Next, when it is determined that the user has written a closed figure that is close to the start point and end point, it is determined whether the stroke itself has an intersection point. If there is an intersection point, the position of the intersection point closest to the start point or end point is extracted. . If the straight line distance from the extracted intersection and the start or end point is calculated and falls below the preset value stored in the non-volatile memory in the computer in advance, the stroke is already interpolated as handwritten data that has been written closed The process is terminated without performing Next, when the set value is exceeded, interpolation data from the end point of the stroke to the start point is generated, and each interpolation coordinate generated from the end point coordinate position of the stroke is added. By performing this interpolation processing, it is possible to display and store graphics such as “◯ (circle)” and “□ (square)” written in a single stroke with the handwriting closed.

また、本発明の1つでは、前記ストロークの総移動距離の判別による図形の筆記を判別した後に、該当ストローク以外の全ストロークの始点と終点の端点から該当ストロークの始点と終点の距離を計算し、そのうちもっとも直線距離の短いストロークの始点もしくは終点の端点を検索する。前記ストロークと検索されたストロークに交点があるか判別を行い交点がある場合、もっとも始点もしくは終点に近い交点の位置を抽出する。抽出された交点と始点もしくは終点からの直線距離を計算し、あらかじめ計算機内の不揮発性メモリに記憶された設定値を下回った場合、すでにその該当ストロークと検索されたストロークは、端点で交点があり、ストロークどうしが接合しており筆跡データとして補間処理を行わず処理を終了する。次に前記設定値を上回った場合、その該当ストロークの始点もしくは終点から検索されたストロークの始点もしくは終点への補間データを生成し、該当ストロークの始点座標位置もしくは終点座標位置から生成された各補間座標を追加してゆく。この補間処理を行うことで複数のストロークで書かれた「□(四角)」等の図形を筆跡が閉じた状態にて表示および記憶することができる。   In one aspect of the present invention, after determining the writing of the figure by determining the total movement distance of the stroke, the distance between the start point and end point of the corresponding stroke is calculated from the start point and end point of all strokes other than the corresponding stroke. Of these, the start point or end point of the stroke with the shortest straight line distance is searched. It is determined whether there is an intersection between the stroke and the searched stroke. If there is an intersection, the position of the intersection closest to the start point or the end point is extracted. If the straight line distance between the extracted intersection and the start or end point is calculated and falls below the preset value stored in the non-volatile memory in the computer, the corresponding stroke and the searched stroke already have an intersection at the end point. The strokes are joined, and the processing is terminated without performing interpolation processing as handwriting data. Next, when the set value is exceeded, the interpolation data from the start point or end point of the corresponding stroke to the start point or end point of the searched stroke is generated, and each interpolation generated from the start point coordinate position or end point coordinate position of the corresponding stroke is generated. Add coordinates. By performing this interpolation processing, a figure such as “□ (square)” written with a plurality of strokes can be displayed and stored with the handwriting closed.

また、本発明の1つでは、前記ストロークの総移動距離の判別による図形の筆記を判別した後に、該当ストローク以外の全ストロークの始点から終点への経路中から該当ストロークの始点と終点の距離を計算し、そのうちもっとも直線距離の短いストロークの経路点を検索する。その該当ストロークと検索されたストロークに交点があるか判別を行い交点がある場合、もつとも始点もしくは終点に近い交点の位置を抽出する。抽出された交点と始点もしくは終点からの直線距離を計算し、あらかじめ計算機内の不揮発性メモリに記憶された設定値を下回った場合、すでにその該当ストロークと検索されたストロークは、交点があり、ストロークどうしが接合しており筆跡データとして補間処理を行わず処理を終了する。次に前記設定値を上回った場合、その該当ストロークの始点もしくは終点から検索されたストロークの経路点への補間データを生成し、該当ストロークの始点座標位置もしくは終点座標位置から生成された各補間座標を追加してゆく。この補間処理を行うことで罫線の中の分割線等の図形を筆跡が他の罫線と交わった状態にて表示および記憶することができる。   In one aspect of the invention, after determining the writing of the figure by determining the total movement distance of the stroke, the distance between the start point and the end point of the corresponding stroke from the start point to the end point of all strokes other than the corresponding stroke is determined. The path point of the stroke with the shortest straight line distance is searched for. It is determined whether or not there is an intersection between the corresponding stroke and the searched stroke. If there is an intersection, the position of the intersection close to the start point or the end point is extracted. If the straight line distance between the extracted intersection and the start point or end point is calculated and falls below the preset value stored in the non-volatile memory in the computer in advance, the stroke already searched for with the corresponding stroke has an intersection. The processes are terminated without interpolating as handwriting data. Next, when the set value is exceeded, the interpolation data from the start point or end point of the corresponding stroke to the path point of the searched stroke is generated, and each interpolation coordinate generated from the start point coordinate position or end point coordinate position of the corresponding stroke is generated. Will be added. By performing this interpolation processing, it is possible to display and store a figure such as a dividing line in the ruled line in a state where the handwriting intersects with another ruled line.

始点もしくは、終点に補間による経路点の追加が行われる場合、補間点の生成は、距離が短い場合、線形補間でもよいし、距離が長く曲線などの場合、ストロークの始点もしくは終点付近の経路点を利用して、多項式補間もしくはスプライン補間を用いて曲線を滑らかな補間点を生成してもよい。また補間点数は、補間の行われ経路の距離に応じて点数を決める。   When a path point is added to the start point or end point by interpolation, the interpolation point may be generated by linear interpolation when the distance is short, or when the distance is long and the path is near the start point or end point of the stroke. May be used to generate smooth interpolation points for the curve using polynomial interpolation or spline interpolation. Further, the number of interpolation points is determined according to the distance of the path where interpolation is performed.

ペンからの位置座標が表示された場合に記憶された位置座標は、予め起動している筆跡表示のプログラムに送られ、筆跡で得られたXY座標値データを表示領域の座標値に変換し、ペンからの筆記状態から非筆記状態までの座標値を連続線として表示装置内のグラフィックメモリに連続して予め定めた線幅にてドット群として書き込み、入力されたXY座標値が筆跡の線として表示される。点間の線の結び方は、スプライン補間などの補間処理をペンの座標値に行った場合、連続線が滑らかに表示されるため表示品質を上げることができる。また、ノイズなどによって明らかに領域外のデータや前点位置との差分が大きな場合などの異常データがあった場合、表示前にデータを自動的に廃棄することが望ましい。   The position coordinates stored when the position coordinates from the pen are displayed are sent to the handwriting display program that has been activated in advance, and the XY coordinate value data obtained with the handwriting is converted into the coordinate values of the display area, Coordinate values from the writing state to the non-writing state from the pen are continuously written as a dot group with a predetermined line width in the graphic memory in the display device, and the input XY coordinate values are used as handwriting lines. Is displayed. As for how to connect the lines between the points, when interpolation processing such as spline interpolation is performed on the coordinate values of the pen, continuous lines are displayed smoothly, so that the display quality can be improved. In addition, if there is abnormal data such as data that is clearly out of the area or has a large difference from the previous point position due to noise or the like, it is desirable to automatically discard the data before display.

得られた筆跡データは、計算機の逐次に表示装置に表示されてゆく。利用者が入力された筆跡データを表示画面にて確認し、筆跡データの保存を行った場合、計算機の補助記憶装置に筆跡データを保存し、表示画面および記憶域の筆跡データを初期化する。前記図形と認識されたストロークについては、ストロークの表示色を変えて表示装置に表示してもよい。   The obtained handwriting data is sequentially displayed on the display device by the computer. When the user confirms the handwritten data input on the display screen and saves the handwritten data, the handwritten data is stored in the auxiliary storage device of the computer, and the display screen and the handwritten data in the storage area are initialized. The stroke recognized as the graphic may be displayed on the display device by changing the display color of the stroke.

以下、実施例により本発明を更に詳細に説明する。
図1〜2は、装置図面が煩雑にならないよう構成を模式的に表現したものである。本発明は、以下の実施例に限定されるものでなく、本発明の技術範囲において、種々の変形例を含むものである。また、各実施例において、同じ構成については同じ参照符号を付けた。
Hereinafter, the present invention will be described in more detail with reference to examples.
1 and 2 schematically represent the configuration so that the apparatus drawings are not complicated. The present invention is not limited to the following examples, and includes various modifications within the technical scope of the present invention. Moreover, in each Example, the same referential mark was attached | subjected about the same structure.

図1に、本発明の筆跡入力システムの一例を示す。ペン1は、複数個の赤外線発光素子2及び、超音波発信素子3を持ち、筆記状態であることを検知できるセンサ及びそれらを制御する回路基板(図示せず)が内蔵されている。ペン1のペン先には、ボールペンなどのリフィルが挿入されており、筆記した際に内部のセンサが加重により筆記状態の検出を行う。筆記状態が検出されるとペン1の回路は、赤外線発生素子2及び超音波発信素子3に定期的に信号を与えて赤外線の発光と超音波の発信を同時に行わせる。受信装置4は、ペン1からの赤外線発光を赤外線受光素子6にて受信し、内蔵されたタイマをスタートさせる。遅れて到着する超音波を複数の超音波受信素子5が受信し、赤外線信号受信から超音波信号受信までの時間を測定する。測定された各時間を距離に換算し、各超音波受信素子の位置関係から3角法を用いて2次元のペンの位置座標データに変換する。得られた位置座標は、受信装置4から通信ケーブル9を通じて計算機10に送られる。実施例では、受信装置4から計算機10までの通信は、USB通信によって接続されている。パーソナルコンピュータなどの計算機10では、筆跡入力システム専用に作成された筆跡処理用のプログラムが動作しており、ペンの位置座標データを受信している。表示装置11は、計算機10に接続され筆跡の表示や他のアプリケーションプログラムの表示が行われている。   FIG. 1 shows an example of a handwriting input system of the present invention. The pen 1 has a plurality of infrared light emitting elements 2 and ultrasonic transmission elements 3, and includes a sensor that can detect the writing state and a circuit board (not shown) that controls them. A refill such as a ballpoint pen is inserted in the pen tip of the pen 1, and an internal sensor detects the writing state by weighting when writing. When the writing state is detected, the circuit of the pen 1 periodically gives signals to the infrared ray generating element 2 and the ultrasonic wave transmitting element 3 to simultaneously emit infrared light and transmit ultrasonic waves. The receiving device 4 receives the infrared light emission from the pen 1 by the infrared light receiving element 6 and starts a built-in timer. The plurality of ultrasonic receiving elements 5 receive the ultrasonic waves that arrive late, and measure the time from receiving the infrared signal to receiving the ultrasonic signal. Each measured time is converted into a distance, and converted into two-dimensional pen position coordinate data using a triangle method from the positional relationship of each ultrasonic receiving element. The obtained position coordinates are sent from the receiving device 4 to the computer 10 through the communication cable 9. In the embodiment, communication from the receiving device 4 to the computer 10 is connected by USB communication. In the computer 10 such as a personal computer, a handwriting processing program created exclusively for the handwriting input system operates and receives pen position coordinate data. The display device 11 is connected to the computer 10 and displays handwriting and other application programs.

図2に、本発明の一筆書きで書かれた図形の始点と終点を閉じる補間処理を行う計算機のプログラムのフローチャート図の一例を示す。まず、ステップ12にて、筆跡のストロークの総移動量を積算する。始点から終点までの各経路点は、XY座標で与えられるため、各2点間の距離を直線距離で計算し合計を求める。次にステップ13にて予め計算機内の不揮発性メモリに保存されている設定値Aを呼び出し比較し、設定値を下回った場合、図形ではなく文字などの筆記が行われたと判断して処理を終了する。次にステップ14にてストローク自身に交点があるか、始点から終点までの各経路点を順次比較し、交点の有無と交点の位置座標を得る。交点がない場合、ステップ17の処理を行い、交点がある場合、ステップ15にて交点と終点の直線距離を比較する。次にステップ16にて、ステップ15にて求めた直線距離と計算機内の不揮発性メモリに保存されている設定値Bと比較し、設定値を下回った場合は、この処理を終了する。次にステップ17にてストロークの始点と終点の2点間の直線距離を計算する。次のステップ18にて予め設定されている設定値Cとステップ17にて求めた始点と終点の直線距離を比較し、上回る場合、あえて始点と終点を離して筆記したものとしてこの処理を終了する。上記直線距離を比較し、設定値Cを下回る場合、ステップ19にて始点から終点までの補間点を生成する。ステップ20にて生成された補観点をストロークデータの終点以降に追加する。   FIG. 2 shows an example of a flowchart of a computer program for performing an interpolation process for closing the start point and the end point of a figure written in a single stroke of the present invention. First, in step 12, the total movement amount of the stroke of the handwriting is integrated. Since each path point from the start point to the end point is given by XY coordinates, the distance between each two points is calculated as a straight line distance to obtain a total. Next, in step 13, the setting value A previously stored in the non-volatile memory in the computer is called and compared. If the setting value A falls below the setting value, it is determined that writing of characters or the like has been performed, not the figure, and the process is terminated. To do. Next, in step 14, whether or not there is an intersection in the stroke itself, each path point from the start point to the end point is sequentially compared, and the presence / absence of the intersection and the position coordinates of the intersection are obtained. If there is no intersection, the process of step 17 is performed. If there is an intersection, the linear distance between the intersection and the end point is compared in step 15. Next, in step 16, the linear distance obtained in step 15 is compared with the set value B stored in the non-volatile memory in the computer. If the value is below the set value, this process is terminated. Next, in step 17, the straight line distance between the stroke start point and end point is calculated. The set value C set in advance in the next step 18 is compared with the linear distance between the start point and the end point obtained in step 17, and if it exceeds, the process is terminated assuming that the start point and the end point are written apart. . If the straight line distances are compared and the distance is less than the set value C, an interpolation point from the start point to the end point is generated in step 19. The complementary viewpoint generated in step 20 is added after the end point of the stroke data.

図3に、本発明の図形の補間の一例を示す。本例は、一筆書きにて「○(丸)」を筆記した場合の,例である。実際にボールペン書かれた筆跡は、始点と終点が閉じているにもかかわらず、補間前の計算機の表示される図形21は、始点22と終点23が閉じていない。
図形24は、本発明による補間点25が追加された例である。終点23から補間点25及び始点22までの筆跡データが追加され、閉じた図形として表示装置11に表示される。
FIG. 3 shows an example of graphic interpolation according to the present invention. This example is an example in which “○ (circle)” is written in one stroke. Even though the handwriting actually written with the ballpoint pen has its start point and end point closed, the figure 21 displayed on the computer before interpolation does not have the start point 22 and end point 23 closed.
The figure 24 is an example in which an interpolation point 25 according to the present invention is added. Handwriting data from the end point 23 to the interpolation point 25 and the start point 22 is added and displayed on the display device 11 as a closed graphic.

図4に、本発明の複数のストロークで書かれた図形の始点もしくは終点どおしを接合する補間処理を行う計算機におけるプログラムのフローチャート図の一例を示す。まず、ステップ26にて、筆跡のストロークの総移動量を積算する。始点から終点までの各経路点は、XY座標で与えられるため、各2点間の距離を直線距離で計算し合計を求める。次にステップ27にて予め計算機内の不揮発性メモリに保存されている設定値Dを呼び出し比較し、設定値を下回った場合、図形ではなく文字などの筆記が行われたと判断して処理を終了する。次にステップ28にて該当ストローク以外の他の全ストロークの始点と終点の端点から該当ストロークの始点と終点の距離を計算し、そのうちもっとも直線距離の短いストロークの始点もしくは終点の端点を検索する。次にステップ29にて検索されたもっとも近い他のストロークとの端点との直線距離を計算する。次にステップ30にて求めた直線距離と計算機内の不揮発性メモリに保存されている設定値Eと比較し、設定値を下回った場合は、この処理を終了する。次にステップ31にて該当するストロークと検索されたストロークに交点があるか検索し、交点の有無と交点の位置座標を得る。次にステップ32にて交点があり且つ交点と終点の直線距離と計算機内の不揮発性メモリに保存されている設定値Fと比較し、設定値を下まあ割った場合は、この処理を終了する。次にステップ33にて始点から終点までの補間点を生成する。ステップ34にて生成された補観点をストロークデータの終点以降に追加する。   FIG. 4 shows an example of a flowchart of a program in a computer that performs an interpolation process for joining the start points or end points of figures written in a plurality of strokes according to the present invention. First, at step 26, the total movement amount of the stroke of the handwriting is integrated. Since each path point from the start point to the end point is given by XY coordinates, the distance between each two points is calculated as a straight line distance to obtain a total. Next, in step 27, the setting value D previously stored in the non-volatile memory in the computer is called and compared. If the setting value D falls below the setting value, it is determined that writing of characters or the like has been performed, not the figure, and the process is terminated. To do. Next, in step 28, the distance between the start point and end point of the corresponding stroke is calculated from the start point and end point of all strokes other than the corresponding stroke, and the start point or end point of the stroke with the shortest linear distance is retrieved. Next, a linear distance from the end point to the nearest other stroke searched in step 29 is calculated. Next, the linear distance obtained in step 30 is compared with the set value E stored in the non-volatile memory in the computer. If the set distance is below the set value, this process is terminated. Next, in step 31, it is searched whether there is an intersection between the corresponding stroke and the searched stroke, and the presence / absence of the intersection and the position coordinates of the intersection are obtained. Next, in step 32, the intersection is present and the straight line distance between the intersection and the end point is compared with the set value F stored in the non-volatile memory in the computer. When the set value is roughly divided, this processing is terminated. . Next, in step 33, interpolation points from the start point to the end point are generated. The complementary viewpoint generated in step 34 is added after the end point of the stroke data.

図5に、本発明の図形の補間の一例を示す。本例の図5の左の図は、4つのストロークにて「□(四角)」を筆記した場合の,例である。実際にボールペン書かれた筆跡は、各4本のストロークが接合しているにもかかわらず、補間前の計算機の表示される図形は、ストローク35とストローク36が接合していない。図5の右の図は、本発明による補間点39が追加された例である。終点38から補間点39及び検索されたストロークの終点40までの筆跡データが追加され、閉じた図形として表示装置11に表示される。   FIG. 5 shows an example of figure interpolation according to the present invention. The left figure of FIG. 5 of this example is an example when “□ (square)” is written with four strokes. Although the strokes actually written in the ballpoint pen are joined by four strokes, the strokes 35 and 36 are not joined in the graphic displayed by the computer before interpolation. The right figure of FIG. 5 is an example in which an interpolation point 39 according to the present invention is added. Handwriting data from the end point 38 to the interpolation point 39 and the end point 40 of the searched stroke is added and displayed on the display device 11 as a closed graphic.

図6に、本発明の複数のストロークで書かれた図形の始点もしくは終点と他のストロークとの近接点を接合する補間処理を行う計算機におけるプログラムのフローチャート図の一例を示す。まず、ステップ41にて、筆跡のストロークの総移動量を積算する。始点から終点までの各経路点は、XY座標で与えられるため、各2点間の距離を直線距離で計算し合計を求める。次にステップ42にて予め計算機内の不揮発性メモリに保存されている設定値Gを呼び出し比較し、設定値を下回った場合、図形ではなく文字などの筆記が行われたと判断して処理を終了する。次にステップ43にて該当ストロークの始点と終点から該当ストローク以外の他の全ストロークの内、もっとも直線距離の短い近接点を持つストロークと近接点を検索する。次にステップ44にて検索されたもっとも近い他のストロークとの近接点と該当ストロークの端点の直線距離を計算する。次にステップ45では、ステップ44にて求めた直線距離と計算機内の不揮発性メモリに保存されている設定値Hと比較し、設定値を下回った場合は、この処理を終了する。次にステップ46にて該当するストロークと検索されたストロークに交点があるか検索し、交点の有無と交点の位置座標を得る。次にステップ47にて交点があり且つ交点と終点の直線距離と計算機内の不揮発性メモリに保存されている設定値Iと比較し、設定値を下まあ割った場合は、この処理を終了する。次にステップ48にて始点から終点までの補間点を生成する。ステップ49にて生成された補観点をストロークデータの終点以降に追加する。   FIG. 6 shows an example of a flowchart of a program in a computer that performs an interpolation process for joining a starting point or an ending point of a figure written by a plurality of strokes and a neighboring point of another stroke according to the present invention. First, in step 41, the total movement amount of the stroke of the handwriting is integrated. Since each path point from the start point to the end point is given by XY coordinates, the distance between each two points is calculated as a straight line distance to obtain a total. Next, in step 42, the setting value G previously stored in the non-volatile memory in the computer is called and compared. If the setting value G falls below the setting value, it is determined that writing of characters or the like has been performed instead of graphics, and the process is terminated. To do. Next, in step 43, a stroke and a proximity point having a proximity point with the shortest linear distance are searched from all strokes other than the stroke from the start point and end point of the corresponding stroke. Next, the linear distance between the proximity point of the closest other stroke searched in step 44 and the end point of the corresponding stroke is calculated. Next, in step 45, the straight line distance obtained in step 44 is compared with the set value H stored in the non-volatile memory in the computer. If the value is below the set value, this process is terminated. Next, in step 46, it is searched whether there is an intersection between the corresponding stroke and the searched stroke, and the presence / absence of the intersection and the position coordinates of the intersection are obtained. Next, in step 47, when there is an intersection and the linear distance between the intersection and the end point is compared with the set value I stored in the non-volatile memory in the computer, and the set value is divided below, this processing is terminated. . Next, at step 48, interpolation points from the start point to the end point are generated. The complementary viewpoint generated in step 49 is added after the end point of the stroke data.

図7に、本発明の図形の補間の一例を示す。本例の図7の左の図は、5つのストロークにて「□(四角)」を筆記した場合の,例である。実際にボールペン書かれた筆跡は、各5本のストロークが接合しているにもかかわらず、補間前の計算機の表示される図形は、ストローク50とストローク51が接合していない。図7の右の図は、本発明による補間点55が追加された例である。終点53から補間点55及び検索されたストロークの近接点54までの筆跡データが追加され、閉じた図形として表示装置11に表示される。   FIG. 7 shows an example of figure interpolation according to the present invention. The left figure of FIG. 7 of this example is an example when “□ (square)” is written with five strokes. Although the handwriting actually written with a ballpoint pen has five strokes joined, the figure displayed on the computer before interpolation does not have the stroke 50 and the stroke 51 joined. The right figure of FIG. 7 is an example in which an interpolation point 55 according to the present invention is added. Handwriting data from the end point 53 to the interpolation point 55 and the proximity point 54 of the searched stroke is added and displayed on the display device 11 as a closed graphic.

本実施例の筆跡入力システム構成図Handwriting input system configuration diagram of the present embodiment 本発明の計算機における筆跡の補間の為のプログラムのフローチャート1Flowchart 1 of a program for handwriting interpolation in the computer of the present invention 本発明の図形の補間の例1Example 1 of figure interpolation according to the present invention 本発明の計算機における筆跡の補間の為のプログラムのフローチャート2Flowchart 2 of a program for handwriting interpolation in the computer of the present invention 本発明の図形の補間の例2Example 2 of figure interpolation according to the present invention 本発明の計算機における筆跡の補間の為のプログラムのフローチャート3Flowchart 3 of a program for handwriting interpolation in the computer of the present invention 本発明の図形の補間の例3Example 3 of figure interpolation according to the present invention

符号の説明Explanation of symbols

1 ペン
2 赤外線発光素子
3 超音波発信素子
4 受信装置
5 超音波受信素子
6 赤外線受光素子
7 ボード
8 用紙
9 通信ケーブル
10 計算機
11 表示装置
12 ステップ1
13 ステップ2
14 ステップ3
15 ステップ4
16 ステップ5
17 ステップ6
18 ステップ7
19 ステップ8
20 ステップ9
21 補間前のストローク1
22 始点1
23 終点1
24 補間後のストローク1
25 補間点1
26 ステップ26
27 ステップ27
28 ステップ28
29 ステップ29
30 ステップ30
31 ステップ31
32 ステップ32
33 ステップ33
34 ステップ34
35 検索されたストローク1
36 補間前の該当ストローク1
37 始点2
38 終点2
39 補間点2
40 検索されたストロークの終点1
41 ステップ41
42 ステップ42
43 ステップ43
44 ステップ44
45 ステップ45
46 ステップ46
47 ステップ47
48 ステップ48
49 ステップ49
50 補間前の該当ストローク2
51 検索されたストローク2
52 始点3
53 終点3
54 近接点
55 補間点3
DESCRIPTION OF SYMBOLS 1 Pen 2 Infrared light emitting element 3 Ultrasonic transmission element 4 Receiving device 5 Ultrasonic receiving element 6 Infrared light receiving element 7 Board 8 Paper 9 Communication cable 10 Computer 11 Display apparatus 12 Step 1
13 Step 2
14 Step 3
15 Step 4
16 Step 5
17 Step 6
18 Step 7
19 Step 8
20 Step 9
21 Stroke 1 before interpolation
22 Starting point 1
23 End point 1
24 Stroke 1 after interpolation
25 Interpolation point 1
26 Step 26
27 Step 27
28 Step 28
29 Step 29
30 Step 30
31 Step 31
32 Step 32
33 Step 33
34 Step 34
35 Stroke 1 searched
36 Applicable stroke 1 before interpolation
37 Starting point 2
38 End point 2
39 Interpolation point 2
40 End point 1 of the searched stroke
41 Step 41
42 Step 42
43 Step 43
44 Step 44
45 Step 45
46 Step 46
47 Step 47
48 Step 48
49 Step 49
50 Corresponding stroke 2 before interpolation
51 Searched stroke 2
52 Starting point 3
53 End point 3
54 Proximity point 55 Interpolation point 3

Claims (3)

利用者が筆記可能なペンであり且つ、ペンの位置座標取得の為の必要な場合に於いて発信装置を具備するペンとペンから必要な場合に発信された信号を受信し、ペンの位置座標を検出し座標を計算機に出力する受信装置と、受信装置からのペンの位置座標から筆跡を表示する表示装置を持ち、且つ、ペンの位置座標を筆跡データとして記憶する計算機を備えた筆跡入力システムにおいて、ペン先が筆記対象物に最初に押下された位置座標からペン先が筆記対象物より離されたペンの総移動距離を計算し、予め設定された図形を筆記したか文字を筆記したかを判別する為の距離の設定値を上回った場合、通常の文字を筆記したのではなく図形を筆記したと判断を行い、最初のペン先押下位置とペン先が離れた位置の2点間の直線距離が予め設定された最初のペン先押下位置とペン先が離れた位置が接近していることを判別する距離の設定値を下回り、且つ最初にペン先押下された位置もしくはペン先が離れた位置から予め設定した近傍に筆跡自身が交差する点が無いかを判別する距離の設定値以内にその筆跡自身が交差する点が無い場合、最初のペン先押下位置とペン先が離れた位置を結ぶ補間する筆跡データを追加し、最初のペン先押下位置とペン先が離れた位置が結ばれた図形を表示および記憶することを特徴とする筆跡入力システム。 When the pen is writable by the user and it is necessary to acquire the position coordinates of the pen, it receives the signals transmitted from the pen equipped with the transmitter and the pen when necessary, and the position coordinates of the pen Handwriting input system having a receiving device for detecting coordinates and outputting coordinates to a computer, a display device for displaying handwriting from pen position coordinates from the receiving device, and a computer for storing pen position coordinates as handwriting data In the above, the total movement distance of the pen where the pen tip is separated from the writing object is calculated from the position coordinates where the pen tip is first pressed on the writing object, and whether a pre-set figure or character is written If the distance exceeds the set distance to determine the character, it is determined that the figure has been written instead of writing normal characters, and between the two points of the first pen tip pressing position and the pen tip separation position. Linear distance is preset This is less than the distance setting value for determining that the first pen tip pressing position and the pen tip separation position are close to each other, and is set in advance from the position where the pen tip is first pressed or the pen tip separation position. If there is no point where the handwriting intersects within the distance setting value that determines whether there is no point where the handwriting itself intersects in the vicinity, the handwriting that interpolates the first pen tip pressing position and the pen tip separation position A handwriting input system characterized by adding data and displaying and storing a graphic in which a position where the pen tip is pressed and a position where the pen tip is separated are connected. 利用者が筆記可能なペンであり且つ、ペンの位置座標取得の為の必要な場合に於いて発信装置を具備するペンとペンから必要な場合に発信された信号を受信し、ペンの位置座標を検出し座標を計算機に出力する受信装置と、受信装置からのペンの位置座標から筆跡を表示する表示装置を持ち且つペンの位置座標を筆跡データとして記憶する計算機を備えた筆跡入力システムにおいて、ペン先が筆記対象物に最初に押下され、位置座標からペン先が筆記対象物より離されたペンの総移動距離を計算し、予め設定された図形を筆記したか文字を筆記したかを判別する為の距離の設定値を上回った場合、通常の文字を筆記したのではなく図形を筆記したと判断を行い、且つ、すでに記憶された筆跡データのうち、線の総距離が予め設定された移動距離の値を上回った筆跡線の検索を行い、次にその最初のペン先押下位置もしくはペン先が離れた位置にもっとも直線距離が短い筆跡データの線分の始点もしくは終点の位置座標を検索して、その直線距離が予め設定された各線の始点と終点が近傍にあるか判断する為の距離の設定値を下回っていた場合、且つ、検索された始点もしくは終点を持つ筆跡線と近傍に交差する点が無いかを判別する距離の設定値以内にその筆跡が交差する点が無い場合、最初のペン先押下位置もしくはペン先が離れた位置から検索された線の始点もしくは終点に交わるように補間する筆跡データを追加し、最初のペン先押下位置もしくはペン先が離れた位置と他の線の始点もしくは終点が結ばれた図形を表示および記憶することを特徴とする筆跡入力システム。 When the pen is writable by the user and it is necessary to acquire the position coordinates of the pen, it receives the signals transmitted from the pen equipped with the transmitter and the pen when necessary, and the position coordinates of the pen In a handwriting input system comprising a receiving device that detects the coordinates and outputs the coordinates to a computer, and a display device that displays the handwriting from the pen position coordinates from the receiving device and that stores the pen position coordinates as handwriting data, The pen tip is first pressed on the object to be written, and the total movement distance of the pen with the pen tip separated from the object to be written is calculated from the position coordinates, and it is determined whether the pre-set figure or the character has been written. If the distance exceeds the set distance, it is determined that the figure has been written instead of writing normal characters, and the total distance of the line in the stored handwritten data is preset. Travel distance Search for the handwriting line that exceeds the value of, and then search for the position coordinates of the start point or end point of the line segment of the handwriting data with the shortest straight line distance at the first pen tip pressing position or the position where the pen tip is separated If the straight line distance is less than the preset distance value for judging whether the start point and end point of each line are in the vicinity, and the handwritten line having the searched start point or end point intersects the vicinity When there is no point where the handwriting intersects within the distance setting value that determines whether there is a point, interpolation is performed so that it intersects the start point or end point of the searched line from the first pen tip pressing position or the position where the pen tip is separated A handwriting input system characterized by adding handwriting data to be displayed and displaying and storing a figure in which the first pen tip pressing position or the position where the pen tip is separated and the start point or end point of another line are connected. 利用者が筆記可能なペンであり且つ、ペンの位置座標取得の為の必要な場合に於いて発信装置を具備するペンとペンから必要な場合に発信された信号を受信し、ペンの位置座標を検出し座標を計算機に出力する受信装置と、受信装置からのペンの位置座標から筆跡を表示する表示装置を持ち、且つ、ペンの位置座標を筆跡データとして記憶する計算機を備えた筆跡入力システムにおいて、ペン先が最初に筆記対象物に押下されてから位置座標からペン先が筆記対象物から離されたペンの総移動距離を計算し、予め設定された図形を筆記したか文字を筆記したかを判別する為の距離の設定値を上回った場合、通常の文字を筆記したのではなく図形を筆記したと判断を行い、且つ、すでに記憶された他の筆跡データのうち、前記方法と同様に図形を筆記した筆跡の線を検索し、次にその最初のペン先押下位置及びペン先が離れた位置にもっとも近い筆跡の線と近接点の位置を検索して、その距離が予め設定し記憶された最初のペン先押下位置もしくはペン先が離れた位置と近接点の位置が接近していることを判別する距離の設定値を下回っていた場合、ペン先押下位置及びペン先が離れた位置からその線の近接点に交わるように補間する筆跡データを追加し、最初のペン先押下位置もしくはペン先が離れた位置と他の線の近接点が結ばれた図形を表示および記憶することを特徴とする筆跡入力システム。 When the pen is writable by the user and it is necessary to acquire the position coordinates of the pen, it receives the signals transmitted from the pen equipped with the transmitter and the pen when necessary, and the position coordinates of the pen Handwriting input system having a receiving device for detecting coordinates and outputting coordinates to a computer, a display device for displaying handwriting from pen position coordinates from the receiving device, and a computer for storing pen position coordinates as handwriting data In the above, the total movement distance of the pen where the pen tip is separated from the writing object is calculated from the position coordinates after the pen tip is first pressed on the writing object, and a preset figure is written or a character is written. If the distance exceeds the set distance to determine whether or not normal characters are written, it is determined that a figure has been written, and among other handwritten data already stored, the same as the above method Shape The handwritten handwriting line was searched, and then the handwriting line closest to the first pen tip pressing position and the pen tip separation position and the position of the proximity point were searched, and the distance was preset and stored. If it is less than the set value of the distance to determine that the initial pen tip pressing position or the position where the pen tip is separated and the position of the proximity point are close, the pen tip pressing position and the position where the pen tip is separated It is characterized by adding handwriting data to be interpolated so as to intersect with the proximity point of the line, and displaying and storing the figure where the first pen tip pressing position or the position where the pen tip is separated and the proximity point of another line are connected Handwriting input system.
JP2008218711A 2008-08-27 2008-08-27 Handwriting input system Pending JP2010055322A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008218711A JP2010055322A (en) 2008-08-27 2008-08-27 Handwriting input system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008218711A JP2010055322A (en) 2008-08-27 2008-08-27 Handwriting input system

Publications (1)

Publication Number Publication Date
JP2010055322A true JP2010055322A (en) 2010-03-11

Family

ID=42071177

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008218711A Pending JP2010055322A (en) 2008-08-27 2008-08-27 Handwriting input system

Country Status (1)

Country Link
JP (1) JP2010055322A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019159875A (en) * 2018-03-14 2019-09-19 セイコーエプソン株式会社 Scan device and scanning result display program
CN111158505A (en) * 2018-11-08 2020-05-15 鸿合科技股份有限公司 Thick-thin handwriting writing method and device and electronic equipment
CN113568514A (en) * 2021-07-28 2021-10-29 咪咕数字传媒有限公司 Writing data acquisition pen tool, handwriting processing method and equipment
CN114241090A (en) * 2021-12-31 2022-03-25 广州朗国电子科技股份有限公司 OCR-based electronic whiteboard straight line drawing method, system, equipment and medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019159875A (en) * 2018-03-14 2019-09-19 セイコーエプソン株式会社 Scan device and scanning result display program
US11288500B2 (en) 2018-03-14 2022-03-29 Seiko Epson Corporation Scan apparatus and scan result display program
CN111158505A (en) * 2018-11-08 2020-05-15 鸿合科技股份有限公司 Thick-thin handwriting writing method and device and electronic equipment
CN113568514A (en) * 2021-07-28 2021-10-29 咪咕数字传媒有限公司 Writing data acquisition pen tool, handwriting processing method and equipment
CN113568514B (en) * 2021-07-28 2024-05-07 咪咕数字传媒有限公司 Writing data acquisition pen, handwriting processing method and device
CN114241090A (en) * 2021-12-31 2022-03-25 广州朗国电子科技股份有限公司 OCR-based electronic whiteboard straight line drawing method, system, equipment and medium

Similar Documents

Publication Publication Date Title
US10241622B1 (en) Method and apparatus of position tracking and detection of user input information
KR100673005B1 (en) Input Device Having the Function of Recognizing Hybrid Coordinates and Operating Method of the Same
US9250742B1 (en) Method and apparatus of position tracking and detection of user input information
JP4534954B2 (en) Handwriting handwriting input system
KR102370364B1 (en) Method for capturing hand writing and electronic device performing the same
US11334201B2 (en) Touch pen including sensing units arranged in array and method for controlling the same, touch control device and readable storage medium
KR102487643B1 (en) Electronic pen, electronic device associated with electronic pen, method for controlling electronic device and computer-readable medium on which program for performing the method for controlling electronic device is recorded
JPWO2004097722A1 (en) Handwritten character input device and handwritten character input processing method
JP2010055322A (en) Handwriting input system
JP5440926B2 (en) Information processing system and program thereof
JP2008217179A (en) Handwriting input system
JP6952753B2 (en) Active pen position detection method and sensor controller
JP5119834B2 (en) Handwriting input system
US11586301B2 (en) Pointer position detection method and sensor controller
JP6528450B2 (en) Handwriting input device
JP2010108452A (en) Handwriting input system
JP5262761B2 (en) Handwriting input system
JP2005301652A (en) Coordinate input correction method for handwritten character input device
KR102645306B1 (en) Electronic pen, electronic device associated with electronic pen, method for controlling electronic device and computer-readable medium on which program for performing the method for controlling electronic device is recorded
JP7472262B2 (en) Pen state detection circuit with configurable input/output model
US20230394721A1 (en) Information processing apparatus, program, and system
JP2007094932A (en) Handwriting input system
JP6540223B2 (en) Handwriting input device
JP2008250581A (en) Handwriting input device
JP2022064084A (en) Touch input system