JP2016181213A - Electronic writing processing program - Google Patents

Electronic writing processing program Download PDF

Info

Publication number
JP2016181213A
JP2016181213A JP2015062273A JP2015062273A JP2016181213A JP 2016181213 A JP2016181213 A JP 2016181213A JP 2015062273 A JP2015062273 A JP 2015062273A JP 2015062273 A JP2015062273 A JP 2015062273A JP 2016181213 A JP2016181213 A JP 2016181213A
Authority
JP
Japan
Prior art keywords
stroke data
procedure
writing
data
electronic
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
JP2015062273A
Other languages
Japanese (ja)
Inventor
光浩 上田
Mitsuhiro Ueda
光浩 上田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2015062273A priority Critical patent/JP2016181213A/en
Publication of JP2016181213A publication Critical patent/JP2016181213A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Character Discrimination (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an electronic writing processing program which is improved in convenience by performing correct electronic data conversion on which an operator's intention of face coating is reflected.SOLUTION: Stroke data are received from an electronic writing device, and the received stroke data are stored, and a correction area WE entered in a paper medium 70 is detected on the basis of the stored stroke data, and when the correction area WE is detected, the stroke data as a face coating processing object among the stored stroke data are determined, and the stroke data corresponding to the stored correction area WE are subjected to shift processing in association with the position of the stroke data as the face coating processing object, and superimposed with the stoke data as the face coating processing object.SELECTED DRAWING: Figure 6

Description

本発明は、操作者が筆記した内容を電子データ化するための電子筆記処理プログラムに関する。   The present invention relates to an electronic writing processing program for converting contents written by an operator into electronic data.

従来、操作者が筆記した内容を電子データ化する電子筆記装置が知られている(例えば、特許文献1参照)。この従来技術では、ユーザが、電子筆記装置(読取装置)において、被筆記媒体(紙媒体)に対し筆記具(電子ペン)を用いて所望の記載を行うと、筆記動作により移動する筆記具の複数の位置データを含むストロークデータが生成され、操作端末(PC)へと送信される。操作端末は、上記ストロークデータを受信し、その受信したストロークデータを記憶する。   2. Description of the Related Art Conventionally, there has been known an electronic writing apparatus that converts contents written by an operator into electronic data (see, for example, Patent Document 1). In this prior art, when a user performs a desired description using a writing tool (electronic pen) on a writing medium (paper medium) in an electronic writing device (reading device), a plurality of writing tools that move by a writing operation are used. Stroke data including position data is generated and transmitted to the operation terminal (PC). The operation terminal receives the stroke data and stores the received stroke data.

特開2014−211754号公報JP 2014- 211754 A

ここで、操作者が、例えば、上記筆記具として修正具(いわゆる修正ペンや修正テープ)を用いることで被筆記媒体に既に記載した文字や図像を白色で塗りつぶしたり、上記筆記具として着色具(いわゆる蛍光ペン)を用いることでそれら文字や図像に着色したり(以下適宜、これらを総称して「上塗り」と称する)を行う場合、等がある。これら修正具や着色具は、通常のペンなどとは異なり、使用時の筆記姿勢が被筆記媒体に対し大きく傾いている場合が多い。この結果、実際の被筆記媒体上では、上塗り対象となる文字や図像に重なるように上記修正具・着色具によって正しく上塗りが行われているにも係わらず、上記のようにして取得された電子データにおいては、上塗り対象となる文字や図像のストロークデータに対し、上記修正具・着色具による上塗り部分のストロークデータが(正しく重畳せず)ずれてしまう可能性がある。   Here, for example, the operator uses a correction tool (a so-called correction pen or correction tape) as the writing tool, so that a character or image already described on the writing medium is painted in white, or a coloring tool (a so-called fluorescent tool) is used as the writing tool. In some cases, these characters or images are colored by using a pen (hereinafter, these are collectively referred to as “overcoating” where appropriate). Unlike normal pens or the like, these correction tools and coloring tools often have a writing posture that is greatly inclined with respect to the writing medium. As a result, on the actual writing medium, the electronic data obtained as described above is obtained even though the corrective / coloring tool is correctly overcoated so as to overlap the character or image to be overcoated. In the data, there is a possibility that the stroke data of the overcoat portion by the correction tool / coloring tool is shifted (not correctly superimposed) with respect to the stroke data of the character or image to be overcoated.

本発明の目的は、操作者による上塗りの意図を反映した、正しい電子データ化を行うことができ、利便性を向上することができる電子筆記処理プログラムを提供することにある。   An object of the present invention is to provide an electronic writing processing program that can perform correct electronic data reflecting the intention of overcoating by an operator and can improve convenience.

上記目的を達成するために、本願発明の電子筆記処理プログラムは、被筆記媒体に対する筆記具の移動に伴う前記筆記具の複数の位置データを含み前記筆記具による前記被筆記媒体への記載に対応したストロークデータを通信により送信する電子筆記装置に、情報送受信可能に接続された操作端末の演算手段に対し、前記電子筆記装置から前記ストロークデータを受信する受信手順と、前記受信手順で受信した前記ストロークデータを記憶する記憶手順と、前記記憶手順で記憶された前記ストロークデータに基づき、前記被筆記媒体に記入された上塗り用図像を検出する検出手順と、前記検出手順で前記上塗り用図像が検出された場合に、前記記憶手順で記憶された前記ストロークデータのうち、上塗り処理対象とする第1ストロークデータを決定する決定手順と、前記記憶手順で記憶された、前記上塗り用図像に対応する第2ストロークデータを、前記第1ストロークデータの位置に対応させてシフト処理し、当該第1ストロークデータと重畳させる第1シフト処理手順と、を実行させる。   In order to achieve the above object, the electronic writing processing program of the present invention includes a plurality of position data of the writing tool accompanying movement of the writing tool with respect to the writing medium, and stroke data corresponding to the writing on the writing medium by the writing tool. The operation procedure of the operation terminal connected to the electronic writing device that transmits information by communication, the receiving procedure for receiving the stroke data from the electronic writing device, and the stroke data received in the receiving procedure. A storage procedure to be stored; a detection procedure for detecting a topcoat image written on the writing medium based on the stroke data stored in the storage procedure; and a case in which the topcoat image is detected in the detection procedure Among the stroke data stored in the storage procedure, the first stroke data to be overcoated The determination procedure to be determined and the second stroke data stored in the storing procedure corresponding to the top-painted image are shifted in correspondence with the position of the first stroke data and superimposed on the first stroke data. The first shift processing procedure is executed.

本願発明においては、操作者が筆記具を用いて筆記した内容を電子データ化することができる。すなわち、操作者が、電子筆記装置において、所定の紙媒体等からなる被筆記媒体に対し筆記具を用いて所望の記載を行うと、筆記動作により移動する筆記具の複数の位置データを含むストロークデータが生成され、操作端末へと送信される。操作端末は、演算手段において電子筆記処理プログラムが実行されることで、上記ストロークデータを受信し(受信手順)、適宜の記憶手段に記憶される(記憶手順)。   In the present invention, the contents written by the operator using the writing instrument can be converted into electronic data. That is, when an operator performs a desired description using a writing tool on a writing medium made of a predetermined paper medium or the like in an electronic writing device, stroke data including a plurality of position data of the writing tool that is moved by the writing operation is obtained. It is generated and transmitted to the operation terminal. The operation terminal receives the stroke data (reception procedure) and stores the stroke data in an appropriate storage unit (storage procedure) when the electronic writing processing program is executed in the calculation unit.

ここで、操作者が、例えば、上記筆記具として修正具(いわゆる修正ペンや修正テープ)を用いることで被筆記媒体に既に記載した文字や図像を白色で塗りつぶしたり、上記筆記具として着色具(いわゆる蛍光ペン)を用いることでそれら文字や図像に着色したり(以下適宜、これらを総称して「上塗り」と称する)を行う場合、等がある。これら修正具や着色具は、通常のペンなどとは異なり、使用時の筆記姿勢が被筆記媒体に対し大きく傾いている場合が多い。この結果、実際の被筆記媒体上では、上塗り対象となる文字や図像に重なるように上記修正具・着色具によって正しく上塗りが行われているにも係わらず、上記のようにして取得された電子データにおいては、上塗り対象となる文字や図像のストロークデータに対し、上記修正具・着色具による上塗り部分のストロークデータが(正しく重畳せず)ずれてしまう可能性がある。   Here, for example, the operator uses a correction tool (a so-called correction pen or correction tape) as the writing tool, so that a character or image already described on the writing medium is painted in white, or a coloring tool (a so-called fluorescent tool) is used as the writing tool. In some cases, these characters or images are colored by using a pen (hereinafter, these are collectively referred to as “overcoating” where appropriate). Unlike normal pens or the like, these correction tools and coloring tools often have a writing posture that is greatly inclined with respect to the writing medium. As a result, on the actual writing medium, the electronic data obtained as described above is obtained even though the corrective / coloring tool is correctly overcoated so as to overlap the character or image to be overcoated. In the data, there is a possibility that the stroke data of the overcoat portion by the correction tool / coloring tool is shifted (not correctly superimposed) with respect to the stroke data of the character or image to be overcoated.

本願発明においては、上記に対応するために、まず、上記記憶されたストロークデータに基づき、被筆記媒体に記入された上塗り用図像(例えば上記修正具による白色ベタ塗りの帯状領域や、上記着色具による透過性の帯状着色領域)が検出される(検出手順)。そして、上記上塗り用図像が検出されたら、前述の記憶されたストロークデータのうち上塗り処理の対象とするストロークデータ(第1ストロークデータ)が決定される(決定手順)。このとき、上記した理由により、電子データ上では、上記上塗り用図像に対応したストロークデータ(第2ストロークデータ)と上記第1ストロークデータとの間には位置ずれが生じている。そこで、第1シフト処理手順で、上塗り用図像に対応する上記第2ストロークデータを、上記第1ストロークデータの位置に対応させてシフト処理し、当該第1ストロークデータと重畳させる。   In the present invention, in order to deal with the above, first, based on the stored stroke data, an overprint image (for example, a white solid-coated belt-shaped region by the correction tool or the coloring tool described above) written on the writing medium. Is detected (detection procedure). When the top coating image is detected, stroke data (first stroke data) to be subjected to top coating processing is determined from the stored stroke data (determination procedure). At this time, for the reasons described above, in the electronic data, there is a positional deviation between the stroke data (second stroke data) corresponding to the overpainting image and the first stroke data. Therefore, in the first shift processing procedure, the second stroke data corresponding to the top coating image is shifted in correspondence with the position of the first stroke data, and is superimposed on the first stroke data.

これにより、上記の位置ずれが解消され、電子データ上においても、上塗り用図像の第2ストロークデータと、その上塗り対象の文字・図像の第1ストロークデータとを、重畳させることができる。この結果、操作者による上記白色塗りつぶしによる修正や透過性の着色の意図を反映した、正しい電子データ化を行うことができるので、利便性を向上することができる。   As a result, the above-described positional deviation is eliminated, and the second stroke data of the overpainting image and the first stroke data of the character / graphic image to be overcoated can be superimposed on the electronic data. As a result, it is possible to perform correct electronic data reflecting the intention of the operator to correct by the white paint or the transparent coloring, so that the convenience can be improved.

本発明によれば、操作者による上塗りの意図を反映した、正しい電子データ化を行うことができ、利便性を向上することができる。   According to the present invention, correct electronic data reflecting the intention of overcoating by the operator can be performed, and convenience can be improved.

本発明の一実施形態の手書き入力システムの概略構成を表すシステム構成図である。It is a system configuration figure showing a schematic structure of a handwriting input system of one embodiment of the present invention. 電子筆記装置の電気的構成を表すブロック図である。It is a block diagram showing the electric constitution of an electronic writing apparatus. ストロークデータについて説明するための説明図である。It is explanatory drawing for demonstrating stroke data. ストロークデータについて説明するための説明図である。It is explanatory drawing for demonstrating stroke data. 操作端末の電気的構成を表すブロック図である。It is a block diagram showing the electric constitution of an operation terminal. 操作者が電子筆記具を用いて載置部上の紙媒体に対し筆記した内容を電子データ化する流れの例を説明するための説明図である。It is explanatory drawing for demonstrating the example of the flow which makes the electronic data the content which the operator wrote with respect to the paper medium on a mounting part using an electronic writing instrument. 修正領域のストロークデータの位置が修正対象とする文字等のストロークデータの位置に対しずれた状態で画像データ化される場合の例を説明するための説明図である。It is explanatory drawing for demonstrating the example in the case of making into image data in the state which shifted | deviated with respect to the position of stroke data, such as the character etc. which are correction object, the position of the stroke data of a correction area | region. シフト量を算出する算出処理の内容について説明するための説明図である。It is explanatory drawing for demonstrating the content of the calculation process which calculates shift amount. シフト処理の内容について説明するための説明図である。It is explanatory drawing for demonstrating the content of the shift process. 操作端末のCPUが実行する制御手順を表すフローチャートである。It is a flowchart showing the control procedure which CPU of an operating terminal performs. 手動操作によりシフト処理させる変形例における、操作端末のCPUが実行する制御手順を表すフローチャートである。It is a flowchart showing the control procedure which CPU of an operating terminal performs in the modification which carries out shift processing by manual operation. 事前設定されたシフト量を用いてシフト処理を行う変形例における、操作端末のCPUが実行する制御手順を表すフローチャートである。It is a flowchart showing the control procedure which CPU of an operating terminal performs in the modification which performs a shift process using the preset shift amount. 紙媒体上での消し残し部分の消去処理を行う変形例における、操作端末のCPUが実行する制御手順を表すフローチャートである。It is a flowchart showing the control procedure which CPU of an operating terminal performs in the modification which performs the deletion process of the unerased part on a paper medium.

以下、本発明の一実施形態について図面を参照しつつ説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

<システム概略構成>
まず、図1を参照しつつ、本実施形態の手書き入力システムの概略構成について説明する。なお、以下の説明では、図1の紙面の上側、下側、右側、左側、手前側、奥行き側を、それぞれ、電子筆記装置の上側、下側、右側、左側、手前側、奥行き側と定義して説明する。
<System outline configuration>
First, the schematic configuration of the handwriting input system of the present embodiment will be described with reference to FIG. In the following description, the upper side, lower side, right side, left side, near side, and depth side of the paper surface of FIG. 1 are defined as the upper side, lower side, right side, left side, near side, and depth side of the electronic writing device, respectively. To explain.

図1に示すように、手書き入力システム1は、電子筆記装置2と、電子ペン3と、いわゆるテープ転写型の修正具である電子修正テープ5と、操作端末4とを備える。なお、電子ペン3及び電子修正テープ5は、各請求項記載の筆記具に相当する。以下適宜、電子ペン3及び電子修正テープ5を「電子筆記具W」と総称する。電子筆記装置2及び操作端末4は、無線又は有線通信により情報送受信可能に接続されている。   As shown in FIG. 1, the handwriting input system 1 includes an electronic writing device 2, an electronic pen 3, an electronic correction tape 5 that is a so-called tape transfer type correction tool, and an operation terminal 4. The electronic pen 3 and the electronic correction tape 5 correspond to the writing instrument described in each claim. Hereinafter, as appropriate, the electronic pen 3 and the electronic correction tape 5 are collectively referred to as an “electronic writing instrument W”. The electronic writing device 2 and the operation terminal 4 are connected so that information can be transmitted and received by wireless or wired communication.

<電子筆記装置>
電子筆記装置2は、平面視で上下方向に長い薄型の直方体状の形状を備える。この電子筆記装置2の右上部には、種々の情報を表示可能な小型の表示部21が設けられている。表示部21の左側には、操作者が電子筆記装置2を操作するための入力部22が設けられている。これら表示部21及び入力部22の下側には、電子筆記装置2の手前側の大部分を占めるように、凹部形状の載置部24が設けられている。載置部24には、当該載置部24とほぼ同一の範囲となるように、座標検出部25が設けられている。座標検出部25は、電子筆記具Wの位置を座標(例えば載置部24の左上部を原点(0,0)とする座標)により表す座標データ(位置データに相当。詳細は後述)を検出する。また、載置部24には、紙媒体70(被筆記媒体に相当。後述の図6(a)等参照)が載置される。このとき、載置部24は、紙媒体70を、当該紙媒体70の左上隅部が上記原点に一致する姿勢で保持する。
<Electronic writing device>
The electronic writing device 2 has a thin rectangular parallelepiped shape that is long in the vertical direction in plan view. A small display unit 21 capable of displaying various information is provided at the upper right part of the electronic writing apparatus 2. On the left side of the display unit 21, an input unit 22 for an operator to operate the electronic writing apparatus 2 is provided. Below these display unit 21 and input unit 22, a concave-shaped mounting unit 24 is provided so as to occupy most of the front side of the electronic writing apparatus 2. The placement unit 24 is provided with a coordinate detection unit 25 so as to be in the same range as the placement unit 24. The coordinate detection unit 25 detects coordinate data (corresponding to position data; details will be described later) representing the position of the electronic writing instrument W by coordinates (for example, a coordinate having the upper left portion of the placement unit 24 as an origin (0, 0)). . In addition, a paper medium 70 (corresponding to a writing medium; see FIG. 6A and the like described later) is placed on the placement unit 24. At this time, the placement unit 24 holds the paper medium 70 in a posture in which the upper left corner of the paper medium 70 matches the origin.

<電子ペン>
電子ペン3は、いわゆる電磁誘導式のペンであり、その先端部の内部に設けられた金属製の芯37と、検出スイッチ33と、ボタン型の電池34と、コイル35と、基板36とを備える。芯37は、外部に突出したペン先31と、インク収納部32とにより構成されている。インク収納部32には、インクが収納されており、インクは、ペン先31に供給される。これにより、操作者は、電子ペン3を用いて紙媒体70に対し所望の文字や図像(以下適宜「文字等」と省略する)を目視可能に記載することができる。なお、以下の説明では、電子ペン3において、ペン先31が設けられている方向を先端方向、先端方向の反対方向を後端方向という。
<Electronic pen>
The electronic pen 3 is a so-called electromagnetic induction pen, and includes a metal core 37, a detection switch 33, a button-type battery 34, a coil 35, and a substrate 36 provided inside the tip. Prepare. The core 37 includes a pen tip 31 that protrudes to the outside and an ink storage portion 32. Ink is stored in the ink storage portion 32, and the ink is supplied to the pen tip 31. Thereby, the operator can visually describe a desired character or image (hereinafter abbreviated as “character etc.” as appropriate) on the paper medium 70 using the electronic pen 3. In the following description, in the electronic pen 3, the direction in which the pen tip 31 is provided is referred to as the front end direction, and the direction opposite to the front end direction is referred to as the rear end direction.

芯37の後端方向には、上記基板36が設けられている。基板36の先端部には、上記検出スイッチ33が実装されている。検出スイッチ33は、基板36上の配線を介して上記コイル35に電気的に接続されている。コイル35は、電子ペン3の内部の先端部において芯37の周囲に巻回されている。また、基板36の後端方向には、上記電池34が設けられている。電池34は、基板36に接続されている。電池34のマイナス側の電極は、基板36上の配線を介してコイル35に電気的に接続され、プラス側の電極は、基板36上の配線を介して検出スイッチ33に電気的に接続されている。   The substrate 36 is provided in the rear end direction of the core 37. The detection switch 33 is mounted on the tip of the substrate 36. The detection switch 33 is electrically connected to the coil 35 via a wiring on the substrate 36. The coil 35 is wound around the core 37 at the tip end inside the electronic pen 3. The battery 34 is provided in the rear end direction of the substrate 36. The battery 34 is connected to the substrate 36. The negative electrode of the battery 34 is electrically connected to the coil 35 via a wiring on the substrate 36, and the positive electrode is electrically connected to the detection switch 33 via a wiring on the substrate 36. Yes.

ここで、芯37は、弾性部材(図示せず)により常に先端方向に付勢されている。芯37は、操作者が電子ペン3を用いて紙媒体70に対し文字等を記載するときの押圧力により、上記弾性部材の付勢力に抗して電子ペン3の内部にやや退入する。この退入により、芯37の後端部が検出スイッチ33を押下し、検出スイッチ33がオン状態となる。これにより、電池34とコイル35とが導通して電池34からコイル35に向けて電流が流れ、コイル35に電流が流れることで所定の周波数(以下適宜「第1周波数」という)の磁界が発生する。コイル35から発生する第1周波数の磁界は、電磁誘導に基づき上記座標検出部25により検出される。   Here, the core 37 is always urged in the distal direction by an elastic member (not shown). The core 37 is slightly retracted into the electronic pen 3 against the urging force of the elastic member by the pressing force when the operator writes characters or the like on the paper medium 70 using the electronic pen 3. By this retreat, the rear end portion of the lead 37 presses the detection switch 33, and the detection switch 33 is turned on. As a result, the battery 34 and the coil 35 are brought into conduction, current flows from the battery 34 toward the coil 35, and a current flows through the coil 35, thereby generating a magnetic field having a predetermined frequency (hereinafter referred to as “first frequency” as appropriate). To do. The first frequency magnetic field generated from the coil 35 is detected by the coordinate detection unit 25 based on electromagnetic induction.

<電子修正テープ>
電子修正テープ5は、いわゆる電磁誘導式の修正テープであり、紙媒体70に記載済みの文字等を修正するための白色の修正剤52aを備えたテープ52を巻回したテープロール(図示せず)と、外部に突出したヘッド51と、コイル53とを備える。テープロールから繰り出されたテープ52は、ヘッド51に供給される。これにより、操作者は、電子修正テープ5を用いて、紙媒体70に記載済みの文字等のうち修正対象とする文字等に対応する、紙媒体70上の部分に、ヘッド51を介して修正剤52aを加圧転写し、白色ベタ塗りの帯状領域である修正領域WE(上塗り用図像に相当。後述の図3等参照)を記入することで、修正対象とする文字等を白色上塗りする(白色で塗りつぶす)ことができる。
<Electronic correction tape>
The electronic correction tape 5 is a so-called electromagnetic induction type correction tape, and is a tape roll (not shown) around which a tape 52 including a white correction agent 52a for correcting characters or the like already described on the paper medium 70 is wound. ), A head 51 protruding outside, and a coil 53. The tape 52 fed out from the tape roll is supplied to the head 51. Thus, the operator uses the electronic correction tape 5 to correct the portion on the paper medium 70 corresponding to the character to be corrected among the characters already described on the paper medium 70 via the head 51. The agent 52a is pressure-transferred, and a correction area WE (corresponding to an image for overcoating, see FIG. 3 and the like described later), which is a white solid-coated belt-like area, is entered, so that the characters to be corrected are overcoated in white ( Can be painted in white).

テープロールは、操作者が電子修正テープ5を用いて修正対象とする文字等を白色上塗りするときの加圧移動操作による駆動力により、テープ52を繰り出しつつ回転する。この回転が検出センサ(図示せず)により検出されると、電池(図示せず)からコイル53に向けて電流が流れ、コイル53に電流が流れることで上記第1周波数とは異なる周波数(以下適宜「第2周波数」という)の磁界が発生する。コイル53から発生する第2周波数の磁界は、電磁誘導に基づき上記座標検出部25により検出される。   The tape roll rotates while feeding out the tape 52 by the driving force generated by the pressurizing and moving operation when the operator uses the electronic correction tape 5 to apply characters or the like to be corrected on white. When this rotation is detected by a detection sensor (not shown), a current flows from a battery (not shown) toward the coil 53, and a current different from the first frequency (hereinafter referred to as the first frequency) flows through the coil 53. A magnetic field of “second frequency” is generated as appropriate. The second frequency magnetic field generated from the coil 53 is detected by the coordinate detection unit 25 based on electromagnetic induction.

<電子筆記具Wの座標データの検出>
上記座標検出部25は、上記のようにして電子筆記具Wのコイルから発生する磁界を電磁誘導に基づき検出する。なお、この検出は公知の手法で足りるので、詳細な説明は省略する。この座標検出部25の検出結果に基づき、電子筆記装置2のCPU201(後述の図2参照)が、操作者が電子筆記具Wを用いて上記載置部24上の紙媒体70へ筆記動作を行ったときの紙媒体70に対する電子筆記具Wの移動に伴う、電子筆記具Wの経時的かつ離散的な複数の座標データを一定間隔(例えば10[ms]間隔)で取得する。本実施形態では、載置部24の左上部の座標(X,Y)を原点(0,0)とし、右方向をX軸、下方向をY軸とする座標系を用いる。すなわち、X座標の値が載置部24における左右方向の位置、Y座標の値が載置部24における上下方向の位置を表す。
<Detection of coordinate data of electronic writing instrument W>
The coordinate detection unit 25 detects the magnetic field generated from the coil of the electronic writing instrument W based on electromagnetic induction as described above. Since this detection is sufficient by a known method, detailed description is omitted. Based on the detection result of the coordinate detection unit 25, the CPU 201 of the electronic writing device 2 (see FIG. 2 described later) performs a writing operation on the paper medium 70 on the placement unit 24 using the electronic writing tool W by the operator. A plurality of time-dependent and discrete coordinate data of the electronic writing instrument W accompanying the movement of the electronic writing instrument W with respect to the paper medium 70 at this time is acquired at regular intervals (for example, 10 [ms] intervals). In the present embodiment, a coordinate system is used in which the upper left coordinate (X, Y) of the placement unit 24 is the origin (0, 0), the right direction is the X axis, and the lower direction is the Y axis. That is, the value of the X coordinate represents the position in the left-right direction on the placement unit 24, and the value of the Y coordinate represents the position in the vertical direction on the placement unit 24.

そして、上記のようにして取得した複数の座標データに基づき、CPU201が、電子筆記具Wによる紙媒体70への記載内容に対応したストロークデータ(詳細は後述)を生成し、通信により操作端末4へ送信する。   Then, based on the plurality of coordinate data acquired as described above, the CPU 201 generates stroke data (details will be described later) corresponding to the contents written on the paper medium 70 by the electronic writing instrument W, and communicates to the operation terminal 4 by communication. Send.

<操作端末>
操作端末4としては、例えばデスクトップPC、ノートPC、タブレットPC、携帯電話・PHS(いわゆるスマートフォンを含む)等が使用可能である。あるいは、操作端末4として、電子筆記装置2専用の操作端末が使用されてもよい。
<Operation terminal>
As the operation terminal 4, for example, a desktop PC, a notebook PC, a tablet PC, a mobile phone / PHS (including a so-called smartphone), or the like can be used. Alternatively, an operation terminal dedicated to the electronic writing device 2 may be used as the operation terminal 4.

<電子筆記装置の電気的構成>
次に、図2を参照しつつ、電子筆記装置2の電気的構成について説明する。
<Electrical configuration of electronic writing device>
Next, the electrical configuration of the electronic writing apparatus 2 will be described with reference to FIG.

図2に示すように、電子筆記装置2は、CPU201と、ROM202と、種々のデータを一時的に記憶するRAM203と、フラッシュメモリ204と、上記入力部22と、上記表示部21を駆動する駆動回路206と、上記座標検出部25を駆動する駆動回路209と、時刻を検出するタイマー部210と、上記操作端末4との情報送受信の制御を行う通信制御部207とを備える。   As shown in FIG. 2, the electronic writing apparatus 2 includes a CPU 201, a ROM 202, a RAM 203 that temporarily stores various data, a flash memory 204, a drive that drives the input unit 22, and the display unit 21. A circuit 206, a drive circuit 209 that drives the coordinate detection unit 25, a timer unit 210 that detects time, and a communication control unit 207 that controls transmission and reception of information with the operation terminal 4 are provided.

CPU201は、ROM202、RAM203、フラッシュメモリ204、入力部22、駆動回路206,209、タイマー部210、及び通信制御部207と電気的に接続されている。   The CPU 201 is electrically connected to the ROM 202, RAM 203, flash memory 204, input unit 22, drive circuits 206 and 209, timer unit 210, and communication control unit 207.

ROM202は、プログラム記憶領域2021と、画像データ記憶領域2023とを備える。プログラム記憶領域2021には、CPU201が電子筆記装置2を制御するために実行する各種プログラムが記憶されている。画像データ記憶領域2023には、紙媒体70のフォーマット情報に対応した画像データが記憶されている。   The ROM 202 includes a program storage area 2021 and an image data storage area 2023. The program storage area 2021 stores various programs that the CPU 201 executes to control the electronic writing apparatus 2. In the image data storage area 2023, image data corresponding to the format information of the paper medium 70 is stored.

フラッシュメモリ204は、座標データ記憶領域2041を備える。座標データ記憶領域2041には、座標検出部25の検出結果に基づきCPU201が取得した上記複数の座標データが順次記憶される。本実施形態では、各座標データは、座標検出部25の検出結果に基づきCPU201が取得した、当該座標データに係る磁界の周波数の値に対し予め関連付けられた、電子筆記具Wの種類を表す識別情報である筆記具IDと、当該座標データの取得時刻としてCPU201がタイマー部210から取得した時刻データとに対応付けられ、筆記関連データとして記憶される。なお、この例では、第1周波数(電子ペン3)に対応した筆記具IDを「ID1」、第2周波数(電子修正テープ5)に対応した筆記具IDを「ID2」とする。   The flash memory 204 includes a coordinate data storage area 2041. The coordinate data storage area 2041 sequentially stores the plurality of coordinate data acquired by the CPU 201 based on the detection result of the coordinate detection unit 25. In the present embodiment, each coordinate data is identification information representing the type of the electronic writing instrument W, which is obtained in advance by the CPU 201 based on the detection result of the coordinate detection unit 25 and is associated in advance with the frequency value of the magnetic field related to the coordinate data. Is associated with the time data acquired from the timer unit 210 as the acquisition time of the coordinate data and stored as writing related data. In this example, the writing instrument ID corresponding to the first frequency (electronic pen 3) is “ID1”, and the writing instrument ID corresponding to the second frequency (electronic correction tape 5) is “ID2”.

RAM203には、座標データ記憶領域2041に記憶された複数の筆記関連データ(座標データ、筆記具ID、及び時刻データからなるデータ)に基づきCPU201が生成した上記ストロークデータが一時的に記憶される。   The RAM 203 temporarily stores the stroke data generated by the CPU 201 based on a plurality of writing related data (data including coordinate data, writing tool ID, and time data) stored in the coordinate data storage area 2041.

CPU201は、RAM203に記憶されたストロークデータを、通信制御部207を介して操作端末4へ送信する。   The CPU 201 transmits the stroke data stored in the RAM 203 to the operation terminal 4 via the communication control unit 207.

<ストロークデータ>
次に、図3及び図4を参照しつつ、ストロークデータについて説明する。
<Stroke data>
Next, stroke data will be described with reference to FIGS.

図3及び図4において、ストロークデータは、上記複数の筆記関連データからなるデータ列である。図3及び図4には、電子ペン3により紙媒体70に記載された2つの文字「a」「b」と、電子修正テープ5により紙媒体70上の当該2つの文字「a」「b」の部分に記入された上記修正領域WEとの例、及び、それらの記載に対応したストロークデータの例を示している。   3 and 4, the stroke data is a data string composed of the plurality of writing related data. 3 and 4, the two characters “a” and “b” written on the paper medium 70 by the electronic pen 3 and the two characters “a” and “b” on the paper medium 70 by the electronic correction tape 5 are shown. An example of the correction area WE written in the part and an example of stroke data corresponding to the description are shown.

図3及び図4に示すように、ストロークデータ1は、電子ペン3による文字「a」の書き始めから書き終わりまでの一筆書き部分の軌跡を表すストロークデータであり、この例では、時系列に沿って、位置番号T1,T2,・・,T11それぞれに対応した、11個の筆記関連データを含む。すなわち、ストロークデータ1は、位置番号T1に対応した、座標データ(X1,Y1)、筆記具ID「ID1」、及び時刻データ「t1」からなる筆記関連データ、位置番号T2に対応した、座標データ(X2,Y2)、筆記具ID「ID1」、及び時刻データ「t2」からなる筆記関連データ、・・、位置番号T11に対応した、座標データ(X11,Y11)、筆記具ID「ID1」、及び時刻データ「t11」からなる筆記関連データを含む。   As shown in FIGS. 3 and 4, the stroke data 1 is stroke data representing a locus of a single stroke writing portion from the start of writing of the character “a” by the electronic pen 3 to the end of writing. In this example, the stroke data 1 is time-sequentially. In addition, 11 writing-related data corresponding to the position numbers T1, T2,. That is, the stroke data 1 is coordinate data (X1, Y1) corresponding to the position number T1, writing-related data consisting of the writing tool ID “ID1”, and time data “t1”, and coordinate data (corresponding to the position number T2 ( X2, Y2), writing-related data consisting of writing tool ID “ID1” and time data “t2”,..., Coordinate data (X11, Y11), writing tool ID “ID1” and time data corresponding to position number T11 The writing related data consisting of “t11” is included.

また、ストロークデータ2は、電子ペン3による文字「b」の書き始めから書き終わりまでの一筆書き部分の軌跡を表すストロークデータであり、この例では、時系列に沿って、位置番号T12,T13,・・,T21それぞれに対応した、10個の筆記関連データを含む。すなわち、ストロークデータ2は、位置番号T12に対応した、座標データ(X12,Y12)、筆記具ID「ID1」、及び時刻データ「t12」からなる筆記関連データ、位置番号T13に対応した、座標データ(X13,Y13)、筆記具ID「ID1」、及び時刻データ「t13」からなる筆記関連データ、・・、位置番号T21に対応した、座標データ(X21,Y21)、筆記具ID「ID1」、及び時刻データ「t21」からなる筆記関連データを含む。   The stroke data 2 is stroke data representing the trajectory of one stroke writing portion from the start of writing of the character “b” to the end of writing with the electronic pen 3. In this example, the position numbers T12 and T13 are arranged in time series. ,... Includes 10 writing-related data corresponding to T21. That is, the stroke data 2 is coordinate data (X12, Y12) corresponding to the position number T12, writing related data consisting of the writing tool ID “ID1”, and time data “t12”, and coordinate data (corresponding to the position number T13). X13, Y13), writing-related data consisting of writing tool ID “ID1” and time data “t13”,..., Coordinate data (X21, Y21), writing tool ID “ID1”, and time data corresponding to position number T21 The writing related data consisting of “t21” is included.

また、ストロークデータ3は、電子修正テープ5による上記修正領域WEの書き始めから書き終わりまでの一筆書き部分の軌跡を表すストロークデータであり、この例では、時系列に沿って、位置番号T22,T23,・・,T29それぞれに対応した、8個の筆記関連データを含む。すなわち、ストロークデータ3は、位置番号T22に対応した、座標データ(X22,Y22)、筆記具ID「ID2」、及び時刻データ「t22」からなる筆記関連データ、位置番号T23に対応した、座標データ(X23,Y23)、筆記具ID「ID2」、及び時刻データ「t23」からなる筆記関連データ、・・、位置番号T29に対応した、座標データ(X29,Y29)、筆記具ID「ID2」、及び時刻データ「t29」からなる筆記関連データを含む。   The stroke data 3 is stroke data representing the locus of a one-stroke portion from the beginning to the end of writing of the correction area WE on the electronic correction tape 5. In this example, the position numbers T22, Eight writing related data corresponding to T23,..., T29 are included. That is, the stroke data 3 is coordinate data (X22, Y22) corresponding to the position number T22, writing-related data consisting of the writing tool ID “ID2” and time data “t22”, and coordinate data (corresponding to the position number T23). X23, Y23), writing tool ID “ID2” and time data “t23”, writing related data,..., Coordinate data (X29, Y29), writing tool ID “ID2”, and time data corresponding to position number T29 It includes writing related data consisting of “t29”.

<操作端末の電気的構成>
次に、図5を参照しつつ、操作端末4の電気的構成について説明する。
<Electrical configuration of operation terminal>
Next, the electrical configuration of the operation terminal 4 will be described with reference to FIG.

図5に示すように、操作端末4は、CPU401(演算手段に相当)と、ROM402と、種々のデータを一時的に記憶するRAM403と、メモリ404と、操作者が当該操作端末4を操作するための操作部405と、種々の情報を表示可能な表示部406と、上記電子筆記装置2との情報送受信の制御を行う通信制御部407とを備える。   As illustrated in FIG. 5, the operation terminal 4 includes a CPU 401 (corresponding to a calculation unit), a ROM 402, a RAM 403 that temporarily stores various data, a memory 404, and an operator who operates the operation terminal 4. A display unit 406 that can display various information, and a communication control unit 407 that controls transmission and reception of information with the electronic writing apparatus 2.

CPU401は、ROM402、RAM403、メモリ404、操作部405、表示部406、及び通信制御部407と電気的に接続されている。   The CPU 401 is electrically connected to the ROM 402, RAM 403, memory 404, operation unit 405, display unit 406, and communication control unit 407.

ROM402には、CPU401が操作端末4を制御するために実行する各種プログラムが記憶されている。   The ROM 402 stores various programs that are executed by the CPU 401 to control the operation terminal 4.

メモリ404には、CPU401が操作端末4を制御するために実行する各種プログラム(CPU401に対し後述の図10に示すフローチャートやルーチンの各手順を実行させるための電子筆記処理プログラムを含む)が記憶されている。このとき、操作端末4の媒体読取部(図示せず)が記憶媒体(図示せず)に記憶された電子筆記処理プログラムを読み取ることで、その読み取られた電子筆記処理プログラムがメモリ404にインストールされてもよい。あるいは、CPU401が操作端末4と情報送受信可能に接続された外部装置(図示せず)から通信制御部407を介して電子筆記処理プログラムを受信することで、その受信された電子筆記処理プログラムがメモリ404にインストールされてもよい。なお、電子筆記処理プログラムは、ROM402に予め記憶されていてもよい。   The memory 404 stores various programs (including an electronic writing processing program for causing the CPU 401 to execute a flowchart and a routine shown in FIG. 10 described later) that the CPU 401 executes to control the operation terminal 4. ing. At this time, when the medium reading unit (not shown) of the operation terminal 4 reads the electronic writing processing program stored in the storage medium (not shown), the read electronic writing processing program is installed in the memory 404. May be. Alternatively, the CPU 401 receives an electronic writing processing program from an external device (not shown) connected to the operation terminal 4 so as to be able to transmit and receive information via the communication control unit 407, so that the received electronic writing processing program is stored in the memory. 404 may be installed. Note that the electronic writing processing program may be stored in the ROM 402 in advance.

CPU401は、電子筆記装置2が送信したストロークデータを、通信制御部407を介して受信する。RAM403には、CPU401が受信したストロークデータが記憶される。なお、CPU401が受信したストロークデータは、メモリ404に記憶されてもよい。また、CPU401は、RAM403に記憶されたストロークデータに基づき、各ストロークデータに係る複数の座標データの示す複数の位置間に、各ストロークデータに係る筆記具IDに対し予め関連付けられた線の太さ(幅)で、線を描画して画像化し、上記修正領域WEに対応したストロークデータ(第2ストロークデータに相当)により位置が重畳された部分の、当該ストロークデータよりも時間的に前のストロークデータを消去処理(詳細は後述)して、紙媒体70上の記載内容に対応した画像データを生成し、表示部406に表示する。   The CPU 401 receives the stroke data transmitted by the electronic writing device 2 via the communication control unit 407. The RAM 403 stores stroke data received by the CPU 401. Note that the stroke data received by the CPU 401 may be stored in the memory 404. Further, the CPU 401, based on the stroke data stored in the RAM 403, between the plurality of positions indicated by the plurality of coordinate data related to each stroke data, the thickness of the line previously associated with the writing tool ID related to each stroke data ( Stroke data that is temporally earlier than the stroke data of a portion in which a line is drawn and imaged with a width) and the position is superimposed by stroke data corresponding to the correction area WE (corresponding to second stroke data) Is deleted (details will be described later) to generate image data corresponding to the description on the paper medium 70 and display it on the display unit 406.

<電子データ化の流れ>
上記基本構成において、操作者が電子筆記具Wを用いて上記載置部24上の紙媒体70に対し筆記した内容を電子データ化する流れの例について、図6(a)〜(c)を参照しつつ説明する。
<Flow of electronic data conversion>
6A to 6C for an example of the flow of converting the contents written on the paper medium 70 on the placement unit 24 into electronic data by the operator using the electronic writing instrument W in the basic configuration. However, it will be explained.

図6(a)に、操作者が電子ペン3を用いて紙媒体70に対し所望の文字等を記載した場合の例を示す。   FIG. 6A shows an example where the operator has written desired characters on the paper medium 70 using the electronic pen 3.

図6(a)に示す例では、操作者は、電子ペン3を用いて紙媒体70の上段に一群の文字列「1、あいう」を左横書きで記載し、その下段に一群の文字列「2、ABC」を左横書きで記載している。なお、左横書きとは、筆記方向を左から右へ向かう横方向とする書き方である。上記記載を行うときに電子ペン3のコイル35から発生した磁界は、上記座標検出部25により検出される。そして、上記記載を行うときの電子ペン3の各位置に対応した座標データは、筆記具ID「ID1」と時刻データとに対応付けられ、筆記関連データとして、上記座標データ記憶領域2041に順次記憶される。   In the example shown in FIG. 6A, the operator uses the electronic pen 3 to write a group of character strings “1, Ah” in the upper left of the paper medium 70 and write a group of character strings “ 2, ABC "is written in the left horizontal writing. Note that the left horizontal writing is a writing method in which the writing direction is a horizontal direction from left to right. The magnetic field generated from the coil 35 of the electronic pen 3 when performing the above description is detected by the coordinate detection unit 25. Then, the coordinate data corresponding to each position of the electronic pen 3 when performing the above description is associated with the writing tool ID “ID1” and the time data, and is sequentially stored in the coordinate data storage area 2041 as writing related data. The

図6(b)に、操作者が電子修正テープ5を用いて紙媒体70に記載済みの文字等を白色上塗りした場合の例を示す。   FIG. 6B shows an example in which the operator uses the electronic correction tape 5 to coat characters and the like already written on the paper medium 70 with white.

図6(b)に示す例では、操作者は、電子修正テープ5を用いて、上記図6(a)に示す状態の紙媒体70の上段に記載された一群の文字列「1、あいう」のうち後半の文字列「あいう」に対応する、紙媒体70上の部分に、上記修正領域WEを左横書きで記入して、文字列「あいう」を白色上塗りしている。この記載を行うときに電子修正テープ5のコイル53から発生した磁界は、上記座標検出部25により検出される。そして、上記記載を行うときの電子修正テープ5の各位置に対応した座標データは、筆記具ID「ID2」と時刻データとに対応付けられ、筆記関連データとして、上記座標データ記憶領域2041に順次記憶される。   In the example shown in FIG. 6B, the operator uses the electronic correction tape 5 and the group of character strings “1, say” described in the upper part of the paper medium 70 in the state shown in FIG. The correction area WE is written in the left horizontal writing in the portion on the paper medium 70 corresponding to the latter half character string “A”, and the character string “A” is overcoated with white. The magnetic field generated from the coil 53 of the electronic correction tape 5 when performing this description is detected by the coordinate detection unit 25. Then, the coordinate data corresponding to each position of the electronic correction tape 5 at the time of the above description is associated with the writing tool ID “ID2” and the time data, and sequentially stored in the coordinate data storage area 2041 as writing related data. Is done.

図6(c)に、操作者が電子ペン3を用いて紙媒体70上の修正領域WEによる白色上塗り部分に対し所望の文字等を記載した場合の例を示す。   FIG. 6C shows an example in which the operator uses the electronic pen 3 to write desired characters or the like on the white topcoat portion of the correction area WE on the paper medium 70.

図6(c)に示す例では、操作者は、電子ペン3を用いて、上記図6(b)に示す状態の紙媒体70上の白色上塗り部分に文字列「かきく」を左横書きで記載している。この記載を行うときに電子ペン3のコイル35から発生した磁界は、上記座標検出部25により検出される。そして、上記記載を行うときの電子ペン3の各位置に対応した座標データは、筆記具ID「ID1」と時刻データとに対応付けられ、筆記関連データとして、上記座標データ記憶領域2041に順次記憶される。   In the example shown in FIG. 6C, the operator uses the electronic pen 3 to write the character string “Kakiku” on the white top coat portion on the paper medium 70 in the state shown in FIG. It is described. The magnetic field generated from the coil 35 of the electronic pen 3 when performing this description is detected by the coordinate detection unit 25. Then, the coordinate data corresponding to each position of the electronic pen 3 when performing the above description is associated with the writing tool ID “ID1” and the time data, and is sequentially stored in the coordinate data storage area 2041 as writing related data. The

そして、操作者が電子筆記装置2において所定の操作(例えば紙媒体70上の適宜の部位に設けられたチェック欄へのチェック)を行うと、座標データ記憶領域2041に記憶された複数の筆記関連データに基づき、電子ペン3及び電子修正テープ5による紙媒体70への記載内容に対応したストロークデータが生成され、上記RAM203に記憶される。その後、RAM203に記憶されたストロークデータが操作端末4へ送信される。これにより、操作端末4では、上記ストロークデータが受信され、上記RAM403に記憶される。   When the operator performs a predetermined operation (for example, checking a check column provided in an appropriate part on the paper medium 70) in the electronic writing apparatus 2, a plurality of writing-related items stored in the coordinate data storage area 2041 are stored. Based on the data, stroke data corresponding to the contents written on the paper medium 70 by the electronic pen 3 and the electronic correction tape 5 is generated and stored in the RAM 203. Thereafter, the stroke data stored in the RAM 203 is transmitted to the operation terminal 4. As a result, the operation terminal 4 receives the stroke data and stores it in the RAM 403.

ここで、電子ペン3では、その構造上、コイル35は、ペン先31から奥まった部分に配置されており、電子修正テープ5では、その構造上、コイル53は、ヘッド51から奥まった部分に配置されている。   Here, in the electronic pen 3, the coil 35 is disposed in a portion recessed from the pen tip 31 due to its structure, and in the electronic correction tape 5, the coil 53 is disposed in a portion recessed from the head 51 due to its structure. Has been placed.

そして、例えば上記図6(a)(c)の例のように操作者が電子ペン3を用いて紙媒体70に対し文字等を記載する場合には、電子ペン3は、紙媒体70に対しあまり傾けずに使用されることが多く、実際の紙媒体70上での座標に対し上記座標検出部25により検出される座標データの値がずれることはあまりない。   For example, when the operator writes characters or the like on the paper medium 70 using the electronic pen 3 as in the example of FIGS. In many cases, it is used without being inclined so much that the value of the coordinate data detected by the coordinate detection unit 25 is not shifted from the actual coordinates on the paper medium 70.

一方、例えば上記図6(b)の例のように操作者が電子修正テープ5を用いて紙媒体70に記載済みの文字等を白色上塗りする場合には、電子修正テープ5は、紙媒体70に対し大きく傾けて使用されることが多く、実際の紙媒体70上での座標に対し上記座標検出部25により検出される座標データの値がずれてしまう可能性がある。この結果、実際の紙媒体70上では、修正対象とする文字等に重なるように電子修正テープ5により正しく修正領域WEが記入され白色上塗りが行われているにも係わらず、電子データ上では、修正対象とする文字等に対応したストロークデータの位置に対し、修正領域WEのストロークデータの位置が(正しく重畳せず)ずれてしまう可能性がある。   On the other hand, for example, when the operator uses the electronic correction tape 5 to coat characters and the like already written on the paper medium 70 in white as in the example of FIG. The coordinate data detected by the coordinate detection unit 25 may deviate from the actual coordinates on the paper medium 70 in many cases. As a result, on the actual paper medium 70, although the correction area WE is correctly written by the electronic correction tape 5 so as to overlap the character to be corrected and the white overcoat is performed, on the electronic data, There is a possibility that the position of the stroke data in the correction area WE may be shifted (not correctly superimposed) with respect to the position of the stroke data corresponding to the character to be corrected.

図7に、修正領域WEのストロークデータの位置が修正対象とする文字等のストロークデータの位置に対しずれた状態で画像データ化される場合の例を示す。   FIG. 7 shows an example in which image data is converted into a state where the position of the stroke data in the correction area WE is shifted from the position of the stroke data such as characters to be corrected.

図7の上段には、上記図6(c)に示す状態の紙媒体70上の記載に対応して生成された各ストロークデータを、説明の便宜上、当該各ストロークデータの複数の位置間に線を描画した状態で示しつつ、修正領域WEのストロークデータの各位置を「○」で示している。なお、符号「WE′」で示す帯状領域は、修正領域WEのストロークデータの複数の位置間に線を描画した状態のものである。図7の上段に示す例では、上記の理由により、修正領域WEのストロークデータの位置が、文字列「あいう」のストロークデータの位置に対し(正しく重畳せず)ずれてしまっている。この状態において、上記図6(c)に示す状態の紙媒体70上の記載内容に対応した画像データが生成される場合には、修正領域WEのストロークデータの位置により文字列「あいう」のストロークデータの位置の全部が重畳されていないため、その重畳されなかった位置の部分が消去処理されず残存してしまうこととなる。この場合には、図7の下段に示す例のように、生成された画像データ上では、修正領域WEのストロークデータに基づき生成された白色上塗り画像WE″が本来の位置に対しずれた位置にあるため、文字列「あいう」の一部分が画像化されてしまっている。   In the upper part of FIG. 7, each stroke data generated corresponding to the description on the paper medium 70 in the state shown in FIG. 6C is shown between a plurality of positions of each stroke data for convenience of explanation. Each position of the stroke data in the correction area WE is indicated by “◯”. Note that the band-like area indicated by the symbol “WE ′” is a state in which lines are drawn between a plurality of positions of the stroke data of the correction area WE. In the example shown in the upper part of FIG. 7, the position of the stroke data in the correction area WE is deviated (not correctly superimposed) from the position of the stroke data of the character string “A” for the above reason. In this state, when image data corresponding to the description content on the paper medium 70 in the state shown in FIG. 6C is generated, the stroke of the character string “That” depends on the position of the stroke data in the correction area WE. Since all of the data positions are not superimposed, the portion of the position where the data is not superimposed remains without being erased. In this case, as in the example shown in the lower part of FIG. 7, on the generated image data, the white overcoat image WE ″ generated based on the stroke data of the correction area WE is shifted to a position shifted from the original position. For this reason, a part of the character string “Ah” has been imaged.

<本実施形態の特徴>
本実施形態の特徴は、操作者の白色上塗りによる修正の意図を反映した、正しい電子データ化を行うことにある。以下、その詳細について説明する。
<Features of this embodiment>
The feature of the present embodiment is that correct electronic data is created that reflects the operator's intention of correction by white overcoating. The details will be described below.

本実施形態では、上記のようにして操作端末4においてストロークデータが受信されRAM403に記憶されると、RAM403からストロークデータが順次取得され、それら取得された各ストロークデータの複数の位置間に線が描画され画像化される。   In the present embodiment, when stroke data is received and stored in the RAM 403 in the operation terminal 4 as described above, the stroke data is sequentially acquired from the RAM 403, and a line is formed between a plurality of positions of the acquired stroke data. Rendered and imaged.

このとき、取得されたストロークデータが上記修正領域WEのストロークデータであった場合には、当該修正領域WEのストロークデータに基づき、電子修正テープ5による修正領域WEの記入方向(以下適宜「修正方向」という)が判定される。例えば、修正領域WEのストロークデータに係る複数の座標データにおいて、X座標値の変化量がY座標値の変化量よりも大きく、かつX座標値の変化が増加傾向であれば、修正方向は「左から右へ向かう横方向」と判定され、X座標値の変化量がY座標値の変化量よりも大きく、かつX座標値の変化が減少傾向であれば、修正方向は「右から左へ向かう横方向」と判定され、Y座標値の変化量がX座標値の変化量よりも大きく、かつY座標値の変化が増加傾向であれば、修正方向は「上から下へ向かう縦方向」と判定され、Y座標値の変化量がX座標値の変化量よりも大きく、かつY座標値の変化が減少傾向であれば、修正方向は「下から上へ向かう縦方向」と判定される。   At this time, if the acquired stroke data is the stroke data of the correction area WE, based on the stroke data of the correction area WE, the entry direction of the correction area WE by the electronic correction tape 5 (hereinafter referred to as “correction direction” as appropriate). Is determined). For example, in a plurality of coordinate data related to the stroke data of the correction area WE, if the change amount of the X coordinate value is larger than the change amount of the Y coordinate value and the change of the X coordinate value tends to increase, the correction direction is “ If the change amount of the X coordinate value is larger than the change amount of the Y coordinate value and the change of the X coordinate value tends to decrease, the correction direction is “from right to left”. If the change amount of the Y coordinate value is larger than the change amount of the X coordinate value and the change of the Y coordinate value tends to increase, the correction direction is “vertical direction from top to bottom”. If the change amount of the Y coordinate value is larger than the change amount of the X coordinate value and the change of the Y coordinate value is decreasing, the correction direction is determined as “vertical direction from bottom to top”. .

その後、修正領域WEのストロークデータを後述の上塗り処理対象とするストロークデータの位置に対応させてシフト処理するためのシフト量を算出する算出処理が行われる。以下、図8を参照しつつ、この算出処理の内容について説明する。   Thereafter, a calculation process is performed for calculating a shift amount for shifting the stroke data of the correction area WE in correspondence with the position of stroke data to be subjected to an overcoating process described later. Hereinafter, the content of this calculation process will be described with reference to FIG.

図8には、上記図6(c)に示す状態の紙媒体70上の記載に対応して生成されたストロークデータのうち、算出処理が行われるまでに取得された各ストロークデータを、上記図7の上段と同様に示している。図8に示す例では、修正方向は、左から右へ向かう横方向と判定されている。   FIG. 8 shows the stroke data acquired until the calculation process is performed among the stroke data generated corresponding to the description on the paper medium 70 in the state shown in FIG. 7 is shown in the same manner as the upper part of FIG. In the example illustrated in FIG. 8, the correction direction is determined to be a lateral direction from left to right.

図8において、算出処理では、まず、これまでに描画され画像化されたものに対し公知の適宜の文字認識処理(例えばOCR処理)が行われ、文字認識された各文字等の座標範囲60が検出される。そして、修正方向に応じた検索範囲61が設定され、上記文字認識された各文字等ごとに、その座標範囲60における修正方向に応じた所定の位置が検索範囲61内に含まれるか否かが判定され、所定の位置が検索範囲61内に含まれる文字等があった場合には、上記シフト量の算出が行われる。   In FIG. 8, in the calculation process, first, a known appropriate character recognition process (for example, OCR process) is performed on what has been drawn and imaged so far, and a coordinate range 60 of each character or the like that has been character-recognized is obtained. Detected. Then, a search range 61 corresponding to the correction direction is set, and whether or not a predetermined position corresponding to the correction direction in the coordinate range 60 is included in the search range 61 for each character or the like recognized above. If it is determined and there is a character or the like whose predetermined position is included in the search range 61, the shift amount is calculated.

例えば、図8に示す例のように修正方向が左から右へ向かう横方向である場合には、検索範囲61に係るX座標範囲は、修正領域WEのストロークデータに係る複数の座標データうち、対応付けられた時刻データの示す時刻が最も早い座標データの示す位置(最左位置)TaのX座標値Xaから所定値を減算した値から、当該位置TaのX座標値Xaに上記所定値を加算した値までの、範囲に設定される。また、検索範囲61に係るY座標範囲は、上記位置TaのY座標値Yaから当該座標データに対応付けられた筆記具IDに対し予め関連付けられた線の太さwの1/2の値を減算した値から、上記位置TaのY座標値Yaに上記太さwの1/2の値及び上記所定値を加算した値までの、範囲に設定される。その後、上記文字認識された各文字等ごとに、その座標範囲60における左下端部の位置が検索範囲61内に含まれるか否かが判定され、当該左下端部の位置が検索範囲61内に含まれる文字等があった場合(図8に示す例では文字「あ」の座標範囲60における左下端部の位置Tbが検索範囲61内に含まれている)には、上記シフト量の算出が行われる。すなわち、X座標のシフト量は、上記左下端部の位置が検索範囲61内に含まれる文字等に係る当該左下端部の位置のX座標値(図8に示す例では文字「あ」に係る左下端部の位置TbのX座標値Xb)から、上記位置TaのX座標値Xaを減算することで算出される。また、Y座標のシフト量は、上記左下端部の位置が検索範囲61内に含まれる文字等に係る当該左下端部の位置のY座標値(図8に示す例では文字「あ」に係る左下端部の位置TbのX座標値Yb)から、上記位置TaのY座標値Ya及び上記太さwの1/2の値を加算した値を減算することで算出される。   For example, when the correction direction is a horizontal direction from left to right as in the example shown in FIG. 8, the X coordinate range related to the search range 61 is a plurality of coordinate data related to the stroke data of the correction region WE. From the value obtained by subtracting a predetermined value from the X coordinate value Xa of the position (leftmost position) Ta indicated by the coordinate data with the earliest time indicated by the associated time data, the predetermined value is added to the X coordinate value Xa of the position Ta. The range is set up to the added value. Further, the Y coordinate range related to the search range 61 is obtained by subtracting a value of ½ of the line thickness w previously associated with the writing instrument ID associated with the coordinate data from the Y coordinate value Ya of the position Ta. The value is set to a range from the value obtained by adding the half value of the thickness w and the predetermined value to the Y coordinate value Ya of the position Ta. Thereafter, it is determined whether or not the position of the lower left end in the coordinate range 60 is included in the search range 61 for each character that has been recognized, and the position of the lower left end is within the search range 61. When there is a character or the like included (in the example shown in FIG. 8, the position Tb of the lower left end in the coordinate range 60 of the character “A” is included in the search range 61), the shift amount is calculated. Done. That is, the shift amount of the X coordinate is related to the X coordinate value of the position of the left lower end portion related to the character or the like whose position of the lower left end portion is included in the search range 61 (in the example shown in FIG. It is calculated by subtracting the X coordinate value Xa of the position Ta from the X coordinate value Xb of the position Tb of the lower left end. Further, the shift amount of the Y coordinate is related to the Y coordinate value of the position of the left lower end portion relating to the character or the like whose position of the lower left end portion is included in the search range 61 (in the example shown in FIG. It is calculated by subtracting the value obtained by adding the Y coordinate value Ya of the position Ta and the half value of the thickness w from the X coordinate value Yb of the position Tb of the lower left end.

また例えば、修正方向が右から左へ向かう横方向である場合には、検索範囲61に係るX座標範囲は、修正領域WEのストロークデータに係る複数の座標データうち、対応付けられた時刻データの示す時刻が最も早い座標データの示す位置(最右位置)のX座標値から所定値を減算した値から、当該最右位置のX座標値に上記所定値を加算した値までの、範囲に設定される。また、検索範囲61に係るY座標範囲は、上記最右位置のY座標値から当該座標データに対応付けられた筆記具IDに対し予め関連付けられた線の太さwの1/2の値を減算した値から、上記最右位置のY座標値Yaに上記太さwの1/2の値及び上記所定値を加算した値までの、範囲に設定される。その後、上記文字認識された各文字等ごとに、その座標範囲60における右下端部の位置が検索範囲61内に含まれるか否かが判定され、当該右下端部の位置が検索範囲61内に含まれる文字等があった場合には、上記シフト量の算出が行われる。すなわち、X座標のシフト量は、上記右下端部の位置が検索範囲61内に含まれる文字等に係る当該右下端部の位置のX座標値から、上記最右位置のX座標値を減算することで算出される。また、Y座標のシフト量は、上記右下端部の位置が検索範囲61内に含まれる文字等に係る当該右下端部の位置のY座標値から、上記最右位置のY座標値及び上記太さwの1/2の値を加算した値を減算することで算出される。   Further, for example, when the correction direction is the horizontal direction from right to left, the X coordinate range related to the search range 61 is the time data associated with the coordinate data among the plurality of coordinate data related to the stroke data of the correction area WE. Set to a range from the value obtained by subtracting a predetermined value from the X coordinate value of the position (rightmost position) indicated by the coordinate data with the earliest time to the value obtained by adding the predetermined value to the X coordinate value of the rightmost position Is done. Further, the Y coordinate range related to the search range 61 is obtained by subtracting a value of ½ of the line thickness w previously associated with the writing instrument ID associated with the coordinate data from the Y coordinate value of the rightmost position. The value is set to a range from the value obtained by adding the half value of the thickness w and the predetermined value to the Y coordinate value Ya of the rightmost position. Thereafter, it is determined whether or not the position of the lower right corner in the coordinate range 60 is included in the search range 61 for each character that has been recognized, and the position of the lower right corner is within the search range 61. When there is a character or the like included, the shift amount is calculated. That is, the shift amount of the X coordinate is obtained by subtracting the X coordinate value of the rightmost position from the X coordinate value of the position of the right lower end portion of the character or the like whose position of the right lower end portion is included in the search range 61. It is calculated by. Further, the shift amount of the Y coordinate is calculated based on the Y coordinate value of the rightmost position and the thick value from the Y coordinate value of the position of the right lower end part of the character or the like whose position of the right lower end part is included in the search range 61. It is calculated by subtracting a value obtained by adding a half value of the length w.

また例えば、修正方向が上から下へ向かう縦方向である場合には、検索範囲61に係るX座標範囲は、修正領域WEのストロークデータに係る複数の座標データうち、対応付けられた時刻データの示す時刻が最も早い座標データの示す位置(最上位置)のX座標値から当該座標データに対応付けられた筆記具IDに対し予め関連付けられた線の太さwの1/2の値及び所定値を減算した値から、当該最上位置のX座標値に上記太さwの1/2の値を加算した値までの、範囲に設定される。また、検索範囲61に係るY座標範囲は、上記最上位置のY座標値から上記所定値を減算した値から、上記最上位置のY座標値Yaに上記所定値を加算した値までの、範囲に設定される。その後、上記文字認識された各文字等ごとに、その座標範囲60における左上端部の位置が検索範囲61内に含まれるか否かが判定され、当該位置が検索範囲61内に含まれる文字等があった場合には、上記シフト量の算出が行われる。すなわち、X座標のシフト量は、上記左上端部の位置が検索範囲61内に含まれる文字等に係る当該左上端部の位置のX座標値から、上記最上位置のX座標値から上記太さwの1/2の値を減算した値を減算することで算出される。また、Y座標のシフト量は、上記左上端部の位置が検索範囲61内に含まれる文字等に係る当該左上端部の位置のY座標値から、上記最上位置のY座標値を減算することで算出される。   Further, for example, when the correction direction is a vertical direction from top to bottom, the X coordinate range related to the search range 61 is the time data associated with the coordinate data among the plurality of coordinate data related to the stroke data of the correction region WE. From the X coordinate value of the position (top position) indicated by the coordinate data with the earliest time indicated, a value 1/2 and a predetermined value of the line thickness w associated in advance with the writing tool ID associated with the coordinate data are obtained. The range is set from the subtracted value to the value obtained by adding the half value of the thickness w to the X coordinate value of the uppermost position. Further, the Y coordinate range related to the search range 61 is a range from a value obtained by subtracting the predetermined value from the Y coordinate value at the uppermost position to a value obtained by adding the predetermined value to the Y coordinate value Ya at the uppermost position. Is set. Thereafter, it is determined whether or not the position of the upper left end in the coordinate range 60 is included in the search range 61 for each character or the like that has been recognized, and the character or the like in which the position is included in the search range 61 If there is a shift, the shift amount is calculated. That is, the shift amount of the X coordinate is calculated from the X coordinate value of the position of the upper left end portion of the character or the like whose upper left end position is included in the search range 61 to the thickness from the X coordinate value of the uppermost position. It is calculated by subtracting a value obtained by subtracting a value half of w. Further, the amount of shift of the Y coordinate is obtained by subtracting the Y coordinate value of the uppermost position from the Y coordinate value of the position of the upper left end portion of the character or the like whose position of the upper left end portion is included in the search range 61. Is calculated by

また例えば、修正方向が下から上へ向かう縦方向である場合には、検索範囲61に係るX座標範囲は、修正領域WEのストロークデータに係る複数の座標データうち、対応付けられた時刻データの示す時刻が最も早い座標データの示す位置(最下位置)のX座標値から当該座標データに対応付けられた筆記具IDに対し予め関連付けられた線の太さwの1/2の値及び所定値を減算した値から、当該最下位置のX座標値に上記太さwの1/2の値を加算した値までの、範囲に設定される。また、検索範囲61に係るY座標範囲は、上記最下位置のY座標値から上記所定値を減算した値から、上記最下位置のY座標値Yaに上記所定値を加算した値までの、範囲に設定される。その後、上記文字認識された各文字等ごとに、その座標範囲60における左下端部の位置が検索範囲61内に含まれるか否かが判定され、当該位置が検索範囲61内に含まれる文字等があった場合には、上記シフト量の算出が行われる。すなわち、X座標のシフト量は、上記左下端部の位置が検索範囲61内に含まれる文字等に係る当該左下端部の位置のX座標値から、上記最上位置のX座標値から上記太さwの1/2の値を減算した値を減算することで算出される。また、Y座標のシフト量は、上記左下端部の位置が検索範囲61内に含まれる文字等に係る当該左下端部の位置のY座標値から、上記最上位置のY座標値を減算することで算出される。   Further, for example, when the correction direction is a vertical direction from bottom to top, the X coordinate range related to the search range 61 is the time data associated with the coordinate data among the plurality of coordinate data related to the stroke data of the correction region WE. A value 1/2 and a predetermined value of the thickness w of the line associated in advance with the writing tool ID associated with the coordinate data from the X coordinate value indicated by the coordinate data with the earliest time indicated (the lowest position). Is set to a range from a value obtained by subtracting ½ to a value obtained by adding a value of ½ of the thickness w to the X coordinate value of the lowest position. Further, the Y coordinate range related to the search range 61 is from a value obtained by subtracting the predetermined value from the Y coordinate value at the lowest position to a value obtained by adding the predetermined value to the Y coordinate value Ya at the lowest position. Set to range. Thereafter, it is determined whether or not the position of the lower left end in the coordinate range 60 is included in the search range 61 for each character that has been recognized, and the character or the like whose position is included in the search range 61. If there is a shift, the shift amount is calculated. That is, the shift amount of the X coordinate is calculated from the X coordinate value of the position of the lower left end portion of the character or the like whose position of the lower left end portion is included in the search range 61 to the thickness from the X coordinate value of the uppermost position. It is calculated by subtracting a value obtained by subtracting a value half of w. Further, the amount of shift of the Y coordinate is obtained by subtracting the Y coordinate value of the uppermost position from the Y coordinate value of the position of the lower left end portion of the character or the like whose position of the lower left end portion is included in the search range 61. Is calculated by

そして、上記のようにしてシフト量が算出されると、この時点までに取得されているストロークデータのうち、上記修正領域WEのストロークデータの位置から、上記算出されたシフト量だけ離反した位置にある文字等のストロークデータが、紙媒体70上で修正領域WEの記入により白色上塗りされた部分に対応した、上塗り処理対象とするストロークデータ(第1ストロークデータに相当)として決定される。そして、上記算出されたシフト量で、修正領域WEのストロークデータがシフト処理される。以下、図9を参照しつつ、このシフト処理の内容について説明する。   When the shift amount is calculated as described above, among the stroke data acquired up to this point, the position is separated from the position of the stroke data in the correction area WE by the calculated shift amount. Stroke data of a certain character or the like is determined as stroke data (corresponding to the first stroke data) to be overcoated corresponding to a white overcoated portion by entering the correction area WE on the paper medium 70. Then, the stroke data of the correction area WE is shifted with the calculated shift amount. Hereinafter, the contents of this shift processing will be described with reference to FIG.

図9において、シフト処理では、修正領域WEのストロークデータに係る各座標データの示す値にシフト量が加算されることで、修正領域WEのストロークデータの各位置がシフトされる。これにより、修正領域WEのストロークデータの位置が、上塗り処理対象とするストロークデータ(図9の例では文字例「あいう」部分のストロークデータ)の位置と重畳される。   In FIG. 9, in the shift process, each position of the stroke data in the correction area WE is shifted by adding the shift amount to the value indicated by each coordinate data related to the stroke data in the correction area WE. As a result, the position of the stroke data in the correction area WE is superimposed on the position of the stroke data to be overpainted (in the example of FIG. 9, the stroke data of the character example “A”).

そして、上記のようにしてシフト処理が行われると、そのシフト処理された修正領域WEのストロークデータにより位置が重畳された部分の上塗り処理対象とするストロークデータが消去処理される。この消去処理では、修正領域WEのストロークデータにより位置が重畳された部分の上塗り処理対象とするストロークデータに基づく画像が表示されないように、当該重畳された部分の上塗り処理対象とするストロークデータに基づき描画され画像化されたものが非表示化される。   When the shift process is performed as described above, the stroke data that is the target of the overcoating process in which the position is superimposed by the stroke data of the correction area WE subjected to the shift process is erased. In this erasing process, based on the stroke data to be overcoated in the overlapped part so that an image based on the stroke data to be overcoated in the part where the position is superimposed by the stroke data of the correction area WE is not displayed. What is drawn and imaged is hidden.

<制御フロー>
次に、図10を参照しつつ、上記の内容等を実現するために、操作端末4のCPU401が上記メモリ404に記憶された電子筆記処理プログラム等に基づき実行する制御手順について説明する。
<Control flow>
Next, a control procedure executed by the CPU 401 of the operation terminal 4 based on the electronic writing processing program stored in the memory 404 in order to realize the above contents will be described with reference to FIG.

図10において、このフローチャートに示す処理は、例えば操作端末4の電源がオンされることを契機に開始される。   In FIG. 10, the process shown in this flowchart is started when the power of the operation terminal 4 is turned on, for example.

まず、ステップS10で、CPU401は、電子筆記装置2から送信された、紙媒体70上の記載に対応したストロークデータ(座標データ、筆記具ID、及び時刻データからなる複数の筆記関連データに基づき生成されたデータ)を、通信制御部407を介して受信する。このステップS10の手順が、各請求項記載の受信手順に相当する。   First, in step S <b> 10, the CPU 401 is generated based on stroke data (coordinate data, writing tool ID, and a plurality of writing related data including time data) corresponding to the description on the paper medium 70 transmitted from the electronic writing apparatus 2. Data) is received via the communication control unit 407. The procedure of step S10 corresponds to the receiving procedure described in each claim.

その後、ステップS20で、CPU401は、上記ステップS10で受信されたストロークデータをRAM403に記憶する。このステップS20の手順が、各請求項記載の記憶手順に相当する。   Thereafter, in step S20, the CPU 401 stores the stroke data received in step S10 in the RAM 403. The procedure of step S20 corresponds to the storage procedure described in each claim.

そして、ステップS30で、CPU401は、上記ステップS20でRAM403に記憶された各ストロークデータを、RAM403から時系列に沿って順次取得する。   In step S30, the CPU 401 sequentially acquires the stroke data stored in the RAM 403 in step S20 from the RAM 403 in time series.

その後、ステップS40で、CPU401は、上記ステップS30でストロークデータを取得できたか否かを判定する。上記ステップS30でストロークデータを取得できた場合には、ステップS40の判定が満たされ、ステップS50に移る。   Thereafter, in step S40, the CPU 401 determines whether stroke data has been acquired in step S30. If the stroke data can be acquired in step S30, the determination in step S40 is satisfied, and the process proceeds to step S50.

ステップS50では、CPU401は、上記ステップS30で取得されたストロークデータに係る筆記具IDを検出する。このステップS50で上記筆記具ID「ID1」が検出された場合(電子ペン3により紙媒体70に記載された文字等が検出された場合)、つまり上記ステップS30で取得されたストロークデータが文字等のストロークデータであった場合には、ステップS60に移る。   In step S50, the CPU 401 detects the writing instrument ID related to the stroke data acquired in step S30. When the writing tool ID “ID1” is detected in step S50 (when a character or the like written on the paper medium 70 is detected by the electronic pen 3), that is, the stroke data acquired in step S30 is a character or the like. If it is stroke data, the process proceeds to step S60.

ステップS60では、CPU401は、上記ステップS30で取得されたストロークデータに係る複数の座標データの示す複数の位置間に、筆記具ID「ID1」に対し予め関連付けられた線の太さで、線を描画して画像化する。その後、上記ステップS30に戻り同様の手順を繰り返す。   In step S60, the CPU 401 draws a line with a thickness of a line previously associated with the writing tool ID “ID1” between a plurality of positions indicated by a plurality of coordinate data related to the stroke data acquired in step S30. And image it. Thereafter, the process returns to step S30 and the same procedure is repeated.

一方、上記ステップS50で上記筆記具ID「ID2」が検出された場合(電子修正テープ5により紙媒体70に記入された上記修正領域WEが検出された場合)、つまり上記ステップS30で取得されたストロークデータが修正領域WEのストロークデータであった場合には、ステップS70に移る。上記ステップS50の手順は、各請求項記載の検出手順に相当する。   On the other hand, when the writing instrument ID “ID2” is detected in step S50 (when the correction area WE written in the paper medium 70 is detected by the electronic correction tape 5), that is, the stroke acquired in step S30. If the data is the stroke data of the correction area WE, the process proceeds to step S70. The procedure of step S50 corresponds to the detection procedure described in each claim.

ステップS70では、CPU401は、上記ステップS30で取得された修正領域WEのストロークデータに基づき、上記修正方向を判定する。   In step S70, the CPU 401 determines the correction direction based on the stroke data of the correction area WE acquired in step S30.

そして、ステップS80で、CPU401は、この時点までに上記ステップS30で取得されているストロークデータに基づき上記ステップS60で描画され画像化されたものに対し文字認識処理を行い、文字認識された各文字等の座標範囲60を検出し、それらの情報をRAM403に記憶する。   In step S80, the CPU 401 performs character recognition processing on the image drawn and imaged in step S60 based on the stroke data acquired in step S30 up to this point, and each character that has been character-recognized. The coordinate range 60 is detected, and the information is stored in the RAM 403.

その後、ステップS90で、CPU401は、上記ステップS70で判定された修正方向に応じて、上記検索範囲61を設定する。   Thereafter, in step S90, the CPU 401 sets the search range 61 according to the correction direction determined in step S70.

そして、ステップS100で、CPU401は、上記ステップS80で文字認識されRAM403に記憶された各文字等の座標範囲60の情報を、RAM403から順次取得する。   In step S <b> 100, the CPU 401 sequentially acquires information on the coordinate range 60 of each character and the like recognized in step S <b> 80 and stored in the RAM 403 from the RAM 403.

その後、ステップS110で、CPU401は、上記ステップS100で座標範囲60の情報が取得できたか否かを判定する。上記ステップS100で座標範囲60の情報が取得できた場合には、ステップS110の判定が満たされ、ステップS120に移る。   Thereafter, in step S110, the CPU 401 determines whether or not the information of the coordinate range 60 has been acquired in step S100. When the information of the coordinate range 60 can be acquired in step S100, the determination in step S110 is satisfied, and the process proceeds to step S120.

ステップS120では、CPU401は、上記ステップS100で座標範囲60の情報が取得された文字等について、その座標範囲60における上記ステップS70で判定された修正方向に応じた上記所定の位置が、上記ステップS90で設定された検索範囲61内に含まれるか否かを判定する。上記文字等について所定の位置が検索範囲61内に含まれない場合には、ステップS120の判定は満たされず、上記ステップS100に戻り同様の手順を繰り返す。一方、上記文字等について所定の位置が検索範囲61内に含まれる場合には、ステップS120の判定が満たされ、ステップS130に移る。   In step S120, the CPU 401 determines that the predetermined position corresponding to the correction direction determined in step S70 in the coordinate range 60 for the character or the like whose information in the coordinate range 60 is acquired in step S100 is the step S90. It is determined whether or not it is included in the search range 61 set in. If the predetermined position of the character or the like is not included in the search range 61, the determination in step S120 is not satisfied, and the same procedure is repeated by returning to step S100. On the other hand, when the predetermined position of the character or the like is included in the search range 61, the determination in step S120 is satisfied, and the process proceeds to step S130.

ステップS130では、CPU401は、上記ステップS30で取得された修正領域WEのストロークデータ、上記ステップS80で判定された修正方向、及び、上記ステップS120で所定の位置が検索範囲61内に含まれると判定された文字等に係る当該所定の範囲に基づき、上記シフト量を算出する。   In step S130, the CPU 401 determines that the stroke data of the correction area WE acquired in step S30, the correction direction determined in step S80, and the predetermined position is included in the search range 61 in step S120. The shift amount is calculated based on the predetermined range related to the character or the like.

そして、ステップS140で、CPU401は、この時点までに上記ステップS30で取得されているストロークデータのうち、上記修正領域WEのストロークデータの位置から、上記ステップS130で算出されたシフト量だけ離反した位置にある文字等のストロークデータを、上記上塗り処理対象とするストロークデータとして決定する。このステップS140の手順が、各請求項記載の決定手順に相当する。   Then, in step S140, the CPU 401 determines a position separated from the position of the stroke data in the correction area WE by the shift amount calculated in step S130 among the stroke data acquired in step S30 up to this point. Is determined as stroke data to be overcoated. The procedure of step S140 corresponds to the determination procedure described in each claim.

その後、ステップS150で、CPU401は、上記ステップS130で算出されたシフト量で、上記ステップS30で取得された修正領域WEのストロークデータをシフト処理し、当該修正領域WEのストロークデータの位置を、上記ステップS140で決定された上塗り処理対象とするストロークデータの位置と重畳させる。このステップS150の手順が、各請求項記載の第1シフト処理手順に相当する。   Thereafter, in step S150, the CPU 401 shifts the stroke data of the correction area WE acquired in step S30 with the shift amount calculated in step S130, and determines the position of the stroke data in the correction area WE as described above. It is superimposed on the position of the stroke data to be overcoated in step S140. The procedure of step S150 corresponds to the first shift processing procedure described in each claim.

そして、ステップS160で、CPU401は、上記ステップS150でシフト処理された修正領域WEのストロークデータにより位置が重畳された部分の上塗り処理対象とするストロークデータに基づく画像を後述のステップS180で表示しないように、当該重畳された部分の上塗り処理対象とするストロークデータに基づき上記ステップS60で描画され画像化されたものを非表示化する、消去処理を行う。なお、CPU401は、上記非表示化すると共に、上記重畳された部分の上塗り処理対象とするストロークデータをRAM403から削除する、消去処理を行ってもよい。このステップS160の手順が、各請求項記載の第1消去処理手順に相当する。その後、上記ステップS30に戻り同様の手順を繰り返す。   In step S160, the CPU 401 does not display an image based on the stroke data to be overcoated in the portion whose position is superimposed by the stroke data of the correction area WE shifted in step S150 in step S180 described later. In addition, an erasing process is performed to hide the image drawn and imaged in step S60 based on the stroke data to be overcoated in the superimposed portion. Note that the CPU 401 may perform the erasure process of hiding the stroke data as the top coating process target of the superimposed portion from the RAM 403 while making the above-mentioned non-display. The procedure of step S160 corresponds to the first erasure processing procedure described in each claim. Thereafter, the process returns to step S30 and the same procedure is repeated.

なお、上記のようにステップS160からステップS30に戻り同様の手順が繰り返される場合において、別のストロークデータに関し、ステップS50で筆記具ID「ID2」が検出され、ステップS70で判定された修正方向が先のステップS70で判定された修正方向と同一であった場合には、CPU401は、ステップS80〜S130をスキップし、ステップS140において、上記別の修正領域WEのストロークデータの位置から、先のステップS130で算出されたシフト量だけ離反した位置にある文字等のストロークデータを、上塗り処理対象とするストロークデータとして決定し、ステップS150において、先のステップS130で算出されたシフト量を用いて、上記別の修正領域WEのストロークデータをシフト処理してもよい。   When the same procedure is repeated from step S160 to step S30 as described above, the writing tool ID “ID2” is detected in step S50 for the other stroke data, and the correction direction determined in step S70 is the first. If it is the same as the correction direction determined in step S70, the CPU 401 skips steps S80 to S130, and in step S140, from the position of the stroke data in the other correction area WE, the previous step S130. The stroke data of characters and the like at positions separated by the shift amount calculated in step S3 is determined as stroke data to be overcoated, and in step S150, using the shift amount calculated in the previous step S130, Shift processing of stroke data of the correction area WE It may be.

一方、上記ステップS110において、上記ステップS100で座標範囲60の情報が取得できなかった場合には、上記ステップS80で文字認識されRAM403に記憶された全ての文字等の座標範囲60の情報を取得済みだが、いずれの文字等もその所定の位置が検索範囲61内に含まれなかったとみなされ、ステップS110の判定は満たされず、ステップS170に移る。   On the other hand, in step S110, if the information of coordinate range 60 could not be acquired in step S100, the information of coordinate range 60 such as all characters recognized in step S80 and stored in RAM 403 has already been acquired. However, it is considered that the predetermined position of any character or the like is not included in the search range 61, and the determination in step S110 is not satisfied, and the process proceeds to step S170.

ステップS170では、CPU401は、所定のエラー処理を行い、その後、上記ステップS30に戻り同様の手順を繰り返す。   In step S170, the CPU 401 performs predetermined error processing, and then returns to step S30 and repeats the same procedure.

また一方、上記ステップS40において、上記ステップS30でストロークデータを取得できなかった場合には、上記ステップS20でRAM403に記憶されたストロークデータを取得済みとみなされ、ステップS40の判定は満たされず、ステップS180に移る。   On the other hand, if the stroke data cannot be acquired in step S30 in step S40, it is regarded that the stroke data stored in the RAM 403 has been acquired in step S20, and the determination in step S40 is not satisfied. The process moves to S180.

ステップS180では、CPU401は、この時点で生成されている画像を表示部406に表示する。その後、このフローチャートに示す処理が終了される。   In step S180, the CPU 401 displays the image generated at this time on the display unit 406. Thereafter, the processing shown in this flowchart is terminated.

<本実施形態による効果>
以上説明したように、本実施形態においては、前述したような、実際の紙媒体70上では、修正対象とする文字等に重なるように電子修正テープ5により正しく白色上塗りが行われているにも係わらず、電子データ上では、修正対象とする文字等のストロークデータの位置に対し、電子修正テープ5による白色上塗り部分のストロークデータの位置が(正しく重畳せず)ずれてしまう可能性に対応するために、RAM403に記憶されたストロークデータに基づき、電子修正テープ5により紙媒体70に記入されている修正領域WEが検出される。そして、修正領域WEが検出されたら、RAM403に記憶されたストロークデータのうち上塗り処理対象とするストロークデータが決定される。このとき、上記の理由により、電子データ上では、修正領域WEのストロークデータと上塗り処理対象とするストロークデータとの間に位置ずれが生じている。そこで、修正領域WEのストロークデータの位置を、上塗り処理対象とするストロークデータの位置に対応させてシフト処理し、上塗り処理対象とするストロークデータの位置と重畳させる。
<Effects of this embodiment>
As described above, in the present embodiment, as described above, on the actual paper medium 70, the electronic correction tape 5 correctly applies the white overcoat so as to overlap the character to be corrected. Regardless, on the electronic data, it corresponds to the possibility that the position of the stroke data of the white overcoat portion by the electronic correction tape 5 is shifted (not correctly superimposed) with respect to the position of the stroke data such as characters to be corrected. Therefore, based on the stroke data stored in the RAM 403, the correction area WE written on the paper medium 70 is detected by the electronic correction tape 5. When the correction area WE is detected, the stroke data to be overcoated among the stroke data stored in the RAM 403 is determined. At this time, for the reason described above, there is a positional shift between the stroke data of the correction area WE and the stroke data to be overcoated on the electronic data. Therefore, the position of the stroke data in the correction area WE is shifted in correspondence with the position of the stroke data to be overcoated, and is superimposed on the position of the stroke data to be overcoated.

これにより、上記位置ずれが解消され、電子データ上においても、修正領域WEのストロークデータの位置と、上記修正対象とする文字等のストロークデータの位置とを重畳させることができる。この結果、操作者による白色上塗りによる修正の意図を反映した、正しい電子データ化を行うことができるので、利便性を向上することができる。   Thereby, the positional deviation is eliminated, and the position of the stroke data of the correction area WE and the position of the stroke data such as the character to be corrected can be superimposed on the electronic data. As a result, it is possible to perform correct electronic data reflecting the intention of correction by white overcoating by the operator, so that convenience can be improved.

また、本実施形態では特に、シフト処理された修正領域WEのストロークデータにより位置が重畳された部分の上塗り処理対象とするストロークデータに基づき生成された画像を消去処理する。これにより、操作者が電子修正テープ5を用いて修正対象とする文字等(上塗り処理対象とするストロークデータに対応したもの)を白色上塗りしたとき、電子データ上においても、当該意図を反映させた形で対応する上塗り処理対象とするストロークデータ基づき生成された画像を削除したり表示しないようにすることができる。   In the present embodiment, in particular, the image generated based on the stroke data that is the target of the top coating process in which the position is superimposed by the stroke data of the correction area WE subjected to the shift process is erased. As a result, when the operator uses the electronic correction tape 5 to apply characters or the like to be corrected (corresponding to the stroke data to be overcoated) in white, the intention is reflected on the electronic data. It is possible to prevent the image generated based on the stroke data to be subjected to the overcoating process corresponding to the shape from being deleted or displayed.

なお、本発明は、上記実施形態に限られるものではなく、その趣旨及び技術的思想を逸脱しない範囲内で種々の変形が可能である。以下、そのような変形例について説明する。   The present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the spirit and technical idea of the present invention. Hereinafter, such modifications will be described.

(1)手動操作によりシフト処理させる場合
上記実施形態では、算出したシフト量を用いて自動シフト処理を行う場合について説明したが、上記自動シフト処理と併せて(あるいはそれとは別に)、操作者の手動操作による所望のシフト量を用いてシフト処理を行ってもよい。以下では、当該シフト処理を上記自動シフト処理と併せて行う場合について説明する。なお、本変形例では、上記操作部405は、シフト方向を指示する方向キー(例えば上キー、下キー、左キー、右キー等)を含み、方向キーの1回の操作に対応したシフト量が予め関連付けられているものとする。
(1) In the case where shift processing is performed by manual operation In the above-described embodiment, the case where automatic shift processing is performed using the calculated shift amount has been described. However, in addition to (or separately from) the above automatic shift processing, The shift process may be performed using a desired shift amount by manual operation. Below, the case where the said shift process is combined with the said automatic shift process is demonstrated. In this modification, the operation unit 405 includes a direction key (for example, an up key, a down key, a left key, a right key, etc.) that indicates a shift direction, and a shift amount corresponding to one operation of the direction key. Are associated in advance.

以下、図11を参照しつつ、本変形例における、操作端末4のCPU401が電子筆記処理プログラムに基づき実行する制御手順について説明する。   Hereinafter, a control procedure executed by the CPU 401 of the operation terminal 4 based on the electronic writing process program in the present modification will be described with reference to FIG.

図11において、ステップS10〜S180は、上記図10と同様であり、ステップS180で、CPU401が、この時点で生成されている画像を表示部406に表示したら、ステップS200に移る。   In FIG. 11, steps S10 to S180 are the same as those in FIG. 10 described above. When the CPU 401 displays an image generated at this time on the display unit 406 in step S180, the process proceeds to step S200.

ステップS200では、CPU401は、操作者の、方向キーを介した上記ステップS150でシフト処理された修正領域WEのストロークデータに対するシフト操作、又は、操作部405介した当該修正領域WEのストロークデータの位置を確定する確定操作を受け付ける。このステップS200の手順が、各請求項記載のシフト受付手順に相当する。   In step S200, the CPU 401 shifts the stroke data of the correction area WE shifted in step S150 via the direction key by the operator or the position of the stroke data of the correction area WE via the operation unit 405. A confirmation operation for confirming is accepted. The procedure of step S200 corresponds to the shift acceptance procedure described in each claim.

その後、ステップS210で、CPU401は、上記ステップS200で受け付けた操作の内容を判定する。上記ステップS200で受け付けた操作が上記シフト操作であった場合には、ステップS220に移る。   Thereafter, in step S210, the CPU 401 determines the content of the operation received in step S200. If the operation received in step S200 is the shift operation, the process proceeds to step S220.

ステップS220では、CPU401は、上記ステップS200で受け付けたシフト操作の操作量(操作された方向キーの種類やその操作回数等)に対応したシフト量で、上記修正領域WEのストロークデータをシフト処理する。なお、このステップS220の手順が、各請求項記載の第2シフト処理手順に相当する。   In step S220, the CPU 401 shifts the stroke data of the correction area WE with a shift amount corresponding to the operation amount of the shift operation received in step S200 (the type of the operated direction key, the number of operations thereof, etc.). . The procedure of step S220 corresponds to the second shift processing procedure described in each claim.

そして、ステップS230で、CPU401は、上記ステップS220でシフト処理された修正領域WEのストロークデータにより位置が重畳された部分の上塗り処理対象とするストロークデータに基づく画像を非表示化する、消去処理を行う。本変形例では、ステップS160,S230の手順が、各請求項記載の第1消去処理手順に相当する。その後、上記ステップS180に戻り同様の手順を繰り返す。   In step S230, the CPU 401 performs an erasing process for hiding the image based on the stroke data to be overcoated in the part whose position is superimposed by the stroke data of the correction area WE shifted in step S220. Do. In this modification, the procedures in steps S160 and S230 correspond to the first erasure processing procedure described in each claim. Thereafter, the process returns to step S180 and the same procedure is repeated.

一方、上記ステップS210において、上記ステップS200で受け付けた操作が上記確定操作であった場合には、このフローチャートに示す処理が終了される。   On the other hand, in step S210, if the operation accepted in step S200 is the confirmation operation, the processing shown in this flowchart is terminated.

本変形例によれば、上記自動シフト処理と併せて、手動操作による操作者の所望のシフト量だけ修正領域WEのストロークデータの位置をシフトさせて、確実に上塗り処理対象とするストロークデータの位置へ重畳させることができる。   According to this modification, in conjunction with the automatic shift processing, the position of the stroke data in the correction area WE is shifted by the amount of shift desired by the operator by manual operation, so that the position of the stroke data to be reliably overcoated Can be superimposed.

(2)事前設定されたシフト量を用いてシフト処理を行う場合
上記実施形態では、算出したシフト量を用いて自動シフト処理を行う場合について説明したが、これに限られない。例えば、前述のように電子修正テープ5は紙媒体70に対し大きく傾けて使用されることが多く、その傾き具合は概ね電子修正テープ5の種類により一意的に定まることが多い。すなわち、修正領域WEの位置ずれ量も電子修正テープ5の種類により概ね一意的に定まることとなる。そこで本変形例では、電子修正テープ5に係る筆記具ID「ID2」に予め関連付けられたシフト量を用いてシフト処理を行う。
(2) When Shift Processing is Performed Using a Preset Shift Amount In the above-described embodiment, a case has been described in which automatic shift processing is performed using a calculated shift amount, but the present invention is not limited to this. For example, as described above, the electronic correction tape 5 is often used with a large inclination with respect to the paper medium 70, and the inclination is often uniquely determined by the type of the electronic correction tape 5. That is, the amount of misalignment of the correction area WE is also uniquely determined depending on the type of the electronic correction tape 5. Therefore, in the present modification, a shift process is performed using a shift amount associated in advance with the writing instrument ID “ID2” associated with the electronic correction tape 5.

以下、図12を参照しつつ、本変形例における、操作端末4のCPU401が電子筆記処理プログラムに基づき実行する制御手順について説明する。   Hereinafter, the control procedure executed by the CPU 401 of the operation terminal 4 based on the electronic writing process program in the present modification will be described with reference to FIG.

図12において、ステップS10〜S70,S160,S180は、上記図10と同様であり、ステップS70で、CPU401が、修正方向を判定したら、ステップS135に移る。   12, steps S10 to S70, S160, and S180 are the same as those in FIG. 10 described above. When the CPU 401 determines the correction direction in step S70, the process proceeds to step S135.

ステップS135では、CPU401は、上記ステップS30で取得された修正領域WEのストロークデータに係る筆記具ID「ID2」に対し予め関連付けられた、上記ステップS70で判定された修正方向に対応したシフト量を例えばメモリ404から取得する。   In step S135, the CPU 401 calculates the shift amount corresponding to the correction direction determined in step S70 previously associated with the writing tool ID “ID2” related to the stroke data of the correction area WE acquired in step S30. Obtained from the memory 404.

そして、ステップS140′で、CPU401は、この時点までに上記ステップS30で取得されているストロークデータのうち、上記修正領域WEのストロークデータの位置から、上記ステップS135で取得されたシフト量だけ離反した位置にある文字等のストロークデータを、上記上塗り処理対象とするストロークデータとして決定する。このステップS140′の手順が、各請求項記載の決定手順に相当する。   In step S140 ′, the CPU 401 has moved away from the position of the stroke data in the correction area WE among the stroke data acquired in step S30 up to this point by the shift amount acquired in step S135. Stroke data such as a character at a position is determined as the stroke data to be overcoated. The procedure of step S140 ′ corresponds to the determination procedure described in each claim.

その後、ステップS150′で、CPU401は、上記ステップS135で取得されたシフト量で、上記ステップS30で取得された修正領域WEのストロークデータをシフト処理し、当該修正領域WEのストロークデータの位置を、上記ステップS140′で決定された上塗り処理対象とするストロークデータの位置と重畳させる。このステップS150′の手順が、各請求項記載の第1シフト処理手順に相当する。その後のステップS160は、上記図10と同様である。   Thereafter, in step S150 ′, the CPU 401 shifts the stroke data of the correction area WE acquired in step S30 with the shift amount acquired in step S135, and determines the position of the stroke data in the correction area WE. The position is superimposed on the position of the stroke data to be overcoated in step S140 ′. The procedure of step S150 ′ corresponds to the first shift processing procedure described in each claim. The subsequent step S160 is the same as in FIG.

本変形例によれば、確実に修正領域WEの位置ずれ分の補正を行って、修正領域WEのストロークデータの位置を上塗り処理対象とするストロークデータの位置へ重畳させることができる。   According to this modification, it is possible to surely correct the positional deviation of the correction area WE and superimpose the position of the stroke data in the correction area WE on the position of the stroke data to be overcoated.

(3)紙媒体上での消し残し部分の消去処理を行う場合
すなわち、操作者が電子修正テープ5を用いて紙媒体70上の修正対象とする文字等を白色上塗りしたときに、その白色上塗りからはみ出した部分(いわゆる消し残し部分)がある場合に、当該消し残り部分に対応したストロークデータ(又はこれに基づき生成された画像)を消去処理してもよい。
(3) When erasing the unerased portion on the paper medium, that is, when the operator uses the electronic correction tape 5 to apply a character or the like to be corrected on the paper medium 70 as a white overcoat When there is a part that protrudes (so-called unerased part), the stroke data corresponding to the unerased part (or an image generated based on this) may be erased.

以下、図13を参照しつつ、本変形例における、操作端末4のCPU401が電子筆記処理プログラムに基づき実行する制御手順について説明する。   Hereinafter, the control procedure executed by the CPU 401 of the operation terminal 4 based on the electronic writing process program in the present modification will be described with reference to FIG.

図13において、ステップS10〜S180は、上記図10と同様であり、ステップS160で、CPU401が、上記ステップS150でシフト処理された修正領域WEのストロークデータにより位置が重畳された部分の上塗り処理対象とするストロークデータに基づく画像を非表示化する消去処理を行ったら、ステップS162に移る。   In FIG. 13, steps S10 to S180 are the same as those in FIG. 10. In step S160, the CPU 401 performs the overcoating process of the portion where the position is superimposed by the stroke data of the correction area WE shifted in step S150. When the erasing process for hiding the image based on the stroke data is performed, the process proceeds to step S162.

ステップS162では、CPU401は、修正領域WEのストロークデータにより位置が重畳された上塗り処理対象とするストロークデータを含む、上記ステップS80で文字認識された文字等のストロークデータに基づき、上塗り処理対象とするストロークデータ(上記修正対象とする文字等のストロークデータ)のうち、修正領域WEのストロークデータの位置と重畳されておらず、上記ステップS160で消去処理されていないストロークデータ(上記消し残し部分のストロークデータ)があるか否かを判定する。消し残し部分のストロークデータがある場合には、ステップS162の判定が満たされ、ステップS164に移る。本変形例では、上記ステップS80の手順が、文字認識手順に相当する。   In step S162, the CPU 401 sets the top coat processing target based on the stroke data such as the character recognized in step S80, including the stroke data that is the top coat processing target whose position is superimposed by the stroke data of the correction area WE. Of the stroke data (stroke data of characters etc. to be corrected), the stroke data that is not superimposed on the position of the stroke data in the correction area WE and has not been erased in step S160 (the stroke of the unerased portion) Data) is determined. If there is unerased portion stroke data, the determination at step S162 is satisfied, and the routine goes to step S164. In this modification, the procedure of step S80 corresponds to a character recognition procedure.

ステップS164では、CPU401は、消し残し部分のストロークデータに基づく画像を非表示化する消去処理を行う。なお、CPU401は、上記非表示化すると共に、消し残し部分のストロークデータをRAM403から削除する、消去処理を行ってもよい。このステップS164の手順が、各請求項記載の第2消去処理手順に相当する。その後、上記ステップS30に戻り同様の手順を繰り返す。   In step S164, the CPU 401 performs an erasing process for hiding the image based on the stroke data of the unerased portion. Note that the CPU 401 may perform the erasure process in which the stroke data of the unerased portion is deleted from the RAM 403 while being hidden. The procedure of step S164 corresponds to the second erasure processing procedure described in each claim. Thereafter, the process returns to step S30 and the same procedure is repeated.

一方、上記ステップS162において、消し残し部分のストロークデータがない場合には、ステップS162の判定は満たされず、上記ステップS30に戻り同様の手順を繰り返す。   On the other hand, if there is no stroke data for the unerased portion in step S162, the determination in step S162 is not satisfied, and the same procedure is repeated by returning to step S30.

本変形例によれば、操作者が電子修正テープ5を用いて修正対象とする文字等を白色上塗りしたときに、その白色上塗りからはみ出した部分(消し残し部分)があったとしても、電子データ上においては、当該消し残し部分のストロークデータに基づき生成された画像を削除したり表示しないようにすることができる。この結果、実際の紙媒体70上における操作者の不手際を、電子データ上においては自動的に解消することができ、さらに利便性を向上することができる。   According to this modification, even if there is a portion (an unerased portion) that protrudes from the white topcoat when the operator uses the electronic correction tape 5 to apply a character or the like to be corrected in white overcoat, the electronic data Above, it is possible not to delete or display an image generated based on the stroke data of the unerased portion. As a result, the operator's omission on the actual paper medium 70 can be automatically resolved on the electronic data, and the convenience can be further improved.

(4)他の修正具や着色具を用いる場合
上記実施形態等では、テープ転写型の修正具である電子修正テープ5を用いた場合について説明したが、これに限られない。例えば、容器型の修正具やペン型の修正具(いわゆる修正ペン)等を用いてもよい。この場合も、上記実施形態等と同様の効果を得ることができる。
(4) When Using Other Correction Tools and Coloring Tools In the above-described embodiment and the like, the case where the electronic correction tape 5 that is a tape transfer type correction tool is used has been described. For example, a container-type correction tool or a pen-type correction tool (so-called correction pen) may be used. Also in this case, the same effect as the above-described embodiment can be obtained.

あるいは、修正具に加えて又は代えて、紙媒体70に記載済みの文字や図像及びその周囲を透過性色彩で着色する着色具(いわゆる蛍光ペン)を用いてもよい。着色具を用いる場合には、操作者は、紙媒体70に記載済みの文字等のうち着色対象とする文字等に対応する、紙媒体70上の部分に、透過性の帯状着色領域(上塗り用図像に相当)を記入することで、着色対象とする文字等を着色することができる。   Alternatively, in addition to or in place of the correction tool, a coloring tool (a so-called highlighter pen) that colors characters and images already described on the paper medium 70 and the periphery thereof with a transparent color may be used. When using a coloring tool, the operator places a transparent band-like colored region (for overcoating) on the portion on the paper medium 70 corresponding to the character to be colored among the characters already described on the paper medium 70. By writing (equivalent to the icon), characters or the like to be colored can be colored.

着色具も、上記電子修正テープ5等の修正具と同様、紙媒体70に対し大きく傾けて使用されることが多い。このため、実際の紙媒体70上では、着色対象とする文字等に重なるように着色具により正しく上塗りが行われているにも係わらず、電子データ上では、着色対象とする文字等のストロークデータの位置に対し、着色具による上塗り部分のストロークデータの位置が(正しく重畳せず)ずれてしまう可能性がある。   The coloring tool is also often used with a large inclination with respect to the paper medium 70, like the correction tool such as the electronic correction tape 5 described above. For this reason, on the actual paper medium 70, the stroke data of the character or the like to be colored is displayed on the electronic data even though the overpainting is correctly performed by the coloring tool so as to overlap the character or the like to be colored. There is a possibility that the position of the stroke data of the overcoating portion by the coloring tool is shifted (not correctly superimposed) with respect to this position.

したがって、前述のようにしてRAM403に記憶されるストロークデータに基づき、着色具により紙媒体70に記入されている上記帯状着色領域が検出されたら、上記実施形態等と同様の手法を行うことで、上記位置ずれが解消され、電子データ上においても、上記帯状着色領域のストロークデータの位置と、上記着色対象とする文字等のストロークデータの位置とを重畳させることができる。この結果、操作者による透過性の着色の意図を反映した、正しい電子データ化を行うことができるので、利便性を向上することができる。   Therefore, if the above-mentioned band-like colored area written in the paper medium 70 is detected by the coloring tool based on the stroke data stored in the RAM 403 as described above, the same method as in the above-described embodiment is performed. The positional deviation is eliminated, and the position of the stroke data of the band-shaped colored region and the position of the stroke data of the character or the like to be colored can be superimposed on the electronic data. As a result, correct electronic data reflecting the intention of transparent coloring by the operator can be performed, so that convenience can be improved.

(5)その他
以上の説明において、「垂直」「平行」「平面」等の記載がある場合には、当該記載は厳密な意味ではない。すなわち、それら「垂直」「平行」「平面」等とは、設計上、製造上の公差、誤差が許容され、「実質的に垂直」「実質的に平行」「実質的に平面」等という意味である。
(5) Others In the above description, when there are descriptions such as “vertical”, “parallel”, and “plane”, the descriptions are not strict. That is, the terms “vertical”, “parallel”, “plane”, etc., allow tolerances and errors in design and mean “substantially vertical”, “substantially parallel”, “substantially plane”, etc. It is.

また、以上の説明において、外観上の寸法や大きさが「同一」「等しい」「異なる」等の記載がある場合は、当該記載は厳密な意味ではない。すなわち、それら「同一」「等しい」「異なる」等とは、設計上、製造上の公差、誤差が許容され、「実質的に同一」「実質的に等しい」「実質的に異なる」等という意味である。但し、例えばしきい値や基準値等、所定の判定基準となる値あるいは区切りとなる値の記載がある場合は、それらに対しての「同一」「等しい」「異なる」等は、上記とは異なり、厳密な意味である。   In addition, in the above description, when there are descriptions such as “same”, “equal”, “different”, etc., in terms of external dimensions and sizes, the descriptions are not strict. That is, the terms “same”, “equal”, “different”, etc. mean that “tolerance and error in design and manufacturing are allowed”, “substantially the same”, “substantially equal”, “substantially different”, etc. It is. However, if there is a description of a value that becomes a predetermined judgment criterion or a value that becomes a delimiter, such as a threshold value or a reference value, for example, “same”, “equal”, “different”, etc. It is different and has a strict meaning.

また、図2及び図5中に示す矢印は、信号の流れの一例を示すものであり、信号の流れ方向を限定するものではない。   The arrows shown in FIGS. 2 and 5 show an example of the signal flow, and do not limit the signal flow direction.

また、図10〜図13に示すフローチャートやルーチンは、本発明を図示する手順に限定するものではなく、発明の趣旨及び技術的思想を逸脱しない範囲内で手順の追加・削除又は順番の変更等をしてもよい。   Also, the flowcharts and routines shown in FIGS. 10 to 13 are not intended to limit the present invention to the procedures illustrated, but to add or delete procedures or change the order without departing from the spirit and technical idea of the invention. You may do.

また、以上既に述べた以外にも、上記実施形態や各変形例による手法を適宜組み合わせて利用してもよい。   In addition to those already described above, the methods according to the above-described embodiments and modifications may be used in appropriate combination.

その他、一々例示はしないが、本発明は、その趣旨を逸脱しない範囲内において、種々の変更が加えられて実施されるものである。   In addition, although not illustrated one by one, the present invention is implemented with various modifications within a range not departing from the gist thereof.

2 電子筆記装置
3 電子ペン(筆記具)
4 操作端末
5 電子修正テープ(修正具、筆記具)
70 紙媒体(被筆記媒体)
401 CPU(演算手段)
WE 修正領域(上塗り用図像)
2 Electronic writing device 3 Electronic pen (writing instrument)
4 Operation terminal 5 Electronic correction tape (correction tool, writing instrument)
70 Paper media (written media)
401 CPU (calculation means)
WE correction area (image for overcoating)

Claims (6)

被筆記媒体に対する筆記具の移動に伴う前記筆記具の複数の位置データを含み前記筆記具による前記被筆記媒体への記載に対応したストロークデータを通信により送信する電子筆記装置に、情報送受信可能に接続された操作端末の演算手段に対し、
前記電子筆記装置から前記ストロークデータを受信する受信手順と、
前記受信手順で受信した前記ストロークデータを記憶する記憶手順と、
前記記憶手順で記憶された前記ストロークデータに基づき、前記被筆記媒体に記入された上塗り用図像を検出する検出手順と、
前記検出手順で前記上塗り用図像が検出された場合に、前記記憶手順で記憶された前記ストロークデータのうち、上塗り処理対象とする第1ストロークデータを決定する決定手順と、
前記記憶手順で記憶された、前記上塗り用図像に対応する第2ストロークデータを、前記第1ストロークデータの位置に対応させてシフト処理し、当該第1ストロークデータと重畳させる第1シフト処理手順と、
を実行させるための電子筆記処理プログラム。
An electronic writing device that includes a plurality of position data of the writing tool accompanying movement of the writing tool relative to the writing medium and that transmits stroke data corresponding to the writing on the writing medium by the writing tool is connected to be able to transmit and receive information. For the calculation means of the operation terminal,
A receiving procedure for receiving the stroke data from the electronic writing device;
A storage procedure for storing the stroke data received in the reception procedure;
Based on the stroke data stored in the storage procedure, a detection procedure for detecting a topcoat image written on the writing medium;
A determination procedure for determining first stroke data to be overcoated among the stroke data stored in the storage procedure when the top coating image is detected in the detection procedure;
A first shift processing procedure in which the second stroke data corresponding to the topcoat image stored in the storage procedure is shifted in correspondence with the position of the first stroke data and superimposed on the first stroke data; ,
Electronic writing processing program to execute.
請求項1記載の電子筆記処理プログラムにおいて、
前記受信手順では、
前記第2ストロークデータに対応した前記筆記具の種類を表す識別情報を取得し、
前記第1シフト処理手順では、
前記受信手順で取得された前記識別情報に対し予め関連づけられたシフト量で、前記シフト処理を行う
ことを特徴とする電子筆記処理プログラム。
The electronic writing processing program according to claim 1,
In the reception procedure,
Obtaining identification information indicating the type of the writing instrument corresponding to the second stroke data;
In the first shift processing procedure,
An electronic writing processing program, wherein the shift process is performed with a shift amount associated in advance with the identification information acquired in the reception procedure.
請求項1又は請求項2記載の電子筆記処理プログラムにおいて、
前記検出手順では、
前記被筆記媒体に記載済みの文字又は図像を白色上塗りするための修正具、若しくは、前記被筆記媒体に記載済みの文字又は図像及びその周囲を透過性色彩で着色する着色具、により記入されている前記上塗り用図像を検出する
ことを特徴とする電子筆記処理プログラム。
In the electronic writing processing program according to claim 1 or claim 2,
In the detection procedure,
Filled in with a correction tool for overcoating white characters or images already written on the writing medium, or a coloring tool for coloring the characters or images already written on the writing medium and its surroundings with a transparent color An electronic writing processing program for detecting an overcoating image.
請求項1乃至請求項3のいずれか1項記載の電子筆記処理プログラムにおいて、
前記演算手段に対し、さらに、
前記第2ストロークデータに対するシフト操作を受け付けるシフト受付手順と、
前記シフト受付手順で受け付けた前記シフト操作の操作量に対応したシフト量で、前記第2ストロークデータをシフト処理する第2シフト処理手順と、
を実行させることを特徴とする電子筆記処理プログラム。
In the electronic writing processing program according to any one of claims 1 to 3,
For the calculation means,
A shift acceptance procedure for accepting a shift operation for the second stroke data;
A second shift processing procedure for shifting the second stroke data with a shift amount corresponding to the operation amount of the shift operation received in the shift reception procedure;
An electronic writing processing program characterized in that is executed.
請求項1乃至請求項4のいずれか1項記載の電子筆記処理プログラムにおいて、
前記演算手段に対し、さらに、
第1シフト処理手順又は第2シフト処理手順でシフト処理された前記第2ストロークデータによって重畳された前記第1ストロークデータ、若しくは、当該第1ストロークデータに基づき生成された画像を、消去処理する第1消去処理手順を実行させることを特徴とする電子筆記処理プログラム。
In the electronic writing processing program according to any one of claims 1 to 4,
For the calculation means,
The first stroke data superimposed by the second stroke data shifted by the first shift processing procedure or the second shift processing procedure or an image generated based on the first stroke data is erased. 1. An electronic writing processing program for executing an erasing processing procedure.
請求項5記載の電子筆記処理プログラムにおいて、
前記演算手段に対し、さらに、
前記第2ストロークデータによって重畳された前記第1ストロークデータに基づき文字認識処理を行う文字認識手順と、
前記文字認識手順により文字認識された前記第1ストロークデータであって、前記第1消去処理手順で消去処理されていないストロークデータがある場合、当該ストロークデータ若しくは当該ストロークデータに基づき生成された画像を、消去処理する第2消去処理手順と、
を実行させることを特徴とする電子筆記処理プログラム。
In the electronic writing processing program according to claim 5,
For the calculation means,
A character recognition procedure for performing character recognition processing based on the first stroke data superimposed by the second stroke data;
When there is stroke data that has been character-recognized by the character recognition procedure and has not been erased by the first erase processing procedure, the stroke data or an image generated based on the stroke data is displayed. A second erasing process procedure for erasing,
An electronic writing processing program characterized in that is executed.
JP2015062273A 2015-03-25 2015-03-25 Electronic writing processing program Pending JP2016181213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015062273A JP2016181213A (en) 2015-03-25 2015-03-25 Electronic writing processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015062273A JP2016181213A (en) 2015-03-25 2015-03-25 Electronic writing processing program

Publications (1)

Publication Number Publication Date
JP2016181213A true JP2016181213A (en) 2016-10-13

Family

ID=57132763

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015062273A Pending JP2016181213A (en) 2015-03-25 2015-03-25 Electronic writing processing program

Country Status (1)

Country Link
JP (1) JP2016181213A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110045840A (en) * 2019-04-15 2019-07-23 广州视源电子科技股份有限公司 A kind of associated method, apparatus of handwriting trace, terminal device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110045840A (en) * 2019-04-15 2019-07-23 广州视源电子科技股份有限公司 A kind of associated method, apparatus of handwriting trace, terminal device and storage medium
CN110045840B (en) * 2019-04-15 2023-07-18 广州视源电子科技股份有限公司 Writing track association method, device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
KR100673005B1 (en) Input Device Having the Function of Recognizing Hybrid Coordinates and Operating Method of the Same
US20140368453A1 (en) Handwriting input apparatus, non-transitory computer-readable storage medium and control method
EP2866204B1 (en) Apparatus and method for digital image processing
WO2013015283A1 (en) Electronic writing device and electronic writing system
US8467952B2 (en) Map generating device, and memory medium storing map generating program
JP5353219B2 (en) Board writing system, computer apparatus and program
US20160370986A1 (en) Hand-written recording device and hand-written recording method
KR20160045536A (en) Electronic pen, electronic device associated with electronic pen and method for controlling electronic device
US8913043B2 (en) Electronic writing apparatus, non-transitory recording medium, and electronic writing system
KR20160045539A (en) Electronic pen
JP4894905B2 (en) Information processing system and display processing program
WO2013039205A1 (en) Electronic writing apparatus and electronic writing processing program
US9811177B2 (en) Electronic writing device
US20140157119A1 (en) Apparatus and method for editing memo in user terminal
JP2016181213A (en) Electronic writing processing program
JP2014191662A (en) Correction device
JP2016162073A (en) Electronic writing processing program
JP2016024684A (en) Data processor and data processing program
JP2010055322A (en) Handwriting input system
JP5413315B2 (en) Information processing system and display processing program
JP5157973B2 (en) Projection input / output system and program thereof
CN111886567B (en) Operation input device, operation input method, and computer-readable recording medium
JP6468151B2 (en) Writing processing program and electronic writing apparatus
JP6315271B2 (en) Electronic writing apparatus, electronic writing processing program, and data processing method
JP2012068759A (en) Display device and display control program