JP4835529B2 - Terminal device and program used therefor - Google Patents
Terminal device and program used therefor Download PDFInfo
- Publication number
- JP4835529B2 JP4835529B2 JP2007188959A JP2007188959A JP4835529B2 JP 4835529 B2 JP4835529 B2 JP 4835529B2 JP 2007188959 A JP2007188959 A JP 2007188959A JP 2007188959 A JP2007188959 A JP 2007188959A JP 4835529 B2 JP4835529 B2 JP 4835529B2
- Authority
- JP
- Japan
- Prior art keywords
- handwriting
- distance
- electronic pen
- coordinate data
- coordinate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、地理的情報提供システムの技術分野に属し、詳しくは、電子ペンにより電子ペン用媒体等に印刷された地図上の距離情報を提供する技術に関するものである。 The present invention belongs to the technical field of a geographical information providing system, and particularly relates to a technology for providing distance information on a map printed on an electronic pen medium or the like by an electronic pen.
近年、「電子ペン」、「デジタルペン」などと呼ばれるペン型入力デバイスが登場しており(以下、本明細書では「電子ペン」と呼ぶ。)、その代表的なものとしてスウェーデンのAnoto 社が開発した「アノトペン(Anoto pen )」が知られている(特許文献1参照)。アノトペンは、所定のドットパターンが印刷された専用紙と共に使用される。アノトペンは、通常のインクタイプのペン先部に加えて、専用紙上のドットパターンを読み取るための小型カメラと、データ通信ユニットを搭載している。利用者が専用紙上にアノトペンで文字などを書いたり、専用紙上に図案化されている画像にチェックマークを記入したりすると、ペンの移動に伴って小型カメラが専用紙に印刷されたドットパターンを検出し、利用者が書き込んだ文字、画像などの記入情報が取得される。この記入情報が、データ通信ユニットによりアノトペンから近くのパーソナルコンピュータや携帯電話などの端末装置に送信される。このアノトペンを利用したシステムは、キーボードに代わる入力デバイスとして利用することが可能であり、上述のパーソナルコンピュータやキーボードの使用に抵抗がある利用者にとっては非常に使いやすい。そのため、現在、各種ビジネス上の書類、申込書、契約書等に記入されたデータをデジタル化する手法として、電子ペンを利用したシステムが普及しつつある(例えば、特許文献2)。 In recent years, pen-type input devices called “electronic pens” and “digital pens” have appeared (hereinafter referred to as “electronic pens” in this specification). The developed “Anoto pen” is known (see Patent Document 1). Anotopen is used with special 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 annotation pen, or puts a check mark on the image designed on the special paper, the small camera displays the dot pattern printed on the special paper as the pen moves. Entry information such as characters and images detected and written by the user is acquired. This entry information is transmitted from the Anotopen by the data communication unit to a terminal device such as a nearby personal computer or mobile phone. 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, as a method for digitizing data entered in various business documents, application forms, contracts, etc., a system using an electronic pen is becoming widespread (for example, Patent Document 2).
本出願人は、Anoto 社の技術に見られるような電子ペンを用い、地図が印刷されている上記専用紙上で、利用者が上記電子ペンで出発地と目的地とを指定すると、出発地から目的地までの経路と、当該経路の距離情報を提供する地理的情報提供システムを提案している(特許文献3参照)。また、本出願人の提案以前においても、建設現場や測量会社、地図会社において、図面から長さ等を求める場面が多くあるため、デジタイザによる座標入力装置を用い、スタイラスペンによってパネルをヒットして座標値を入力することで、例えば建築図面における長さを求める技術が提案されている(特許文献4参照)。 The applicant uses an electronic pen, such as that found in Anoto's technology, on the dedicated paper on which the map is printed. A geographical information providing system that provides a route to a destination and distance information of the route has been proposed (see Patent Document 3). Even before the applicant's proposal, construction sites, surveying companies, and map companies often find the length, etc. from the drawing, so use a digitizer coordinate input device and hit the panel with a stylus pen. For example, a technique for obtaining a length in an architectural drawing by inputting coordinate values has been proposed (see Patent Document 4).
上述の地理的情報提供システムでは、出発地の緯度経度情報と目的地の緯度経度情報とに基づいて、出発地から目的地までの最短直線経路を算出している。したがって、この地理的情報提供システムは、最短直線経路以外の経路の距離情報を算出しないため、必ずしも利用者の所望の経路に関する距離情報を提供することができないという問題点があった。また、上記のデジタイザによる座標入力装置も同様に、単にスタイラスペンによってパネルをヒットして入力された座標値間の長さを求めるにとどまるものであった。 In the above-described geographical information providing system, the shortest straight path from the departure point to the destination is calculated based on the latitude and longitude information of the departure point and the latitude and longitude information of the destination. Therefore, since this geographical information providing system does not calculate distance information of a route other than the shortest straight route, there is a problem in that it cannot necessarily provide distance information regarding a user's desired route. Similarly, the above-described coordinate input device using a digitizer merely hits the panel with a stylus pen and obtains the length between the input coordinate values.
そこで本発明は、電子ペン又はスキャナの操作により、利用者の所望する経路に応じた距離情報を提供できる端末装置を提供し、併せてそれに用いられるプログラムを提供することを目的とする。 SUMMARY OF THE INVENTION An object of the present invention is to provide a terminal device that can provide distance information according to a route desired by a user by operating an electronic pen or a scanner, and also provide a program used therefor.
本発明に係る端末装置は、媒体に印刷されたコード化パターンを読み取って演算された離散的な座標データを電子ペン又はスキャナから受信し、その座標データから筆跡の長さに応じた距離を演算する端末装置であって、座標データを受信するデータ通信手段と、前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて筆跡に応じた距離を演算する距離演算手段とを備えることを特徴とする。 The terminal device according to the present invention receives discrete coordinate data calculated by reading a coded pattern printed on a medium from an electronic pen or a scanner, and calculates a distance according to the length of the handwriting from the coordinate data. A data communication means for receiving coordinate data; and a plurality of position coordinates of the coordinate data received by the data communication means and calculated by the electronic pen or the scanner along the handwriting, After dividing the interval so that the monotonous increase or decrease of the X coordinate continues in chronological order, the interpolation function is interpolated for each interval, and the distance corresponding to the handwriting is calculated based on the line integral value of each interpolation function. And a distance calculating means.
この構成によれば、利用者が電子ペン又はスキャナにより媒体に接触した状態で、媒体に記入又は媒体上を移動すると、電子ペン又はスキャナは、筆跡又は移動軌跡に沿った離散的な座標データを演算し、端末装置へ送信する。端末装置においては、データ通信手段が、電子ペン又はスキャナから送信された座標データを受信し、距離演算手段は、補間関数による補間の適用を可能とするため、データ通信手段によって受信され、筆跡に沿って電子ペン又はスキャナによって演算された座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて筆跡に応じた距離を演算する。したがって、利用者が所望の文字や線分を電子ペン又はスキャナで記入等することによって、端末装置は、その筆跡等に応じた距離を精度よく演算することができる。 According to this configuration, when the user fills in or moves on the medium while touching the medium with the electronic pen or the scanner, the electronic pen or the scanner acquires the discrete coordinate data along the handwriting or the movement locus. Calculate and send to terminal device. In the terminal device, the data communication means receives the coordinate data transmitted from the electronic pen or the scanner, and the distance calculation means is received by the data communication means to enable application of interpolation by an interpolation function, After dividing the position coordinates of the coordinate data calculated by the electronic pen or scanner along the interval so that the monotonous increase or decrease of the X coordinate continues in time series order, interpolation is performed with an interpolation function for each interval. The distance corresponding to the handwriting is calculated based on the line integral value of each interpolation function. Therefore, when the user enters desired characters or line segments with an electronic pen or a scanner, the terminal device can accurately calculate the distance according to the handwriting.
または、本発明に係る端末装置は、媒体に印刷されたコード化パターンを読み取って演算された離散的な座標データを電子ペン又はスキャナから受信し、その座標データから筆跡の長さに応じた距離を演算する端末装置であって、座標データを受信するデータ通信手段と、前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて筆跡に応じた距離を演算する距離演算手段とを備えることを特徴とする。 Alternatively, the terminal device according to the present invention receives discrete coordinate data calculated by reading an encoded pattern printed on a medium from an electronic pen or a scanner, and a distance corresponding to the length of the handwriting from the coordinate data. A data communication means for receiving coordinate data, and a plurality of position coordinates of the coordinate data received by the data communication means and calculated by the electronic pen or the scanner along the handwriting Is divided into sections so that the monotonous increase or decrease of the X coordinate continues in time series order and the angle formed by the three consecutive points does not become less than the threshold angle, and is interpolated with an interpolation function for each section. And a distance calculating means for calculating a distance according to the handwriting based on the line integral value of each interpolation function.
この構成によれば、利用者が電子ペン又はスキャナにより媒体に接触した状態で、媒体に記入又は媒体上を移動すると、電子ペン又はスキャナは、筆跡又は移動軌跡に沿った離散的な座標データを演算し、端末装置へ送信する。端末装置においては、データ通信手段が、電子ペン又はスキャナから送信された座標データを受信し、距離演算手段は、補間関数による補間の適用を可能とするため、データ通信手段によって受信され、筆跡に沿って電子ペン又はスキャナによって演算された座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて筆跡に応じた距離を演算する。したがって、利用者が所望の文字や線分を電子ペン又はスキャナで記入等することによって、端末装置は、その筆跡等に応じた距離を精度よく演算することができる。 According to this configuration, when the user fills in or moves on the medium while touching the medium with the electronic pen or the scanner, the electronic pen or the scanner acquires the discrete coordinate data along the handwriting or the movement locus. Calculate and send to terminal device. In the terminal device, the data communication means receives the coordinate data transmitted from the electronic pen or the scanner, and the distance calculation means is received by the data communication means to enable application of interpolation by an interpolation function, Along the coordinate data calculated by the electronic pen or scanner so that the monotonous increase or decrease of the X coordinate continues in chronological order, and the angle formed by the three consecutive points is less than the threshold angle. After dividing into sections so as not to become, interpolation is performed for each section with an interpolation function, and a distance corresponding to the handwriting is calculated based on the line integral value of each interpolation function. Therefore, when the user enters desired characters or line segments with an electronic pen or a scanner, the terminal device can accurately calculate the distance according to the handwriting.
または、本発明に係る端末装置は、地図エリアとコード化パターンが印刷された媒体の前記コード化パターンを読み取って演算された離散的な座標データを電子ペン又はスキャナから受信し、その座標データから前記地図エリア上の筆跡によって示される経路に対応する地表上の距離を演算する端末装置であって、座標データを受信するデータ通信手段と、前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて前記地図エリア上の筆跡に対応する地表上の距離を演算する距離演算手段とを備えることを特徴とする。 Alternatively, the terminal device according to the present invention receives discrete coordinate data calculated by reading the coded pattern of the medium on which the map area and the coded pattern are printed, from the electronic pen or the scanner, and from the coordinate data A terminal device for calculating a distance on the ground surface corresponding to a route indicated by a handwriting on the map area, the data communication means receiving coordinate data, received by the data communication means, and along the handwriting A plurality of position coordinates of the coordinate data calculated by the electronic pen or the scanner are divided into sections such that the monotonous increase or decrease of the X coordinate continues in time series order, and interpolation is performed with an interpolation function for each section. And a distance calculating means for calculating a distance on the ground surface corresponding to the handwriting on the map area based on a line integral value of each interpolation function. And features.
この構成によれば、利用者が電子ペン又はスキャナにより媒体の地図エリアに接触した状態で、媒体をなぞると、電子ペン又はスキャナは、なぞった経路に沿った離散的な座標データを演算し、端末装置へ送信する。端末装置においては、データ通信手段が、電子ペン又はスキャナから送信された座標データを受信し、距離演算手段は、補間関数による補間の適用を可能とするため、データ通信手段によって受信され、筆跡に沿って電子ペン又はスキャナによって演算された座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて前記地図エリア上の筆跡に対応する地表上の距離を演算する。したがって、利用者が地図エリア上で所望の経路を電子ペン又はスキャナでなぞることによって、端末装置は、地図エリア上になぞられた筆跡等に応じた地図上の距離を精度よく演算することができる。 According to this configuration, when the user traces the medium with the electronic pen or the scanner in contact with the map area of the medium, the electronic pen or the scanner calculates discrete coordinate data along the traced path, Send to terminal device. In the terminal device, the data communication means receives the coordinate data transmitted from the electronic pen or the scanner, and the distance calculation means is received by the data communication means to enable application of interpolation by an interpolation function, After dividing the position coordinates of the coordinate data calculated by the electronic pen or scanner along the interval so that the monotonous increase or decrease of the X coordinate continues in time series order, interpolation is performed with an interpolation function for each interval. The distance on the ground surface corresponding to the handwriting on the map area is calculated based on the line integral value of each interpolation function. Therefore, when the user traces a desired route on the map area with the electronic pen or the scanner, the terminal device can accurately calculate the distance on the map according to the handwriting traced on the map area. .
または、本発明に係る端末装置は、地図エリアとコード化パターンが印刷された媒体の前記コード化パターンを読み取って演算された離散的な座標データを電子ペン又はスキャナから受信し、その座標データから前記地図エリア上の筆跡によって示される経路に対応する地表上の距離を演算する端末装置であって、座標データを受信するデータ通信手段と、前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて前記地図エリア上の筆跡に対応する地表上の距離を演算する距離演算手段とを備えることを特徴とする。 Alternatively, the terminal device according to the present invention receives discrete coordinate data calculated by reading the coded pattern of the medium on which the map area and the coded pattern are printed, from the electronic pen or the scanner, and from the coordinate data A terminal device for calculating a distance on the ground surface corresponding to a route indicated by a handwriting on the map area, the data communication means receiving coordinate data, received by the data communication means, and along the handwriting A plurality of position coordinates of the coordinate data calculated by the electronic pen or the scanner is such that the monotonous increase or decrease of the X coordinate continues in chronological order, and the angle formed by three consecutive points is less than the threshold angle. After dividing into sections so as not to become, and interpolating with an interpolation function for each section, handwriting on the map area based on the line integral value of each interpolation function It characterized in that it comprises a distance calculating means for calculating a distance on the corresponding surface.
この構成によれば、利用者が電子ペン又はスキャナにより媒体の地図エリアに接触した状態で、媒体をなぞると、電子ペン又はスキャナは、なぞった経路に沿った離散的な座標データを演算し、端末装置へ送信する。端末装置においては、データ通信手段が、電子ペン又はスキャナから送信された座標データを受信し、距離演算手段は、補間関数による補間の適用を可能とするため、データ通信手段によって受信され、筆跡に沿って電子ペン又はスキャナによって演算された座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて前記地図エリア上の筆跡に対応する地表上の距離を演算する。したがって、利用者が地図エリア上で所望の経路を電子ペン又はスキャナでなぞることによって、端末装置は、地図エリア上になぞられた筆跡等に応じた地図上の距離を精度よく演算することができる。 According to this configuration, when the user traces the medium with the electronic pen or the scanner in contact with the map area of the medium, the electronic pen or the scanner calculates discrete coordinate data along the traced path, Send to terminal device. In the terminal device, the data communication means receives the coordinate data transmitted from the electronic pen or the scanner, and the distance calculation means is received by the data communication means to enable application of interpolation by an interpolation function, Along the coordinate data calculated by the electronic pen or scanner so that the monotonous increase or decrease of the X coordinate continues in chronological order, and the angle formed by the three consecutive points is less than the threshold angle. After dividing into sections so as not to become, interpolation is performed with an interpolation function for each section, and the distance on the ground surface corresponding to the handwriting on the map area is calculated based on the line integral value of each interpolation function. Therefore, when the user traces a desired route on the map area with the electronic pen or the scanner, the terminal device can accurately calculate the distance on the map according to the handwriting traced on the map area. .
さらに、上記端末装置において、補間関数は、スプライン関数又はラグランジュ関数であることを特徴とする。この場合、電子ペンは、位置座標間を滑らかな曲線で結んだ距離を演算することができる。 Further, in the above terminal device, the interpolation function is a spline function or a Lagrangian function. In this case, the electronic pen can calculate a distance obtained by connecting the position coordinates with a smooth curve.
さらに、上記端末装置において、距離演算手段によって演算された距離を報知する音声出力手段を備えるとよい。これにより、利用者は、距離演算手段によって演算された距離を認識することができる。 Furthermore, the terminal device may include a voice output unit that notifies the distance calculated by the distance calculation unit. Thereby, the user can recognize the distance calculated by the distance calculation means.
また、本発明に係るプログラムは、媒体に印刷されたコード化パターンを読み取って演算された離散的な座標データを電子ペン又はスキャナから受信し、その座標データから筆跡の長さに応じた距離を演算するコンピュータにより実行されるプログラムであって、座標データを受信するデータ通信手段、前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて筆跡に応じた距離を演算する距離演算手段として前記コンピュータを機能させることを特徴とする。 Further, the program according to the present invention receives discrete coordinate data calculated by reading a coded pattern printed on a medium from an electronic pen or scanner, and calculates a distance corresponding to the length of the handwriting from the coordinate data. A program executed by a computer that performs calculation, a data communication unit that receives coordinate data, a plurality of coordinate data received by the data communication unit, and calculated by the electronic pen or the scanner along the handwriting The position coordinates are divided into sections so that the monotonous increase or decrease of the X coordinate continues in chronological order, and interpolation is performed with an interpolation function for each section, and the handwriting is based on the line integral value of each interpolation function. The computer is caused to function as a distance calculation means for calculating a distance.
または、本発明に係るプログラムは、媒体に印刷されたコード化パターンを読み取って演算された離散的な座標データを電子ペン又はスキャナから受信し、その座標データから筆跡の長さに応じた距離を演算するコンピュータにより実行されるプログラムであって、座標データを受信するデータ通信手段、前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて筆跡に応じた距離を演算する距離演算手段として前記コンピュータを機能させることを特徴とする。 Alternatively, the program according to the present invention receives discrete coordinate data calculated by reading a coded pattern printed on a medium from an electronic pen or a scanner, and calculates a distance corresponding to the length of the handwriting from the coordinate data. A program executed by a computer that performs calculation, a data communication unit that receives coordinate data, a plurality of coordinate data received by the data communication unit, and calculated by the electronic pen or the scanner along the handwriting The position coordinates are divided into sections so that the monotonous increase or decrease of the X coordinate continues in chronological order and the angle formed by the three consecutive points does not become less than the threshold angle, and then the interpolation function for each section. The computer functions as a distance calculating means for calculating the distance corresponding to the handwriting based on the line integral value of each interpolation function. And wherein the Rukoto.
あるいは、本発明に係るプログラムは、地図エリアとコード化パターンが印刷された媒体の前記コード化パターンを読み取って演算された離散的な座標データを電子ペン又はスキャナから受信し、その座標データから前記地図エリア上の筆跡によって示される経路に対応する地表上の距離を演算するコンピュータにより実行されるプログラムであって、座標データを受信するデータ通信手段、前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて前記地図エリア上の筆跡に対応する地表上の距離を演算する距離演算手段として前記コンピュータを機能させることを特徴とする。 Alternatively, the program according to the present invention receives discrete coordinate data calculated by reading the coded pattern of the medium on which the map area and the coded pattern are printed, from an electronic pen or scanner, and from the coordinate data, A program executed by a computer that calculates a distance on the ground surface corresponding to a route indicated by a handwriting on a map area, the data communication means receiving coordinate data, received by the data communication means, and along the handwriting After dividing the plurality of position coordinates of the coordinate data calculated by the electronic pen or the scanner in such a manner that the monotonous increase or decrease of the X coordinate continues in time series order, an interpolation function is used for each section. Interpolation is performed, and the distance on the ground surface corresponding to the handwriting on the map area is calculated based on the line integral value of each interpolation function. Causing the computer to function as a distance computation means for characterized.
または、本発明に係るプログラムは、地図エリアとコード化パターンが印刷された媒体の前記コード化パターンを読み取って演算された離散的な座標データを電子ペン又はスキャナから受信し、その座標データから前記地図エリア上の筆跡によって示される経路に対応する地表上の距離を演算するコンピュータにより実行されるプログラムであって、座標データを受信するデータ通信手段、前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて前記地図エリア上の筆跡に対応する地表上の距離を演算する距離演算手段として前記コンピュータを機能させることを特徴とする。 Alternatively, the program according to the present invention receives discrete coordinate data calculated by reading the coded pattern of the medium on which the map area and the coded pattern are printed from an electronic pen or scanner, and from the coordinate data, the program is received. A program executed by a computer that calculates a distance on the ground surface corresponding to a route indicated by a handwriting on a map area, the data communication means receiving coordinate data, received by the data communication means, and along the handwriting The plurality of position coordinates of the coordinate data calculated by the electronic pen or the scanner are set such that the monotonous increase or decrease of the X coordinate continues in time series order, and the angle formed by three consecutive points is a threshold value. After dividing the section so that it is not less than an angle, interpolation is performed with an interpolation function for each section, and the line integral value of each interpolation function is calculated. Zui it is characterized by causing the computer to function as a distance calculating means for calculating a distance on the earth's surface corresponding to the handwriting on the map area.
上記プログラムをコンピュータにおいて実行することにより、上述の端末装置を実現することができる。 By executing the above program on a computer, the above-described terminal device can be realized.
本発明に係る端末装置及びそれに用いられるプログラムによれば、電子ペン及びスキャナの操作により、地図エリア等の媒体上に記入等をした際に、当該記入等による軌跡の座標データを演算しつつ軌跡の距離を演算する。この際、電子ペンやスキャナで取得した離散的な座標データの複数の位置座標を補間することによって、実際に描いた軌跡に近づけ、より正確に道のりを求めることができる。これにより、利用者が所望する経路に応じた精度のよい距離情報を提供することができる。 According to the terminal device and the program used therefor according to the present invention, when an entry is made on a medium such as a map area by operating an electronic pen and a scanner, the locus is calculated while calculating the coordinate data of the locus due to the entry. Calculate the distance. At this time, by interpolating a plurality of position coordinates of the discrete coordinate data acquired by the electronic pen or the scanner, it is possible to obtain a path more accurately by approaching the actually drawn locus. Thereby, accurate distance information according to the route desired by the user can be provided.
以下、図面を参照しながら、本発明の好適な実施形態について説明する。 Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.
<第1実施形態>
図1は本実施形態の端末装置3を用いた地図情報提供システムのシステム構成図を示している。図1に示すように、地図情報提供システムは、地図が印刷された専用紙(媒体)2A(2)と、地図上をなぞる電子ペン1A(1)と、電子ペン1Aから送信される情報を受信して地図に関する情報を演算して演算結果を報知する、パソコン、携帯電話等からなる端末装置3によって構成される。この端末装置3は、専用紙2Aに印刷されたドットパターン(コード化パターン)を読み取って演算された離散的な座標データを電子ペン1Aから受信し、その座標データから筆跡の長さに応じた距離を演算するようになっている。
<First Embodiment>
FIG. 1 shows a system configuration diagram of a map information providing system using the
電子ペン1Aは、通常のインクペンと同様のペン先部1aを備えており、利用者が通常のインクペンと同様にペン先部1aによって専用紙2Aに文字や絵柄などを書くと、ペン先部1aの移動した軌跡(筆跡)に沿って、専用紙2Aに印刷されたドットパターンを局所的、連続的に読み取り、専用紙2Aにおけるその局所位置の座標を演算し、その座標データとともに、電子ペン1Aを識別する電子ペン識別ID、筆記された時刻情報(タイムスタンプ)等を関連付けて端末装置3に送信する。端末装置3は、電子ペン1Aより電子ペン識別IDや座標データ等を受信すると、その受信した座標データ等に基づいて、電子ペン1Aの移動軌跡に応じた距離を演算する。以下、システムの各構成について詳細に説明する。
The
[専用紙]
まず専用紙(媒体)2Aについて説明する。本実施形態で使用する専用紙2Aは、用紙にドットパターンが印刷され、さらにその上に罫線や記入枠、地図などの図案や項目、文言、イラスト等が印刷されたものである。ドットパターンは、赤外線を吸収するカーボンを含んだインキにより印刷される。また、図案等は、赤外域に吸収性を持たないインキにより印刷される。ドットパターンと図案等とは用紙に対して同時に印刷してもよいし、どちらかを先に印刷してもよい。
[Special paper]
First, the dedicated paper (medium) 2A will be described. The
図2に本実施形態で使用する地図等が印刷された専用紙2Aの例を示す。図2に示す専用紙2Aは、地図を表示する地図エリア100を有する。ドットパターンは、専用紙2Aのほぼ全面に印刷されており、その上に地図の図柄、建物名称等の文字、地図記号等がカーボンを含まない通常のインキにより印刷されている。利用者はドットパターンを意識することなく、電子ペン1Aを用いてこの地図エリア100に出発地から目的地までの所望の経路を記入する。
FIG. 2 shows an example of
[ドットパターン]
続いてドットパターン(コード化パターン)について説明する。電子ペン1Aによって読み取られるドットパターンは、前述のアノト技術を採用したものである。図3は、専用紙2Aに印刷されるドットパターンのドットの位置とそのドットが変換される値との関係を説明する図である。図3に示すように、ドットパターンの各ドットは、その位置によって所定の値に対応付けられている。すなわち、ドットの位置を格子の基準位置(縦線及び横線の交差点:格子点)から上下左右のどの方向にシフトされているかによって、各ドットは、0〜3の値に対応付けられている。また、各ドットの値は、さらに、X座標用の第1ビット値及びY座標用の第2ビット値に変換される。このようにして対応付けられた情報の組合せにより、ドットパターンは、専用紙2Aにおける位置座標が決定されるよう構成されている。
[Dot pattern]
Next, a dot pattern (coded pattern) will be described. The dot pattern read by the
図4は専用紙2Aに印刷されたドットパターンによる情報の表現方法を説明するための図である。図4(a)は、専用紙2Aにおける、ある局所部のドットパターンの配列を示している。図4(a)に示すように、縦横約2mmの範囲内に6×6個のドットが、専用紙2A上のどの部分から6×6ドットを取ってもユニークなパターンとなるように配置されている。これら36(=6×6)個のドットにより形成されるドットパターンは位置座標(例えば、そのドットパターンがその専用紙2A上のどの位置にあるのか)及びドットパターンアドレス(コード化パターンアドレス)を保持している。図4(b)は、図4(a)に示す各ドットを、格子の基準位置からのシフト方向によって、図3に示す規則性に基づいて対応づけられた値に変換したものである。この変換は、ドットパターンの画像を撮影する電子ペン1Aによって行われる。
FIG. 4 is a diagram for explaining a method of expressing information by a dot pattern printed on the
[電子ペン]
次に、電子ペン1Aについて図5を参照して説明する。電子ペン1Aは、その筐体10の内部に、プロセッサ11、データ通信ユニット12、バッテリー13、LED14、CMOSカメラ15、圧力センサ16、インクカートリッジ17、及びクロック18を備える。インクカートリッジ17の先端は、ペン先部1aとなっており、利用者は、電子ペン1Aのペン先部1aを専用紙2Aに当接させながら経路や文字、絵柄を描くことができる。
[Electronic pen]
Next, the
バッテリー13は電子ペン1A内の各部品に電力を供給するためのものであり、例えば電子ペン1Aのキャップ(図示せず)の脱着により電子ペン1A自体の電源のオン/オフを行うよう構成させてもよい。圧力センサ16は、利用者が電子ペン1Aにより専用紙2A上に文字などを書く際にペン先部1aに与えられる圧力、即ち筆圧を検出し、プロセッサ11へ供給する。クロック18は、現在時刻(タイムスタンプ)を示す時間情報を発信し、プロセッサ11へ供給する。
The
プロセッサ11は、圧力センサ16から与えられる筆圧データに基づいて、LED14及びカメラ15のスイッチのオン/オフを切換える。即ち、利用者が電子ペン1Aで専用紙2A上に文字などを書くと、ペン先部1aには筆圧がかかり、圧力センサ16によって所定値以上の筆圧が検出されたときに、プロセッサ11は、利用者が記入を開始したと判定して、LED14及びカメラ15を作動させる。その一方、圧力センサ16によって検出された筆圧が所定値未満であると、プロセッサ11は、利用者による筆圧が終了したと判断して、LED14及びカメラ15の作動を終了させる。
The
LED14とCMOSカメラ15は、電子ペン1Aのペン先部1a付近に取り付けられており、筐体10におけるLED14及びCMOSカメラ15が向く部分には、開口部10aが形成されている。LED14は、専用紙2A上のペン先部1a近傍(領域A:図1参照)に向けて赤外線を照明する。領域Aは、ペン先部1aが専用紙2Aに接触する位置とはわずかにずれている。カメラ15は、LED14によって照明された領域A内におけるドットパターンを撮影し、そのドットパターンの画像データをプロセッサ11に供給する。ここで、カーボンは赤外線を吸収するため、LED14によって照射された赤外線は、ドットの部分でドットに含まれるカーボンによって吸収される。そのため、ドットの部分は、赤外線の反射量が少なく、ドット以外の部分は赤外線の反射量が多い。したがって、カメラ15の撮影により、赤外線の反射量の違いから、カーボンを含むドットの領域とそれ以外の領域を区別することができる。たとえ撮影領域に罫線や枠などが印刷されてあったとしても、罫線や枠などのインクは、赤外域に吸収性を持たないため、ドットパターンを認識することができる。なお、カメラ15による撮影領域は、図4(a)に示すような約2mm×約2mmの大きさを含む範囲であり、カメラ15の撮影は毎秒50〜100回程度行われる。
The
プロセッサ11は、利用者の記入が行われる間、カメラ15によって供給される画像データのドットパターンから、利用者が記入するストローク(筆跡)の専用紙2上におけるX,Y座標(単に「座標データ」とも呼ぶ)を連続的に演算していく。すなわち、プロセッサ11は、カメラ15によって供給される、図4(a)に示されるようなドットパターンの画像データを図4(b)に示すデータ配列に変換し、さらに、X座標ビット値・Y座標ビット値に変換して、そのデータ配列から所定の演算方法によりX,Y座標データを算出するとともに、ドットパターンアドレスを算出する。ここで、ドットパターンアドレスとは、地図エリア100が印刷された専用紙2Aの頁ごと或いは種類ごとに設定される識別子であるが、ドットパターンアドレスと地図の縮尺情報とが対応できるような、少なくとも、地図エリア100ごとにドットパターンアドレスが対応付けられている。
During the user's entry, the
そして、プロセッサ11は、クロック18から取得した時間情報21と、ドットパターンアドレス22と、座標データ23及び筆圧データ24とを関連付け、これらの情報を記入情報20として取得する。そして、プロセッサ11は、記入情報20を、データ通信ユニット12に対して、端末装置3へ送信させる。図6に記入情報20の概念図を示す。ここで、1枚の専用紙2Aにおける6×6のドットパターンは、その専用紙2A内で重複することはないため、利用者が電子ペン1Aで地図エリア100をなぞると、そのなぞった箇所が地図エリア100のどの位置であるかを、記入情報20から特定することができる。
Then, the
データ通信ユニット12は、プロセッサ11により供給される、時間情報21、ドットパターンアドレス22、座標データ23、筆圧データ24が関連付けられた記入情報20を、端末装置3へ無線送信する。データ通信ユニット12による送信は、 Bluetooth(登録商標)の無線送信によると好適である。なお、USBケーブルを使用した有線送信、端子などの接触によるデータ通信など、他の方法によって、データ通信ユニット12から端末装置3へデータ通信を行ってもよい。データ通信ユニット12による端末装置3への記入情報20の送信は、即時的且つ逐次的に行われる。
The
[端末装置]
次に、端末装置3について図7を参照して説明する。端末装置3は、ハードウェアとして、電子ペン1Aとのデータ通信が可能なアンテナ装置、CPU等のプロセッサ、ROMやRAMといったメモリ、スピーカ、ディスプレイ等で構成される、PCや携帯電話、或いは携帯端末である。図7は、端末装置3の機能ブロック図である。端末装置3は、電子ペン1Aから受信したX,Y座標データを含む記入情報20を用いて専用アプリケーションを実行することで所定の処理を行う。
[Terminal device]
Next, the
図7に示すように、端末装置3は、情報記憶手段30、データ通信手段31、距離演算手段32、音声出力手段33及び表示手段34を備える。物理的には、情報記憶手段40は、ROMやRAMといったメモリによって構成され、データ通信手段31は、データ通信ユニット、プロセッサ等によって構成され、音声出力手段33はスピーカ、表示手段34はディスプレイ等で構成される。また、距離演算手段32は、CPU等のプロセッサに組み込まれている。
As shown in FIG. 7, the
情報記憶手段30は、地図エリア100におけるドットパターンアドレス22で特定される地図エリア100に印刷された地図の縮尺値を、そのドットパターンアドレス22に対応付けた縮尺情報として記憶している。また、電子ペン1Aから取得した記入情報20と、距離演算手段32が演算した軌跡(筆跡)の長さLや地表上の距離(道のり)Dを記憶するメモリである。
The information storage means 30 stores the scale value of the map printed on the
データ通信手段31は、電子ペン1Aのデータ通信ユニット12によって送信される記入情報20を即時的且つ逐次的に取得する手段であり、 Bluetooth(登録商標)による通信方式の電波を受信するアンテナ等により構成される。
The
距離演算手段32は、データ通信手段31によって受信された複数の記入情報20を参照し、記入情報20に含まれるドットパターンアドレス22に対応付けられた縮尺値を情報記憶手段30から読みだすとともに、軌跡(筆跡)の開始点701から終了点703(図9参照)までの座標データ23に基づいて軌跡(筆跡)の長さLを演算し、さらに、その長さから地表上の距離(道のり)Dを演算し、情報記憶手段30に記憶させる。すなわち、距離演算手段30は、座標データ23の複数の位置座標を用いて、ペン・ダウン位置からペン・アップ位置までの間に記入された筆跡の長さLを演算する。
The distance calculation means 32 refers to the plurality of
より具体的には、距離演算手段32は、データ通信手段31によって受信され、筆跡に沿って電子ペン1Aによって演算された、時系列的な順位を有する複数の離散的な位置座標データ23の座標点に対して、スプライン補間或いはラグランジュ補間を適用可能とするため、X座標の単調増加又は単調減少が連続するよう区間分けし、なおかつ、滑らかな曲線となるように補間関数を適用するため、連続する三つの座標点のなす角が閾値未満の座標点においても区間の境界として区間分けを行い、各区間で補間を適用して補間関数を求める。そのうえで、距離演算手段63は、各区間の補間関数の線積分値を演算し、その積分値を積算することで精度よく筆跡の長さLを求める。
More specifically, the distance calculation means 32 is received by the data communication means 31 and is calculated by the
それと合わせて、距離演算手段32は、記入情報20に含まれるドットパターンアドレス22に基づいて、情報記憶手段30に記憶された縮尺情報を参照して、そのドットパターンアドレス22に対応した縮尺値cを読み取る。そして、距離演算手段32は、上述のように演算した筆跡の長さLと縮尺値cとから、ペン・ダウン位置からペン・アップ位置に至るまでの地表上の距離(道のり)Dを演算する。なお、情報記憶手段30に記憶された縮尺情報は、地図における単位長さ当たりの地表上の距離(地図1cmは、地表の○kmに相当)であってもよいし、縮尺割合(1:25000、1/25000)であってもよい。
At the same time, the distance calculation means 32 refers to the scale information stored in the information storage means 30 based on the
ここで、地表上の距離(道のり)Dを求めるために、地図上の長さに対して、縮尺情報に基づいて掛けるべき倍率をsとすれば、
D = L × s
となり、例えば、縮尺値c=1/25000とすれば、
D = L × s = L × 1/c
となる。
Here, in order to obtain the distance (distance) D on the ground surface, if s is a magnification to be multiplied based on the scale information with respect to the length on the map,
D = L x s
For example, if the scale value c = 1/25000,
D = L × s = L × 1 / c
It becomes.
すなわち、距離演算手段32は、電子ペン1Aから取得した複数の記入情報20に基づいて、ペン先部1aの離脱が認識された時点で、ペン・ダウン位置からペン・アップ位置まで電子ペン1Aで地図エリア100がなぞられた軌跡(筆跡)に応じた地表上の距離(道のり)Dを演算し、音声出力手段33(スピーカ)に伝送するほか、情報記憶手段30に記憶する。
In other words, the distance calculation means 32 uses the
距離演算手段32は、演算した地表上の距離(道のり)Dを、音声出力手段33に音声で報知させる。この音声出力手段33による案内メッセージの一例としては「出発地から目的地までの道のりは、○○kmです。」が挙げられる。また、距離演算手段32によって演算された地表上の距離(道のり)Dを表示手段34で表示させる。 The distance calculation means 32 causes the sound output means 33 to notify the calculated distance (distance) D on the ground surface by sound. As an example of the guidance message by the voice output means 33, “the distance from the departure place to the destination is OO km” can be cited. Further, the distance (distance) D on the ground surface calculated by the distance calculation means 32 is displayed on the display means 34.
端末装置3は、ストローク処理用の専用アプリケーションがインストールされることにより、上述の各手段が構成される。
The
[専用アプリケーション]
次に、端末装置3にインストールされる専用アプリケーション(プログラム)4について図8を参照して説明する。図8は、専用アプリケーション4のモジュール構成を示す。専用アプリケーション4は、電子ペン1Aが専用紙2Aをなぞった経路に関する記入情報20に基づいて所定の処理を実行するものであって、ダウンロード等により予め端末装置3にインストールされている。専用アプリケーション4は、専用紙2Aに対応付けられており、電子ペン1Aによる専用紙2Aへの記入により、端末装置3が記入情報20を受信することにより、専用アプリケーション4が動作する。
[Dedicated application]
Next, the dedicated application (program) 4 installed in the
図8に示すように、専用アプリケーション4は、データ通信モジュール41、情報記憶モジュール42、及び距離演算モジュール43を有する。
As shown in FIG. 8, the
データ通信モジュール41は、電子ペン1Aから記入情報20を受信する機能を有し、端末装置3にデータ通信手段31を構成させるモジュールである。
The
情報記憶モジュール42は、地図エリア100におけるドットパターンアドレス22に対応させて、地図エリア100に描かれた地図の縮尺値を保持し、また、電子ペン1Aから取得した記入情報20と,距離演算手段32が演算した軌跡(筆跡)長さLや地表上の距離(道のり)Dをメモリに記憶させるモジュールであって、端末装置3に情報記憶手段30を構成させるモジュールである。
The
距離演算モジュール43は、複数の記入情報20を参照し、座標データ23に沿った経路を決定し、その経路の長さLを求め、さらに、記入情報20のドットパターンアドレス22に対応付けられた縮尺値を情報記憶手段30から読み出して、縮尺値を参照して地表上の距離(道のり)Dを演算し、音声出力手段33に対して音声で地表上の距離Dを報知させる機能を有し、端末装置3に距離演算手段32を構成させるモジュールである。
The
[端末装置による距離演算処理]
次に、本実施形態の端末装置により行われる距離演算処理について図9及び図10を参照して説明する。図9は、電子ペン1Aでなぞられた筆跡のある専用紙2Aを示す図である。図10は、距離演算のフローチャートである。
[Distance calculation processing by terminal device]
Next, distance calculation processing performed by the terminal device of the present embodiment will be described with reference to FIGS. 9 and 10. FIG. 9 is a diagram showing the
ここで、本実施形態における距離演算処理とは、利用者が電子ペン1Aを専用紙2Aの地図エリア100に接触させてから離脱させるまでの間に、なぞった経路における地表上の距離(道のり)Dを算出し、その結果を通知する処理である。
Here, the distance calculation processing in the present embodiment is the distance (distance) on the ground surface in the traced path from when the user brings the
図9に示すように、利用者は、電子ペン1Aのペン先部1aにより、専用紙2Aの地図エリア100上の出発地(接触開始点)701に接触(ペン・ダウン)する。すると、電子ペン1Aは、圧力センサ16で検出された筆圧が所定値以上になったことで、地図エリア100への接触を検出し(ステップS1)、LED14によって赤外線を照射しつつカメラ15によってドットパターンを撮像し、プロセッサ11によって、撮像されたドットパターンの画像データから地図エリア100への接触位置における座標データ23及びドットパターンアドレス22を演算する(ステップS2)。そしてプロセッサ11は、クロック18によって発信された現在時刻を示す時間情報21、ドットパターンアドレス22、座標データ23、筆圧データ24を関連付けた記入情報20を取得する(ステップS3)。さらに、電子ペン1Aは、当該記入情報20を端末装置3へ送信する(ステップS4)。
As shown in FIG. 9, the user contacts (pens down) a starting point (contact start point) 701 on the
利用者が電子ペン1Aのペン先部1aを地図エリア100に接触させた状態で利用者の所望する経路をなぞり続けると、電子ペン1Aは地図エリア100から離れていないため(ステップS5;ノー)、ステップS2に移り、所定の間隔(例えば、1秒間に75回)でカメラ15により撮像されるドットパターンの画像データに応じて、ステップS2からステップS5を繰り返す。すなわち、電子ペン1Aは、上記経路の各地点(通過点702A,702B,702C,702D,…)の座標データ23及びドットパターンアドレス22を取得し(ステップS2)、上記のように、座標データ23等を含む記入情報20を生成し(ステップS3)、当該記入情報20を端末装置3へ送信し(ステップS4)続ける。そして、利用者は出発地から目的地まで経路をなぞり終え、終了点703で電子ペン1Aを専用紙2Aから離脱(ペン・アップ)させる。すると、電子ペン1Aは、圧力センサ16による筆圧が所定値未満になったことを検出することで、地図エリア100から離れたことを検出すると(ステップS5;イエス)、処理を終了する。
If the user keeps tracing the route desired by the user with the
このように、電子ペン1Aは、専用紙2Aに接触している間、即時的且つ逐次的に記入情報20を端末装置3へ送信する。ここで、即時的とは、電子ペン1Aが記入情報20を生成すると、その記入情報20は即座に端末装置3へ送信され、端末装置3によって取得されることを意味し、また、逐次的とは、電子ペン1Aが記入情報20を連続的に取得している間、その記入情報20は、次々に端末装置3へ送信され、端末装置3によって取得されることを意味している。
In this manner, the
端末装置3のデータ通信手段31は、電子ペン1Aから即時的且つ逐次的に記入情報20を受信する。これにより、利用者が電子ペン1Aで専用紙2Aの地図エリア100をなぞると、端末装置3は、リアルタイムで電子ペン1Aがなぞった経路下にあるドットパターンに対応した座標データ23を時系列順に取得する。そして、データ通信手段31は、電子ペン1Aから記入情報20を受信すると、記入情報20を情報記憶手段30に保存するとともに、距離演算手段32に伝送する(ステップS11)。
The data communication means 31 of the
利用者が電子ペン1Aを地図エリア100から離脱させ、圧力センサ16によってペン・アップが認識されると、電子ペン1Aから記入情報20が送信されなくなるため、端末装置3では、データ通信手段31により記入情報20を受信しなくなるので、距離演算手段32は、電子ペン1Aのペン・アップを認識し(ステップS12)、距離演算手段32は、X,Y座標データに基づいて地図エリア100上の筆跡の長さを演算する(ステップS13〜S16)。具体的には、複数の座標データを、時系列順でX座標の単調増加又は単調減少が連続するように区間分けし(ステップS13)、次いで連続する三つの座標点でなす角を求めて、その角度が閾値(90度)未満となる座標点でさらに区間分けする(ステップS14)。そして、各区間に対して、スプライン関数或いはラグランジュ関数等の補間関数を適用し、補間関数を求める(ステップS15)。続いて、各区間でその補間関数の線積分値を求め、さらに各積分値を積算して筆跡の長さLを求める(ステップ16)。さらに距離演算手段32は、ドットパターンアドレスに基づいて、情報記憶手段30に記憶された縮尺情報を参照してそのドットパターンアドレスに対応した縮尺値cを読み取り、筆跡の長さLと縮尺値cとから、地表上の距離(道のり)Dを演算する(ステップS17)。
When the user removes the
なお、通常、ドットパターンアドレスは専用紙2Aの種類ないし頁毎に同一であり、ステップS2で求められるドットパターンアドレスは変わらないため、ドットパターンアドレスを求めるのは最初の1回のみでもよいし、繰り返しドットパターンアドレスを求めて、何らかの原因によりドットパターンアドレスが変わった場合は距離演算手段32に伝送することとしてもよい。また、ドットパターンアドレスが変わらない限り、距離演算手段32が縮尺情報を参照して縮尺値を取得するのは、最初の1回のみでよい。
Usually, the dot pattern address is the same for each type or page of the
そして、電子ペン1Aが地図エリア100から離れた後で、得られた座標データ23と縮尺値cに基づいて地表上の距離(道のり)Dを演算することになる。そして、音声出力手段33は、距離演算手段32が演算して確定した接触開始点701から終了点703までの地表上の距離(道のり)Dを音声出力手段33に音声で通知させたり、表示手段34に表示させる(ステップS18)。これにより、距離演算を終了する。
Then, after the
このように、利用者が電子ペン1Aを所望の経路に沿って地図エリア100上でなぞると、それに応じて、電子ペン1Aは、なぞられた経路に沿って複数の位置座標を演算し、当該位置座標に基づいて、地図上の経路における地表上の距離(道のり)Dを、端末装置3の音声出力手段33や表示手段34を介して報知することができる。
As described above, when the user traces the
ここで、ステップS13〜S16の処理における距離演算手段32の距離演算の詳細について図11〜図14を参照しながら説明する。ここで、座標データ23の座標点は、図11に示すように、時系列順でt(0),t(1),…とする。
Here, the details of the distance calculation of the distance calculation means 32 in the processing of steps S13 to S16 will be described with reference to FIGS. Here, the coordinate points of the coordinate
まず、時系列順の複数の座標データ23を、X座標の単調増加又は単調減少が連続するように区間分けする(ステップS13)。図12に示すように、t(0)〜t(5)でX座標が単調増加、t(5)〜t(11) でX座標が単調減少、t(11) 〜でX座標が単調増加であるので、座標点t(5),t(11)を区間分けの境界とする。
First, a plurality of coordinate
次に、図13に示すように、座標点t(0),t(1),…t(k-2),t(k-1),t(k),t(k+1),…に対して、連続する三つの座標点によってなす角θ(1),…θ(k-1),θ(k),θ(k+1),θ(k+2),…(180度より小さい方の角)を求める。これらのなす角θ(1),…θ(k-1),θ(k),θ(k+1),θ(k+2),…のうち、閾値90度未満である角の頂角に当たる座標点を抽出し、区間分けの境界とする(ステップS14)。ここでは、座標点t(15),t(19) でのなす角が90度未満であるため、座標点t(15),t(19) が抽出され、これらが区間分けの境界とされる。なお、この閾値角度は適宜変えてよい。 Next, as shown in FIG. 13, coordinate points t (0), t (1),... T (k-2), t (k-1), t (k), t (k + 1),. In contrast, the angles θ (1),... Θ (k-1), θ (k), θ (k + 1), θ (k + 2),. Find the smaller corner. Of these angles θ (1),... Θ (k-1), θ (k), θ (k + 1), θ (k + 2),... The coordinate point corresponding to is extracted and set as a boundary of section division (step S14). Here, since the angle formed by the coordinate points t (15) and t (19) is less than 90 degrees, the coordinate points t (15) and t (19) are extracted, and these are used as the boundary of the section division. . The threshold angle may be changed as appropriate.
よって、座標点t(0)〜t(5), t(5)〜t(11), t(11)〜(15), t(15) 〜(19), t(19) 〜に区間分けされる。この区間分けされた各区間を、図14に示すように、
D(0):t(0)〜t(5)
D(1):t(5)〜t(11)
D(2):t(11) 〜(15)
D(3):t(15) 〜(19)
D(4):t(19) 〜
とする。
Therefore, the coordinate points are divided into t (0) to t (5), t (5) to t (11), t (11) to (15), t (15) to (19), and t (19) to Is done. As shown in FIG. 14, each section divided into these sections is
D (0): t (0) to t (5)
D (1): t (5) to t (11)
D (2): t (11) to (15)
D (3): t (15) to (19)
D (4): t (19) ~
And
そして、各区間ごとにスプライン補間を施す(ステップS15)。各区間D(m) に、区間内にある座標点を用いて、スプライン補間をかけ、図14に示すように、得られたスプライン関数をF0(x), F1(x), …, Fm-1(x),Fm(x),Fm+1(x),…とする。 Then, spline interpolation is performed for each section (step S15). Spline interpolation is applied to each section D (m) using the coordinate points in the section, and the obtained spline functions are represented by F0 (x), F1 (x),..., Fm− as shown in FIG. 1 (x), Fm (x), Fm + 1 (x),.
すると、なぞった軌跡の長さLは、
Xmax(m):区間D(m)におけるX座標の最大値
Xmin(m):区間D(m)におけるX座標の最小値
mmax:区間を分けたときのmの最大値
とすれば、次式で表される。
Xmax (m): Maximum value of X coordinate in section D (m) Xmin (m): Minimum value of X coordinate in section D (m) mmax: Maximum value of m when sections are divided It is represented by
このようにして、各区間で補間関数を用いて線積分し、各積分値を積算することで、実際に描いた軌跡に近づいたより正確な道のりが得られる。なお、補間関数は、スプライン補間のほか、ラグランジュ補間など様々な補間関数が適用可能である。 In this way, by performing line integration using an interpolation function in each section and integrating each integral value, a more accurate path closer to the actually drawn locus can be obtained. In addition to the spline interpolation, various interpolation functions such as Lagrangian interpolation can be applied as the interpolation function.
[第1実施形態の端末装置を用いたシステムによる作用効果]
この端末装置3を用いたシステムによれば、利用者が電子ペン1Aで、地図エリア100をなぞると、電子ペン1Aは、なぞられた経路上の座標を所定間隔で演算し、当該座標を含む記入情報20を生成し、即時的且つ逐次的に当該記入情報20を端末装置3へ送信する。そして、端末装置3は、電子ペン1Aから上記記入情報20を取得し、当該記入情報20の座標データ23に基づいて、軌跡(筆跡)を決定し、当該軌跡の長さLを演算したうえで、縮尺値cを参照し、地表上の距離(道のり)Dを演算する。この場合、距離演算手段32は、補間関数による補間の適用を可能とするため、データ通信手段31によって受信され、筆跡に沿って電子ペン1Aによって演算された座標データ23の複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように区間分けし、さらに連続する三点のなす角が閾値角度未満にならないように区間分けしたうえで、区間毎に補間関数で補間をかけることで、適用する補間関数により滑らかな曲線で筆跡を再現するようにし、各補間関数の線積分を演算して、積分値を積算することで精度よく筆跡の長さLを求める。そして、音声出力手段33乃至表示手段34により距離Dを報知させる。このように、端末装置3は、電子ペン1Aによってなぞられた経路に沿って演算された座標データ23を含む記入情報20を取得することにより、当該記入情報20の座標データ23に基づいて軌跡(筆跡)を決定し、端末装置3は、上記軌跡(筆跡)の長さLを演算して、音声等により利用者に報知することができる。これにより、出発地から目的地までに複数の経路がある場合にも、利用者はこの端末装置3を使用したシステムによって、簡単に経路ごとの距離を知ることができる。
[Operational effects of the system using the terminal device of the first embodiment]
According to the system using the
<第2実施形態>
次に、第2実施形態について説明する。この第2実施形態では図15に示す電子ペン1B(1)を使用するとともに、図16に示す、電子ペン1Bから端末装置3へのデータ送信処理に対応付けられたドットパターンが形成された送信エリア110を有する専用紙2B(2)を使用する。なお、第2実施形態において第1実施形態と同様の部分については同じ符号を付してその説明を適宜省略する。
Second Embodiment
Next, a second embodiment will be described. In the second embodiment, the
第2実施形態と第1実施形態とが異なる点は、第1実施形態では、利用者が電子ペン1Aで地図エリア100へ経路を記入している間に、電子ペン1Aが記入情報20を即時的且つ逐次的に端末装置3へ送信し、端末装置3も随時軌跡を演算して道のりDを求めていたのに対し、第2実施形態では、利用者が電子ペン1Bで地図エリア100へ経路を記入している間、電子ペン1Bは、記入された経路に沿って生成した記入情報20をメモリ19に記憶しておき、利用者は経路の記入を終了した段階で、専用紙2Bの送信エリア110に電子ペン1Bでチェックマークないしタップを記入することで、電子ペン1Bから記入情報20をまとめて端末装置3へ送信させ、端末装置3では、まとめて軌跡を演算して道のりDを求める点にある。そのため、第2実施形態の電子ペン1Bは、図15に示すように、記入情報20を記憶するためのメモリ19を備える。
The difference between the second embodiment and the first embodiment is that, in the first embodiment, the
第2実施形態において、利用者が図3に示す専用紙2Bの地図エリア100をなぞると、電子ペン1Bは、なぞられた軌跡(筆跡)に沿ってドットパターンを読み取って座標データ23を逐次演算していき、当該座標データ23を含む記入情報20をメモリ19に保存していく。
In the second embodiment, when the user traces the
電子ペン1Bのプロセッサ11は、ドットパターンの画像データからの座標データの演算において、送信エリア110内の筆跡に基づく記入情報20が得られると、データ通信ユニット12に対して、メモリ19に記憶していた記入情報20をまとめて端末装置3へ送信させる機能を有している。したがって、利用者が電子ペン1Bで地図エリア100への経路の記入を終え、電子ペン1Bで送信エリア110に接触すると、電子ペン1Bは、メモリ19に保存した記入情報20を端末装置3へ送信する。
The
そして、端末装置3は、電子ペン1Bから受信した記入情報20に含まれるドットパターンアドレス22に基づいて、専用紙2B上の地図エリア100の縮尺値を情報記憶手段30から読み出して特定し、開始点701から終了点703までの軌跡(筆跡)の長さLを算出することにより、地表上の距離(道のり)Dを演算し、音声出力手段33によって地表上の距離Dを報知する。
Then, the
[端末装置による距離演算処理]
続いて、第2実施形態の端末装置により行われる距離演算処理について図17及び図18を参照して説明する。図17は、電子ペン1Bでなぞられた筆跡のある専用紙2Bを示す図である。図18は、電子ペン1Bにおける距離演算のフローチャートである。
[Distance calculation processing by terminal device]
Next, distance calculation processing performed by the terminal device of the second embodiment will be described with reference to FIGS. 17 and 18. FIG. 17 is a diagram illustrating the
図17に示すように、利用者は、電子ペン1Bのペン先部1aにより、専用紙2Bの地図エリア100のうち、利用者の所望する経路の開始点701に接触する。すると、電子ペン1Bは、圧力センサ16で検出された筆圧が所定値以上になったことで、地図エリア100への接触を検出し(ステップS21)、LED14によって赤外線を照射しつつカメラ15によってドットパターンを撮像し、プロセッサ11によって、撮像されたドットパターンの画像データから地図エリア100への接触位置における座標データ23及びドットパターンアドレス22を演算する(ステップS22)。そして電子ペン1Bは、クロック18によって発信された現在時刻を示す時間情報21、ドットパターンアドレス22、座標データ23、筆圧データ24を関連付けた記入情報20を取得する(ステップS23)し、この取得した記入情報20をメモリ19に保存する(ステップS24)。次いで、利用者が電子ペン1Bのペン先部1aを地図エリア100に接触させた状態で利用者の所望する経路をなぞり続けると、電子ペン1Bは送信エリア110内の筆跡に基づく記入情報20を取得しないため(ステップS25;ノー)、ステップ2へ移り、所定の間隔(例えば、1秒間に75回)で、連続的に各地点(通過点702A,702B,702C,702D,…)の座標データ23を演算していくとともに記入情報20を生成していき、それらの記入情報20をメモリ19へ保存する。
As shown in FIG. 17, the user contacts the
そして、利用者が電子ペン1Bを経路の終了点703で地図エリア100から離した後に、電子ペン1Bで送信エリア110に接触すると(ステップS25;イエス)、電子ペン1Bは、メモリ19に保持してある記入情報20をまとめて端末装置3へ送信する(ステップS26)。
When the user moves the
端末装置3におけるデータ通信手段31は、電子ペン1Bが送信した記入情報20を受信し、当該記入情報20を情報記憶手段30に保存するとともに、距離演算手段32に伝送する(ステップS31)。
The
距離演算手段32は、記入情報20のX,Y座標データに基づいて地図エリア100上の筆跡の長さを演算する(ステップS32〜S36)。このステップS32〜S36の演算手順は、第1実施形態においてステップS13〜S17で説明した手順と同様である。すなわち、複数の座標データを、時系列順でX座標の単調増加又は単調減少が連続するように区間分けし(ステップS32)、次いで連続する三つの座標点でなす角を求めて、その角度が閾値(90度)未満となる座標点でさらに区間分けする(ステップS33)。そして、各区間に対して、スプライン関数或いはラグランジュ関数等の補間関数を適用し、補間関数を求める(ステップS34)。続いて、各区間でその補間関数の線積分値を求め、さらに各積分値を積算して筆跡の長さLを求める(ステップ35)。さらに距離演算手段32は、ドットパターンアドレスに基づいて、情報記憶手段30に記憶された縮尺情報を参照してそのドットパターンアドレスに対応した縮尺値cを読得り、筆跡の長さLと縮尺値cとから、地表上の距離(道のり)Dを演算する(ステップS36)。
The distance calculation means 32 calculates the length of the handwriting on the
この第2実施形態では、利用者が電子ペン1Bで、地図エリア100をなぞると、電子ペン1Bは、なぞられた経路上の座標データ23を所定間隔で演算し、当該座標データ23を含む記入情報20を生成し、メモリ19に記憶する。そして、利用者が電子ペン1Bを送信エリア110に接触させると、電子ペン1Bは、当該記入情報20を端末装置3へまとめて送信する。そして、端末装置3は、電子ペン1Bから記入情報20を取得し、当該記入情報20の座標データ23に基づいて、軌跡(筆跡)を決定し、当該経路の長さLを演算したうえで、縮尺値cを参照し、地表上の距離(道のり)Dを演算する。このように、端末装置3は、電子ペン1Bによってなぞられた経路に沿って演算された座標データ23を含む記入情報20を取得することにより、当該記入情報20の座標データ23に基づいて軌跡(筆跡)を決定し、端末装置3は、上記軌跡(筆跡)の長さLを演算することにより、利用者が電子ペン1Bでなぞった任意の経路における地表上の距離Dを演算することができる。
In the second embodiment, when the user traces the
そして、地表上の距離(道のり)Dを演算した後、距離演算手段32は、演算して確定した接触開始点701から終了点703までの地表上の距離(道のり)Dを音声出力手段33に音声で通知させたり、表示手段34に表示させたりする(ステップS37)。これにより、距離演算を終了する。
Then, after calculating the distance (distance) D on the ground surface, the distance calculation means 32 supplies the sound output means 33 with the distance (distance) D on the ground surface from the
ここで、ステップS32〜S35の処理における距離演算手段32の距離演算の詳細は、第1実施形態で図11〜図14を参照して説明したステップS13〜S16の処理と同じである。 Here, the details of the distance calculation of the distance calculation means 32 in the processes of steps S32 to S35 are the same as the processes of steps S13 to S16 described with reference to FIGS. 11 to 14 in the first embodiment.
[第2実施形態の端末装置を用いたシステムによる作用効果]
この端末装置3を用いたシステムによれば、利用者が電子ペン1Bで、地図エリア100をなぞると、電子ペン1Bは、なぞられた経路上の座標を所定間隔で演算し、当該座標を含む記入情報20を生成し、メモリ19に記憶する。そして、利用者が電子ペン1Bを送信エリア110に接触させると、電子ペン1Bは、当該記入情報20を端末装置3へまとめて送信する。そして、端末装置3は、電子ペン1Bから記入情報20を取得し、当該記入情報20の座標データ23に基づいて、軌跡(筆跡)を決定し、当該軌跡の長さLを演算したうえで、縮尺値cを参照し、地表上の距離(道のり)Dを演算する。この場合、距離演算手段32は、補間関数による補間の適用を可能とするため、データ通信手段31によって受信され、筆跡に沿って電子ペン1Bによって演算された座標データ23の複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように区間分けし、さらに連続する三点のなす角が閾値角度未満にならないように区間分けしたうえで、区間毎に補間関数で補間をかけることで、適用する補間関数により滑らかな曲線で筆跡を再現するようにし、各補間関数の線積分を演算して、積分値を積算することで精度よく筆跡の長さLを求める。そして、音声出力手段33乃至表示手段34により距離Dを報知させる。このように、端末装置3は、電子ペン1Bによってなぞられた経路に沿って演算された座標データ23を含む記入情報20を取得することにより、当該記入情報20の座標データ23に基づいて軌跡(筆跡)を決定し、端末装置3は、上記軌跡(筆跡)の長さLを演算して、音声等により利用者に報知することができる。これにより、出発地から目的地までに複数の経路がある場合にも、利用者はこの端末装置3を使用したシステムによって、簡単に経路ごとの距離を知ることができる。
[Operational effects of the system using the terminal device of the second embodiment]
According to the system using the
<第3実施形態>
次に、図19を参照して第3実施形態について説明する。第3実施形態は、第1実施形態及び第2実施形態とは区間分けの方法が異なるだけで、それ以外は第1実施形態及び第2実施形態と同様である。図19は、図10のフローチャートにおけるステップS13,S14、図18のフローチャートにおけるステップS32,S33で行う区間分けの変形例を示すフローチャートである。
<Third Embodiment>
Next, a third embodiment will be described with reference to FIG. The third embodiment is the same as the first embodiment and the second embodiment except that the method of dividing the section is different from the first embodiment and the second embodiment. FIG. 19 is a flowchart showing a modification of the section division performed in steps S13 and S14 in the flowchart of FIG. 10 and steps S32 and S33 in the flowchart of FIG.
第3実施形態では、記入情報20における座標データ23の位置座標の時系列のデータにおいて、X座標の単調増加又は単調減少が連続するという観点と、連続する三点のなす角が閾値角度未満とならないという観点の両方から同時に判断して区間分けする。
In the third embodiment, in the time-series data of the position coordinates of the coordinate
図10のステップS12又は図18のシステムS31に続いて、図19に示す区間分け処理を開始する。まず、座標データの区間分けのためのnに初期値0(n=0)を付与する(ステップS41)。そして、連続する三つの座標点t(n),t(n+1),t(n+2)のX座標(n=0とする)が単調増加又は単調減少かを判断し(ステップS42)、イエスの場合は、座標点t(n),t(n+1),t(n+2)のなす角を求め(ステップS43)、その角度が閾値未満か否かを判断し(ステップS44)、イエスの場合は、座標点t(n+1)を区間の境界とする(ステップS45)。一方、ステップS42において、連続する三つの座標点t(n),t(n+1),t(n+2)のX座標が、単調増加でも単調減少でもない場合(ノー)は、増減傾向が変化しているため、ステップS45に進み、座標点t(n+1)を区間の境界とする。 Subsequent to step S12 in FIG. 10 or system S31 in FIG. 18, the section dividing process shown in FIG. 19 is started. First, an initial value 0 (n = 0) is assigned to n for dividing the coordinate data into sections (step S41). Then, it is determined whether the X coordinate (n = 0) of three consecutive coordinate points t (n), t (n + 1), t (n + 2) is monotonically increasing or monotonically decreasing (step S42). If yes, the angle formed by the coordinate points t (n), t (n + 1), t (n + 2) is obtained (step S43), and it is determined whether the angle is less than the threshold (step S44). In the case of yes, the coordinate point t (n + 1) is set as the boundary of the section (step S45). On the other hand, if the X coordinate of the three consecutive coordinate points t (n), t (n + 1), t (n + 2) is neither monotonously increasing nor monotonically decreasing (No) in step S42, it tends to increase or decrease. Therefore, the process proceeds to step S45, and the coordinate point t (n + 1) is set as the boundary of the section.
また、ステップS44において、なす角が閾値未満ではなかった場合(ノー)と、ステップS45を経た場合のいずれの場合も、座標点t(n+2)が終点か否かを判断し(ステップS46)、イエスの場合は区間分けを終了する。ノーの場合は、nを1だけインクリメントさせて(ステップS47:n=n++)、区間分けの妥当性を判断する対象の連続する三点を、時系列で一番古い1点を除き次に新しい1点を加えた新たな連続する三点とし、ステップS42〜46の手順を繰り返して行う。この手順により時系列順の座標点の最後まで処理すると(ステップS46:イエス)、区間分けを終了する。区間分けを終了すると、図10又は図18に戻り、図10のステップS15又は図18のステップS34に進む。この方法により、X座標の単調増加又は単調減少が連続し、且つ、連続する三点のなす角が閾値角度未満とならない区間分けを同時に判断して処理することができる。 In step S44, it is determined whether the coordinate point t (n + 2) is the end point (step S46) in both cases where the angle formed is not less than the threshold value (no) and after step S45. ), In the case of yes, the section division ends. In the case of No, n is incremented by 1 (step S47: n = n ++), and the three consecutive points to be judged for the validity of the section division are replaced with the next newest one except the oldest one in the time series. The procedure of steps S42 to S46 is repeated by setting one new point to three new points. When processing is performed up to the end of the coordinate points in time series order by this procedure (step S46: Yes), the section division is finished. When the section division is completed, the process returns to FIG. 10 or 18 and proceeds to step S15 in FIG. 10 or step S34 in FIG. By this method, it is possible to simultaneously determine and process the section division in which the monotonous increase or decrease of the X coordinate is continuous and the angle formed by the three consecutive points is not less than the threshold angle.
[第3実施形態の端末装置を用いたシステムによる作用効果]
この端末装置3を用いたシステムによれば、第1,2実施形態の端末装置3を用いたシステムと同様に、精度よく筆跡の長さLを求めることができる。すなわち、距離演算手段32における演算時に、座標データ23の複数の位置座標に対して、時系列順でX座標の単調増加又は単調減少が連続するよう区間分けすることに加え、さらに、連続する三つの座標点のなす角が閾値未満の座標点においても区間の境界とするようにしたことで、適用する補間関数により、より滑らかな曲線で筆跡を再現することができる。
[Operational effects of the system using the terminal device of the third embodiment]
According to the system using the
以上、本発明の実施の形態について詳細に説明してきたが、本発明は上記した実施形態に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲において種々の変更が可能である。 Although the embodiments of the present invention have been described in detail above, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present invention.
上記実施形態では、連続する三つの座標点のなす角が閾値未満の座標点においても区間の境界として区間分けを行ったが、これを省略し、X座標の単調増加又は単調減少が連続するよう区間分けした後で、各区間に補間を適用し補間関数を求めるようにしてもよい。このようにしても、スプライン関数やラグランジュ関数を求めることはでき、急峻な曲がりを有する道のりを求めることが想定されない場合は、十分である。 In the above embodiment, section division is performed as a section boundary even at a coordinate point where the angle formed by three consecutive coordinate points is less than the threshold value. However, this is omitted, and the monotonous increase or decrease of the X coordinate continues. After dividing into sections, an interpolation function may be obtained by applying interpolation to each section. Even in this case, it is possible to obtain a spline function or a Lagrangian function, which is sufficient when it is not assumed that a road having a steep bend is assumed.
上記実施形態では、地図エリア100に経路をなぞって地表上の距離(道のり)Dを求めるために、距離演算手段32が縮尺情報を参照しているが、例えば、地図エリア100から地表上の距離(道のり)Dを求めるのではなく、単に、専用紙2Bになぞった長さを求めたい場合には、距離演算手段32に、縮尺情報を参照させずに線積分の長さを演算させて、音声出力手段に音声で出力させるようにしてもよい。
In the above embodiment, the distance calculation means 32 refers to the scale information in order to trace the route to the
また、上記実施形態では、距離演算手段32は、軌跡(筆跡)の長さLの演算に先立って、情報記憶手段30から縮尺情報を取得しているが、軌跡の長さLを算出した後、縮尺情報を取得するようにしてもよい。
In the above embodiment, the
上記実施形態では、データ通信手段31によって受信された記入情報20に含まれる座標データ23が連続して同じであれば、同じ座標データ23の記入情報20のうち、2つ目以降の記入情報20を情報記憶手段30に記憶せず、距離演算手段32も軌跡の長さの演算に加味しないようにしてもよい。これにより、端末装置3の処理の負担を低減することができる。同様にして、上記第2実施形態の電子ペン1Bは、取得した記入情報20に含まれる座標データが連続して同じであれば、同じ座標データ23の記入情報20のうち、2つ目以降の記入情報20をメモリ19に記憶しないようにしてもよい。
In the above embodiment, if the coordinate
また、上記実施形態では、インクカートリッジを有する電子ペン1を使用したが、インクカートリッジの付いていないペン型スキャナを用いてもよい。
In the above embodiment, the
また、電子ペン1内に、ペン自体又はその所有者に関するプロパティ情報(ペン情報又はペン所有者情報)を保持しておき、端末装置3から参照することができるようにしてもよいし、プロパティ情報の全部又は一部を記入情報とともに端末装置3に送信するようにしてもよい。ペン情報としては、バッテリーレベル、ペンID、ペン製造者番号、ペンソフトウェアのバージョン、サブスクリプションプロバイダのID、空きメモリ容量などが挙げられる。また、ペン所有者情報としては、国籍、言語、タイムゾーン、Eメールアドレス、名称、住所、ファックス/電話番号、携帯電話番号などが挙げられる。
Further, property information (pen information or pen owner information) relating to the pen itself or its owner may be held in the
また、上記実施形態では、ドットは赤外線を吸収するカーボンを含むインクとし、電子ペン1のLED14を、赤外線を照射するLEDとし、カメラ15によって赤外線の反射量の差によって、電子ペン1でドットパターンを読み取っているが、これに限らない。例えば、ドットは所定波長の光によって所定波長を発光するインクとし、電子ペン1のLED14を、ドットのインクを発光させる光を照射するものとし、カメラ15によってドットのインクが発光する波長の領域を検知することによって、電子ペン1でドットパターンを読み取るようにしてもよく、カメラ15によってドットパターンが読み取れれば、ドットのインクの種別やLED14の照射光等は上記実施形態で示したものに限られない。また、専用紙2における位置座標が特定できるものであれば、ドットパターンの代わりに、別のコード化されたパターン、例えば、2次元コードパターンなどであってもよい。
Further, in the above embodiment, the dots are ink containing carbon that absorbs infrared rays, the
本発明は、電子ペン用媒体から構成される、登山用の地図、タウンマップ等の地図アプリケーション、建築見取り図、設計図面等の建築アプリケーション、ゴールまでに辿った経路の最短距離を競う迷路クイズ等に適用することができる。 The present invention provides a map for mountain climbing, a map application such as a town map, an architectural application such as a architectural sketch, a design drawing, a maze quiz for competing for the shortest distance of the route traced to the goal, and the like. Can be applied.
1,1A,2A…電子ペン、1a…ペン先部、11…プロセッサ、12…データ通信ユニット、13…バッテリー、14…LED、15…CMOSカメラ、16…圧力センサ、17…インクカートリッジ、18…クロック、19…メモリ、2,2A,2B…専用紙(媒体)、20…記入情報、21…時間情報、22…ドットパターンアドレス、23…座標データ、24…筆圧データ、3…端末装置、30…情報記憶手段、31…データ通信手段、32…距離演算手段、33…音声出力手段、34…表示手段、4…専用アプリケーション、41…データ通信モジュール、42…情報記憶モジュール、43…距離演算モジュール、100…地図エリア、110…送信エリア、701…接始点、702A,702B,702C,702D…通過点、703…終了点。
DESCRIPTION OF
Claims (10)
座標データを受信するデータ通信手段と、
前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて筆跡に応じた距離を演算する距離演算手段と
を備えることを特徴とする端末装置。 A terminal device that receives discrete coordinate data calculated by reading a coded pattern printed on a medium from an electronic pen or a scanner, and calculates a distance according to the length of the handwriting from the coordinate data,
Data communication means for receiving coordinate data;
A plurality of position coordinates of the coordinate data received by the data communication means and calculated by the electronic pen or the scanner along the handwriting so that the X coordinate monotonically increases or decreases continuously in time series order. A terminal apparatus comprising: a distance calculation unit that divides a section and interpolates with an interpolation function for each section and calculates a distance according to a handwriting based on a line integral value of each interpolation function.
座標データを受信するデータ通信手段と、
前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて筆跡に応じた距離を演算する距離演算手段と
を備えることを特徴とする端末装置。 A terminal device that receives discrete coordinate data calculated by reading a coded pattern printed on a medium from an electronic pen or a scanner, and calculates a distance according to the length of the handwriting from the coordinate data,
Data communication means for receiving coordinate data;
A plurality of position coordinates of the coordinate data received by the data communication means and calculated by the electronic pen or the scanner along the handwriting so that the X coordinate monotonically increases or decreases continuously in time series order. And after dividing into sections so that the angle formed by three consecutive points does not become less than the threshold angle, the interpolation function is interpolated for each section, and the distance corresponding to the handwriting is calculated based on the line integral value of each interpolation function. A terminal device comprising a distance calculating means for calculating.
座標データを受信するデータ通信手段と、
前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて前記地図エリア上の筆跡に対応する地表上の距離を演算する距離演算手段と
を備えることを特徴とする端末装置。 A path indicated by handwriting on the map area from the coordinate data received from the electronic pen or scanner by reading the coded pattern of the medium on which the map area and the coded pattern are printed. A terminal device for calculating a distance on the ground surface corresponding to
Data communication means for receiving coordinate data;
A plurality of position coordinates of the coordinate data received by the data communication means and calculated by the electronic pen or the scanner along the handwriting so that the X coordinate monotonically increases or decreases continuously in time series order. After dividing into sections, interpolating with an interpolation function for each section, and having a distance calculation means for calculating a distance on the ground surface corresponding to the handwriting on the map area based on the line integral value of each interpolation function Characteristic terminal device.
座標データを受信するデータ通信手段と、
前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて前記地図エリア上の筆跡に対応する地表上の距離を演算する距離演算手段と
を備えることを特徴とする端末装置。 A path indicated by handwriting on the map area from the coordinate data received from the electronic pen or scanner by reading the coded pattern of the medium on which the map area and the coded pattern are printed. A terminal device for calculating a distance on the ground surface corresponding to
Data communication means for receiving coordinate data;
A plurality of position coordinates of the coordinate data received by the data communication means and calculated by the electronic pen or the scanner along the handwriting so that the X coordinate monotonically increases or decreases continuously in time series order. In addition, after dividing into sections so that the angle formed by three consecutive points does not become less than the threshold angle, interpolation is performed with an interpolation function for each section, and the handwriting on the map area based on the line integral value of each interpolation function And a distance calculating means for calculating a distance on the ground surface corresponding to the terminal.
を備えることを特徴とする請求項1〜5のうちいずれか一項に記載の端末装置。 The terminal device according to claim 1, further comprising: an audio output unit that notifies the distance calculated by the distance calculation unit.
座標データを受信するデータ通信手段、
前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて筆跡に応じた距離を演算する距離演算手段
として前記コンピュータを機能させることを特徴とするプログラム。 A program executed by a computer that receives discrete coordinate data calculated by reading a coded pattern printed on a medium from an electronic pen or scanner and calculates a distance corresponding to the length of the handwriting from the coordinate data. There,
Data communication means for receiving coordinate data;
A plurality of position coordinates of the coordinate data received by the data communication means and calculated by the electronic pen or the scanner along the handwriting so that the X coordinate monotonically increases or decreases continuously in time series order. A program which causes the computer to function as distance calculation means for dividing a section and interpolating with an interpolation function for each section and calculating a distance corresponding to a handwriting based on a line integral value of each interpolation function.
座標データを受信するデータ通信手段、
前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて筆跡に応じた距離を演算する距離演算手段
として前記コンピュータを機能させることを特徴とするプログラム。 A program executed by a computer that receives discrete coordinate data calculated by reading a coded pattern printed on a medium from an electronic pen or scanner and calculates a distance corresponding to the length of the handwriting from the coordinate data. There,
Data communication means for receiving coordinate data;
A plurality of position coordinates of the coordinate data received by the data communication means and calculated by the electronic pen or the scanner along the handwriting so that the X coordinate monotonically increases or decreases continuously in time series order. And after dividing into sections so that the angle formed by three consecutive points does not become less than the threshold angle, the interpolation function is interpolated for each section, and the distance corresponding to the handwriting is calculated based on the line integral value of each interpolation function. A program for causing the computer to function as a distance calculating means for calculating.
座標データを受信するデータ通信手段、
前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて前記地図エリア上の筆跡に対応する地表上の距離を演算する距離演算手段
として前記コンピュータを機能させることを特徴とするプログラム。 A path indicated by handwriting on the map area from the coordinate data received from the electronic pen or scanner by reading the coded pattern of the medium on which the map area and the coded pattern are printed. Is a program executed by a computer that calculates the distance on the surface corresponding to
Data communication means for receiving coordinate data;
A plurality of position coordinates of the coordinate data received by the data communication means and calculated by the electronic pen or the scanner along the handwriting so that the X coordinate monotonically increases or decreases continuously in time series order. After dividing into sections, the computer functions as a distance calculation means for performing interpolation with an interpolation function for each section and calculating a distance on the ground surface corresponding to a handwriting on the map area based on a line integral value of each interpolation function. A program characterized by letting
座標データを受信するデータ通信手段、
前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、区間毎に補間関数で補間をかけ、各補間関数の線積分値に基づいて前記地図エリア上の筆跡に対応する地表上の距離を演算する距離演算手段
として前記コンピュータを機能させることを特徴とするプログラム。 A path indicated by handwriting on the map area from the coordinate data received from the electronic pen or scanner by reading the coded pattern of the medium on which the map area and the coded pattern are printed. Is a program executed by a computer that calculates the distance on the surface corresponding to
Data communication means for receiving coordinate data;
A plurality of position coordinates of the coordinate data received by the data communication means and calculated by the electronic pen or the scanner along the handwriting so that the X coordinate monotonically increases or decreases continuously in time series order. In addition, after dividing into sections so that the angle formed by three consecutive points does not become less than the threshold angle, interpolation is performed with an interpolation function for each section, and the handwriting on the map area based on the line integral value of each interpolation function A program for causing the computer to function as a distance calculation means for calculating a distance on the ground surface corresponding to.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007188959A JP4835529B2 (en) | 2007-07-20 | 2007-07-20 | Terminal device and program used therefor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007188959A JP4835529B2 (en) | 2007-07-20 | 2007-07-20 | Terminal device and program used therefor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009026095A JP2009026095A (en) | 2009-02-05 |
| JP4835529B2 true JP4835529B2 (en) | 2011-12-14 |
Family
ID=40397842
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007188959A Expired - Fee Related JP4835529B2 (en) | 2007-07-20 | 2007-07-20 | Terminal device and program used therefor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4835529B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101090839B1 (en) * | 2009-03-06 | 2011-12-08 | (주)셈투유 | Language education system using game utensil |
| JP2015148830A (en) * | 2012-05-28 | 2015-08-20 | シャープ株式会社 | Coordinate output device, display device, coordinate output method, and program |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0212516A (en) * | 1988-06-30 | 1990-01-17 | Toshiba Corp | Actual dimension display system |
| JP2755145B2 (en) * | 1993-12-27 | 1998-05-20 | 日本電気株式会社 | Division point setting method |
| JP2000132692A (en) * | 1998-10-23 | 2000-05-12 | Nippon Telegr & Teleph Corp <Ntt> | Curve feature point extraction method and recording medium recording this method |
| JP2004046424A (en) * | 2002-07-10 | 2004-02-12 | Dainippon Printing Co Ltd | Geographic information providing system, geographic information providing method, geographic information providing program, and electronic pen form |
| JP2009009287A (en) * | 2007-06-27 | 2009-01-15 | Dainippon Printing Co Ltd | Electronic pen and scanner and program used for them |
-
2007
- 2007-07-20 JP JP2007188959A patent/JP4835529B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2009026095A (en) | 2009-02-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4835529B2 (en) | Terminal device and program used therefor | |
| JP4873376B2 (en) | Terminal device and program used therefor | |
| JP5256700B2 (en) | Terminal device and program thereof | |
| JP4905860B2 (en) | Electronic pen and scanner and program used for them | |
| JP5239283B2 (en) | Terminal device and program used therefor | |
| JP4973384B2 (en) | Terminal device, program used therefor and information processing system | |
| JP4849043B2 (en) | Electronic pen and scanner and program used for them | |
| JP5024019B2 (en) | Terminal device and program thereof | |
| JP5305256B2 (en) | Terminal device and program thereof | |
| JP2009187235A (en) | Electronic pen and program used for it | |
| JP2008309934A (en) | Terminal device, program used therefor and information processing system | |
| JP2009009287A (en) | Electronic pen and scanner and program used for them | |
| JP2008287565A (en) | Pen device and program used therefor | |
| JP5041340B2 (en) | Terminal device and program thereof | |
| JP4935552B2 (en) | Electronic pen, scanner and program used for them | |
| JP2005037990A (en) | Item identification system and program | |
| JP2009187236A (en) | Terminal device, program used therefor and information processing system | |
| JP4451075B2 (en) | Correction method in correction processing system | |
| JP4962338B2 (en) | Electronic pen and program | |
| JP4807321B2 (en) | Handwriting reproduction drawing method, handwriting reproduction drawing apparatus, and program used therefor | |
| JP2006309505A (en) | Terminal device, program and electronic pen form | |
| JP4957296B2 (en) | Terminal device, processing system, and program | |
| JP4911056B2 (en) | Terminal device, program used therefor and information processing system | |
| JP2007188159A (en) | Processing device, program and electronic pen form | |
| JP5029962B2 (en) | Terminal device and program thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100416 |
|
| 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: 20110830 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110831 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110912 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141007 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |