INFORMATION PROCESSOR, PROCESSING METHOD, AND PROJECTION SYSTEM

Information

  • Patent Application
  • 20150084930
  • Publication Number
    20150084930
  • Date Filed
    July 15, 2014
    10 years ago
  • Date Published
    March 26, 2015
    9 years ago
Abstract
According to one embodiment, an information processor includes: a detector; a vector calculator; a determiner. The detector detects an object existing over a plurality of detection ranges set at distances different from one another from a reference surface and acquires representative points of the object based on detected position in the detection ranges. The vector calculator acquires a three-dimensional vector based on the representative points. The determiner determines an input operation by the object based on the three-dimensional vector.
Description
CROSS-REFERENCE TO RELATED APPLICATIONS

This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2013-197921, filed on Sep. 25, 2013; the entire contents of which are incorporated herein by reference.


FIELD

Embodiments described herein relate generally to an information processor, a processing method, and a projection system.


BACKGROUND

These days, apparatus and technology are developed in which touch operation is enabled on wall surfaces, the upper surfaces of desks, whiteboards, etc. Furthermore, the apparatus can cooperate with a projector etc. to make any object surface a virtual touch display. Conventionally, it has been necessary to attach a large-sized sensor for touch detection to an object surface, and there have been limitations to usable object surfaces. These days, a system is proposed in which operation on any object surface is detected by using a dedicated device such as an electronic pen that emits infrared light. However, in such an apparatus, operations with an indicator such as a finger and a pointer, are not detected. In this regard, an apparatus is proposed that senses an object surface with a sensor such as a camera placed in a distant position and detects an indicator such as a finger and a pointer. However, in such an apparatus, detection of an indicator is inaccurate as compared to systems using a dedicated device. Furthermore, misalignment may occur between touch coordinate and position of the indicator. It makes operation unstable.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a block diagram showing an information processor according to an embodiment;



FIG. 2 is a flow chart showing a processing method of the embodiment;



FIG. 3A and FIG. 3B are schematic plan views describing the detection range and the detected part;



FIG. 4A and FIG. 4B are schematic diagrams describing discrimination processing and rejection processing;



FIG. 5 is a schematic plan view describing an example in the case where a plurality of detection ranges are set;



FIG. 6 is a schematic plan view describing a method for calculating the vector;



FIG. 7 is a schematic plan view illustrating an example in which output content is changed in accordance with the angle of the object;



FIG. 8 is a schematic plan view illustrating an example in which fingers with angles close to each other are taken as a pair;



FIG. 9 is a schematic plan view illustrating an example in which the position of a user is determined artificially from the vector vi;



FIG. 10 is a block diagram showing an information processor according to another embodiment;



FIG. 11 is a flow chart showing a processing method of the embodiment;



FIG. 12 is a schematic plan view illustrating an example in the case where touching is continued with two fingers;



FIG. 13 is a block diagram showing an information processor according to yet another embodiment;



FIG. 14 is a block diagram showing an information processor according to yet another embodiment;



FIG. 15 is a flow chart showing a processing method of the embodiment;



FIG. 16 is a schematic plan view illustrating an example of the pattern image for the calculation of corresponding points; and



FIG. 17 is a block diagram illustrating an example of the computer of the embodiment.





DETAILED DESCRIPTION

In general, according to one embodiment, an information processor includes: a detector; a vector calculator; a determiner. The detector detects an object existing over a plurality of detection ranges set at distances different from one another from a reference surface and acquires representative points of the object based on detected position in the detection ranges. The vector calculator acquires a three-dimensional vectorbased on the representative points. The determiner determines an input operation by the object based on the three-dimensional vector.


Hereinbelow, embodiments of the invention are described with reference to the drawings. In the drawings, like components are marked with the same reference numerals, and a detailed description is omitted as appropriate.



FIG. 1 is a block diagram showing an information processor according to an embodiment.


The embodiment relates to an information processor that detects operation on a reference surface. In the embodiment, an apparatus and a method for detecting touch operation on the reference surface are described using a wall surface, the upper surface of a desk, or the like as the reference surface. The reference surface may be a non-flat surface, and the reference surface may be in the air. The block diagram shown in FIG. 1 is an example of the main portion configuration of an information processor 10 according to the embodiment, and may not necessarily agree with the configuration of the actual program module.


The information processor 10 shown in FIG. 1 includes a detector 200, a vector calculator 300, and a determiner 400. The detector 200 includes a plurality of detectors. For example, the detector 200 includes a 1st detector 201 to an N-th detector 20N.


The information processor 10 may include a distance sensor 100 and a computer 800.


That is, the distance sensor 100 may be an external device different from the information processor 10, or may be a device included in the information processor 10. The computer 800 may be an external computer different from the information processor 10, or may be a computer included in the information processor 10. Alternatively, the computer 800 may be included in a display unit 600 described later. The hardware configuration shown in FIG. 1 is an example, and part or the whole of the information processor according to each embodiment may be configured as an integrated circuit such as an LSI (large scale integration) or an IC (integrated circuit) chip set. Each functional block may be made into a processor individually, or some or all of the functional blocks may be integrated into a processor. The method for forming an integrated circuit is not limited to an LSI, and an integrated circuit may be formed using a dedicated circuit or a general purpose processor.


The distance sensor 100 measures the distance to the reference surface or an object (for example, an indicator such as a finger and a pointer). In the embodiment, a sensor of an infrared pattern projection system is used as the distance sensor 100. The infrared pattern projection system is a method in which an invisible pattern is projected on an object, the pattern is captured with an infrared camera, and the distortion of the captured pattern is used to acquire the distance information d(x, y). Where, d(x, y) is a distance for a pixel with the coordinates (x, y) in the coordinate system of the camera. The d(x, y) is acquired sequentially. The distance information visualized as a pixel value is called a distance image. Any other means may be used as the distance measurement means. For example, the distance sensor 100 may be a sensor of a time-of-flight system that measures distance from the time difference till when applied light has returned after being reflected. Alternatively, the distance sensor 100 may be a sensor using a system in which the projected pattern is visible light. The distance sensor 100 may be a sensor that measures distance using a stereo camera.


Using the distance information obtained from the distance sensor 100, the 1st detector 201 to the N-th detector 20N detect a part of the object that has entered the detection range of a certain distance from the reference surface and calculate the position of the representative point of the part. The detector 200 may not actually include the 1st detector 201 to the N-th detector 20N, and it is sufficient that one detector 200 can detect a plurality of detection ranges set at distances different from one another. At this time, the plurality of detection ranges may overlap with one another. Alternatively, a 1st detection range out of the plurality of detection ranges may include a 2nd detection range out of the plurality of detection ranges. Details of the method by which the detector 200 detects a part of the object and calculates the position of the representative point of the part are described later.


The vector calculator 300 calculates a three-dimensional vector vi corresponding to the direction of the object toward the reference surface on the basis of the position of the representative point of the part detected by the 1st detector 201 to the N-th detector 20N. The vector vi is calculated on the basis of the positions of a plurality of representative points obtained. Details of the method by which the vector calculator 300 calculates the three-dimensional vector vi are described later.


The determiner 400 determines the content of the input operation on the reference surface by the object. In the information processor 10 according to the embodiment, gestures that can be used on common touch panels and the like may be used, such as tapping that is an operation like patting, flicking that is an operation like flipping in a certain direction, pinching that is an operation like holding with two fingers, and holding that is keeping for a certain period of time.


The determiner 400 also can output the angle of the object to the computer, by using the angle of the three-dimensional vector vi. The determiner 400 may change output content in accordance with the angle of the object. Specific examples of the gesture that the determiner 400 outputs are described later.


The computer 800 executes a prescribed operation on the basis of an operating signal outputted from the determiner 400. The processing method and the projection system of the embodiment are executed by the computer 800. Specific examples of the computer are described later.



FIG. 2 is a flow chart showing a processing method of the embodiment.



FIG. 3A and FIG. 3B are schematic plan views describing the detection range and the detected part.



FIG. 4A and FIG. 4B are schematic diagrams describing discrimination processing and rejection processing.



FIG. 5 is a schematic plan view describing an example in the case where a plurality of detection ranges are set.



FIG. 6 is a schematic plan view describing a method for calculating the vector.



FIG. 7 is a schematic plan view illustrating an example in which output content is changed in accordance with the angle of the object.



FIG. 8 is a schematic plan view illustrating an example in which fingers with angles close to each other are taken as a pair.



FIG. 9 is a schematic plan view illustrating an example in which the position of a user is determined artificially from the vector vi.



FIG. 3A is a schematic plan view describing the detection range. FIG. 3B is a schematic plan view showing the detected part Inpart(x, y).



FIG. 4A is a schematic plan view showing a state before discrimination processing and rejection processing are executed. FIG. 4B is a schematic plan view showing a state after discrimination processing and rejection processing are executed.


In the embodiment, a method for detecting touch operation on the reference surface using a wall, the upper surface of a desk, or the like as the reference surface is described. The reference surface may be a non-flat surface, and the reference surface may be in the air.


First, the distance sensor 100 measures the distance Zsurface(x, y) to the reference surface in a state where there is no object 50 between the distance sensor 100 and the reference surface (step S11, see FIG. 5). At this time, only one frame of the distance in a state where there is no object 50 may be acquired and used. Alternatively, approximately several frames to several hundred frames may be acquired continuously, and the average or the minimum value in that period of time may be used. This case is preferable because the fluctuation in the time direction of the measured distance can be absorbed. Determination may be made with reference to a histogram of the distance measured in a certain period of time. The distance of the reference surface may be continued to be updated in parallel with the detection of the object 50.


Subsequently, the detection ranges of the 1st detector 201 to the N-th detector 20N are set (step S12). For example, as shown in FIG. 5, parameters for detection, Zmargin(x, y) and Zarea(x, y), are defined. Zmargin(x, y) is a margin provided in order not to detect noise near the reference surface. Zarea(x, y) is a parameter that determines the width of the entire detection range. For Zmargin(x, y) and Zarea(x, y), an optimum value has been determined in accordance with the object 50 and the accuracy of the distance sensor 100. Alternatively, they may be altered dynamically during detection processing.


At this time, parameters of the entire detection range, Znear(x, y) and Zfar(x, y), are set as follows.





[Mathematical Formula 1]






Z
far(x,y)=Zsurface(x,y)−zmargin(x,y)  Formula (1)





[Mathematical Formula 2]






Z
near(x,y)=Zfar(x,y)−zarea(x,y)=Zsurface(x,y)−zmargin(x,y)−zarea(x,y)  Formula (2)


Subsequently, the entire detection range is divided into a plurality of detection ranges. For example, as shown in FIG. 5, the entire detection range is divided into a 1st detection range and a 2nd detection range. In other words, in the embodiment, the detection range is determined such that the entire detection range is divided into two parts.





[Mathematical Formula 3]






Z
far
1(x,y)=Zfar(x,y)  Formula (3)





[Mathematical Formula 4]






Z
near
1(x,y)=Zfar2(x,y)=Zfar1(x,y)−a·zarea(x,y)  Formula (4)





[Mathematical Formula 5]






Z
near
2(x,y)=Znear(x,y)  Formula (5)


where a is a parameter that adjusts the division proportion of the detection range, and 0≦a≦1.


Subsequently, detection is started (step S13).


Subsequently, each detector assesses whether the object has entered the detection range of a certain distance or not (step S14). In the case where each detector has determined that the object has entered the detection range of a certain distance (step S14: YES), the detector detects the part. For example, in the case where the object 50 has entered the 1st detection range and the 2nd detection range, the 1st detector 201 and the 2nd detector 202 detect the part. In this case, the object 50 exists over the 1st detector 201 and the 2nd detector 202. Alternatively, in the case where the object 50 has entered one of the 1st detection range and the 2nd detection range, one of the 1st detector 201 and the 2nd detector 202 corresponding to the detection range that the object 50 has entered may detect the part. When the object 50 has entered all of the plurality of detection ranges and each detector detects the part, false detection for noise etc. can be suppressed more, for example.


As shown in FIG. 3A and FIG. 3B, for the part Inpart(x, y) detected in the detection range, only pixels in the range of a certain distance may be maintained as “1”, as illustrated in the following formula, for example.









[

Mathematical





Formula





6

]













I
port
n



(

x
,
y

)


=

{



1





Z
near
n



(

x
,
y

)




d


(

x
,
y

)





Z
for
n



(

x
,
y

)







0


otherwise








Formula






(
6
)








where Znnear(x, y) and Znfar(x, y) are parameters that specify each detection range. n expresses the number of each detector. That is, 0≦n≦1.


Next, the detected part is separated for each of the parts connected. This is needed when multi-touch operation or operation by a plurality of persons is performed. For the discrimination of parts, labeling processing or the like may be used. At this time, parts with a certain area or more or parts with a certain area or less are rejected. Thereby, false detection due to noise on the measured distance can be prevented. Rejection may be made based on the shape of the part. In distance measurement by infrared pattern projection, errors are likely to occur in the distance measurement result of the edge of the object. Hence, by rejecting parts of which the circumscribed rectangle has a certain horizontal to vertical ratio or more, false detection along the edge can be prevented.


As shown in FIG. 4A and FIG. 4B, when the discrimination processing and the rejection processing of the connected parts are performed on the detected part Inpart(x, y), pre-processing may be performed at the time of the part detection, and thereby the detection accuracy of the object can be improved.


Next, the representative point of each detected part is calculated (step S15, see FIG. 5). The barycenter of the detected part is used as the representative point, for example. The three-dimensional coordinates of the obtained representative point are expressed as xni=(xni, yni, zni)T, where xni and yni are the barycentric coordinates of the detected part. For zni, the formula of zni=d(xni, yni) holds. In the method for calculating the representative point, not limited to the barycenter, also the average value of the detected part and the like may be used. Here, the subscript “i” is the number in the case where there are a plurality of parts. In the case where there are a plurality of objects 50 as in the case of operation with two fingers, a plurality of parts are detected.


Subsequently, the vector calculator 300 calculates the vector of the object 50 with respect to the reference surface on the basis of the positions of a plurality of representative points (step S16). For example, as shown in FIG. 6, the vector vi is calculated from the difference between the representative point x1i of the part detected by the 1st detector 201 and the representative point x2i of the part detected by the 2nd detector 202. As shown in FIG. 6, when the ratio of similar triangles is used, the three-dimensional vector vi of the object 50 with respect to the reference surface can be expressed by the following formula.









[

Mathematical





Formula





7

]












v
i

=


b
a



(


x
i
1

-

x
j
2


)






Formula






(
7
)








Here, the following formula holds for “a” and “b” in Formula 7.





[Mathematical Formula 8]






a=|z
i
2
−z
i
1|  Formula (8)





[Mathematical Formula 9]






b=|z
i
2
−Z
surface(xi2,yi2)|  Formula (9)


In the embodiment, an example of the method for calculating the vector vi on the basis of the positions of two representative points is illustrated. However, the method for calculating the vector vi is not limited to this. For example, in the case where a large number of detectors are provided, the positions of a large number of representative points can be acquired. Hence, the vector vi may be calculated various sets of representative points and conducting a vote. In this case, the vector can be calculated robustly against outliers of distance information.


Subsequently, the determiner 400 determines the content of the input operation by the object 50 on the basis of the vector vi, and outputs it (step S17).


The determiner 400 may change output content in accordance with the angle of the object 50. As shown in FIG. 7, input operation can be outputted by inclining a finger (the object 50), for example.


Information on the angle may be used when gesture input is performed. In conventional touch operations, gestures made by combining a plurality of fingers, such as pinch operation and rotation operation with two fingers, are used in many cases. When a plurality of touches are detected, fingers at a short distance from each other are combined in many cases. In contrast, by the example, determination can be made with reference to also the angle of the finger. For example, as shown in FIG. 8, fingers (objects 50) with angles close to each other may be taken as a pair. On the other hand, a finger (an object 60) with a certain angle difference or more is determined as performing a different operation from the object 50.


It is assumed that a user (an operator of the object 50) exists in the opposite direction to the three-dimensional vector vi with respect to the reference surface corresponding to the object 50, for example. Then, the position of the user can be determined artificially from the vector vi as shown in FIG. 9. Thereby, input operation can be changed in accordance with the direction of the user. For example, by permitting only input from a certain direction, it becomes possible to limit input operation in accordance with the direction of the user etc.


Subsequently, it is determined whether to perform the next input operation or not (step S18). In the case where in step S14 each detector has determined that the object has not entered the detection range of a certain distance (step S14: NO), it is determined whether to perform the next input operation or not (step S18). In the case of performing the next input operation (step S18: YES), each detector assesses whether the object has entered the detection range of a certain distance or not (step S14). On the other hand, in the case of not performing the next input operation (step S18: NO), the flow ends.


By the embodiment, input operation on the reference surface can be detected comfortably and stably by calculating the three-dimensional vector vi corresponding to the object 50 such as a finger and a pointer with respect to the reference surface.


Next, another embodiment is described with reference to the drawings.



FIG. 10 is a block diagram showing an information processor according to another embodiment.


An information processor 10a shown in FIG. 10 further includes a coordinate calculator 500 as compared to the information processor 10 described above in regard to FIG. 1.


The coordinate calculator 500 calculates the input coordinates of the object 50 on the reference surface. Details of the method by which the coordinate calculator 500 calculates the input coordinates (touch coordinates) are described later.


In the information processor 10a shown in FIG. 10, the determiner 400 can output the touch coordinates to the computer, by using the coordinates calculated by the coordinate calculator 500. The determiner 400 can output multi-touch operation, gesture, etc. to the computer, by using the temporal change of the touch coordinates and the positional relationships among a plurality of coordinates.


Otherwise, the configuration is similar to the configuration of the information processor 10 described above in regard to FIG. 1.



FIG. 11 is a flow chart showing a processing method of the embodiment.



FIG. 12 is a schematic plan view illustrating an example in the case where touching is continued with two fingers.


The processing method of step S11 to step S16 is similar to the processing method of step S11 to step S16 described above in regard to FIG. 2.


Subsequently, the coordinate calculator 500 calculates the touch coordinates (step S19). In the embodiment, a method for calculating the touch coordinates when the object 50 has touched the reference surface is described. The vector calculator 300 has calculated the three-dimensional vector vi with respect to the reference surface corresponding to the object 50. Hence, the touch coordinates can be expressed as Xi=x2i+vi. The coordinates may be adjusted by adding the vector certain times. Here, by referring to the subscript “i”, a plurality of objects 50 can be distinguished from one another. This means adaptability to multi-touching.


The coordinate calculator 500 may perform stabilization processing in the time direction (tracking) in order to suppress the fluctuation of the input coordinates. An IIR (infinite impulse response) filter, a Kalman filter, and the like may be used for this. In the case where an IIR filter is used, the touch coordinates at time t can be calculated by the following formula.





[Mathematical Formula 10]






X
i(t)=β·(xi2(t)+vi(t))+(1.0−β)Xi(t−1)  Formula (10)


where β is the time constant. When β=1.0, stabilization processing is not performed.


In the case where such tracking processing is performed, it is necessary to create associations between touch coordinates at different times. This may be made by a method such as associating points closest to each other. It is also possible to set the cost of associating and search a pair whereby the cost is minimized. In the embodiment, since the three-dimensional vector vi has been calculated, the angle information of the three-dimensional vector vi may be used. For example, as shown in FIG. 12, when touching is continued with two fingers, points of which the angles of the vectors are close to each other may be associated.


Here, as a touch coordinate calculation method of a comparative example, a method is proposed in which the representative point (barycenter) of a detected part is inputted as it is as the touch coordinates. In this case, “misalignment” will occur between the tip of the object (for example, a fingertip) and the touch coordinates, and it will be difficult for the user to make input to the intended position. To reduce the “misalignment”, it is necessary to reduce the margin Zmargin(x, y) provided in order not to detect noise and the detection range of the detected part. In this case, it is difficult to distinguish between the distance change due to noise and the distance change due to the object, and consequently the touch cannot be detected with good accuracy. Otherwise, false detection will occur.


In contrast, in the embodiment, the vector calculator 300 has calculated the three-dimensional vector vi with respect to the reference surface corresponding to the object 50. Hence, the coordinates of the fingertip (the tip of the object 50) can be made into the touch coordinates by simple processing. Furthermore, as compared to the touch coordinate calculation method of the comparative example described above, the margin Zmargin(x, y) and the detection range of the detected part can be set wide and the stability of detection can be enhanced.


Subsequently, the determiner 400 determines the content of the input operation of the object 50 on the basis of the touch coordinates and the vector vi, and outputs it to the computer 800 (step S20).


Subsequently, the processing method of step S18 is similar to the processing method of step S18 described above in regard to FIG. 2.


By the embodiment, in detecting touch operation, the touch coordinates of the fingertip can be detected stably even when the accuracy of the distance measurement means (for example, the distance sensor 100) is low, for example. Furthermore, since the three-dimensional angle and the direction of the user can be inputted from the three-dimensional vector vi corresponding to the object 50, various input means can be provided as compared to conventional input systems.



FIG. 13 is a block diagram showing an information processor according to yet another embodiment.


An information processor 10b shown in FIG. 13 further includes a display unit 600 as compared to the information processor 10a described above in regard to FIG. 10.


The display unit 600 is a means for displaying images, such as a display and a projector. The user can make input on the reference surface to operate the image displayed by the display unit 600. In the embodiment, a description is given using as an example the case where the display unit 600 is a projector (a projection unit) that projects images onto the reference surface such as a wall and the upper surface of a desk. However, the display unit 600 is not limited to a projector. The display unit 600 may be also a liquid crystal display or the like. The display unit 600 and the reference surface on which operation is inputted may be located in different places.


Otherwise, the configuration is similar to the configuration of the information processor 10a described above in regard to FIG. 10.


By the embodiment, a wall, the upper surface of a desk, etc. can be made an operable virtual display. For example, when the determiner 400 outputs touch operation, a wall, the upper surface of a desk, etc. can be made a virtual touch display.



FIG. 14 is a block diagram showing an information processor according to yet another embodiment.


As described above in regard to FIG. 13, in the case where the information processor includes the display unit 600, a wall, the upper surface of a desk, etc. can be made an operable virtual display. However, when the coordinate system of the display unit 600 and the coordinate system of the distance sensor 100 are different, it is necessary to create an association between the coordinate systems. Specifically, a transformation to relate the coordinates Xi calculated by the coordinate calculator 500 to the coordinate system in the display unit 600 is needed.


In view of this, an information processor 10c shown in FIG. 14 further includes a transformation unit 700 as compared to the information processor 10b described above in regard to FIG. 13. The transformation unit 700 transforms the input operation determined by the determiner 400 in accordance with the coordinate system of the display unit 600. In other words, the transformation unit 700 makes a transformation like creating an association between the coordinate system of the display unit 600 and the coordinate system of the distance sensor 100. Thereby, on touching an image projected, it is possible to perform touch operation on a corresponding position in the projected image or to display a cursor, for example



FIG. 15 is a flow chart showing a processing method of the embodiment.



FIG. 16 is a schematic plan view illustrating an example of the pattern image for the calculation of corresponding points.


The processing method of step S11 to step S19 is similar to the processing method of step S11 to step S19 described above in regard to FIG. 2 and FIG. 11.


Subsequently, the determiner 400 determines the content of the input operation of the object 50 on the basis of the touch coordinates and the vector vi, and outputs it to the transformation unit 700 (step S21). Subsequently, the transformation unit 700 transforms the input operation in accordance with the coordinate system of the display unit 600 (step S22).


In the embodiment, a method for associating the coordinate system of the display unit 600 and the coordinate system of the distance sensor 100 when the reference surface is a flat surface is described.


When the reference surface is a flat surface, the transformation of the coordinate system of the display unit 600 and the coordinate system of the distance sensor 100 can be expressed by a two-dimensional projection transformation of a linear matrix transformation. The matrix of 3×3 necessary for the two-dimensional projection transformation is expressed as H. The matrix H is called also a homography. When four sets or more of corresponding points can be acquired between the coordinate system of the display unit 600 and the coordinate system of the distance sensor 100, the matrix H can be calculated analytically.


These corresponding points may be set also manually. It is convenient to use a pattern like that shown in FIG. 16 whereby corresponding points can be automatically acquired easily. In the case of using a pattern like FIG. 16, corresponding points can be acquired easily by using a conventional corner detection means. Specifically, corresponding points can be automatically acquired by displaying a pattern image with the display unit 600 and capturing the pattern with a camera on which pre-calibrated with the coordinate system of the distance sensor 100. In the case of the pattern shown in FIG. 16 is reproduced with infrared light, infrared camera of distance sensor 100 can use for capturing and detection of pattern. Thereby, the matrix H can be calculated to transform the coordinates.


Next, a method for associating the coordinate system of the display unit 600 and the coordinate system of the distance sensor 100 when the reference surface is a non-flat surface is described.


When the display unit 600 is, for example, a projector, images can be displayed even on a non-flat surface. Thus, the reference surface is a non-flat surface, and cannot be handled by the two-dimensional projection transformation described above. In such a case, associating is made using a three-dimensional projection transformation. Specifically, the touch coordinates in the coordinate system of the distance sensor 100 are once reconstructed to coordinates in the real space (the world coordinate system), and are then re-projected on the coordinate system of the projector; thereby, an association of coordinates between the distance sensor 100 and the display unit 600 is created.


As a model for transforming the world coordinate system to image coordinates in a camera or a projector, the projection model of the following formula is generally known.














[

Mathematical





Formula





11

]






















λ






x
~


=


A


[

R
|
T

]




X
~














X
~

=






(


X
1

,

X
2

,

X
3

,

X
4


)

T



:




















The





homogeneous






coordinates





of





the









world





coordinate





system










x
~

=



(


x
1

,

x
2

,

x
3


)

T



:












The





homogeneous






coordinates





of





the









image





coordinate





system







}









Formula






(
11
)








The world coordinates (X, Y, Z) are obtained in the form of X=X1/X4, Y=X2/X4, and Z=X3/X4. The image coordinates (x, y) are obtained in the form of x=x1/x3, and y=x2/x3. When coordinates are expressed by homogeneous coordinates, there is a property that the values of the world coordinates and the image coordinates do not change even when each component is multiplied by a certain number. The indefiniteness of the certain times is expressed by the coefficient λ.


A is the internal parameter matrix, and is determined from internal information such as the focal length and the resolution. R and T are matrices called the external parameter matrices, and are determined by the posture of the camera or the projector. These can be found beforehand by calibration.


The associating of coordinates between the display unit 600 and the distance sensor 100 based on the projection model described above will now be described.


First, the projection model of the display unit (in this example, a projector) 600 is defined as follows.





[Mathematical Formula 12]





λp{tilde over (x)}p=Ap[Rp|Tp]{tilde over (X)}  Formula (12)


The projection model of the distance sensor is defined as follows.





[Mathematical Formula 13]





λc{tilde over (x)}c=Ac[Rc|Tc]{tilde over (X)}  Formula (13)


Here, when the coordinates of the distance sensor 100 are taken as the origin of the world coordinate system, setting of Rc=1 and Tc=0 can be made. Since the distance d(xc, yc) of the image coordinates (xc, yc) can be acquired by the distance sensor 100, the indefiniteness of the certain times can be eliminated.


From the foregoing, the following formula can be obtained from Formula 13, and the associating of coordinates can be made even for a non-flat surface.









[

Mathematical





Formula





14

]












[



X




Y




Z



]

=


A
c

-
1




[





x
c

·

d


(


x
c

,

y
c


)









y
c

·

d


(


x
c

,

y
c


)








d


(


x
c

,

y
c


)





]






Formula






(
14
)








Formula 14 means a transformation from the image coordinates of the distance sensor 100 (the right-hand side) to the world coordinates (the left-hand side).


Finally, the transformed world coordinates are substituted into the projection model of the projector; thus, a transformation from the image coordinates of the distance sensor 100 to the image coordinates of the projector can be made.









[

Mathematical





Formula





15

]













λ
p




x
~

p


=



A
p



[


R
p

|

T
p


]




[





A
c

-
1




[





x
c

·

d


(


x
c

,

y
c


)









y
c

·

d


(


x
c

,

y
c


)








d


(


x
c

,

y
c


)





]






1



]






Formula






(
15
)








In the above, associating methods when the projection surface is a flat surface and when the projection surface is a non-flat surface are described. However, the invention is not limited to them. For example, associating may be made manually beforehand.


By the embodiment, a wall, the upper surface of a desk, etc. can be made an operable virtual display without using a dedicated device such as an electronic pen and a sensor attached to the wall or the upper surface of the desk.



FIG. 17 is a block diagram illustrating an example of the computer of the embodiment.


The computer 800 displays, for example, a line with a prescribed color, a prescribed kind of line, a prescribed figure, etc. on the display unit 600 on the basis of an operating signal outputted from the determiner 400.


The computer 800 includes a central processor (CPU) 801, an input unit 802, an output unit 803, and a memory unit 804. The input unit 802 includes a function of reading information recorded in a recording medium M.


The operating system (OS) and the projection system of the embodiment are stored in the memory unit 804. The central processor 801 determines and executes the content displayed on the display unit 600 on the basis of an operating signal outputted from the determiner 400 and the operating system.


The projection system of the embodiment may be recorded in a computer-readable recording medium M. The recording medium M may be a memory device such as a server connected to a network. The projection system of the embodiment may be distributed via a network.


While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.

Claims
  • 1. An information processor comprising: a detector which detects an object existing over a plurality of detection ranges set at distances different from one another from a reference surface and acquires representative points of the object based on detected position in the detection ranges;a vector calculator which acquires a three-dimensional vector based on the representative points; anda determiner which determines an input operation by the object based on the three-dimensional vector.
  • 2. The processor according to claim 1, wherein the determiner determines the input operation based on an angle of the three-dimensional vector.
  • 3. The processor according to claim 1, wherein the determiner determines a position of an operator operating the object based on an angle of the three-dimensional vector.
  • 4. The processor according to claim 1, wherein the determiner determines at least two objects as a set corresponding to each other based on angles of the three-dimensional vectors when the detector detects a plurality of objects.
  • 5. The processor according to claim 1, further comprising: a distance sensor that measures a distance to the object,the detector that detects the object based on the distance measured by the distance sensor and acquires the positions of the representative points.
  • 6. The processor according to claim 1, further comprising: a coordinate calculator that acquires input coordinates of the object,wherein the determiner determines the input operation based on at least one of the input coordinates and the three-dimensional vector.
  • 7. The processor according to claim 6, wherein the coordinate calculator acquires the input coordinates using the three-dimensional vector.
  • 8. The processor according to claim 6, wherein the determiner determines input operation based on at least one of a position of the input coordinates and a temporal change of the input coordinates.
  • 9. The processor according to claim 1, further comprising: a projector which projects light to at least part of the reference surface.
  • 10. The processor according to claim 9, further comprising: a transformation unit that transforms the input operation determined by the determiner in accordance with a coordinate system of the projection unit.
  • 11. The processor according to claim 9, further comprising: a central processor that controls a image to be projected by the projector according to the input operation determined by the determiner.
  • 12. A processing method comprising: detecting an object existing over a plurality of detection ranges set at distances different from one another from a reference surface and acquiring representative points of the object based on detected position in the detection ranges;acquiring a three-dimensional vector based on the representative points; anddetermining an input operation by the object based on the three-dimensional vector.
  • 13. The processing method according to claim 12, wherein the input operation is determined based on an angle of the three-dimensional vector.
  • 14. The processing method according to claim 12, wherein a position of an operator operating the object is determined based on an angle of the three-dimensional vector.
  • 15. The processing method according to claim 12, wherein at least two objects are determined as a set corresponding to each other based on angles of the three-dimensional vectors when a plurality of objects are detected.
  • 16. A projection system comprising: a projector;a memory device for storing computer readable program code; anda processor in communication with the memory device, the processor being operative with the computer readable program code todetect an object existing over a plurality of detection ranges set at distances different from one another from a reference surface and acquire representative points of the object based on detected position in the detection ranges,acquire a three-dimensional vector based on the representative points, anddetermine an input operation by the object based on the three-dimensional vector.
  • 17. The system according to claim 16, configured to cause a computer to execute processing of determining the input operation based on an angle of the three-dimensional vector.
  • 18. The system according to claim 16, configured to cause a computer to execute processing of determining a position of an operator operating the object based on an angle of the three-dimensional vector.
  • 19. The system according to claim 16, wherein the system causes a computer to execute processing of determining at least two objects as a set corresponding to each other based on angles of the three-dimensional vectors when a plurality of objects are detected.
Priority Claims (1)
Number Date Country Kind
2013-197921 Sep 2013 JP national