JP2006309505A - Terminal unit, program, and document for electronic pen - Google Patents

Terminal unit, program, and document for electronic pen Download PDF

Info

Publication number
JP2006309505A
JP2006309505A JP2005131274A JP2005131274A JP2006309505A JP 2006309505 A JP2006309505 A JP 2006309505A JP 2005131274 A JP2005131274 A JP 2005131274A JP 2005131274 A JP2005131274 A JP 2005131274A JP 2006309505 A JP2006309505 A JP 2006309505A
Authority
JP
Japan
Prior art keywords
stroke
unit
graphic
area
electronic pen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005131274A
Other languages
Japanese (ja)
Other versions
JP2006309505A5 (en
JP4583232B2 (en
Inventor
Miyuki Irikawa
深雪 入川
Takahiro Izeki
貴博 井関
Soichi Tsurukawa
聡一 鶴川
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2005131274A priority Critical patent/JP4583232B2/en
Publication of JP2006309505A publication Critical patent/JP2006309505A/en
Publication of JP2006309505A5 publication Critical patent/JP2006309505A5/ja
Application granted granted Critical
Publication of JP4583232B2 publication Critical patent/JP4583232B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Character Discrimination (AREA)
  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an area calculation system for instantly calculating the area of a handwritten figure by utilizing an electronic pen and a document for the electronic pen. <P>SOLUTION: A user specifies a target figure by making an entry in the document 3 by using the electronic pen 10. A stroke entered in the document 3 is acquired by a terminal device 25 as entry information. The terminal device 25 extracts the stroke from the entry information. Then, the terminal device 25 specifies the target figure based on the extracted stroke. Further, the terminal device 25 calculates the number of unit figures included in the target figure, based on the positions of unit figures included in definition information. Then, the terminal device 25 calculates the area of the target figure, based on the number of unit figures included in the target figure and the area of the unit figure included in the definition information. As a result, by utilizing the electronic pen and the document for it, the area of the handwritten figure can be calculated instantly. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、電子ペン用帳票に記入された図形の面積を算出するための技術に関する。   The present invention relates to a technique for calculating the area of a graphic entered on a form for an electronic pen.

CAD(Computer Aided Design)などで作成した図形は、デジタルデータであるため容易に面積を算出することができる(例えば、特許文献1)。一方、手書きの図形は、フリーハンドデータであるため、デジタルデータと異なり容易に面積を算出することができない。   Since a graphic created by CAD (Computer Aided Design) or the like is digital data, the area can be easily calculated (for example, Patent Document 1). On the other hand, since a handwritten figure is freehand data, the area cannot be easily calculated unlike digital data.

このような手書きの図形の面積を算出する方法としては、従来から、当該図形をスキャナによってデジタル画像として取り込んだ後に算出する方法や、当該図形を方眼用紙にトレースしておおまかな面積を算出する方法などが知られている。しかし、このような従来の方法では、時間と手間がかかる上に、面積値の厳密性を欠くという問題が生じていた。   As a method for calculating the area of such a handwritten figure, conventionally, a method for calculating after drawing the figure as a digital image by a scanner, or a method for calculating a rough area by tracing the figure on a graph paper Etc. are known. However, such a conventional method has a problem that it takes time and labor and lacks the strictness of the area value.

一方、近年、「電子ペン」、「デジタルペン」などと呼ばれるペン型入力デバイスが登場しており(以下、本明細書では「電子ペン」と呼ぶ。)、その代表的なものとしてスウェーデンのAnoto社が開発した「アノトペン(Anoto pen)」が知られている。アノトペンは、所定のドットパターンが印刷された専用紙(以下、「専用ペーパー」と呼ぶ。)とペアで使用される。アノトペンは、通常のインクタイプのペン先部に加えて、専用紙上のドットパターンを読み取るための小型カメラと、データ通信ユニットを搭載している。利用者が専用紙上にアノトペンで文字などを書いたり、専用紙上に図案化されている画像をチェックしたりすると、ペンの移動に伴って小型カメラが専用紙上のドットパターンを検出し、利用者が書き込んだ文字、画像などの記入データ(「ストロークデータ」ともいう)が取得される。この記入データが、データ通信ユニットによりアノトペンから近くのパーソナルコンピュータや携帯電話などの端末装置に送信される。このアノトペンを利用したシステムは、キーボードに代わる入力デバイスとして利用することが可能であり、上述のパーソナルコンピュータやキーボードの使用に抵抗がある利用者にとっては非常に使いやすい。   On the other hand, in recent years, pen-type input devices called “electronic pens”, “digital pens” and the like have appeared (hereinafter referred to as “electronic pens” in this specification). “Anoto pen” developed by the company is known. Anotopen is used in a pair with dedicated paper (hereinafter referred to as “dedicated paper”) on which a predetermined dot pattern is printed. In addition to the normal ink-type pen tip, the Anoto pen is equipped with a small camera for reading the dot pattern on the dedicated paper and a data communication unit. When a user writes characters on the special paper with an anotopen or checks an image that is designed on the special paper, the small camera detects the dot pattern on the special paper as the pen moves, and the user Entry data (also referred to as “stroke data”) such as written characters and images is acquired. This entry data is transmitted from the Anotopen to a terminal device such as a nearby personal computer or mobile phone by the data communication unit. The system using this anotopen can be used as an input device in place of the keyboard, and is very easy to use for users who are reluctant to use the personal computer and keyboard described above.

そこで、電子ペンを利用して、電子ペン用帳票に記入した図形の面積を容易且つ即時に算出することができれば便利である。   Therefore, it would be convenient if the area of the graphic entered on the electronic pen form could be calculated easily and immediately using the electronic pen.

特開平6−274622号公報JP-A-6-274622

本発明は、以上の点に鑑みてなされたものであり、電子ペン及び電子ペン用帳票を利用して、手書き図形の面積を容易且つ即時に算出することができる面積算出システムを提供することを課題とする。   This invention is made in view of the above point, and provides the area calculation system which can calculate the area of a handwritten figure easily and immediately using the electronic pen and the electronic pen form. Let it be an issue.

本発明の1つの観点では、電子ペンにより認識可能なドットパターンが印刷された電子ペン用帳票に記入された図形の面積を算出する端末装置であって、前記帳票は、図形の面積を算出する基準となる単位図形が定義されたものであって、前記端末装置は、前記帳票に定義された単位図形の位置及び面積に関する定義情報を記憶する定義情報記憶手段と、前記帳票に記入された記入情報を取得する記入情報取得手段と、前記記入情報から、前記電子ペンにより1回の動作で記入されたストロークを抽出するストローク抽出手段と、前記ストロークに基づいて、面積を算出する対象となる対象図形を特定する対象図形特定手段と、前記定義情報に含まれる単位図形の位置に基づいて、前記対象図形に含まれる単位図形の個数を算出する個数算出手段と、前記個数及び前記定義情報に含まれる単位図形の面積に基づいて、前記対象図形の面積を算出する面積算出手段と、を備える。   One aspect of the present invention is a terminal device that calculates the area of a graphic entered in an electronic pen form printed with a dot pattern that can be recognized by an electronic pen, wherein the form calculates the area of the figure. A unit graphic as a reference is defined, and the terminal device includes definition information storage means for storing definition information regarding the position and area of the unit graphic defined in the form, and an entry entered in the form Entry information acquisition means for acquiring information; stroke extraction means for extracting a stroke written by the electronic pen from the entry information in one operation; and an object for calculating an area based on the stroke Number calculation for calculating the number of unit graphics included in the target graphic based on the target graphic specifying means for specifying the graphic and the position of the unit graphic included in the definition information Comprising stages and the number and based on the area of unit figures contained in the definition information, and a surface area calculating means for calculating the area of the object graphic.

上記のように構成された端末装置とは、電子ペンからのデータの受信が可能なPC等であり、クライアント端末のみならずサーバも含む広い概念であるものとする。利用者は、面積を算出したい図形を、電子ペンを使用して帳票に記入する。即ち、電子ペンで記入したストロークにより、対象図形を指定する。帳票上に記入されたストロークは、記入情報として端末装置に取得される。端末装置は、記入情報からストロークを抽出する。ここで、ストロークとは、一筆で記入する線分のことをいう。換言すると、電子ペンにより1回の動作で記入された線分や記号、文字等のことをいう。そして、端末装置は、抽出したストロークに基づいて対象図形を特定する。さらに、端末装置は、定義情報に含まれる単位図形の位置に基づいて、対象図形に当該単位図形が何個含まれるかを算出する。そして、端末装置は、対象図形に含まれる単位図形の個数と、定義情報に含まれる単位図形の面積とに基づいて、当該対象図形の面積を算出する。これによれば、電子ペン及び電子ペン用帳票を利用して、手書き図形の面積を即時に算出することができる。
上記端末装置の一態様では、前記個数算出手段は、前記定義テーブルに含まれる単位図形の位置に基づいて、前記対象図形に全て含まれる単位図形の個数である第1全体個数を算出する第1全体個数算出手段と、前記定義テーブルに含まれる単位図形の位置に基づいて、前記対象図形に一部含まれる単位図形の個数である第1部分個数を算出する第1部分個数算出手段と、をさらに備え、前記面積算出手段は、前記第1全体個数、前記第1部分個数及び前記定義情報に含まれる単位図形の面積に基づいて、前記対象図形の面積を算出する。これによれば、端末装置は、対象図形に全てが含まれる単位図形の個数である第1全体個数と、対象図形に一部が含まれる単位図形の個数である第1部分個数とを別々に算出している。よって、より詳細な面積値を算出することが可能となる。
The terminal device configured as described above is a PC or the like that can receive data from the electronic pen, and has a broad concept including not only a client terminal but also a server. The user enters a figure whose area is to be calculated on a form using an electronic pen. That is, the target graphic is designated by the stroke entered with the electronic pen. The stroke entered on the form is acquired by the terminal device as entry information. The terminal device extracts a stroke from the entry information. Here, the stroke means a line segment to be entered with a single stroke. In other words, it means a line segment, a symbol, a character, or the like entered by a single operation with the electronic pen. Then, the terminal device identifies the target graphic based on the extracted stroke. Further, the terminal device calculates how many unit graphics are included in the target graphic based on the position of the unit graphic included in the definition information. Then, the terminal device calculates the area of the target graphic based on the number of unit graphics included in the target graphic and the area of the unit graphic included in the definition information. According to this, the area of a handwritten figure can be calculated immediately using the electronic pen and the electronic pen form.
In one aspect of the terminal device, the number calculating means calculates a first total number that is the number of unit graphics that are all included in the target graphic, based on the position of the unit graphic included in the definition table. Total number calculating means; and first part number calculating means for calculating a first part number that is the number of unit graphics partially included in the target graphic based on the position of the unit graphic included in the definition table. Further, the area calculating means calculates the area of the target graphic based on the first total number, the first partial number, and the area of the unit graphic included in the definition information. According to this, the terminal device separately determines the first total number that is the number of unit graphics that are all included in the target graphic and the first partial number that is the number of unit graphics that are partially included in the target graphic. Calculated. Therefore, it becomes possible to calculate a more detailed area value.

上記端末装置の他の一態様では、前記ストロークの座標データに基づいて、当該ストロークの始点の位置座標を特定する始点特定手段と、前記ストロークの座標データに基づいて、当該ストロークの終点の位置座標を特定する終点特定手段と、前記ストローク抽出手段が抽出したストローク数を特定するストローク数特定手段と、前記ストローク数特定手段が特定したストローク数が1本であるか否かを判定するストローク数判定手段と、前記ストローク数判定手段が1本であると判定した場合に、前記ストロークの始点及び終点が結合しているか否かを判定する結合判定手段と、前記結合判定手段が結合していないと判定した場合に、前記ストロークの始点及び終点を直線で結ぶことで前記ストロークの補正を行う第1補正手段と、をさらに備え、前記対象図形特定手段は、前記補正手段による補正後のストロークに基づいて、前記対象図形を特定する。   In another aspect of the terminal device, the start point specifying means for specifying the position coordinate of the start point of the stroke based on the coordinate data of the stroke, and the position coordinate of the end point of the stroke based on the coordinate data of the stroke End point specifying means for specifying the stroke number, stroke number specifying means for specifying the number of strokes extracted by the stroke extracting means, and stroke number determination for determining whether or not the number of strokes specified by the stroke number specifying means is one. And the combination determining means for determining whether or not the start point and the end point of the stroke are combined when it is determined that the number of strokes and the stroke number determining means are one, and the combination determining means are not combined And a first correction unit that corrects the stroke by connecting the start point and end point of the stroke with a straight line. Wherein the object graphic specifying means, on the basis of the stroke after correction by the correction means, for specifying the object graphic.

上記のように構成された端末装置は、記入情報から抽出したストロークの始点及び終点の位置座標を特定する。また、記入情報から抽出したストロークの本数を特定する。そして、ストロークの本数が1本である場合、端末装置は、当該ストロークの始点及び終点が結合しているか否かを判定する。さらに、始点及び終点が結合していないと判定した場合、端末装置は、当該始点及び終点を直接で結合することにより第1補正を行う。端末装置は、補正後のストロークに基づいて、対象図形の特定を行い、当該対象図形の面積を算出する。これによれば、始点及び終点が結合していない図形であっても、補正を行うことで、的確に対象図形を特定することができる。   The terminal device configured as described above specifies the position coordinates of the start point and end point of the stroke extracted from the entry information. Also, the number of strokes extracted from the entry information is specified. When the number of strokes is one, the terminal device determines whether the start point and the end point of the stroke are combined. Furthermore, when it is determined that the start point and the end point are not combined, the terminal device performs the first correction by directly combining the start point and the end point. The terminal device identifies the target graphic based on the corrected stroke, and calculates the area of the target graphic. According to this, even if it is a graphic in which the start point and the end point are not combined, the target graphic can be accurately specified by performing correction.

上記端末装置の他の一態様では、前記ストローク数判定手段が1本ではなく複数本であると判定した場合に、前記記入情報に含まれる時間情報に基づいて、前記ストローク抽出手段が抽出したストロークの記入順序を特定する順序特定手段と、前記記入順序に基づいて、最後以外のストロークの終点と、当該ストロークの次に記入されたストロークの始点とを直線で結ぶ第1結合手段と、前記記入順序に基づいて、最後のストロークの終点と、最初のストロークの始点とを直線で結ぶ第2結合手段と、第1結合手段及び第2結合手段により、前記ストロークの補正を行う第2補正手段と、をさらに備える。   In another aspect of the terminal device, when the stroke number determining unit determines that there are a plurality of strokes instead of one, the stroke extracted by the stroke extracting unit based on time information included in the entry information Order specifying means for specifying the order of entry, first joining means for connecting, based on the order of entry, an end point of a stroke other than the last and a start point of the stroke entered next to the stroke by a straight line, and the entry A second combination means for connecting the end point of the last stroke and the start point of the first stroke by a straight line based on the order; a second correction means for correcting the stroke by the first combination means and the second combination means; Are further provided.

上記のように構成された端末装置は、記入情報から抽出したストロークが複数本であると判定した場合に、時間情報に基づいて、各ストロークの記入順序を特定する。そして、最後に記入されたストローク以外のストロークの終点と、当該ストロークの次に記入されたストロークの始点とを直線で結合する。また、最後に記入されたストロークの終点と、最初に記入されたストロークの始点とを直線で結合する。このように、1つの対象図形を示すために、ストロークが複数本存在する場合であっても、記入順序に基づいて端末装置が補正を行うことで、的確に対象図形を特定することが可能となる。即ち、凹凸などが存在して帳票に記入しづらい状況であっても、補正を行うことで、的確に対象図形を特定することが可能となる。   When the terminal device configured as described above determines that there are a plurality of strokes extracted from the entry information, the terminal device specifies the entry order of each stroke based on the time information. Then, the end point of the stroke other than the last entered stroke and the start point of the stroke entered next to the stroke are joined with a straight line. In addition, the end point of the last entered stroke and the start point of the first entered stroke are connected with a straight line. In this way, even when there are a plurality of strokes to indicate one target graphic, the terminal device can correct the target graphic based on the order of entry, so that the target graphic can be accurately identified. Become. In other words, even if there are irregularities or the like and it is difficult to fill in the form, it is possible to accurately specify the target graphic by performing the correction.

上記端末装置の他の一態様では、前記ストローク数判定手段が1本ではなく複数本であると判定した場合に、前記ストローク抽出手段が抽出した各ストロークの始点及び終点の位置座標に基づいて、1本のストロークの始点と、最も近くに位置する他のストロークの終点とを直線で結ぶことで前記ストロークの補正を行う第2補正手段をさらに備える。   In another aspect of the terminal device, when it is determined that the number of strokes determination means is not one, but based on the position coordinates of the start point and end point of each stroke extracted by the stroke extraction means, The apparatus further comprises second correction means for correcting the stroke by connecting the start point of one stroke and the end point of another stroke located closest to each other by a straight line.

上記のように構成された端末装置は、記入情報から抽出したストロークが複数本であると判定した場合に、始点及び終点の位置座標に基づいて、1本のストロークの始点と、最も近くに位置する他のストロークの終点とを直線で結合する。このように、1つの対象図形を示すために、ストロークが複数本存在する場合であっても、記入位置に基づいて端末装置が補正を行うことで、的確に対象図形を特定することが可能となる。   When it is determined that there are a plurality of strokes extracted from the entry information, the terminal device configured as described above is positioned closest to the start point of one stroke based on the position coordinates of the start point and the end point. Connect with the end point of other strokes. In this way, even when there are a plurality of strokes to show one target graphic, the terminal device can correct the target graphic based on the entry position so that the target graphic can be accurately specified. Become.

上記端末装置の他の一態様では、前記帳票に定義された単位図形は不可視である。これによれば、対象図形を記入する利用者は、帳票から単位図形を視覚的に認識することはない。よって、単位図形に関わらず、自由に対象図形を指定することができる。   In another aspect of the terminal device, the unit graphic defined in the form is invisible. According to this, the user who fills in the target graphic does not visually recognize the unit graphic from the form. Therefore, the target graphic can be freely specified regardless of the unit graphic.

上記端末装置の他の一態様では、前記帳票は、さらに、前記単位図形よりも小さい小単位図形が定義されたものであり、前記定義情報記憶手段は、前記帳票に定義された単位図形及び小単位図形それぞれの位置及び面積に関する定義情報を記憶したものであって、前記端末装置は、前記対象図形の境界付近を拡大する拡大手段と、前記拡大した拡大対象図形を参照し、前記定義テーブルに含まれる小単位図形の位置に基づいて、前記拡大対象図形に全て含まれる小単位図形の個数である第2全体個数を算出する第2全体個数算出手段と、前記拡大対象図形を参照し、前記定義テーブルに含まれる小単位図形の位置に基づいて、前記拡大対象図形に一部含まれる小単位図形の個数である第2部分個数を算出する第2部分個数算出手段と、さらに備え、前記面積算出手段は、前記第1全体個数、前記第1部分個数、前記第2全体個数、前記第2部分個数、前記定義情報に含まれる単位図形の面積及び前記定義情報に含まれる小単位図形の面積に基づいて、前記対象図形の面積を算出する。   In another aspect of the terminal device, the form further defines a small unit figure smaller than the unit figure, and the definition information storage means includes the unit figure and small unit defined in the form. Definition information relating to the position and area of each unit graphic is stored, and the terminal device refers to the enlargement means for enlarging the vicinity of the boundary of the target graphic, and the enlarged graphic to be enlarged, in the definition table. A second overall number calculating means for calculating a second overall number that is the number of small unit graphics that are all included in the enlargement target graphic based on the position of the included small unit graphic; Second part number calculating means for calculating a second part number that is the number of small unit graphics partially included in the enlargement target graphic based on the position of the small unit graphic included in the definition table; and The area calculating means includes the first whole number, the first part number, the second whole number, the second part number, the area of the unit graphic included in the definition information, and the small number included in the definition information. Based on the area of the unit graphic, the area of the target graphic is calculated.

上記のように構成された端末装置において、帳票は予め単位図形のみならず、小単位図形も定義されている。端末装置は、定義情報に含まれる小単位図形の位置に基づいて、拡大対象図形に全て含まれる小単位図形の第2全体個数と、拡大対象図形に一部が含まれる小単位図形の第2部分個数とを算出する。そして、第2全体個数及び第2部分個数と、第1全体個数及び第1部分個数と、小単位図形の面積と、単位図形の面積と、に基づいて対象図形の面積を算出する。これによれば、小単位図形を使用することで、より厳密な面積値を算出することが可能となる。   In the terminal device configured as described above, the form defines not only unit graphics but also small unit graphics in advance. The terminal device, based on the position of the small unit graphic included in the definition information, the second total number of small unit graphics that are all included in the expansion target graphic and the second small unit graphic that is partially included in the expansion target graphic. The number of parts is calculated. Then, the area of the target graphic is calculated based on the second total number and the second partial number, the first total number and the first partial number, the area of the small unit graphic, and the area of the unit graphic. According to this, it is possible to calculate a more exact area value by using the small unit graphic.

本発明の別の観点では、電子ペンにより認識可能なドットパターンが印刷された電子ペン用帳票に記入された図形の面積を算出するコンピュータにより実行されるプログラムであって、前記帳票は、図形の面積を算出する基準となる単位図形が定義されたものであり、前記プログラムは、前記帳票に定義された単位図形の位置及び面積に関する定義情報を記憶する定義情報記憶手段、前記帳票に記入された記入情報を取得する記入情報取得手段、前記記入情報から、前記電子ペンにより1回の動作で記入されたストロークを抽出するストローク抽出手段、前記ストロークに基づいて、面積を算出する対象となる対象図形を特定する対象図形特定手段、前記定義情報に含まれる単位図形の位置に基づいて、前記対象図形に含まれる単位図形の個数を算出する個数算出手段、前記個数及び前記定義情報に含まれる単位図形の面積に基づいて、前記対象図形の面積を算出する面積算出手段、として前記コンピュータを機能させる。   In another aspect of the present invention, there is provided a program executed by a computer for calculating an area of a figure entered in an electronic pen form on which a dot pattern recognizable by the electronic pen is printed, the form being A unit graphic serving as a reference for calculating the area is defined, and the program is defined information storage means for storing definition information regarding the position and area of the unit graphic defined in the form, and is entered in the form An entry information acquisition means for obtaining entry information, a stroke extraction means for extracting a stroke entered by the electronic pen from the entry information in one operation, and an object figure for calculating an area based on the stroke A target graphic specifying means for specifying the unit graphic, the unit graphic included in the target graphic based on the position of the unit graphic included in the definition information Number calculating means for calculating a, based on the area of unit figures contained in the number and the definition information, area calculation means for calculating the area of the object graphic, as to function the computer.

上記プログラムをコンピュータにより実行することにより、上述の端末装置を実現することができる。また、上述の端末装置の各態様も同様に実現することができる。   By executing the above program by a computer, the above-described terminal device can be realized. Moreover, each aspect of the above-described terminal device can be realized in the same manner.

本発明のさらに別の観点では、インクペンユニット及び光学的にドットパターンを読み取る読取ユニットを備える電子ペンにより記入される電子ペン用帳票であって、前記電子ペンにより記入されたストロークに基づく図形の面積を算出するための基準となる単位図形が定義されている。これによれば、帳票には単位図形が定義されている。そのため、端末装置やサーバは、当該単位図形の位置及び面積に基づいて、帳票に記入された図形の面積を容易に算出することが可能となる。   In still another aspect of the present invention, there is provided an electronic pen form that is filled in by an electronic pen including an ink pen unit and a reading unit that optically reads a dot pattern, and an area of a figure based on a stroke filled in by the electronic pen A unit figure is defined as a reference for calculating. According to this, a unit graphic is defined in the form. Therefore, the terminal device or the server can easily calculate the area of the graphic entered in the form based on the position and area of the unit graphic.

上記帳票の一態様では、前記単位図形よりも小さい小単位図形がさらに定義されている。これによれば、小単位図形に基づいて、単位図形のみを使用するよりも厳密に面積値を算出することが可能となる。   In one aspect of the form, a small unit graphic smaller than the unit graphic is further defined. According to this, the area value can be calculated more strictly based on the small unit graphic than when only the unit graphic is used.

上記帳票のさらに他の一態様では、前記単位図形及び前記小単位図形は不可視である。これによれば、利用者は、単位図形及び小単位図形の境界線を視覚的に認識することができないため、単位図形及び小単位図形に関わらず自由に、面積を算出したい図形を記入することができる。   In yet another aspect of the form, the unit graphic and the small unit graphic are invisible. According to this, since the user cannot visually recognize the boundary line between the unit graphic and the small unit graphic, the user can freely enter the graphic whose area is to be calculated regardless of the unit graphic and the small unit graphic. Can do.

本発明によれば、電子ペン及び電子ペン用帳票を利用して、手書き図形の面積を即時に算出することができる。   ADVANTAGE OF THE INVENTION According to this invention, the area of a handwritten figure can be calculated immediately using an electronic pen and a form for electronic pens.

以下、図面を参照して本発明の好適な実施の形態について説明する。まず、本発明のシステムにおいて入力デバイスとして使用される電子ペンの概要について説明する。   Preferred embodiments of the present invention will be described below with reference to the drawings. First, an outline of an electronic pen used as an input device in the system of the present invention will be described.

[電子ペン]
図1は電子ペンの使用形態を模式的に示す図であり、図2は電子ペンの構造を示す機能ブロック図である。図1に示すように、電子ペン10は、ドットパターンが印刷された専用ペーパー20と組み合わせて使用される。電子ペン10は、通常のインクペンと同様のペン先部17を備えており、利用者は通常のインクペンと同様に専用ペーパー20上に文字などを書くことになる。
[Electronic pen]
FIG. 1 is a diagram schematically showing how the electronic pen is used, and FIG. 2 is a functional block diagram showing the structure of the electronic pen. As shown in FIG. 1, the electronic pen 10 is used in combination with a dedicated paper 20 on which a dot pattern is printed. The electronic pen 10 includes a pen tip portion 17 similar to a normal ink pen, and a user writes characters on the dedicated paper 20 in the same manner as a normal ink pen.

図2に示すように、電子ペン10は、その内部にプロセッサ11、メモリ12、データ通信ユニット13、バッテリー14、LED15、カメラ16及び圧力センサ18を備える。また、電子ペン10は通常のインクペンと同様の構成要素としてインクカートリッジ(図示せず)などを有する。   As shown in FIG. 2, the electronic pen 10 includes a processor 11, a memory 12, a data communication unit 13, a battery 14, an LED 15, a camera 16, and a pressure sensor 18 therein. The electronic pen 10 includes an ink cartridge (not shown) as a component similar to a normal ink pen.

電子ペン10は、ペン先部17により専用ペーパー20上に描かれたインクの軌跡をデータ化するのではなく、専用ペーパー20上で電子ペン10が移動した軌跡座標をデータ化する。LED15が専用ペーパー20上のペン先部17近傍を照明しつつ、カメラ16が専用ペーパー20に印刷されているドットパターンを読み取り、データ化する。つまり、電子ペン10は専用ペーパー20上で利用者が電子ペン10を移動させることにより生じるストロークを画像データ又はベクトルデータとして取得することができる。   The electronic pen 10 does not convert the locus of the ink drawn on the dedicated paper 20 by the pen tip unit 17, but converts the locus coordinates of the movement of the electronic pen 10 on the dedicated paper 20 into data. While the LED 15 illuminates the vicinity of the pen tip 17 on the dedicated paper 20, the camera 16 reads the dot pattern printed on the dedicated paper 20 and converts it into data. That is, the electronic pen 10 can acquire a stroke generated when the user moves the electronic pen 10 on the dedicated paper 20 as image data or vector data.

圧力センサ18は、利用者が電子ペン10により専用ペーパー上に文字などを書く際にペン先部17に与えられる圧力、即ち筆圧を検出し、プロセッサ11へ供給する。プロセッサ11は、圧力センサ18から与えられる筆圧データに基づいて、LED15及びカメラ16のスイッチオン/オフの切換を行う。即ち、利用者が電子ペン10で専用ペーパー20上に文字などを書くと、ペン先部17には筆圧がかかる。よって、所定値以上の筆圧が検出されたときに、利用者が記述を開始したと判定して、LED15及びカメラ16を作動する。   The pressure sensor 18 detects the pressure applied to the pen tip portion 17 when the user writes characters on the dedicated paper with the electronic pen 10, that is, the writing pressure, and supplies the detected pressure to the processor 11. The processor 11 switches the LED 15 and the camera 16 on and off based on the writing pressure data given from the pressure sensor 18. That is, when the user writes characters or the like on the dedicated paper 20 with the electronic pen 10, writing pressure is applied to the pen tip 17. Therefore, when the writing pressure exceeding the predetermined value is detected, it is determined that the user has started the description, and the LED 15 and the camera 16 are operated.

カメラ16は専用ペーパー20上のドットパターンを読み取り、そのパターンデータをプロセッサ11に供給する。プロセッサ11は、供給されたドットパターンから、専用ペーパー20上でのX/Y座標を算出する。   The camera 16 reads the dot pattern on the dedicated paper 20 and supplies the pattern data to the processor 11. The processor 11 calculates X / Y coordinates on the dedicated paper 20 from the supplied dot pattern.

プロセッサ11は、利用者の記述が行われる間に、筆圧の配列データ及びX/Y座標データを取得し、タイムスタンプ(時間情報)と関連付けてメモリ12に記憶していく。よって、メモリ12内には利用者の記述内容に対応するデータが時系列で記憶されていく。メモリ12の容量は例えば1Mバイト程度とすることができる。   The processor 11 acquires the writing pressure array data and the X / Y coordinate data while the description of the user is performed, and stores them in the memory 12 in association with the time stamp (time information). Therefore, data corresponding to the description content of the user is stored in the memory 12 in time series. The capacity of the memory 12 can be about 1 Mbyte, for example.

利用者により送信指示がなされるまでは、取得された全てのデータはメモリ12内に保持される。そして、利用者が送信指示を行うと、データ通信ユニット13により、電子ペン10と所定距離内にある端末装置25へメモリ12内のデータが送信される。基本的には、一度送信指示がなされると、電子ペン10はメモリ12内に記憶していた全てのデータを端末装置25へ送信するため、メモリ12内はクリアされる。よって、送信後にもう一度同じ情報を端末装置25へ送信したい場合には、利用者は専用ペーパー20上に再度記述を行う必要がある。なお、この場合、利用者は専用ペーパー20上にインクペンで書かれた文字などをなぞればよいことになる。   All the acquired data is held in the memory 12 until a transmission instruction is given by the user. When the user issues a transmission instruction, the data communication unit 13 transmits the data in the memory 12 to the terminal device 25 within a predetermined distance from the electronic pen 10. Basically, once a transmission instruction is given, the electronic pen 10 transmits all the data stored in the memory 12 to the terminal device 25, so that the memory 12 is cleared. Therefore, when it is desired to transmit the same information to the terminal device 25 again after transmission, the user needs to write the description on the dedicated paper 20 again. In this case, the user only has to trace characters written on the dedicated paper 20 with an ink pen.

電子ペン10自体は、送信ボタンなどの機能ボタンを備えておらず、送信指示その他の指示は、利用者が専用ペーパー20上の所定位置に設けられた専用ボックスを電子ペン10でチェックすることにより実行される。専用ボックスの位置座標には、予め送信指示が対応付けられており、プロセッサ11は専用ボックスの位置座標を受信すると、データ通信ユニット13にメモリ12内のデータを供給し、端末装置25への送信を行わせる。なお、電子ペン10は、データの送信完了を電子ペンの振動により示すことができる。   The electronic pen 10 itself does not include a function button such as a transmission button, and a transmission instruction and other instructions are performed by a user checking the dedicated box provided at a predetermined position on the dedicated paper 20 with the electronic pen 10. Executed. A transmission instruction is associated with the position coordinates of the dedicated box in advance. When the processor 11 receives the position coordinates of the dedicated box, the processor 11 supplies data in the memory 12 to the data communication unit 13 and transmits the data to the terminal device 25. To do. The electronic pen 10 can indicate completion of data transmission by vibration of the electronic pen.

バッテリー14は電子ペン10内の各要素に電源供給するためのものであり、例えば電子ペンのキャップ(図示せず)により電子ペン10自体の電源のオン/オフを行うことができる。   The battery 14 is for supplying power to each element in the electronic pen 10, and the electronic pen 10 itself can be turned on / off by a cap (not shown) of the electronic pen, for example.

このように、電子ペン10は利用者が専用ペーパー20上に記述した文字などに対応する座標データ及び筆圧データを取得して近傍の端末装置25へ送信する機能を有するが、電子ペン10のペン先部17は通常のインクペンとなっているため、専用ペーパー20上に記述した内容はオリジナルの原本として残るという特徴がある。即ち、紙の原本に対して記述するのと同時に、その内容を座標データなどの形態でリアルタイムに電子化することができる。   As described above, the electronic pen 10 has a function of acquiring coordinate data and writing pressure data corresponding to characters and the like described on the dedicated paper 20 by the user and transmitting them to the nearby terminal device 25. Since the pen tip portion 17 is a normal ink pen, the content described on the dedicated paper 20 remains as an original original. That is, at the same time as describing the original paper, its contents can be digitized in the form of coordinate data in real time.

なお、電子ペン10の標準機能によれば、電子ペン10により得られるデータは、原則として座標データ又はベクトルデータの形態であり、テキストデータではない。但し、電子ペン10は標準機能として、専用ペーパー20上に設けられた専用エリアに記述することにより、英数字に限りテキスト化する機能は備えている。   According to the standard function of the electronic pen 10, data obtained by the electronic pen 10 is in principle in the form of coordinate data or vector data, and is not text data. However, as a standard function, the electronic pen 10 has a function of converting text into alphanumeric characters by describing it in a dedicated area provided on the dedicated paper 20.

また、電子ペン10内には、ペン自体及びその所有者に関するプロパティ情報(ペン情報及びペン所有者情報)を保持することができ、アプリケーションから参照することができる。ペン情報としては、バッテリーレベル、ペンID、ペン製造者番号、ペンソフトウェアのバージョン、サブスクリプションプロバイダのIDなどを保持できる。また、ペン所有者情報としては、国籍、言語、タイムゾーン、emailアドレス、空きメモリ容量、名称、住所、ファックス/電話番号、携帯電話番号などを保持することができる。   Also, the electronic pen 10 can hold property information (pen information and pen owner information) regarding the pen itself and its owner, and can be referred to from an application. As the pen information, a battery level, a pen ID, a pen manufacturer number, a pen software version, a subscription provider ID, and the like can be held. The pen owner information can hold nationality, language, time zone, email address, free memory capacity, name, address, fax / phone number, mobile phone number, and the like.

なお、上記の例におけるデータ通信ユニット13では、Bluetooth(登録商標)の無線伝送、USBケーブルを使用した有線伝送、端子などの接触によるデータ伝送など、各種の方法によって電子ペン10から端末装置25へのデータ送信を行うことが考えられる。   In the data communication unit 13 in the above example, the electronic pen 10 is connected to the terminal device 25 by various methods such as Bluetooth (registered trademark) wireless transmission, wired transmission using a USB cable, and data transmission by contact with a terminal. It is conceivable to perform data transmission.

次に、電子ペンにより利用者が記述した内容のX/Y座標データを取得する方法について説明する。前述のように専用ペーパー20には、所定のドットパターンが印刷されている。電子ペン10のカメラ16は、利用者が専用ペーパー20上に記述したインクの軌跡を読み取るのではなく、専用ペーパー20上のドットパターンを読み取る。実際、図1に示すように、LED15による照明エリア及びカメラ16の撮影エリア(照明エリア内に位置する)は、ペン先部17が専用ペーパー20に接触する位置とはずれている。   Next, a method for acquiring X / Y coordinate data of contents described by the user with the electronic pen will be described. As described above, a predetermined dot pattern is printed on the dedicated paper 20. The camera 16 of the electronic pen 10 does not read the locus of ink described on the dedicated paper 20 by the user, but reads the dot pattern on the dedicated paper 20. Actually, as shown in FIG. 1, the illumination area by the LED 15 and the shooting area of the camera 16 (located in the illumination area) are deviated from the position where the pen tip portion 17 contacts the dedicated paper 20.

ドットパターンはカーボンを含む専用インキなどで印刷されており、カメラ16はその専用インキによるパターンのみを認識することができる。専用インキ以外のインキ(カーボンを含まない)により、専用ペーパー上に罫線や枠などを印刷しても、電子ペンはそれらを認識することはない。よって、専用ペーパーを利用して各種申込書などの帳票を作成する際は、専用インキ以外のインキで入力枠や罫線、注意書きなどを印刷する。   The dot pattern is printed with a special ink containing carbon, and the camera 16 can recognize only the pattern with the special ink. Even if a ruled line or a frame is printed on the dedicated paper with an ink other than the dedicated ink (not including carbon), the electronic pen does not recognize them. Therefore, when creating forms such as various application forms using dedicated paper, input frames, ruled lines, cautions, etc. are printed with ink other than dedicated ink.

ドットパターンは、図3に例示するように、各ドットの位置がデータに対応付けされている。図3の例では、ドットの位置を格子の基準位置(縦線及び横線の交差点)から上下左右にシフトすることにより、0〜3の2ビット情報を表示した例である。このようにして表現された情報の組合せにより、専用ペーパー上の位置座標が決定される。図4(a)に例示するように、縦横2mmの範囲内に36個のドットが格子状に配置され、これらのドットにより示されるデータの配列(図4(b))が、その専用ペーパー上の位置座標と対応付けされている。よって、電子ペン10のカメラ16が図4(a)に示すようなドットパターンを撮影すると、プロセッサ11はカメラ16から入力されるドットパターンのデータに基づいて図4(b)に示すデータ配列を取得し、それに対応する専用ペーパー上の位置座標(即ち、そのドットパターンがその専用ペーパー上のどの位置にあるのか)をリアルタイムで算出する。なお、ドットパターンを認識する最小単位は2mm×2mmであり、カメラ16は毎秒100回程度の撮影を行う。   In the dot pattern, as illustrated in FIG. 3, the position of each dot is associated with data. In the example of FIG. 3, the 2-bit information 0 to 3 is displayed by shifting the dot position vertically and horizontally from the reference position of the lattice (intersection of the vertical and horizontal lines). The position coordinates on the dedicated paper are determined by the combination of information expressed in this way. As illustrated in FIG. 4A, 36 dots are arranged in a grid within a range of 2 mm in length and width, and the data array (FIG. 4B) indicated by these dots is displayed on the dedicated paper. Are associated with the position coordinates. Therefore, when the camera 16 of the electronic pen 10 captures a dot pattern as shown in FIG. 4A, the processor 11 changes the data array shown in FIG. 4B based on the dot pattern data input from the camera 16. The position coordinates on the dedicated paper (that is, where the dot pattern is located on the dedicated paper) corresponding to the acquired position are calculated in real time. The minimum unit for recognizing the dot pattern is 2 mm × 2 mm, and the camera 16 takes about 100 shots per second.

次に、専用ペーパーについて説明する。専用ペーパーの構造の一例を図5に示す。図示のように、専用ペーパー20は、台紙30上にドットパターン32が印刷され、その上に罫線などの図案34が印刷されている。台紙30は通常は紙であり、ドットパターン32は前述のようにカーボンを含んだ専用インキにより印刷される。また、通常のインキなどにより図案34が印刷される。ドットパターンと図案とは同時に印刷してもよいし、いずれかを先に印刷してもよい。   Next, the dedicated paper will be described. An example of the structure of the dedicated paper is shown in FIG. As shown in the figure, the dedicated paper 20 has a dot pattern 32 printed on a mount 30 and a design 34 such as a ruled line printed thereon. The mount 30 is usually paper, and the dot pattern 32 is printed with dedicated ink containing carbon as described above. Further, the design 34 is printed with normal ink or the like. The dot pattern and the design may be printed at the same time, or one of them may be printed first.

図案34の例を図6に示す。図6は、ある申込書36の例であり、複数の記入欄38や送信ボックス39が印刷されている。図6には明確に図示されておらず、詳細は後述するが、実際にはドットパターンが申込書36の全面に印刷されており、その上に記入欄38や送信ボックス39が通常のインキにより印刷されている。利用者は、ドットパターンを意識することなく、従来からある申込書と同様に、電子ペン10を使用して必要事項を申込書36の各記入欄38に記入すればよい。   An example of the design 34 is shown in FIG. FIG. 6 shows an example of a certain application form 36 in which a plurality of entry fields 38 and a transmission box 39 are printed. Although it is not clearly shown in FIG. 6 and will be described in detail later, a dot pattern is actually printed on the entire surface of the application form 36, and an entry box 38 and a transmission box 39 are formed on the entire surface using ordinary ink. It is printed. The user can enter the necessary items in each entry field 38 of the application form 36 using the electronic pen 10 in the same manner as a conventional application form without being aware of the dot pattern.

専用ペーパー20上のエリアは大きく2種類のエリアに分けることができる。1つは記入エリアであり、電子ペン10による記述内容をそのまま情報として取り扱うエリアである。図6の例では複数の記入欄38がこれに該当する。もう1つは機能エレメントであり、対応するエリア内を電子ペン10でチェックした際に、予めそのエリアに対して定義されているアクション、指示などを実行するようになっている。図6の例における送信ボックス39がこれに該当する。   The area on the dedicated paper 20 can be roughly divided into two types. One is an entry area, in which the content described by the electronic pen 10 is handled as information as it is. In the example of FIG. 6, a plurality of entry fields 38 correspond to this. The other is a functional element, and when the corresponding area is checked with the electronic pen 10, actions, instructions, etc. defined in advance for the area are executed. The transmission box 39 in the example of FIG. 6 corresponds to this.

送信ボックス39は前述したように電子ペン10内に記憶されているデータを近傍の端末装置25へ送信するための指示を行う際に使用される。利用者が送信ボックス39内に電子ペン10でチェックを入れると、電子ペン10が送信ボックス内のドットパターンを読み取る。当該パターンは送信指示に対応付けられており、電子ペン10内のプロセッサ11はデータ通信ユニット13にメモリ12内の記憶データの送信命令を発する。   The transmission box 39 is used when giving an instruction to transmit data stored in the electronic pen 10 to the nearby terminal device 25 as described above. When the user checks the transmission box 39 with the electronic pen 10, the electronic pen 10 reads the dot pattern in the transmission box. The pattern is associated with a transmission instruction, and the processor 11 in the electronic pen 10 issues a command to transmit data stored in the memory 12 to the data communication unit 13.

ドットパターンの割り当ては、通常、アプリケーション(用紙の種類)毎に行われる。即ち、ある申込書内のドットパターンは1枚の用紙の中で重複することはないが、同一の申込書には全て同じドットパターンが印刷されている。よって、利用者が電子ペン10で必要事項を入力すると、その入力事項がその申込書のどの項目に対するものであるかを、申込書上の座標データから特定することができる。   The assignment of dot patterns is usually performed for each application (paper type). In other words, the dot patterns in a certain application form do not overlap in one sheet, but the same dot pattern is printed on the same application form. Therefore, when the user inputs necessary items with the electronic pen 10, it can be specified from the coordinate data on the application form which item of the application form the input item is for.

このように、ドットパターンを印刷した専用ペーパー上に所定の図案を印刷することにより、専用ペーパーを利用した各種申込書が作成できる。利用者は電子ペン10を使用して通常の要領で必要事項を記入すれば、その電子データが自動的に取得される。   As described above, by printing a predetermined design on the dedicated paper on which the dot pattern is printed, various application forms using the dedicated paper can be created. If the user uses the electronic pen 10 and fills in necessary items in a normal manner, the electronic data is automatically acquired.

上記の例では、ドットパターンは専用ペーパー上にカーボンを含むインキにより印刷されているが、プリンタ及びカーボンを含むインクを使用してドットパターンを通常の紙上にプリントすることも可能である。さらに、専用ペーパー上の図案も印刷ではなく、プリンタにより形成することも可能である。ドットパターンをプリンタにより紙上に形成する場合には、1枚1枚に異なるドットパターンを形成することが可能である。よって、形成されたドットパターンの違いにより、それらの用紙1枚1枚を識別し、区別することが可能となる。   In the above example, the dot pattern is printed on the dedicated paper with carbon-containing ink. However, the dot pattern can be printed on ordinary paper using a printer and carbon-containing ink. Furthermore, the design on the dedicated paper can also be formed by a printer instead of printing. When dot patterns are formed on paper by a printer, different dot patterns can be formed on each sheet. Therefore, it is possible to identify and distinguish each of these sheets by the difference in the formed dot patterns.

なお、本明細書においては、「印刷」の語は、通常の印刷のみならず、プリンタによるプリントも含む概念とする。   In the present specification, the term “printing” has a concept including not only normal printing but also printing by a printer.

次に、電子ペンにより取得したデータの送信処理について図2を参照して説明する。電子ペン10が取得したデータは、主として利用者が入力した事項のデータであるが、通常はそのデータの送信先であるサービスサーバがどこであるかの情報は含まれていない。その代わりに、その専用ペーパーに関するアプリケーションやサービスを特定する情報が専用ペーパー上のドットパターンに含まれており、利用者の入力作業中に専用ペーパーからその情報が取得されている。よって、電子ペン10から記入データを受け取った端末装置25は、まず、問い合わせサーバ26に対して、その専用ペーパーに対して入力されたデータをどのサービスサーバ27へ送信すべきかの問い合わせを行う。問い合わせサーバ26は、専用ペーパー毎に、対応するサービスサーバの情報を有しており、端末装置25からの問い合わせに応じて、当該専用ペーパーに関するサービスなどを行うサービスサーバ27の情報(URLなど)を端末装置25へ回答する。それから、端末装置25は、電子ペンから取得した記入データをそのサービスサーバ27へ送信することになる。   Next, transmission processing of data acquired by the electronic pen will be described with reference to FIG. The data acquired by the electronic pen 10 is mainly data of items input by the user, but usually does not include information on where the service server that is the transmission destination of the data is. Instead, information specifying the application or service related to the dedicated paper is included in the dot pattern on the dedicated paper, and the information is acquired from the dedicated paper during the user's input operation. Therefore, the terminal device 25 that has received the entry data from the electronic pen 10 first makes an inquiry to the inquiry server 26 to which service server 27 the data input to the dedicated paper should be transmitted. The inquiry server 26 has information on a corresponding service server for each dedicated paper, and in response to an inquiry from the terminal device 25, information (such as a URL) of the service server 27 that performs a service related to the dedicated paper. Reply to the terminal device 25. Then, the terminal device 25 transmits the entry data acquired from the electronic pen to the service server 27.

なお、上記の例では端末装置25、問い合わせサーバ26及びサービスサーバ27が別個に構成されているが、これらの幾つか又は全てを1つの装置として構成することも可能である。本実施形態において後述するサーバは、問い合わせサーバ26及びサービスサーバ27を兼ねていることとしている。   In the above example, the terminal device 25, the inquiry server 26, and the service server 27 are separately configured. However, some or all of them may be configured as one device. The server described later in this embodiment also serves as the inquiry server 26 and the service server 27.

[面積算出システム]
次に、本発明の面積算出システムについて説明する。図7に面積算出システム100の概略構成を示す。図7に示す面積算出システム100は、利用者が電子ペン用帳票(以下、「帳票」と呼ぶ。)3に電子ペン10により手書きで記入した図形の面積を容易且つ即座に算出するものである。
[Area calculation system]
Next, the area calculation system of the present invention will be described. FIG. 7 shows a schematic configuration of the area calculation system 100. The area calculation system 100 shown in FIG. 7 calculates the area of a figure handwritten on the electronic pen form (hereinafter referred to as “form”) 3 by the user with the electronic pen 10 easily and immediately. .

図7に示すように、面積算出システム100は、端末装置25及びサーバ5がネットワーク2を通じて接続されることにより構成される。ここで、ネットワーク2の1つの好適な例はインターネットである。また、端末装置25とは、利用者が使用するPCや携帯電話といったネットワーク2を介してデータの授受が可能な端末である。なお、サーバ5は、利用者データベース(以下、「DB」と呼ぶ。)6に接続されている。   As shown in FIG. 7, the area calculation system 100 is configured by connecting the terminal device 25 and the server 5 through the network 2. Here, one suitable example of the network 2 is the Internet. The terminal device 25 is a terminal that can exchange data via the network 2 such as a PC or a mobile phone used by a user. The server 5 is connected to a user database (hereinafter referred to as “DB”) 6.

まず、図8を参照して、本システムにおける図形の面積算出方法の概要を述べておく。図8は、面積算出処理の過程を説明する図である。なお、帳票3は、上述の専用ペーパーとして作成されたものである。また、図示していないが、帳票3には、図6に示す送信ボックス39と同一の機能を有する送信ボックスが設定されているものとする。   First, referring to FIG. 8, the outline of the figure area calculation method in this system will be described. FIG. 8 is a diagram for explaining the process of area calculation processing. The form 3 is created as the above-described dedicated paper. Although not shown, it is assumed that a transmission box having the same function as the transmission box 39 shown in FIG.

利用者は、立体的な物体の面積を算出したい場合、図8(a)に示すように、物体50に帳票3を被せ、電子ペン10によりストロークを記入することで、面積を算出する対象となる図形を当該帳票3上に示す。即ち、ストロークで囲むことにより、面積を算出したい対象図形を指定する。ここで、ストロークとは、一筆で記入する線分のことをいう。また、立体的な物体とは、人間や自動車など立体的な種々のものである。具体的に、本発明の面積算出システムにより、人間の頭部やシミ、自動車の破損部分の面積などを算出することができる。つまり、医療目的で人間の体の一部の面積を算出すること、かつら作成目的で頭部の毛髪の少ない箇所の面積を算出すること、修理目的で自動車の破損部分の面積を算出することなどが可能となる。   When the user wants to calculate the area of the three-dimensional object, as shown in FIG. 8A, the user covers the object 3 and fills the form 3 with the electronic pen 10 to calculate the area. Is shown on the form 3. That is, a target figure whose area is to be calculated is specified by surrounding with a stroke. Here, the stroke means a line segment to be entered with a single stroke. In addition, the three-dimensional object is a variety of three-dimensional objects such as human beings and automobiles. Specifically, the area of the human head and spots, the damaged part of the automobile, and the like can be calculated by the area calculation system of the present invention. In other words, calculating the area of a part of the human body for medical purposes, calculating the area of the part with less hair on the head for the purpose of creating a wig, calculating the area of the damaged part of the car for repair purposes, etc. Is possible.

なお、帳票3には、図形の面積を算出する基準となる単位図形が定義されている。また、サーバ5は、帳票3に定義された単位図形の位置及び面積に関する定義テーブルを有している。   The form 3 defines a unit figure that serves as a reference for calculating the area of the figure. Further, the server 5 has a definition table regarding the position and area of the unit graphic defined in the form 3.

電子ペン10は、記入された内容に対応する記入情報を取得し、電子ペン10内のメモリ12に一時的に記憶する。そして、電子ペン10は、送信ボックスにチェックマークが記入されたタイミングで、図8(b)に示すように、当該記入情報を端末装置25へ送信する。なお、利用者は、対象図形を指定するストロークの記入が完了した時点で、送信ボックスにチェックマークを記入するものとする。端末装置25は、電子ペン10から記入情報を受信し、ネットワーク2を通じてサーバ5へ送信する。サーバ5は、記入情報を、利用者が帳票3に対して記入した内容を示す電子データとして取得する。   The electronic pen 10 acquires entry information corresponding to the entered content and temporarily stores it in the memory 12 in the electronic pen 10. The electronic pen 10 transmits the entry information to the terminal device 25 as shown in FIG. 8B at the timing when a check mark is entered in the transmission box. It is assumed that the user enters a check mark in the transmission box when the entry of the stroke specifying the target graphic is completed. The terminal device 25 receives the entry information from the electronic pen 10 and transmits it to the server 5 through the network 2. The server 5 acquires the entry information as electronic data indicating the contents entered by the user on the form 3.

サーバ5は、取得した記入情報から1回の動作、即ち一筆で記入されたストロークを抽出する。そして、サーバ5は、ストロークの座標データに基づいて、当該ストロークの始点及び終点の位置座標を特定する。また、サーバ5は、抽出したストロークの本数を特定する。さらに、サーバ5は、抽出したストロークの始点及び終点が結合しているか否かを判定する。そして、サーバ5は、抽出したストロークの本数と、始点及び終点が結合しているか否かの判定結果とに基づいて、利用者が帳票3上に記入したストロークの補正を行う。サーバ5は、記入情報から抽出したストローク、又は、補正後のストロークに基づいて、面積を算出する対象となる対象図形を特定し、定義テーブルに基づいて当該対象図形の面積を算出する。また、サーバ5は、補正後のストロークのイメージデータを、対象図形を示すイメージデータとして取得する。なお、補正が必要ないストロークの場合、記入情報から抽出したストロークのイメージデータを、対象図形を示すイメージデータとして取得する。   The server 5 extracts a single stroke, that is, a stroke entered with a single stroke from the acquired entry information. Then, the server 5 specifies the position coordinates of the start point and end point of the stroke based on the coordinate data of the stroke. Moreover, the server 5 specifies the number of extracted strokes. Further, the server 5 determines whether or not the start point and end point of the extracted stroke are combined. Then, the server 5 corrects the stroke entered by the user on the form 3 based on the number of extracted strokes and the determination result as to whether the start point and the end point are combined. The server 5 identifies a target graphic whose area is to be calculated based on the stroke extracted from the entry information or the corrected stroke, and calculates the area of the target graphic based on the definition table. Further, the server 5 acquires the corrected stroke image data as image data indicating the target graphic. In the case of a stroke that does not require correction, the image data of the stroke extracted from the entry information is acquired as image data indicating the target graphic.

サーバ5は、必要があれば利用者に対して、各利用者を識別する情報である利用者IDを割り当てる。さらに、当該利用者IDをキーとして、算出した面積の情報と、対象図形のイメージデータとを利用者DB6に記憶する。また、サーバ5は、記入情報に含まれる時間情報に基づいて、帳票3への記入日時を特定し、当該利用者IDをキーとして、特定した記入日時を利用者DB6に記憶する。   The server 5 assigns a user ID, which is information for identifying each user, to the user if necessary. Furthermore, using the user ID as a key, the calculated area information and the image data of the target graphic are stored in the user DB 6. Further, the server 5 identifies the entry date and time on the form 3 based on the time information included in the entry information, and stores the identified entry date and time in the user DB 6 using the user ID as a key.

なお、利用者DB6には、利用者IDをキーとして、利用者の氏名、住所、電話番号といった個人情報も記憶するものとする。これらの個人情報は、利用者端末25がタイプ入力などにより取得し、サーバ5へ送信したものとする。   The user DB 6 also stores personal information such as the user's name, address, and telephone number using the user ID as a key. The personal information is acquired by the user terminal 25 by typing or the like and transmitted to the server 5.

サーバ5は、予め用意されたフォーマットデータと、利用者DB6に記憶された利用者の個人情報、対象図形の面積及び対象図形のイメージデータとに基づいて、図8(c)に示すような画面を作成し、端末装置25の表示画面上に表示させる。利用者は、必要があれば、画面上の質問に関する回答をタイプ入力する。即ち、回答情報は、利用者端末25がタイプ入力などにより取得し、サーバ5へ送信する。サーバ5は、取得した回答情報と、利用者DB6に記憶された対象図形の面積とに基づいて、見積書を作成する。そして、サーバ5は、作成した見積書のデータを端末装置25へ送信する。端末装置25は、図8(d)に示すように、当該見積書を紙媒体に印刷する。これによれば、利用者による手書き図形の面積を容易に算出することができるとともに、対象図形の面積に基づく見積書を即時に発行することが可能となる。   The server 5 displays a screen as shown in FIG. 8C based on the format data prepared in advance and the user's personal information, the area of the target graphic, and the image data of the target graphic stored in the user DB 6. Is created and displayed on the display screen of the terminal device 25. The user types in answers to questions on the screen if necessary. That is, the response information is acquired by the user terminal 25 by typing or the like and transmitted to the server 5. The server 5 creates an estimate based on the acquired answer information and the area of the target graphic stored in the user DB 6. Then, the server 5 transmits the created estimate data to the terminal device 25. As shown in FIG. 8D, the terminal device 25 prints the estimate on a paper medium. According to this, it is possible to easily calculate the area of the handwritten graphic by the user and to immediately issue an estimate based on the area of the target graphic.

[帳票]
次に、帳票3について説明する。本発明のシステムでは、図9に示すような帳票3は、上述した専用ペーパーとして作成されている。即ち、図5に例示するように台紙30上に所定のドットパターン32が印刷されており、その上に所定の各ボックスや罫線などが印刷されている。先に述べたように、ドットパターン32は電子ペン10が認識することができるように、カーボンを含んだインキにより印刷されている。一方、各ボックスや罫線などの図案34は、通常の(カーボンを含まない)インキにより印刷されているため、電子ペン10がそれを認識することはない。
[Form]
Next, the form 3 will be described. In the system of the present invention, a form 3 as shown in FIG. 9 is created as the dedicated paper described above. That is, as illustrated in FIG. 5, a predetermined dot pattern 32 is printed on the mount 30, and predetermined boxes and ruled lines are printed thereon. As described above, the dot pattern 32 is printed with ink containing carbon so that the electronic pen 10 can recognize it. On the other hand, the design 34 such as each box and ruled line is printed with normal (not including carbon) ink, and thus the electronic pen 10 does not recognize it.

図9(a)に示すように、帳票3には、電子ペン10により記入された対象図形の面積を算出する基準となる単位図形52が定義されている。換言すると、帳票3は、複数の単位図形52から構成されている。図9(a)では、わかりやすさのため、便宜上、単位図形52の境界線を可視的なものとし、帳票3は格子状となっている。しかし、帳票3に定義されていれば、単位図形52の境界線を不可視としてもよい。また、帳票3に定義される単位図形は1種類とは限らず、帳票3には、様々な大きさの複数種類の単位図形が定義されているものとする。   As shown in FIG. 9A, the form 3 defines a unit graphic 52 that serves as a reference for calculating the area of the target graphic entered with the electronic pen 10. In other words, the form 3 is composed of a plurality of unit figures 52. In FIG. 9A, for the sake of simplicity, for convenience, the boundary line of the unit graphic 52 is visible, and the form 3 has a lattice shape. However, if defined in the form 3, the boundary line of the unit graphic 52 may be invisible. Further, the unit graphic defined in the form 3 is not limited to one type, and it is assumed that a plurality of types of unit figures of various sizes are defined in the form 3.

利用者は、このような単位図形が定義された帳票3に対し、図9(b)に示すように、電子ペン10を使用して面積を算出する対象となる対象図形を記入する。詳細は後述するが、サーバ5は、利用者が記入した対象図形に含まれる単位図形の個数と、当該単位図形の面積とに基づいて、対象図形の面積を算出する。   As shown in FIG. 9B, the user fills in the target graphic for which the area is to be calculated using the electronic pen 10 in the form 3 in which such unit graphic is defined. Although details will be described later, the server 5 calculates the area of the target graphic based on the number of unit graphics included in the target graphic entered by the user and the area of the unit graphic.

[面積算出方法]
次に、対象図形に含まれる単位図形の個数と、当該単位図形の面積とに基づいて、対象図形の面積を算出する具体的な方法について図10を参照して説明する。図10は、面積算出方法を説明する図である。
[Area calculation method]
Next, a specific method for calculating the area of the target graphic based on the number of unit graphics included in the target graphic and the area of the unit graphic will be described with reference to FIG. FIG. 10 is a diagram for explaining an area calculation method.

利用者は、まず、電子ペン10を使用して帳票3に記入を行う。この場合、図10(a)に示すように、サーバ5は、帳票3に記入されたストロークに基づいて、対象図形54を特定する。そして、サーバ5は、帳票3に定義された単位図形52が、対象図形54に何個含まれるかを算出する。このとき、サーバ5は、対象図形54に全体が含まれる単位図形(以下、「全体単位図形」と呼ぶ。)の個数と、対象図形54に一部が含まれる単位図形(以下、「部分単位図形」と呼ぶ。)の個数とを区別して算出する。具体的には、図10(a)において、網掛けの単位図形が全体単位図形であり、斜線の単位図形が部分単位図形である。   The user first fills in the form 3 using the electronic pen 10. In this case, as illustrated in FIG. 10A, the server 5 identifies the target graphic 54 based on the stroke entered in the form 3. Then, the server 5 calculates how many unit graphics 52 defined in the form 3 are included in the target graphic 54. At this time, the server 5 determines the number of unit graphics (hereinafter referred to as “total unit graphics”) that are included entirely in the target graphic 54 and the unit graphics (hereinafter referred to as “partial units”) that are partially included in the target graphic 54. It is calculated by distinguishing from the number of graphics. Specifically, in FIG. 10A, the shaded unit graphic is an overall unit graphic, and the shaded unit graphic is a partial unit graphic.

そして、サーバ5は、予め有している定義テーブルから単位図形の面積を抽出する。そして、算出した全体単位図形の個数、部分単位図形の個数及び単位図形の面積に基づいて、対象図形の面積を算出する。具体的には、図10(b)に示すように、単位図形の面積と、全体単位図形の個数及び部分単位図形の個数の和との積により、対象図形の面積を算出する計算方法が挙げられる。しかし、本発明はこれに限定されるものではなく、対象図形の面積を算出するために種々の計算方法を適用することができる。   And the server 5 extracts the area of a unit figure from the definition table which has beforehand. Then, the area of the target graphic is calculated based on the calculated total number of unit graphics, the number of partial unit graphics, and the area of the unit graphics. Specifically, as shown in FIG. 10B, there is a calculation method for calculating the area of the target graphic by the product of the area of the unit graphic and the sum of the total number of unit graphics and the number of partial unit graphics. It is done. However, the present invention is not limited to this, and various calculation methods can be applied to calculate the area of the target graphic.

また、サーバ5は、面積値の精度を高めるため、より細かい、即ち単位図形52より小さい単位図形(以下、「小単位図形」と呼ぶ。)を使用して対象図形の面積を算出することができる。この場合、サーバ5は、図10(c)に示すように、対象図形54の境界付近の一定領域を拡大する。具体的に、対象図形54の境界付近の一定領域とは、単位図形52の一部と、対象図形54の一部が重なっている、即ち部分単位図形が位置する箇所のことである。サーバ5は、図10(d)に示すように、一定領域内において、帳票3に定義された小単位図形56が、対象図形54内に何個含まれるかを算出する。このとき、全体単位図形と部分単位図形それぞれの個数を算出する。このように、対象図形54の境界付近を拡大し、より小さい小単位図形56を使用してさらに細かく分析する。つまり、より小さい小単位図形56を使用して詳細の面積を算出することにより、対象図形の面積値の精度を高めている。   Further, the server 5 may calculate the area of the target graphic using a unit graphic (hereinafter referred to as “small unit graphic”) that is smaller, that is, smaller than the unit graphic 52 in order to increase the accuracy of the area value. it can. In this case, the server 5 enlarges a certain area near the boundary of the target graphic 54 as shown in FIG. Specifically, the fixed area near the boundary of the target graphic 54 is a portion where a part of the unit graphic 52 and a part of the target graphic 54 overlap, that is, a position where the partial unit graphic is located. As shown in FIG. 10D, the server 5 calculates how many small unit graphics 56 defined in the form 3 are included in the target graphic 54 within a certain area. At this time, the numbers of the whole unit graphic and the partial unit graphic are calculated. In this way, the vicinity of the boundary of the target graphic 54 is enlarged, and the smaller small unit graphic 56 is used for further detailed analysis. That is, the accuracy of the area value of the target graphic is increased by calculating the detailed area using the smaller small unit graphic 56.

[補正方法]
次に、対象図形を特定するためにストロークを補正する具体的な方法について、図11及び図12を参照して説明する。図11は、利用者が立体的な物体に帳票3を被せて記入を行う場合のストロークの経過を示す図である。図12は、複数のストロークを直線で結合することによる補正を説明する図である。
[Correction method]
Next, a specific method for correcting the stroke to identify the target graphic will be described with reference to FIGS. 11 and 12. FIG. 11 is a diagram showing the progress of a stroke when the user puts a form 3 on a three-dimensional object and fills in the form. FIG. 12 is a diagram for explaining correction by combining a plurality of strokes with straight lines.

利用者は、立体的な物体の一部の面積を算出したい場合、図8(a)に示すように、物体50に帳票3を被せ、電子ペン10によりストロークを記入することで、対象図形を指定する。このとき、ストロークは1本で、図8(a)に示すように、始点と終点がしっかり結合していることが望ましい。しかし、立体的な物体に帳票3を被せた状態、即ち凹凸のある状態で帳票3に記入を行う場合、当該帳票3は折れ曲がっていることも多く、1本のストロークで且つ始点と終点が結合しているように記入することは困難である。よって、図11(a)に示すように、帳票3に記入された電子ペン10の軌跡は、複数本のストロークで且つ始点と終点が離れていることも多い。   When the user wants to calculate the area of a part of a three-dimensional object, as shown in FIG. 8A, the user puts the form 3 on the object 50 and fills the stroke with the electronic pen 10. specify. At this time, it is desirable that the number of strokes is one and the start point and the end point are firmly connected as shown in FIG. However, when the form 3 is filled with a three-dimensional object, that is, when the form 3 is uneven, the form 3 is often bent, and the start point and the end point are combined with one stroke. It is difficult to fill out as you do. Therefore, as shown in FIG. 11A, the trajectory of the electronic pen 10 entered in the form 3 is often a plurality of strokes, and the start point and the end point are often separated.

なお、図11(a)に示す電子ペン10の軌跡は、図11(b)乃至(d)に示すように、ストローク60、ストローク62、ストローク64の順序に記入された3本のストロークから構成されるものとする。   The trajectory of the electronic pen 10 shown in FIG. 11A is composed of three strokes written in the order of the stroke 60, the stroke 62, and the stroke 64 as shown in FIGS. 11B to 11D. Shall be.

この場合、まず、サーバ5は、記入情報に含まれる時間情報に基づいて、3本のストロークの記入順序を特定する。つまり、記入情報を解析することにより3本のストロークが、図11(b)乃至(d)に示すような順序で記入されたことを特定する。さらに、サーバ5は、図12(a)乃至(c)に示すように、座標データに基づいて各ストロークの始点(○)及び終点(×)の位置座標を特定する。そして、サーバ5は、記入順序に基づいて、最初に記入されたストローク60の終点と、2番目に記入されたストローク62の始点とを、図12(d)に示すように直線で結合する。同様に、2番目に記入されたストローク62の終点と、最後に記入されたストローク64の始点とを、図12(d)に示すように直線で結合する。また、最後に記入されたストローク64の終点と、最初に記入されたストローク60の始点とを、図12(d)に示すように直線で結合する。このように補正したストロークに基づいて、サーバ5は、対象図形を特定する。よって、サーバ5は、図12(e)において斜線で示すような対象図形の面積を算出することになる。   In this case, first, the server 5 specifies the order of entering the three strokes based on the time information included in the entry information. That is, by analyzing the entry information, it is specified that the three strokes have been entered in the order as shown in FIGS. Further, as shown in FIGS. 12A to 12C, the server 5 specifies the position coordinates of the start point (◯) and the end point (×) of each stroke based on the coordinate data. Then, the server 5 joins the end point of the stroke 60 entered first and the start point of the stroke 62 entered second in a straight line as shown in FIG. Similarly, the end point of the second stroke 62 and the start point of the last stroke 64 are joined with a straight line as shown in FIG. Further, the end point of the stroke 64 entered last and the start point of the stroke 60 entered first are joined by a straight line as shown in FIG. Based on the stroke corrected in this way, the server 5 identifies the target graphic. Therefore, the server 5 calculates the area of the target graphic as shown by the oblique lines in FIG.

つまり、サーバ5は、1つの図形を指定するストロークが複数本存在している場合、記入順序に基づいて、最後以外のストロークの終点と、当該ストロークの次に記入されたストロークの始点とを直線で結合する。また、最後のストロークの終点と、最初のストロークの始点とを直線で結合する。このような補正を、サーバ5は、ストロークの本数分繰り返し行う。   In other words, when there are a plurality of strokes that specify one figure, the server 5 straight lines the end point of the stroke other than the last stroke and the start point of the stroke written next to the stroke based on the entry order. Join with. Further, the end point of the last stroke and the start point of the first stroke are joined with a straight line. The server 5 repeats such correction for the number of strokes.

なお、最後のストロークの終点と、最初のストロークの始点が利用者による記入時点で結合していることが考えられる。この場合、サーバ5は、最初のストロークの始点と、最後のストロークの終点とを直線で結合する処理は行わない。   It is possible that the end point of the last stroke and the start point of the first stroke are combined at the time of entry by the user. In this case, the server 5 does not perform a process of connecting the start point of the first stroke and the end point of the last stroke with a straight line.

また、1つの図形に対応するストロークが1本だけ存在している場合、サーバ5は、まず、当該ストロークの始点及び終点が結合しているか否かを判定する。結合している場合、サーバ5は、補正は行わず、利用者が記入したストロークに基づいて対象図形を特定する。一方、結合していない場合、サーバ5は、当該ストロークの始点及び終点を直線で結合する補正を行う。   When there is only one stroke corresponding to one graphic, the server 5 first determines whether or not the start point and end point of the stroke are combined. If they are combined, the server 5 does not perform correction and identifies the target graphic based on the stroke entered by the user. On the other hand, if not combined, the server 5 performs correction for combining the start point and end point of the stroke with a straight line.

なお、上記補正方法は、記入順序に基づいてストロークを補正しているが、本発明はこれに限定されるものではなく、始点及び終点の位置に基づいてストロークを補正することとしてもよい。具体的には、各ストロークの始点及び終点の位置座標に基づいて、特定のストロークの始点と、最も近くに位置する他のストロークの終点とを直線で結合することで、補正を行うこととしてもよい。   Although the above correction method corrects the stroke based on the order of entry, the present invention is not limited to this, and the stroke may be corrected based on the positions of the start point and end point. Specifically, based on the position coordinates of the start point and end point of each stroke, the correction may be performed by connecting the start point of a specific stroke and the end points of other strokes located closest to each other with a straight line. Good.

[サーバ]
次に、サーバ5について詳しく説明する。図13は、面積算出システム100における、特にサーバ5の内部構成を示す。図示のように、サーバ5は、面積算出プログラム101、記入情報取得機能102、ストローク抽出機能103、始点特定機能104、終点特定機能105、ストローク数特定機能106、結合判定機能107、補正機能108、対象図形特定機能109、イメージデータ取得機能110、定義テーブル111、面積算出機能112及び利用者DB記憶機能113から構成されている。なお、各機能は、サーバ5が有するCPUが予め用意されたプログラムを実行することにより実現される。
[server]
Next, the server 5 will be described in detail. FIG. 13 shows the internal configuration of the server 5 in the area calculation system 100 in particular. As illustrated, the server 5 includes an area calculation program 101, an entry information acquisition function 102, a stroke extraction function 103, a start point specification function 104, an end point specification function 105, a stroke number specification function 106, a combination determination function 107, a correction function 108, The target graphic specifying function 109, the image data acquisition function 110, the definition table 111, the area calculation function 112, and the user DB storage function 113 are configured. Each function is realized by the CPU included in the server 5 executing a program prepared in advance.

面積算出プログラム101は、電子ペン10により帳票3に記入されたストロークに基づいて対象図形を特定し、当該対象図形の面積を算出するプログラムである。また、面積算出プログラム101は、帳票3上の電子ペン10のストロークを補正するプログラムである。なお、定義テーブル111は、面積算出プログラム101により帳票3に定義されている。   The area calculation program 101 is a program that specifies a target graphic based on a stroke entered in the form 3 by the electronic pen 10 and calculates the area of the target graphic. The area calculation program 101 is a program for correcting the stroke of the electronic pen 10 on the form 3. The definition table 111 is defined in the form 3 by the area calculation program 101.

記入情報取得機能102は、面積算出プログラム101を実行することにより、利用者が電子ペン10を使用して帳票3に記入した記入情報を電子データとして取得する機能である。   The entry information acquisition function 102 is a function for acquiring entry information entered in the form 3 by the user using the electronic pen 10 as electronic data by executing the area calculation program 101.

ストローク抽出機能103は、記入情報取得機能102が取得した記入情報から、電子ペン10により一筆、即ち1回の動作で記入されたストロークを抽出する機能である。   The stroke extraction function 103 is a function for extracting a stroke written by the electronic pen 10 by one stroke, that is, by one operation, from the entry information acquired by the entry information acquisition function 102.

始点特定機能104は、ストローク抽出機能102が抽出した各ストロークの始点の位置座標を、当該ストロークの座標データに基づいて特定する機能である。   The start point specifying function 104 is a function for specifying the position coordinates of the start point of each stroke extracted by the stroke extracting function 102 based on the coordinate data of the stroke.

終点特定機能105は、ストローク抽出機能102が抽出した各ストロークの終点の位置座標を、当該ストロークの座標データに基づいて特定する機能である。   The end point specifying function 105 is a function for specifying the position coordinates of the end point of each stroke extracted by the stroke extracting function 102 based on the coordinate data of the stroke.

ストローク数特定機能106は、ストローク抽出機能102が抽出したストロークの本数を特定する機能である。   The stroke number specifying function 106 is a function for specifying the number of strokes extracted by the stroke extracting function 102.

結合判定機能107は、ストローク数特定機能107が、抽出したストロークが1本であると特定した場合に、当該ストロークの始点及び終点の位置座標に基づいて、当該始点及び終点が結合しているか否かを判定する機能である。   The combination determination function 107 determines whether the start point and the end point are combined based on the position coordinates of the start point and the end point of the stroke when the stroke number specifying function 107 specifies that the extracted stroke is one. This is a function for determining whether or not.

補正機能108は、結合判定機能107が、ストロークの始点及び終点が結合していないと判定した場合に、当該始点及び終点を直線で結ぶことで補正を行う機能である。また、補正機能108は、ストローク数特定機能106が、ストローク数が複数本であると特定した場合に、各ストロークの始点及び終点を、各ストロークの記入順序や各ストロークの始点及び終点の位置座標などに基づいて直線で結ぶことで補正を行う機能である。   The correction function 108 is a function for performing correction by connecting the start point and the end point with a straight line when the combination determination function 107 determines that the start point and the end point of the stroke are not combined. Further, when the stroke number identification function 106 identifies that there are a plurality of strokes, the correction function 108 determines the start point and end point of each stroke as the order of entry of each stroke and the position coordinates of the start point and end point of each stroke. This is a function for performing correction by connecting with straight lines based on the above.

対象図形特定機能109は、補正機能108が補正したストロークに基づいて、面積を算出する対象となる対象図形を特定する機能である。また、対象図形特定機能109は、結合判定機能107がストロークの始点及び終点が結合していると判定した場合に、ストローク抽出手段103が抽出したストロークに基づいて、対象図形を特定する機能である。   The target graphic specifying function 109 is a function for specifying a target graphic whose area is to be calculated based on the stroke corrected by the correction function 108. The target graphic specifying function 109 is a function for specifying the target graphic based on the stroke extracted by the stroke extracting means 103 when the combination determining function 107 determines that the start point and end point of the stroke are combined. .

イメージデータ取得機能110は、記入情報から、対象図形を特定するためのストロークのイメージデータを取得する機能である。具体的に、ストローク数特定機能106が1本であると特定し、且つ、結合判定機能107が始点及び終点が結合していると判定した場合に限り、イメージデータ取得機能110は、ストローク抽出手段が抽出したストロークのイメージデータを取得する。それ以外の場合、イメージデータ取得機能110は、補正機能108が補正したストロークのイメージデータを取得する。   The image data acquisition function 110 is a function for acquiring image data of a stroke for specifying a target graphic from entry information. Specifically, only when the number-of-strokes specifying function 106 is specified as one and the combination determination function 107 determines that the start point and the end point are combined, the image data acquisition function 110 is the stroke extraction unit. Get the image data of the stroke extracted by. In other cases, the image data acquisition function 110 acquires the image data of the stroke corrected by the correction function 108.

定義テーブル111は、帳票3に定義された単位図形の位置及び面積に関する情報である。単位図形は1種類とは限らず、帳票3には様々な大きさの複数種類の単位図形が定義されている。よって、定義テーブル111は、複数種類の単位図形の位置及び面積に関する情報である。   The definition table 111 is information regarding the position and area of the unit graphic defined in the form 3. The unit graphic is not limited to one type, and the form 3 defines a plurality of types of unit graphics of various sizes. Therefore, the definition table 111 is information regarding the positions and areas of a plurality of types of unit graphics.

面積算出機能112は、対象図形特定機能109が特定した対象図形と、定義テーブル111とに基づいて、当該対象図形の面積を算出する機能である。具体的に、面積算出機能112は、定義テーブル111に含まれる単位図形の位置に基づいて、対象図形に含まれる全体単位図形及び部分単位図形それぞれの個数を算出する。そして、面積算出機能112は、算出した全体単位図形及び部分単位図形の個数と、定義テーブル111に含まれる単位図形の面積とに基づいて、対象図形の面積を算出する。   The area calculation function 112 is a function for calculating the area of the target graphic based on the target graphic specified by the target graphic specifying function 109 and the definition table 111. Specifically, the area calculation function 112 calculates the number of each of the whole unit graphic and the partial unit graphic included in the target graphic based on the position of the unit graphic included in the definition table 111. Then, the area calculation function 112 calculates the area of the target graphic based on the calculated total number of unit graphics and partial unit graphics and the area of the unit graphics included in the definition table 111.

利用者DB記憶機能113は、さらに、利用者ID割当機能及び日時特定機能を有している。利用者ID割当機能は、電子ペン10を使用して帳票3に記入を行った利用者を識別する利用者IDを発行し、割り当てる機能である。日時特定機能は、記入情報に含まれる時間情報に基づいて、対象図形を特定するためのストロークが記入された日時を特定する機能である。利用者DB記憶機能は、利用者ID割当機能が割り当てた利用者IDをキーとして、イメージデータ取得機能110が取得した対象図形を特定するストロークのイメージデータと、面積算出機能112が算出した面積値と、日時特定機能が特定した記入日時とを利用者DB6に記憶する。   The user DB storage function 113 further has a user ID assignment function and a date / time specifying function. The user ID assignment function is a function for issuing and assigning a user ID for identifying a user who has entered the form 3 using the electronic pen 10. The date and time specifying function is a function for specifying the date and time when the stroke for specifying the target graphic is entered based on the time information included in the entry information. The user DB storage function uses the user ID assigned by the user ID assigning function as a key, the stroke image data specifying the target graphic obtained by the image data obtaining function 110, and the area value calculated by the area calculating function 112. And the entry date and time specified by the date and time specifying function are stored in the user DB 6.

なお、利用者DB記憶機能113は、必要があれば、利用者に関する個人情報を、当該利用者の利用者IDをキーとして利用者DB6に記憶することとしてもよい。このように、利用者DB6に記憶しておくことで、必要に応じて容易に、表示画面や見積書などを作成することができる。   If necessary, the user DB storage function 113 may store personal information about the user in the user DB 6 using the user ID of the user as a key. Thus, by storing in the user DB 6, it is possible to easily create a display screen, an estimate, etc. as necessary.

[面積算出処理]
次に、面積算出システム100により実行される面積算出処理について説明する。図14は、面積算出処理のフローチャートである。
[Area calculation processing]
Next, an area calculation process executed by the area calculation system 100 will be described. FIG. 14 is a flowchart of the area calculation process.

利用者は、立体的な物体の一部の面積を算出したい場合、図8(a)に示すように、物体50に帳票3を被せ、電子ペン10によりストロークを記入することで、面積を算出したい対象図形を指定する。電子ペン10は、記入された内容に対応する記入情報を取得し、電子ペン10内のメモリ12に一時的に記憶する。利用者は、対象図形を示すストロークの記入が完了した時点で、送信ボックスにチェックマークを記入する。電子ペン10は、送信ボックスにチェックマークが記入されたタイミングで、図8(b)に示すように、当該記入情報を端末装置25へ送信する。端末装置25は、電子ペン10から記入情報を受信し、ネットワーク2を通じてサーバ5へ送信する。サーバ5は、記入情報を、利用者が帳票3に対して記入した内容を示す電子データとして取得する(ステップS1)。   When the user wants to calculate the area of a part of a three-dimensional object, the area is calculated by putting the form 3 on the object 50 and filling the stroke with the electronic pen 10 as shown in FIG. Specify the target figure you want. The electronic pen 10 acquires entry information corresponding to the entered content and temporarily stores it in the memory 12 in the electronic pen 10. When the user completes the entry of the stroke indicating the target graphic, the user enters a check mark in the transmission box. The electronic pen 10 transmits the entry information to the terminal device 25 as shown in FIG. 8B at the timing when a check mark is entered in the transmission box. The terminal device 25 receives the entry information from the electronic pen 10 and transmits it to the server 5 through the network 2. The server 5 acquires the entry information as electronic data indicating the contents entered by the user in the form 3 (step S1).

サーバ5は、取得した記入情報から1回の動作、即ち一筆で記入されたストロークを抽出する(ステップS2)。さらに、サーバ5は、ストロークの座標データに基づいて、当該ストロークの始点及び終点の位置座標を特定する(ステップS3、S4)。また、サーバ5は、抽出したストロークの本数を特定する。そして、サーバ5は、特定したストロークの本数が1本であるか否かを判定する(ステップS5)。ストロークの本数が1本ではない場合(ステップS5;No)、サーバ5は、複数のストロークの始点及び終点を直線で結合することにより補正を行う(ステップS7)。一方、ストロークの本数が1本の場合(ステップS5;Yes)、サーバ5は、当該ストロークの始点及び終点が結合しているか否かを判定する(ステップS6)。始点及び終点が結合していない場合(ステップS6;No)、サーバ5は、当該始点及び終点を直線で結合することにより補正を行う(ステップS7)。一方、始点及び終点が結合している場合(ステップS6;Yes)、サーバ5は、補正を行うことなくステップS8へ進む。   The server 5 extracts a single operation, that is, a stroke entered with a single stroke from the acquired entry information (step S2). Further, the server 5 specifies the position coordinates of the start point and end point of the stroke based on the coordinate data of the stroke (steps S3 and S4). Moreover, the server 5 specifies the number of extracted strokes. Then, the server 5 determines whether or not the number of identified strokes is one (step S5). If the number of strokes is not one (step S5; No), the server 5 performs correction by connecting the start points and end points of a plurality of strokes with straight lines (step S7). On the other hand, when the number of strokes is one (step S5; Yes), the server 5 determines whether or not the start point and end point of the stroke are combined (step S6). When the start point and the end point are not combined (step S6; No), the server 5 performs correction by combining the start point and the end point with a straight line (step S7). On the other hand, when the start point and the end point are combined (step S6; Yes), the server 5 proceeds to step S8 without performing correction.

ステップS8において、サーバ5は、ストロークに基づいて、面積を算出する対象図形を特定する。このとき、サーバ5は、対象図形を特定するストロークをイメージデータとして取得する。ここで、ストロークとは、記入情報から抽出したストロークが1本であり、且つ、当該ストロークの始点及び終点が結合している場合以外、ステップS7による補正後のストロークのことである。そして、サーバ5は、予め保有している定義テーブルに基づいて、特定した対象図形の面積を算出する(ステップS9)。   In step S <b> 8, the server 5 specifies a target graphic whose area is to be calculated based on the stroke. At this time, the server 5 acquires a stroke specifying the target graphic as image data. Here, the stroke is a stroke after correction in step S7, except that there is one stroke extracted from the entry information and the start point and end point of the stroke are combined. Then, the server 5 calculates the area of the specified target graphic based on the definition table held in advance (Step S9).

サーバ5は、各利用者を識別する情報である利用者IDをキーとして、算出した面積値と、対象図形のイメージデータとを利用者DB6に記憶する。また、サーバ5は、記入情報に含まれる時間情報に基づいて、帳票3への記入日時を特定し、当該利用者IDをキーとして、特定した記入日時を利用者DB6に記憶する(ステップS10)。なお、サーバ5は、利用者IDをキーとして、利用者の個人情報を利用者DB6に記憶するものとしてもよい。これらの個人情報は、利用者端末25がタイプ入力などにより取得し、サーバ5へ送信したものとする。   The server 5 stores the calculated area value and the image data of the target graphic in the user DB 6 using the user ID, which is information for identifying each user, as a key. Further, the server 5 specifies the date and time of entry in the form 3 based on the time information included in the entry information, and stores the specified entry date and time in the user DB 6 using the user ID as a key (step S10). . The server 5 may store user personal information in the user DB 6 using the user ID as a key. The personal information is acquired by the user terminal 25 by typing or the like and transmitted to the server 5.

そして、サーバ5は、利用者DB6に記憶した情報に基づいて、対象図形の面積値を端末装置25等の画面上に表示する(ステップS11)。例えば、予め用意されたフォーマットデータと、利用者DB6に記憶された利用者の氏名、対象図形の面積及び対象図形のイメージデータとに基づいて、図8(c)に示すような画面を作成し、端末装置25の表示画面上に表示させること等が考えられる。この場合、利用者は、必要があれば、画面上の質問に関する回答をタイプ入力する。即ち、回答情報は、利用者端末25がタイプ入力などにより取得し、サーバ5へ送信する。サーバ5は、取得した回答情報と、利用者DB6に記憶された対象図形の面積値とに基づいて、見積書を作成する。そして、サーバ5は、作成した見積書のデータを端末装置25へ送信する。端末装置25は、図8(d)に示すように、当該見積書を紙媒体に印刷する。これによれば、利用者による手書き図形の面積を容易に算出することができるとともに、対象図形の面積に基づく見積書を即時に発行することが可能となる。   Then, the server 5 displays the area value of the target graphic on the screen of the terminal device 25 or the like based on the information stored in the user DB 6 (step S11). For example, a screen as shown in FIG. 8C is created based on the format data prepared in advance and the name of the user, the area of the target graphic, and the image data of the target graphic stored in the user DB 6. It is conceivable to display on the display screen of the terminal device 25. In this case, if necessary, the user types in an answer regarding the question on the screen. That is, the response information is acquired by the user terminal 25 by typing or the like and transmitted to the server 5. The server 5 creates an estimate based on the acquired answer information and the area value of the target graphic stored in the user DB 6. Then, the server 5 transmits the created estimate data to the terminal device 25. As shown in FIG. 8D, the terminal device 25 prints the estimate on a paper medium. According to this, it is possible to easily calculate the area of the handwritten graphic by the user and to immediately issue an estimate based on the area of the target graphic.

なお、上記実施形態では、面積算出システム100が、端末装置25及びサーバ5から構成されているが、本発明はこれに限定されるものではなく、端末装置25がサーバ5の機能を兼ね備えていることとしてもよい。即ち、端末装置25自身が、電子ペン10から取得した記入情報に基づいて面積算出処理を行うこととしてもよい。   In the above-described embodiment, the area calculation system 100 includes the terminal device 25 and the server 5, but the present invention is not limited to this, and the terminal device 25 also has the function of the server 5. It is good as well. That is, the terminal device 25 itself may perform the area calculation process based on the entry information acquired from the electronic pen 10.

また、上記実施形態では、利用者が電子ペン10を使用して対象図形を指定する記入を行うこととしているが、本発明はこれに限定されるものではなく、通常のマジックペン等で記入を行った後、当該マジックペンの軌跡を電子ペン10でなぞることとしてもよい。   Moreover, in the said embodiment, although it is supposed that the user performs the entry which designates an object figure using the electronic pen 10, this invention is not limited to this, It fills in with a normal magic pen etc. After the operation, the trace of the magic pen may be traced with the electronic pen 10.

本発明によれば、電子ペン10及び電子ペン用帳票3を利用することで、利用者が手書きで記入した図形の面積を即時に算出することが可能となる。つまり、立体的な物体の一部を帳票3に手書き記入することで、当該一部の面積を算出するような場合であっても、容易に厳密な面積を算出することができる。   According to the present invention, by using the electronic pen 10 and the electronic pen form 3, it is possible to immediately calculate the area of the graphic handwritten by the user. In other words, by writing a part of a three-dimensional object in handwriting on the form 3, even if the area of the part is calculated, the exact area can be easily calculated.

また、本発明によれば、立体的な物体の一部を指定するために凹凸のある状態で帳票3に記入を行い、対象図形の指定が複数の切れ切れなストロークによるものとなった場合であっても、適切な補正を行うことができる。即ち、適切な補正後のストロークに基づいて、利用者が指定する対象図形を的確に特定することが可能となる。   In addition, according to the present invention, in order to specify a part of a three-dimensional object, the form 3 is filled in with the irregularity, and the target graphic is specified by a plurality of broken strokes. However, appropriate correction can be performed. That is, it becomes possible to accurately specify the target graphic designated by the user based on the appropriate corrected stroke.

本発明によれば、手書きで記入された図形の面積を容易且つ即時に算出することができる帳票として利用することができる。   According to the present invention, it is possible to use as a form that can easily and immediately calculate the area of a figure entered by handwriting.

電子ペンの使用形態を模式的に示す図である。It is a figure which shows the usage pattern of an electronic pen typically. 電子ペンの構造を示す機能ブロック図である。It is a functional block diagram which shows the structure of an electronic pen. 専用ペーパーに印刷されたドットパターンによる情報の表現方法を説明する図である。It is a figure explaining the expression method of the information by the dot pattern printed on the exclusive paper. ドットパターン及びそれに対応する情報の例である。It is an example of a dot pattern and the information corresponding to it. 専用ペーパーにより構成される帳票の構造を示す。The structure of a form composed of dedicated paper is shown. 電子ペン用帳票の例を示す。An example of a form for an electronic pen is shown. 面積算出システムの概略構成を示す。1 shows a schematic configuration of an area calculation system. 面積算出処理の過程を説明する図である。It is a figure explaining the process of an area calculation process. 本発明で使用する帳票の例である。It is an example of a form used in the present invention. 面積算出方法を説明する図である。It is a figure explaining an area calculation method. 利用者が立体的な物体に帳票を被せて記入を行う場合のストロークの経過を示す図である。It is a figure which shows progress of a stroke when a user puts a form on a three-dimensional object and fills in. 複数のストロークを直線で結合することによる補正を説明する図である。It is a figure explaining the correction | amendment by combining a some stroke with a straight line. 図7に示す面積算出システムに含まれるサーバの機能ブロック図である。FIG. 8 is a functional block diagram of a server included in the area calculation system shown in FIG. 7. 面積算出処理のフローチャートである。It is a flowchart of an area calculation process.

符号の説明Explanation of symbols

2…ネットワーク
10…電子ペン
11…プロセッサ
12…メモリ
13…データ通信ユニット
14…バッテリー
25…端末装置
26…問い合わせサーバ
27…サービスサーバ
100…面積処理システム
DESCRIPTION OF SYMBOLS 2 ... Network 10 ... Electronic pen 11 ... Processor 12 ... Memory 13 ... Data communication unit 14 ... Battery 25 ... Terminal device 26 ... Inquiry server 27 ... Service server 100 ... Area processing system

Claims (17)

電子ペンにより認識可能なドットパターンが印刷された電子ペン用帳票に記入された図形の面積を算出する端末装置であって、
前記帳票は、図形の面積を算出する基準となる単位図形が定義されたものであって、
前記端末装置は、
前記帳票に定義された単位図形の位置及び面積に関する定義情報を記憶する定義情報記憶手段と、
前記帳票に記入された記入情報を取得する記入情報取得手段と、
前記記入情報から、前記電子ペンにより1回の動作で記入されたストロークを抽出するストローク抽出手段と、
前記ストロークに基づいて、面積を算出する対象となる対象図形を特定する対象図形特定手段と、
前記定義情報に含まれる単位図形の位置に基づいて、前記対象図形に含まれる単位図形の個数を算出する個数算出手段と、
前記個数及び前記定義情報に含まれる単位図形の面積に基づいて、前記対象図形の面積を算出する面積算出手段と、を備えることを特徴とする端末装置。
A terminal device that calculates the area of a figure written on a form for an electronic pen printed with a dot pattern that can be recognized by an electronic pen,
The form is a unit graphic that defines the basis for calculating the area of the graphic,
The terminal device
Definition information storage means for storing definition information regarding the position and area of the unit graphic defined in the form;
Entry information acquisition means for acquiring entry information entered in the form;
Stroke extraction means for extracting a stroke written by the electronic pen in one operation from the entry information;
Based on the stroke, a target graphic specifying means for specifying a target graphic for calculating an area;
Number calculation means for calculating the number of unit graphics included in the target graphic based on the position of the unit graphic included in the definition information;
An area calculating means for calculating the area of the target graphic based on the number and the area of the unit graphic included in the definition information.
前記個数算出手段は、
前記定義テーブルに含まれる単位図形の位置に基づいて、前記対象図形に全て含まれる単位図形の個数である第1全体個数を算出する第1全体個数算出手段と、
前記定義テーブルに含まれる単位図形の位置に基づいて、前記対象図形に一部含まれる単位図形の個数である第1部分個数を算出する第1部分個数算出手段と、をさらに備え、
前記面積算出手段は、前記第1全体個数、前記第1部分個数及び前記定義情報に含まれる単位図形の面積に基づいて、前記対象図形の面積を算出することを特徴とする請求項1に記載の端末装置。
The number calculating means is
First overall number calculating means for calculating a first overall number that is the number of unit graphics that are all included in the target graphic, based on the position of the unit graphic included in the definition table;
First part number calculating means for calculating a first part number that is the number of unit graphics partially included in the target graphic based on the position of the unit graphic included in the definition table;
2. The area calculation unit according to claim 1, wherein the area calculation unit calculates an area of the target graphic based on the first total number, the first partial number, and an area of a unit graphic included in the definition information. Terminal equipment.
前記ストロークの座標データに基づいて、当該ストロークの始点の位置座標を特定する始点特定手段と、
前記ストロークの座標データに基づいて、当該ストロークの終点の位置座標を特定する終点特定手段と、
前記ストローク抽出手段が抽出したストローク数を特定するストローク数特定手段と、
前記ストローク数特定手段が特定したストローク数が1本であるか否かを判定するストローク数判定手段と、
前記ストローク数判定手段が1本であると判定した場合に、前記ストロークの始点及び終点が結合しているか否かを判定する結合判定手段と、
前記結合判定手段が結合していないと判定した場合に、前記ストロークの始点及び終点を直線で結ぶことで前記ストロークの補正を行う第1補正手段と、をさらに備え、
前記対象図形特定手段は、前記補正手段による補正後のストロークに基づいて、前記対象図形を特定することを特徴とする請求項1又は2に記載の端末装置。
Starting point specifying means for specifying the position coordinates of the starting point of the stroke based on the coordinate data of the stroke;
End point specifying means for specifying the position coordinates of the end point of the stroke based on the coordinate data of the stroke;
A stroke number specifying means for specifying the number of strokes extracted by the stroke extracting means;
Stroke number determining means for determining whether or not the number of strokes specified by the stroke number specifying means is one;
When it is determined that the number of strokes determination unit is one, a combination determination unit that determines whether or not the start point and the end point of the stroke are combined;
And a first correction unit that corrects the stroke by connecting a start point and an end point of the stroke with a straight line when the combination determination unit determines that the combination is not combined.
The terminal device according to claim 1, wherein the target graphic specifying unit specifies the target graphic based on a stroke corrected by the correction unit.
前記ストローク数判定手段が1本ではなく複数本であると判定した場合に、前記記入情報に含まれる時間情報に基づいて、前記ストローク抽出手段が抽出したストロークの記入順序を特定する順序特定手段と、
前記記入順序に基づいて、最後以外のストロークの終点と、当該ストロークの次に記入されたストロークの始点とを直線で結ぶ第1結合手段と、
前記記入順序に基づいて、最後のストロークの終点と、最初のストロークの始点とを直線で結ぶ第2結合手段と、
第1結合手段及び第2結合手段により、前記ストロークの補正を行う第2補正手段と、をさらに備えることを特徴とする請求項3に記載の端末装置。
An order specifying means for specifying the order of entry of strokes extracted by the stroke extracting means based on time information included in the entry information when it is determined that the number of strokes determining means is not one but multiple; ,
Based on the order of entry, a first connecting means for connecting the end point of the stroke other than the last and the start point of the stroke entered next to the stroke with a straight line;
A second connecting means for connecting the end point of the last stroke and the start point of the first stroke with a straight line based on the order of entry;
The terminal device according to claim 3, further comprising: a second correction unit that corrects the stroke by a first combination unit and a second combination unit.
前記ストローク数判定手段が1本ではなく複数本であると判定した場合に、前記ストローク抽出手段が抽出した各ストロークの始点及び終点の位置座標に基づいて、1本のストロークの始点と、最も近くに位置する他のストロークの終点とを直線で結ぶことで前記ストロークの補正を行う第2補正手段をさらに備えることを特徴とする請求項3に記載の端末装置。   When it is determined that the number of strokes determining means is not one but a plurality of strokes, based on the position coordinates of the start and end points of each stroke extracted by the stroke extracting means, the closest start point of one stroke The terminal device according to claim 3, further comprising: a second correction unit that corrects the stroke by connecting the end point of another stroke positioned at a straight line. 前記帳票に定義された単位図形は不可視であることを特徴とする請求項1乃至5のいずれか一項に記載の端末装置。   6. The terminal device according to claim 1, wherein the unit graphic defined in the form is invisible. 前記帳票は、さらに、前記単位図形よりも小さい小単位図形が定義されたものであり、
前記定義情報記憶手段は、前記帳票に定義された単位図形及び小単位図形それぞれの位置及び面積に関する定義情報を記憶したものであって、
前記端末装置は、
前記対象図形の境界付近を拡大する拡大手段と、
前記拡大した拡大対象図形を参照し、前記定義テーブルに含まれる小単位図形の位置に基づいて、前記拡大対象図形に全て含まれる小単位図形の個数である第2全体個数を算出する第2全体個数算出手段と、
前記拡大対象図形を参照し、前記定義テーブルに含まれる小単位図形の位置に基づいて、前記拡大対象図形に一部含まれる小単位図形の個数である第2部分個数を算出する第2部分個数算出手段と、さらに備え、
前記面積算出手段は、前記第1全体個数、前記第1部分個数、前記第2全体個数、前記第2部分個数、前記定義情報に含まれる単位図形の面積及び前記定義情報に含まれる小単位図形の面積に基づいて、前記対象図形の面積を算出することを特徴とする請求項2乃至6のいずれか一項に記載の端末装置。
The form is further defined with a small unit graphic smaller than the unit graphic,
The definition information storage means stores definition information related to the position and area of each unit graphic and small unit graphic defined in the form,
The terminal device
An enlarging means for enlarging the vicinity of the boundary of the target graphic;
The second whole number which refers to the enlarged figure to be enlarged and calculates a second whole number which is the number of small unit figures all included in the figure to be enlarged based on the position of the small unit figure included in the definition table. A number calculating means;
A second part number that refers to the enlargement target figure and calculates a second part number that is the number of small unit figures partly included in the enlargement target figure based on the position of the small unit figure included in the definition table A calculation means, and further,
The area calculating means includes the first whole number, the first part number, the second whole number, the second part number, the area of the unit graphic included in the definition information, and the small unit graphic included in the definition information. The terminal device according to claim 2, wherein the area of the target graphic is calculated based on the area of the object.
電子ペンにより認識可能なドットパターンが印刷された電子ペン用帳票に記入された図形の面積を算出するコンピュータにより実行されるプログラムであって、
前記帳票は、図形の面積を算出する基準となる単位図形が定義されたものであり、
前記プログラムは、
前記帳票に定義された単位図形の位置及び面積に関する定義情報を記憶する定義情報記憶手段、
前記帳票に記入された記入情報を取得する記入情報取得手段、
前記記入情報から、前記電子ペンにより1回の動作で記入されたストロークを抽出するストローク抽出手段、
前記ストロークに基づいて、面積を算出する対象となる対象図形を特定する対象図形特定手段、
前記定義情報に含まれる単位図形の位置に基づいて、前記対象図形に含まれる単位図形の個数を算出する個数算出手段、
前記個数及び前記定義情報に含まれる単位図形の面積に基づいて、前記対象図形の面積を算出する面積算出手段、として前記コンピュータを機能させることを特徴とするプログラム。
A program that is executed by a computer that calculates the area of a graphic that is written in a form for an electronic pen printed with a dot pattern that can be recognized by an electronic pen,
The form is defined as a unit figure that serves as a reference for calculating the area of the figure,
The program is
Definition information storage means for storing definition information about the position and area of the unit graphic defined in the form;
Entry information acquisition means for acquiring entry information entered in the form,
Stroke extracting means for extracting a stroke written in one operation by the electronic pen from the entry information;
A target graphic specifying means for specifying a target graphic for calculating an area based on the stroke;
Number calculation means for calculating the number of unit graphics included in the target graphic based on the position of the unit graphic included in the definition information;
A program that causes the computer to function as an area calculating unit that calculates an area of the target graphic based on the number and the area of a unit graphic included in the definition information.
前記個数算出手段は、
前記定義テーブルに含まれる単位図形の位置に基づいて、前記対象図形に全て含まれる単位図形の個数である第1全体個数を算出する第1全体個数算出手段、
前記定義テーブルに含まれる単位図形の位置に基づいて、前記対象図形に一部含まれる単位図形の個数である第1部分個数を算出する第1部分個数算出手段、としてさらに前記コンピュータを機能させ、
前記面積算出手段は、前記第1全体個数、前記第1部分個数及び前記定義情報に含まれる単位図形の面積に基づいて、前記対象図形の面積を算出することを特徴とする請求項8に記載のプログラム。
The number calculating means is
First overall number calculating means for calculating a first overall number that is the number of unit graphics that are all included in the target graphic based on the position of the unit graphic included in the definition table;
Based on the position of the unit graphic included in the definition table, the computer further functions as a first partial number calculating means for calculating a first partial number that is the number of unit graphic partially included in the target graphic,
9. The area calculation unit according to claim 8, wherein the area calculation means calculates the area of the target graphic based on the first total number, the first part number, and the area of the unit graphic included in the definition information. Program.
前記ストロークの座標データに基づいて、当該ストロークの始点の位置座標を特定する始点特定手段、
前記ストロークの座標データに基づいて、当該ストロークの終点の位置座標を特定する終点特定手段、
前記ストローク抽出手段が抽出したストローク数を特定するストローク数特定手段、
前記ストローク数特定手段が特定したストローク数が1本であるか否かを判定するストローク数判定手段、
前記ストローク数判定手段が1本であると判定した場合に、前記ストロークの始点及び終点が結合しているか否かを判定する結合判定手段、
前記結合判定手段が結合していないと判定した場合に、前記ストロークの始点及び終点を直線で結ぶことで前記ストロークの補正を行う第1補正手段、としてさらに前記コンピュータを機能させ、
前記対象図形特定手段は、前記補正手段による補正後のストロークに基づいて、前記対象図形を特定することを特徴とする請求項8又は9に記載のプログラム。
Start point specifying means for specifying the position coordinates of the start point of the stroke based on the coordinate data of the stroke;
End point specifying means for specifying the position coordinates of the end point of the stroke based on the coordinate data of the stroke;
Stroke number specifying means for specifying the number of strokes extracted by the stroke extracting means;
Stroke number determining means for determining whether or not the stroke number specified by the stroke number specifying means is one;
A combination determination unit that determines whether or not the start point and the end point of the stroke are combined when it is determined that the number of strokes determination unit is one;
When the combination determination unit determines that the combination is not performed, the computer is further functioned as a first correction unit that corrects the stroke by connecting a start point and an end point of the stroke with a straight line,
The program according to claim 8 or 9, wherein the target graphic specifying unit specifies the target graphic based on a stroke corrected by the correction unit.
前記ストローク数判定手段が1本ではなく複数本であると判定した場合に、前記記入情報に含まれる時間情報に基づいて、前記ストローク抽出手段が抽出したストロークの記入順序を特定する順序特定手段、
前記記入順序に基づいて、最後以外のストロークの終点と、当該ストロークの次に記入されたストロークの始点とを直線で結ぶ第1結合手段、
前記記入順序に基づいて、最後のストロークの終点と、最初のストロークの始点とを直線で結ぶ第2結合手段、
第1結合手段及び第2結合手段により、前記ストロークの補正を行う第2補正手段、としてさらに前記コンピュータを機能させることを特徴とする請求項10に記載のプログラム。
An order specifying means for specifying the order of entering strokes extracted by the stroke extracting means based on time information included in the entry information when it is determined that the number of strokes determining means is not one, but a plurality of strokes;
A first connecting means for connecting the end point of the stroke other than the last and the start point of the stroke written next to the stroke by a straight line based on the order of entry;
A second connecting means for connecting the end point of the last stroke and the start point of the first stroke with a straight line based on the entry order;
11. The program according to claim 10, wherein the computer is further caused to function as second correction means for correcting the stroke by the first combining means and the second combining means.
前記ストローク数判定手段が1本ではなく複数本であると判定した場合に、前記ストローク抽出手段が抽出した各ストロークの始点及び終点の位置座標に基づいて、1本のストロークの始点と、最も近くに位置する他のストロークの終点とを直線で結ぶことで前記ストロークの補正を行う第2補正手段をさらに備えることを特徴とする請求項10に記載のプログラム。   When it is determined that the number of strokes determining means is not one but a plurality of strokes, based on the position coordinates of the start and end points of each stroke extracted by the stroke extracting means, the closest start point of one stroke 11. The program according to claim 10, further comprising second correction means for correcting the stroke by connecting the end point of another stroke positioned at a straight line. 前記帳票に定義された単位図形は不可視であることを特徴とする請求項8乃至12のいずれか一項に記載のプログラム。   The program according to any one of claims 8 to 12, wherein the unit graphic defined in the form is invisible. 前記帳票は、さらに、前記単位図形よりも小さい小単位図形が定義されたものであり、
前記定義情報記憶手段は、前記帳票に定義された単位図形及び小単位図形それぞれの位置及び面積に関する定義情報を記憶したものであって、
前記プログラムは、
前記対象図形の境界付近を拡大する拡大手段、
前記拡大した拡大対象図形を参照し、前記定義テーブルに含まれる小単位図形の位置に基づいて、前記拡大対象図形に全て含まれる小単位図形の個数である第2全体個数を算出する第2全体個数算出手段、
前記拡大対象図形を参照し、前記定義テーブルに含まれる小単位図形の位置に基づいて、前記拡大対象図形に一部含まれる小単位図形の個数である第2部分個数を算出する第2部分個数算出手段、としてさらに前記コンピュータを機能させ、
前記面積算出手段は、前記第1全体個数、前記第1部分個数、前記第2全体個数、前記第2部分個数、前記定義情報に含まれる単位図形の面積及び前記定義情報に含まれる小単位図形の面積に基づいて、前記対象図形の面積を算出することを特徴とする請求項9乃至13のいずれか一項に記載のプログラム。
The form is further defined with a small unit graphic smaller than the unit graphic,
The definition information storage means stores definition information related to the position and area of each unit graphic and small unit graphic defined in the form,
The program is
Enlarging means for enlarging the vicinity of the boundary of the target figure,
The second whole number which refers to the enlarged figure to be enlarged and calculates a second whole number which is the number of small unit figures all included in the figure to be enlarged based on the position of the small unit figure included in the definition table. Number calculation means,
A second part number that refers to the enlargement target figure and calculates a second part number that is the number of small unit figures partly included in the enlargement target figure based on the position of the small unit figure included in the definition table Further causing the computer to function as calculation means,
The area calculating means includes the first whole number, the first part number, the second whole number, the second part number, the area of the unit graphic included in the definition information, and the small unit graphic included in the definition information. The program according to claim 9, wherein the area of the target graphic is calculated based on the area of the object.
インクペンユニット及び光学的にドットパターンを読み取る読取ユニットを備える電子ペンにより記入される電子ペン用帳票であって、
前記電子ペンにより記入されたストロークに基づく図形の面積を算出するための基準となる単位図形が定義されていることを特徴とする電子ペン用帳票。
An electronic pen form that is filled in by an electronic pen including an ink pen unit and a reading unit that optically reads a dot pattern,
An electronic pen form characterized in that a unit figure as a reference for calculating an area of a figure based on a stroke entered by the electronic pen is defined.
前記単位図形よりも小さい小単位図形がさらに定義されていることを特徴とする請求項15に記載の電子ペン用帳票。   The electronic pen form according to claim 15, wherein a small unit graphic smaller than the unit graphic is further defined. 前記単位図形及び前記小単位図形は不可視であることを特徴とする請求項15又は16に記載の電子ペン用帳票。   The electronic pen form according to claim 15 or 16, wherein the unit graphic and the small unit graphic are invisible.
JP2005131274A 2005-04-28 2005-04-28 Terminal device and program Expired - Fee Related JP4583232B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005131274A JP4583232B2 (en) 2005-04-28 2005-04-28 Terminal device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005131274A JP4583232B2 (en) 2005-04-28 2005-04-28 Terminal device and program

Publications (3)

Publication Number Publication Date
JP2006309505A true JP2006309505A (en) 2006-11-09
JP2006309505A5 JP2006309505A5 (en) 2008-08-14
JP4583232B2 JP4583232B2 (en) 2010-11-17

Family

ID=37476317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005131274A Expired - Fee Related JP4583232B2 (en) 2005-04-28 2005-04-28 Terminal device and program

Country Status (1)

Country Link
JP (1) JP4583232B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008173859A (en) * 2007-01-18 2008-07-31 Dainippon Printing Co Ltd Paper for entry with electronic pen
JP2009025934A (en) * 2007-07-18 2009-02-05 Dainippon Printing Co Ltd Electronic pen, scanner, and program used for the same
JP2009048440A (en) * 2007-08-21 2009-03-05 Dainippon Printing Co Ltd Terminal unit, program and information processing system therefor
JP2013050785A (en) * 2011-08-30 2013-03-14 Fuji Xerox Co Ltd Information processing device, imaging device, and program
JP5258008B1 (en) * 2012-09-14 2013-08-07 株式会社ケンテックス Vehicle repair cost estimation system and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63244277A (en) * 1987-03-31 1988-10-11 Ckd Corp Image area measuring instrument
JPS6450180A (en) * 1987-08-20 1989-02-27 Sanyo Electric Co Handwritten graphic recognizing method
JPH0618250A (en) * 1992-04-08 1994-01-25 Sharp Corp Electronic measure
JPH06274622A (en) * 1993-03-19 1994-09-30 Dainippon Printing Co Ltd Area calculator
JP2005078536A (en) * 2003-09-02 2005-03-24 Hitachi Maxell Ltd Handwritten data input method and system and medium and input device to be used for the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63244277A (en) * 1987-03-31 1988-10-11 Ckd Corp Image area measuring instrument
JPS6450180A (en) * 1987-08-20 1989-02-27 Sanyo Electric Co Handwritten graphic recognizing method
JPH0618250A (en) * 1992-04-08 1994-01-25 Sharp Corp Electronic measure
JPH06274622A (en) * 1993-03-19 1994-09-30 Dainippon Printing Co Ltd Area calculator
JP2005078536A (en) * 2003-09-02 2005-03-24 Hitachi Maxell Ltd Handwritten data input method and system and medium and input device to be used for the same

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008173859A (en) * 2007-01-18 2008-07-31 Dainippon Printing Co Ltd Paper for entry with electronic pen
JP2009025934A (en) * 2007-07-18 2009-02-05 Dainippon Printing Co Ltd Electronic pen, scanner, and program used for the same
JP2009048440A (en) * 2007-08-21 2009-03-05 Dainippon Printing Co Ltd Terminal unit, program and information processing system therefor
JP2013050785A (en) * 2011-08-30 2013-03-14 Fuji Xerox Co Ltd Information processing device, imaging device, and program
JP5258008B1 (en) * 2012-09-14 2013-08-07 株式会社ケンテックス Vehicle repair cost estimation system and apparatus
JP2014059668A (en) * 2012-09-14 2014-04-03 Kentex Co Ltd Vehicle repair cost estimation system and device thereof

Also Published As

Publication number Publication date
JP4583232B2 (en) 2010-11-17

Similar Documents

Publication Publication Date Title
JP4583232B2 (en) Terminal device and program
JP4770332B2 (en) Card application form for electronic pens
JP2004045844A (en) Kanji learning system, program of judgment of kanji stroke order, and kanji practice paper
JP4220206B2 (en) PROCEDURE SYSTEM, SERVER DEVICE THEREOF, AND COMPUTER PROGRAM
JP4546816B2 (en) Information processing system, server device, and program
JP4480974B2 (en) Identification system, program and electronic pen form
JP4830651B2 (en) Processing apparatus and program
JP4717560B2 (en) Server, control program and aggregation system
JP4788780B2 (en) Information processing system, program and electronic pen form
JP2006146353A (en) Server and program
JP2005037990A (en) Item specifying system and program
JP2006119713A (en) Editing terminal device, program, and document for electronic pen
JP4672523B2 (en) Specific device and program
JP4887788B2 (en) Processing device, program and electronic pen form
JP4629303B2 (en) Calculation processing system, calculation processing system server device, calculation processing program, and electronic pen form
JP4802984B2 (en) Processing apparatus and program
JP2006139338A (en) Identification system and program
JP4984590B2 (en) Electronic pen form manufacturing system and program
JP4087204B2 (en) Calculation system, calculation program and calculation form
JP2007264715A (en) Electronic pen form sheet production system, server, program and specification method
JP4957296B2 (en) Terminal device, processing system, and program
JP4451075B2 (en) Correction method in correction processing system
JP4443983B2 (en) Bookmark processing system and program
JP4362323B2 (en) Electronic form design system and program
JP4775246B2 (en) Electronic pen and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080416

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080701

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100305

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100309

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100430

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100831

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100831

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130910

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees