Next Patent: Method and apparatus for compressing and scaling thumbnails
Next Patent: Method and apparatus for compressing and scaling thumbnails
[0001] The present invention relates to an image display apparatus and method for displaying an image in virtual space fused with real space based on output values from an attitude sensor, and more particularly, to an image display apparatus that generates and displays on a display screen an overlapped image superimposing a virtual space image onto a real image sensed by an image-sensing apparatus, or an image display apparatus that displays a virtual space image on the optical see-through display screen by optically transmitting real space through the display screen, and a method and recording medium for same.
[0002] In recent years, research into so-called mixed reality (MR) systems, representing a seamless conjunction between real space and virtual space, has been actively pursued.
[0003] In general, there are two main types of MR systems: A video see-through system, in which an image in virtual space (such as a virtual object or text information drawn by computer graphics, for example (hereinafter CG)) is superimposed on an image of real space that has been sensed by an image-sensing apparatus such as a video camera or the like, and an optical see-through system, in which real space is optically transmitted through the display screen of a display apparatus and the virtual space image is overlappingly displayed on that display screen.
[0004] There is a wide array of applications of this type of MR, which is qualitatively completely different from hitherto existing virtual reality systems. Such applications include navigation systems that overlappingly display names and directories on buildings and the like on real streets, as well as landscape simulations that overlappingly display a computer graphic image of the building scheduled to be erected at a building construction site.
[0005] What these various applications have in common is the need for precise, accurate alignment between the real space and the virtual space, and conventionally a variety of efforts have been made to satisfy this requirement.
[0006] The problem of alignment in video see-through systems MR boils down to the problem of obtaining a 3-dimensional position/attitude of the perspective of the image-sensing apparatus within a global coordinate system set to real space (hereinafter simply called “global coordinate system”). The problem of alignment in optical see-through systems MR can also be said to similarly boil down to the problem of obtaining a 3-dimensional position/attitude of the perspective of the observer (user) within a global coordinate system.
[0007] One common method of solving the above-described problem involves the use of position/attitude sensors such as magnetic sensors, ultrasonic sensors or the like to obtain a 3-dimensional position/attitude of the image-sensing apparatus or observer perspective within the global coordinate system.
[0008] Similarly, in outdoor settings, under circumstances in which there is sufficient distance between the image-sensing apparatus or observer and the object so that a fixed value may be used for the position of the perspective, the problem of alignment boils down to the problem of obtaining the 3-dimensional attitude of the perspective. In this case, 3-dimensional attitude sensors composed of a combination of gyro sensors and accelerometers are used to obtain the 3-dimensional attitude.
[0009] The output values output by the 3-dimensional attitude sensors, is the 3-dimensional attitude of the sensors themselves in the sensor coordinate system. Here, in case of Tokimec Inc. attitude sensors TISS-5-40, for example, a sensor coordinate system is a coordinate system that defines the Y axis as the opposite direction of the pull of gravity and the -Z axis as a frontal direction of a sensor when activated atop an X-Z plane defined by this Y axis. In this manner, the output values output by the 3-dimensional attitude sensors are typically not the 3-dimensional attitude of the perspective in a global coordinate system that is the measurement object. In other words, the sensor output values themselves cannot be used as a 3-dimensional attitude of the perspective in a global coordinate system but must undergo some sort of coordinate conversion. More specifically, the sensor attitudes must be coordinate-converted to the perspective attitudes and attitudes in the sensor coordinate system must be converted to attitudes in the global coordinate system. It should be noted that, in the present specification, the data for carrying out coordinate conversion between the sensor output values and the 3-dimensional attitude of the perspective in a global coordinate system is called correction information.
[0010]
[0011] As shown in the diagram, a display screen
[0012] The attitude information output unit
[0013] Next, using
[0014] As shown in
[0015] Here, R is a 4×4 matrix, where R
[0016] The Matrix R is the product of a rotation matrix Rx defined by an angle of rotation θ about the X axis, a rotation matrix Ry defined by an angle of rotation (angle of direction) θ about the Y axis, and a rotation matrix Rz defined by an angle of rotation ψ about the Z axis, so as to satisfy the equation R=RzRxRy. Each of these matrixes is expressed as follows:
[0017] where R
[0018] Here, the Y axis of the sensor coordinate system
[0019] where R
[0020] In order to align real space and virtual space accurately, correction information must be accurately set in the memory
[0021] One commonly known method for setting correction information involves a user or an operator dialogically increasing and decreasing each of the values for θ
[0022] However, with such a method, four parameters must be adjusted simultaneously, which is difficult and time-consuming.
[0023] One method of reducing this difficulty is a method proposed in Japanese Patent Application No. 2001-050990 (which corresponds to U.S. patent application Ser. No. 09/818,600 filed on Mar. 28, 2001), a description of which is given below.
[0024]
[0025] As shown in the diagram, the present composition is the same as that shown in
[0026] The calculation of the correction information is performed by moving the attitude of the user's perspective
[0027] The switching unit
[0028] When set to the normal mode, the attitude information output unit
[0029] If the attitude information output unit
[0030] The correction information calculator
[0031] With the method described above, the Y axis rotational component Ry
[0032] At this time, from the data processed by the correction information calculator
[0033] By varying Formula C, we get
[0034] The correction information calculator
[0035] That is, by further varying Formula D, we get
[0036] Both the left side and right side of the above equation have been multiplied by the rotational components of the X, Y, and Z axes, so identical equations exist for each of the rotational components of the Z, Y, and X axes.
[0037] First, the identical equations for rotational components of the Z and X axes, are obtained, which are as follows:
[0038] From the foregoing Rz
[0039] Similarly, the identical equation for the rotational component of the Y axis is as follows:
[0040] from which
[0041] and from which Ry
[0042] The correction information calculator
[0043] It should be noted that the derivation of Ry
[0044] As described above, merely by fixing the perspective attitude in three degrees of freedom at a predetermined attitude, unknown correction information can be easily extracted and it becomes possible to achieve accurate alignment.
[0045] So long as the display screen
[0046] However, a problem with the above-described method is that it is not easy to fix the perspective in three degrees of freedom at a predetermined attitude, and any deviation between the predetermined attitude and the actual attitude at the time the correction information is input appears as accidental error in the correction information. For this reason, the above-described correction calculations must be performed repeatedly, until adequate alignment is achieved.
[0047] The present invention is conceived against the backdrop of the above-described conventional art, and has as its object to obtain correction information for converting sensor measurements into global coordinate system perspectives more simply.
[0048] According to the present invention, the above-described problems are solved and objects achieved by an image display apparatus that displays a virtual image on a display screen according to a perspective of a user observing the display screen. The image display apparatus has an attitude sensor, a conversion unit, a calculation unit, a display unit, and a correction unit. The attitude sensor outputs attitude measurements. The conversion unit converts the attitude measurements from the attitude sensor into a perspective expressed in terms of a global coordinate system so as to obtain the user perspective. The calculation unit calculates the perspective based on the attitude measurements from the attitude sensor using an angle of direction previously stored in a memory as the angle of direction in the global coordinate system of the attitude sensor so as to correct the correction information. The display unit for generating a virtual image using the perspective calculated by the calculation unit. The correction unit corrects the correction information based on the attitude measurements from the attitude sensor and the angle of direction when a predetermined instruction is input during display of the virtual image by the display unit.
[0049] Other objects, 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.
[0050] The 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, in which:
[0051]
[0052]
[0053]
[0054]
[0055]
[0056]
[0057]
[0058] Preferred embodiments of the present invention will be described in detail in accordance with the accompanying drawings.
[0059]
[0060] In addition to a correction information calculation method that obtains the correction information R
[0061]
[0062] As shown in the diagram, the simulation apparatus of the present embodiment comprises attitude information output unit
[0063] It should be noted that the operation of the head attachment part
[0064] In the present embodiment, the memory
[0065] The switching unit
[0066] When set to the normal mode or the first correction information calculation mode, the attitude information output unit
[0067] If set to the second correction information calculation mode, the attitude information output unit
[0068] where Ry
[0069] In addition, when in the first correction information calculation mode, the correction information calculator
[0070] By contrast, when an instruction to execute a correction information process is input from the instruction input unit
[0071] Next, a description is given of the operation of a simulation apparatus and a second correction information calculation mode according to the present embodiment, with reference to
[0072]
[0073] At the point in time at which the second correction information calculation mode is executed, the correction information R
[0074] The user or operator (neither shown in the diagrams) then adjusts (
[0075] Here, the perspective attitude information obtained by correcting the sensor
[0076] Accordingly,
[0077] from which Formula J is derived. Accordingly, the correction information calculator
[0078]
[0079] In a step S
[0080] In the first correction information calculation mode, processing proceeds to a step S
[0081] If no instruction has been input, then the process proceeds from a step S
[0082] In a step S
[0083] The above-described process is repeated throughout the first correction information calculation mode.
[0084] While the image of the virtual object is being displayed on the display screen
[0085] If an instruction is input in the first correction information calculation mode, then the correction information calculator
[0086] By contrast, after correction information has been calculated in the first correction information calculation mode, in a case in which the simulation apparatus of the present embodiment is used again where relative attitudes of the attitude sensor
[0087] Where set to the second correction information calculation mode by the switching unit
[0088] If no instruction has been input, then the attitude information output unit
[0089] The image generator
[0090] The above-described process is repeated throughout the second correction information calculation mode.
[0091] While the image of the virtual object is being displayed on the display screen
[0092] If an instruction has been input, the correction information calculator
[0093] Where set to the normal mode by the switching unit
[0094] In step S
[0095] The above-described process is repeated throughout the normal mode.
[0096] It should be noted that the attitude information output unit
[0097] It should be noted that it is preferable that the input to the switching unit
[0098] In addition, although the above-described embodiment is used to achieve an optical see-through type of MR, the present invention is not limited to such optical see-through type of MR. In such a case, in the above-described embodiment the attitude that is the user perspective
[0099] (First Variation)
[0100] It should be noted that although the above-described embodiment uses a CG image of a virtual object that is the target of display to make alignment, any sort of geometrical information will be sufficient provided that such information affords some sort of visual cue that confirms the alignment of virtual space and real space. Thus, for example, the terrain and the shape of the actual building may be modeled and a wire-frame model of the building can be drawn over the actual space. As can be appreciated by those of ordinary skill in the art, it is of course possible to display an actual object of a wire frame model and a virtual object in combination.
[0101] (Second Variation)
[0102] In addition, the above-described embodiment, the image display apparatus and method of the present invention are applied to an observation simulation. As can be appreciated by those of ordinary skill in the art, however, the image display apparatus and method of the present invention can be applied to MR systems other than observation simulation. In addition, the image display apparatus and method of the present invention are not limited to MR systems but can be used in a variety of applications for measuring attitude of a perspective using attitude sensors.
[0103] (Third Variation)
[0104] Although the above-described embodiment uses a Tokimec Inc. attitude sensor TISS-5-40 for the attitude sensor, the present invention is not limited to the use of such a sensor but can instead be used with any sensor, provided that the sensor is an attitude sensor in which one of the sensor coordinate system axes is linked with a global coordinate system.
[0105] (Fourth Variation)
[0106] In the above-described embodiment, the correction information calculator
[0107] (Fifth Variation)
[0108] In the above-described embodiment, the first correction information calculation mode is provided in order to obtain the correction information R
[0109] (Sixth Variation)
[0110] In the above-described embodiment, the normal mode overlappingly displayed a CG image according to changes in the attitude of the perspective (of a user) using the calculated correction information. However, the correction information so calculated can also be used solely for calculating the correction information of the image display apparatus according to the present invention, for example in an effort to use another image display apparatus. In that case, the normal mode of the above-described embodiment is unneeded, so the switching unit
[0111] (Seventh Variation)
[0112] Moreover, in the above-described embodiment, the switch from the second correction information calculation mode to the normal mode is accomplished by the switching unit
[0113] (Other Embodiments)
[0114] As can be appreciated by those of skill in the art, the object of the present invention may also be achieved by a software program code for achieving the functions of the foregoing embodiments being recorded onto a storage medium (or recording medium) that is supplied to a system or an apparatus, with a computer of that system or apparatus then reading the program code stored ion the recording medium. In such a case, the program code read from the recording medium itself achieves the functions of the above-described embodiments, and the recording medium on which that program code is recorded constitutes the present invention. In addition, the present invention includes also an instance in which the execution of the program code read by the computer not only results in the achievement of the functions of the above-described embodiments but also the operating system (OS) operating in the computer performs part or all of the actual processing based on the instructions of the program code, with the functions of the above-described embodiments being achieved based on that processing.
[0115] Moreover, as can be appreciated by those of skill in the art, the present invention also includes an instance in which the functions of the above-described embodiments are achieved by processes executed in whole or in part by a CPU or the like provided in a function expansion card or a function expansion unit based on program code instructions, after the program code read from the recording medium is written to a memory provided in such a function expansion card inserted into the computer or such a function expansion unit connected to the computer.
[0116] Furthermore, the present invention can be applied to a system comprising either a plurality of units or a single unit. Needless to say, the present invention can be applied to a case in which the functions of the above-described embodiments can be attained by supplying programs which execute the processes defined by the present system or invention.
[0117] As many apparently widely different embodiments of the present invention can be made without departing from the spirit and scope thereof, it is to be understood that the invention is not limited to the specific embodiment thereof except as defined in the claims.