Image processing apparatus, image processing method, and program
The image processing device addresses the challenge of displaying three-dimensional movement trajectories by integrating position information and trajectory data generation, enabling precise three-dimensional representation in virtual viewpoint images.
Patent Information
- Application Number
- JP2023175144
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-01
- Filing Date
- 2023-10-10
- Publication Date
- 2024-09-12
AI Technical Summary
Existing techniques for generating virtual viewpoint images struggle to accurately display the movement trajectory of a subject in three-dimensional space, as they rely on two-dimensional image superimposition without adequate three-dimensional position information.
An image processing device that generates virtual viewpoint images using multiple imaging devices, incorporating position information acquisition, determination, and movement trajectory data generation to create three-dimensional displays.
Enables accurate display of movement trajectories in three-dimensional space within virtual viewpoint images, enhancing user understanding of subject movement.
Smart Images

Figure 2024124310000001
Abstract
Description
[Technical field]
[0001] The present invention relates to an image processing device that generates a virtual viewpoint image. [Background technology]
[0002] There is a technology for generating a virtual viewpoint image using a plurality of captured images obtained by arranging a plurality of imaging devices to surround an imaging area and capturing an image of a subject with the timing of capturing images synchronized. With this technology, an image is generated that allows the subject in the imaging area to be viewed from any viewpoint.
[0003] There is also a technology that helps users understand the content by adding a movement trajectory to a subject in an image. Patent Document 1 describes adding a movement trajectory of a player or a ball shown in a sports video. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2003-308540 A Summary of the Invention [Problem to be solved by the invention]
[0005] In the invention of Patent Document 1, the movement trajectory of the subject is superimposed on the image based on a two-dimensional image, so it is difficult to obtain and display the movement path of the subject in three dimensions. Since the subject can be viewed from any position and viewpoint in the virtual viewpoint image, the movement trajectory of the subject in the three-dimensional space cannot be accurately displayed unless the position information in the three-dimensional space can be obtained.
[0006] SUMMARY OF THE PRESENT EMBODIMENT An object of the present invention is to display the movement trajectory of a subject in a three-dimensional space. [Means for solving the problem]
[0007] In order to solve the above problems, the image processing device of the present invention is an image processing device that generates a virtual viewpoint image based on a plurality of captured images captured by a plurality of imaging devices, and has an acquisition means for acquiring data including position information of a subject, a determination means for determining the position information of the subject based on the information acquired by the acquisition means, a movement trajectory data generation means for generating movement trajectory data based on the position information of the subject, and a memory means for storing the movement trajectory data. Effect of the Invention
[0008] According to the present invention, it is possible to display the movement trajectory of a subject in a virtual viewpoint image. [Brief description of the drawings]
[0009] [Figure 1] 1 is a diagram showing the functional configuration of a virtual visual point image generating device 100 according to a first embodiment. [Diagram 2] FIG. 2 is a diagram showing the functional configuration of a movement trajectory data providing unit 102 according to the first embodiment. [Diagram 3] FIG. 4 is a diagram showing an input screen for movement trajectory data generation conditions according to the first embodiment. [Figure 4] FIG. 4 is a diagram showing a flow of generating movement trajectory data according to the first embodiment. [Diagram 5] 5A to 5C are views showing acquisition of position information of a foreground model according to the first embodiment; [Figure 6] FIG. 4 is a flowchart showing a process of deleting movement trajectory data according to the first embodiment; [Figure 7] FIG. 4 is a diagram showing movement trajectory data according to the first embodiment. [Figure 8] 1 is a diagram showing the hardware configuration of a virtual visual point image generating device 100 according to a first embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, the present invention will be described in detail based on preferred embodiments thereof with reference to the accompanying drawings. Note that the configurations shown in the following embodiments are merely examples, and the present invention is not limited to the configurations shown in the drawings.
[0011] [First embodiment] 1 shows a virtual viewpoint image generating device 100. The virtual viewpoint image generating device 100 is an image processing device including an imaging device 10, a shape estimation unit 101, a movement trajectory data assignment unit 102, a storage unit 103, an image generating unit 104, a display unit 105, and a virtual camera operation unit 106.
[0012] The virtual viewpoint image in this embodiment is also called a free viewpoint image or a volumetric video. A case where the virtual viewpoint image is a moving image will be described.
[0013] A plurality of imaging devices 10 are arranged to surround an imaging area, and capture images with the timing of capturing images synchronized to obtain a plurality of captured images. The imaging area may be, for example, a stadium where sports such as baseball or judo are held, or a stage where a concert or a play is held. The imaging devices 10 do not need to be installed all around the imaging area, and may be installed only in a part of the imaging area due to restrictions on the installation location. Also, imaging devices 10 with different functions, such as telephoto cameras and wide-angle cameras, may be installed together.
[0014] The shape estimation unit 101 estimates a three-dimensional shape and generates a foreground model using a silhouette image generated from multiple captured images obtained by the imaging device 10. A silhouette image is a black and white image in which the subject is filled in. The silhouette image has information on the shape of the subject by expressing the inside and outside of the subject's contour with binary pixel values. Furthermore, the shape estimation unit 101 generates texture data for coloring the foreground model based on the foreground and background regions of the silhouette, and stores the generated foreground model and texture data in the storage unit 103 for each frame.
[0015] The foreground region is a region of the captured image in which a subject for which a user desires to generate a foreground model is captured, and the background region is at least a region of the captured image other than the foreground region. In the silhouette image, the foreground region and the background region are represented differently.
[0016] Here, if the subject for which the foreground model is to be generated is a moving object whose position or shape may change when images are captured from the same direction over time, the foreground and background regions can be separated by background subtraction processing. Even if the subject is not moving, the foreground and background regions may be recognized and separated using machine learning such as CNN (Convolutional Neural Network). In this way, a method suitable for separating the foreground and background regions can be selected for each subject.
[0017] Subjects for which foreground models are generated include, for example, people in a stadium during a competition, such as players and referees, equipment for the competition, such as balls and nets, objects and people in a concert or play, such as musical instruments, chairs, props, singers, performers, presenters, etc. Subjects included in the background region include, for example, structures and buildings, such as the stage where a concert or play is held, the roof and seats of a stadium, structures such as goals used in ball games, the floor of a stadium, etc.
[0018] The foreground model is the three-dimensional shape of the subject estimated from the foreground region of the silhouette image, and the volume intersection method is used to generate the foreground model. Note that the shape of the foreground model may be estimated using any technology for acquiring three-dimensional shapes, such as a ToF (Time of Flight) camera or a stereo camera.
[0019] The movement trajectory data adding unit 102 generates movement trajectory data based on the user's designation from the material data stored in the storage unit 103 and stores the data in the storage unit 103 .
[0020] The material data refers to data for generating a virtual viewpoint image and data for generating movement trajectory data, such as a foreground model and texture data generated based on a captured image. The type of material data is not limited as long as it is data for generating a virtual viewpoint image and movement trajectory data. For example, the material data may include camera parameters that indicate the imaging conditions of the imaging device 10. The movement trajectory data itself is also stored in the storage unit 103 as material data.
[0021] The movement trajectory data is information that represents the movement trajectory of an object. For example, the movement trajectory data is a three-dimensional shape obtained by acquiring the position information of the foreground model desired by the user from each frame and connecting them with curves (including straight lines). Details will be described later.
[0022] The image generation unit 104 maps texture data onto the foreground model, movement trajectory data, etc. stored in the memory unit 103, and generates a virtual viewpoint image by rendering according to viewpoint information input by the virtual camera operation unit 106.
[0023] The display unit 105 displays the virtual viewpoint image generated by the image generation unit 104. The display unit 105 may be any device that can electrically display the virtual viewpoint image, and examples of the device include a display, a projector, a smartphone, and a head-mounted display.
[0024] The virtual camera operation unit 106 sets viewpoint information used for generating a virtual viewpoint image. The viewpoint information is information indicating the position and orientation of a virtual viewpoint. Specifically, the viewpoint information is a parameter set including parameters indicating a three-dimensional position in the virtual space of the x-axis, y-axis, and z-axis, and the orientation in the virtual space of the pan direction, tilt direction, and roll direction. The content of the viewpoint information is not limited to the above. For example, the parameter set as the viewpoint information may include a parameter indicating the size of the field of view (angle of view) of the virtual viewpoint. The viewpoint information may have multiple parameter sets. For example, the viewpoint information may have multiple parameter sets corresponding to multiple frames constituting a video of a virtual viewpoint image, and may be information indicating the position and orientation of the virtual viewpoint at each of multiple consecutive time points. The viewpoint information may be automatically designated based on the result of image analysis, etc.
[0025] Note that the virtual viewpoint image is not limited to an image in which the user arbitrarily specifies the viewpoint and angle of view. For example, an image corresponding to a viewpoint selected by the user from a plurality of candidates is also included in the virtual viewpoint image.
[0026] 2 is a diagram showing the movement trajectory data providing unit 102. The movement trajectory data providing unit 102 includes an acquisition unit 200, a recognition unit 201, a movement trajectory data generation unit 202, and a movement trajectory data deletion unit 203.
[0027] Acquisition unit 200 acquires material data such as a foreground model and texture data for coloring the foreground model from storage unit 103. Note that the material data may include ID (Identification) of a marker for identifying a subject registered in advance and position information acquired by a position estimation device such as a Global Positioning System (GPS).
[0028] The recognition unit 201 recognizes the foreground model of each frame of the subject designated by the user using artificial intelligence using a machine learning model based on the material data obtained by the acquisition unit 200. For example, the recognition unit 201 generates a bounding box to surround the recognized foreground model and obtains the center of the bounding box as position information. In addition, a position estimation device such as a marker or a GPS may be used to identify the foreground model of the subject.
[0029] The movement trajectory data generating unit 202 generates movement trajectory data based on the position information of the subject acquired by the recognition unit 201. The generated movement trajectory data is stored in the storage unit 103 for each frame. The movement trajectory data generating unit 202 can set the file name of the movement trajectory data, etc. as meta information for distinguishing it from the foreground model. The meta information is data describing attributes and related information. Also, a file format different from that of the foreground model may be selected to distinguish it as movement trajectory data. A detailed description of the generation of movement trajectory data by the recognition unit 201 and the movement trajectory data generating unit 202 will be given later.
[0030] The movement trajectory data deletion unit 203 deletes the added movement trajectory data. When the user selects the frame number of the material data to which the movement trajectory data is added and instructs deletion, the acquisition unit 200 acquires information such as the file name and file format of the movement trajectory data stored in the storage unit 103. From the information, the recognition unit 201 recognizes the movement trajectory data to be deleted, and the movement trajectory data deletion unit 203 deletes the movement trajectory data stored in the storage unit 103.
[0031] The UI (User Interface) of the movement trajectory data generation condition 300 will be described with reference to Fig. 3. The movement trajectory data generation condition 300 is a condition that a user inputs when instructing the movement trajectory data assignment unit 102 to generate movement trajectory data. The user inputs the following conditions to this UI using an input device (operation member) such as a keyboard, mouse, or touch panel.
[0032] The virtual viewpoint image specification 301 is a condition for specifying the material data to which the movement trajectory data is to be added. For example, the user specifies the name or ID of the material data stored in the storage unit 103 by inputting it into an input form. Note that the user may specify any material data from the material data that is generated sequentially, instead of the material data stored in the storage unit 103.
[0033] Frame number designation 302 is a condition for designating the number of a frame for generating trajectory data. For example, the user inputs the time codes of a frame from which the addition of trajectory data starts and ends. Here, the numbers written in the input form for frame number designation 302 indicate, from the left, the hours (two digits), minutes (two digits), seconds (two digits), and frame number (two digits). Based on this input, the trajectory data adding unit 102 acquires a virtual viewpoint image and adds trajectory data. For example, in the example shown in FIG. 3, the trajectory data adding unit 102 adds trajectory data for three frames between 16:00:00:10 and 16:00:00:12.
[0034] The movement trajectory data length 303 is a condition for specifying the number of frames to be acquired that exist before and after the frame to which the movement trajectory data is to be added. Although details will be described later, the frame to which the movement trajectory data is to be added is set to 0, and the future direction is specified by a positive number, and the past direction is specified by a negative number. As inputted as -2 to 1 in FIG. 3, it may be specified that the movement trajectory data is generated in both the future direction and the past direction. In addition, the frame to which the position information is to be obtained may be specified by an 8-digit frame number as in the frame number specification 302, so that the same movement trajectory data is assigned to all frames to which the movement trajectory data is to be assigned. Note that when the movement trajectory data is generated live, the delay of several seconds from the capture to the generation of the virtual viewpoint image may be utilized, and the position information of the subject during that time may be acquired from a position estimation device such as a GPS, and the movement trajectory data may be generated in the future direction.
[0035] In the color and shape specification 304, the color and shape of the movement trajectory data are specified. In the example shown in FIG. 3, the color, transparency, and shape are inputted with a predetermined term. The color of the movement trajectory data may be specified by a character string such as a color code, or image data such as texture data. In addition, for example, when a pipe shape is specified as the shape, movement trajectory data with a circular cross section is generated along a line connecting the movement trajectories of the subject in each frame. The size of the movement trajectory can be set arbitrarily. For example, in the case of a pipe shape, the user can specify the radius of the cross section of the movement trajectory arbitrarily. In addition, it is also possible to specify whether the movement trajectory is connected by a curve or a straight line. When a curve is specified, a spline curve or the like can be specified as a curve connecting points. In addition to the pipe shape, any shape such as a star shape or the shape of the subject itself can be specified. When the shape of the subject itself is specified, the movement trajectory becomes a trajectory that indicates the space through which the subject passed. In addition, the three-dimensional shape (3D model) itself of the subject to which the movement trajectory data is to be added may be used as the movement trajectory data. In this case, the movement trajectory does not have to connect the movement trajectories. For example, by arranging the three-dimensional shapes of the semi-transparent subject in each frame specified by the frame number specification 302 as the movement trajectory, it becomes possible to display the movement transition including the posture of the subject in each frame in the video. In addition, the three-dimensional shape (3D model) of the subject to which the movement trajectory data is to be added may be used as the movement trajectory data. In this case, the movement trajectory does not have to connect the movement trajectories. For example, by arranging the three-dimensional shapes of the semi-transparent subject in each frame specified by the frame number specification 302 as the movement trajectory, it becomes possible to display the movement transition including the posture of the subject in each frame in the video.
[0036] Trajectory data assignment target designation 305 is a condition for designating a target and a position to which trajectory data is to be assigned from an image, a three-dimensional shape, etc. In FIG. 3, a ball is designated as a target to which trajectory data is to be assigned. In this embodiment, trajectory data is generated so that the center position of the ball is the center (or center of gravity) of the cross section of the trajectory. Alternatively, as a method of designating a target for which trajectory data is to be generated, a target to which trajectory data is to be assigned may be designated using an ID of a tracking device such as a marker attached to the subject.
[0037] The recognition of the ball in different frames is performed by AI (artificial intelligence) using machine learning, image recognition by matching feature points, etc. Also, a bounding box is generated from the estimated 3D shape of the ball, and the center of the box is determined to be the center of the ball.
[0038] File format specification 306 is a condition for specifying the file format of the trajectory data to be generated. In this embodiment, the file format is a file format that represents a three-dimensional position, such as STL (Stereolithography File Format) or PLY (Polygon File Format).
[0039] An ID specification 307 is a condition for specifying an ID for the movement trajectory data to be generated. The specified file format and ID are used as meta information to search for the generated movement trajectory data.
[0040] 3 is selected, the trajectory data providing unit 102 generates trajectory data based on the inputs from 301 to 307. Then, the trajectory data providing unit 102 displays the generated trajectory data in the generation result preview 308.
[0041] In the generation result preview 308, the user can modify the generated movement trajectory data. The vertices (black dots) displayed in the generation result preview 308 represent the positions of the subject in each frame of the acquired virtual viewpoint image. The curves displayed in the generation result preview 308 indicate the trajectory of the movement trajectory data generated based on each vertex. The user can modify the position information, etc., of each vertex.
[0042] In addition, the user can change the conditions for saving, discarding, and generating the movement trajectory data and select regeneration, etc. When the "Discard" button in FIG. 3 is selected, the generated movement trajectory data is deleted. When the "Regenerate" button in FIG. 3 is selected, the movement trajectory data is generated again. When the "Save" button in FIG. 3 is selected, the movement trajectory data is saved in the storage unit 103.
[0043] The conditions for generating the trajectory data may be set appropriately according to the object to be photographed. For example, when the object to be photographed is a baseball game, the meta information to be added to the trajectory data may include information on players such as pitchers and batters, information on the number of pitches such as which inning and which batter the pitched ball is, and information on the type of ball and the type of batted ball. In addition, the pitch clock and this system may cooperate with each other, and the timing when the pitch clock starts counting may be used as a trigger for adding the trajectory data. For example, when a user specifies a scene that the user wants to see, the frame number corresponding to the start time of the pitch clock counting nearest to the specified frame is set as the frame for starting the addition of the trajectory data. In addition, the frame number corresponding to the end time of the pitch clock counting is set as the frame for ending the addition of the trajectory data. These frame numbers are automatically input to the frame number specification 302. In addition, the frame for ending the addition of the trajectory data may be a frame corresponding to a time later than the end time of the pitch clock counting. This is because, when the pitcher pitches the ball just before the end time of the pitch clock counting, the result of the pitching will be a time later than the end time of the pitch clock counting. This few seconds is an example of a time period that takes into consideration a time after the end of the pitch clock count.
[0044] In addition, in sports such as baseball, virtual viewpoint images for each scene may be reproduced or generated from web articles such as text reports on the progress of the game. In this case, the data generated from the web article is stored as meta information for the movement trajectory data. This allows readers of the web article to easily access virtual viewpoint images and movement trajectory data for a desired scene.
[0045] In addition, in a baseball game, the movement trajectory data of each pitched ball may be associated with a specific frame, so that the movement trajectories of multiple balls can be displayed together. For example, the movement trajectories of balls pitched in a specific inning or the movement trajectories of balls pitched by a specific pitcher can be displayed together. Furthermore, when multiple pitched balls are displayed together, a color may be input to the color and shape specification 304 so that a different color is automatically selected for each movement trajectory data in order to make each movement trajectory data easier to see. In addition, the movement trajectory data may be processed and displayed to make the movement trajectory data easier for the user to see. For example, consider a plane with a perpendicular line that connects the center of the home base and the center of the pitcher's plate. The plane is placed near the strike zone in the virtual space, and the foreground model of the ball thrown by the pitcher moves through the plane. The position where the foreground model of the ball passes through the plane is calculated from the movement trajectory data, and the strike zone and the position where the ball passed through are displayed on the plane, so that the movement trajectory data of multiple pitched balls is organized and easy to see. In addition, in cooperation with a web article such as a text report of a baseball game, the strike zone and the position where the ball passed, which are shown on a plane, may be plotted on the web article such as a text report of a baseball game. Then, the virtual viewpoint image generating device 100 may display a virtual viewpoint image and movement trajectory data for a scene related to the ball selected by the user from the position of the ball displayed in the web article.
[0046] 4 is a flowchart for explaining the process of generating movement trajectory data performed by the virtual viewpoint image generating device 100. This process is realized by a control unit such as a CPU or a GPU executing software recorded in a memory.
[0047] In step S400, the virtual viewpoint image generating device 100 accepts an input of a generation condition of the movement trajectory data from the user to the movement trajectory data generation condition 300. The generation condition of the movement trajectory data includes a subject to which the movement trajectory data is to be added, a length and a shape of the movement trajectory data, and the like.
[0048] In step S401, the movement trajectory data providing unit 102 starts providing movement trajectory data. Note that in steps S400 and S401, material data generated in real time from an image of a subject registered in advance as a target for generating movement trajectory data may be recognized and movement trajectory data may be provided.
[0049] In step S402, the acquisition unit 200 acquires the position information of the specified subject. Then, the recognition unit 201 recognizes the features of the subject, such as the face and the uniform number of the subject, that appear in the foreground image. In this embodiment, the features are the locations that are specified (selected) by the user via the operation unit. The recognition unit 201 also determines the coordinates of the foreground model that corresponds to the subject specified by the user as the position information. This foreground model is a foreground model onto which a partial image that corresponds to the subject specified by the user in the foreground image is mapped. Here, the foreground model includes the frame number and three-dimensional position information of the x-axis, y-axis, and z-axis in the virtual space. The frame number and the three-dimensional position information are acquired as the position information. Note that, for the recognition of the features of the subject, such as the face and the uniform number, that appear in the foreground image, techniques such as background difference and feature point matching are used. Also, the position information of the subject may be acquired based on a position estimation device such as a GPS. Note that the features may be the entire image of the subject.
[0050] In step S403, the movement trajectory data generation unit 202 maps the position information of each frame acquired in step S402 onto a three-dimensional space. Then, the movement trajectory data generation unit 202 generates movement trajectory data by using spline interpolation or the like so as to connect the mapped position information.
[0051] The process of generating trajectory data will be described with reference to Figs. 5(a), (b), and (c). In this embodiment, a case will be described in which the user instructs in step S400 to add trajectory data with a length of one frame in the future direction and two frames in the past direction to material data for three consecutive frames as shown in Fig. 3. Fig. 5(a) shows that material data 510-518 are stored in the storage unit 103 in chronological order (number order) of the frames. The material data 510-518 includes a foreground model 502 and texture data for each frame time 501, which is information indicating the shooting time. Here, the foreground model 502 is data including not only 3D shape data but also position information of the subject.
[0052] For example, when a user instructs to add movement trajectory data to three frames of material data 513, 514, and 515, movement trajectory data is added to one frame in the future direction and two frames in the past direction for each frame. That is, in this case, position information of the foreground model 502 for six frames of material data 511 to 516 is used. In this case, position information of the material data 511 to 516 is acquired in step S402. In the process of step S402, the acquisition unit 200 acquires position information of the foreground model 502 for each frame. The acquired position information of the foreground model 502 is associated as a position information list 503. The position information list 503 includes at least the frame time 501 and coordinates 504 which are position information of the foreground model 502. In addition, in the position information list 503, the position information is recorded in ascending order of the frame time 501. FIG. 5(b) shows that the position information is recorded in ascending order of the frame time 501.
[0053] As a result of the above processing, as shown in FIG. 5(c), movement trajectory data 506 is assigned to material data 513 using the coordinates of two frames of material data 511 and 512 in the past direction and the coordinates of one frame of material data 514 in the future direction.
[0054] In Fig. 5(c), the vertices of movement trajectory data 506 are coordinates 504 of time 501 of each frame, and numbers 505 are assigned to the black circles. Note that numbers 505 may be numbers or symbols that indicate a time series. Movement trajectory data 506 is represented by a curve connecting vertices. Movement trajectory data 506 is generated using coordinates 504 of material data 512-515 for material data 514, and coordinates 504 of material data 513-516 for material data 515.
[0055] Regarding the trajectory data length, a method for generating trajectory data from frames before and after the frame to which trajectory data is added has been described, but other methods may be used. For example, if nothing is specified in the trajectory data length 303, the trajectory data generating unit 202 may add the trajectory data generated from the frame written in the frame number 302 to all material data.
[0056] The movement trajectory data generating unit 202 may generate the movement trajectory data from the posture of the subject. For example, the movement trajectory data generating unit 202 may estimate the movement path of the subject from the direction and inclination of the subject's body, and may provide three-dimensional model data of a predetermined length. The three-dimensional model data of a predetermined length is, for example, a cylinder having a length of 5 cm from the back of the baseball player in each frame as a starting point toward the rear.
[0057] In step S404, the movement trajectory data generation unit 202 stores the movement trajectory data generated in step S403 in the storage unit 103 by specifying a file name and storage location so that the movement trajectory data can be read together with other material data of the frame number.
[0058] In step S405, the movement trajectory data generation unit 202 determines whether generation of the movement trajectory data based on the user's settings is completed, and if not, proceeds to the next frame and returns to the process of step S403 again. If it is completed in step S405, generation of the movement trajectory data ends.
[0059] When movement trajectory data is added to the material data generated in real time, the acquisition unit 200 may sequentially acquire position information of the subject in each frame in step S402. In this case, if the generation of movement trajectory data in step S405 is not completed, the flow returns to step S402 and acquires position information of the subject in a newly captured frame.
[0060] Here, the movement trajectory data will be explained using Fig. 6(a), (b), and (c). Fig. 6(a), (b), and (c) are virtual viewpoint images 610-612 captured of players during a game. A ball 601 and a player 602 are shown in the virtual viewpoint images 610-612. Fig. 6(a) shows a virtual viewpoint image 610 to which a movement trajectory has been added. Fig. 6(b) shows a virtual viewpoint image 611 to which movement trajectory data 603 has been added to the ball 601. Fig. 6(c) shows a virtual viewpoint image 612 to which movement trajectory data 604 has been added to the player 602.
[0061] The movement trajectory data 603 may be generated for a tool such as a ball shown in Fig. 6(b). In Fig. 6(c), movement trajectory data 604 is generated for a player 602 at a position vertically downward from a position corresponding to his back to the ground. In this way, the movement trajectory data does not need to be in contact with the foreground model. The movement trajectory data is generated based on the position information of the subject to which the movement trajectory data is to be added.
[0062] FIG. 7 is a flowchart for deleting the movement trajectory data added by the movement trajectory data adding unit 102. In FIG.
[0063] In step S700, the acquisition unit 200 acquires information such as the file name of the trajectory data stored in the storage unit 103 based on the user's designation. At this time, if the user designates multiple frames, the acquisition unit 200 acquires information such as the file name of the trajectory data collectively.
[0064] In step S701, the movement trajectory data deletion unit 203 executes deletion of the movement trajectory data stored in the storage unit 103. Then, the deletion of the movement trajectory data is completed. Note that the movement trajectory data deletion unit 203 may control display / non-display by increasing the transparency of the movement trajectory data to make it transparent, rather than deleting the movement trajectory data.
[0065] The hardware configuration of the virtual visual point image generating device 100 will be described with reference to Fig. 8. The virtual visual point image generating device 100 includes a CPU 811, a ROM 812, a RAM 813, an auxiliary storage device 814, a display unit 815, an operation unit 816, a communication I / F 817, and a bus 818.
[0066] The CPU 811 realizes each function of the virtual viewpoint image generating device 100 shown in FIG. 1 by controlling the entire virtual viewpoint image generating device 100 using computer programs and data stored in the ROM 812 and the RAM 813. The virtual viewpoint image generating device 100 may have one or more dedicated hardware different from the CPU 811, and at least a part of the processing by the CPU 811 may be executed by the dedicated hardware. Examples of the dedicated hardware include an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), and a DSP (Digital Signal Processor). The ROM 812 stores programs that do not require modification. The RAM 813 temporarily stores programs and data supplied from the auxiliary storage device 814, and data supplied from the outside via the communication I / F 817. The auxiliary storage device 814 is composed of, for example, a hard disk drive, and stores various data such as image data and audio data.
[0067] The display unit 815 is composed of, for example, a liquid crystal display, an LED, or the like, and displays a GUI (Graphical User Interface) or the like for the user to operate the virtual viewpoint image generating device 100. The operation unit 816 is composed of, for example, a keyboard, a mouse, a joystick, a touch panel, or the like, and receives operations by the user to input various instructions to the CPU 811. The CPU 811 operates as a display control unit that controls the display unit 815, and as an operation control unit that controls the operation unit 816.
[0068] The communication I / F 817 is used for communication with an external device of the virtual viewpoint image generation device 100. For example, when the virtual viewpoint image generation device 100 is connected to an external device by wire, a communication cable is connected to the communication I / F 817. When the virtual viewpoint image generation device 100 has a function of wirelessly communicating with an external device, the communication I / F 817 includes an antenna. The bus 818 connects each unit of the virtual viewpoint image generation device 100 to transmit information.
[0069] In this embodiment, the display unit 815 and the operation unit 816 are assumed to exist inside the virtual viewpoint image generating device 100, but at least one of the display unit 815 and the operation unit 816 may exist as a separate device outside the virtual viewpoint image generating device 100.
[0070] As described above, according to this embodiment, movement trajectory data can be added to a virtual viewpoint image, which can facilitate a user's understanding of the contents of the virtual viewpoint image.
[0071] [Second embodiment] In the explanation of Figure 7 of the first embodiment, since the image generation unit 104 does not render the movement trajectory data assigned by the movement trajectory data assignment unit 102 into the virtual viewpoint image, the movement trajectory data deletion unit 203 deletes the movement trajectory data or increases the transparency to make it invisible.
[0072] On the other hand, the object of not displaying the movement trajectory data in the virtual viewpoint image can also be achieved by adding a function for recognizing the movement trajectory data to the image generation unit 104. In the second embodiment, a process will be described in the case where the image generation unit 104 has a function for recognizing the movement trajectory data.
[0073] The configuration of the virtual viewpoint image generating device 100 according to this embodiment is the same as that of the first embodiment. In this embodiment, the image generating unit 104 acquires information such as the file name of the movement trajectory data stored in the storage unit 103 and recognizes the movement trajectory data to be hidden, in the same process as in step S700. Then, the image generating unit 104 performs rendering excluding the movement trajectory data, thereby generating a virtual viewpoint image in which the movement trajectory data is not displayed.
[0074] As a result, even if the movement trajectory data stored in the storage unit 103 is not deleted or the transparency is not changed, the virtual viewpoint image can be rendered without displaying the movement trajectory data.
[0075] [Other embodiments] The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.
[0076] The present invention is not limited to the above-described embodiment, and the components can be modified and embodied in the implementation stage without departing from the gist of the invention. In addition, various inventions can be formed by appropriately combining the multiple components disclosed in the above-described embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, components from different embodiments may be appropriately combined.
[0077] In the above embodiment, "at least one of A and B" may mean only A, only B, or both A and B.
[0078] The disclosure of this embodiment also includes the following configurations, methods, and programs.
[0079] (Configuration 1) An image processing device that generates a virtual viewpoint image based on a plurality of captured images captured by a plurality of imaging devices, An acquisition means for acquiring data including position information of a subject; a movement trajectory data generating means for generating movement trajectory data based on the position information of the subject; A storage means for storing the movement trajectory data; 13. An image processing device comprising:
[0080] (Configuration 2) 2. The image processing device according to configuration 1, wherein the data including the position information of the subject acquired by the acquisition means includes a frame number and the position information of the subject.
[0081] (Configuration 3) 3. The image processing device according to configuration 2, wherein the data including the position information of the subject acquired by the acquisition means includes a length of movement trajectory data.
[0082] (Configuration 4) 4. The image processing device according to configuration 2 or 3, wherein the movement trajectory data generating means generates movement trajectory data based on the position of the subject in each frame from the position information.
[0083] (Configuration 5) 5. The image processing device according to any one of configurations 2 to 4, wherein the movement trajectory data generating means generates movement trajectory data for each frame based on a plurality of captured images arranged in time series including the frame.
[0084] (Configuration 6) 6. The image processing device according to any one of configurations 1 to 5, further comprising a movement trajectory data deleting means for deleting the movement trajectory data stored in the storage means.
[0085] (Configuration 7) 7. The image processing device according to any one of configurations 1 to 6, further comprising: a unit for generating a virtual viewpoint image by hiding the movement trajectory data stored in the storage unit.
[0086] (Configuration 8) 8. The image processing device according to any one of configurations 1 to 7, wherein the movement trajectory data generating means can generate the movement trajectory data by specifying a shape and a color of the movement trajectory data.
[0087] (Configuration 9) 9. The image processing device according to any one of claims 1 to 8, wherein the movement trajectory data generating means generates the movement trajectory data from a three-dimensional shape model generated from the subject.
[0088] (Method 1) A control method for an image processing device that generates a virtual viewpoint image based on a plurality of captured images captured by a plurality of imaging devices, comprising: An acquisition step of acquiring data including position information of a subject; a movement trajectory data generating step of generating movement trajectory data based on the position information of the subject; a storage step of storing the movement trajectory data; The control method includes:
[0089] (Program 1) A computer of an image processing device that generates a virtual viewpoint image based on a plurality of captured images captured by a plurality of imaging devices An acquisition step of acquiring data including position information of a subject; a movement trajectory data generating step of generating movement trajectory data based on the position information of the subject; a storage step of storing the movement trajectory data; A program for executing.
Claims
1. An image processing device that generates a virtual viewpoint image based on a plurality of captured images captured by a plurality of imaging devices, An acquisition means for acquiring data including position information of a subject; a movement trajectory data generating means for generating movement trajectory data based on the position information of the subject; A storage means for storing the movement trajectory data; 13. An image processing device comprising:
2. 2. The image processing apparatus according to claim 1, wherein the data including the subject's position information acquired by said acquisition means includes a frame number and the subject's position information.
3. 3. The image processing apparatus according to claim 2, wherein the data including the position information of the subject acquired by the acquisition means includes a length of movement trajectory data.
4. 3. The image processing apparatus according to claim 2, wherein the movement trajectory data generating means generates the movement trajectory data based on the position of the subject in each frame from the position information.
5. 3. The image processing apparatus according to claim 2, wherein the movement trajectory data generating means generates the movement trajectory data for each frame based on a plurality of captured images arranged in time series including the frame.
6. 2. The image processing apparatus according to claim 1, further comprising movement trajectory data deleting means for deleting the movement trajectory data stored in said storage means.
7. 2. The image processing apparatus according to claim 1, further comprising: means for generating a virtual viewpoint image by hiding the movement trajectory data stored in said storage means.
8. 2. The image processing apparatus according to claim 1, wherein said movement trajectory data generating means generates said movement trajectory data by specifying a shape and a color of said movement trajectory data.
9. 2. The image processing apparatus according to claim 1, wherein the movement trajectory data generating means generates the movement trajectory data from a three-dimensional shape model generated from the subject.
10. A control method for an image processing device that generates a virtual viewpoint image based on a plurality of captured images captured by a plurality of imaging devices, comprising: An acquisition step of acquiring data including position information of a subject; a movement trajectory data generating step of generating movement trajectory data based on the position information of the subject; a storage step of storing the movement trajectory data; The control method includes:
11. A computer of an image processing device that generates a virtual viewpoint image based on a plurality of captured images captured by a plurality of imaging devices An acquisition step of acquiring data including position information of a subject; a movement trajectory data generating step of generating movement trajectory data based on the position information of the subject; a storage step of storing the movement trajectory data; A program for executing the above.
Citation Information
Patent Citations
Formation animation creation method and program for executing the method on computer
JP2003308540A
