Information processing apparatus and control method therefor
Abstract
Input interpretation information describing rules for interpreting the intentions of inputs is held in an indication input interpretation grammar holding unit. An input to a coordinate input region is detected by a pen input detection unit. The intention of an input detected by referring to the input interpretation information is interpreted by a grammar parsing unit. The confidence score of the interpretation result is calculated by a confidence score calculation unit. A certainty-factor-attached N-best output unit outputs the interpretation result together with the confidence score.

Term
Term ended
Projected expiry passed 30 November 2024, 1.8 years ago.
- Priority
- Filed
- Published
- Projected expiry
- Today
16 claims: 3 independent, 13 dependent
- 1An information processing apparatus comprising:display control means to control the display of a plurality of regions on a display area;detection means to detect an input to the display area;calculation means to calculate respective confidence scores of the plurality of regions on the basis of a relationship between each respective region and the input detected by said detection means regardless of whether the input is included in the respective region;and output means to output information corresponding to the region on the basis of the confidence score.
- 14An information processing method comprising:a display control step of controlling the display of a plurality of regions on a display area;a detection step of detecting an input to the display area;a calculation step of calculating confidence scores of the plurality of regions on the basis of a relationship between the region and the input detected in the detection step regardless of whether the input is included in the region;and an output step of outputting information corresponding to the region on the basis of the confidence score.
- 15A program product comprising:a program code for a display control step of controlling to display a plurality of regions on a display area;a program code for a detection step of detecting an input to the display area;a program code for a calculation step of calculating confidence scores of the plurality of regions on the basis of a relationship between the region and the input detected in the detection step regardless of whether the input is included in the region;and a program code for an output step of outputting information corresponding to the region on the basis of the confidence score.
Independent claims3
164 paragraphs in 5 sections, as filed
FIELD OF THE INVENTION
0001The present invention relates to an information processing apparatus, a control method therefor, and a program which interpret the intention of an input on the basis of the input to a coordinate input region.
BACKGROUND OF THE INVENTION
0002There have been proposed several techniques of interpreting the intention of an input entered through a touch panel or touch pen and supporting the input.
0003For example, Japanese Patent Laid-Open No. 11-161427 has proposed a technique of correcting an input deviation from an input target region on a touch panel by converting input point coordinates on the basis of the past input history and the amount of deviation from the target region.
0004In addition, Japanese Patent Laid-Open No. 9-146705 has proposed a technique of preferentially selecting one of a plurality of buttons (target regions) pressed on a touch panel which is higher in the degree of importance or larger in the contact area of the finger pressed.
0005However, no schemes based on conventional techniques can develop highly flexible applications which can interpret the intention of a user's indication with a confidence score more naturally by describing interpretation rules for the intentions of user's indications as a grammar even if target regions as indication targets overlap or the target region intended by the user slightly deviates from the indicated position.
0006Under such circumstances, the technique disclosed in Japanese Patent Laid-Open No. 11-161427 can correct an input deviation with respect to a target region. According to Japanese Patent Laid-Open No. 9-146705, when a plurality of target regions are selected, the region intended by the user can be determined by using the degrees of importance of the target regions or the contact areas of the finger at the time of input operation.
0007According to these references, however, interpretation rules for the intentions of user's indications cannot be described as a grammar, and hence the intentions of user's indications cannot be interpreted with confidence scores.
SUMMARY OF THE INVENTION
0008The present invention has been made to solve the above problem, and has as its object to provide an information processing apparatus, a control method therefore, and a program which can flexibly interpret the intention of an input more properly.
0009According to the present invention, the foregoing object is attained by an information processing apparatus comprising: display control means for controlling to display a plurality of regions on a display area; detection means for detecting an input to the display area; calculation means for calculating confidence scores of the plurality of regions on the basis of a relationship between the region and the input detected by the detection means regardless of whether the input is included in the region; and output means for outputting information corresponding to the region on the basis of the confidence score.
0010In a preferred embodiment, the input to the display area is an input point, and the calculation means calculates the confidence score on the basis of a positional relationship between the region and an input position of the input point.
0011In a preferred embodiment, the calculation means calculates the confidence score on the basis of the positional relationship and a size of the region.
0012In a preferred embodiment, the calculation means further calculates the confidence score on the basis of a size of a smallest region among the plurality of regions.
0013In a preferred embodiment, the apparatus further comprises determination means for determining whether the input position of the input point detected by the detection means falls inside or outside the region, wherein the calculation means calculates the confidence score on the basis of the determination result obtained by the determination means.
0014In a preferred embodiment, the apparatus further comprises decision means for deciding a representative point of the region, wherein the positional relationship between the region and the input position of the input point detected by the detection means is a distance between the input position and the representative point decided by the decision means.
0015In a preferred embodiment, the apparatus further comprises determination means for determining whether the input position of the input point detected by the detection means falls inside or outside the region, wherein the calculation means converts the input position of the input point detected by the detection means in accordance with a shape of the processing target region and calculates the confidence score on the basis of a distance between the converted input position and a representative point of the processing target region.
0016In a preferred embodiment, the apparatus further comprises: determination means for determining whether the input position of the input point detected by the detection means falls inside or outside the region; and decision means for deciding a representative point of the region, wherein the calculation means inhibits calculation of the confidence score when the determination result obtained by the determination means indicates that the input position falls outside the processing target region, and a distance between the representative point of the processing target region and the input position is not less than a predetermined value.
0017In a preferred embodiment, the apparatus further comprises second display control means for controlling to display information corresponding to the region on the basis of the confidence score output from the output means.
0018In a preferred embodiment, the input to the display area is an input to an input region, and the calculation means calculates the confidence score on the basis of a positional relationship between the input region and the region.
0019In a preferred embodiment, the input to the display area is an input to an input region, and the calculation means calculates the confidence score on the basis of a size of the region included in the input region.
0020In a preferred embodiment, the apparatus further comprises decision means for deciding a representative point of the input region and a representative point of the region, wherein the calculation means calculates the confidence score on the basis of a distance between the representative point of the input region and the representative point of the region.
0021In a preferred embodiment, the apparatus further comprises reference means for referring to input interpretation information including a description concerning the plurality of regions, wherein the calculation means calculates the confidence score on the basis of a relationship between the input and the region which is acquired by using the input interpretation information referred to by the reference means.
0022According to the present invention, the foregoing object is attained by providing an information processing method comprising: a display control step of controlling to display a plurality of regions on a display area; a detection step of detecting an input to the display area; a calculation step of calculating confidence scores of the plurality of regions on the basis of a relationship between the region and the input detected in the detection step regardless of whether the input is included in the region; and an output step of outputting information corresponding to the region on the basis of the confidence score.
0023According to the present invention, the foregoing object is attained by providing a program comprising: a program code for a display control step of controlling to display a plurality of regions on a display area; a program code for a detection step of detecting an input to the display area; a program code for a program code for a calculation step of calculating confidence scores of the plurality of regions on the basis of a relationship between the region and the input detected in the detection step regardless of whether the input is included in the region; and a program code for an output step of outputting information corresponding to the region on the basis of the confidence score.
0024Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof.
BRIEF DESCRIPTION OF THE DRAWINGS
0025The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention. <ul id="ul0001" list-style="none" compact="compact"><li>Fig. 1 is a block diagram showing the functional arrangement of an information processing apparatus according to the first embodiment of the present invention;</li><li>Fig. 2 is a block diagram showing the hardware arrangement of a tablet PC according to the first embodiment of the present invention;</li><li>Fig. 3 is a view showing an example of an operation window according to the first embodiment of the present invention;</li><li>Fig. 4 is a view showing an example of a grammar which allocates the descriptions of semantic interpretations to regions according to the first embodiment of the present invention;</li><li>Fig. 5 is a flowchart showing the processing executed by the system according to the first embodiment of the present invention;</li><li>Fig. 6 is a graph showing the relationship between an input point and the representative point of a target region according to the first embodiment of the present invention;</li><li>Fig. 7 is a view showing an output example of N-best interpretation results according to the first embodiment of the present invention;</li><li>Fig. 8 is a view showing an example of an operation window according to the second embodiment of the present invention;</li><li>Fig. 9 is a view showing an example of a grammar which allocates the descriptions of semantic interpretations to regions according to the second embodiment of the present invention;</li><li>Fig. 10 is a view showing an example of an operation window according to the third embodiment of the present invention;</li><li>Fig. 11 is a view showing an example of a grammar which allocates the descriptions of semantic interpretations to regions according to the third embodiment of the present invention;</li><li>Fig. 12A is a view showing an example of a correction method for the distance between a point located outside a region and a representative point when an input target region is elliptic according to the third embodiment of the present invention;</li><li>Fig. 12B is a view showing an example of a correction method for the distance between a point located outside a region and a representative point when an input target region is elliptic according to the third embodiment of the present invention;</li><li>Fig. 13A is a view for explaining the processing to be performed when input operation is performed by designating a predetermined range according to the fifth embodiment of the present invention;</li><li>Fig. 13B is a view for explaining the processing to be performed when input operation is performed by designating the predetermined range according to the fifth embodiment of the present invention; and</li><li>Fig. 13C is a view for explaining the processing to be performed when input operation is performed by designating the predetermined range according to the fifth embodiment of the present invention.</li></ul>
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
0026Preferred embodiments of the present invention will be described in detail in accordance with the accompanying drawings.
[First Embodiment]
0027The first embodiment will exemplify an information processing apparatus which, when a user taps (gives an instruction or input) on an arbitrary place on a tablet (coordinate input region) with a touch pen in, for example, a table PC (personal computer) (or a PC with a touch panel), calculates, for each of M target regions displayed on the screen, a confidence score of each region which indicates the degree of intention with which the input point coordinates were intended to indicate.
0028Fig. 1 is a block diagram showing the functional arrangement of the information processing apparatus according to the first embodiment of the present invention.
0029Referring to Fig. 1, the information processing apparatus functions as a tablet PC 100. Reference numeral 101 denotes a pen input detection unit. When the user performs input operation with the touch pen, the pen input detection unit 101 transmits the input point coordinates to a distance calculation unit 102 and region inside/outside determination unit 104.
0030The distance calculation unit 102 calculates the distance between the input point coordinates detected by the pen input detection unit 101 and the coordinates of a representative point calculated by a representative point calculation unit 103, and transmits the calculation result (distance) to a confidence score calculation unit 108.
0031The representative point calculation unit 103 calculates a representative point with respect to the region obtained from a grammar parsing unit 106, and transmits the calculation result (representative point) to the distance calculation unit 102.
0032The region inside/outside determination unit 104 determines whether the input point coordinates detected by the pen input detection unit 101 fall inside or outside the region obtained from the grammar parsing unit 106, and transmits the determination result to the confidence score calculation unit 108.
0033Reference numeral 105 denotes an area calculation unit which calculates the area of the region obtained by the grammar parsing unit 106, and transmits the calculation result (area) to the confidence score calculation unit 108. The grammar parsing unit 106 interprets the indication input interpretation grammar held in an indication input interpretation grammar holding unit 107.
0034The indication input interpretation grammar holding unit 107 holds an indication input interpretation grammar which describes rules for interpreting intentions with which the user tried to perform input operation.
0035The confidence score calculation unit 108 calculates a confidence score indicating the degree of intention with which a user's indication input indicated a given region on the basis of the data received from the representative point calculation unit 103, region inside/outside determination unit 104, and area calculation unit 105.
0036Reference numeral 109 denotes a certainty-factor-attached N-best output unit, which outputs the N-best confidence scores of the confidence scores of the respective regions calculated by the confidence score calculation unit 108.
0037The hardware arrangement of the tablet PC 100 will be described next with reference to Fig. 2.
0038Fig. 2 is a block diagram showing the hardware arrangement of the tablet PC according to the first embodiment of the present invention.
0039Referring to Fig. 2, reference numeral 201 denotes a CPU, which operates in accordance with various kinds of control programs including programs for implementing the sequences described later, and realizes overall control on the tablet PC 100.
0040Reference numeral 202 denotes a RAM, which functions as a work area necessary for the operation of each control program and a temporary save area for data; and 203, a ROM, which holds various kinds of control programs including programs for implementing sequences to be described later.
0041Reference numeral 204 denotes a touch panel, which receives a data input (to be described laser) from the user through a dedicated pen (touch pen) or user's finger; and 205, an LCD which displays various kinds of images such as an operation window having input target regions generated by contents (to be described later) or the like. Note that a CRT or another display may be used in place of the LCD 205.
0042Reference numeral 206 denotes an HDD (Hard Disk Drive), which holds various data such as the data of contents to be described later; and 207, a bus, which mutually connects the respective constituent elements.
0043The processing implemented by the tablet PC 100 in the first embodiment will be described next.
0044Assume that the tablet PC 100 is displaying an operation window like that shown in Fig. 3 on the LCD 205. This operation window is implemented by, for example, executing contents described in a markup language using a browser.
0045The operation window in Fig. 3 functions as an operation window for designating a zone or spot. Referring to Fig. 3, in particular, this window is comprised of a rectangular region 301 for designating "Shibuya station", a rectangular region 302 for designating "Ebisu station", and a rectangular region 303 for designating "Tokyo". In this case, the regions 301 and 302 are superimposed on the region 303.
0046Fig. 4 shows a description example of an input interpretation grammar (to be simply referred to as a grammar hereinafter) which is a set of rules for interpretation of the intentions of user's indication inputs to the operation window in Fig. 3.
0047In this manner, the input interpretation grammar is described such that the descriptions of the respective regions and the descriptions of semantic interpretations to be made when the corresponding regions are indicated are allocated.
0048An example of a grammar which describes a rule for interpreting the intention of an indication input to the operation window in Fig. 3 will be described with reference to Fig. 4.
0049Fig. 4 is a view showing an example of a grammar which allocates the descriptions of semantic interpretations to regions according to the first embodiment of the present invention.
0050Note that a case wherein this grammar is held in the indication input interpretation grammar holding unit 107 will be exemplified. However, the present invention is not limited to this. For example, another apparatus on a network may hold the grammar.
0051Referring to Fig. 4, reference numeral 401 denotes a description indicating a rectangular region (301 in Fig. 3) with the coordinates of the left end represented by (x, y) = (110, 10), a width of 80, and a height of 20. The description of the semantic interpretation "tag = "$station = 'shibuya' " " is allocated to this region.
0052This description indicates that when a user's input is intended to indicate this region, it is interpreted that the user "has indicated Shibuya station".
0053Likewise, reference numeral 402 in Fig. 4 denotes a description indicating a rectangular region (302 in Fig. 3) with the coordinates of the left end represented by (x, y) = (110, 60), a width of 80, and a height of 20. The description of the semantic interpretation "tag = "$station = 'ebisu' " " is allocated to this region.
0054This description indicates that when a user's input is intended to indicate this region, it is interpreted that the user "has indicated Ebisu station".
0055Likewise, reference numeral 403 in Fig. 4 denotes a description indicating a rectangular region (303 in Fig. 3) with the coordinates of the left end represented by (x, y) = (0, 0), a width of 200, and a height of 100. The description of the semantic interpretation "tag = "$area = 'tokyo' " " is allocated to this region.
0056This description indicates that when a user's input is intended to indicate this region, it is interpreted that the user "has indicated the Tokyo area".
0057Note that the tag "<one-of>" in Fig. 4 indicates that it is interpreted that the user's input is intended to indicate one of these regions.
0058The indication input interpretation grammar shown in Fig. 4 is comprised of information including at least a description indicating an arbitrary input target region on the touch panel 204 (coordinate input region) and the description of data to be output, when an input to the input target region is detected, as a result of interpreting the intention of the input.
0059The processing executed by the system according to the first embodiment will be described with reference to Fig. 5.
0060Fig. 5 is a flowchart showing the processing executed by the system according to the first embodiment of the present invention.
0061Note that the processing in Fig. 5 is implemented under the control of the CPU 201.
0062First of all, the tablet PC 100 interprets the grammar by using the grammar parsing unit 106 (step S501). The tablet PC 100 detects the M regions (M is one or more) for which the grammar is described, on the basis of the interpretation result (step S502), and stores the information of each region (e.g., the coordinates, width, and height) in the RAM 202.
0063The tablet PC 100 then causes the area calculation unit 105 to calculate the area of each of the M regions on the basis of the information of each region defined in the grammar, calculates the minimum value of the calculated areas, and stores the minimum value as Smin in the RAM 202 (step S503).
0064Subsequently, the tablet PC 100 waits for a user's input (step S504). When the user performs input operation at a given point on the touch panel 204 of the tablet PC 100 with the touch pen, the tablet PC 100 detects the input to the touch panel 204 by using the pen input detection unit 101 (YES in step S504). The tablet PC 100 detects the input point coordinates input by the user on the basis of the detection result (step S505).
0065The tablet PC 100 calculates, for each of the M regions, a confidence score indicating whether the user's input coincides with the region intended by the user, on the basis of the detected input point coordinates.
0066First of all, the tablet PC 100 assigns 1 (i = 1) to a counter variable i for counting the number of regions to reset the counter variable (step S506). The tablet PC 100 causes the confidence score calculation unit 108 to calculate the confidence score of the ith region (step S507). A confidence score Ci indicating whether input point coordinates (x0, x0) input by the user is intended to indicate the ith region (to be referred to as a region i hereinafter) is calculated according to the following equation:<maths id="math0001" num="(1)"><math display="block"><mrow><mtext>Ci = L * Smin/Si</mtext></mrow></math><img file="EP1555600A2_D0001.tif" /></maths> where Si is the area of the region i, and Smin is the minimum value among the areas of the M regions calculated in step S503. In the first embodiment, when a region with the smallest area is selected in this manner, normalization is performed to set Smin/Si to 1. Therefore, the confidence score Ci decreases as the area of a processing target region increases, and vice versa.
0067In addition, L is the determination result value obtained by the region inside/outside determination unit 104. When the input point coordinates (x0, y0) fall inside the region i, L is set to "1", whereas when the coordinates fall outside the region, L is set to "1/d" (where d is the distance between the representative point of the input point coordinates (x0, y0) and that of the region i). According to the characteristics of L plotted in, for example, Fig. 6, the confidence score remains 1 until the distance from the representative point of the region reaches the boundary of the region, and decreases in reverse proportion to the distance from the representative point of the region after the distance exceeds the boundary.
0068A representative point is a point representing a region, and is, for example, the center of gravity of the region. Any point can be set as a representative point as long as it represents a region. For example, that point of points on the region which is located at the shortest distance from the input point may be used as a representative point. In this case, a representative point is the barycentric point of a region. This representative point is calculated by the representative point calculation unit 103.
0069Upon calculation for the ith region, the tablet PC 100 compares the counter variable i with a total region count M to check whether they coincide with each other (step S508). If i = M (YES in step S508), the flow moves to step S510. If i ≠ M (NO in step S508), i is incremented by one (step S509), and the flow returns to step S507.
0070The processing in steps S507 to S509 is repeated until the confidence score of the Mth region is calculated in the above manner.
0071Upon completion of calculation up to the confidence score of the Mth region, the tablet PC 100 causes the certainty-factor-attached N-best output unit 109 to sort the calculated confidence scores of the respective regions in descending order, and selects N-best (N is one or more) values (step S510). The tablet PC 100 then outputs the N-best interpretation results as processing results on the contents (step S511).
0072In this case, the area S of each region is calculated on the basis of the width and height described in the grammar. That is, S = width x height is calculated.
0073In the determination performed by the region inside/outside determination unit 104, letting (xp, yp) be the coordinates of the upper left end of a given region described in the grammar, the coordinates of the lower right end are expressed by (xq, yq) = (xp + width, yp + height). In this case, if the input point coordinates (x0, y0) fall inside the ranges of xp ≦ x0 ≦ xq and yp ≦ y0 ≦ yq, it is determined that the input point coordinates fall inside the region.
0074As a representative point, the coordinates of the center of gravity of each region are calculated as (x, y) = (xp + width/2, yp + height/2).
0075A concrete example of the processing in Fig. 5 will be described next with reference to Figs. 3 and 4.
0076When the grammar parsing unit 106 interprets the grammar in Fig. 4 in step S501, the three regions 301 to 303 (Fig. 3) are detected in step S502. In step S503, the area calculation unit 105 calculates the minimum value among the areas of these regions. In this case, 1,600, 1,600, and 20,000 are the calculated areas of the regions 301, 302, and 303, respectively. Therefore, 1,600 is the minimum value Smin among the areas of the regions 301 to 303.
0077In step S504, the flow waits for an input from the user. Assume that in this case, a point P in Fig. 3 is input. Assume that in response to this input, the pen input detection unit 101 detects (x0, y0) = (120, 25) as the input point coordinates in step S505.
0078The confidence score of each region is then calculated.
0079First of all, in step S506, 1 is assigned to i. In step S507, the confidence score calculation unit 108 calculates a confidence score C1 of the region 301 which is the first region.
0080According to equation (1), since the input point coordinates (x0, y0) fall inside the region 301, L is 1 and Smin/S1 is 1. The confidence score C1 of the region 301 is therefore 1.
0081The flow moves to step S508. In this case, i = 1, M = 3, and i ≠ M. Therefore, in step S509, i is incremented by one to set i = 2. The flow then returns to step S507, in which the confidence score calculation unit 108 calculates a confidence score C2 of the region 302 which is the second region.
0082According to equation (1), since the input point coordinates (x0, y0) fall outside the region 302, L is 1/d. In addition, since the representative point (the coordinates of the center of gravity) are (150, 70), the distance from the input coordinates (x0, y0) = (120, 25) is about 54.0, and 1/d is about 0.018. Furthermore, Smin/S2 is 1, and the confidence score C2 of the region 302 is about 0.018.
0083The flow then moves to step S508. In this case, i = 2, M = 3, and i ≠ M. In step S509, therefore, i is incremented by one to set i = 3. The flow returns to step S507, in which the confidence score calculation unit 108 calculates a confidence score C3 of the region 303 which is the third region.
0084According to equation (1), since the input point coordinates (x0, y0) fall inside the region 303, L is 1. In addition, Smin/S3 is 0.08, and the confidence score C3 of the region 303 is 0.08.
0085The flow moves to step S508. In this case, i = 3, M = 3, and i = M. The flow therefore moves to step S510.
0086In step S510, the confidence scores of the regions 301 to 303 are sorted in descending order into C1, C3, and C2. N-best selection is then performed in descending order. Note that in the first embodiment, the top three values are selected.
0087In step S511, the N-best interpretation results which are the processing results in the step S510 are output.
0088An output example of the N-best interpretation results will be described with reference to Fig. 7.
0089Fig. 7 is a view showing an output example of the N-best interpretation results in the first embodiment of the present invention.
0090Fig. 7 shows a state wherein a menu 304 for the selection of a target region is displayed as N-best interpretation results. In this menu 304, target region candidates which the user intends to input are displayed in descending order of confidence scores (C1, C3, C2). That is, in the menu 304, the target region candidates (region names) which the user intends to input are displayed in the order of "Shibuya station", "Tokyo", and "Ebisu station".
0091The user can finally select the target region which he/she intends to input by selecting the desired region name in the menu 304.
0092Note that the output example in Fig. 7 is just an example, and other controls such as radio buttons, check boxes, or selection buttons can be used in place of the menu. Alternatively, a voice input function may be provided, and one of N-best interpretation results may be automatically confirmed in combination with the voice information input by the voice input function.
0093Consider, for example, a case wherein the user inputs "let me know the weather here" by voice while tapping on a window like the one described above with a pen. This input voice is subjected to voice recognition processing, and the system understands that the user wants to know the weather.
0094Since what "here" indicates is unclear from the voice alone, the corresponding information is provided by pen input. As described above, the pen input interpretation results are obtained as N-best with confidence scores.
0095In the above description, the pen input interpretations are the 3-best interpretations, namely "Shibuya station", "Tokyo", and "Ebisu station". Since a proper interpretation of "here" of "weather here" indicates "area" rather than "station", the second interpretation is selected. The system therefore interprets that the user wants to know "the weather in Tokyo". Likewise, with regard to the voice input "tell me the fastest way to go here", the system selects the pen input interpretation "Shibuya" and interprets that the user wants to know the way to go to Shibuya station".
0096As described above, according to the first embodiment, a highly flexible user interface can be developed, which can interpret the intention of a user's input with a confidence score more naturally by describing interpretation rules for the intentions of user's inputs as a grammar even if target regions as input targets overlap or the target region intended by the user slightly deviates from the indicated position.
[Second Embodiment]
0097The first embodiment has exemplified the case wherein the target regions on the coordinate input region are formed from rectangular regions. However, such target regions may be formed from polygons. The second embodiment will exemplify the processing to be performed when target regions are formed from polygons.
0098In the second embodiment, the window shown in Fig. 8 will be described as an operation window example displayed by a tablet PC 100.
0099Fig. 8 is a view showing an example of the operation window according to the second embodiment of the present invention.
0100The operation window in Fig. 8 functions as an operation window for designating a zone or spot. Referring to Fig. 8, in particular, this window is comprised of a polygonal region 801 for designating "Shibuya station" and a rectangular region 802 for designating "Tokyo".
0101In addition, contents corresponding to the respective regions which implement this operation window include a grammar which allocates the descriptions of semantic interpretations to the respective regions as shown in Fig. 9.
0102An example of the grammar which allocates the descriptions of semantic interpretations to the regions in the contents which implement the operation window in Fig. 8 will be described with reference to Fig. 9.
0103Fig. 9 is a view showing an example of the grammar which allocates the descriptions of semantic interpretations to the regions according to the second embodiment of the present invention.
0104A description of portions common to the grammar in Fig. 4 in the first embodiment will be omitted.
0105Referring to Fig. 9, reference numeral 901 denotes a description indicating a polygonal region (801 in Fig. 8) with coordinates (x1, y1), (x2, y2),..., (x6, y6) being defined as vertex coordinates, respectively. The description of the semantic interpretation "tag = "$station ='shibuya' " " is allocated to this region.
0106This description means that when a user's input is intended to indicate this region, it is interpreted that the user "has indicated Shibuya station".
0107A description 902 in Fig. 9 corresponds to the description 403 in Fig. 4, and a description thereof will be omitted.
0108In the second embodiment, when the processing in Fig. 5 in the first embodiment is to be performed, processing for polygonal regions is also executed.
0109Processing to be performed when polygonal regions are processed will be described with reference to Fig. 5.
0110Assume that an area S of a polygonal region is to be calculated by an area calculation unit 105. In this case, letting (x1, y1), (x2, y2),..., (xn, yn) be the vertex coordinates of the polygon in the clockwise direction, respectively, the area S is given by<maths id="math0002" num=""><img file="EP1555600A2_D0002.tif" /></maths>
0111In determination performed by a region inside/outside determination unit 104 with respect to a polygonal region, a point outside the region is connected to an input point with a line segment, and the number of sides of the polygon as the region which the line segment crosses is counted. If the number is odd, it is determined that the input point falls inside the region. If the number is even, it is determined that the input point falls outside the region. If, however, an intersection coincides with a vertex of the polygon, a new point is set outside the region.
0112More specifically, assume that the input allowable region as a coordinate input region ranges from (x, y) = (0, 0) to (240, 320). In this case, it is calculated whether a line segment which connects a point outside the input allowable region which is defined by (x, y) = (-1, -1) to an input point crosses each side of the polygon. If the sum total of sides which the line segment crosses is odd, it is determined that the input point falls within the region. If this sum total is even, it is determined that the input point falls outside the region.
0113In addition, the representative point of a polygonal region is calculated by using the average coordinate values of the respective vertex coordinates.
0114As described above, according to the second embodiment, even if a target region is formed from a polygon, the same effects as those in the first embodiment can be obtained.
[Third Embodiment]
0115The first embodiment has exemplified the case wherein the target regions on the coordinate input region are formed from rectangular regions. However, such target regions may be formed from circles and ellipses. The third embodiment will exemplify the processing to be performed when target regions are formed from circles and ellipses.
0116In the third embodiment, the window shown in Fig. 10 will be described as an operation window example displayed by a tablet PC 100.
0117Fig. 10 is a view showing an example of the operation window according to the third embodiment of the present invention.
0118The operation window in Fig. 10 functions as an operation window for designating a zone or spot. Referring to Fig. 10, in particular, this window is comprised of a circular region 1001 for designating "Shibuya station" and an elliptic region 1002 for designating "Ebisu station".
0119In addition, contents corresponding to the respective regions which implement this operation window include a grammar which allocates the descriptions of semantic interpretations to the respective regions as shown in Fig. 11.
0120An example of the grammar which allocates the descriptions of semantic interpretations to the regions in the contents which implement the operation window in Fig. 10 will be described with reference to Fig. 11.
0121Fig. 11 is a view showing an example of the grammar which allocates the descriptions of semantic interpretations to the regions according to the third embodiment of the present invention.
0122A description of portions common to the grammar in Fig. 4 in the first embodiment will be omitted.
0123Referring to Fig. 11, reference numeral 1101 denotes a description indicating a circular region with central coordinates (cx, cy) = (100, 100) and radius r = 10. The description of the semantic interpretation "tag = "$station = 'shibuya' " " is allocated to this region.
0124This description means that when a user's input is intended to indicate this region, it is interpreted that the user "has indicated Shibuya station".
0125Referring to Fig. 11, reference numeral 1102 denotes a description indicating an elliptic region with central coordinates (cx, cy) = (100, 130), radius rx in x-axis direction = 20, and radius ry in y-axis direction = 10. The description of the semantic interpretation "tag = "$station ='ebisu' " " is allocated to this region.
0126This description means that when a user's input is intended to indicate this region, it is interpreted that the user "has indicated Ebisu station".
0127In the third embodiment, when the processing in Fig. 5 in the first embodiment is to be performed, processing for circular and elliptic regions is also executed.
0128Processing to be performed when circular and elliptic regions are processed will be described with reference to Fig. 5.
0129First of all, an area calculation unit 105 calculates an area Sc of the circular region on the basis of the value of r in the grammar. That is, the area calculation unit 105 calculates Sc = pr2.
0130In determination performed by the region inside/outside determination unit 104 with respect to the circular region, an input point (xi, yi) is substituted into circle equation C(x, y) = (x - x0)2 + (y - y0)2 = r2((x0, y0) is the center of the circle). If C(xi, yi) ≦ r2, it is determined that the input point falls inside the region. If C(xi, yi) > r2, it is determined that the input point falls outside the region.
0131In this case, the center of the circular region is regarded as the representative point of the circular region.
0132The area calculation unit 105 calculates an area Se of the elliptic region on the basis of the radius in the x-axis direction and the radius in the y-axis direction. That is, the area calculation unit 105 calculates Se = p x rx x ry.
0133In determination performed by the region inside/outside determination unit 104 with respect to the elliptic region, the input point (xi, yi) is substituted into ellipse equation e(x, y) = (x - x0)2/rx2 + (y - y0)2/ry2 = 1((x0, y0) is the center of the ellipse). If e(xi, yi) ≦ 1, it is determined that the input point falls inside the region. If e(xi, yi) > 1, it is determined that the input point falls outside the region.
0134In this case, the center of the elliptic region is regarded as the representative point of the elliptic region.
0135In the processing for the elliptic region, when the distance between the input point coordinates and the representative point of the target region is to be calculated, distance calculation should be performed in consideration of the expansions (shapes) in the x-axis and y-axis directions which are defined by the elliptic region.
0136Referring to the ellipse in Fig. 12A, when points A and B which are input points are compared with each other, the point B may be erroneously interpreted to be closer to the region in spite of the fact that the point A is closer to the center of the ellipse which is the representative point. In order to solve this problem, the coordinates of the respective input points are converted as follows.
0137Letting (x, y) = (xi, yi) be the input point coordinates, rx be the radius of the ellipse in the x-axis direction, and ry be the radius in the y-axis direction, the coordinates are converted into (x, y) = xi/rx, yi/ry) as shown in Fig. 12B. Each confidence score is then calculated by applying the distance between the converted coordinates and the center of the ellipse as the representative point of the target region to equation (1).
0138As described above, according to the third embodiment, in addition to the effects described in the first embodiment, the following effect can be obtained. When there is a possibility of erroneous interpretation of the intention of an input depending on the shape of a target region, more accurate confidence scores can be calculated without being influenced by the shape of a target region by converting input point coordinates in accordance with the ratio of the distances between the representative point of the region and boundary points and then calculating the distances between the representative point and the input coordinate points.
[Fourth Embodiment]
0139In the third embodiment, when a target region is elliptic, the method of performing distance calculation upon conversion of input point coordinates on the basis of the distances defining the shape of the ellipse is used as a method of performing distance calculation in consideration of the expansions of the ellipse. However, a confidence score may be calculated by using the distance between an input point and the contour (shape) of a target region.
0140For example, the distance between an input point and the contour of a target region is calculated by the following method. The coordinates of the intersection between a line segment which connects the center of the ellipse and the input point and the ellipse, which is the contour of the target region, are calculated first. The distance between the intersection coordinates and the center of the ellipse is then subtracted from the distance between the center of the ellipse and the input point coordinate, thus performing distance calculation.
[Fifth Embodiment]
0141In the first to fourth embodiments, an input is designated by a point. However, an input may be designated by a region having a predetermined range, e.g., a circle. In this case, a confidence score is calculated by using the area of a target region included in an input range or the distance between the representative point of an input range and the representative point of a target region.
0142When, for example, an input is designated by an input region like that shown in Fig. 13A, the input region is converted into a polygonal approximate region as shown in Fig. 13B, and a confidence score of a given region is calculated by calculating the number of intersections of lattice points in the region like those shown in Fig. 13C.
0143As described above, according to the fifth embodiment, even when an input having a predetermined range is made, effects similar to those of the first embodiment can be obtained.
[Sixth Embodiment]
0144Although the first to fifth embodiments have exemplified the flat, two-dimensional coordinate space in which input operation is performed, the present invention can also be applied to a three-dimensional coordinate space.
[Seventh Embodiment]
0145The first to sixth embodiments are configured to calculate the confidence scores of all the M regions in the contents. However, each embodiment may be configured to reduce the calculation amount by limiting the number of regions as calculation targets in accordance with applications and purposes. When, for example, the position indicated by a user falls outside a region and is separated from the representative point of the region by a predetermined threshold or more, the region may be excluded from confidence score calculation targets to omit (inhibit) the calculation of a confidence score.
[Eighth Embodiment]
0146Each embodiment described above has exemplified the case wherein programs are held in the ROM. However, the present invention is not limited to this. Each embodiment may be implemented by using an arbitrary storage medium other than a ROM or may be implemented by using a circuit operates in the same manner as a ROM.
0147The embodiments have been described in detail above. The present invention can take various forms including a system, apparatus, method, program, storage medium, and the like. More specifically, the present invention can be applied to a system constituted by a plurality of devices, or to an apparatus comprising a single device.
0148The present invention incorporates a case wherein programs of software for implementing the functions of the embodiments described above (programs corresponding to the flowchart shown in the accompanying drawing in the embodiments) are directly or remotely supplied to a system or apparatus to cause the computer of the system or apparatus to read out and execute the programs, thereby implementing the functions.
0149The program codes themselves which are installed in the computer to allow the computer to implement the functions/processing of the present invention also realize the present invention. That is, the computer programs themselves, which implement the functions/processing of the present invention, are also incorporated in the present invention.
0150In this case, each program may take any form, e.g., an object code, a program executed by an interpreter, and script data supplied to an OS, as long as it has the function of the program.
0151As a recording medium for supplying the programs, a floppy (registered trademark) disk, hard disk, optical disk, magnetooptical disk, MO, CD-ROM, CD-R, CD-RW, magnetic tape, nonvolatile memory card, ROM, DVD (DVD-ROM or DVD-R), or the like can be used.
0152In addition, methods of supplying the programs include the following. A client computer connects to a home page on the Internet by using a browser to download each computer program of the present invention itself from the home page or download a compressed file containing an automatic install function into a recording medium such as a hard disk. Alternatively, the programs can be supplied by dividing the program codes constituting each program of the present invention into a plurality of files, and downloading the respective files from different home pages. That is, the present invention also incorporates a WWW server which allows a plurality of users to download program files for causing the computer to execute the functions/processing of the present invention.
0153In addition, the functions/processing of the present invention can be implemented by encrypting the programs of the present invention, storing the encrypted data in storage media such as CD-ROMs, distributing them to users, allowing users who satisfy a predetermined condition to download key information for decryption from a home page through the Internet, executing the encrypted programs using the key information, and allowing a computer to install the programs.
0154The functions of the above embodiment are implemented not only when the readout programs are executed by the computer but also when the OS running on the computer performs part or all of actual processing on the basis of the instructions of the programs.
0155The functions of the above embodiment are also implemented when the programs read out from the storage medium are written in the memory of a function expansion board inserted into the computer or a function expansion unit connected to the computer, and the CPU of the function expansion board or function expansion unit performs part or all of actual processing on the basis of the instructions of the programs.
0156The present invention is not limited to the above embodiments and various changes and modifications can be made within the spirit and scope of the present invention. Therefore, to apprise the public of the scope of the present invention, the following claims are made.
Contents5
16 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6 Sheet 7 Sheet 8 Sheet 9 Sheet 10 Sheet 11 Sheet 12 Sheet 13 Sheet 14 Sheet 15 Sheet 16
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| WO2009004525A3 | Cited by | World Intellectual Property Organization (WIPO) | International search |
| WO2009004525A2 | Cited by | World Intellectual Property Organization (WIPO) | International search |
| EP0822529A1 | Cites | European Patent Office (EPO) | Search report |
| US5627567A | Cites | United States of America | Search report |
| US5757358A | Cites | United States of America | Search report |
| US6157379A | Cites | United States of America | Search report |
| US6259436B1 | Cites | United States of America | Search report |
10 members in 5 offices; this record represents the family
Priority claims2
| Document | Office | Kind | Date |
|---|---|---|---|
| 2003401632 | Japan | – | |
| 2003401632 | Japan | A |
Members10
| Document | Office | Kind | |
|---|---|---|---|
| US2005116938A1 | United States of America | A1 | |
| CN1624642A | China | A | |
| JP2005165532A | Japan | A | |
| EP1555600A2This record | European Patent Office (EPO) | A2 | |
| EP1555600A3 | European Patent Office (EPO) | A3 | |
| JP3962718B2 | Japan | B2 | |
| EP1555600B1 | European Patent Office (EPO) | B1 | |
| DE602004015561D1 | Germany | D1 | |
| US7535461B2 | United States of America | B2 | |
| CN100498667C | China | C |
27 legal events, as 4 offices reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | Office | |
|---|---|---|---|
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Notification of lapseLapsedST | ST | FR | |
| Gb: european patent ceased through non-payment of renewal feeCeasedGBPC | GBPC | EP | |
| Application deemed withdrawn, or ip right lapsed, due to non-payment of renewal feeWithdrawnR119 | R119 | DE | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| No opposition filedOpposition26N | 26N | EP | |
| No opposition filed within time limitOppositionORIGINAL CODE: 0009261PLBE | PLBE | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: NO OPPOSITION FILED WITHIN TIME LIMITSTAA | STAA | EP | |
| Corresponds to:REF | REF | EP | |
| Designated contracting statesAK | AK | EP | |
| European patent grantedGrantedFG4D | FG4D | GB | |
| (expected) grantORIGINAL CODE: 0009210GRAA | GRAA | EP | |
| Grant fee paidORIGINAL CODE: EPIDOSNIGR3GRAS | GRAS | EP | |
| Despatch of communication of intention to grant a patentORIGINAL CODE: EPIDOSNIGR1GRAP | GRAP | EP | |
| First examination report despatched17Q | 17Q | EP | |
| Designation fees paidAKX | AKX | EP | |
| Request for examination filed17P | 17P | EP | |
| Designated contracting statesAK | AK | EP | |
| Request for extension of the european patentAX | AX | EP | |
| Search report despatchedORIGINAL CODE: 0009013PUAL | PUAL | EP | |
| Designated contracting statesAK | AK | EP | |
| Request for extension of the european patentAX | AX | EP | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI | EP |
Numbers
- Publication
- 1555600
- Application
- 42574350
Titles3
- German
- Informationsverarbeitungvorrichtung und Steuerverfahren dafür
- English
- Information processing apparatus and control method therefor
- French
- Dispositif de traitement d'informations et procédé de commande dudit dispositif
Classification
- CPC, 2
- G06F3/0418
- G06F3/038
- IPC, 3
- G06F3 041
- G06F3 033
- G06F3 038
Designated states35
- Contracting states, 29
- Austria
- Belgium
- Bulgaria
- Switzerland
- Cyprus
- Czechia
- Germany
- Denmark
- Estonia
- Spain
- Finland
- France
- United Kingdom
- Greece
- Hungary
- Ireland
- Iceland
- Italy
- Liechtenstein
- Luxembourg
- Monaco
- Netherlands (Kingdom of the)
- Poland
- Portugal
and 5 moreShow fewer
- Romania
- Sweden
- Slovenia
- Slovakia
- Türkiye
- Extension states, 6
- Albania
- Croatia
- Lithuania
- Latvia
- North Macedonia
- Yugoslavia, later Serbia and Montenegro (until 2006)