Plaque It!
Sponsored by: Flash of Genius |
[0001] The present invention relates to an image processing apparatus, image processing method, studio apparatus, storage medium, and program for processing a real image and CG (computer graphics) image.
[0002] A method of extracting a portion of a real image, and superimposing it on a CG image (or superimposing a CG image on a portion where a real image is cut) is available, and is roughly classified into a chromakey method, rotoscoping method, difference matching method, and the like depending on the way a real image is extracted.
[0003] In the chromakey method, image input is made using a blueback (an object is image inputted in front of a uniform blue or green wall as a background), and a region other than the background color is automatically extracted.
[0004] Referring to
[0005] In the studio
[0006] In the rotoscoping method, a image region including an object image is extracted manually.
[0007] In the difference matching method, a image including an object image is taken first while recording a image input condition, a image which does not include any object image is then taken while reproducing the recorded image input condition (i.e., under the same image input condition as that for the first image), and a difference region between the two images is automatically extracted.
[0008] As a technique for solving problems of these prior arts, Japanese Patent Laid-Open No. 2000-23037 has been proposed. In Japanese Patent Laid-Open No. 2000-23037, three-dimensional (3D) information of an object during image inputting is measured, a CG image is composited based on the measured 3D information, and a composite image is displayed, so that a performer can act in a image input site or a CG character can be animated while observing the composite image.
[0009] As another technique for solving problems of these prior arts, a method using a motion-controlled camera has been proposed. In this method, image input parameters (the position, direction, zoom ratio, focus value, and the like of a camera as image input means) for respective image input times are determined in accordance with a scenario created in advance, and image input is made while moving the camera according to the image input parameters for respective times. On the other hand, since a CG image is created according to the scenario, actions of a real image can accurately match those of the CG image.
[0010] As a technique for solving problems of some prior art including the method using the motion-controlled camera in terms of creation of virtual reality, Japanese Patent Laid-Open No. 10-208073 has been proposed. In Japanese Patent Laid-Open No. 10-208073, a camera is attached to a moving robot, and a CG image is superimposed on a real image in correspondence with the movement of the moving robot, so that the actions of the real image can be easily synchronized with those of the CG image. For example, when a CG character is rendered to occlude the real image of another moving robot, if a performer and moving robot act interactively, they appear to act interactively in a composite image.
[0011] As an applied system that composites a real image and CG image, for example, Japanese Patent Laid-Open Nos. 11-309269 and 11-88913 have been proposed. In these references, a real image is used as a background, and a CG image or the like is superimposed on that background, thus compositing the real image and CG image.
[0012] Furthermore, as the use pattern of images taken in this way, experiments of interactive television systems using the Internet have been extensively made.
[0013] However, Japanese Patent Laid-Open No. 2000-23037 mentioned above suffers the following problems. •Since no moving means of the image input means (camera) is provided, free camerawork cannot be made. •Since a composite image is generated at the viewpoint of a performer, the performer can hardly recognize the distance between himself or herself and a CG character. Therefore, it is difficult to synchronize the actions of the performer and CG character. •Since a composite image is not displayed in front of the eyes of the performer, it is difficult for the performer to act while observing the composite image. Therefore, it is difficult to synchronize the actions of the performer and CG character.
[0014] Also, Japanese Patent Laid-Open No. 10-208073 suffers the following problems. •Since the performer indirectly recognizes the presence of a CG character via a mark such as a moving robot or the like, even when the CG character is laid out at a position where no mark is present, the performer cannot notice the CG character. Also, even when the CG character expresses actions that the mark cannot express, the performer cannot notice such actions. •Since no 3D information of an object during image inputting is measured, and since the position, size, and shape of a CG character which is to be virtually laid out in a real world are not calculated, even when portions of the object and CG character collide each other in a composite image, such collision cannot be detected (although collision between an object and moving robot can be detected, the sizes and shapes of the moving robot and CG character do not always match). Therefore, even when the object must be displayed in front of the CG character in the composite image, the CG character may be rendered in front of the object.
[0015] In the method using the blueback
[0016] In Japanese Patent Laid-Open Nos. 11-309269 and 11-88913 mentioned above, when the relationship between a real image and image to be composited is fixed, positional deviations between the images are negligible. However, when a performer, camera, virtual object, and the like move largely and intricately, it is difficult to obtain an accurate composite image.
[0017] On the other hand, in recent years, upon development of head-mounted displays, wearable computers, and the like, a performer can act while observing a composite image in real time. However, practical user services using such devices have not been proposed yet.
[0018] In interactive television experiments conducted so far, viewer participation in terms of camerawork and scenario development have been examined. However, in such experiments, performers cannot directly see virtual characters that serve as viewers. For this reason, interactions between the viewers and performers are limited considerably.
[0019] The present invention has been made in consideration of the above problems, and has as its first object to provide an image processing method, image processing apparatus, storage medium, and program, which can remove the boundary between a real world and virtual world.
[0020] It is the second object of the present invention to provide an image processing method, image processing apparatus, and studio apparatus, which can remove unnatural actions and can increase the degree of freedom in action, and allow a performer to simultaneously experience a situation in which a viewer in home participates via the Internet so as to allow cooperation and interaction between the viewer's home and studio.
[0021] Conventionally, upon shooting a movie or television program, a performer may often wear costumes that cover his or her whole body so as to act as various characters in accordance with a scenario.
[0022] In this case, the size of such costume strongly depends on that of the performer, and it is impossible for the performer to act as an extremely large character or a character whose size, material, shape, and the like change according to the progress of a scenario.
[0023] Even when only the performer is image inputted in another studio using an MR technique, since the performer does not exist at a given site or there are no obstacles of a real studio setting, a sense of reality impairs for the performer who wears a costume and a co-performer.
[0024] When the performers and characters that those performers act have nearly a constant size ratio, they can act together. However, if image input is made in another studio, actions themselves become very difficult.
[0025] This is also apparent from the fact that swords do not collide against each other in a real space upon flight with a character in costume.
[0026] Furthermore, when a performer wears an actual costume, the physical characteristics of the costume are largely influenced by its material.
[0027] In addition, since an actual costume is heavy, quick actions of a character are limited.
[0028] A performer who wears a costume normally feels muggy. Such feeling imposes a heavy load on the performer, and it is difficult to continue image input for a long period of time.
[0029] The present invention has been made in consideration of the above problems, and has as its third object to provide an image processing method, image processing apparatus, storage medium, and program, which allow a performer to act as a character which is extremely larger than the performer or a character whose size, color, and shape change in accordance with progress of a scenario, can provide a sense of reality to a performer who wears a costume, and another performer who acts together with that performer, can freely set the physical characteristics of a character in costume, can relax limitations on quick actions of a character in a real costume, can reduce the load on the performer due to an actual muggy costume, and can relax difficulty in image input for a long period of time.
[0030] In order to achieve the first object, an image processing method cited in claim 1 of the present invention comprises a image input step of taking an image using image input means, a image input parameter of which is controllable, a image input parameter acquisition step of acquiring the image input parameter, a CG data management step of managing CG (computer graphics) data, a CG geometric information calculation step of calculating CG geometric information upon virtually laying out the CG data in a real world, a CG image generation step of generating a CG image from a viewpoint of the image input means, a image composition step of compositing a real image and the CG image, and a image input parameter control step of changing the image input parameter using the image input parameter and the CG geometric information.
[0031] In order to achieve the first object, an image processing apparatus cited in claim 12 of the present invention comprises a image input means, a image input parameter of which is controllable, a image input parameter acquisition means that acquires the image input parameter, a CG data management means that manages CG (computer graphics) data, a CG geometric information calculation means that calculates CG geometric information upon virtually laying out the CG data in a real world, a CG image generation means that generates a CG image from a viewpoint of the image input means, a image composition means that composites a real image and the CG image, and a image input parameter control means that changes the image input parameter using the image input parameter and the CG geometric information.
[0032] In order to achieve the second object, an image processing method cited in claim 13 of the present invention comprises a image input step of image inputting an image using image input means, a studio set step of forming a background, a display step of displaying an image using display means that a staff member associated with an image process wears, a first measurement step of measuring a image input parameter of the image input means, a second measurement step of measuring a display parameter of the display means, a CG data management step of managing CG (computer graphics) data, a first CG image generation step of generating a CG image from a viewpoint of the image input means, a image composition step of compositing an image taken by the image input means, and the CG image generated in the first CG image generation step, a second CG image generation step of generating a CG image from a viewpoint of the display means, a image superimpose step of superimposing the CG image on a real space that can be seen from the display means, a image broadcast step of broadcasting an image composited in the image composition step, a viewer information management step of managing viewer information, a scenario management step of setting the viewer information in a portion of a scene, and a prohibited region processing step of controlling a range in which a CG object is present.
[0033] In order to achieve the second object, an image processing apparatus cited in claim 25 of the present invention comprises a image input means that image input an image, a studio set means that forms a background, a display means, worn by a staff member associated with an image process, for displaying an image, a first measurement means that measures a image input parameter of the image input means, a second measurement means that measures a display parameter of the display means, a CG data management means that manages CG (computer graphics) data, a first CG image generation means that generates a CG image from a viewpoint of the image input means, a image composition means that composites an image taken by the image input means, and the CG image generated by the first CG image generation means, a second CG image generation means that generates a CG image from a viewpoint of the display means, a image superimpose means that superimposes the CG image on a real space that can be seen from the display means, a image broadcast means that broadcastes an image composited by the image composition means, a viewer information management means that manages viewer information, a scenario management means that sets the viewer information in a portion of a scene, and a prohibited region processing means that controls a range in which a CG object is present.
[0034] In order to achieve the second object, a studio apparatus cited in claim 26 of the present invention equips an image processing apparatus cited in claim 25.
[0035] In order to achieve the first object, a storage medium cited in claim 27 of the present invention is a storage medium that stores a computer-readable control program for controlling an image processing apparatus for processing a real image and a CG (computer graphics) image, comprising a program code for making a computer execute, a image input step of taking an image using image input means, a image input parameter of which is controllable, a image input parameter acquisition step of acquiring the image input parameter, a CG data management step of managing CG (computer graphics) data, a CG geometric information calculation step of calculating CG geometric information upon virtually laying out the CG data in a real world, a CG image generation step of generating a CG image from a viewpoint of the image input means, a image composition step of compositing a real image and the CG image, and, a image input parameter control step of changing the image input parameter using the image input parameter and the CG geometric information.
[0036] In order to achieve the second object, a storage medium cited in claim 28 of the present invention is a storage medium that stores a computer-readable control program for controlling an image processing apparatus for processing a real image and a CG (computer graphics) image, comprising a program code for making a computer execute, a image input step of image inputting an image using image input means, a studio set step of forming a background, a display step of displaying an image using display means that a staff member associated with an image process wears, a first measurement step of measuring a image input parameter of the image input means, a second measurement step of measuring a display parameter of the display means, a CG data management step of managing CG (computer graphics) data, a first CG image generation step of generating a CG image from a viewpoint of the image input means, a image composition step of compositing an image taken by the image input means, and the CG image generated in the first CG image generation step, a second CG image generation step of generating a CG image from a viewpoint of the display means, a image superimpose step of superimposing the CG image on a real space that can be seen from the display means, a image broadcast step of broadcasting an image composited in the image composition step, a viewer information management step of managing viewer information, a scenario management step of setting the viewer information in a portion of a scene, and, a prohibited region processing step of controlling a range in which a CG object is present.
[0037] In order to achieve the first object, a program cited in claim 29 of the present invention is a computer-readable control program for controlling an image processing apparatus for processing a real image and a CG (computer graphics) image, comprising a program code for making a computer execute, a image input step of taking an image using image input means, a image input parameter of which is controllable, a image input parameter acquisition step of acquiring the image input parameter, a CG data management step of managing CG (computer graphics) data, a CG geometric information calculation step of calculating CG geometric information upon virtually laying out the CG data in a real world, a CG image generation step of generating a CG image from a viewpoint of the image input means, a image composition step of compositing a real image and the CG image, and, a image input parameter control step of changing the image input parameter using the image input parameter and the CG geometric information.
[0038] In order to achieve the second object, a program cited in claim 30 of the present invention is a computer-readable control program for controlling an image processing apparatus for processing a real image and a CG (computer graphics) image, comprising a program code for making a computer execute, a image input step of image inputting an image using image input means, a studio set step of forming a background, a display step of displaying an image using display means that a staff member associated with an image process wears, a first measurement step of measuring a image input parameter of the image input means, a second measurement step of measuring a display parameter of the display means, a CG data management step of managing CG (computer graphics) data, a first CG image generation step of generating a CG image from a viewpoint of the image input means, a image composition step of compositing an image taken by the image input means, and the CG image generated in the first CG image generation step, a second CG image generation step of generating a CG image from a viewpoint of the display means, a image superimpose step of superimposing the CG image on a real space that can be seen from the display means, a image broadcast step of broadcasting an image composited in the image composition step, a viewer information management step of managing viewer information, a scenario management step of setting the viewer information in a portion of a scene, and, a prohibited region processing step of controlling a range in which a CG object is present.
[0039] In order to achieve the third object, an image processing method cited in claim 31 of the present invention comprises a tracking step of measuring a position/posture of an object such as a performer or the like, and, an affecting CG data step of reflecting the position/posture obtained in the tracking step in CG (computer graphics) data to be superimposed on an image of the object.
[0040] In order to achieve the third object, an image processing apparatus cited in claim 32 of the present invention comprises a tracking means that measures a position/posture of an object such as a performer or the like, and, an affecting CG data means that reflects the position/posture obtained by the tracking means in CG (computer graphics) data to be superimposed on an image of the object.
[0041] In order to achieve the third object, an image processing method cited in claim 33 of the present invention is an image processing method for measuring a position/posture of an object such as a performer or the like, and reflecting the measured position/posture in CG (computer graphics) data to be superimposed on an image of the object to display the CG data on display means, comprising, a image input step of image inputting the object using image input means, a CG image generation step of generating a CG image from a viewpoint of the image input means on the basis of a image input parameter of the image input means and a display parameter of the display means, a image composition step of compositing a real image of the object taken by the image input means with the CG image generated in the CG image generation step, and displaying a composite image on the display means, and, a prohibited region processing step of limiting in the image composition step a range in which the CG image is present.
[0042] In order to achieve the third object, an image processing apparatus cited in claim 40 of the present invention is an image processing apparatus for measuring a position/posture of an object such as a performer or the like, and reflecting the measured position/posture in CG (computer graphics) data to be superimposed on an image of the object to display the CG data on display means, comprising, image input means that image input the object, CG image generation means that generates a CG image from a viewpoint of the image input means on the basis of a image input parameter of the image input means and a display parameter of the display means, image composition means that composites a real image of the object taken by the image input means with the CG image generated by the CG image generation means, and displaying a composite image on the display means, and, prohibited region processing means that limits in an image composition process of the image composition means a range in which the CG image is present.
[0043] In order to achieve the third object, a storage medium cited in claim 41 of the present invention is a storage medium that stores a computer-readable control program for controlling an image processing apparatus for processing a real image and a CG (computer graphics) image, comprising a program code for making a computer execute a tracking step of measuring a position/posture of an object such as a performer or the like, and, an affecting CG data step of reflecting the position/posture obtained in the tracking step in CG (computer graphics) data to be superimposed on an image of the object.
[0044] In order to achieve the third object, a storage medium cited in claim 42 of the present invention is a storage medium that stores a computer-readable control program for controlling an image process for measuring a position/posture of an object such as a performer or the like, and reflecting the measured position/posture in CG (computer graphics) data to be superimposed on an image of the object to display the CG data on display means in an image processing apparatus for processing a real image and a CG (computer graphics) image, comprising a program code for making a computer execute a image input step of image inputting the object using image input means, a image generation step of generating a CG image from a viewpoint of the image input means on the basis of a image input parameter of the image input means and a display parameter of the display means, a image composition step of compositing a real image of the object taken by the image input means with the CG image generated in the CG image generation step, and displaying a composite image on the display means, and, a prohibited region processing step of limiting in the image composition step a range in which the CG image is present.
[0045] In order to achieve the third object, a program cited in claim 44 of the present invention is a computer-readable control program for controlling an image processing apparatus for processing a real image and a CG (computer graphics) image, comprising a program code for making a computer execute a tracking step of measuring a position/posture of an object such as a performer or the like, and, an affecting CG data step of reflecting the position/posture obtained in the tracking step in CG (computer graphics) data to be superimposed on an image of the object.
[0046] In order to achieve the third object, a program cited in claim 45 of the present invention is a computer-readable control program for controlling an image process for measuring a position/posture of an object such as a performer or the like, and reflecting the measured position/posture in CG (computer graphics) data to be superimposed on an image of the object to display the CG data on display means in an image processing apparatus for processing a real image and a CG (computer graphics) image, comprising a program code for making a computer execute a image input step of image inputting the object using image input means, a CG image generation step of generating a CG image from a viewpoint of the image input means on the basis of a image input parameter of the image input means and a display parameter of the display means, a image composition step of compositing a real image of the object taken by the image input means with the CG image generated in the CG image generation step, and displaying a composite image on the display means, and, a prohibited region processing step of limiting in the image composition step a range in which the CG image is present.
[0047] 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 or similar parts throughout the figures thereof.
[0048] 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.
[0049]
[0050]
[0051]
[0052]
[0053]
[0054]
[0055]
[0056]
[0057]
[0058]
[0059]
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
[0074]
[0075]
[0076]
[0077] Preferred embodiments of the present invention will now be described in detail in accordance with the accompanying drawings.
[0078] The first embodiment of the present invention will be described below with reference to
[0079]
[0080] In
[0081] The image input device
[0082] The moving device
[0083] The position/posture sensor
[0084] The distance sensor
[0085] The position/posture sensor
[0086] The control command input device
[0087] The data processor
[0088] In this embodiment, CG geometric information is calculated in the CG image generation process. Therefore, the CG geometric information calculation unit
[0089] The CG data management unit
[0090] The CG image generator
[0091] The CG image generator
[0092] The CG image generator
[0093] The moving device controller
[0094] The HMD
[0095] The image composition device
[0096] Normally, the image display device
[0097] Note that the operator of the control command input device
[0098] In such case, a device that combines control commands received from a plurality of control command input devices
[0099]
[0100] Referring to
[0101] The image input device
[0102] As the distance sensor
[0103] In
[0104] The image input device
[0105] In this case, the moving device
[0106] Note that the moving devices
[0107] The position/posture sensor
[0108] The CG character
[0109] The virtual object
[0110] The virtual object
[0111] On the other hand, in order to display the virtual object
[0112] In
[0113] The present invention relates to an image processing method and apparatus, which comprise both image input means and CG image generation means to naturally composite a real image and CG image, and can be used to provide novel services to every viewing sites including the image input site and remote places in the fields that exploit images such as shooting and rehearsal of a movie and television program, play, game, KARAOKE, and the like.
[0114] The second embodiment of the present invention will be described below with reference to FIGS.
[0115]
[0116] Referring to
[0117] As the position sensor
[0118] The number of sets of the HMD
[0119]
[0120] As shown in
[0121] The image generation device
[0122] The image generated by the image generation device
[0123] The interactive broadcast device
[0124] At this time, information in response to broadcast contents, which is sent from each viewer (home) is received and managed by the viewer information management device
[0125]
[0126] Referring to
[0127] An image sensed by the HMD
[0128] The first CG rendering means
[0129] The CG data management means
[0130] The second CG rendering means
[0131] Information required for CG rendering, which is managed by the scenario management means
[0132] The scenario is managed for each scene, and the aforementioned data set is selected in accordance with the status values of each character such as characteristics, state, and the like, the action of the performer, and the like in each scene. Furthermore, character information (number, positions, states) of viewer is managed as a portion of a CG environment around the player. The characters of viewer depend on information sent from the viewer information management means
[0133] Note that the see-through function of the HMD
[0134] The position adjustment means
[0135]
[0136] Note that the output from the second image composition means
[0137]
[0138] Referring to
[0139] Reference numeral
[0140] In case of a camera device with a zoom function, zoom information of a zoom lens is sent to an external processing apparatus. Furthermore, whether or not viewer information is superimposed and displayed on the camera device can be selected by the cameraman as needed.
[0141] The CG data management means
[0142] The scenario management means
[0143] Each scene progresses using an arbitrary user interface (mouse, keyboard, voice input, or the like).
[0144] The operation for generating a image to be displayed on the HMD
[0145]
[0146] Once the process shown in
[0147] A process in the image generation device
[0148] Note that step S
[0149] The head position determination operation will be described below using
[0150]
[0151] Note that data from the position sensor
[0152] Once the process shown in
[0153] The image generation device
[0154] The head direction is corrected as follows. That is, a predicted value (x
[0155]
[0156] The marker position determination operation will be described below using
[0157]