WO2014141881A1 - Method for associating between characteristic point sets, association device, and association program - Google Patents

Method for associating between characteristic point sets, association device, and association program Download PDF

Info

Publication number
WO2014141881A1
WO2014141881A1 PCT/JP2014/054642 JP2014054642W WO2014141881A1 WO 2014141881 A1 WO2014141881 A1 WO 2014141881A1 JP 2014054642 W JP2014054642 W JP 2014054642W WO 2014141881 A1 WO2014141881 A1 WO 2014141881A1
Authority
WO
WIPO (PCT)
Prior art keywords
coordinate
feature points
order
value
feature
Prior art date
Application number
PCT/JP2014/054642
Other languages
French (fr)
Japanese (ja)
Inventor
井戸伸彦
Original Assignee
Ido Nobuhiko
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ido Nobuhiko filed Critical Ido Nobuhiko
Priority to CN201480026530.1A priority Critical patent/CN105190647B/en
Publication of WO2014141881A1 publication Critical patent/WO2014141881A1/en
Priority to HK16102378.0A priority patent/HK1214388A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • G06V10/754Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries involving a deformation of the sample pattern or of the reference pattern; Elastic matching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/28Character recognition specially adapted to the type of the alphabet, e.g. Latin alphabet
    • G06V30/287Character recognition specially adapted to the type of the alphabet, e.g. Latin alphabet of Kanji, Hiragana or Katakana characters

Definitions

  • the present invention compares two objects, which are sets of feature points having coordinates composed of N coordinate values in N (N is a natural number of 2 or more) dimensional space, and compares the feature points in one set with the other.
  • the present invention relates to an associating method, an associating device, and an associating program for determining correspondence with feature points in the set.
  • a feature point here has a coordinate which consists of N coordinate values corresponding to N-dimensional space, and points out what is an element of an object.
  • a feature point may have an attribute value other than coordinates.
  • a handwritten input character expressed by a stroke on a two-dimensional plane and a template character referred to for comparison with the object may be an object, and the start point and the end point of each stroke may be considered as feature points. I can do it.
  • the feature point association in this case is applied in the field of on-line character recognition, as can be seen in Patent Document 1.
  • an audio signal expressed on a two-dimensional plane of a spectrum with two axes of frequency and intensity can be used as an object, and a point on the path can be considered as a feature point.
  • the correspondence between the feature points of the two audio signals is applied in the field of speech recognition, as seen in Patent Document 2.
  • Non-Patent Document 1 Any of the above application fields are general technical fields described in textbooks (Non-Patent Document 1).
  • the association of two feature points in these applications means that the two feature points have the same mutual positional relationship on the two-dimensional plane with other feature points in each object. . That is, since the association is performed for other feature points, the correspondence can be established as a whole only after the mutual positional relationship in each object is the same.
  • Non-Patent Document 4 a case is considered in which the Euclidean distance obtained from the coordinates of the two feature points in the N-dimensional space is included in the cost in DP matching. If the Euclidean distance is large, the cost increases, and it becomes negative to associate two feature points. That is, it means that the difference between the two feature points is large in the mutual positional relationship with other feature points in each object. Conversely, if the Euclidean distance is small, it means that there is little difference in the mutual positional relationship between two feature points. As described above, in the correspondence such as DP matching, the distance between the feature points obtained by the coordinates in the N-dimensional space is used as a measure of the difference in the mutual positional relationship between the feature points in the object. Can be interpreted.
  • Non-Patent Document 3 (Section 5.1) describes that “normalization” is performed on character data.
  • Non-Patent Document 1 (Section 2.4.2) also describes that parallel movement and enlargement / reduction processing are used as processing for matching.
  • the object to be associated includes a variation that is a target of processing generally called normalization.
  • the Euclidean distance between the feature points is usually calculated after normalization.
  • the present invention converts a coordinate system that includes coordinate values including variations due to distortion and variations to be normalized into a new coordinate system that represents the essence of the mutual positional relationship, and converts the distance on the new coordinate system. It is an object to provide a method, an apparatus, and a program for associating feature points used.
  • the first configuration of the feature point associating method according to the present invention is an object having two or more feature points having coordinates composed of N coordinate values in an N (N is a natural number of 2 or more) dimensional space.
  • N is a natural number of 2 or more
  • the cost between the feature points to be matched is determined and in the feature point association method for determining the association so as to reduce the total value of the costs between the attached feature points, two or more non-parallel coordinate axes on the N-dimensional space are defined, and the plurality of coordinate axes For each coordinate axis, a coordinate value on the coordinate axis of the feature point that is an element of the first object is obtained, and the feature points are sorted in ascending or descending order according to the obtained coordinate value.
  • the second order coordinate calculation step of calculating the order coordinate value of the feature point that is an element of the object, two feature points of the feature point of the first object and the feature point of the second object A cost calculating step for determining the cost between feature points by including a calculated value that monotonously increases with respect to a difference between the order coordinate values of the two feature points on each coordinate axis of the plurality of coordinate axes; and And determining the association using the cost determined in the cost calculating step.
  • the first effect is that the order coordinate values are maintained at the same value even if the coordinate values slightly change due to fluctuations due to distortion.
  • the second effect is that the order coordinate values on the remaining coordinate axes are maintained even if the order coordinate values may fluctuate on some coordinate axes of the plurality of coordinate axes. It is that the fluctuation
  • the first ordered coordinate calculation step and the second ordered coordinate calculation step include the ordered sequence of the feature points.
  • a value obtained by converting the integer value by a monotone function is used as the order coordinate value.
  • the object in the first or second configuration, is a character expressed as one or more strokes on a two-dimensional plane.
  • the coordinates of the feature point are composed of coordinate values of the coordinates of one or more points on the two-dimensional plane representing the position of the stroke.
  • the first configuration of the feature point associating device is an object having two or more feature points having coordinates composed of N coordinate values in N (N is a natural number of 2 or more) dimensional space.
  • N is a natural number of 2 or more
  • the cost between the feature points to be matched is determined and in the feature point associating apparatus for determining the correspondence so as to reduce the total value of the costs between the attached feature points, two or more non-parallel coordinate axes on the N-dimensional space are defined, and the multiple coordinate axes For each coordinate axis, a coordinate value on the coordinate axis of the feature point that is an element of the first object is obtained, and the feature points are sorted in ascending or descending order according to the obtained coordinate value.
  • First order coordinate calculation means for obtaining an order sequence of feature points, and calculating an integer value indicating an appearance order of the feature points in the order sequence as an order coordinate value on the coordinate axis of the feature points;
  • the second order coordinate calculation means for calculating the order coordinate value of the feature point that is an element of the object, two feature points of the feature point of the first object and the feature point of the second object.
  • the cost calculation means for determining the cost between feature points by including a calculated value that monotonically increases with respect to a difference between the order coordinate values of the two feature points on each coordinate axis of the plurality of coordinate axes; and And means for determining correspondence using the cost determined by the cost calculation means.
  • the first ordered coordinate calculating means and the second ordered coordinate calculating means may be configured such that the ordered sequence of the feature points.
  • a value obtained by converting the integer value by a monotone function is used as the order coordinate value.
  • the object is a character expressed as one or more strokes on a two-dimensional plane
  • the coordinates of the feature point are composed of coordinate values of coordinates of one or more points on a two-dimensional plane representing the position of the stroke.
  • the configuration of the program according to the present invention is characterized by causing a computer to execute the feature point association method according to the first to third configurations.
  • FIG. 1 is a conceptual configuration diagram of a writing test apparatus according to an embodiment of the present invention. It is an operation example of a writing test apparatus.
  • N is used as the number of feature points of the first object unless otherwise specified.
  • FIG. 1 (b) is a conceptual block diagram of the feature point matching apparatus (100) according to the embodiment of the present invention, and exchanged data is also shown in the figure.
  • the feature point associating device (100) is composed of an object input means (110), a cost calculation means (120), and an association determination means (130).
  • the cost calculating means (120) is composed of a distance cost calculating means (121) and another cost calculating means (125), and the distance cost calculating means (121) is an order coordinate value calculating means (122) and a distance calculating means. (123) and coordinate axis definition holding means (124).
  • the object input means (110) inputs a first object and a second object whose elements are feature points to be matched. For example, a handwritten input character represented by a stroke and a character referred to as a correct answer correspond to this.
  • equation (2) is given.
  • the order coordinate value calculation means (122) inputs a plurality of coordinate axis definitions (195) from the coordinate axis definition holding means (124), and calculates the order coordinates (192) of the feature points.
  • a general multiple coordinate axis definition (195) is shown in equation (3).
  • Formula (4) shows a numerical example of formula (3).
  • the f 0 is the x-axis, coordinate axes of which was rotated counterclockwise by [pi / 4, and has a f 1, f 2, f 3 . Which coordinate axis should be defined depends on the application field.
  • Formula (6) shows a numerical example of Formula (5). This value will be described with reference to FIG.
  • FIG. 2 is a diagram illustrating a plurality of coordinate axis trains of Equation (4) and feature points of Equation (2) on a secondary plane as numerical examples. For example, when viewed in the direction of the vector f 1 in FIG. 2, the feature points are arranged in the order of p 1 , p 2 , p 0 , p 3 . This is the meaning of O f1 (P) in formula (6).
  • Equation (7) When the order of pn counted from 0 in the feature point O fk (P) is represented as O fk (p n ), it can be expressed as in Expression (7). However, “[..]” in the expression (7) takes a value of “1” when “..” is true and “0” when it is false. Equation (5) does not clearly indicate how to determine the order when the coordinate values are the same, but in equation (7), the second term on the right side follows the subscript of the variable of the feature point. As such a tie-breaking method, there are other methods such as (a) following the order when the coordinate axes are slightly rotated, and (b) treating them in the same order. Unless there are many arrangements in which three or more points are arranged on the same straight line, there is no problem with the method of equation (7).
  • the order coordinates (192) in FIG. 1 are defined as in Expression (8) using Ofk (p n ) in Expression (7).
  • the order coordinate as shown in Expression (8) is calculated by the order coordinate value calculation means (122) for each of the first object and the second object.
  • Equation (9) shows a numerical example of equation (8).
  • the value ( 0, 2, 3, 3 ) of the value of O F (p 0 ) is “0” when the order of p 0 in the expression (6) is O f0 (P), and “0” when O f1 (P) is “ 2 ”, O f2 (P) is“ 3 ”, and O f3 (P) is“ 3 ”.
  • the distance calculation means (123) that receives the order coordinates (192) of the feature points of the first and second objects calculates the cost (193) between the feature points using this.
  • the calculation method various calculation methods based on the difference between the order coordinate values may be used.
  • the cost d O is obtained by taking “the sum of the differences in the order coordinate values” shown in Expression (10).
  • a method using a calculation method such as “geometric mean of difference in order coordinate value” or “square of sum of squares of difference in order coordinate value” is also conceivable. As long as the difference in order coordinates increases, the cost increases. That is, any calculation value that monotonously increases with respect to the difference in order coordinates may be used.
  • P corresponds to the first object
  • Q corresponds to the second object.
  • the cost d 0 (p based on the distance between the feature point p 1 in the first object and the point q 2 in the second object is considered. 1 , q 2 ) is as shown in Equation (12). Furthermore, the costs ⁇ d O (p n , q m ) ⁇ for all combinations of feature points in the first object and points in the second object are as shown in Table 1.
  • the number of feature points is the same between the first and second objects.
  • Equation (13) A complicated shape can be associated with a simplified shape.
  • the reason why the denominator of Expression (13) is set to N ⁇ 1 instead of N is to make the lowest order “1”. That is, the normalized order coordinate value is not an integer value but a rational number in the closed interval [0, 1]. Even when normalized, the definition of the ordinal distance follows the equation (10).
  • the normalized order coordinate value is obtained by a linear function with respect to the rank O fk (p n ).
  • the function to be used is not necessarily linear, and may be a monotone function.
  • the function of Expression (14) is monotonous and may be used.
  • Expression (14) is used, the difference in the ranking is sensitively reflected in the normalized order coordinate value near the center, and the degree of reflection is reduced as the position approaches the highest or lowest position. It is reflected in the same way.
  • equations (13) and (14) are both monotonically increasing functions. There is no problem with using a monotonically decreasing function, but it is meaningless because the order is reversed.
  • the association determining means (130) inputs the cost including the cost (193) ⁇ d O (p n , q m ) ⁇ between the feature points according to the equation (10) as in the numerical example of Table 1. Then, the association (194) is determined.
  • the feature of the present invention is that the order coordinate value is used for calculating the cost, and the procedure used in the association determining means (130) does not have to be specific. In the present embodiment, a simple association procedure is adopted in which association is performed in order from the lowest cost.
  • the smallest d O (p n ′ , q m ′ ) is selected from the costs ⁇ d O (p n , q m ) ⁇ in which both pn and q m are not associated, and this p
  • the procedure of repeating associating n ′ and q m ′ until all feature points are associated is adopted. This procedure of associating in order from the lowest cost does not necessarily obtain the optimum association that minimizes the total cost. However, since the cost based on the order coordinate values works effectively, accurate association can be obtained even using such a simple association procedure.
  • association determining means (130) performs association according to the cost of the numerical example of Table 1 using the procedure of associating in ascending order from the above-mentioned lowest cost, the association (indicated by a circle in Table 1) 194) is obtained.
  • the procedure of associating in ascending order of cost is used on the premise that one-to-one correspondence is performed.
  • the present invention is not necessarily limited to only one-to-one correspondence. Absent. For example, when a complex shape is associated with a simplified shape by performing normalization as in Expression (13), the correspondence is one-to-many.
  • FIG. 3 is a conceptual configuration diagram of the writing test apparatus (300) according to the embodiment of the present invention, and exchanged data is also shown in the drawing.
  • the correlating device (100) shown in FIG. 1 is used by the writing test device (300) from the outside, but for the sake of consistency with FIG. Of course, the form corresponding to the function of the associating device (100) may be incorporated in the writing test device (300).
  • the writing test apparatus (300) includes a position input means (320) and a display means (330) in the touch panel (310), a handwriting input control means (340), a writing problem management means (350), and a scoring means (360).
  • the scoring means (360) is composed of a midpoint calculating means (361), an angle calculating means (362), and a correctness determination means (363).
  • the writing problem management means (350) outputs a writing question (391) to the display means (330), and the user (399) visually recognizes it (392), and position input means (320). Input (393) by drawing is performed.
  • the position input means (320) outputs the coordinate information (394) of the drawing input to the handwriting input control means (340).
  • the handwriting input control means (340) displays the character image (395) by the display means (330), and outputs the stroke information (396) of the handwritten input characters to the scoring means (360) when the drawing input ends and scoring starts. To do.
  • the midpoint calculating means (361) is applied to the stroke information (396) of the handwritten input characters and the stroke information (397) of the correct answer characters input from the writing problem management means (350). And angle calculation means (362).
  • the midpoint calculation means (361) obtains the midpoint of each stroke in the stroke information.
  • the coordinate value of the feature point that is, the value of Expression (1) is obtained.
  • the angle calculation means (362) obtains the angle with respect to the x-axis at the start point and end point of each stroke in the stroke information. This is used to calculate the cost in the other cost calculation means (125) in FIG. 1 when input to the associating device (100).
  • other costs are also added as necessary to be input to the association means (130).
  • the angle with respect to the x-axis at the start point and end point is an example. In this embodiment, since only the midpoint of the stroke obtained by the midpoint calculating means (361) cannot be distinguished from the first and second strokes of the “10” character, for example, this is another cost. Costs due to different angles are required. Formula (15) gives the definition of cost d S by angle.
  • the stroke information of the correct character As a first object, stroke information of handwritten input characters is input as a second object.
  • the association is performed by the processing described with reference to FIG. 1, and the value d of Expression (16) obtained by adding Expression (10) and Expression (15) is used as the cost at this time.
  • the associating (194) is output to the correctness determination means (363) in the scoring means (360).
  • the correctness / incorrectness determination means compares the associated strokes or the relationship between the strokes to determine whether the correct answer characters and the handwritten input characters match at a certain level or more, and determines correct / incorrect answers.
  • the result (398) is output to the display means (330).
  • a character composed of a stroke is used as an object, and the order coordinate value is calculated using the coordinates on the plane of the midpoint of the stroke that is the feature point.
  • the order coordinate value may be calculated in the four-dimensional space (xs, ys, xe, ye) using the xy coordinates of the start point (xs, ys) and the end point (xe, ye) of the stroke.
  • the coordinates of the feature points may be composed of coordinate values on the two-dimensional plane representing the stroke position. That is, it is not necessary to use only the coordinate value of a single point on the two-dimensional plane as in the case of using the coordinate value of the midpoint of the stroke. Even when the coordinate value of a single point on the two-dimensional plane is used, it does not have to be a middle point.
  • FIG. 4 shows an operation example of the writing test apparatus described in FIG.
  • a correct answer character image (401) and a handwritten input character image (402) are characters handwritten on a writing test apparatus equipped with an actual touch panel. Numbers are given in the order of strokes, and the numbers are associated with each other as an index.
  • the path (SVG) (411) of the stroke of the correct answer is the path information corresponding to 401, written in the notation of SVG (Scalable Vector Graph) adopted in HTML5.
  • 412 is path information 402.
  • the curve is expressed by a quadratic Bezier curve.
  • the y-axis is directed toward the bottom of the character and is opposite to a general xy coordinate plane.
  • the coordinate values of the path information 411 and 412 and the coordinate values and order coordinate values appearing in the following description follow the y-axis direction of the SVG.
  • the coordinates of the midpoint of the stroke and the ordinal coordinates (420) are defined as the coordinates of the midpoint of each stroke (image) extracted from the path information of 411 and 412, and these are defined by equation (8) and the like. It is the value converted to ordinal coordinates. Note that the order coordinates in FIG. 4 indicate values that are not normalized. An approximate value is used for the coordinate value of the midpoint for speeding up the processing.
  • the order distance (430) between strokes in FIG. 4 is a table showing the result of obtaining the order distance according to the equation (10) with respect to the value of 420.
  • the stroke of the correct answer character corresponding to 401 is written in the vertical direction of the table, and the stroke of the handwritten input character corresponding to 402 is written in the horizontal direction.
  • a combination of images that are associated with the value of 430 using the procedure for associating in order from the lowest cost is indicated by a circle in the table.
  • the costs shown in Expression (15) are added together to perform association, but Expression (15) is omitted because it is not directly related to the present invention.
  • the writing test apparatus using handwritten characters is dealt with.
  • the associating apparatus according to the present invention can be used in a form similar to online character recognition.
  • various objects such as images, audio signals, and sentences can be applied as objects.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Artificial Intelligence (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Character Discrimination (AREA)

Abstract

In the present invention, when associating a characteristic point of one object and a characteristic point of another object by comparing the two objects, which have characteristic points as elements, such as handwritten input characters having strokes as elements, variations due to object distortion and variations that are the subject of normalization are absorbed, and accurate and high-speed associating is performed. A plurality of coordinate axes are stipulated that are not parallel with each other in an N-dimensional space in which the coordinates of characteristic points are defined, an integer representing the order of appearance in a row of characteristic points sorted by the coordinate values in the coordinate axes is considered to be the sequential coordinate value of the characteristic points in the coordinate axes, a calculation value that monotonically increases with respect to the difference in sequential coordinate values is included in the cost between characteristic points, and an association is performed that lessens the cost. The variations are absorbed by means of the sequential coordinate values not changing even if there are small variations in the N-dimensional space of the characteristic points, and by means of the sequential coordinate values not changing in other coordinate axes even if the sequential coordinate values do change in some coordinate axes.

Description

特徴点集合間の対応付け方法、対応付け装置ならびに対応付けプログラムAssociation method between feature point sets, association device, and association program
 本発明は、N( N は2 以上の自然数)次元空間のN個の座標値からなる座標を有する特徴点の集合であるオブジェクトの2つを比較して、一方の集合内の特徴点と他方の集合内の特徴点との対応を決定する、対応付け方法、対応付け装置ならびに対応付けプログラムに関する。 The present invention compares two objects, which are sets of feature points having coordinates composed of N coordinate values in N (N is a natural number of 2 or more) dimensional space, and compares the feature points in one set with the other. The present invention relates to an associating method, an associating device, and an associating program for determining correspondence with feature points in the set.
 N次元( N は2 以上の自然数) 空間上の2つのオブジェクト内のそれぞれの特徴点を対応付ける技術は、様々な分野での応用がある。ここでいう特徴点とは、N 次元空間に対応するN個の座標値からなる座標を持つものであり、オブジェクトの要素となっているものを指す。特徴点には、座標以外に属性値があっても良い。 N-dimensional (特 徴 N is a natural number of 2 or more) 技術 The technology for associating each feature point in two objects in space has applications in various fields. A feature point here has a coordinate which consists of N coordinate values corresponding to N-dimensional space, and points out what is an element of an object. A feature point may have an attribute value other than coordinates.
 例えば2次元平面上のストロークにより表現された手書き入力文字と、これとの比較のために参照されるテンプレートの文字とをオブジェクトとし、双方の各ストロークの始点と終点とを特徴点と考えることが出来る。この場合の特徴点の対応付けは、特許文献1に見えるように、オンライン文字認識の分野で応用されている。 For example, a handwritten input character expressed by a stroke on a two-dimensional plane and a template character referred to for comparison with the object may be an object, and the start point and the end point of each stroke may be considered as feature points. I can do it. The feature point association in this case is applied in the field of on-line character recognition, as can be seen in Patent Document 1.
 あるいは、周波数とその強さの2軸によるスペクトルの2次元平面上で表現された音声信号をオブジェクトとし、そのパス上の点を特徴点と考えることが出来る。この場合の二つの音声信号の特徴点の対応付けは、特許文献2に見えるように、音声認識の分野で応用されている。 Alternatively, an audio signal expressed on a two-dimensional plane of a spectrum with two axes of frequency and intensity can be used as an object, and a point on the path can be considered as a feature point. In this case, the correspondence between the feature points of the two audio signals is applied in the field of speech recognition, as seen in Patent Document 2.
 上記いずれの応用分野も、教科書(非特許文献1)に記載される一般的な技術分野である。 Any of the above application fields are general technical fields described in textbooks (Non-Patent Document 1).
 これらの応用において2つの特徴点が対応付けられることは、その2つの特徴点がそれぞれのオブジェクトにおける他の特徴点との2次元平面上で相互位置関係が同じであるとことを意味している。つまり、他の特徴点に対しても対応付けが行われるので、それぞれのオブジェクトでの相互位置関係が同じであって始めて、全体として対応が付く。 The association of two feature points in these applications means that the two feature points have the same mutual positional relationship on the two-dimensional plane with other feature points in each object. . That is, since the association is performed for other feature points, the correspondence can be established as a whole only after the mutual positional relationship in each object is the same.
 また、これらの応用でのオブジェクトは個体ごとに“歪み”や“ずれ”と呼ぶ変動があり、対応付けを難しくしている。歪みやずれと呼ぶ変動を吸収して対応付けを行う方法としては、弾性マッピングと呼ぶ手法の一つであるDP(ダイナミックプログラミング)マッチングが知られている(特許文献1、非特許文献2)。 In addition, the objects in these applications have fluctuations called “distortion” and “displacement” for each individual, making the association difficult. DP (dynamic programming) matching, which is one of methods called elastic mapping, is known as a method for performing association by absorbing fluctuations called distortion and deviation (Patent Document 1, Non-Patent Document 2).
 DPマッチングは、対応付けされる2つのオブジェクトの一方のオブジェクト内の特徴点と他方のオブジェクト内の特徴点との組み合わせのすべてにコストを定め、1対1の対応付けによるペアのコストの合計を最小化する最適化問題への解法である。非特許文献2(2.1項)にも“局所距離”と記されているように、このコストをしばしば距離とも呼ぶ。実際、コストの値には、2つの特徴点間のユークリッド距離も合算して含められている場合が多い。しかしながら、非特許文献4、もしくは、特許文献1にて従来技術として記されているように、形状の違いを距離と表現している場合もあり、距離という用語が必ずしも幾何学的な距離の定義に適うものを指している訳ではない。例えば、非特許文献3(5.1項)の“筆点移動方向”による値は距離に含められている。 In DP matching, costs are determined for all combinations of feature points in one object and feature points in the other object, and the total cost of the pair by one-to-one correspondence is calculated. It is a solution to the optimization problem to be minimized. As described in Non-Patent Document 2 (Section 2.1) as “local distance”, this cost is often referred to as distance. Actually, the cost value often includes the Euclidean distance between the two feature points in total. However, as described in Non-Patent Document 4 or Patent Document 1 as the prior art, a difference in shape may be expressed as a distance, and the term distance is not necessarily a definition of geometric distance. It does not mean something that fits. For example, the value based on the “writing point movement direction” in Non-Patent Document 3 (Section 5.1) is included in the distance.
 非特許文献4のように、DPマッチングにおいて、2つの特徴点のN次元空間の座標により得られるユークリッド距離をコストに含める場合を考える。もしユークリッド距離が大きければコストは大きくなり、2つの特徴点を対応付けることには否定的になる。すなわち、それぞれのオブジェクトにおける他の特徴点との相互位置関係において、2つの特徴点で違いが大きいことを意味する。逆に、そのユークリッド距離が小さければ、2つの特徴点の前記相互位置関係に違いが少ないことを意味する。このようにDPマッチングのような対応付けにおいて、N次元空間上の座標により得られる特徴点間の距離は、オブジェクト内での特徴点の相互位置関係の違いの大きさの尺度として用いられていると解釈できる。以下では、このユークリッド距離のように、オブジェクト内での特徴点のN次元空間上での相互位置関係の違いの大きさの尺度として用いられているもののみを距離と呼ぶことする。もちろん、ユークリッド距離ばかりではなく、マンハッタン距離や、幾何学的な距離の定義を満たさないものでも距離と呼ぶことにする。非特許文献3に記された形状の違いを距離として評価するようなものは、距離とは呼ばないこととする。 As in Non-Patent Document 4, a case is considered in which the Euclidean distance obtained from the coordinates of the two feature points in the N-dimensional space is included in the cost in DP matching. If the Euclidean distance is large, the cost increases, and it becomes negative to associate two feature points. That is, it means that the difference between the two feature points is large in the mutual positional relationship with other feature points in each object. Conversely, if the Euclidean distance is small, it means that there is little difference in the mutual positional relationship between two feature points. As described above, in the correspondence such as DP matching, the distance between the feature points obtained by the coordinates in the N-dimensional space is used as a measure of the difference in the mutual positional relationship between the feature points in the object. Can be interpreted. In the following description, only the Euclidean distance used as a measure of the magnitude of the difference in mutual positional relationship in the N-dimensional space of feature points in the object will be referred to as a distance. Of course, not only the Euclidean distance but also those that do not satisfy the definition of Manhattan distance or geometric distance are called distances. What evaluates the difference in the shape described in Non-Patent Document 3 as a distance is not called a distance.
 前記の“歪み”や“ずれ”は、対応付けの観点からみると、特徴点のオブジェクト内での相互位置関係は変わらないにも関わらず、N次元空間の座標が変動し、結果として距離にも変動が生じる事象と捉え得る。 From the viewpoint of correspondence, the above-mentioned “distortion” and “displacement” change the coordinates of the N-dimensional space even though the mutual positional relationship of the feature points within the object does not change, and as a result, Can be regarded as an event in which fluctuation occurs.
 一方、どのような対応付けの手法を適用するかに依らず、対応付けに先立って対象のオブジェクトに対して何等かの前処理を行うことが一般的である。例えば、非特許文献3(5.1項)では、文字データに対して“正規化”が行われていることが記されている。非特許文献1(2.4.2項)にも、整合のための処理として、平行移動や拡大縮小処理が用いられることが記されている。例えば手書き入力した文字であれば、描画された字の位置や大きさは当然一律ではないので、大きさや位置などに関して補正は必要となる。すなわち、対応付けの対象となるオブジェクトには、一般的に正規化と呼ぶ処理の対象となる変動が含まれている。前記の特徴点間のユークリッド距離も、非特許文献3に記されたように、通常は正規化の後に算出される。 On the other hand, it is common to perform some pre-processing on the target object prior to association, regardless of what association method is applied. For example, Non-Patent Document 3 (Section 5.1) describes that “normalization” is performed on character data. Non-Patent Document 1 (Section 2.4.2) also describes that parallel movement and enlargement / reduction processing are used as processing for matching. For example, in the case of a character input by handwriting, the position and size of the drawn character are naturally not uniform, so correction is necessary for the size and position. That is, the object to be associated includes a variation that is a target of processing generally called normalization. As described in Non-Patent Document 3, the Euclidean distance between the feature points is usually calculated after normalization.
特開平9-179940号公報JP-A-9-179940
特開平6-51793号公報JP-A-6-51793
 非特許文献3に記された弾性マッピングを含む従来の対応付けでは、前記の歪みによる変動を含んだ座標値を取る座標系のN次元空間上で算出された距離が、上記コストとして用いられている。このために、対応付けにおいてDPマッチングなどの単純では無い手法が必要となる。 In the conventional association including the elastic mapping described in Non-Patent Document 3, the distance calculated on the N-dimensional space of the coordinate system that takes the coordinate value including the variation due to the distortion is used as the cost. Yes. For this reason, a non-simple method such as DP matching is required for the association.
 特徴点間の距離を算出する際に、歪みによる変動を含んだ座標値を取る座標系ではなく、前記相互位置関係の本質を表す座標値を取る座標系を用いれば、対応付けはより簡単な手法で可能となったり、あるいは、同じ手法を用いてもより正確で高速な処理となったりする効果が生まれる。さらに、正規化の対象となる変動についても、相互位置関係の本質を表す座標値を取る座標系を用いれば、吸収されることになる。 When calculating the distance between feature points, if a coordinate system that takes the coordinate value that represents the essence of the mutual positional relationship is used instead of a coordinate system that takes a coordinate value that includes variation due to distortion, the association is easier. An effect that can be achieved by a method, or that a more accurate and high-speed processing can be achieved even if the same method is used is produced. Furthermore, fluctuations to be normalized are also absorbed if a coordinate system that takes coordinate values representing the essence of the mutual positional relationship is used.
 本発明は、歪みによる変動や正規化の対象となる変動を含む座標値を取る座標系から、相互位置関係の本質を表す新たな座標系に変換し、この新たな座標系上での距離を用いた特徴点の対応付け方法、装置、およびプログラムを提供することを目的とする。 The present invention converts a coordinate system that includes coordinate values including variations due to distortion and variations to be normalized into a new coordinate system that represents the essence of the mutual positional relationship, and converts the distance on the new coordinate system. It is an object to provide a method, an apparatus, and a program for associating feature points used.
 本発明に係る特徴点の対応付け方法の第1の構成は、N( N は2 以上の自然数)次元空間のN個の座標値からなる座標を有する2つ以上の特徴点を要素とするオブジェクトの2つを比較して、第1の前記オブジェクトの前記特徴点と第2の前記オブジェクトの前記特徴点とを対応付ける際に、対応付けの対象となる前記特徴点の間のコストを定め、対応付けた前記特徴点の間の前記コストの合算値を小さくするよう対応付けを決定する特徴点対応付け方法において、前記N次元空間上の2つ以上の互いに平行でない複数座標軸を定め、前記複数座標軸の各々の座標軸ごとに、前記第1のオブジェクトの要素である前記特徴点の該座標軸上における座標値を求め、求めた該座標値により前記特徴点を昇順あるいは降順にソートして並べた特徴点の順序列を求め、前記特徴点の前記順序列における出現順を示す整数値をその前記特徴点の該座標軸における順序座標値として算出する第1の順序座標算出ステップと、前記第2のオブジェクトについてもその要素である前記特徴点の前記順序座標値を算出する第2の順序座標算出ステップと、前記第1のオブジェクトの前記特徴点と前記第2のオブジェクトの前記特徴点との2つの特徴点の間の前記コストを、前記複数座標軸の各々の座標軸での前記2つの特徴点の前記順序座標値の差分に対して単調増加する計算値を含ませて定める、コスト算出ステップと、前記コスト算出ステップで定めた前記コストを用いて対応付けを決定するステップとを有することを特徴とする。 The first configuration of the feature point associating method according to the present invention is an object having two or more feature points having coordinates composed of N coordinate values in an N (N is a natural number of 2 or more) dimensional space. When comparing the feature points of the first object and the feature points of the second object, the cost between the feature points to be matched is determined and In the feature point association method for determining the association so as to reduce the total value of the costs between the attached feature points, two or more non-parallel coordinate axes on the N-dimensional space are defined, and the plurality of coordinate axes For each coordinate axis, a coordinate value on the coordinate axis of the feature point that is an element of the first object is obtained, and the feature points are sorted in ascending or descending order according to the obtained coordinate value. A first ordered coordinate calculating step of obtaining an ordered sequence of feature points, and calculating an integer value indicating an appearance order of the feature points in the ordered sequence as an ordered coordinate value of the feature points on the coordinate axis; and The second order coordinate calculation step of calculating the order coordinate value of the feature point that is an element of the object, two feature points of the feature point of the first object and the feature point of the second object A cost calculating step for determining the cost between feature points by including a calculated value that monotonously increases with respect to a difference between the order coordinate values of the two feature points on each coordinate axis of the plurality of coordinate axes; and And determining the association using the cost determined in the cost calculating step.
 この構成によれば、歪みによる変動は、次の2つの効果で吸収される。
一つめの効果は、歪みによる変動で座標値が少々変化しても、順序座標値は同じ値に保たれることである。
According to this configuration, fluctuation due to distortion is absorbed by the following two effects.
The first effect is that the order coordinate values are maintained at the same value even if the coordinate values slightly change due to fluctuations due to distortion.
二つめの効果は、たとえ前記複数座標軸の一部の座標軸において順序座標値が変動することがあっても、残りの座標軸での順序座標値が保たれることで、全体としては算出されたコストの変動が小さく抑えられることである。 The second effect is that the order coordinate values on the remaining coordinate axes are maintained even if the order coordinate values may fluctuate on some coordinate axes of the plurality of coordinate axes. It is that the fluctuation | variation of is suppressed small.
 さらに、対応付けに先立つ大きさや位置の正規化も不要となる。歪みによる変動を吸収することと併せて、「順序座標値を用いることが、DPマッチングのような弾性マッピング相当の効果を有している」、あるいは、「弾性マッピングが扱うような歪みを取り除いた本質的な相互位置関係を、順序座標値は表している」と解釈出来る。 Furthermore, size and position normalization prior to matching is not necessary. In addition to absorbing fluctuations due to strain, “using ordered coordinate values has an effect equivalent to elastic mapping such as DP matching” or “strain that elastic mapping handles has been removed. It can be interpreted that the ordinal coordinate values represent the essential mutual positional relationship.
 本発明に係る特徴点の対応付け方法の第2の構成は、前記第1の構成において、前記第1の順序座標算出ステップと前記第2の順序座標算出ステップは、前記特徴点の前記順序列における出現順を示す整数値に代わって、該整数値を単調関数によって変換した値を、前記順序座標値として用いることを特徴とする。 According to a second configuration of the feature point association method of the present invention, in the first configuration, the first ordered coordinate calculation step and the second ordered coordinate calculation step include the ordered sequence of the feature points. Instead of an integer value indicating the order of appearance in, a value obtained by converting the integer value by a monotone function is used as the order coordinate value.
 この構成によれば、たとえ前記第1のオブジェクトの要素である特徴点の数と、前記第2のオブジェクトの要素である特徴点の数とが大きくことなっている場合でも、合理的な対応付けを得ることが出来る。変換に用いる単調関数には、例えば数直線上の閉区間上に一定間隔で並ぶ点の値に対応づける関数を選べば、順序座標値は正規化されることになる。複雑な形に対して、これを簡略化した形への対応付けを行う際には、このように正規化された順序座標値を用いると都合がよい。 According to this configuration, even if the number of feature points that are the elements of the first object and the number of feature points that are the elements of the second object are greatly different, a reasonable association Can be obtained. As a monotonic function used for conversion, for example, if a function corresponding to the values of points arranged at regular intervals on a closed section on a number line is selected, the order coordinate value is normalized. When a complex shape is associated with a simplified shape, it is convenient to use the normalized order coordinate values.
 本発明に係る特徴点の対応付け方法の第3の構成は、前記第1または第2の構成において、前記オブジェクトは2次元平面上にひとつ以上のストロークとして表現された文字であり、前記特徴点は前記ストロークであり、前記特徴点の座標は前記ストロークの位置を表す前記2次元平面上の一つ以上の点の座標の座標値から構成されることを特徴とする。 According to a third configuration of the method of associating feature points according to the present invention, in the first or second configuration, the object is a character expressed as one or more strokes on a two-dimensional plane. Is the stroke, and the coordinates of the feature point are composed of coordinate values of the coordinates of one or more points on the two-dimensional plane representing the position of the stroke.
 この構成によれば、筆記に伴うさまざまな文字の個体差が吸収されるため、筆順に依存しないストロークの対応づけを効果的に行うことが出来る。 According to this configuration, since individual differences of various characters accompanying writing are absorbed, it is possible to effectively perform stroke correspondence that does not depend on the stroke order.
 本発明に係る特徴点の対応付け装置の第1の構成は、N( N は2 以上の自然数)次元空間のN個の座標値からなる座標を有する2つ以上の特徴点を要素とするオブジェクトの2つを比較して、第1の前記オブジェクトの前記特徴点と第2の前記オブジェクトの前記特徴点とを対応付ける際に、対応付けの対象となる前記特徴点の間のコストを定め、対応付けた前記特徴点の間の前記コストの合算値を小さくするよう対応付けを決定する特徴点対応付け装置において、前記N次元空間上の2つ以上の互いに平行でない複数座標軸を定め、前記複数座標軸の各々の座標軸ごとに、前記第1のオブジェクトの要素である前記特徴点の該座標軸上における座標値を求め、求めた該座標値により前記特徴点を昇順あるいは降順にソートして並べた特徴点の順序列を求め、前記特徴点の前記順序列における出現順を示す整数値をその前記特徴点の該座標軸における順序座標値として算出する第1の順序座標算出手段と、前記第2のオブジェクトについてもその要素である前記特徴点の前記順序座標値を算出する第2の順序座標算出手段と、前記第1のオブジェクトの前記特徴点と前記第2のオブジェクトの前記特徴点との2つの特徴点の間の前記コストを、前記複数座標軸の各々の座標軸での前記2つの特徴点の前記順序座標値の差分に対して単調増加する計算値を含ませて定める、コスト算出手段と、前記コスト算出手段で定めた前記コストを用いて対応付けを決定する手段とを有することを特徴とする。 The first configuration of the feature point associating device according to the present invention is an object having two or more feature points having coordinates composed of N coordinate values in N (N is a natural number of 2 or more) dimensional space. When comparing the feature points of the first object and the feature points of the second object, the cost between the feature points to be matched is determined and In the feature point associating apparatus for determining the correspondence so as to reduce the total value of the costs between the attached feature points, two or more non-parallel coordinate axes on the N-dimensional space are defined, and the multiple coordinate axes For each coordinate axis, a coordinate value on the coordinate axis of the feature point that is an element of the first object is obtained, and the feature points are sorted in ascending or descending order according to the obtained coordinate value. First order coordinate calculation means for obtaining an order sequence of feature points, and calculating an integer value indicating an appearance order of the feature points in the order sequence as an order coordinate value on the coordinate axis of the feature points; The second order coordinate calculation means for calculating the order coordinate value of the feature point that is an element of the object, two feature points of the feature point of the first object and the feature point of the second object The cost calculation means for determining the cost between feature points by including a calculated value that monotonically increases with respect to a difference between the order coordinate values of the two feature points on each coordinate axis of the plurality of coordinate axes; and And means for determining correspondence using the cost determined by the cost calculation means.
 本発明に係る特徴点の対応付け装置の第2の構成は、前記第1の構成において、前記第1の順序座標算出手段と前記第2の順序座標算出手段は、前記特徴点の前記順序列における出現順を示す整数値に代わって、該整数値を単調関数によって変換した値を、前記順序座標値として用いることを特徴とする。 According to a second configuration of the feature point associating device of the present invention, in the first configuration, the first ordered coordinate calculating means and the second ordered coordinate calculating means may be configured such that the ordered sequence of the feature points. Instead of an integer value indicating the order of appearance in, a value obtained by converting the integer value by a monotone function is used as the order coordinate value.
 本発明に係る特徴点の対応付け装置の第3の構成は、前記第1または第2の構成において、前記オブジェクトは2次元平面上にひとつ以上のストロークとして表現された文字であり、前記特徴点は前記ストロークであり、前記特徴点の座標は前記ストロークの位置を表す2次元平面上の一つ以上の点の座標の座標値から構成されることを特徴とする。 According to a third configuration of the feature point association apparatus according to the present invention, in the first or second configuration, the object is a character expressed as one or more strokes on a two-dimensional plane, and the feature point Is the stroke, and the coordinates of the feature point are composed of coordinate values of coordinates of one or more points on a two-dimensional plane representing the position of the stroke.
 本発明に係るプログラムの構成は、前記第1 乃至第3 の構成に係る特徴点の対応付け方法をコンピュータに実行させることを特徴とする。 The configuration of the program according to the present invention is characterized by causing a computer to execute the feature point association method according to the first to third configurations.
 以上説明したように、本発明によれば、歪みによる変動や正規化の対象となる変動が順序座標値への変換時に吸収されるため、この順序座標値による距離をコストとして対応付けに用いることで、特徴点の対応付けの手順自体を簡略化しても正確な対応付けを得ることが出来るという効果がある。また、簡略化しない手順を用いた場合にも、対応付けの正確さの向上や高速化の効果がある。 As described above, according to the present invention, fluctuations due to distortion and fluctuations to be normalized are absorbed at the time of conversion to order coordinate values, so the distance based on the order coordinate values is used as a cost for association. Thus, there is an effect that accurate association can be obtained even if the procedure for associating feature points is simplified. Even when a procedure that is not simplified is used, there is an effect of improving the accuracy of correspondence and speeding up.
本発明の実施例に係る特徴点対応付け装置の概念的な構成図である。It is a notional block diagram of the feature point matching apparatus according to the embodiment of the present invention. 数値例としての複数座標軸列と特徴点を2次平面上に図示したものである。A plurality of coordinate axis trains and feature points as numerical examples are illustrated on a secondary plane. 本発明の実施例に係る書き取り試験装置の概念的な構成図である。1 is a conceptual configuration diagram of a writing test apparatus according to an embodiment of the present invention. 書き取り試験装置の動作例である。It is an operation example of a writing test apparatus.
 以下、本発明を実施するための最良の形態について、図面を参照しながら説明する。 Hereinafter, the best mode for carrying out the present invention will be described with reference to the drawings.
 なお、説明に当たっては、一般的なN次元空間ではなく、2次元平面での例を用いる。なお、以下の説明では、特に断らない限り、変数Nを第1のオブジェクトの特徴点の数として使用する。 In the description, an example on a two-dimensional plane is used instead of a general N-dimensional space. In the following description, the variable N is used as the number of feature points of the first object unless otherwise specified.
 図1 は、本発明の実施例に係る特徴点対応付け装置(100) の概念的な構成図であり、やりとりされるデータも図中に示している。特徴点対応付け装置(100)は、オブジェクト入力手段(110)、コスト算出手段(120)、対応付け決定手段(130)の3つから構成される。さらに、コスト算出手段(120)は距離コスト算出手段(121)と他のコスト算出手段(125)とから構成され、距離コスト算出手段(121)は順序座標値算出手段(122)と距離算出手段(123)と座標軸定義保持手段(124)とから構成されている。 FIG. 1 (b) is a conceptual block diagram of the feature point matching apparatus (100) according to the embodiment of the present invention, and exchanged data is also shown in the figure. The feature point associating device (100) is composed of an object input means (110), a cost calculation means (120), and an association determination means (130). Further, the cost calculating means (120) is composed of a distance cost calculating means (121) and another cost calculating means (125), and the distance cost calculating means (121) is an order coordinate value calculating means (122) and a distance calculating means. (123) and coordinate axis definition holding means (124).
 なお、他のコスト算出手段(125)については、図3での説明において言及する。 Note that other cost calculation means (125) will be referred to in the description of FIG.
 図1中、オブジェクト入力手段(110)は、対応付けの対象となる特徴点を要素に持つ第1のオブジェクトと第2のオブジェクトとを入力する。例えば、ストロークで表現された手書き入力文字と正答として参照される文字とがこれにあたる。 Referring to FIG. 1, the object input means (110) inputs a first object and a second object whose elements are feature points to be matched. For example, a handwritten input character represented by a stroke and a character referred to as a correct answer correspond to this.
 オブジェクト入力手段(110)からコスト算出手段(120)中の順序座標値算出手段(122)へは、オブジェクトの要素である特徴点の2次元平面座標(191)がデータとして渡される。このデータを式(1)のように定義する。式(1)のようなデータが、第1のオブジェクトと第2のオブジェクトとのそれぞれについて入力される。 From the object input means (110) to the order coordinate value calculation means (122) in the cost calculation means (120), the two-dimensional plane coordinates (191) of the feature points that are the elements of the object are passed as data. This data is defined as in equation (1). Data such as Expression (1) is input for each of the first object and the second object.
Figure JPOXMLDOC01-appb-M000001
Figure JPOXMLDOC01-appb-M000001
 以下の説明では、了解性向上のために定義に平行して具体的な数値例を示していく。式(1)の数値例として、式(2)を与える。 In the following explanation, specific numerical examples are shown in parallel with the definition in order to improve intelligibility. As a numerical example of equation (1), equation (2) is given.
Figure JPOXMLDOC01-appb-M000002
Figure JPOXMLDOC01-appb-M000002
 順序座標値算出手段(122)では、座標軸定義保持手段(124)より複数座標軸定義(195)を入力して、特徴点の順序座標(192)を算出する。一般的な複数座標軸定義(195)を、式(3)に示す。式(3)ではK個の座標軸を座標軸列F=(f)としている。座標軸fは、その座標軸上で点(x、y)の座標値を与える関数で表すこととしている。すなわち、ベクトル(a、b)で与えられる座標軸fは、f=ax+byで表している。 The order coordinate value calculation means (122) inputs a plurality of coordinate axis definitions (195) from the coordinate axis definition holding means (124), and calculates the order coordinates (192) of the feature points. A general multiple coordinate axis definition (195) is shown in equation (3). In Equation (3), K coordinate axes are defined as a coordinate axis array F = (f k ). The coordinate axis f k is represented by a function that gives the coordinate value of the point (x, y) on the coordinate axis. That is, the coordinate axis f given by the vector (a, b) is represented by f = ax + by.
Figure JPOXMLDOC01-appb-M000003
Figure JPOXMLDOC01-appb-M000003
 式(4)に、式(3)の数値例を示す。式(4)ではfがx軸であり、これをπ/4ずつ反時計回りに回転した座標軸が、f、f、fとなっている。どのような座標軸を定義すれば良いかは、適用分野によって決まる。 Formula (4) shows a numerical example of formula (3). Represented by the formula (4), the f 0 is the x-axis, coordinate axes of which was rotated counterclockwise by [pi / 4, and has a f 1, f 2, f 3 . Which coordinate axis should be defined depends on the application field.
Figure JPOXMLDOC01-appb-M000004
Figure JPOXMLDOC01-appb-M000004
 なお、座標軸定義の関数に非線形な関数を用いるような拡張も想起されるが、事前に座標変換を行えば同等の効果が得られるため、本質的な拡張とはならない。 It should be noted that an extension that uses a non-linear function for the coordinate axis definition function can be recalled, but it is not an essential extension because the same effect can be obtained by performing coordinate transformation in advance.
 次に順序座標値算出手段(122)では、座標軸fごとに、特徴点pの座標値を計算して、その座標値による特徴点の集合のソート(昇順)を実施する。ソートした特徴点の列Ofk(P)を、式(5)に示す。 Next in order coordinate value calculating means (122), for each coordinate axis f k, to calculate the coordinate values of the feature point p n, to implement the sorting (ascending) the set of feature points by its coordinates. The sorted feature point sequence O fk (P) is shown in Equation (5).
Figure JPOXMLDOC01-appb-M000005
Figure JPOXMLDOC01-appb-M000005
 式(6)に、式(5)の数値例を示す。この値について、図2を用いて説明する。図2は、数値例としての式(4)の複数座標軸列と式(2)の特徴点を2次平面上に図示したものである。たとえば、図2中のfのベクトルの方向で見ると、特徴点はp、p、p、pの順番で並んでいる。これが、式(6)中のOf1(P)の意味である。 Formula (6) shows a numerical example of Formula (5). This value will be described with reference to FIG. FIG. 2 is a diagram illustrating a plurality of coordinate axis trains of Equation (4) and feature points of Equation (2) on a secondary plane as numerical examples. For example, when viewed in the direction of the vector f 1 in FIG. 2, the feature points are arranged in the order of p 1 , p 2 , p 0 , p 3 . This is the meaning of O f1 (P) in formula (6).
Figure JPOXMLDOC01-appb-M000006
Figure JPOXMLDOC01-appb-M000006
 特徴点のOfk(P)における0から数えたpの順位をOfk(p)とすると、式(7)のように表現できる。但し、式(7)中の“[..]”は、”..”が真のとき”1”、偽のときに”0”の値を取るものとする。式(5)では座標値が同じ場合の順序の決め方を明示していないが、式(7)では右辺の第2項により特徴点の変数の添え字に従うこととしている。このようなタイブレークの方法には、(ア)少し座標軸を回転させた時の順序に従う、(イ)同じ順位として扱うなどの、別の方法も考えられる。同一直線上に3点以上が並ぶような配置が多い場合以外は、式(7)の方法でも問題ない。 When the order of pn counted from 0 in the feature point O fk (P) is represented as O fk (p n ), it can be expressed as in Expression (7). However, “[..]” in the expression (7) takes a value of “1” when “..” is true and “0” when it is false. Equation (5) does not clearly indicate how to determine the order when the coordinate values are the same, but in equation (7), the second term on the right side follows the subscript of the variable of the feature point. As such a tie-breaking method, there are other methods such as (a) following the order when the coordinate axes are slightly rotated, and (b) treating them in the same order. Unless there are many arrangements in which three or more points are arranged on the same straight line, there is no problem with the method of equation (7).
Figure JPOXMLDOC01-appb-M000007
Figure JPOXMLDOC01-appb-M000007
 図1中の順序座標(192)を、式(7)のOfk(p)を用いて、式(8)のように定める。式(8)のような順序座標が、第1のオブジェクトと第2のオブジェクトのそれぞれについて順序座標値算出手段(122)にて算出される。 The order coordinates (192) in FIG. 1 are defined as in Expression (8) using Ofk (p n ) in Expression (7). The order coordinate as shown in Expression (8) is calculated by the order coordinate value calculation means (122) for each of the first object and the second object.
Figure JPOXMLDOC01-appb-M000008
Figure JPOXMLDOC01-appb-M000008
 式(9)に、式(8)の数値例を示す。例えば、O(p)の値の(0、2、3、3)は、式(6)でのpの順位がOf0(P)で“0”、Of1(P)で“2”、Of2(P)で“3”、Of3(P)で“3”となっていることを表す。 Equation (9) shows a numerical example of equation (8). For example, the value ( 0, 2, 3, 3 ) of the value of O F (p 0 ) is “0” when the order of p 0 in the expression (6) is O f0 (P), and “0” when O f1 (P) is “ 2 ”, O f2 (P) is“ 3 ”, and O f3 (P) is“ 3 ”.
Figure JPOXMLDOC01-appb-M000009
Figure JPOXMLDOC01-appb-M000009
 式(9)のような順序座標を考えた時、方向が逆のベクトルによる座標軸は順序が逆になるだけであることから、式(4)で与える複数座標軸定義(195)は、原点を始点とした第一象限および第二象限に終点を持つ互いに平行でないベクトルに対応する座標軸のみを考えれば良いことが分かる。 When considering the sequential coordinates as in equation (9), the coordinate axes based on the reverse direction vector are only reversed in order, so the multiple coordinate axis definition (195) given by equation (4) is based on the origin. It can be understood that only the coordinate axes corresponding to the non-parallel vectors having the end points in the first quadrant and the second quadrant should be considered.
 第1と第2のオブジェクトそれぞれの特徴点の順序座標(192)を入力した距離算出手段(123)では、これを用いて特徴点間のコスト(193)を算出する。算出方法は、順序座標値の差分に基づくさまざまな計算方法を用いることが考えられる。本実施例では、式(10)に示す、 “順序座標値の差の合計”を採ることとして、コストdOを求める。式(10)以外にも、“順序座標値の差の相乗平均”や、“順序座標値の差の二乗和の平方”などの計算方法を用いる方法も考えられる。順序座標の差が増えればコストが増える関係になっていれば、すなわち、コストが順序座標の差に対して単調増加する計算値であれば良い。なお、式(10)中、Pを第1のオブジェクト、Qを第2のオブジェクトに対応させる。 The distance calculation means (123) that receives the order coordinates (192) of the feature points of the first and second objects calculates the cost (193) between the feature points using this. As the calculation method, various calculation methods based on the difference between the order coordinate values may be used. In the present embodiment, the cost d O is obtained by taking “the sum of the differences in the order coordinate values” shown in Expression (10). In addition to Expression (10), a method using a calculation method such as “geometric mean of difference in order coordinate value” or “square of sum of squares of difference in order coordinate value” is also conceivable. As long as the difference in order coordinates increases, the cost increases. That is, any calculation value that monotonously increases with respect to the difference in order coordinates may be used. In Expression (10), P corresponds to the first object, and Q corresponds to the second object.
Figure JPOXMLDOC01-appb-M000010
Figure JPOXMLDOC01-appb-M000010
例えば、式(11)のような数値例を持つ第2のオブジェクトを考えると、第1のオブジェクト中の特徴点pと第2のオブジェクト中の点qとの距離によるコストd(p、q)は、式(12)のようになる。さらに、第1のオブジェクト中の特徴点と第2のオブジェクト中の点とのすべての組み合わせについてのコスト{d(p、q)}は、表1のようになる。 For example, when a second object having a numerical example such as Expression (11) is considered, the cost d 0 (p based on the distance between the feature point p 1 in the first object and the point q 2 in the second object is considered. 1 , q 2 ) is as shown in Equation (12). Furthermore, the costs {d O (p n , q m )} for all combinations of feature points in the first object and points in the second object are as shown in Table 1.
Figure JPOXMLDOC01-appb-M000011
Figure JPOXMLDOC01-appb-M000011
Figure JPOXMLDOC01-appb-M000012
Figure JPOXMLDOC01-appb-M000012
Figure JPOXMLDOC01-appb-T000013
Figure JPOXMLDOC01-appb-T000013
 表1に示した数値例では、第1と第2とのオブジェクトで特徴点の数が同じであったが、これが異なる場合には、式(13)のような正規化を行うことで、例えば複雑な形に対して、これを簡略化した形へ対応付けることが可能となる。式(13)の分母をNではなくN-1としたのは、最下位の順位が”1”となるようにするためである。すなわち、正規化された順序座標値は整数値ではなく、閉区間[0、1]の有理数となる。正規化された場合も、順序距離の定義は式(10)に従う。 In the numerical example shown in Table 1, the number of feature points is the same between the first and second objects. However, when these are different, by normalizing as shown in Equation (13), for example, A complicated shape can be associated with a simplified shape. The reason why the denominator of Expression (13) is set to N−1 instead of N is to make the lowest order “1”. That is, the normalized order coordinate value is not an integer value but a rational number in the closed interval [0, 1]. Even when normalized, the definition of the ordinal distance follows the equation (10).
Figure JPOXMLDOC01-appb-M000014
Figure JPOXMLDOC01-appb-M000014
 式(13)では、順位Ofk(p)に対して線形関数によって正規化順序座標値を得ているが、必ずしも用いる関数は線形である必要はなく、単調関数であれば良い。例えば、式(14)の関数は単調であり、これを用いても良い。式(14)を用いた場合、順位の差は中央付近では敏感に正規化順序座標値に反映され、最上位もしくは最下位へ近づくほど反映される度合は小さくなり、順序座標値の差異についても同様に反映される。また、式(13)(14)はいずれも単調増加関数である。単調減少関数を用いても問題はないが、順位が逆になるだけで、あまり意味は無い。 In Expression (13), the normalized order coordinate value is obtained by a linear function with respect to the rank O fk (p n ). However, the function to be used is not necessarily linear, and may be a monotone function. For example, the function of Expression (14) is monotonous and may be used. When Expression (14) is used, the difference in the ranking is sensitively reflected in the normalized order coordinate value near the center, and the degree of reflection is reduced as the position approaches the highest or lowest position. It is reflected in the same way. In addition, equations (13) and (14) are both monotonically increasing functions. There is no problem with using a monotonically decreasing function, but it is meaningless because the order is reversed.
Figure JPOXMLDOC01-appb-M000015
Figure JPOXMLDOC01-appb-M000015

 図1中、対応付け決定手段(130)は、表1の数値例のような式(10)による特徴点間のコスト(193){d(p、q)}を含むコストを入力して、対応付け(194)を決定する。本発明の特徴は順序座標値をコストの算出に用いることであり、対応付け決定手段(130)で使用される手順は特定のものである必要はない。本実施例では、コストが最小のものから順に対応付けていく単純な対応付け手順を採ることとする。すなわち、pとqとの両方が対応付けされていないコスト{d(p、q)}の中で最小のものd(pn’、qm’)を選び、このpn’とqm’とを対応付けることを、すべての特徴点が対応付けられるまで繰り返す手順を採る。コスト最小のものから順に対応付けるこの手順は、必ずしもコストの合計を最小とする最適な対応付けを得るものではない。しかしながら、順序座標値によるコストが有効に働くため、このような単純な対応付け手順を用いても正確な対応付けを得ることが出来る。 In FIG. 1, the association determining means (130) inputs the cost including the cost (193) {d O (p n , q m )} between the feature points according to the equation (10) as in the numerical example of Table 1. Then, the association (194) is determined. The feature of the present invention is that the order coordinate value is used for calculating the cost, and the procedure used in the association determining means (130) does not have to be specific. In the present embodiment, a simple association procedure is adopted in which association is performed in order from the lowest cost. That is, the smallest d O (p n ′ , q m ′ ) is selected from the costs {d O (p n , q m )} in which both pn and q m are not associated, and this p The procedure of repeating associating n ′ and q m ′ until all feature points are associated is adopted. This procedure of associating in order from the lowest cost does not necessarily obtain the optimum association that minimizes the total cost. However, since the cost based on the order coordinate values works effectively, accurate association can be obtained even using such a simple association procedure.
 対応付け決定手段(130)が上述のコスト最小のものから順に対応付ける手順を用いて表1の数値例のコストにより対応付けを行った場合、表1内に丸印で記したような対応付け(194)が得られる。 When the association determining means (130) performs association according to the cost of the numerical example of Table 1 using the procedure of associating in ascending order from the above-mentioned lowest cost, the association (indicated by a circle in Table 1) 194) is obtained.
 以上説明した実施例では、1対1の対応付けを行うことを前提としてコスト最小のものから順に対応付ける手順を用いているが、必ずしも1対1の対応付けのみに本発明は制限される訳ではない。例えば、式(13)のような正規化を行うことで複雑な形を簡略化した形へ対応付ける場合、1対多の対応付けとなる。 In the embodiment described above, the procedure of associating in ascending order of cost is used on the premise that one-to-one correspondence is performed. However, the present invention is not necessarily limited to only one-to-one correspondence. Absent. For example, when a complex shape is associated with a simplified shape by performing normalization as in Expression (13), the correspondence is one-to-many.
 次に、上述の実施例1の特徴点対応付け装置(100)を利用して、文字の画の対応付けを行うことで漢字の書き取り試験をタッチパネルを備えた装置上で行う実施例を説明する。 Next, an embodiment will be described in which a kanji writing test is performed on an apparatus having a touch panel by associating character images by using the feature point association apparatus (100) of the first embodiment. .
 図3は、本発明の実施例に係る書き取り試験装置(300) の概念的な構成図であり、やりとりされるデータも図中に示している。なお、図3中では、図1に記した対応付け装置(100)を書き取り試験装置(300)が外部から利用する形態としているが、これは図1との一貫した説明のためにそのように記しているのであり、もちろん、対応付け装置(100)の機能相当が書き取り試験装置(300)内に組み込まれた形態でも良い。 FIG. 3 is a conceptual configuration diagram of the writing test apparatus (300) according to the embodiment of the present invention, and exchanged data is also shown in the drawing. In FIG. 3, the correlating device (100) shown in FIG. 1 is used by the writing test device (300) from the outside, but for the sake of consistency with FIG. Of course, the form corresponding to the function of the associating device (100) may be incorporated in the writing test device (300).
 書き取り試験装置(300)は、タッチパネル(310)中の位置入力手段(320)と表示手段(330)、手書き入力制御手段(340)、書き取り問題管理手段(350)、採点手段(360)から構成されている。さらに、採点手段(360)は、中点算出手段(361)、角度算出手段(362)、正誤判定手段(363)から構成されている。 The writing test apparatus (300) includes a position input means (320) and a display means (330) in the touch panel (310), a handwriting input control means (340), a writing problem management means (350), and a scoring means (360). Has been. Further, the scoring means (360) is composed of a midpoint calculating means (361), an angle calculating means (362), and a correctness determination means (363).
 図3中、書き取り問題管理手段(350)は、書き取りの設問(391)を表示手段(330)に出力し、利用者(399)はこれを視認(392)して、位置入力手段(320)に対して描画による入力(393)を実施する。これを受けて、位置入力手段(320)は描画入力の座標情報(394)を手書き入力制御手段(340)へ出力する。手書き入力制御手段(340)は、表示手段(330)により文字画像(395)を表示し、描画入力が終わり採点を始める時点で手書き入力文字のストローク情報(396)を採点手段(360)に出力する。 In FIG. 3, the writing problem management means (350) outputs a writing question (391) to the display means (330), and the user (399) visually recognizes it (392), and position input means (320). Input (393) by drawing is performed. In response to this, the position input means (320) outputs the coordinate information (394) of the drawing input to the handwriting input control means (340). The handwriting input control means (340) displays the character image (395) by the display means (330), and outputs the stroke information (396) of the handwritten input characters to the scoring means (360) when the drawing input ends and scoring starts. To do.
 続いて採点手段(360)では、手書き入力文字のストローク情報(396)、および、書き取り問題管理手段(350)から入力した正答文字のストローク情報(397)に対して、中点算出手段(361)と角度算出手段(362)とによる処理を行う。中点算出手段(361)では、ストローク情報中の各ストロークの中点を求める。この中点のxy座標が、対応付け装置(100)に入力された際に、特徴点の座標値、すなわち、式(1)の値となる。 Subsequently, in the scoring means (360), the midpoint calculating means (361) is applied to the stroke information (396) of the handwritten input characters and the stroke information (397) of the correct answer characters input from the writing problem management means (350). And angle calculation means (362). The midpoint calculation means (361) obtains the midpoint of each stroke in the stroke information. When the xy coordinates of the midpoint are input to the associating device (100), the coordinate value of the feature point, that is, the value of Expression (1) is obtained.
 角度算出手段(362)では、ストローク情報中の各ストロークの始点と終点でのx軸に対する角度を求める。これは、対応付け装置(100)に入力された際に、図1中の他のコスト算出手段(125)でのコストの算出に用いられる。本発明においては、その特徴である順序座標値の差分に基づく距離によるコストに加えて、必要に応じてその他のコストも合算して対応付け手段(130)への入力とする。この始点と終点でのx軸に対する角度は、その例である。この実施例では、中点算出手段(361)で得たストロークの中点だけでは、例えば“十”の字の第1画と第2画とは区別が着かないため、他のコストとしてこのような角度によるコストが必要となる。式(15)に、角度によるコストdの定義を与える。 The angle calculation means (362) obtains the angle with respect to the x-axis at the start point and end point of each stroke in the stroke information. This is used to calculate the cost in the other cost calculation means (125) in FIG. 1 when input to the associating device (100). In the present invention, in addition to the cost due to the distance based on the difference between the order coordinate values, which is a feature of the present invention, other costs are also added as necessary to be input to the association means (130). The angle with respect to the x-axis at the start point and end point is an example. In this embodiment, since only the midpoint of the stroke obtained by the midpoint calculating means (361) cannot be distinguished from the first and second strokes of the “10” character, for example, this is another cost. Costs due to different angles are required. Formula (15) gives the definition of cost d S by angle.
Figure JPOXMLDOC01-appb-M000016
Figure JPOXMLDOC01-appb-M000016
 図3中の対応付け装置(100)では、採点手段(360)中の中点算出手段(361)と角度算出手段(362)とによる処理が行われたストローク情報のうち、正答文字のストローク情報を第1のオブジェクトとして、手書き入力文字のストローク情報を第2のオブジェクトとして入力する。図1で説明した処理により対応付けを行うが、この際のコストは、式(10)と式(15)とを合算した、式(16)の値dを用いる。 In the associating device (100) in FIG. 3, of the stroke information that has been processed by the midpoint calculating means (361) and the angle calculating means (362) in the scoring means (360), the stroke information of the correct character. As a first object, stroke information of handwritten input characters is input as a second object. The association is performed by the processing described with reference to FIG. 1, and the value d of Expression (16) obtained by adding Expression (10) and Expression (15) is used as the cost at this time.
Figure JPOXMLDOC01-appb-M000017
Figure JPOXMLDOC01-appb-M000017
 対応付け装置(100)による処理の結果として、対応付け(194)が採点手段(360)中の正誤判定手段(363)へ出力される。正誤判定手段では、対応付けられたストローク、または、ストローク間の関係を比較して、正答文字と手書き入力文字とが一定レベル以上で一致しているか否かを判定し、正答/誤答の判定結果(398)を表示手段(330)へ出力する。 As a result of the processing by the associating device (100), the associating (194) is output to the correctness determination means (363) in the scoring means (360). The correctness / incorrectness determination means compares the associated strokes or the relationship between the strokes to determine whether the correct answer characters and the handwritten input characters match at a certain level or more, and determines correct / incorrect answers. The result (398) is output to the display means (330).
 図3を用いて説明した実施例では、ストロークから構成される文字をオブジェクトとし、特徴点であるストロークの中点の平面上の座標を用いて順序座標値を算出しているが、このように平面上の単独の点の座標を用いる以外の方法もある。例えば、ストロークの始点(xs、ys)と終点(xe、ye)とのxy座標を用いて、(xs、ys、xe、ye)の4次元空間上で順序座標値を算出しても良い。その場合、座標軸列としてF=(xs、xs+ys、ys、-xs+ys、xe、xe+ye、ye、-xe+ye)を取れば、始点と終点とを別々に順序付けしていることに相当する処理となる。 In the embodiment described with reference to FIG. 3, a character composed of a stroke is used as an object, and the order coordinate value is calculated using the coordinates on the plane of the midpoint of the stroke that is the feature point. There are other methods than using the coordinates of a single point on the plane. For example, the order coordinate value may be calculated in the four-dimensional space (xs, ys, xe, ye) using the xy coordinates of the start point (xs, ys) and the end point (xe, ye) of the stroke. In this case, if F = (xs, xs + ys, ys, −xs + ys, xe, xe + ye, ye, −xe + ye) is taken as the coordinate axis sequence, the processing corresponds to the ordering of the start point and the end point separately.
 この4次元空間での例のように、特徴点の座標は、ストロークの位置を表す2次元平面上の座標値から構成すれば良い。すなわち、ストロークの中点の座標値を用いる場合のように、2次元平面上の単独の点の座標値だけを用いる必要は無い。2次元平面上の単独の点の座標値を用いる場合も、中点である必要は無い。 As in the example in the four-dimensional space, the coordinates of the feature points may be composed of coordinate values on the two-dimensional plane representing the stroke position. That is, it is not necessary to use only the coordinate value of a single point on the two-dimensional plane as in the case of using the coordinate value of the midpoint of the stroke. Even when the coordinate value of a single point on the two-dimensional plane is used, it does not have to be a middle point.
 また、順序座標値によるコストを複数定義する方法もある。すなわち、図1中の他のコスト算出手段(125)でも順序座標値によるコストを算出しても良い。例えば文字をオブジェクトとする場合、始点に関して一つの距離コスト算出手段を設け、終点に関して別の距離コスト算出手段を設ける方法でも良い。この方法は、座標軸列F=(xs、xs+ys、ys、-xs+ys、xe、xe+ye、ye、-xe+ye)を用いた上記の例と類似するが、式(16)中の係数相当を設定できる点などが異なる。 There is also a method of defining multiple costs based on order coordinate values. That is, other cost calculation means (125) in FIG. For example, when a character is an object, a method may be used in which one distance cost calculation unit is provided for the start point and another distance cost calculation unit is provided for the end point. This method is similar to the above example using the coordinate axis sequence F = (xs, xs + ys, ys, −xs + ys, xe, xe + ye, ye, −xe + ye), but the point corresponding to the coefficient in equation (16) can be set. Etc. are different.
 図4に、図3で説明した書き取り試験装置の動作例を示す。図4中、正答の文字のイメージ(401)と、手書き入力文字のイメージ(402)とは、実際のタッチパネルを備えた書き取り試験装置上で手書き入力した文字である。それぞれ筆順に番号を施しており、この番号をインデックスとして対応付けを行う。 FIG. 4 shows an operation example of the writing test apparatus described in FIG. In FIG. 4, a correct answer character image (401) and a handwritten input character image (402) are characters handwritten on a writing test apparatus equipped with an actual touch panel. Numbers are given in the order of strokes, and the numbers are associated with each other as an index.
 図4中、正答の文字のストロークのパス(SVG)(411)は、401に対応するパス情報を、HTML5でも採用されているSVG(Scalable Vector Graph)での記法により記したものである。同様に、412は402のパス情報である。これらのパス情報では、曲線は2次ベジェ曲線で表現されている。なお、SVGにおいては、y軸は文字の下の方に向いており、一般的なxy座標平面とは逆である。411と412のパス情報の座標値、および以下の説明で現れる座標値や順序座標値は、SVGのy軸方向に従っている。 In FIG. 4, the path (SVG) (411) of the stroke of the correct answer is the path information corresponding to 401, written in the notation of SVG (Scalable Vector Graph) adopted in HTML5. Similarly, 412 is path information 402. In these path information, the curve is expressed by a quadratic Bezier curve. In SVG, the y-axis is directed toward the bottom of the character and is opposite to a general xy coordinate plane. The coordinate values of the path information 411 and 412 and the coordinate values and order coordinate values appearing in the following description follow the y-axis direction of the SVG.
 図4中、ストロークの中点の座標と順序座標(420)は、411および412のパス情報から抽出される各ストローク(画)の中点の座標と、これらを式(8)等で定義した順序座標に変換した値である。なお、図4中の順序座標は、正規化を行っていない値を記している。また、中点の座標値には、処理の高速化のために近似値を用いている。 In FIG. 4, the coordinates of the midpoint of the stroke and the ordinal coordinates (420) are defined as the coordinates of the midpoint of each stroke (image) extracted from the path information of 411 and 412, and these are defined by equation (8) and the like. It is the value converted to ordinal coordinates. Note that the order coordinates in FIG. 4 indicate values that are not normalized. An approximate value is used for the coordinate value of the midpoint for speeding up the processing.
 図4中のストローク間の順序距離(430)は、420の値に対して式(10)による順序距離を求めた結果の表である。表の縦方向に401に対応した正答の文字のストロークを、横方向に402に対応した手書き入力文字のストロークを記している。430の値に対して前述のコスト最小のものから順に対応付ける手順を用いて対応付けられる画の組み合わせを、表中の丸印部分で示す。なお、書き取り試験装置が実用場面で動作する際には式(15)で示したコストを合算して対応付けを行うものであるが、式(15)は本発明に直接関わらないため省略した。 The order distance (430) between strokes in FIG. 4 is a table showing the result of obtaining the order distance according to the equation (10) with respect to the value of 420. The stroke of the correct answer character corresponding to 401 is written in the vertical direction of the table, and the stroke of the handwritten input character corresponding to 402 is written in the horizontal direction. A combination of images that are associated with the value of 430 using the procedure for associating in order from the lowest cost is indicated by a circle in the table. In addition, when the writing test apparatus operates in a practical situation, the costs shown in Expression (15) are added together to perform association, but Expression (15) is omitted because it is not directly related to the present invention.
 430の表の丸印部分のように、401と402との文字の特徴点であるストローク(の中点)が、正しく対応付けられていることが確認できる。402に示した手書き入力文字のイメージは相当歪んでいるが、上述のコスト最小のものから順に対応付ける単純な手順によっても正しく対応付けが行われている。 It can be confirmed that the strokes (midpoints), which are the characteristic points of the characters 401 and 402, are correctly associated as indicated by the circles in the table 430. Although the image of the handwritten input character shown in 402 is considerably distorted, the association is correctly performed by the simple procedure of associating in order from the above-mentioned one with the lowest cost.
 以上説明した実施例では、手書き文字による書き取り試験装置を扱ったが、本発明による対応付け装置は、オンライン文字認識等にも類似した形態で利用可能である。もちろん、手書き文字以外にも、画像や音声信号、文章など、様々な対象をオブジェクトとして適用することも可能である。 In the embodiment described above, the writing test apparatus using handwritten characters is dealt with. However, the associating apparatus according to the present invention can be used in a form similar to online character recognition. Of course, in addition to handwritten characters, various objects such as images, audio signals, and sentences can be applied as objects.
 画像や音声信号、文章など、様々な対象について、2つのオブジェクト間の対応付けに利用可能であり、認証、認識、検索などの用途に適用できる。 It can be used for correspondence between two objects for various objects such as images, audio signals, and texts, and can be applied to uses such as authentication, recognition, and search.
100  特徴点対応付け装置
110  オブジェクト入力手段
120  コスト算出手段
121  距離コスト算出手段
122  順序座標値算出手段
123  距離算出手段
124  座標軸定義保持手段
125  他のコスト算出手段
130  対応付け決定手段
191  特徴点の2次平面座標値
192  特徴点の順序座標
193  特徴点間のコスト
194  対応付け
195  複数座標軸定義
300  書き取り試験装置
310  タッチパネル
320  位置入力手段
330  表示手段
340  手書き入力制御手段
350  書き取り問題管理手段
360  採点手段
361  中点算出手段
362  角度算出手段
363  正誤判定手段
391~398  データの流れを示す矢印
399  利用者
401  正答の文字のイメージ
402  手書き入力文字のイメージ
411  正答の文字のストロークのパス(SVG)
412  手書き入力文字のストロークのパス(SVG)
420  ストロークの中点の座標と順序座標
430  ストローク間の順序距離
DESCRIPTION OF SYMBOLS 100 Feature point matching apparatus 110 Object input means 120 Cost calculation means 121 Distance cost calculation means 122 Order coordinate value calculation means 123 Distance calculation means 124 Coordinate axis definition holding means 125 Other cost calculation means 130 Association determination means 191 Feature point 2 Next plane coordinate value 192 Feature point order coordinate 193 Feature point cost 194 Corresponding 195 Multi-coordinate axis definition 300 Writing test device 310 Touch panel 320 Position input means 330 Display means 340 Handwriting input control means 350 Writing problem management means 360 Scoring means 361 Midpoint calculation means 362 Angle calculation means 363 Correct / error determination means 391 to 398 Arrow 399 indicating the flow of data User 401 Image of correct answer 402 Image of handwritten input character 411 Stroke of correct answer Roke Pass (SVG)
412 Handwritten input character stroke path (SVG)
420 Stroke midpoint coordinates and order coordinates 430 Order distance between strokes

Claims (7)

  1. N( N は2 以上の自然数)次元空間のN個の座標値からなる座標を有する2つ以上の特徴点を要素とするオブジェクトの2つを比較して、
    第1の前記オブジェクトの前記特徴点と第2の前記オブジェクトの前記特徴点とを対応付ける際に、
    対応付けの対象となる前記特徴点の間のコストを定め、対応付けた前記特徴点の間の前記コストの合算値を小さくするよう対応付けを決定する特徴点対応付け方法において、
    前記N次元空間上の2つ以上の互いに平行でない複数座標軸を定め、
    前記複数座標軸の各々の座標軸ごとに、前記第1のオブジェクトの要素である前記特徴点の該座標軸上における座標値を求め、求めた該座標値により前記特徴点を昇順あるいは降順にソートして並べた特徴点の順序列を求め、前記特徴点の前記順序列における出現順を示す整数値をその前記特徴点の該座標軸における順序座標値として算出する第1の順序座標算出ステップと、前記第2のオブジェクトについてもその要素である前記特徴点の前記順序座標値を算出する第2の順序座標算出ステップと、
    前記第1のオブジェクトの前記特徴点と前記第2のオブジェクトの前記特徴点との2つの特徴点の間の前記コストを、前記複数座標軸の各々の座標軸での前記2つの特徴点の前記順序座標値の差分に対して単調増加する計算値を含ませて定める、コスト算出ステップと、
    前記コスト算出ステップで定めた前記コストを用いて対応付けを決定するステップと、
    を有することを特徴とする特徴点の対応付け方法。
    Comparing two objects having two or more feature points as elements having coordinates composed of N coordinate values in N (N is a natural number of 2 or more) dimensional space,
    When associating the feature point of the first object with the feature point of the second object,
    In the feature point associating method for determining the cost between the feature points to be matched, and determining the matching so as to reduce the total value of the costs between the matched feature points.
    Defining two or more non-parallel axes on the N-dimensional space;
    For each coordinate axis of the plurality of coordinate axes, a coordinate value on the coordinate axis of the feature point that is an element of the first object is obtained, and the feature points are sorted in ascending or descending order according to the obtained coordinate value. A first ordered coordinate calculating step of obtaining an ordered sequence of the feature points, and calculating an integer value indicating an appearance order of the feature points in the ordered sequence as an ordered coordinate value of the feature points on the coordinate axes; A second order coordinate calculation step for calculating the order coordinate value of the feature point which is also an element of
    The cost between two feature points of the feature point of the first object and the feature point of the second object is the order coordinates of the two feature points on each of the plurality of coordinate axes. A cost calculating step that includes a calculated value that monotonously increases with respect to a difference in values;
    Determining an association using the cost determined in the cost calculating step;
    A feature point associating method characterized by comprising:
  2. 前記第1の順序座標算出ステップと前記第2の順序座標算出ステップは、前記特徴点の前記順序列における出現順を示す整数値に代わって、該整数値を単調関数によって変換した値を、前記順序座標値として用いることを特徴とした、請求項1 に記載の特徴点の対応付け方法。 In the first ordered coordinate calculating step and the second ordered coordinate calculating step, instead of an integer value indicating the appearance order of the feature points in the ordered sequence, a value obtained by converting the integer value by a monotone function is used. The method for associating feature points according to claim 1, wherein the method is used as an order coordinate value.
  3. 前記オブジェクトは2次元平面上にひとつ以上のストロークとして表現された文字であり、前記特徴点は前記ストロークであり、前記特徴点の座標は前記ストロークの位置を表す前記2次元平面上の一つ以上の点の座標の座標値から構成されることを特徴とする、請求項1または請求項2に記載の特徴点の対応付け方法。 The object is a character expressed as one or more strokes on a two-dimensional plane, the feature points are the strokes, and the coordinates of the feature points are one or more on the two-dimensional plane representing the positions of the strokes. 3. The method for associating feature points according to claim 1 or 2, comprising coordinate values of the coordinates of the points.
  4. N( N は2 以上の自然数)次元空間のN個の座標値からなる座標を有する2つ以上の特徴点を要素とするオブジェクトの2つを比較して、
    第1の前記オブジェクトの前記特徴点と第2の前記オブジェクトの前記特徴点とを対応付ける際に、
    対応付けの対象となる前記特徴点の間のコストを定め、対応付けた前記特徴点の間の前記コストの合算値を小さくするよう対応付けを決定する特徴点対応付け装置において、
    前記N次元空間上の2つ以上の互いに平行でない複数座標軸を定め、
    前記複数座標軸の各々の座標軸ごとに、前記第1のオブジェクトの要素である前記特徴点の該座標軸上における座標値を求め、求めた該座標値により前記特徴点を昇順あるいは降順にソートして並べた特徴点の順序列を求め、前記特徴点の前記順序列における出現順を示す整数値をその前記特徴点の該座標軸における順序座標値として算出する第1の順序座標算出手段と、前記第2のオブジェクトについてもその要素である前記特徴点の前記順序座標値を算出する第2の順序座標算出手段と、
    前記第1のオブジェクトの前記特徴点と前記第2のオブジェクトの前記特徴点との2つの特徴点の間の前記コストを、前記複数座標軸の各々の座標軸での前記2つの特徴点の前記順序座標値の差分に対して単調増加する計算値を含ませて定める、コスト算出手段と、
    前記コスト算出手段で定めた前記コストを用いて対応付けを決定する手段と、
    を有することを特徴とする特徴点の対応付け装置。
    Comparing two objects having two or more feature points having N coordinate values in N (N is a natural number of 2 or more) dimensional space as elements,
    When associating the feature point of the first object with the feature point of the second object,
    In the feature point associating device that determines the cost between the feature points to be matched, and determines the matching so as to reduce the total value of the costs between the matched feature points.
    Defining two or more non-parallel axes on the N-dimensional space;
    For each coordinate axis of the plurality of coordinate axes, a coordinate value on the coordinate axis of the feature point that is an element of the first object is obtained, and the feature points are sorted in ascending or descending order according to the obtained coordinate value. A first order coordinate calculation means for obtaining an order sequence of the feature points, and calculating an integer value indicating an appearance order of the feature points in the order sequence as an order coordinate value of the feature points on the coordinate axes; Second order coordinate calculation means for calculating the order coordinate values of the feature points that are also elements of the object,
    The cost between two feature points of the feature point of the first object and the feature point of the second object is expressed as the order coordinates of the two feature points on each coordinate axis of the plurality of coordinate axes. A cost calculation means that includes a calculation value that monotonously increases with respect to a difference in value;
    Means for determining correspondence using the cost determined by the cost calculation means;
    An apparatus for associating feature points characterized by comprising:
  5. 前記第1の順序座標算出手段と前記第2の順序座標算出手段は、前記特徴点の前記順序列における出現順を示す整数値に代わって、該整数値を単調関数によって変換した値を、前記順序座標値として用いることを特徴とした、請求項4 に記載の特徴点の対応付け装置。 The first ordered coordinate calculating means and the second ordered coordinate calculating means, instead of an integer value indicating the appearance order of the feature points in the ordered sequence, a value obtained by converting the integer value by a monotone function, The feature point associating device according to claim 4, wherein the feature point associating device is used as an order coordinate value.
  6. 前記オブジェクトは2次元平面上にひとつ以上のストロークとして表現された文字であり、前記特徴点は前記ストロークであり、前記特徴点の座標は前記ストロークの位置を表す2次元平面上の一つ以上の点の座標の座標値から構成されることを特徴とする、請求項4または請求項5に記載の特徴点の対応付け装置。 The object is a character expressed as one or more strokes on a two-dimensional plane, the feature points are the strokes, and the coordinates of the feature points are one or more on the two-dimensional plane representing the position of the stroke. 6. The feature point associating device according to claim 4, wherein the feature point associating device comprises coordinate values of point coordinates.
  7. 請求項1 乃至請求項3 に記載の特徴点の対応付け方法をコンピュータに実行させることを特徴とするプログラム。 A program that causes a computer to execute the feature point association method according to any one of claims 1 to 3.
PCT/JP2014/054642 2013-03-11 2014-02-26 Method for associating between characteristic point sets, association device, and association program WO2014141881A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201480026530.1A CN105190647B (en) 2013-03-11 2014-02-26 Corresponding method between set of characteristic points and corresponding intrument
HK16102378.0A HK1214388A1 (en) 2013-03-11 2016-03-02 Method for associating between characteristic point sets, association device, and association program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2013-047506 2013-03-11
JP2013047506A JP6154627B2 (en) 2013-03-11 2013-03-11 Association method between feature point sets, association device, and association program

Publications (1)

Publication Number Publication Date
WO2014141881A1 true WO2014141881A1 (en) 2014-09-18

Family

ID=51536556

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2014/054642 WO2014141881A1 (en) 2013-03-11 2014-02-26 Method for associating between characteristic point sets, association device, and association program

Country Status (4)

Country Link
JP (1) JP6154627B2 (en)
CN (1) CN105190647B (en)
HK (1) HK1214388A1 (en)
WO (1) WO2014141881A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05250518A (en) * 1992-03-10 1993-09-28 Hitachi Ltd Character recognizing method
JP2003018557A (en) * 2001-07-04 2003-01-17 Monolith Co Ltd Method and apparatus for processing image
JP2003514305A (en) * 1999-11-12 2003-04-15 ゴー・センサーズ・エルエルシー Robust landmarks for machine vision and methods for detecting said landmarks
JP2008171140A (en) * 2007-01-10 2008-07-24 Omron Corp Image processing apparatus, method and program
JP2010027025A (en) * 2008-06-20 2010-02-04 Sony Corp Object recognition device, object recognition method, and program for object recognition method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3871061B2 (en) * 2003-03-25 2007-01-24 セイコーエプソン株式会社 Image processing system, projector, program, information storage medium, and image processing method
KR20080040930A (en) * 2006-11-06 2008-05-09 삼성전자주식회사 Computer system and control method of the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05250518A (en) * 1992-03-10 1993-09-28 Hitachi Ltd Character recognizing method
JP2003514305A (en) * 1999-11-12 2003-04-15 ゴー・センサーズ・エルエルシー Robust landmarks for machine vision and methods for detecting said landmarks
JP2003018557A (en) * 2001-07-04 2003-01-17 Monolith Co Ltd Method and apparatus for processing image
JP2008171140A (en) * 2007-01-10 2008-07-24 Omron Corp Image processing apparatus, method and program
JP2010027025A (en) * 2008-06-20 2010-02-04 Sony Corp Object recognition device, object recognition method, and program for object recognition method

Also Published As

Publication number Publication date
CN105190647A (en) 2015-12-23
HK1214388A1 (en) 2016-07-22
CN105190647B (en) 2018-09-14
JP2014174780A (en) 2014-09-22
JP6154627B2 (en) 2017-06-28

Similar Documents

Publication Publication Date Title
KR102326395B1 (en) System and method and product for recognizing multiple object inputs
US10762674B2 (en) Beautifying freeform drawings using arc and circle center snapping
Blagojevic et al. The Power of Automatic Feature Selection: Rubine on Steroids.
US20060227140A1 (en) Sketch beautification
CN107169485A (en) A kind of method for identifying mathematical formula and device
Jablonski Quaternion dynamic time warping
US20120295231A1 (en) Realtime user guidance for freehand drawing
JP3761937B2 (en) Pattern recognition method and apparatus, and computer control apparatus
Ousmer et al. Recognizing 3D trajectories as 2D multi-stroke gestures
Hirata et al. Automatic labeling of handwritten mathematical symbols via expression matching
Costagliola et al. Recognition and autocompletion of partially drawn symbols by using polar histograms as spatial relation descriptors
Phan et al. Triangulation based skeletonization and trajectory recovery for handwritten character patterns
Rogowski et al. Object identification for task-oriented communication with industrial robots
Contreras Alejo et al. Recognition of a single dynamic gesture with the segmentation technique hs-ab and principle components analysis (pca)
Magrofuoco et al. µV: An Articulation, Rotation, Scaling, and Translation Invariant (ARST) Multi-stroke Gesture Recognizer
JP6154627B2 (en) Association method between feature point sets, association device, and association program
Prematilake et al. Evaluation and prediction of polygon approximations of planar contours for shape analysis
Lawi A real time alphabets sign language recognition system using hands tracking
Stahovich Pen-based interfaces for engineering and education
Tang et al. 3D face recognition algorithm based on nose tip contour and radial curve
Salehin et al. Conics detection method based on pascal's theorem
Giangreco-Maidana et al. Contour-point signature shape descriptor for point correspondence
Salleh et al. Combining Mahalanobis and Jaccard to improve shape similarity measurement in sketch recognition
de Almeida Human-Computer Interaction: Handwriting Learning
Yin et al. A novel image retrieval method for image based localization in large-scale environment

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201480026530.1

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14762833

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14762833

Country of ref document: EP

Kind code of ref document: A1