The present invention relates to video combining apparatus and method for superimposition of video image and information generated by a computer (CG: Computer Graphics) on a video image of the real world, and more particularly, to CG image display control on an area of real space to which a user is to pay attention.
As techniques to support various actions by using a video image where a CG image is superimposed on a video image of the real world are actively studied as Augmented Reality (AR) or Mixed Reality (MR) techniques. For example, the purposes of medical support by visualization of the inside of a patient body, work assistance by overlay-displaying a product assembly procedure on real parts in a factory, further, guidance by displaying place names and landmark names on a real landscape, and the like are known.
In CG image superimposition, some real-space area is hidden by a CG image. There is no problem if the user has no interest in the covered area. However, conventionally, even a real-space area to which the user pays attention could be hidden by the CG image since CG image superimposition is made just according to predetermined settings, without considering whether the area to be hidden is of interest or not.
G. Reitmayr and D. Schmalstieg show in “Mobile Collaborative Augmented Reality” In Proc. IEEE Virtual Reality 2001, pages 114-123, study of appropriate CG image display position particularly in a mobile AR system from analysis or CG image display position (Head-stabilized: information is displayed in a fixed position in correspondence with a user's view point; Body-stabilized: information is displayed in a fixed position in correspondence with the position of the user's body; and World-stabilized: a display position of information is controlled in correspondence with a position in the real world). Further, Japanese Published Unexamined Patent Application No. 2000-276610 (JP-A-2000-276610) relating to agent display or the like, discloses a system to display a user-friendly agent character. However, in both systems, some heuristics are employed as to CG image display position, and there is no consideration about the case where a target real space area is hidden by a CG image.
Further, a technique to display a particular real object (e.g., a user's hand) as an always-visible object (mask processing technique) is realized by using a chroma key technique or the like. However, the real world changes every second, and the user does not always pay attention to the same real object.
From this situation, generally, in a case where a real-space area to be observed by the user is hidden by a CG image, (1) the user removes an HMD, or if possible, (2) the CG image and video image (images of real world) are selectively displayed, or further, if possible, (3) a virtual object (forming the obstructive CG image) is selected and moved to another position. In the case of (2), because the whole CG image is displayed/not displayed at once, a part of the CG image cannot be selectively displayed. Further, in the case of (3), the operation of “selecting and moving” the virtual object is troublesome.
The present invention has been made in consideration of the problems of the conventional techniques, and has a main object to realize a video combining apparatus for superimposition of a computer-generated image on the real world observed by a user, in which CG image display is not made in a particular real-space area to which the user pays attention with simple setting.
According to an aspect of the present invention, a video combining method for superimposing a virtual image generated by a computer on the real world observed by a user, comprising the steps of: inputting an image obtained by image sensing the real world; inputting position and orientation information of the user's view point; generating a virtual image based on the position and orientation information; extracting a virtual image elimination area of the virtual image; and combining the virtual image with the image obtained by image sensing based on the virtual image elimination area.
According to another aspect of the present invention, a video combining apparatus for superimposing a virtual image generated by a computer on the real world observed by a user, comprising: image input unit adapted to input an image obtained by image sensing the real world; position and orientation information input unit adapted to input position and orientation information of the user's view point; virtual image generation unit adapted to generate a virtual image based on the position and orientation information; elimination area extraction unit adapted to extract a virtual image elimination area of the virtual image; and combining unit adapted to combine the virtual image with the image obtained by image sensing based on the virtual image elimination area.
According to further aspect of the present invention, a video combining method for superimposing a virtual image on a video image of the real world observed by a user, comprising: an image input step of inputting a video image of the real world observed by the user; a position and orientation information input step of inputting position and orientation information of the user's view point; a virtual image generation step of generating a virtual image based on the position and orientation information; a designated area detection step of detecting a predetermined area designated by the user; and a superimposition step of superimposing the virtual image on the video image except a portion corresponding to the area in the video image detected at the designated area detection step.
According to another aspect of the present invention, a computer-readable medium holding program code to realize a video combining method for superimposing a virtual image generated by a computer on the real world observed by a user, by a computer, comprising: process procedure code for inputting an image of the real world obtained by image sensing; process procedure code for inputting position and orientation information of the user's view point; process procedure code for generating a virtual image based on the position and orientation information; process procedure code for extracting a virtual image elimination area; and process procedure code for combining the virtual image with the image obtained by image sensing based on the information on the virtual image elimination area.
According to another aspect of the present invention, a computer-readable medium holding program code to realize a video combining method for superimposing a virtual image on a video image of the real world observed by a user, by a computer, comprising: process procedure code for inputting a video image of the real world observed by the user obtained by image sensing; process procedure code for inputting position and orientation information of the user's view point; process procedure code for generating a virtual image based on the position and orientation information; process procedure code for detecting a predetermined area designated by the user; and process procedure code for superimposing the virtual image on the video image obtained by image sensing except a portion corresponding to the area in the video image detected at the detection process.
Other 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 name or similar parts throughout the figures thereof.
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.
Preferred embodiments of the present invention will now be described in detail in accordance with the accompanying drawings.
An example of a video combining apparatus according to a first embodiment of the present invention is an MR system for auxiliary display of position information and names in correspondence with a landscape viewed by a user wearing a display device.
In the present embodiment, a video see-through HMD capable of position and orientation measurement is employed as the display device. That is, the HMD includes a position and orientation sensor and a camera, and a video image from the user's approximate view point position can be obtained based on position and orientation information (strictly, the position and orientation of the camera) of the user's head.
Further, in the present embodiment, to enable the user's designation of an area on which the user does not want CG image superimposition (a CG elimination area), a user interface (hereinbelow, referred to as a “CG elimination frame”) with markers associated with the CG elimination area is employed. The CG elimination area is extracted from the video image from the user's view point position by extracting a marker provided in the CG elimination frame.
As described later, because the area designated with the frame is obtained with the markers provided in the frame and in the MR system according to this embodiment, the CG image is not superimposed in the area, the image of the real world hidden by the CG image can be seen by the user. In a second embodiment to be described later, the display device is an optical see-through type device, however, the arrangement thereof is the same except that the real world is directly observed through the display device.
In
The color of the frame can be arbitrarily determined, however, considering that generally a fluorescent color or the like not used in real objects is used for the marker for assistance of detection, a color contrastive to the marker is preferably used for the frame. Further, the size of the frame (the size of CG elimination area) is arbitrarily determined, however, if the frame is too large, the CG elimination area is too large and most of the CG image included in the field of view cannot be displayed; on the other hand, if the frame is too small, the position control of the frame becomes difficult. Accordingly, an arbitrarily frame size is set in consideration of general hand length (in consideration of a variable range since the percentage of the frame in the image changes in correspondence with the distance from the camera to the frame).
In this embodiment, an image sensing unit 1 is a camera included in the HMD. The image sensing unit 1 obtains video images of real space observed by the user's right eye and left eye, and outputs the obtained video images as video signals to a video capturing unit 2. Note that for the sake of simplification of explanation, processing for the right eye image and processing for left eye image are not separately described. However, it goes without saying that to generate right eye combined image and left eye combined image to be displayed on the HMD, actually, processing for right eye and processing for left eye are performed.
The video capturing unit 2 converts the video signal inputted from the image sensing unit 1 into signal of format suitable for processing in a video combining unit 6 and a CG elimination area extraction unit 3, and outputs the signal to the video combining unit 6 and the CG elimination area extraction unit 3.
The CG elimination area extraction unit 3 extracts the markers provided in the CG elimination frame from the video images inputted from the video capturing unit 2 and extracts a CG elimination area. The area on the video image is the CG elimination area. Then the CG elimination area extraction unit 3 outputs the extracted CG elimination area to the video combining unit 6.
An image-sensing position and orientation measurement unit 4, included in the HMD in this embodiment, transmits position and orientation information of the image sensing unit 1 to a CG generation unit 5 in accordance with or without a request from the CG generation unit 5. As the image-sensing position and orientation measurement unit 4, a geomagnetic sensor, a gyroscopic or an optical sensor or the like may be utilized.
The CG generation unit 5 obtains the position and orientation information of the image sensing unit 1 from the image-sensing position and orientation measurement unit 4, and estimates the position and image sensing direction of the image sensing unit 1. Since the field of view can be obtained from a lens parameter of the image sensing unit 1 if the position and image sensing direction of the image sensing unit 1 are estimated, the CG generation unit 5 reads data included in the field of view of the image sensing unit 1 from a data unit 7, generates a CG image to be superimposed on the video image obtained by the image sensing unit 1, and outputs the CG image to the video combining unit 6.
The video combining unit 6 reads the video image from the video capturing unit 2, the CG image from the CG generation unit 5, and the CG elimination area from the CG elimination area extraction unit 3. Then the video combining unit 6 combines the CG image from the CG generation unit 5 with the video image from the video capturing unit 2. At this time, the CG image is not drawn in a portion overlapped with the CG elimination area obtained by the CG elimination area extraction unit 3. In this manner, a combined video image where only the CG image is eliminated from the CG elimination area is generated.
In a case where the shape (design) of the CG elimination frame is a magnifying glass or the like, the CG elimination frame having the appearance correspond with its function is more preferable as a user interface. Further, it may be arranged such that instead of restraint of CG image drawing in the CG elimination area, a CG image with high transparency (by controlling an a component value indicating transparency) is drawn or a CG image is blinked in correspondence with the type of the CG elimination frame. The CG image generated by the video combining unit 6 is transmitted to the display unit 8 (HMD in the present embodiment).
The data unit 7 of e.g. a hard disk holds data to be delivered to the CG generation unit 5. As data stored in the data unit 7, text information, panorama video images, three-dimensional CG data and the like are stored. In accordance with a request from the CG generation unit 5, the data unit 7 transmits appropriate data to the CG generation unit 5. For example, if a request for three-dimensional CG data to be displayed in the field of view of the image sensing unit 1 is received from the CG generation unit 5, the data unit 7 sends three-dimensional CG data included in the field of view of the image sensing unit 1 to the CG generation unit 5. Note that the data unit 7 is not limited to a hard disk but any storage medium such as a tape or a memory device can be used as long as it can store data.
The display unit 8 which is an HMD in the present embodiment displays the combined video image signal transmitted from the video combining unit 6. Note that in the MR system of the present embodiment, as in the case of the conventionally-known MR system, the HMD has a right-eye image display unit and a left-eye image display unit. The video combining unit 6 generates a display image for right eye and a display image for left eye and supplies them to the HMD, thereby the user can experience three-dimensional CG image display.
Next, the operation of the MR system as an example of the video combining apparatus according to the present embodiment having the above construction will be described with reference to the flowchart of
First, at step S1, the system is started.
At step S2, a video image is obtained from the image sensing unit 1. The video image is converted to an appropriate format image by the video capturing unit 2, and sent to the video combining unit 6 and the CG elimination area extraction unit 3.
At step S3, the markers are extracted from the video image input in the CG elimination area extraction unit 3, and a CG elimination area is calculated. Then the obtained CG elimination area is sent to the video combining unit 6.
At step S4, the image-sensing position and orientation measurement unit 4 measures the position and orientation of the image sensing unit 1. The measured position and orientation information is sent to the CG generation unit 5.
At step S5, the CG generation unit 5 estimates the field of view of the image sensing unit 1 from the position and orientation information transmitted from the image-sensing position and orientation measurement unit 4, and obtains data in a range included in the field of view of the image sensing unit 1, from the data unit 7.
At step S6, the CG generation unit 5 generates a CG image using the data obtained from the data unit 7, and sends the generated video image to the video combining unit 6.
At step S7, the video combining unit 6 combines the video image transmitted from the video capturing unit 2 with the CG image transmitted from the CG generation unit 5. At this time, the CG image is not combined with the portion of the CG elimination area from the CG elimination area extraction unit 3. Thus a combined video image where the CG image is eliminated from the CG elimination area is generated. The combined video image is sent to the display unit 8.
At step S8, the video image information transmitted from the video combining unit 6 is displayed on the display unit 8.
Thereafter, at step S9, it is checked whether or not the system is ended. If YES, the system is ended at step S10, otherwise, the process returns to step S2 to repeat the above-described processing.
As described above, according to the first embodiment, in an MR system to display, when a user wears the HMD and looks at, e.g., a landscape, position information and names in correspondence with the landscape, even when an object of interest is hidden by CG, the object can be observed by holding the CG elimination frame in a corresponding position.
An example of the video combining apparatus according to a second embodiment of the present invention is a medical assistant system to present an image for a doctor as if the inside of the patient's body is visualized. In this system, an optical see-through HMD is used as the display device since the display resolution of video see-through HMD is limited.
Further, as a user interface to designate the CG elimination area, a stylus is used as a position and orientation information input device.
In the present embodiment, the position and orientation input device is employed as a user interface because:
(1) in the optical see-through HMD, in which generally a camera is not included, different from the video see-through HMD, to realize designation of CG elimination area by image processing (as in the first embodiment), a camera is newly required,
(2) in an operation support system, to enable a doctor to always grasp the status surrounding an affected part of the patient and the positional relation between the affected part and surgical equipments and the like, it is important to measure these positional relations by a sensor or the like and present the information to the doctor in a real-time manner. Accordingly, it is assumed that an environment to perform position and orientation measurement to a certain level of accuracy is provided, and
(3) in a case where an operation is performed utilizing an operation support system, although the peripheral portion of an affected part is displayed by the assistance of CG image,
In consideration of these cases, the ON-OFF button of the stylus can be allocated to ON-OFF of CG elimination area definition.
Further, in a case where a surgical equipment is provided with a position and orientation sensor, CG image display method can be easily selected by simply selecting the “surgical tool with sensor” or a “surgical tool without sensor”.
A head position and orientation measurement unit 14, included in the HMD as the display unit 18 to be described later, transmits head position and orientation information of a user to the CG elimination area extraction unit 13 and the CG generation unit 15 in accordance with or without a request from the CG elimination area extraction unit 13 and the CG generation unit 15. As the head position and orientation measurement unit 14, a geomagnetic sensor, a gyroscopic or optical sensor or the like may be utilized.
A stylus state detection unit 19 obtains stylus information (position, orientation, button ON/OFF state and the like) from a stylus 20, and in accordance with or without a request from the CG elimination area extraction unit 13, transmits the information to the CG elimination area extraction unit 13.
The CG elimination area extraction unit 13 calculates a CG elimination area from the position and orientation data inputted from the head position and orientation measurement unit 14 and the stylus information inputted from the stylus state detection unit 19. As described above, in the present embodiment, an end position of the stylus on an image plane and the orientation of the stylus to the image plane can be calculated from the position and orientation of the head and the position and orientation of the stylus. An elliptic area (ellipticity is determined from the information on the orientation of the stylus to the image plane) spread on the image plane from the end of the stylus is defined as a CG elimination area. The CG elimination area extraction unit 13 outputs the extracted CG elimination area to a video combining unit 16.
The CG generation unit 15 inputs the head position and orientation information from the head position and orientation measurement unit 14 and estimates the position and direction of the head. As the field of view of the user can be obtained if the position and orientation are estimated, the CG generation unit 15 inputs data corresponding to a portion included in the field of view of the user from a data unit 17, generates a CG image overlapped with the field of view of the user, and outputs it to the video combining unit 16.
The video combining unit 16 reads the CG image from the CG generation unit 15 and the CG elimination area from the CG elimination area extraction unit 13. Then the video combining unit 16 processes the CG image based on the CG elimination area data from the CG elimination area extraction unit 13, and transmits the CG image to the display unit 18.
The data unit 17 of e.g. a hard disk holds data to be delivered to the CG generation unit 15. As data stored in the data unit 17, text information, panorama video images, three-dimensional CG data and the like are stored. In accordance with a request from the CG generation unit 15, the data unit 17 transmits appropriate data to the CG generation unit 15. For example, if a request for three-dimensional CG data to be displayed in the field of view of the user is received from the CG generation unit 15, the data unit 17 sends three-dimensional CG data included in the field of view of the user to the CG generation unit 15. Note that the data unit 17 is not limited to a hard disk but any storage medium such as a tape or a memory can be used as long as it can store data.
The display unit 18 here is an optical see-through HMD. The display unit 18 displays the video image signal transmitted from the video combining unit 16 so that the video image overlaps on the real world seen through a half mirror by, e.g., projecting the video image signal on the half mirror.
Next, the operation of the MR system as an example of the video combining apparatus according to the second embodiment having the above construction will be described with reference to the flowchart of
First, at step S11, the system is started.
At step S12, the stylus state detection unit 19 detects the state of the stylus. The detected information is sent to the CG elimination area extraction unit 13.
At step S13, the head position and orientation measurement unit 14 measures the position and orientation of the user. The measured position and orientation information is sent to the CG elimination area extraction unit 13 and the CG generation unit 15.
At step S14, The CG generation area extraction unit 13 calculates a CG elimination area based on the stylus position and orientation information inputted from the stylus state detection unit 19 and the head position and orientation information inputted from the head position and orientation measurement unit 14. The CG elimination area is sent to the video combining unit 16.
At step S15, the CG generation unit 15 estimates the field of view of the user from the head position and orientation information transmitted from the head position and orientation measurement unit 14, and obtains data in a range included in the field of view of the user, from the data unit 17.
At step S16, the CG generation unit 15 generates a CG image using the data obtained from the data unit 17, and sends the generated video image to the video combining unit 16.
At step S17, the video combining unit 16 processes the CG image transmitted from the CG generation unit 15 based on the CG elimination area data from the CG elimination area extraction unit 13 (the CG image is not drawn in a portion of the CG elimination area transmitted from the CG elimination area extraction unit 13). The video image is sent to the display unit 18.
At step S18, the video image information transmitted from the video combining unit 16 is displayed on the display unit 18 as an optical see-through HMD, thereby the user recognizes the CG image superimposed in real space.
Thereafter, at step S19, it is checked whether or not the system is ended. If YES, the system is ended, otherwise, the process returns to step S12 to repeat the above-described processing.
As described above, according to the second embodiment, in a case where an operation is performed utilizing an operation support system, CG image display very near the hands or CG image display not made very near the hands can be easily selected.
In the video combining apparatus according to the first embodiment, the frame as shown in
The feature of the present embodiment is that a CG elimination area can be designated with not the frame but a user's hands in the video combining apparatus according to the first embodiment.
More particularly, an area surrounded with the user's hands (hatched area) as shown in
When the user observes a superimposed image as shown in
The video combining apparatus of the present embodiment has a construction to extract the area of the user's hand(s) from a video image from the user's view point position such that the hand(s) is always visible, and perform mask processing of not drawing a CG image in the area (visualizing an object which is hidden by the CG image in the user's sight). This construction to perform the mask processing is realized by using e.g. a chroma key technique proposed in Japanese Published Unexamined Patent Application No. 2002-95535.
Generally, as the mask processing on the hand includes a process of extraction of the area of the user's hand(s), the internal area of the hand(s) can be easily extracted from a video image from the user's view point.
That is, the video combining apparatus of the present embodiment can be realized only by adding processing of extracting the internal area of the hand(s) (the hatched area in
As described later, the area of the user's hand(s) is extracted from the video image from the user's view point position, and further, the hand internal area (eye hole area) is extracted, thereby a designated area is obtained.
The extraction of the user's hand area in the video image from the user's view point and the restraint of drawing in the hand internal area solve the problem that the hand(s) positioned in the user's sight is hidden by the CG image, and further, enable clear visualization of a predetermined area in real space without obstruction of a CG image. Thus, in the present embodiment, processing is simplified by handling the hand area and the hand internal area as a CG elimination area.
It may be arranged such that the hand area is handled separately from the CG elimination area (the hand internal area). In this case, a flesh color portion is extracted as a hand area, and its internal area is detected as a CG elimination area. At this time, for the purpose of easy extraction of hand area, it may be arranged such that the user wears a blue glove, then a blue area is extracted as a hand area and a flesh color CG image is combined with the hand area, and a CG image is not displayed in the CG elimination area.
That is, the CG elimination area extraction unit 3′ extracts a hand area and an area surrounded with the hand area (hand internal area) from a video image inputted from the video capturing unit 2 and data on hand area extraction from the data unit 7 (for example, data defining the above-described particular color), if necessary. The CG elimination area extraction unit 3′ extracts at least the hand internal area as a CG elimination area, and outputs the extracted CG elimination area to the video combining unit 6.
The image-sensing position and orientation measurement unit 4 is included in the HMD. In accordance with or without a request from the CG generation unit 5, the image-sensing position and orientation measurement unit 4 transmits the position and orientation information of the image sensing unit 1 to the CG generation unit 5. As the image-sensing position and orientation measurement unit 4, a geomagnetic sensor, a gyroscopic or optical sensor or the like may be utilized.
The CG generation unit 5 obtains the position and orientation information of the image sensing unit 1 from the image-sensing position and orientation measurement unit 4, and estimates the position and image sensing direction of the image sensing unit 1. As the field of view can be obtained from a lens parameter of the image sensing unit 1 if the position and image sensing direction of the image sensing unit 1 are estimated, the CG generation unit 5 reads data included in the field of view of the image sensing unit 1 from a data unit 7, generates a CG image to be combined with the video image obtained by the image sensing unit 1, and outputs the CG image to the video combining unit 6.
The video combining unit 6 reads the video image from the video capturing unit 2, the CG image from the CG generation unit 5, and the CG elimination area from the CG elimination area extraction unit 3. Then the video combining unit 6 combines the CG image from the CG generation unit 5 with the video image from the video capturing unit 2. At this time, the CG image is not drawn in a portion overlapped with the CG elimination area obtained by the CG elimination area extraction unit 3. In this manner, a combined video image where only the CG image is eliminated from the CG elimination area is generated.
Further, it may be arranged such that in stead of restraint of drawing the CG image in the CG elimination area, but a CG image with high transparency (by controlling an a component value indicating transparency) is drawn or a CG image is flash-drawn in correspondence with the type of the CG elimination frame. The CG image generated by the video combining unit 6 is transmitted to the display unit 8 (HMD in the present embodiment).
The data unit 7 of e.g. a hard disk holds data to be delivered to the CG generation unit 5 and the CG elimination area extraction unit 3′. As data stored in the data unit 7, text information, panorama video images, three-dimensional CG data, further, data necessary for extraction of particular area such as a hand area or a hand internal area (data defining a particular color or the like), and the like, are stored.
In accordance with a request from the CG generation unit 5, the data unit 7 transmits appropriate data to the CG generation unit 5. For example, if a request for three-dimensional CG data to be combined in the field of view of the image sensing unit 1 is received from the CG generation unit 5, the data unit 7 sends three-dimensional CG data included in the field of view of the image sensing unit 1 to the CG generation unit 5.
Further, in accordance with a request from the CG elimination area extraction unit 3′, the data unit 7 transmits appropriate data to the CG elimination area extraction unit 3′.
The display unit 8 which is an HMD in the present embodiment displays the combined video image signal transmitted from the video combining unit 6. Note that in the MR system of the present embodiment, as in the case of the conventionally-known MR system, the HMD has a right-eye image display unit and a left-eye image display unit. The video combining unit 6 generates a display image for right eye and a display image for left eye and supplies them to the HMD, thereby the user can experience three-dimensional CG image display.
Next, the operation of the MR system as an example of the video combining apparatus according to the third embodiment having the above construction will be described with reference to the flowchart of
First, at step S1, the system is started.
At step S2, a video image is obtained from the image sensing unit 1. The video image is converted to an appropriate format image by the video capturing unit 2, and sent to the video combining unit 6 and the CG elimination area extraction unit 3.
At step S3′, the image-sensing position and orientation measurement unit 4 measures the position and orientation of the image sensing unit 1. The measured position and orientation information is sent to the CG generation unit 5.
At step S4′, a CG elimination area is calculated from the video image inputted into the CG elimination area extraction unit 3′.
Next, the details of step S4′ which is a characteristic step of the present embodiment will be described with reference to the flowchart of
First, an example of step S4′ will be described about a case where a hand area is extracted by using image processing to extract a particular color.
At step S4a-1, the CG elimination area extraction unit 3′ reads data on a hand area, if necessary, from the data unit 7. As the data on a hand area, information on flesh color of the hand or the like is used. Generally, the data on hand area is read at once, however, in a case where the position of a light source changing in a real time manner is measured and flesh color data is required in correspondence with the changing light source position, the step is necessary.
At step S4a-2, a hand area is extracted from the video image input in the CG elimination area extraction unit 3′ from the data on the hand area.
At step S4a-3, an internal area of the hand area on the video image is extracted.
AT step S4a-4, the hand area and the internal area of the hand area on the video image are extracted as a CG elimination area.
It may be arranged such that step S4 is implemented using any other hand area extraction method in hand mask processing than the above processing.
The calculated CG elimination area is sent to the video combining unit 6.
At step S5, the CG generation unit 5 estimates the field of view of the image sensing unit 1 from the position and orientation information transmitted from the image-sensing position and orientation measurement unit 4, and obtains data in a range included in the field of view of the image sensing unit 1, from the data unit 7.
At step S6, the CG generation unit 5 generates a CG image using the data obtained from the data unit 7, and sends the generated video image to the video combining unit 6.
At step S7, the video combining unit 6 combines the video image transmitted from the video capturing unit 2 with the CG image transmitted from the CG generation unit 5. At this time, the CG image is not combined with the portion of the CG elimination area from the CG elimination area extraction unit 3. Thus a combined video image where the CG image is eliminated from the CG elimination area is generated. The combined video image is sent to the display unit 8.
At step S8, the video image information transmitted from the video combining unit 6 is displayed on the display unit 8.
Thereafter, at step S9, it is checked whether or not the system is ended. If YES, the system is ended at step S10, otherwise, the process returns to step S2 to repeat the above-described processing.
As described above, according to the third embodiment, in an MR system to display, when a user wears the HMD and looks at e.g. a landscape, position information and names in correspondence with the landscape, even if an object of interest is hidden by a CG image, the object can be observed by forming an eye hole with the user's hand(s) in a corresponding position.
In the above-described first and second embodiments, the HMD is employed as a display unit, however, the present invention is applicable to a head up display (HUD) optical see-through AR system as disclosed in Japanese Published Unexamined Patent Application No. 10-051711, in which a superimposed image is generated in correspondence with a display device and a view point position.
Further, in the second embodiment, the optical see-through HMD is employed, however, the second embodiment is applicable to a system using a video see-through HMD as described in the first embodiment.
Further, in the third embodiment, a CG elimination area is designated utilizing mask processing without any tool such as a frame, however, mask processing can be utilized even in designation of CG elimination area using a frame as shown in
In this case, the frame is not necessarily provided with markers. Further, the particular color of the frame is not limited to a flesh color but may be blue, red or any color, however, it is preferable that the color is not included in a background color.
Further, in the third embodiment, a hand area is extracted by utilizing mask processing, however, the hand area may be extracted by other processing than the mask processing. For example, it may be arranged such that the user wears a glove provided with plural position sensors, and the hand area is extracted from outputs from the sensors.
Next, the processing at CG elimination area extraction step S4′ to extract a hand area by the above method will be described with reference to the flowchart of
At step S4b-1, the position of the hand is measured.
At step S4b-2, a hand area on a video image from the view point position of the user is calculated from the measured hand position information and view-point position information of the user.
At step S4b-3, an internal area of the hand area on the video image from the view point position of the user is extracted.
At step S4b-4, a CG elimination area is calculated from the hand area and the internal area of the hand area on the video image from the view point position of the user.
Thereafter, the processing at step S5 and the subsequent steps is performed.
Note that in addition to the above-described embodiments, the present invention includes a case where a software program to realize the functions of the above-described embodiments is supplied directly from a recording medium or via cable/radio communication to a system or apparatus having a computer capable of execution of the program, and the computer of the system or apparatus executes the supplied program thereby achieves equivalent functions.
Accordingly, to realize the functional processing of the present invention, the program code itself supplied and installed into the computer realizes the present invention. That is, the computer program itself to realize the functional processing of the present invention is included in the present invention.
In this case, the program having any form such as object code, an interpreter-executable program and script data supplied to an OS, can be employed as long as it has a program function.
Further, the storage medium, such as a flexible disk, a hard disk, a magnetic recording medium such as a magnetic tape, an optical/magneto-optical storage medium such as an MO, a CD-ROM, a CD-R, a CD-RW, a DVD-ROM, a DVD-R and a DVD-RW, a nonvolatile semiconductor memory, and the like, can be used for providing the program code.
As a method for supplying the program by cable/radio communication, a data file (program data file) of a computer program itself or a compressed file having automatic installation function, which can be a computer program forming the present invention on a client computer, is stored on a server on a computer network, and the program data file is downloaded to a connected client computer. In this case, the program data file may be divided into plural segment files and stored on different servers.
That is, the server apparatus for downloading the program data file to realize the functional processing of the present invention to plural users is included in the present invention.
Further, the program of the present invention may be encrypted and stored on a storage medium such as a CD-ROM delivered to users, such that a user who satisfied a predetermined condition is allowed to download key information to decryption from a homepage via e.g. the Internet, then the program is decrypted with the key information and installed into a computer, thereby the present invention is realized.
Further, besides the above-described functions of the above embodiments are realized by executing the read program by a computer, the present invention includes a case where an OS or the like working on the computer performs a part or entire actual processing in accordance with designations of the program code and realizes the functions of the above embodiments.
Further, the present invention also includes a case where, after the program code read from the storage medium is written in a function expansion card which is inserted into the computer or in a memory provided in a function expansion unit which is connected to the computer, CPU or the like contained in the function expansion card or unit performs a part or entire process in accordance with designations of the program code and realizes the functions of the above embodiments.
According to the present invention, in an MR system to superimpose a CG image on real space, if a real space portion to be observed is hidden by the CG image, an area where the CG image is not to be displayed is simply designated and the CG image in the area is partially not displayed (deleted), thereby real space of interest can be observed.
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 embodiments thereof except as defined in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2002-287054 | Sep 2002 | JP | national |
2003-204813 | Jul 2003 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4270848 | Angenieux | Jun 1981 | A |
5319747 | Gerrissen et al. | Jun 1994 | A |
5765561 | Chen et al. | Jun 1998 | A |
5790104 | Shieh | Aug 1998 | A |
6002808 | Freeman | Dec 1999 | A |
6084557 | Ishida et al. | Jul 2000 | A |
6084594 | Goto | Jul 2000 | A |
6181302 | Lynde | Jan 2001 | B1 |
6184932 | Tanaka | Feb 2001 | B1 |
6317128 | Harrison et al. | Nov 2001 | B1 |
6346929 | Fukushima et al. | Feb 2002 | B1 |
RE37668 | Etoh | Apr 2002 | E |
6559813 | DeLuca et al. | May 2003 | B1 |
6559870 | Anabuki et al. | May 2003 | B1 |
6690960 | Chen et al. | Feb 2004 | B2 |
6741223 | Kobayashi et al. | May 2004 | B2 |
6771294 | Pulli et al. | Aug 2004 | B1 |
6803928 | Bimber et al. | Oct 2004 | B2 |
6850252 | Hoffberg | Feb 2005 | B1 |
7046263 | Abbott et al. | May 2006 | B1 |
7055101 | Abbott et al. | May 2006 | B2 |
7058893 | Abbott et al. | Jun 2006 | B2 |
7058894 | Abbott et al. | Jun 2006 | B2 |
7062715 | Abbott et al. | Jun 2006 | B2 |
7073129 | Robarts et al. | Jul 2006 | B1 |
7076737 | Abbott et al. | Jul 2006 | B2 |
7080322 | Abbott et al. | Jul 2006 | B2 |
7089497 | Abbott et al. | Aug 2006 | B2 |
7107539 | Abbott et al. | Sep 2006 | B2 |
7137069 | Abbott et al. | Nov 2006 | B2 |
7155456 | Abbott et al. | Dec 2006 | B2 |
7167779 | Kashiwada et al. | Jan 2007 | B2 |
7203906 | Abbott et al. | Apr 2007 | B2 |
7225229 | Abbott et al. | May 2007 | B1 |
20010000435 | Tanaka | Apr 2001 | A1 |
20010005218 | Gloudemans et al. | Jun 2001 | A1 |
20020044152 | Abbott et al. | Apr 2002 | A1 |
20020186228 | Kobayashi et al. | Dec 2002 | A1 |
20030012409 | Overton et al. | Jan 2003 | A1 |
20030029464 | Chen et al. | Feb 2003 | A1 |
20030032876 | Chen et al. | Feb 2003 | A1 |
20030081235 | Tanaka et al. | May 2003 | A1 |
20030081237 | Ogiwara et al. | May 2003 | A1 |
20030081251 | Tanaka et al. | May 2003 | A1 |
20030154476 | Abbott et al. | Aug 2003 | A1 |
20040068758 | Daily et al. | Apr 2004 | A1 |
20040070611 | Tanaka et al. | Apr 2004 | A1 |
20040139156 | Matthews et al. | Jul 2004 | A1 |
20050027186 | Chen et al. | Feb 2005 | A1 |
20060277474 | Robarts et al. | Dec 2006 | A1 |
Number | Date | Country |
---|---|---|
0 772 350 | May 1997 | EP |
10-051711 | Feb 1998 | JP |
2000-95535 | Apr 2000 | JP |
2000-101898 | Apr 2000 | JP |
2000-276610 | Oct 2000 | JP |
2002-269593 | Sep 2002 | JP |
0215110 | Feb 2002 | WO |
Number | Date | Country | |
---|---|---|---|
20040070611 A1 | Apr 2004 | US |