JP4873376B2 - Terminal device and program used therefor - Google Patents
Terminal device and program used therefor Download PDFInfo
- Publication number
- JP4873376B2 JP4873376B2 JP2007219449A JP2007219449A JP4873376B2 JP 4873376 B2 JP4873376 B2 JP 4873376B2 JP 2007219449 A JP2007219449 A JP 2007219449A JP 2007219449 A JP2007219449 A JP 2007219449A JP 4873376 B2 JP4873376 B2 JP 4873376B2
- Authority
- JP
- Japan
- Prior art keywords
- distance
- interpolation
- trajectories
- coordinate
- coordinate data
- 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
Landscapes
- Position Input By Displaying (AREA)
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参照)。また、特開平7−121698号公報(特許文献5)には、手書きデータのサンプリングを、データと最大離間距離があらかじめ設定されたしきい値を越えないようにスプライン曲線で近似する方法が開示されている。すなわち、スプライン補間した曲線とデータの最大距離がしきい値以上になっていれば、その距離を与えたデータを節点として新たに加え、スプライン補間する手法である。 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). Japanese Patent Application Laid-Open No. 7-121698 (Patent Document 5) discloses a method of approximating sampling of handwritten data with a spline curve so that the maximum separation distance from the data does not exceed a preset threshold value. ing. That is, if the maximum distance between the curve and the data subjected to the spline interpolation is equal to or greater than a threshold value, the data giving the distance is newly added as a node, and the spline interpolation is performed.
しかし、上述の地理的情報提供システムでは、出発地の緯度経度情報と目的地の緯度経度情報とに基づいて、出発地から目的地までの最短直線経路を算出している。従って、この地理的情報提供システムは、最短直線経路以外の経路の距離情報を算出しないため、必ずしも利用者の所望の経路に関する距離情報を提供することができないという問題点があった。上記のデジタイザによる座標入力装置も同様に、単にスタイラスペンによってパネルをヒットして入力された座標値間の長さを求めるにとどまるものであった。 However, the above-described geographical information providing system calculates the shortest straight path from the departure point to the destination 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 routes other than the shortest straight route, there is a problem in that it cannot always 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 a length between input coordinate values.
また、地図上に描いた経路の距離を算出するに際して、特許文献5のように専ら近似曲線としてスプライン関数だけを使用したとすれば、補間対象となるデータの密疎の程度によっては、描かれた経路の軌跡の再現性が低い場合がありうるという問題点がある。
Further, when calculating the distance of the route drawn on the map, if only the spline function is used as an approximate curve exclusively as in
そこで本発明は、電子ペン又はスキャナの操作により、利用者の所望する経路に応じた正確な距離情報を提供できる端末装置を提供し、併せてそれに用いられるプログラムを提供することを目的とする。 Therefore, an object of the present invention is to provide a terminal device that can provide accurate distance information according to a route desired by a user by operating an electronic pen or a scanner, and to provide a program used therefor.
本発明に係る端末装置は、媒体に印刷されたコード化パターンを所定時間ごとに読み取って演算された離散的な座標データを電子ペン又はペン型スキャナから受信し、その座標データから軌跡の長さに応じた距離を演算する端末装置であって、座標データを受信するデータ通信手段と、前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、採用した各補間関数の線積分値を足し合わせることにより軌跡に応じた距離を演算する距離演算手段とを備えることを特徴とする。 Terminal device according to the present invention receives a discrete coordinate data calculated by reading the printed coded pattern on the medium at predetermined time intervals from the electronic pen or wand, the length of the trajectories from the coordinate data a terminal device for calculating the distance according to the, and data communication means for receiving the coordinate data, said received by the data communication means, which is calculated by said along said trajectories electronic pen or the pen type scanner A plurality of position coordinates of the coordinate data are divided into sections so that the monotonous increase or decrease of the X coordinate continues in the read time-series order, and then interpolation is performed with a plurality of types of interpolation functions for each section. The area enclosed by the line segment connecting the position coordinates with a straight line and the curve obtained by various interpolation functions was calculated, and the interpolation function with the smallest area among those areas was adopted and adopted. Calculating a line integral value of the interpolation function, characterized by comprising a distance calculating means for calculating a distance corresponding to the trajectories by adding the line integral values for each interpolation function is employed.
この構成によれば、利用者が電子ペン又はペン型スキャナにより媒体に接触した状態で、媒体に記入又は媒体上を移動すると、電子ペン又はペン型スキャナは、移動軌跡に沿った離散的な座標データを演算し、端末装置へ送信する。端末装置においては、データ通信手段が、電子ペン又はペン型スキャナから送信された座標データを受信し、距離演算手段は、補間関数による補間の適用を可能とするため、データ通信手段によって受信され、軌跡に沿って電子ペン又はペン型スキャナによって演算された座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、採用した各補間関数の線積分値を足し合わせることにより軌跡に応じた距離を演算する。したがって、利用者が所望の文字や線分を電子ペン又はペン型スキャナで記入等することによって、端末装置は、その筆跡等に応じた距離を精度よく演算することができる。 According to this configuration, in a state where the user is in contact with the medium by the electronic pen or wand and moves over fill or medium medium, electronic pen or wand is discrete along the moving locus Coordinate data is calculated and transmitted to the terminal device. In the terminal device, the data communication means receives the coordinate data transmitted from the electronic pen or the pen-type scanner, and the distance calculation means is received by the data communication means in order to enable application of interpolation by an interpolation function, a plurality of position coordinates of the coordinate data calculated by the electronic pen or wand along the trajectories, the time in chronological order in terms of monotonically increasing or decreasing the X coordinate and segmentation to be continuous, for each section Interpolate with multiple types of interpolation functions, calculate the area enclosed by the line segment connecting each position coordinate with a straight line and the curve obtained by various interpolation functions, and choose the interpolation function of the smallest area among those areas adopted, it calculates the line integral values for each interpolation function is employed to calculate a distance corresponding to the trajectories by adding the line integral values for each interpolation function is employed. Accordingly, when the user enters desired characters or line segments with an electronic pen or a pen-type scanner, the terminal device can accurately calculate the distance according to the handwriting.
または、本発明に係る端末装置は、媒体に印刷されたコード化パターンを所定時間ごとに読み取って演算された離散的な座標データを電子ペン又はペン型スキャナから受信し、その座標データから軌跡の長さに応じた距離を演算する端末装置であって、座標データを受信するデータ通信手段と、前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、各線積分値を足し合わせることにより軌跡に応じた距離を演算する距離演算手段とを備えることを特徴とする。 Or, the terminal apparatus according to the present invention receives a discrete coordinate data calculated by reading the coded pattern printed on the medium at predetermined time intervals from the electronic pen or wand, trajectories from the coordinate data a terminal device for calculating a distance corresponding to the length of, operations and data communication means for receiving the coordinate data, received by said data communication means, by the electronic pen or the wand along the trajectories A plurality of position coordinates of the coordinate data that have been read so that the monotonous increase or decrease of the X coordinate continues in the time-series order read , and the angle formed by the three consecutive points is not less than the threshold angle. After sectioning, each section is interpolated with multiple types of interpolation functions, and the area enclosed by the line segment connecting each position coordinate with a straight line and the curves obtained by various interpolation functions is calculated. Adopts an interpolation function of the smallest area among their areas, and calculating the line integral values for each interpolation function is employed, the distance calculating means for calculating a distance corresponding to the trajectories by summing each line integral value It is characterized by providing.
この構成によれば、利用者が電子ペン又はペン型スキャナにより媒体に接触した状態で、媒体に記入又は媒体上を移動すると、電子ペン又はペン型スキャナは、移動軌跡に沿った離散的な座標データを演算し、端末装置へ送信する。端末装置においては、データ通信手段が、電子ペン又はペン型スキャナから送信された座標データを受信し、距離演算手段は、補間関数による補間の適用を可能とするため、データ通信手段によって受信され、軌跡に沿って電子ペン又はペン型スキャナによって演算された座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、各線積分値を足し合わせることにより軌跡に応じた距離を演算する。したがって、利用者が所望の文字や線分を電子ペン又はペン型スキャナで記入等することによって、端末装置は、その筆跡等に応じた距離を精度よく演算することができる。 According to this configuration, in a state where the user is in contact with the medium by the electronic pen or wand and moves over fill or medium medium, electronic pen or wand is discrete along the moving locus Coordinate data is calculated and transmitted to the terminal device. In the terminal device, the data communication means receives the coordinate data transmitted from the electronic pen or the pen-type scanner, and the distance calculation means is received by the data communication means in order to enable application of interpolation by an interpolation function, a plurality of position coordinates of the coordinate data calculated by the electronic pen or wand along the trajectories, as monotonically increasing or decreasing the X coordinate chronological order in the continuous and forms a continuous three-point The sections are divided so that the angle does not become less than the threshold angle, and each section is interpolated with multiple types of interpolation functions, and each position coordinate is surrounded by straight lines and curves obtained by various interpolation functions. the area was calculated, employing the interpolation function of the smallest area among those areas, it calculates the line integral values for each interpolation function is employed, depending on the trajectories by summing each line integral value Distance to calculate the. Accordingly, when the user enters desired characters or line segments with an electronic pen or a pen-type scanner, the terminal device can accurately calculate the distance according to the handwriting.
または、本発明に係る端末装置は、媒体に印刷されたコード化パターンを所定時間ごとに読み取って演算された離散的な座標データを電子ペン又はペン型スキャナから受信し、その座標データから軌跡の長さに応じた距離を演算する端末装置であって、座標データを受信するデータ通信手段と、前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けし、所定距離以上の位置座標間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、その一方、所定距離以上の位置座標間距離が連続しない区間では、各位置座標間の直線距離の合計値を演算し、採用した各補間関数の線積分値と直線距離の合計値を足し合わせることにより軌跡に応じた距離を演算する距離演算手段とを備えることを特徴とする。 Or, the terminal apparatus according to the present invention receives a discrete coordinate data calculated by reading the coded pattern printed on the medium at predetermined time intervals from the electronic pen or wand, trajectories from the coordinate data a terminal device for calculating a distance corresponding to the length of, operations and data communication means for receiving the coordinate data, received by said data communication means, by the electronic pen or the wand along the trajectories A plurality of position coordinates of the coordinate data thus obtained are divided into sections so that the monotonous increase or decrease of the X coordinate continues in the read time-series order, and a distance between adjacent position coordinates in each section is predetermined. Further sections are divided according to whether or not the distance is greater than or equal to the distance, and in sections where the distance between position coordinates is greater than or equal to a predetermined distance, interpolation is performed for each section using multiple types of interpolation functions, and each position is interpolated. Calculate the area surrounded by the line segment connecting the markers with straight lines and the curves obtained by various interpolation functions, adopt the interpolation function of the smallest area among those areas, and the line integral value of each adopted interpolation function On the other hand, in the interval where the distance between the position coordinates is not more than the predetermined distance, the total value of the linear distance between the position coordinates is calculated, and the total value of the linear integral value and the linear distance of each interpolation function adopted characterized in that it comprises a distance calculating means for calculating a distance corresponding to the trajectories by adding the.
この構成によれば、利用者が電子ペン又はペン型スキャナにより媒体に接触した状態で、媒体に記入又は媒体上を移動すると、電子ペン又はペン型スキャナは、移動軌跡に沿った離散的な座標データを演算し、端末装置へ送信する。端末装置においては、データ通信手段が、電子ペン又はペン型スキャナから送信された座標データを受信し、距離演算手段は、補間関数による補間の適用を可能とするため、データ通信手段によって受信され、軌跡に沿って電子ペン又はペン型スキャナによって演算された座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けし、所定距離以上の位置座標間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、その一方、所定距離以上の位置座標間距離が連続しない区間では、各位置座標間の直線距離の合計値を演算し、採用した各補間関数の線積分値と直線距離の合計値を足し合わせることにより軌跡に応じた距離を演算する。したがって、利用者が所望の文字や線分を電子ペン又はペン型スキャナで記入等することによって、端末装置は、その筆跡等に応じた距離を精度よく演算することができる。 According to this configuration, in a state where the user is in contact with the medium by the electronic pen or wand and moves over fill or medium medium, electronic pen or wand is discrete along the moving locus Coordinate data is calculated and transmitted to the terminal device. In the terminal device, the data communication means receives the coordinate data transmitted from the electronic pen or the pen-type scanner, and the distance calculation means is received by the data communication means in order to enable application of interpolation by an interpolation function, a plurality of position coordinates of the coordinate data calculated by the electronic pen or wand along the trajectories, time series in in terms of monotonically increasing or decreasing the X coordinate and segmentation so as to be continuous in each section Further sections are divided according to whether or not the distance between adjacent position coordinates is greater than or equal to a predetermined distance. In a section where distances between position coordinates that are greater than or equal to a predetermined distance are continuous, interpolation is performed using multiple types of interpolation functions for each section. The area enclosed by the line segment connecting the straight lines and the curves obtained by various interpolation functions was calculated, and the interpolation function with the smallest area among those areas was adopted and adopted. Calculating a line integral value of the interpolation function, while, in the section where the distance between the predetermined distance or more coordinates are not consecutive, calculates the total value of the linear distance between the position coordinates, the line integration value of the interpolation function is employed It calculates a distance corresponding to the trajectories by adding the total value of the linear distance. Accordingly, when the user enters desired characters or line segments with an electronic pen or a pen-type scanner, the terminal device can accurately calculate the distance according to the handwriting.
または、本発明に係る端末装置は、媒体に印刷されたコード化パターンを所定時間ごとに読み取って演算された離散的な座標データを電子ペン又はペン型スキャナから受信し、その座標データから軌跡の長さに応じた距離を演算する端末装置であって、座標データを受信するデータ通信手段と、前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けし、所定距離以上の位置座標間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、その一方、所定距離以上の位置座標間距離が連続しない区間では、各位置座標間の直線距離の合計値を演算し、採用した各補間関数の線積分値と直線距離の合計値を足し合わせることにより軌跡に応じた距離を演算する距離演算手段とを備えることを特徴とする。 Or, the terminal apparatus according to the present invention receives a discrete coordinate data calculated by reading the coded pattern printed on the medium at predetermined time intervals from the electronic pen or wand, trajectories from the coordinate data a terminal device for calculating a distance corresponding to the length of, operations and data communication means for receiving the coordinate data, received by said data communication means, by the electronic pen or the wand along the trajectories A plurality of position coordinates of the coordinate data that have been read so that the monotonous increase or decrease of the X coordinate continues in the time-series order read , and the angle formed by the three consecutive points is not less than the threshold angle. After dividing into sections, it is further divided into sections depending on whether the distance between adjacent position coordinates in each section is greater than or equal to a predetermined distance, and the distance between position coordinates that is greater than or equal to the predetermined distance is continuous. In each section, interpolation is performed with multiple types of interpolation functions for each section, and the area enclosed by the line segment connecting each position coordinate with a straight line and the curve obtained by various interpolation functions is calculated. Employs an interpolation function with a small area, calculates the line integral value of each interpolation function adopted, and on the other hand, in the interval where the distance between the position coordinates above the predetermined distance is not continuous, the total value of the linear distance between each position coordinate is calculated calculated, characterized in that it comprises a distance calculating means for calculating a distance corresponding to the trajectories by adding the total value of the line integral values and the linear distance of each interpolation function adopted.
この構成によれば、利用者が電子ペン又はペン型スキャナにより媒体に接触した状態で、媒体に記入又は媒体上を移動すると、電子ペン又はペン型スキャナは、移動軌跡に沿った離散的な座標データを演算し、端末装置へ送信する。端末装置においては、データ通信手段が、電子ペン又はペン型スキャナから送信された座標データを受信し、距離演算手段は、補間関数による補間の適用を可能とするため、データ通信手段によって受信され、軌跡に沿って電子ペン又はペン型スキャナによって演算された座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けし、所定距離以上の位置座標間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、その一方、所定距離以上の位置座標間距離が連続しない区間では、各位置座標間の直線距離の合計値を演算し、採用した各補間関数の線積分値と直線距離の合計値を足し合わせることにより軌跡に応じた距離を演算する。したがって、利用者が所望の文字や線分を電子ペン又はペン型スキャナで記入等することによって、端末装置は、その筆跡等に応じた距離を精度よく演算することができる。 According to this configuration, in a state where the user is in contact with the medium by the electronic pen or wand and moves over fill or medium medium, electronic pen or wand is discrete along the moving locus Coordinate data is calculated and transmitted to the terminal device. In the terminal device, the data communication means receives the coordinate data transmitted from the electronic pen or the pen-type scanner, and the distance calculation means is received by the data communication means in order to enable application of interpolation by an interpolation function, a plurality of position coordinates of the coordinate data calculated by the electronic pen or wand along the trajectories, as monotonically increasing or decreasing the X coordinate chronological order in the continuous and forms a continuous three-point Sections are divided so that the angle does not become less than the threshold angle, and further divided into sections depending on whether or not the distance between adjacent position coordinates in each section is equal to or greater than a predetermined distance, and the distance between the position coordinates is equal to or greater than the predetermined distance. In each section, interpolation is performed with multiple types of interpolation functions, and the area enclosed by the line segments connecting each position coordinate with straight lines and the curves obtained by various interpolation functions is calculated. Of employing an interpolation function of the smallest area among the area, it calculates the line integral values for each interpolation function is employed, while, in the section where the distance between the predetermined distance or more coordinates are not continuous, between the position coordinates It calculates the total value of the linear distance, and calculates the distance corresponding to the trajectories by adding the total value of the line integral values and the linear distance of each interpolation function adopted. Accordingly, when the user enters desired characters or line segments with an electronic pen or a pen-type 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 at predetermined time intervals from the electronic pen or the pen-type scanner. and, a terminal device for calculating a distance on the earth's surface corresponding to the path indicated by the coordinate data by trajectories on the map area, the data communication means for receiving the coordinate data, received by said data communication means , a plurality of position coordinates of said coordinate data calculated by said electronic pen or the wand along the trajectories, as monotonically increasing or decreasing the X-coordinate at the read time series are consecutive sections After dividing, each segment is interpolated with multiple types of interpolation functions, and the line segments connecting each position coordinate with straight lines and the curves obtained by various interpolation functions By calculating the area to be cut, adopting the interpolation function of the smallest area among those areas, calculating the line integral value of each adopted interpolation function, and adding the line integral values of each adopted interpolation function characterized in that it comprises a distance calculating means for calculating a distance on the earth's surface corresponding to the trajectories on the map area.
この構成によれば、利用者が電子ペン又はペン型スキャナにより媒体の地図エリアに接触した状態で、媒体をなぞると、電子ペン又はペン型スキャナは、なぞった経路に沿った離散的な座標データを演算し、端末装置へ送信する。端末装置においては、データ通信手段が、電子ペン又はペン型スキャナから送信された座標データを受信し、距離演算手段は、補間関数による補間の適用を可能とするため、データ通信手段によって受信され、軌跡に沿って電子ペン又はペン型スキャナによって演算された座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、採用した各補間関数の線積分値を足し合わせることにより前記地図エリア上の軌跡に対応する地表上の距離を演算する。したがって、利用者が地図エリア上で所望の経路を電子ペン又はペン型スキャナでなぞることによって、端末装置は、地図エリア上になぞられた筆跡等に応じた地図上の距離を精度よく演算することができる。 According to this configuration, in a state where the user contacts the map area of the medium by the electronic pen or wand, when tracing the medium, electronic pen or pen-type scanner, discrete coordinate data along the path traced Is calculated and transmitted to the terminal device. In the terminal device, the data communication means receives the coordinate data transmitted from the electronic pen or the pen-type scanner, and the distance calculation means is received by the data communication means in order to enable application of interpolation by an interpolation function, a plurality of position coordinates of the coordinate data calculated by the electronic pen or wand along the trajectories, the time in chronological order in terms of monotonically increasing or decreasing the X coordinate and segmentation to be continuous, for each section Interpolate with multiple types of interpolation functions, calculate the area enclosed by the line segment connecting each position coordinate with a straight line and the curve obtained by various interpolation functions, and choose the interpolation function of the smallest area among those areas adopted, it calculates the line integral values for each interpolation function employing, calculates the distance on the ground which corresponds to trajectories on the map area by adding the line integral values for each interpolation function employing That. Therefore, when the user traces a desired route on the map area with the electronic pen or the pen-type scanner, the terminal device can accurately calculate the distance on the map according to the handwriting traced on the map area. Can do.
または、本発明に係る端末装置は、地図エリアとコード化パターンが印刷された媒体の前記コード化パターンを所定時間ごとに読み取って演算された離散的な座標データを電子ペン又はペン型スキャナから受信し、その座標データから前記地図エリア上の軌跡によって示される経路に対応する地表上の距離を演算する端末装置であって、座標データを受信するデータ通信手段と、前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順で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 at predetermined time intervals from the electronic pen or the pen-type scanner. and, a terminal device for calculating a distance on the earth's surface corresponding to the path indicated by the coordinate data by trajectories on the map area, the data communication means for receiving the coordinate data, received by said data communication means , said plurality of position coordinates of said coordinate data calculated by said electronic pen or the wand along the trajectories, as monotonically increasing or decreasing the X coordinate in chronological order read are consecutive, In addition, after dividing the section so that the angle formed by three consecutive points does not become less than the threshold angle, each section is interpolated with multiple types of interpolation functions, Calculate the area enclosed by the line segment that connects the coordinates with a straight line and the curve obtained by various interpolation functions, adopt the interpolation function of the smallest area among those areas, and the line integral value of each adopted interpolation function calculates the, characterized in that it comprises a distance calculating means for calculating a distance on the earth's surface corresponding to the trajectories on the map area by adding the each line integral.
この構成によれば、利用者が電子ペン又はペン型スキャナにより媒体の地図エリアに接触した状態で、媒体をなぞると、電子ペン又はペン型スキャナは、なぞった経路に沿った離散的な座標データを演算し、端末装置へ送信する。端末装置においては、データ通信手段が、電子ペン又はペン型スキャナから送信された座標データを受信し、距離演算手段は、補間関数による補間の適用を可能とするため、データ通信手段によって受信され、軌跡に沿って電子ペン又はペン型スキャナによって演算された座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、各線積分値を足し合わせることにより前記地図エリア上の軌跡に対応する地表上の距離を演算する。したがって、利用者が地図エリア上で所望の経路を電子ペン又はペン型スキャナでなぞることによって、端末装置は、地図エリア上になぞられた筆跡等に応じた地図上の距離を精度よく演算することができる。 According to this configuration, in a state where the user contacts the map area of the medium by the electronic pen or wand, when tracing the medium, electronic pen or pen-type scanner, discrete coordinate data along the path traced Is calculated and transmitted to the terminal device. In the terminal device, the data communication means receives the coordinate data transmitted from the electronic pen or the pen-type scanner, and the distance calculation means is received by the data communication means in order to enable application of interpolation by an interpolation function, a plurality of position coordinates of the coordinate data calculated by the electronic pen or wand along the trajectories, as monotonically increasing or decreasing the X coordinate chronological order in the continuous and forms a continuous three-point The sections are divided so that the angle does not become less than the threshold angle, and each section is interpolated with multiple types of interpolation functions, and each position coordinate is surrounded by straight lines and curves obtained by various interpolation functions. The map area is calculated by calculating the area, adopting the interpolation function of the smallest area among these areas, calculating the line integral value of each adopted interpolation function, and adding the line integral values. Calculating a distance on the earth's surface corresponding to the trajectories of the A. Therefore, when the user traces a desired route on the map area with the electronic pen or the pen-type scanner, the terminal device can accurately calculate the distance on the map according to the handwriting traced on the map area. Can do.
または、本発明に係る端末装置は、地図エリアとコード化パターンが印刷された媒体の前記コード化パターンを所定時間ごとに読み取って演算された離散的な座標データを電子ペン又はペン型スキャナから受信し、その座標データから前記地図エリア上の軌跡によって示される経路に対応する地表上の距離を演算する端末装置であって、座標データを受信するデータ通信手段と、前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順で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 at predetermined time intervals from the electronic pen or the pen-type scanner. and, a terminal device for calculating a distance on the earth's surface corresponding to the path indicated by the coordinate data by trajectories on the map area, the data communication means for receiving the coordinate data, received by said data communication means , a plurality of position coordinates of said coordinate data calculated by said electronic pen or the wand along the trajectories, as monotonically increasing or decreasing the X-coordinate at the read time series are consecutive sections After dividing, further divide into sections depending on whether the distance between adjacent position coordinates in each section is greater than or equal to a predetermined distance. In sections where the distance between the gauges is continuous, each area is interpolated with multiple types of interpolation functions, and the area enclosed by the line segment connecting each position coordinate with straight lines and the curves obtained by various interpolation functions is calculated. The interpolation function of the smallest area among the areas is adopted, and the line integral value of each adopted interpolation function is calculated. On the other hand, in the section where the distance between the position coordinates equal to or greater than the predetermined distance is not continuous, between the position coordinates calculates the sum of the straight line distance, a distance calculating means for calculating a distance on the earth's surface corresponding to the trajectories on the map area by adding the total value of the line integral values and the linear distance of each interpolation function employing It is characterized by providing.
この構成によれば、利用者が電子ペン又はペン型スキャナにより媒体の地図エリアに接触した状態で、媒体をなぞると、電子ペン又はペン型スキャナは、なぞった経路に沿った離散的な座標データを演算し、端末装置へ送信する。端末装置においては、データ通信手段が、電子ペン又はペン型スキャナから送信された座標データを受信し、距離演算手段は、補間関数による補間の適用を可能とするため、データ通信手段によって受信され、軌跡に沿って電子ペン又はペン型スキャナによって演算された座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けし、所定距離以上の位置座標間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、その一方、所定距離以上の位置座標間距離が連続しない区間では、各位置座標間の直線距離の合計値を演算し、採用した各補間関数の線積分値と直線距離の合計値を足し合わせることにより前記地図エリア上の軌跡に対応する地表上の距離を演算する。したがって、利用者が地図エリア上で所望の経路を電子ペン又はペン型スキャナでなぞることによって、端末装置は、地図エリア上になぞられた筆跡等に応じた地図上の距離を精度よく演算することができる。 According to this configuration, in a state where the user contacts the map area of the medium by the electronic pen or wand, when tracing the medium, electronic pen or pen-type scanner, discrete coordinate data along the path traced Is calculated and transmitted to the terminal device. In the terminal device, the data communication means receives the coordinate data transmitted from the electronic pen or the pen-type scanner, and the distance calculation means is received by the data communication means in order to enable application of interpolation by an interpolation function, a plurality of position coordinates of the coordinate data calculated by the electronic pen or wand along the trajectories, time series in in terms of monotonically increasing or decreasing the X coordinate and segmentation so as to be continuous in each section Further sections are divided according to whether or not the distance between adjacent position coordinates is greater than or equal to a predetermined distance. In a section where distances between position coordinates that are greater than or equal to a predetermined distance are continuous, interpolation is performed using multiple types of interpolation functions for each section. The area enclosed by the line segment connecting the straight lines and the curves obtained by various interpolation functions was calculated, and the interpolation function with the smallest area among those areas was adopted and adopted. Calculating a line integral value of the interpolation function, while, in the section where the distance between the predetermined distance or more coordinates are not consecutive, calculates the total value of the linear distance between the position coordinates, the line integration value of the interpolation function is employed It said calculating a distance on the earth's surface corresponding to the trajectories of the map area by adding the total value of the linear distance. Therefore, when the user traces a desired route on the map area with the electronic pen or the pen-type scanner, the terminal device can accurately calculate the distance on the map according to the handwriting traced on the map area. Can do.
または、本発明に係る端末装置は、地図エリアとコード化パターンが印刷された媒体の前記コード化パターンを所定時間ごとに読み取って演算された離散的な座標データを電子ペン又はペン型スキャナから受信し、その座標データから前記地図エリア上の軌跡によって示される経路に対応する地表上の距離を演算する端末装置であって、座標データを受信するデータ通信手段と、前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順で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 at predetermined time intervals from the electronic pen or the pen-type scanner. and, a terminal device for calculating a distance on the earth's surface corresponding to the path indicated by the coordinate data by trajectories on the map area, the data communication means for receiving the coordinate data, received by said data communication means , said plurality of position coordinates of said coordinate data calculated by said electronic pen or the wand along the trajectories, as monotonically increasing or decreasing the X coordinate in chronological order read are consecutive, In addition, after dividing the section so that the angle formed by three consecutive points does not become less than the threshold angle, the distance between adjacent position coordinates in each section is predetermined. Further sections are divided according to whether or not they are separated from each other, and in sections where the distance between position coordinates is greater than or equal to a predetermined distance, each section is interpolated with multiple types of interpolation functions, and various line segments and various lines are connected by straight lines. Calculate the area enclosed by the curve obtained by the interpolation function, adopt the interpolation function of the smallest area among those areas, calculate the line integral value of each adopted interpolation function, on the other hand, more than the predetermined distance In the interval where the distance between the position coordinates is not continuous, the total value of the straight line distances between the respective position coordinates is calculated, and the sum of the linear integral values of the respective interpolation functions and the total value of the straight line distances is added to the map area. characterized in that it comprises a distance calculating means for calculating a distance on the earth's surface corresponding to the trajectories.
この構成によれば、利用者が電子ペン又はペン型スキャナにより媒体の地図エリアに接触した状態で、媒体をなぞると、電子ペン又はペン型スキャナは、なぞった経路に沿った離散的な座標データを演算し、端末装置へ送信する。端末装置においては、データ通信手段が、電子ペン又はペン型スキャナから送信された座標データを受信し、距離演算手段は、補間関数による補間の適用を可能とするため、データ通信手段によって受信され、軌跡に沿って電子ペン又はペン型スキャナによって演算された座標データの複数の位置座標を、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けし、所定距離以上の位置座標間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、その一方、所定距離以上の位置座標間距離が連続しない区間では、各位置座標間の直線距離の合計値を演算し、採用した各補間関数の線積分値と直線距離の合計値を足し合わせることにより前記地図エリア上の軌跡に対応する地表上の距離を演算する。したがって、利用者が地図エリア上で所望の経路を電子ペン又はペン型スキャナでなぞることによって、端末装置は、地図エリア上になぞられた筆跡等に応じた地図上の距離を精度よく演算することができる。 According to this configuration, in a state where the user contacts the map area of the medium by the electronic pen or wand, when tracing the medium, electronic pen or pen-type scanner, discrete coordinate data along the path traced Is calculated and transmitted to the terminal device. In the terminal device, the data communication means receives the coordinate data transmitted from the electronic pen or the pen-type scanner, and the distance calculation means is received by the data communication means in order to enable application of interpolation by an interpolation function, a plurality of position coordinates of the coordinate data calculated by the electronic pen or wand along the trajectories, as monotonically increasing or decreasing the X coordinate chronological order in the continuous and forms a continuous three-point Sections are divided so that the angle does not become less than the threshold angle, and further divided into sections depending on whether or not the distance between adjacent position coordinates in each section is equal to or greater than a predetermined distance, and the distance between the position coordinates is equal to or greater than the predetermined distance. In each section, interpolation is performed with multiple types of interpolation functions, and the area enclosed by the line segments connecting each position coordinate with straight lines and the curves obtained by various interpolation functions is calculated. Of employing an interpolation function of the smallest area among the area, it calculates the line integral values for each interpolation function is employed, while, in the section where the distance between the predetermined distance or more coordinates are not continuous, between the position coordinates It calculates the total value of the linear distance, and calculates the distance on the earth's surface corresponding to trajectories on the map area by adding the total value of the line integral values and the linear distance of each interpolation function adopted. Therefore, when the user traces a desired route on the map area with the electronic pen or the pen-type scanner, the terminal device can accurately calculate the distance on the map according to the handwriting traced on the map area. Can do.
さらに、上記端末装置において、前記複数種類の補間関数は、スプライン関数とラグランジュ関数であることを特徴とする。この場合、電子ペンは、位置座標間を滑らかな曲線で結んだ距離を認識することができる。 Furthermore, in the above terminal device, the plurality of types of interpolation functions are a spline function and a Lagrangian function. In this case, the electronic pen can recognize the distance 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座標の単調増加又は単調減少が連続するように区間分けしたうえで、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、採用した各補間関数の線積分値を足し合わせることにより軌跡に応じた距離を演算する距離演算手段として前記コンピュータを機能させることを特徴とする。 The program according to the present invention receives a discrete coordinate data calculated by reading the coded pattern printed on the medium at predetermined time intervals from the electronic pen or wand, the trajectories from the coordinate data a program executed by a computer that calculates the distance corresponding to the length, the data communication means for receiving the coordinate data, said received by the data communication means, the electronic pen or the wand along the trajectories After dividing the plurality of position coordinates of the coordinate data calculated by the step so that the monotonous increase or decrease of the X coordinate continues in the read time-series order, and interpolate with multiple types of interpolation functions for each interval To calculate the area enclosed by the line segment connecting each position coordinate with a straight line and the curve obtained by various interpolation functions. There is adopted the interpolation function of the area, calculates the line integral values for each interpolation function is employed, the as a distance calculating means for calculating a distance corresponding to the trajectories by adding the line integral values for each interpolation function employing It is characterized by making a computer function.
または、本発明に係るプログラムは、媒体に印刷されたコード化パターンを所定時間ごとに読み取って演算された離散的な座標データを電子ペン又はペン型スキャナから受信し、その座標データから軌跡の長さに応じた距離を演算するコンピュータにより実行されるプログラムであって、座標データを受信するデータ通信手段、前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、各線積分値を足し合わせることにより軌跡に応じた距離を演算する距離演算手段として前記コンピュータを機能させることを特徴とする。 Or a program according to the present invention receives a discrete coordinate data calculated by reading the coded pattern printed on the medium at predetermined time intervals from the electronic pen or wand, the trajectories from the coordinate data a program executed by a computer that calculates the distance corresponding to the length, the data communication means for receiving the coordinate data, said received by the data communication means, the electronic pen or the wand along the trajectories As for the plurality of position coordinates of the coordinate data calculated by the above, the monotonous increase or the monotonic decrease of the X coordinate continues in the order of reading , and the angle formed by the three consecutive points does not become less than the threshold angle. In this way, each section is interpolated with multiple types of interpolation functions, and each position coordinate is obtained by a line segment and various interpolation functions. And the area enclosed by the curve is calculated, employing the interpolation function of the smallest area among those areas, it calculates the line integral values for each interpolation function is employed, trajectories by summing each line integral value The computer is caused to function as a distance calculation means for calculating a distance according to.
または、本発明に係るプログラムは、媒体に印刷されたコード化パターンを所定時間ごとに読み取って演算された離散的な座標データを電子ペン又はペン型スキャナから受信し、その座標データから軌跡の長さに応じた距離を演算するコンピュータにより実行されるプログラムであって、座標データを受信するデータ通信手段、前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けし、所定距離以上の位置座標間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、その一方、所定距離以上の位置座標間距離が連続しない区間では、各位置座標間の直線距離の合計値を演算し、採用した各補間関数の線積分値と直線距離の合計値を足し合わせることにより軌跡に応じた距離を演算する距離演算手段として前記コンピュータを機能させることを特徴とする。 Or a program according to the present invention receives a discrete coordinate data calculated by reading the coded pattern printed on the medium at predetermined time intervals from the electronic pen or wand, the trajectories from the coordinate data a program executed by a computer that calculates the distance corresponding to the length, the data communication means for receiving the coordinate data, said received by the data communication means, the electronic pen or the wand along the trajectories After dividing the plurality of position coordinates of the coordinate data calculated by the steps so that the monotonous increase or decrease of the X coordinate continues in the read time-series order, the distance between adjacent position coordinates in each section Is further divided into sections depending on whether or not the distance is greater than or equal to a predetermined distance. Interpolate with the interpolation function, calculate the area enclosed by the line segment connecting each position coordinate with a straight line and the curve obtained by various interpolation functions, adopt the interpolation function of the smallest area among those areas, It calculated employing the line integral values for each interpolation function, while, in the section where the distance between the predetermined distance or more coordinates are not consecutive, calculates the total value of the linear distance between the position coordinates of each interpolation function employing and characterized by causing the computer to function as a distance calculating means for calculating a distance corresponding to the trajectories by adding the line integral value and the total value of the linear distance.
または、本発明に係るプログラムは、媒体に印刷されたコード化パターンを所定時間ごとに読み取って演算された離散的な座標データを電子ペン又はペン型スキャナから受信し、その座標データから軌跡の長さに応じた距離を演算するコンピュータにより実行されるプログラムであって、座標データを受信するデータ通信手段、前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けし、所定距離以上の位置座標間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、その一方、所定距離以上の位置座標間距離が連続しない区間では、各位置座標間の直線距離の合計値を演算し、採用した各補間関数の線積分値と直線距離の合計値を足し合わせることにより軌跡に応じた距離を演算する距離演算手段として前記コンピュータを機能させることを特徴とする。 Or a program according to the present invention receives a discrete coordinate data calculated by reading the coded pattern printed on the medium at predetermined time intervals from the electronic pen or wand, the trajectories from the coordinate data a program executed by a computer that calculates the distance corresponding to the length, the data communication means for receiving the coordinate data, said received by the data communication means, the electronic pen or the wand along the trajectories As for the plurality of position coordinates of the coordinate data calculated by the above, the monotonous increase or the monotonic decrease of the X coordinate continues in the order of reading , and the angle formed by the three consecutive points does not become less than the threshold angle. In this way, each section is further divided into sections according to whether or not the distance between adjacent position coordinates is greater than or equal to a predetermined distance. In the section where the distance between the position coordinates is continuous, interpolation is performed with multiple types of interpolation functions for each section, and the area enclosed by the line segment connecting each position coordinate with a straight line and the curves obtained by various interpolation functions is calculated. Then, the interpolation function of the smallest area among those areas is adopted, and the line integral value of each adopted interpolation function is calculated. On the other hand, in the section where the distance between the position coordinates beyond the predetermined distance is not continuous, each position is calculated. It calculates the sum of the linear distance between the coordinates, causes the computer to function as distance calculating means for calculating a distance corresponding to the trajectories by adding the total value of the line integral values and the linear distance of each interpolation function employing It is characterized by that.
あるいは、本発明に係るプログラムは、地図エリアとコード化パターンが印刷された媒体の前記コード化パターンを所定時間ごとに読み取って演算された離散的な座標データを電子ペン又はペン型スキャナから受信し、その座標データから前記地図エリア上の軌跡によって示される経路に対応する地表上の距離を演算するコンピュータにより実行されるプログラムであって、座標データを受信するデータ通信手段、前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順で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 at predetermined time intervals from an electronic pen or a pen-type scanner. , a program executed by a computer for calculating the distance on the ground which corresponds to a path indicated by the coordinate data by trajectories on the map area, the data communication means for receiving the coordinate data, by said data communication means is received, a plurality of position coordinates of said coordinate data calculated by said electronic pen or the wand along the trajectories, that monotonically increasing or decreasing the X-coordinate at the read time series are consecutive After dividing into sections, each section is interpolated with multiple types of interpolation functions and each position coordinate is connected with a straight line. Calculate the area enclosed by the curve obtained by the seed interpolation function, adopt the interpolation function of the smallest area among those areas, calculate the line integral value of each interpolation function adopted, each interpolation function adopted by adding the line integral values and characterized by causing the computer to function as a distance calculating means for calculating a distance on the earth's surface corresponding to the trajectories on the map area.
または、本発明に係るプログラムは、地図エリアとコード化パターンが印刷された媒体の前記コード化パターンを所定時間ごとに読み取って演算された離散的な座標データを電子ペン又はペン型スキャナから受信し、その座標データから前記地図エリア上の軌跡によって示される経路に対応する地表上の距離を演算するコンピュータにより実行されるプログラムであって、座標データを受信するデータ通信手段、前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、各線積分値を足し合わせることにより前記地図エリア上の軌跡に対応する地表上の距離を演算する距離演算手段として前記コンピュータを機能させることを特徴とする。 Alternatively, the program according to the present invention receives, from an electronic pen or a pen-type scanner, discrete coordinate data calculated by reading the coded pattern of the medium on which the map area and the coded pattern are printed at predetermined time intervals. , a program executed by a computer for calculating the distance on the ground which corresponds to a path indicated by the coordinate data by trajectories on the map area, the data communication means for receiving the coordinate data, by said data communication means is received, a plurality of position coordinates of said coordinate data calculated by said electronic pen or the wand along the trajectories, that monotonically increasing or decreasing the X-coordinate at the read time series are consecutive In addition, after dividing the section so that the angle formed by the three consecutive points does not become less than the threshold angle, there are multiple types for each section. Interpolate with the interpolation function of, calculate the area enclosed by the line segment connecting each position coordinate with a straight line and the curve obtained by various interpolation functions, and adopt the interpolation function of the smallest area among those areas calculates the line integral values for each interpolation function employing, that causes the computer to function as distance calculating means for calculating a distance on the earth's surface corresponding to the trajectories on the map area by summing each line integral value Features.
または、本発明に係るプログラムは、地図エリアとコード化パターンが印刷された媒体の前記コード化パターンを所定時間ごとに読み取って演算された離散的な座標データを電子ペン又はペン型スキャナから受信し、その座標データから前記地図エリア上の軌跡によって示される経路に対応する地表上の距離を演算するコンピュータにより実行されるプログラムであって、座標データを受信するデータ通信手段、前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けし、所定距離以上の位置座標間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、その一方、所定距離以上の位置座標間距離が連続しない区間では、各位置座標間の直線距離の合計値を演算し、採用した各補間関数の線積分値と直線距離の合計値を足し合わせることにより前記地図エリア上の軌跡に対応する地表上の距離を演算する距離演算手段として前記コンピュータを機能させることを特徴とする。 Alternatively, the program according to the present invention receives, from an electronic pen or a pen-type scanner, discrete coordinate data calculated by reading the coded pattern of the medium on which the map area and the coded pattern are printed at predetermined time intervals. , a program executed by a computer for calculating the distance on the ground which corresponds to a path indicated by the coordinate data by trajectories on the map area, the data communication means for receiving the coordinate data, by said data communication means is received, a plurality of position coordinates of said coordinate data calculated by said electronic pen or the wand along the trajectories, that monotonically increasing or decreasing the X-coordinate at the read time series are consecutive Divided into sections, and depending on whether or not the distance between adjacent position coordinates in each section is greater than or equal to a predetermined distance In a section where the distance between position coordinates is equal to or greater than a predetermined distance, interpolation is performed with multiple types of interpolation functions for each section, and a line segment connecting each position coordinate with a straight line and a curve obtained by various interpolation functions The area surrounded by is calculated, the interpolation function of the smallest area among those areas is adopted, the line integral value of each adopted interpolation function is calculated, and on the other hand, the distance between the position coordinates above the predetermined distance is continuous and in a section not, calculates the total value of the linear distance between the position coordinates, surface on which corresponding to the trajectories on the map area by adding the total value of the line integral values and the linear distance of each interpolation function employing The computer is made to function as a distance calculation means for calculating the distance.
または、本発明に係るプログラムは、地図エリアとコード化パターンが印刷された媒体の前記コード化パターンを所定時間ごとに読み取って演算された離散的な座標データを電子ペン又はペン型スキャナから受信し、その座標データから前記地図エリア上の軌跡によって示される経路に対応する地表上の距離を演算するコンピュータにより実行されるプログラムであって、座標データを受信するデータ通信手段、前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けし、所定距離以上の位置座標間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、その一方、所定距離以上の位置座標間距離が連続しない区間では、各位置座標間の直線距離の合計値を演算し、採用した各補間関数の線積分値と直線距離の合計値を足し合わせることにより前記地図エリア上の軌跡に対応する地表上の距離を演算する距離演算手段として前記コンピュータを機能させることを特徴とする。 Alternatively, the program according to the present invention receives, from an electronic pen or a pen-type scanner, discrete coordinate data calculated by reading the coded pattern of the medium on which the map area and the coded pattern are printed at predetermined time intervals. , a program executed by a computer for calculating the distance on the ground which corresponds to a path indicated by the coordinate data by trajectories on the map area, the data communication means for receiving the coordinate data, by said data communication means is received, a plurality of position coordinates of said coordinate data calculated by said electronic pen or the wand along the trajectories, that monotonically increasing or decreasing the X-coordinate at the read time series are consecutive In addition, each section is divided so that the angle formed by three consecutive points does not become less than the threshold angle. Further sections are divided according to whether or not the distance between the adjacent position coordinates is equal to or greater than a predetermined distance.In a section where the distance between the position coordinates is equal to or greater than the predetermined distance, interpolation is performed using a plurality of types of interpolation functions for each section. Calculate the area enclosed by the line segments connected by straight lines and the curves obtained by various interpolation functions, adopt the interpolation function with the smallest area among those areas, and calculate the line integral value of each interpolation function adopted On the other hand, in the interval where the distance between the position coordinates that is greater than or equal to the predetermined distance is not continuous, the total value of the linear distances between the position coordinates is calculated, and the total value of the linear integral value and the linear distance of each interpolation function adopted is added. and characterized by causing the computer to function as a distance calculating means for calculating a distance on the earth's surface corresponding to the trajectories on the map area by combining.
上記プログラムをコンピュータにおいて実行することにより、上述の端末装置を実現することができる。 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 the operation of an electronic pen and a pen-type scanner, the coordinate data of the locus by the entry is calculated. While calculating the distance of the trajectory. At this time, by interpolating a plurality of position coordinates of the discrete coordinate data acquired by the electronic pen or the pen-type 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を備える。物理的には、情報記憶手段30は、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座標の単調増加又は単調減少が連続するよう区間分けし、なおかつ、滑らかな曲線となるように補間関数を適用するため、連続する三つの座標点のなす角が閾値未満の座標点においても区間の境界として区間分けを行う。そして、距離演算手段32は、各区間ごとに各座標点(サンプル点)間の距離を求め、その距離が所定距離d以上であるのが連続する複数の座標点に対して複数種類の補間関数を適用し、そのうち、座標点間を結んだ直線との間の面積が最小となる補間関数をその区間の補間関数とする。そのうえで、距離演算手段32は、補間関数を求めた各区間の補間関数の線積分値を演算するとともに、補間関数を求めなかった各区間については、座標点間の距離を演算し、それらの積分値と座標点間距離を積算することで精度よく筆跡の長さ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から読み出して、縮尺値cを参照して地表上の距離(道のり)Dを演算し、音声出力手段33に対して音声で地表上の距離Dを報知させる機能を有し、端末装置3に距離演算手段32を構成させるモジュールである。
The
[地図情報提供システムにおける距離演算処理]
次に、本実施形態の地図情報提供システムにより行われる距離演算処理について図9及び図10を参照して説明する。図9は、電子ペン1Aでなぞられた筆跡のある専用紙2Aを示す図である。図10は、距離演算のフローチャートである。
[Distance calculation processing in the map information provision system]
Next, distance calculation processing performed by the map information providing system of this 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への接触を検出し(ステップS101)、LED14によって赤外線を照射しつつカメラ15によってドットパターンを撮像し、プロセッサ11によって、撮像されたドットパターンの画像データから地図エリア100への接触位置における座標データ23及びドットパターンアドレス22を演算する(ステップS102)。そしてプロセッサ11は、クロック18によって発信された現在時刻を示す時間情報21、ドットパターンアドレス22、座標データ23、筆圧データ24を関連付けた記入情報20を生成する(ステップS103)。さらに、電子ペン1Aは、当該記入情報20を端末装置3へ送信する(ステップS104)。
As shown in FIG. 9, the user contacts (pens down) a starting point (contact start point) 701 on the
利用者が電子ペン1Aのペン先部1aを地図エリア100に接触させた状態で利用者の所望する経路をなぞり続けると、電子ペン1Aは地図エリア100から離れていないため(ステップS105;ノー)、ステップS102に移り、所定の間隔(例えば、1秒間に75回)でカメラ15により撮像されるドットパターンの画像データに応じて、ステップS102からステップS105を繰り返す。すなわち、電子ペン1Aは、上記経路の各地点(通過点702A,702B,702C,702D,…)の座標データ23及びドットパターンアドレス22を取得し(ステップS102)、上記のように、座標データ23等を含む記入情報20を生成し(ステップS103)、当該記入情報20を端末装置3へ送信し(ステップS104)続ける。そして、利用者は出発地から目的地まで経路をなぞり終え、終了点703で電子ペン1Aを専用紙2Aから離脱(ペン・アップ)させる。すると、電子ペン1Aは、圧力センサ16による筆圧が所定値未満になったことを検出することで、地図エリア100から離れたことを検出すると(ステップS105;イエス)、処理を終了する。
If the user keeps tracing the route desired by the user while 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に伝送する(ステップS111)。
The data communication means 31 of the
利用者が電子ペン1Aを地図エリア100から離脱させ、圧力センサ16によってペン・アップが認識されると、電子ペン1Aから記入情報20が送信されなくなるため、端末装置3では、データ通信手段31により記入情報20を受信しなくなるので、距離演算手段32は、電子ペン1Aのペン・アップを認識し(ステップS112)、距離演算手段32は、X,Y座標データに基づいて地図エリア100上の筆跡の長さを演算する(ステップS113,S114)。具体的には、複数の座標データを、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離d以上か否かによってさらに区間分けする。この所定距離dは、隣接する位置座標点間(サンプリング点間)がその距離d未満であれば、直線補間により近似することが妥当な距離であり、適宜設定することができる。そして、所定距離d以上の位置座標点間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を求める(ステップS113)。その一方、所定距離d以上の位置座標点間距離が連続しない区間では、各位置座標間を直線で結び、それらの直線距離の合計値を演算する。続いて、採用した各補間関数(Gf(m,x))の線積分値と直線距離(KHt)の合計値を足し合わせることにより筆跡の長さを求める(ステップS114)。
When the user removes the
さらに距離演算手段32は、ドットパターンアドレスに基づいて、情報記憶手段30に記憶された縮尺情報を参照してそのドットパターンアドレスに対応した縮尺値cを読み取り、筆跡の長さLと縮尺値cとから、地表上の距離(道のり)Dを演算する(ステップS115)。 Further, the distance calculation means 32 reads the scale value c corresponding to the dot pattern address with reference to the scale information stored in the information storage means 30 based on the dot pattern address, and the handwriting length L and the scale value c. From the above, the distance (distance) D on the ground surface is calculated (step S115).
なお、通常、ドットパターンアドレスは専用紙2Aの種類ないし頁毎に同一であり、ステップS102で求められるドットパターンアドレスは変わらないため、ドットパターンアドレスを求めるのは最初の1回のみでもよいし、繰り返しドットパターンアドレスを求めて、何らかの原因によりドットパターンアドレスが変わった場合は距離演算手段32に伝送することとしてもよい。また、ドットパターンアドレスが変わらない限り、距離演算手段32が縮尺情報を参照して縮尺値を取得するのは、最初の1回のみでよい。
In general, 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に表示させる(ステップS116)。これにより、距離演算を終了する。
Then, after the
このように、利用者が電子ペン1Aを所望の経路に沿って地図エリア100上でなぞると、それに応じて、電子ペン1Aは、なぞられた経路に沿って複数の位置座標を演算し、当該位置座標に基づいて、地図上の経路における地表上の距離(道のり)Dを、端末装置3の音声出力手段33や表示手段34を介して報知することができる。
As described above, when the user traces the
図11は、ステップS113の処理における距離演算手段32による補間関数の設定アルゴリズムを示すフローチャートであり、以下にこのアルゴリズムの詳細について図12〜図16を参照しながら説明する。ここで、座標データ23の座標点は、図12に示すように、時系列順でt(0),t(1),…とする。
FIG. 11 is a flowchart showing an interpolation function setting algorithm by the distance calculation means 32 in the process of step S113, and the details of this algorithm will be described below with reference to FIGS. Here, the coordinate points of the coordinate
まず、始点の座標データ(Xs,Ys) から終点の座標データ(Xe,Ye) までの座標データを取得した後(ステップS201)、時系列順の複数の座標データを、X座標の単調増加又は単調減少が連続するように区間分けする(ステップS202)。図13に示すように、t(0)〜t(5)でX座標が単調増加、t(5)〜t(11) でX座標が単調減少、t(11) 〜でX座標が単調増加であるので、座標点t(5),t(11)を区間分けの境界とする。 First, after obtaining coordinate data from the coordinate data (Xs, Ys) of the start point to the coordinate data (Xe, Ye) of the end point (step S201), a plurality of coordinate data in time series order are monotonically increased or The sections are divided so that the monotonous decrease continues (step S202). As shown in FIG. 13, the X coordinate increases monotonically from t (0) to t (5), the X coordinate decreases monotonously from t (5) to t (11), and the X coordinate increases monotonously from t (11) to t. Therefore, the coordinate points t (5) and t (11) are set as the boundaries of the section division.
次に、図14に示すように、座標点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度未満である角の頂角に当たる座標点を抽出し、区間分けの境界とする(ステップS203)。ここでは、座標点t(15),t(19) でのなす角が90度未満であるため、座標点t(15),t(19) が抽出され、これらが区間分けの境界とされる。なお、この閾値角度は適宜変えてよい。 Next, as shown in FIG. 14, 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),... A coordinate point corresponding to is extracted and set as a boundary of section division (step S203). 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) 〜に区間分けされる。この区間分けされた各区間を、図15に示すように、
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.
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
次いで、図16(a)に示すように、各区間D(m) ごとに、各サンプリング点間の距離を求めて、各距離を所定距離d以上と所定距離d未満とに分類する(ステップS204)。そして、所定距離d以上の区間について、始点(Xs,Ys) から時系列順に、H(m) {m=0〜mmax}と区間をナンバリングする(ステップS205)。そして、ナンバリングした区間H(m) のそれぞれにおいて、複数種類の補間関数で補間を施し、近似した補間関数を求める(ステップS206)。図16(b)では、スプライン補間関数とラグランジュ補間関数で補間を施した例を示しており、このように複数種類の補間関数がスプライン関数とラグランジュ関数である場合、区間H(m) におけるスプライン補間による補間関数をG(m)spline(x)、ラグランジュ補間による補間関数をG(m)lagrange(x)とする。 Next, as shown in FIG. 16A, the distance between the sampling points is obtained for each section D (m), and each distance is classified into a predetermined distance d or more and less than the predetermined distance d (step S204). ). Then, for the section of the predetermined distance d or more, the sections are numbered as H (m) {m = 0 to mmax} in time series from the start point (Xs, Ys) (step S205). Then, in each numbered section H (m), interpolation is performed with a plurality of types of interpolation functions to obtain approximate interpolation functions (step S206). FIG. 16B shows an example in which interpolation is performed using a spline interpolation function and a Lagrangian interpolation function. When a plurality of types of interpolation functions are a spline function and a Lagrange function in this way, the spline in the section H (m) is shown. The interpolation function by interpolation is G (m) spline (x), and the interpolation function by Lagrange interpolation is G (m) lagrange (x).
続いて、各サンプリング点間を直線で結んだ線分とG(m)spline(x)の曲線とで囲まれる面積と、各サンプリング点間を直線で結んだ線分とG(m)lagrange(x)の曲線とで囲まれる面積を求め、それぞれの値をGp(m)spline 、Gp(m)lagrange とする(ステップS207)。そして、Gp(m)spline 、Gp(m)lagrange のうち最小値を求め、図16(c)に示すようにこれをGf(m) とし、対応する補間曲線をGf(m,x) とする(ステップS208)。 Subsequently, the area surrounded by the line segment connecting each sampling point with a straight line and the curve of G (m) spline (x), the line segment connecting each sampling point with a straight line, and G (m) lagrange ( The area surrounded by the curve x) is obtained, and the values are set as Gp (m) spline and Gp (m) lagrange (step S207). Then, the minimum value of Gp (m) spline and Gp (m) lagrange is obtained, and this is set as Gf (m) as shown in FIG. 16C, and the corresponding interpolation curve is set as Gf (m, x). (Step S208).
一方、所定距離d未満の区間については、始点(Xs,Ys) から時系列順に、Ht(n){n=0〜nmax}と区間をナンバリングし(ステップS209)、各サンプリング点間を直線で結び、その線分の距離をKHt(n)とし(ステップS210)、各区間のKHt(n)を足し合わせる(ステップS211)。 On the other hand, for the sections less than the predetermined distance d, the sections are numbered as Ht (n) {n = 0 to nmax} in chronological order from the start point (Xs, Ys) (step S209), and the intervals between the sampling points are linear. The distance between the lines is KHt (n) (step S210), and KHt (n) of each section is added (step S211).
そして、補間関数Gf(m,x) の各サンプリング点間におけるX座標の最小値と最大値をXmin(m),Xmax(m)とすると、なぞった軌跡の長さLは、次式で表される(ステップS114)。 If the minimum and maximum values of the X coordinate between the sampling points of the interpolation function Gf (m, x) are Xmin (m) and Xmax (m), the trace length L is expressed by the following equation. (Step S114).
このように、所定距離d以上の位置座標点間距離が連続する区間で求めた最適な補間関数の距離と、所定距離d以上の位置座標点間距離が連続しない区間で求めた線分の距離の合計値とを足し合わせることで、実際に描いた軌跡に近づいたより正確な道のりが得られる。なお、補間関数は、スプライン補間、ラグランジュ補間のほか、様々な補間関数や次数の異なる補間関数が適用可能である。 As described above, the distance of the optimum interpolation function obtained in the section where the distance between the position coordinate points equal to or greater than the predetermined distance d and the distance of the line segment obtained in the section where the distance between the position coordinate points equal to or greater than the predetermined distance d are not continuous. By adding together with the total value of, a more accurate path closer to the actual drawn trajectory can be obtained. In addition to the spline interpolation and the Lagrange interpolation, various interpolation functions and interpolation functions having different orders can be applied as the interpolation function.
直線と補間曲線とで囲まれる面積の大小関係から、適切な補間曲線を選択することになるが、サンプリング点が密であるときは、ラグランジュ関数よりもスプライン関数を選択することによって、ラグランジュ補間の高次補間で生じやすい「Runge の現象(振動)」等の不具合を回避することができる。サンプリング点が疎である場合には、ラグランジュ関数又はスプライン関数を選択することにより、より精度の高い補間関数を選択することができる。 An appropriate interpolation curve is selected based on the size relationship between the area surrounded by the straight line and the interpolation curve.When the sampling points are dense, the spline function is selected rather than the Lagrange function. It is possible to avoid problems such as “Runge phenomenon (vibration)” that are likely to occur in high-order interpolation. When the sampling points are sparse, an interpolation function with higher accuracy can be selected by selecting a Lagrangian function or a spline function.
なお、サンプリング点間の距離がd以上である区間Hmにおいて、サンプリング数が2つ(区間の端と端)しかない場合は、区間Hcと時系列的に前後に位置する区間のサンプリング点をもとに補間関数を用いる。 In the section Hm where the distance between sampling points is equal to or greater than d, if there are only two sampling numbers (end and end of the section), the sampling points of the section located in front of and behind the section Hc are included. And an interpolation function.
電子ペン1は、1秒間に75回ドットパターンを撮像し、座標データ(Xi,Yi) を求めるため、得られる座標は、なぞった軌跡に沿って連続しているが、電子ペン1の移動速度が速いときは、サンプリング点間の距離が長くなるため、サンプリング点間を直線補間するよりも滑らかな曲線補間の方が電子ペン1の軌跡を再現するうえで好ましい。
Since the
このように、利用者が電子ペン1を所望の経路に沿って地図エリア100上でなぞると、それに応じて、電子ペン1は、なぞられた経路に沿って複数の位置座標を演算し、当該位置座標に基づいて、地図上の経路における地表上の距離(道のり)Dを、スピーカ10を介して出力することができる。
Thus, when the user traces the
[第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 map information providing system using the
<第2実施形態>
次に、第2実施形態について説明する。この第2実施形態では図17に示す電子ペン1B(1)を使用するとともに、図18に示す、電子ペン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へ送信するのに対し、第2実施形態では、利用者が電子ペン1Bで地図エリア100へ経路を記入している間、電子ペン1Bは、記入された経路に沿って生成した記入情報20をメモリ19に記憶しておき、利用者は経路の記入を終了した段階で、専用紙2Bの送信エリア110に電子ペン1Bでチェックマークないしタップを記入することで、電子ペン1Bから記入情報20をまとめて端末装置3へ送信させ、端末装置3では、まとめて軌跡を演算して道のりDを求める点にある。そのため、第2実施形態の電子ペン1Bは、図17に示すように、記入情報20を記憶するためのメモリ19を備える。
The difference between the second embodiment and the first embodiment is that, in the first embodiment, the
第2実施形態において、利用者が図18に示す専用紙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実施形態の端末装置により行われる距離演算処理について図19及び図20を参照して説明する。図19は、電子ペン1Bでなぞられた筆跡のある専用紙2Bを示す図である。図20は、電子ペン1Bにおける距離演算のフローチャートである。
[Distance calculation processing in the map information provision system]
Next, distance calculation processing performed by the terminal device of the second embodiment will be described with reference to FIGS. 19 and 20. FIG. 19 is a diagram illustrating the
図19に示すように、利用者は、電子ペン1Bのペン先部1aにより、専用紙2Bの地図エリア100のうち、利用者の所望する経路の開始点701に接触する。すると、電子ペン1Bは、圧力センサ16で検出された筆圧が所定値以上になったことで、地図エリア100への接触を検出し(ステップS101A)、LED14によって赤外線を照射しつつカメラ15によってドットパターンを撮像し、プロセッサ11によって、撮像されたドットパターンの画像データから地図エリア100への接触位置における座標データ23及びドットパターンアドレス22を演算する(ステップS102A)。そして電子ペン1Bは、クロック18によって発信された現在時刻を示す時間情報21、ドットパターンアドレス22、座標データ23、筆圧データ24を関連付けた記入情報20を取得する(ステップS103A)し、この取得した記入情報20をメモリ19に保存する(ステップS104A)。次いで、利用者が電子ペン1Bのペン先部1aを地図エリア100に接触させた状態で利用者の所望する経路をなぞり続けると、電子ペン1Bは送信エリア110内の筆跡に基づく記入情報20を取得しないため(ステップS105A;ノー)、ステップ102Aへ移り、所定の間隔(例えば、1秒間に75回)で、連続的に各地点(通過点702A,702B,702C,702D,…)の座標データ23を演算していくとともに記入情報20を生成していき、それらの記入情報20をメモリ19へ保存する。
As shown in FIG. 19, the user contacts the
そして、利用者が電子ペン1Bを経路の終了点703で地図エリア100から離した後に、電子ペン1Bで送信エリア110に接触すると(ステップS105A;イエス)、電子ペン1Bは、メモリ19に保持してある記入情報20をまとめて端末装置3へ送信する(ステップS106A)。
When the user moves the
端末装置3におけるデータ通信手段31は、電子ペン1Bが送信した記入情報20を受信し、当該記入情報20を情報記憶手段30に保存するとともに、距離演算手段32に伝送する(ステップS111A)。
The data communication means 31 in the
距離演算手段32は、記入情報20のX,Y座標データに基づいて地図エリア100上の筆跡の長さを演算する(ステップS112A,S113A)。このステップS112A,S113Aの演算手順は、第1実施形態においてステップS113,S114で説明した手順と同様である。すなわち、複数の座標データを、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離d以上か否かによってさらに区間分けする。この所定距離dは、隣接する位置座標点間(サンプリング点間)がその距離d未満であれば、直線補間により近似することが妥当な距離であり、適宜設定することができる。そして、所定距離d以上の位置座標点間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を求める(ステップS112A)。その一方、所定距離d以上の位置座標点間距離が連続しない区間では、各位置座標間を直線で結び、それらの直線距離の合計値を演算する。続いて、採用した各補間関数(Gf(m,x))の線積分値と直線距離(KHt)の合計値を足し合わせることにより筆跡の長さを求める(ステップS113A)。さらに距離演算手段32は、ドットパターンアドレスに基づいて、情報記憶手段30に記憶された縮尺情報を参照してそのドットパターンアドレスに対応した縮尺値cを読み取り、筆跡の長さLと縮尺値cとから、地表上の距離(道のり)Dを演算する(ステップS114A)。
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に表示させたりする(ステップS115A)。これにより、距離演算を終了する。
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
ここで、ステップS112A,S113Aの処理における距離演算手段32の距離演算の詳細は、第1実施形態で図12〜図16を参照して説明したステップS113A,S114Aの処理と同じである。 Here, details of the distance calculation of the distance calculation means 32 in the processing of steps S112A and S113A are the same as the processing of steps S113A and S114A described with reference to FIGS. 12 to 16 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 map information providing system using the
<第3実施形態>
次に、図21を参照して第3実施形態について説明する。第3実施形態は、第1実施形態及び第2実施形態とは区間分けの方法が異なるだけで、それ以外は第1実施形態及び第2実施形態と同じである。図21は図11のフローチャートにおけるステップS202,ステップS203で行う区間分けの変形例を示すフローチャートである。この第3実施形態では、電子ペン1Aによって演算された位置座標の時系列のデータにおいて、X座標の単調増加又は単調減少が連続するという観点と、連続する三点のなす角が閾値角度未満とならないという観点の両方から同時に判断して区間分けする。
<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 for the section division method, which is different from the first embodiment and the second embodiment. FIG. 21 is a flowchart showing a modification of the section division performed in steps S202 and S203 in the flowchart of FIG. In the third embodiment, in the time-series data of the position coordinates calculated by the
図11のステップS201から、図21に示すように、座標データの区間分けのためのnに初期値0(n=0)を付与する(ステップS301)。そして、連続する三つの座標点t(n),t(n+1),t(n+2)のX座標(n=0とする)が単調増加又は単調減少かを判断し(ステップS302)、イエスの場合は、座標点t(n),t(n+1),t(n+2)のなす角を求め(ステップS303)、その角度が閾値未満か否かを判断し(ステップS304)、イエスの場合は、座標点t(n+1)を区間の境界とする(ステップS305)。一方、ステップS302において、連続する三つの座標点t(n),t(n+1),t(n+2)のX座標が、単調増加でも単調減少でもない場合(ノー)は、増減傾向が変化しているため、ステップS305に進み、座標点t(n+1)を区間の境界とする。 From step S201 of FIG. 11, as shown in FIG. 21, an initial value 0 (n = 0) is assigned to n for dividing the coordinate data into sections (step S301). 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 S302). If yes, the angle formed by the coordinate points t (n), t (n + 1), t (n + 2) is obtained (step S303), and it is determined whether the angle is less than the threshold (step S304). In the case of yes, the coordinate point t (n + 1) is set as the boundary of the section (step S305). 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 S302, it tends to increase or decrease. Therefore, the process proceeds to step S305, and the coordinate point t (n + 1) is set as the boundary of the section.
また、ステップS304において、なす角が閾値未満ではなかった場合(ノー)と、ステップS305を経た場合のいずれの場合も、座標点t(n+2)が終点か否かを判断し(ステップS306)、イエスの場合は図11のステップS204に進み、ノーの場合は、nを1だけインクリメントさせて(ステップS207:n=n++)、区間分けの妥当性を判断する対象の連続する三点を、時系列的に一つ後送りし、ステップS302〜306の手順を繰り返して行う。この手順により時系列順の座標点の最後まで処理を繰り返した後、図11のステップS204に進む。この方法により、X座標の単調増加又は単調減少が連続し、且つ、連続する三点のなす角が閾値角度未満とならない区間分けを同時に判断して処理することができる。 In step S304, it is determined whether or not the coordinate point t (n + 2) is the end point (step S306) in both cases where the angle formed is not less than the threshold (no) and after step S305. In the case of yes, the process proceeds to step S204 in FIG. 11, and in the case of no, n is incremented by 1 (step S207: n = n ++), and three consecutive points to be judged for validity of section division are determined. Then, one step is sent back in time series, and the procedure of steps S302 to S306 is repeated. After this process is repeated until the end of the coordinate points in time series order, the process proceeds to step S204 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.
<第4実施形態>
次に、第4実施形態について説明する。第1及び第2実施形態における距離演算手段では、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けしたが、この第4実施形態の距離演算手段は、時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けする。すなわち、連続する三点のなす角が閾値未満であるか否かについては判断しない。したがって、第1実施形態及び第2実施形態で説明した図11のフローチャートにおいて、ステップS202からステップS203を行わずにステップS204に飛ぶようにする(参照図22)。
<Fourth embodiment>
Next, a fourth embodiment will be described. The distance calculation means in the first and second embodiments is 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. In addition, the distance calculation unit according to the fourth embodiment is further divided into monotonically increasing or monotonic X coordinates in time series order depending on whether or not the distance between adjacent position coordinates in each section is greater than or equal to a predetermined distance. After the sections are divided so that the decrease continues, the sections are further divided depending on whether or not the distance between adjacent position coordinates in each section is equal to or greater than a predetermined distance. That is, it is not determined whether or not the angle formed by the three consecutive points is less than the threshold value. Therefore, in the flowchart of FIG. 11 described in the first embodiment and the second embodiment, the process jumps from step S202 to step S204 without performing step S203 (see FIG. 22).
<第5実施形態>
次に、第5実施形態について説明する。第1、第2及び第3実施形態における距離演算手段では、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けしたが、この第5実施形態の距離演算手段は、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かについては判断しないで、最適な補間関数を求めて、各補間関数の線積分を積算する。したがって、第1実施形態で説明した図11のフローチャートにおいて、ステップS203からステップS204の判断を行わずにステップS205に飛ぶようにする(参照図23)。また、図23のステップS202B,S203Bを第3実施形態で説明した図21のフローチャートに示すように行ってもよい。
<Fifth Embodiment>
Next, a fifth embodiment will be described. In the distance calculation means in the first, second and third embodiments, 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. In addition, the distance calculation means according to the fifth embodiment is a monotonic X coordinate in chronological order, depending on whether or not the distance between adjacent position coordinates in each section is equal to or greater than a predetermined distance. Whether the distance between adjacent position coordinates in each section is greater than or equal to a predetermined distance after dividing the section so that the increase or monotonic decrease continues and the angle formed by the three consecutive points is not less than the threshold angle Without determining, the optimal interpolation function is obtained and the line integral of each interpolation function is integrated. Therefore, in the flowchart of FIG. 11 described in the first embodiment, the process jumps to step S205 without performing the determination from step S203 to step S204 (see FIG. 23). Further, steps S202B and S203B of FIG. 23 may be performed as shown in the flowchart of FIG. 21 described in the third embodiment.
<第6実施形態>
次に、第6実施形態について説明する。第1、第2及び第3実施形態における距離演算手段では、時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けしたが、この第6実施形態の距離演算手段は、時系列順でX座標の単調増加又は単調減少が連続するようにだけ区間分けし、連続する三点のなす角が閾値未満であるか否かについては判断せず、各区間において隣接する位置座標間の距離が所定距離以上か否かについても判断しないで、各区間において最適な補間関数を求めて、各補間関数の線積分を積算する。したがって、第1実施形態で説明した図11のフローチャートにおいて、ステップS202からステップS203を行わず、さらにステップS204の判断も行わずにステップS205に飛ぶようにする(参照図24)。
<Sixth Embodiment>
Next, a sixth embodiment will be described. In the distance calculation means in the first, second and third embodiments, 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. In addition, the distance calculation means according to the sixth embodiment performs monotonic X coordinates in time series order, depending on whether or not the distance between adjacent position coordinates in each section is equal to or greater than a predetermined distance. Divide the sections so that the increase or monotonic decrease continues, do not determine whether the angle formed by the three consecutive points is less than the threshold, and whether the distance between adjacent position coordinates in each section is greater than or equal to the specified distance Without determining whether or not, an optimum interpolation function is obtained in each section, and the line integral of each interpolation function is integrated. Therefore, in the flowchart of FIG. 11 described in the first embodiment, the process jumps to step S205 without performing steps S202 to S203 and without further determining step S204 (see FIG. 24).
以上、本発明の実施の形態について詳細に説明してきたが、本発明は上記した実施形態に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲において種々の変更が可能である。 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.
上記実施形態では、地図エリア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 (18)
座標データを受信するデータ通信手段と、
前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、採用した各補間関数の線積分値を足し合わせることにより軌跡に応じた距離を演算する距離演算手段と
を備えることを特徴とする端末装置。 Discrete coordinate data calculated by reading the coded pattern printed on the medium at predetermined time intervals received from the electronic pen or wand, and calculates the distance corresponding to the length of the trajectories from the coordinate data A terminal device,
Data communication means for receiving coordinate data;
Received by said data communication means, monotonically increasing or X coordinate multiple coordinates, in chronological order read the coordinate data calculated by said electronic pen or the wand along the trajectories After dividing into sections so that the decrease continues, interpolation is performed with multiple types of interpolation functions for each section, and the area enclosed by the line segment connecting each position coordinate with a straight line and the curves obtained by various interpolation functions is calculated and, employing the interpolation function of the smallest area among their areas, and calculating the line integral values for each interpolation function is employed, according to the trajectories by adding the line integral values for each interpolation function employing A terminal device comprising distance calculating means for calculating a distance.
座標データを受信するデータ通信手段と、
前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、各線積分値を足し合わせることにより軌跡に応じた距離を演算する距離演算手段と
を備えることを特徴とする端末装置。 Discrete coordinate data calculated by reading the coded pattern printed on the medium at predetermined time intervals received from the electronic pen or wand, and calculates the distance corresponding to the length of the trajectories from the coordinate data A terminal device,
Data communication means for receiving coordinate data;
Received by said data communication means, monotonically increasing or X coordinate multiple coordinates, in chronological order read the coordinate data calculated by said electronic pen or the wand along the trajectories After dividing the sections so that the decrease is continuous and the angle formed by the three consecutive points does not become less than the threshold angle, interpolation is performed with multiple types of interpolation functions for each section, and each position coordinate is connected by a straight line. Calculate the area enclosed by the ellipse line and the curve obtained by various interpolation functions, adopt the interpolation function of the smallest area among those areas, calculate the line integral value of each adopted interpolation function, and calculate each line terminal device characterized by comprising a distance calculating means for calculating a distance corresponding to the trajectories by adding the integral value.
座標データを受信するデータ通信手段と、
前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けし、所定距離以上の位置座標間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、その一方、所定距離以上の位置座標間距離が連続しない区間では、各位置座標間の直線距離の合計値を演算し、採用した各補間関数の線積分値と直線距離の合計値を足し合わせることにより軌跡に応じた距離を演算する距離演算手段と
を備えることを特徴とする端末装置。 Discrete coordinate data calculated by reading the coded pattern printed on the medium at predetermined time intervals received from the electronic pen or wand, and calculates the distance corresponding to the length of the trajectories from the coordinate data A terminal device,
Data communication means for receiving coordinate data;
Received by said data communication means, monotonically increasing or X coordinate multiple coordinates, in chronological order read the coordinate data calculated by said electronic pen or the wand along the trajectories After the sections are divided so that the decrease continues, the sections are further divided depending on whether the distance between adjacent position coordinates in each section is greater than or equal to a predetermined distance. Interpolate with multiple types of interpolation functions each time, calculate the area surrounded by the line segment connecting each position coordinate with a straight line and the curve obtained by various interpolation functions, and interpolation of the smallest area among those areas adopted function calculates the line integral values for each interpolation function is employed, while, in the section where the distance between the predetermined distance or more coordinates are not consecutive, Starring the sum of the linear distance between the position coordinates And, the terminal apparatus characterized by comprising a distance calculating means for calculating a distance corresponding to the trajectories by adding the total value of the line integral values and the linear distance of each interpolation function adopted.
座標データを受信するデータ通信手段と、
前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けし、所定距離以上の位置座標間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、その一方、所定距離以上の位置座標間距離が連続しない区間では、各位置座標間の直線距離の合計値を演算し、採用した各補間関数の線積分値と直線距離の合計値を足し合わせることにより軌跡に応じた距離を演算する距離演算手段と
を備えることを特徴とする端末装置。 Discrete coordinate data calculated by reading the coded pattern printed on the medium at predetermined time intervals received from the electronic pen or wand, and calculates the distance corresponding to the length of the trajectories from the coordinate data A terminal device,
Data communication means for receiving coordinate data;
Received by said data communication means, monotonically increasing or X coordinate multiple coordinates, in chronological order read the coordinate data calculated by said electronic pen or the wand along the trajectories After dividing into sections so that the decrease is continuous and the angle formed by the three consecutive points does not become less than the threshold angle, it is further divided depending on whether or not the distance between adjacent position coordinates in each section is greater than or equal to a predetermined distance. In a section where distances between position coordinates that are greater than or equal to the predetermined distance are continuous, interpolation is performed with multiple types of interpolation functions for each section, and the line segments that connect the position coordinates with straight lines and curves obtained by various interpolation functions. Calculate the area to be enclosed, adopt the interpolation function of the smallest area among those areas, calculate the line integral value of each adopted interpolation function, and on the other hand, the distance between the position coordinates more than the predetermined distance Distance but in discontiguous sections, which calculates the total value of the linear distance between the position coordinates, and calculates the distance corresponding to the trajectories by adding the total value of the line integral values and the linear distance of each interpolation function employing A terminal device comprising a computing means.
座標データを受信するデータ通信手段と、
前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、採用した各補間関数の線積分値を足し合わせることにより前記地図エリア上の軌跡に対応する地表上の距離を演算する距離演算手段と
を備えることを特徴とする端末装置。 Discrete coordinate data calculated by reading the coded pattern of the medium on which the map area and the coded pattern are printed at predetermined time intervals are received from an electronic pen or a pen-type scanner, and the map data is used on the map area. a terminal device for calculating a distance on the earth's surface corresponding to the path indicated by the trajectories,
Data communication means for receiving coordinate data;
Received by said data communication means, monotonically increasing or X coordinate multiple coordinates, in chronological order read the coordinate data calculated by said electronic pen or the wand along the trajectories After dividing into sections so that the decrease continues, interpolation is performed with multiple types of interpolation functions for each section, and the area enclosed by the line segment connecting each position coordinate with a straight line and the curves obtained by various interpolation functions is calculated And adopting the interpolation function of the smallest area among those areas, calculating the line integral value of each adopted interpolation function, and adding the line integral values of each adopted interpolation function on the map area terminal device; and a distance calculating means for calculating a distance on the earth's surface corresponding to the trajectories.
座標データを受信するデータ通信手段と、
前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、各線積分値を足し合わせることにより前記地図エリア上の軌跡に対応する地表上の距離を演算する距離演算手段と
を備えることを特徴とする端末装置。 Discrete coordinate data calculated by reading the coded pattern of the medium on which the map area and the coded pattern are printed at predetermined time intervals are received from an electronic pen or a pen-type scanner, and the map data is used on the map area. a terminal device for calculating a distance on the earth's surface corresponding to the path indicated by the trajectories,
Data communication means for receiving coordinate data;
Received by said data communication means, monotonically increasing or X coordinate multiple coordinates, in chronological order read the coordinate data calculated by said electronic pen or the wand along the trajectories After dividing the sections so that the decrease is continuous and the angle formed by the three consecutive points does not become less than the threshold angle, interpolation is performed with multiple types of interpolation functions for each section, and each position coordinate is connected by a straight line. Calculate the area enclosed by the ellipse line and the curve obtained by various interpolation functions, adopt the interpolation function of the smallest area among those areas, calculate the line integral value of each adopted interpolation function, and calculate each line terminal device characterized by comprising a distance calculating means for calculating a distance on the earth's surface corresponding to the trajectories on the map area by adding the integral value.
座標データを受信するデータ通信手段と、
前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けし、所定距離以上の位置座標間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、その一方、所定距離以上の位置座標間距離が連続しない区間では、各位置座標間の直線距離の合計値を演算し、採用した各補間関数の線積分値と直線距離の合計値を足し合わせることにより前記地図エリア上の軌跡に対応する地表上の距離を演算する距離演算手段と
を備えることを特徴とする端末装置。 Discrete coordinate data calculated by reading the coded pattern of the medium on which the map area and the coded pattern are printed at predetermined time intervals are received from an electronic pen or a pen-type scanner, and the map data is used on the map area. a terminal device for calculating a distance on the earth's surface corresponding to the path indicated by the trajectories,
Data communication means for receiving coordinate data;
Received by said data communication means, monotonically increasing or X coordinate multiple coordinates, in chronological order read the coordinate data calculated by said electronic pen or the wand along the trajectories After the sections are divided so that the decrease continues, the sections are further divided depending on whether the distance between adjacent position coordinates in each section is greater than or equal to a predetermined distance. Interpolate with multiple types of interpolation functions each time, calculate the area surrounded by the line segment connecting each position coordinate with a straight line and the curve obtained by various interpolation functions, and interpolation of the smallest area among those areas adopted function calculates the line integral values for each interpolation function is employed, while, in the section where the distance between the predetermined distance or more coordinates are not consecutive, Starring the sum of the linear distance between the position coordinates And characterized by comprising a distance calculating means for calculating a distance on the earth's surface corresponding to the trajectories on the map area by adding the total value of the line integral values and the linear distance of each interpolation function employing Terminal device.
座標データを受信するデータ通信手段と、
前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けし、所定距離以上の位置座標間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、その一方、所定距離以上の位置座標間距離が連続しない区間では、各位置座標間の直線距離の合計値を演算し、採用した各補間関数の線積分値と直線距離の合計値を足し合わせることにより前記地図エリア上の軌跡に対応する地表上の距離を演算する距離演算手段と
を備えることを特徴とする端末装置。 Discrete coordinate data calculated by reading the coded pattern of the medium on which the map area and the coded pattern are printed at predetermined time intervals are received from an electronic pen or a pen-type scanner, and the map data is used on the map area. a terminal device for calculating a distance on the earth's surface corresponding to the path indicated by the trajectories,
Data communication means for receiving coordinate data;
Received by said data communication means, monotonically increasing or X coordinate multiple coordinates, in chronological order read the coordinate data calculated by said electronic pen or the wand along the trajectories After dividing into sections so that the decrease is continuous and the angle formed by the three consecutive points does not become less than the threshold angle, it is further divided depending on whether or not the distance between adjacent position coordinates in each section is greater than or equal to a predetermined distance. In a section where distances between position coordinates that are greater than or equal to the predetermined distance are continuous, interpolation is performed with multiple types of interpolation functions for each section, and the line segments that connect the position coordinates with straight lines and curves obtained by various interpolation functions. Calculate the area to be enclosed, adopt the interpolation function of the smallest area among those areas, calculate the line integral value of each adopted interpolation function, and on the other hand, the distance between the position coordinates more than the predetermined distance In the section but not continuous, and calculates the total value of the linear distance between the position coordinates, corresponding to the trajectories on the map area by adding the total value of the line integral values and the linear distance of each interpolation function employing A terminal device comprising distance calculating means for calculating a distance on the ground surface.
を備えることを特徴とする請求項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座標の単調増加又は単調減少が連続するように区間分けしたうえで、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、採用した各補間関数の線積分値を足し合わせることにより軌跡に応じた距離を演算する距離演算手段
として前記コンピュータを機能させることを特徴とするプログラム。 Discrete coordinate data calculated by reading the coded pattern printed on the medium at predetermined time intervals received from the electronic pen or wand, and calculates the distance corresponding to the length of the trajectories from the coordinate data A program executed by a computer,
Data communication means for receiving coordinate data;
Received by said data communication means, monotonically increasing or X coordinate multiple coordinates, in chronological order read the coordinate data calculated by said electronic pen or the wand along the trajectories After dividing into sections so that the decrease continues, interpolation is performed with multiple types of interpolation functions for each section, and the area enclosed by the line segment connecting each position coordinate with a straight line and the curves obtained by various interpolation functions is calculated and, employing the interpolation function of the smallest area among their areas, and calculating the line integral values for each interpolation function is employed, according to the trajectories by adding the line integral values for each interpolation function employing A program for causing the computer to function as distance calculation means for calculating a distance.
座標データを受信するデータ通信手段、
前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、各線積分値を足し合わせることにより軌跡に応じた距離を演算する距離演算手段
として前記コンピュータを機能させることを特徴とするプログラム。 Discrete coordinate data calculated by reading the coded pattern printed on the medium at predetermined time intervals received from the electronic pen or wand, and calculates the distance corresponding to the length of the trajectories from the coordinate data A program executed by a computer,
Data communication means for receiving coordinate data;
Received by said data communication means, monotonically increasing or X coordinate multiple coordinates, in chronological order read the coordinate data calculated by said electronic pen or the wand along the trajectories After dividing the sections so that the decrease is continuous and the angle formed by the three consecutive points does not become less than the threshold angle, interpolation is performed with multiple types of interpolation functions for each section, and each position coordinate is connected by a straight line. Calculate the area enclosed by the ellipse line and the curve obtained by various interpolation functions, adopt the interpolation function of the smallest area among those areas, calculate the line integral value of each adopted interpolation function, and calculate each line a program characterized by causing the computer to function as a distance calculating means for calculating a distance corresponding to the trajectories by adding the integral value.
座標データを受信するデータ通信手段、
前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けし、所定距離以上の位置座標間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、その一方、所定距離以上の位置座標間距離が連続しない区間では、各位置座標間の直線距離の合計値を演算し、採用した各補間関数の線積分値と直線距離の合計値を足し合わせることにより軌跡に応じた距離を演算する距離演算手段
として前記コンピュータを機能させることを特徴とするプログラム。 Discrete coordinate data calculated by reading the coded pattern printed on the medium at predetermined time intervals received from the electronic pen or wand, and calculates the distance corresponding to the length of the trajectories from the coordinate data A program executed by a computer,
Data communication means for receiving coordinate data;
Received by said data communication means, monotonically increasing or X coordinate multiple coordinates, in chronological order read the coordinate data calculated by said electronic pen or the wand along the trajectories After the sections are divided so that the decrease continues, the sections are further divided depending on whether the distance between adjacent position coordinates in each section is greater than or equal to a predetermined distance. Interpolate with multiple types of interpolation functions each time, calculate the area surrounded by the line segment connecting each position coordinate with a straight line and the curve obtained by various interpolation functions, and interpolation of the smallest area among those areas adopted function calculates the line integral values for each interpolation function is employed, while, in the section where the distance between the predetermined distance or more coordinates are not consecutive, Starring the sum of the linear distance between the position coordinates And a program for causing the computer to function as a distance calculating means for calculating a distance corresponding to the trajectories by adding the total value of the line integral values and the linear distance of each interpolation function adopted.
座標データを受信するデータ通信手段、
前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けし、所定距離以上の位置座標間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、その一方、所定距離以上の位置座標間距離が連続しない区間では、各位置座標間の直線距離の合計値を演算し、採用した各補間関数の線積分値と直線距離の合計値を足し合わせることにより軌跡に応じた距離を演算する距離演算手段
として前記コンピュータを機能させることを特徴とするプログラム。 Discrete coordinate data calculated by reading the coded pattern printed on the medium at predetermined time intervals received from the electronic pen or wand, and calculates the distance corresponding to the length of the trajectories from the coordinate data A program executed by a computer,
Data communication means for receiving coordinate data;
Received by said data communication means, monotonically increasing or X coordinate multiple coordinates, in chronological order read the coordinate data calculated by said electronic pen or the wand along the trajectories After dividing into sections so that the decrease is continuous and the angle formed by the three consecutive points does not become less than the threshold angle, it is further divided depending on whether or not the distance between adjacent position coordinates in each section is greater than or equal to a predetermined distance. In a section where distances between position coordinates that are greater than or equal to the predetermined distance are continuous, interpolation is performed with multiple types of interpolation functions for each section, and the line segments that connect the position coordinates with straight lines and curves obtained by various interpolation functions. Calculate the area to be enclosed, adopt the interpolation function of the smallest area among those areas, calculate the line integral value of each adopted interpolation function, and on the other hand, the distance between the position coordinates more than the predetermined distance Distance but in discontiguous sections, which calculates the total value of the linear distance between the position coordinates, and calculates the distance corresponding to the trajectories by adding the total value of the line integral values and the linear distance of each interpolation function employing A program for causing the computer to function as a calculation means.
座標データを受信するデータ通信手段、
前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、採用した各補間関数の線積分値を足し合わせることにより前記地図エリア上の軌跡に対応する地表上の距離を演算する距離演算手段
として前記コンピュータを機能させることを特徴とするプログラム。 Discrete coordinate data calculated by reading the coded pattern of the medium on which the map area and the coded pattern are printed at predetermined time intervals are received from an electronic pen or a pen-type scanner, and the map data is used on the map area. a program executed by a computer for calculating the distance on the ground which corresponds to a path indicated by the trajectories,
Data communication means for receiving coordinate data;
Received by said data communication means, monotonically increasing or X coordinate multiple coordinates, in chronological order read the coordinate data calculated by said electronic pen or the wand along the trajectories After dividing into sections so that the decrease continues, interpolation is performed with multiple types of interpolation functions for each section, and the area enclosed by the line segment connecting each position coordinate with a straight line and the curves obtained by various interpolation functions is calculated And adopting the interpolation function of the smallest area among those areas, calculating the line integral value of each adopted interpolation function, and adding the line integral values of each adopted interpolation function on the map area program for causing the computer to function as a distance calculating means for calculating a distance on the earth's surface corresponding to the trajectories.
座標データを受信するデータ通信手段、
前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、各線積分値を足し合わせることにより前記地図エリア上の軌跡に対応する地表上の距離を演算する距離演算手段
として前記コンピュータを機能させることを特徴とするプログラム。 Discrete coordinate data calculated by reading the coded pattern of the medium on which the map area and the coded pattern are printed at predetermined time intervals are received from an electronic pen or a pen-type scanner, and the map data is used on the map area. a program executed by a computer for calculating the distance on the ground which corresponds to a path indicated by the trajectories,
Data communication means for receiving coordinate data;
Received by said data communication means, monotonically increasing or X coordinate multiple coordinates, in chronological order read the coordinate data calculated by said electronic pen or the wand along the trajectories After dividing the sections so that the decrease is continuous and the angle formed by the three consecutive points does not become less than the threshold angle, interpolation is performed with multiple types of interpolation functions for each section, and each position coordinate is connected by a straight line. Calculate the area enclosed by the ellipse line and the curve obtained by various interpolation functions, adopt the interpolation function of the smallest area among those areas, calculate the line integral value of each adopted interpolation function, and calculate each line a program characterized by causing the computer to function as a distance calculating means for calculating a distance on the earth's surface corresponding to the trajectories on the map area by adding the integral value.
座標データを受信するデータ通信手段、
前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けし、所定距離以上の位置座標間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、その一方、所定距離以上の位置座標間距離が連続しない区間では、各位置座標間の直線距離の合計値を演算し、採用した各補間関数の線積分値と直線距離の合計値を足し合わせることにより前記地図エリア上の軌跡に対応する地表上の距離を演算する距離演算手段
として前記コンピュータを機能させることを特徴とするプログラム。 Discrete coordinate data calculated by reading the coded pattern of the medium on which the map area and the coded pattern are printed at predetermined time intervals are received from an electronic pen or a pen-type scanner, and the map data is used on the map area. a program executed by a computer for calculating the distance on the ground which corresponds to a path indicated by the trajectories,
Data communication means for receiving coordinate data;
Received by said data communication means, monotonically increasing or X coordinate multiple coordinates, in chronological order read the coordinate data calculated by said electronic pen or the wand along the trajectories After the sections are divided so that the decrease continues, the sections are further divided depending on whether the distance between adjacent position coordinates in each section is greater than or equal to a predetermined distance. Interpolate with multiple types of interpolation functions each time, calculate the area surrounded by the line segment connecting each position coordinate with a straight line and the curve obtained by various interpolation functions, and interpolation of the smallest area among those areas adopted function calculates the line integral values for each interpolation function is employed, while, in the section where the distance between the predetermined distance or more coordinates are not consecutive, Starring the sum of the linear distance between the position coordinates And, that causes the computer to function as distance calculating means for calculating a distance on the earth's surface corresponding to the trajectories on the map area by adding the total value of the line integral values and the linear distance of each interpolation function employing A featured program.
座標データを受信するデータ通信手段、
前記データ通信手段によって受信され、前記軌跡に沿って前記電子ペン又は前記ペン型スキャナによって演算された前記座標データの複数の位置座標を、読み取られた時系列順でX座標の単調増加又は単調減少が連続するように、且つ、連続する三点のなす角が閾値角度未満とならないように区間分けしたうえで、各区間において隣接する位置座標間の距離が所定距離以上か否かによってさらに区間分けし、所定距離以上の位置座標間距離が連続する区間では、区間毎に複数種類の補間関数で補間をかけ、各位置座標を直線で結んだ線分と各種補間関数により求めた曲線とで囲まれる面積を計算し、それらの面積のうちで最も小さい面積の補間関数を採用し、採用した各補間関数の線積分値を演算し、その一方、所定距離以上の位置座標間距離が連続しない区間では、各位置座標間の直線距離の合計値を演算し、採用した各補間関数の線積分値と直線距離の合計値を足し合わせることにより前記地図エリア上の軌跡に対応する地表上の距離を演算する距離演算手段
として前記コンピュータを機能させることを特徴とするプログラム。 Discrete coordinate data calculated by reading the coded pattern of the medium on which the map area and the coded pattern are printed at predetermined time intervals are received from an electronic pen or a pen-type scanner, and the map data is used on the map area. a program executed by a computer for calculating the distance on the ground which corresponds to a path indicated by the trajectories,
Data communication means for receiving coordinate data;
Received by said data communication means, monotonically increasing or X coordinate multiple coordinates, in chronological order read the coordinate data calculated by said electronic pen or the wand along the trajectories After dividing into sections so that the decrease is continuous and the angle formed by the three consecutive points does not become less than the threshold angle, it is further divided depending on whether or not the distance between adjacent position coordinates in each section is greater than or equal to a predetermined distance. In a section where distances between position coordinates that are greater than or equal to the predetermined distance are continuous, interpolation is performed with multiple types of interpolation functions for each section, and the line segments that connect the position coordinates with straight lines and curves obtained by various interpolation functions. Calculate the area to be enclosed, adopt the interpolation function of the smallest area among those areas, calculate the line integral value of each adopted interpolation function, and on the other hand, the distance between the position coordinates more than the predetermined distance In the section but not continuous, and calculates the total value of the linear distance between the position coordinates, corresponding to the trajectories on the map area by adding the total value of the line integral values and the linear distance of each interpolation function employing A program for causing the computer to function as distance calculation means for calculating a distance on the ground surface.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007219449A JP4873376B2 (en) | 2007-08-27 | 2007-08-27 | Terminal device and program used therefor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007219449A JP4873376B2 (en) | 2007-08-27 | 2007-08-27 | Terminal device and program used therefor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009053898A JP2009053898A (en) | 2009-03-12 |
| JP4873376B2 true JP4873376B2 (en) | 2012-02-08 |
Family
ID=40504938
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007219449A Expired - Fee Related JP4873376B2 (en) | 2007-08-27 | 2007-08-27 | Terminal device and program used therefor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4873376B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2024097814A (en) * | 2020-07-01 | 2024-07-19 | 株式会社東海理化電機製作所 | Tactile sensation presentation system, control device, and computer program |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113806812B (en) * | 2021-08-13 | 2022-05-27 | 深圳市鹰硕技术有限公司 | User's handwriting data management method, device, system and storage medium |
| CN116028739A (en) * | 2022-12-26 | 2023-04-28 | 广东嘉腾机器人自动化有限公司 | Simulation display method and electronic equipment for simulating continuous motion of AGV |
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 |
| JP2827618B2 (en) * | 1991-05-21 | 1998-11-25 | 松下電器産業株式会社 | Vehicle position detection device |
| JP4146549B2 (en) * | 1998-09-07 | 2008-09-10 | Thk株式会社 | Trajectory control method and recording medium having recorded trajectory control method |
| KR100306212B1 (en) * | 1999-08-21 | 2001-11-01 | 윤종용 | A convergence adjustment apparatus and method utilizing spline interpolation |
| JP3879106B1 (en) * | 2006-02-13 | 2007-02-07 | 健治 吉田 | Information output device |
-
2007
- 2007-08-27 JP JP2007219449A patent/JP4873376B2/en not_active Expired - Fee Related
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2024097814A (en) * | 2020-07-01 | 2024-07-19 | 株式会社東海理化電機製作所 | Tactile sensation presentation system, control device, and computer program |
| JP7695443B2 (en) | 2020-07-01 | 2025-06-18 | 株式会社東海理化電機製作所 | Tactile sensation presentation system, control device, and computer program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2009053898A (en) | 2009-03-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3830956B1 (en) | Information output device | |
| US20090009489A1 (en) | Portable Apparatus and Method for Inputing Data With Electronic Pen and Transmitting Data | |
| JP4873376B2 (en) | Terminal device and program used therefor | |
| JP4835529B2 (en) | Terminal device and program used therefor | |
| JP4905860B2 (en) | Electronic pen and scanner and program used for them | |
| JP5256700B2 (en) | Terminal device and program thereof | |
| JP5239283B2 (en) | Terminal device and program used therefor | |
| JP5029963B2 (en) | Information processing device | |
| JP3879106B1 (en) | Information output device | |
| JP4973384B2 (en) | Terminal device, program used therefor and information processing system | |
| JP4849043B2 (en) | Electronic pen and scanner and program used for them | |
| JP2009229824A (en) | Method, device, and program for processing map information | |
| JP5024019B2 (en) | Terminal device and program thereof | |
| JP5305256B2 (en) | Terminal device and program thereof | |
| JP2009187235A (en) | Electronic pen and program used for it | |
| JP2009009287A (en) | Electronic pen and scanner and program used for them | |
| JP4669838B2 (en) | Information processing apparatus and program | |
| JP4887788B2 (en) | Processing device, program and electronic pen form | |
| JP2008309934A (en) | Terminal device, program used therefor and information processing system | |
| JP5664300B2 (en) | Computer apparatus, input system, and program | |
| 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 | |
| JP2009187236A (en) | Terminal device, program used therefor and information processing system | |
| JP2006309505A (en) | Terminal device, program and electronic pen form |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100426 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110714 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110719 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110901 |
|
| 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: 20111031 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141202 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111113 |
|
| LAPS | Cancellation because of no payment of annual fees |