Information processing device, information processing method, and program
The information processing device enhances user understanding of scene layout by generating a layout diagram that highlights relevant subjects and virtual viewpoint information, addressing the challenge of selecting the optimal virtual viewpoint in virtual images.
Patent Information
- Application Number
- JP2023075831
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-05-01
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2038-07-04
AI Technical Summary
Users struggle to determine the optimal virtual viewpoint for viewing virtual images due to difficulty in grasping the scene layout, making it challenging to select the appropriate viewpoint.
An information processing device that generates a layout diagram showing the positions of subjects in a scene, emphasizing the first subject and distinguishing between objects within the range of the virtual viewpoint and those outside it, displayed alongside the virtual viewpoint image.
Enables users to easily understand the scene layout, facilitating the selection of the appropriate virtual viewpoint.
Smart Images

Figure 0007566973000003 
Figure 0007566973000004 
Figure 0007566973000005
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, an information processing method, and a program. [Background technology]
[0002] A virtual viewpoint image generation technique is known that generates an image from an arbitrary viewpoint from images captured by a plurality of cameras each having a different viewpoint. Known methods for generating a virtual viewpoint image (rendering method) include a method for generating a virtual viewpoint image based on a predetermined moving path of a virtual viewpoint, and a method for generating a virtual viewpoint image according to the position and posture of a virtual viewpoint specified by a viewer or the like. While the virtual viewpoint image generation technology makes it possible to view highly interactive moving images, for example, it is difficult for the viewer to determine where in the location (scene) of the shooting subject the virtual viewpoint should be set to view the image because of the high degree of freedom in changing the viewpoint. Patent Document 1 describes a technology that addresses this issue. Patent Document 1 describes how it is possible to make the virtual viewpoint image easier for the viewer to view by generating several recommended viewpoints. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2015-187797 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, even if the technology of Patent Document 1 is used, the user cannot grasp the situation of the scene, such as where a subject (object) such as a person is located in the place to be photographed. Therefore, the user cannot easily determine, for example, where to set the virtual viewpoint or which recommended viewpoint to select. Therefore, an object of the present invention is to enable a user viewing a displayed virtual viewpoint image to easily grasp the situation of a scene for which the virtual viewpoint image is to be generated. [Means for solving the problem]
[0005] The information processing device of the present invention includes a plurality of image capturing devices. By the display control means for displaying the image showing the layout plan and the virtual viewpoint image on a display means when the virtual viewpoint image is generated so as to track a first subject of the plurality of subjects in the image showing the layout plan, the object corresponding to the first subject is displayed so as to be emphasized more than objects corresponding to other subjects; In the image showing the layout plan, among the plurality of subjects, objects corresponding to subjects included in a range specified based on the position of the virtual viewpoint and the line of sight direction from the virtual viewpoint and objects corresponding to subjects not included in the range are displayed in a distinguishable manner. It is characterized by: Effect of the Invention
[0006] According to the present invention, a user viewing a displayed virtual viewpoint image can easily grasp the situation of a scene for which the virtual viewpoint image is to be generated. [Brief description of the drawings]
[0007] [Figure 1] FIG. 2 is a diagram illustrating an example of a hardware configuration of an information processing device. [Diagram 2] FIG. 2 is a diagram illustrating an example of a functional configuration of an information processing device. [Diagram 3] 11 is a flowchart illustrating an example of processing by the information processing device. [Figure 4] FIG. 4 is a diagram showing an example of scene data. [Diagram 5] FIG. 2 is a diagram illustrating an example of details of a layout diagram generating unit. [Figure 6] 13 is a flowchart illustrating an example of a process of a layout plan generating unit. [Figure 7]FIG. 1 is a diagram showing an example of a layout diagram. [Figure 8] FIG. 11 is a diagram showing an example of data of an object to be placed. [Figure 9] FIG. 2 is a diagram illustrating an example of details of a layout diagram generating unit. [Figure 10] 13 is a flowchart illustrating an example of a process of a layout plan generating unit. [Figure 11] FIG. 1 is a diagram showing an example of a layout diagram. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] Hereinafter, preferred embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. In this specification and the drawings, components having substantially the same functional configurations are denoted by the same reference numerals, and redundant description will be omitted.
[0009] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.
[0010] <Embodiment 1> In this embodiment, a process of displaying a layout diagram showing the position of a subject (object) included in a scene to be drawn in the virtual viewpoint image together with the virtual viewpoint image will be described. The virtual viewpoint image is an image from a virtual viewpoint generated based on a plurality of images taken by a plurality of imaging units that take an image of a certain object (for example, a soccer field, etc.) from different directions. The virtual viewpoint image can be regarded as an image taken by a virtual camera (virtual camera) that is placed at a virtual viewpoint and oriented toward a virtual line of sight. Therefore, the shooting target area shot from a plurality of directions by a plurality of imaging units (real cameras) becomes a scene to be drawn in the virtual viewpoint image. The virtual viewpoint image in this embodiment includes both moving images and still images. Hereinafter, the virtual viewpoint image, which is a moving image, is particularly referred to as a virtual viewpoint video. In this embodiment, the subject to be drawn in the virtual viewpoint image, which is shot by imaging units placed at a plurality of different viewpoints, is assumed to be an object (player, ball, referee, goal post, etc.) in a soccer game. However, the shooting target is not limited to this, and may be other sports such as rugby or table tennis, or may be a concert or a play on stage. The virtual viewpoint video data may be moving image data in which each image frame is compressed by a predetermined moving image compression method, or may be moving image data in which each image frame is compressed by a predetermined still image compression method, or may be uncompressed moving image data.
[0011] 1 is a diagram showing an example of a hardware configuration of an information processing device 100 according to the present embodiment. The information processing device 100 is an information processing device that performs processing to generate a layout diagram showing the positions of subjects included in a scene to be rendered in a virtual viewpoint image, and to display the generated layout diagram together with the virtual viewpoint image. The information processing device 100 is, for example, a personal computer (PC), a server device, a tablet device, or the like. The information processing device 100 includes a CPU 101, a random access memory (RAM) 102, and a read only memory (ROM) 103. The information processing device 100 also includes a hard disk drive (HDD)_interface (I / F) 104, an input I / F 106, an output I / F 108, and a network I / F 110. Each element is connected to each other via a system bus 112 so as to be able to communicate with each other. The CPU 101 is a central processing unit that uses the RAM 102 as a work memory, executes processing according to programs stored in the ROM 103, HDD 105, etc., and controls each element via a system bus 112. The RAM 102 is a storage device that functions as a work area for the CPU 101 and a temporary storage area for data. The ROM 103 is a storage device that stores various programs, setting information, etc.
[0012] The HDD_I / F 104 is an interface such as Serial ATA (SATA) used for connection to a secondary storage device such as an HDD 105, a solid state drive (SSD), or an optical disk drive. The CPU 101 can read and write data from and to a secondary storage device such as the HDD 105 connected to the HDD_I / F 104 via the HDD_I / F 104. The CPU 101 also loads data stored in the HDD 105 into the RAM 102. The CPU 101 can also store in the HDD 105 various data on the RAM 102 obtained by executing a program. The input I / F 106 is an interface used for connection to an input device 107 that inputs information, such as a keyboard, a mouse, a digital camera, a scanner, etc. The input I / F 106 is, for example, a USB, IEEE1394, etc. The CPU 101 can accept information input via the input device 107 via the input I / F 106. The output I / F 108 is an interface used for connection to an output device 109 that outputs information such as a display and a speaker. The output I / F 108 is, for example, DVI, HDMI (registered trademark), etc. In this embodiment, the information processing device 100 is connected to the output device 109, which is a display, via the output I / F 108. The CPU 101 transmits data of a virtual viewpoint image to the output device 109 via the output I / F 108, and can cause the output device 109 to display the virtual viewpoint image. The network I / F 110 is an interface used for communication via a network with an external device such as an external server 111. The network I / F 110 is, for example, a network card such as a LAN card. The CPU 101 can input and output information to and from the external server 111 via the network I / F 110.
[0013] The CPU 101 executes processes according to programs stored in the ROM 103, the HDD 105, etc., to realize functions of the information processing device 100 described later in Figures 2, 5, and 9, and processes of flowcharts described later in Figures 3, 6, and 10. The information processing device 100 may also realize some of the functions of the information processing device 100 described later in Figures 2, 5, and 9 via dedicated processing circuits corresponding to those functions. 1, the HDD 105, the input device 107, the output device 109, and the information processing device 100 are separate devices. However, the HDD 105, the input device 107, and the output device 109 may be included in the information processing device 100, for example. For example, the information processing device 100 may be a smartphone. In that case, the input device 107 (touch panel), the output device 109 (display screen), and the HDD 105 (built-in HDD) are integrated with the information processing device 100. For example, when the information processing device 100 generates a virtual viewpoint image based on an image stored in the HDD 105, it is not necessary to acquire an image used for generating the virtual viewpoint image from the external server 111. In such a case, the information processing device 100 may not be connected to the external server 111. Also, for example, when the information processing device 100 generates a virtual viewpoint image based on an image acquired from the external server 111 and executes processing according to a program stored in the ROM 103, it may not be connected to the HDD 105. The information processing device 100 may include multiple CPUs 101. The information processing device 100 may include one or more dedicated hardware components different from the CPUs 101 or a GPU (Graphics Processing Unit), and at least a part of the processing by the CPU 101 may be performed via the GPU or the dedicated hardware components. Examples of such dedicated hardware components include an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), a DSP (Digital Signal Processor), and the like.
[0014] In this embodiment, in order to improve the viewer's understanding of the scene, a process is described in which a layout diagram showing the position of the subject in addition to a virtual viewpoint image is generated based on images taken from multiple different viewpoints, and the layout diagram is displayed together with the virtual viewpoint image. The process performed by the information processing device 100 of the present embodiment will be described below with reference to Fig. 2 and Fig. 3. Fig. 2 is a diagram showing an example of the functional configuration of the information processing device 100 of the present embodiment. Fig. 3 is a flowchart showing an example of the process executed by the information processing device 100 of the present embodiment. The functional configuration of the information processing device 100 will be described with reference to Fig. 2. The information processing device 100 includes a viewpoint control unit 202, a data acquisition unit 203, a scene generation unit 204, a layout drawing generation unit 205, and a drawing unit 206. The viewpoint control unit 202 controls the drawing of the virtual viewpoint image by the user via the input device 107. The information processing device 100 receives input of parameters (e.g., viewpoint position, line of sight direction, angle of view, etc.) for determining the range to be the subject of the virtual viewpoint image. The viewpoint control unit 202 then determines the parameters indicated by the received input as viewpoint information indicating the virtual viewpoint related to the generation of the virtual viewpoint image. In this embodiment, the information processing device 100 manages the parameters for determining the range to be rendered in the virtual viewpoint image as camera parameters of the virtual camera (hereinafter, virtual camera parameters). The camera parameters are parameters that indicate the state of the camera. The camera parameters include external parameters that indicate the position and orientation of the camera, and internal parameters that indicate the optical characteristics of the camera (e.g., angle of view, focal length, exposure time, etc.).
[0015] The data acquisition unit 203 acquires data such as multiple images captured by imaging units arranged at multiple different positions used to generate a virtual viewpoint image, and camera parameters of each of the multiple imaging units, for example, from HDD 105, external server 111, etc. The scene generation unit 204 generates scene data used for rendering a virtual viewpoint image, based on the image and camera parameters (viewpoint information) acquired by the data acquisition unit 203. The scene data is data indicating three-dimensional shapes and colors of predetermined subjects (e.g., players, balls, goal posts, referees, etc.) in a scene to be rendered in the virtual viewpoint image to be generated, and is, for example, polygon data or texture data. Based on the scene data generated by the scene generating unit 204, the layout drawing generating unit 205 generates a layout drawing showing the positions of subjects indicated by the scene data. The drawing unit 206 generates a virtual viewpoint image based on the scene data generated by the scene generation unit 204 and the virtual camera parameters determined by the viewpoint control unit 202. Then, the drawing unit 206 outputs the generated virtual viewpoint image and the layout diagram generated by the layout diagram generation unit 205 to the output device 109. The output device 109 functions as a display unit that displays an image according to an input from the drawing unit 206. Note that the drawing unit 206 may output the virtual viewpoint image and the layout diagram as separate data, or may output data of the virtual viewpoint image combined with the layout diagram. In addition, the drawing unit 206 may output the virtual viewpoint image and the layout diagram to a storage device. In addition, the drawing unit 206 may be provided with a display unit and display the generated virtual viewpoint image and the layout diagram.
[0016] The process of the information processing device 100 of this embodiment will be described with reference to FIG. In S301, the data acquisition unit 203 acquires data of a plurality of images taken by a plurality of imaging units arranged at a plurality of different positions used for generating a virtual viewpoint image, and camera parameters of each of the plurality of imaging units, from the external server 111. The data acquisition unit 203 may also acquire these data from the HDD 105. The data acquisition unit 203 outputs the acquired data of images and camera parameters to the scene generation unit 204. In S302, the scene generation unit 204 generates scene data showing a three-dimensional situation used for rendering a virtual viewpoint image based on the image and camera parameters acquired in S301. For example, the scene generation unit 204 detects each of the regions separated from the image acquired in S301 by background subtraction as the region of each object. Then, the scene generation unit 204 generates scene data for each object based on each of the detected object regions and the camera parameters acquired in S301. Here, the scene data will be described. In this embodiment, the scene data is generated for each object and includes three pieces of data: 3D polygon data, texture data, and UV map data that associates the 3D polygon data with the texture data.
[0017] Figures 4(a) and (b) are diagrams showing an example of 3D polygon data included in scene data. Figure 4(a) is a diagram showing triangles T0 to T11 in a three-dimensional space and vertices V0 to V11 that constitute these triangles. Figure 4(b) is a diagram showing the coordinates of the vertices V0 to V11 in Figure 4(a) in a predetermined three-dimensional coordinate system. Figures 4(c) and (d) are diagrams showing an example of texture data included in scene data. Figure 4(c) is a diagram showing positions P0 to P13 corresponding to vertices of a shape on a texture image. Figure 4(d) is a diagram showing coordinates of the texture vertices P0 to P13 in Figure 4(c) in a predetermined two-dimensional coordinate system. FIG. 4(e) is a diagram showing an example of a UV map included in the scene data. The table in FIG. 4(e) is an example of a table showing the correspondence between vertex IDs in the three-dimensional space constituting the triangle and texture vertex IDs in the texture image space for each triangle shown in FIG. 4(a). For example, based on the table in FIG. 4(e), the scene generation unit 204 specifies a triangle in the coordinate system in FIG. 4(c) corresponding to the vertices of a certain triangle representing the 3D polygon shown in FIG. 4(a). Then, the scene generation unit 204 determines the texture data indicated by the specified triangle in FIG. 4(c) as the texture data to be assigned to the corresponding triangle in the three-dimensional coordinate system in FIG. 4(a).
[0018] The scene generating unit 204 generates scene data including 3D polygon data, texture data, and UV map data for each object included in a scene corresponding to the scene data. In this embodiment, the scene generating unit 204 applies a visual hull algorithm to acquire voxel information and reconstruct a 3D polygon to generate 3D polygon data. However, the scene generating unit 204 may generate a 3D polygon by, for example, a method of directly converting voxel information into a polygon model. The scene generating unit 204 may also generate a 3D polygon by a method of applying PSR (Poisson Surface Reconstruction) to a point cloud obtained from a depth map acquired using an infrared sensor. The scene generating unit 204 may acquire a point cloud by stereo matching using image features represented by PMVS (Patch-based Multi-view Stereo). The scene generation unit 204 generates texture data. The scene generation unit 204 identifies points corresponding to vertices of a triangle constituting the generated polygon in the image acquired by the data acquisition unit 203. For example, the scene generation unit 204 identifies each vertex of a 3D polygon by projecting it onto the image acquired by the data acquisition unit 203 based on the camera parameters acquired by the data acquisition unit 203. Then, the scene generation unit 204 identifies an area surrounded by the three identified points in the image acquired by the data acquisition unit 203. The scene generation unit 204 performs the same process for each image acquired by the data acquisition unit 203.
[0019] The scene generating unit 204 determines the texture to be applied to the corresponding polygon based on these identified regions. For example, the scene generating unit 204 determines the average of all these identified regions as the image of the texture to be applied to the corresponding polygon. The scene generating unit 204 may also determine the average of a specified region among the identified regions as the image of the texture to be applied to the corresponding polygon. The scene generating unit 204 may also determine one specified region among the identified regions as the image of the texture to be applied to the corresponding polygon. The scene generating unit 204 draws the image of the determined texture on a plane on a predetermined two-dimensional coordinate system as shown in FIG. 4(c), and the image of the plane is the texture image for recording the texture. The scene generation unit 204 determines the texture data to be applied to the polygon and generates a corresponding UV map. For example, for a certain polygon, the scene generation unit 204 stores in a UV map table the correspondence between the IDs of three vertices of the polygon and the IDs of three vertices in the texture image that correspond to the three vertices of the polygon. The scene generation unit 204 outputs scene data including the generated polygon data, texture data, and UV map data to a layout drawing generation unit 205 and a drawing unit 206.
[0020] In S303, the viewpoint control unit 202 receives an input from the user via the input device 107. The viewpoint control unit 202 receives a force, determines virtual camera parameters used to generate a virtual viewpoint image based on the received input, and outputs the determined virtual camera parameters to the drawing unit 206. More specifically, the viewpoint control unit 202 receives an input of the position and attitude of the virtual camera from the user via the input device 107, and determines virtual camera parameters representing the position and attitude of the virtual camera according to the received input. For example, when the viewpoint control unit 202 detects a rightward movement of the mouse by the user, the viewpoint control unit 202 determines virtual camera parameters (external parameters) so as to rotate the attitude of the virtual camera to the right. Also, for example, when the viewpoint control unit 202 detects an upward movement of the mouse by the user, the viewpoint control unit 202 determines virtual camera parameters (external parameters) so as to change the attitude of the virtual camera to the upward direction. Here, the external and internal parameters of the camera parameters will be described in more detail. A vector representing the position of the imaging unit (virtual camera in this embodiment) in a predetermined world coordinate system (the position of the origin of the camera coordinate system determined based on the virtual camera) is defined as t. Also, a matrix indicating the attitude of the virtual camera (a matrix indicating the attitude of the camera coordinate system with respect to the world coordinate system, and the rotation between the world coordinate system and the camera coordinate system) is defined as R. In this case, the external parameters of the virtual camera can be expressed as in the following formula (1). The camera coordinate system and the world coordinate system of the virtual camera are left-handed coordinate systems. Also, in the camera coordinate system, the right when facing the line of sight of the virtual camera from the virtual viewpoint is defined as the +x direction, the up is defined as the +y direction, and the back is defined as the +z direction.
[0021]
number
[0022] Furthermore, if the position of the principal point of the image captured by the virtual camera in the coordinate system within the image is (cx, cy) and the focal length of the camera is f, then the internal parameter K of the virtual camera can be expressed as the following equation (2).
[0023]
number
[0024] The viewpoint control unit 202 may express the camera parameters in an expression other than a matrix. For example, the viewpoint control unit 202 may express the position of the virtual camera in three-dimensional coordinates and the attitude of the virtual camera by an enumeration of yaw, roll, and pitch values. Furthermore, the viewpoint control unit 202 may determine, for example, information indicating the zoom value of the virtual camera as the internal parameters of the virtual camera.
[0025] In S304, the layout drawing generating unit 205 generates a layout drawing indicating the position of the subject based on the scene data generated in S302. The layout drawing generating unit 205 outputs the generated layout drawing to the drawing unit 206. Details of the process of S304 will be described later with reference to Figs. 5 and 6. In S305, the drawing unit 206 generates a virtual viewpoint image based on the scene data generated by the scene generation unit 204 in S302 and the virtual camera parameters determined by the viewpoint control unit 202 in S303. Then, the drawing unit 206 generates the generated virtual viewpoint image. and the layout drawing generated by the layout drawing generating unit 205 in S304, a screen to be displayed on the output device 109 is generated. In S306, the drawing unit 206 displays the screen generated in S305 on the output device 109. The processes in S305 to S306 are an example of a display control process for displaying a layout plan on the display unit together with a virtual viewpoint image. The above is the flow of the process performed by the information processing device 100 of this embodiment.
[0026] Details of the layout plan generation process by the layout plan generation unit 205 will be described with reference to Fig. 5 and Fig. 6. Fig. 5 is a diagram showing an example of the details of the layout plan generation unit 205. Fig. 6 is a flowchart showing an example of the process of the information processing device 100, showing details of the process of S304. The layout plan generating unit 205 will be described in detail with reference to FIG. The layout plan generating unit 205 includes a scene acquiring unit 501 , a position / size acquiring unit 502 , a texture color acquiring unit 503 , a classification unit 504 , and a layout plan determining unit 505 . The scene acquisition unit 501 acquires scene data generated by the scene generation unit 204. The position / size acquisition unit 502 acquires the position and size of an object present in a scene indicated by the scene data acquired by the scene acquisition unit 501, based on the scene data acquired by the scene acquisition unit 501. The texture color acquisition unit 503 acquires the color of an object present in a scene indicated by the scene data acquired by the scene acquisition unit 501, based on the scene data acquired by the scene acquisition unit 501. The classification unit 504 classifies objects existing in a scene corresponding to the scene data acquired by the scene acquisition unit 501 into a plurality of groups based on the positions and sizes acquired by the position and size acquisition unit 502, the colors acquired by the texture color acquisition unit 503, etc. The layout plan determination unit 505 determines a layout plan indicating the positions of each of the objects classified into a plurality of groups by the classification unit 504. The information processing device 100 may display at least a layout diagram showing the positions of the subjects. In other words, the layout diagram may be displayed without classifying the multiple subjects into groups, and at least any of information on the size and color of the subjects may not be acquired. However, as described above, by acquiring information on the positions, sizes, and colors of the subjects and displaying the layout diagram by grouping the multiple subjects, the user can be informed of more detailed conditions of the target scene.
[0027] The process of S304 will be described in detail with reference to FIG. In S601, the layout drawing generating unit 205 determines whether or not to display the layout drawing. For example, the layout drawing generating unit 205 acquires flag information from the HDD 105, assuming that flag information indicating whether or not to display the layout drawing is stored in the HDD 105. Then, the layout drawing generating unit 205 determines whether or not to display the layout drawing depending on whether or not the acquired flag information is information indicating that the layout drawing is to be displayed. If the acquired flag information is information indicating that the layout drawing is to be displayed, the layout drawing generating unit 205 determines that the layout drawing is to be displayed. If the acquired flag information is information indicating that the layout drawing is not to be displayed, the layout drawing generating unit 205 determines that the layout drawing is not to be displayed. The CPU 101 can update the contents of the flag information stored in the HDD 105 based on an input from a user via the input device 107. If the layout plan generating unit 205 determines that the layout plan is to be displayed, the process proceeds to S602, and if it determines that the layout plan is not to be displayed, the process in FIG. 6 ends. In S602, the scene acquisition unit 501 acquires the scene data generated in S302, and outputs the acquired scene data to the position / size acquisition unit 502 and the texture color acquisition unit 503.
[0028] In S603, the position / size acquisition unit 502 acquires information on the position and size of each object based on the scene data acquired in S602. The scene data acquired in S602 includes, for each object, three vertices of each polygon constituting the object as shown in FIG. Therefore, the position and size acquisition unit 502 acquires the size and position of the subject based on, for example, the positions of the vertices of each polygon included in the scene data for each subject. In this embodiment, the position / size acquisition unit 502 calculates the average of the coordinates of the vertices of each polygon representing the subject, and acquires the position of the calculated average coordinates as the position of the subject. Alternatively, the position / size acquisition unit 502 may acquire the position of the center of gravity of all the polygons representing the subject as the position of the subject. In this embodiment, the position / size acquisition unit 502 obtains the value of |maximum-minimum|, which is the magnitude of the difference between the maximum and minimum values of the coordinates of each vertex of the polygon representing the subject, for each of the x-axis, y-axis, and z-axis. The position / size acquisition unit 502 then obtains a set of the three values obtained for each of the x-axis, y-axis, and z-axis as the size of the subject. The position / size acquisition unit 502 may also obtain a volume value obtained by multiplying the three values obtained for each of the x-axis, y-axis, and z-axis as the size of the subject. The position / size acquisition unit 502 may also obtain the volume of a portion surrounded by the entire polygon representing the subject as the size of the subject. The position / size acquisition unit 502 outputs the acquired information on the position and size of each subject to the classification unit 504 .
[0029] In S604, the texture color acquisition unit 503 acquires color information of each object based on the scene data acquired in S602. The scene data acquired in S602 includes a texture image as shown in FIG. 4(c) for each object. The texture color acquisition unit 503 acquires the color of each object based on the texture image included in the scene data. In this embodiment, the texture color acquisition unit 503 identifies the three colors with the highest frequency of appearance among the colors of each pixel in the texture image, and acquires the identified three colors as the color of the object. In this embodiment, a plurality of colors are determined in advance, and the range of pixel values corresponding to each color is also determined in advance. For example, the texture color acquisition unit 503 identifies the color of each pixel by identifying the range to which the pixel value of each pixel in the texture image corresponds. The texture color acquisition unit 503 may also refer to the polygon data and UV map of the subject and acquire one color of a specific area of the subject (for example, the color of the clothes worn) as the color of the subject. The texture color acquisition unit 503 outputs the acquired color information of each subject to the classification unit 504. In S605, the layout diagram generating unit 205 determines whether or not acquisition of the position, size, and color has been completed for all objects. If the layout diagram generating unit 205 determines that acquisition of the position, size, and color has been completed for all objects, the layout diagram generating unit 205 proceeds to processing in S606. If the layout diagram generating unit 205 determines that there is an object for which acquisition of the position, size, and color has not been completed, the layout diagram generating unit 205 proceeds to processing in S602. As a result, the layout diagram generating unit 205 executes the processing in S602 to S604 for the remaining objects.
[0030] In S606, the classification unit 504 classifies the subjects into a plurality of groups based on the position and size acquired in S603. In this embodiment, the classification unit 504 classifies the subjects into a group of people and a group of non-people. The HDD 105 stores information on the range of sizes that a human subject can have (for example, 10 to 30 cm wide, 20 to 50 cm long, and 150 to 200 cm tall). If the size of a certain subject acquired in S603 is within the range of sizes that a person can have indicated by the information stored in the HDD 105, the classification unit 504 classifies the subject into the group of people. If the size of a certain subject acquired in S603 is not within the range of sizes that a person can have indicated by the information stored in the HDD 105, the classification unit 504 classifies the subject into the group of non-people. The HDD 105 may store information on areas where a person who is a subject may be present in advance. In this case, the classification unit 504 may classify the area where a person who is a subject may be present in the image. Even if the size of the subject is within the range of possible sizes of a person indicated by the information stored in HDD 105, the following may be performed. That is, the classification unit 504 may classify the subject into a group of people if the position of the subject acquired in S603 is included in an area where a person may exist indicated by the information stored in HDD 105, and may classify the subject into a group other than people if it is not included in that area. For example, when a player in a sports game is taken as the subject, it can be assumed that the subject exists only within the area of the field. In that case, it is assumed that information indicating the field as information on the area where the subject person may exist is stored in advance in HDD 105. Based on this information, the classification unit 504 may classify the subject into a group of people if the position of the subject is included in the field, and may classify the subject into a group other than people if it is not included in the field.
[0031] In S607, the classification unit 504 further classifies the subjects classified into the person group in S606 into a plurality of groups based on the color acquired in S604. In this embodiment, it is assumed that a soccer match to be rendered in the virtual viewpoint image is between team A and team B. The players of team A are wearing red uniforms. Also, it is assumed that the players of team B are wearing blue uniforms. The classification unit 504 classifies the subjects classified into the person group in S606 into three groups: a group of team A, a group of team B, and a group of others. Information on the colors corresponding to team A and team B (e.g., red for team A and blue for team B) is stored in advance in the HDD 105. The classification unit 504 can obtain the colors corresponding to team A and team B by reading this information. The classification unit 504 classifies, among the subjects classified into the person group in S606, those whose colors acquired in S604 include a color corresponding to team A into the group of team A. The classification unit 504 classifies, among the subjects classified into the person group in S606, those whose colors acquired in S604 include a color corresponding to team B into the group of team B. Furthermore, the classification unit 504 classifies, among the subjects classified into the people group in S606, subjects whose colors acquired in S604 do not include a color corresponding to either team A or team B into the other group.
[0032] In S608, the layout plan determination unit 505 determines a layout plan based on the results of the classification processes in S606 and S607. FIG. 7 is a diagram showing an example of a layout diagram displayed together with a virtual viewpoint image. The situation in FIG. 7 shows a situation in which a virtual viewpoint image 700 is displayed. A layout diagram showing where each player, who is a subject, is located on a soccer pitch is displayed below the virtual viewpoint image 700. In the layout diagram in FIG. 7, an object corresponding to a player of team A, an object corresponding to a player of team B, an object corresponding to other people, and an object corresponding to non-people are objects with different display modes (for example, different colors, different patterns). Object 701 is an object corresponding to a player of team A. Object 702 is an object corresponding to a player of team B. Object 703 is an object corresponding to other people (for example, a referee, etc.). Object 704 is an object corresponding to non-people (for example, a ball, etc.). The layout diagram displayed by the information processing device 100 does not need to show the positions of all objects whose positions are specified in the shooting target area. For example, a layout diagram showing the positions of only objects classified as people among the above objects may be displayed, or a layout diagram showing the positions of only players of one team may be displayed. In addition, which group the positions of the objects classified into should be displayed, or which object's positions should be displayed may be determined based on a user operation. This layout diagram explicitly shows the positions of all the objects on the soccer pitch when the scene is viewed from above. The areas of this layout diagram, other than the objects and the lines on the pitch, are transparent. Therefore, for example, as shown in Figure 7, When the virtual viewpoint image is displayed superimposed on the virtual viewpoint image, a part of the virtual viewpoint image is displayed in the transparent area. In this embodiment, the layout plan determination unit 505 determines a layout plan with a design like the layout plan in FIG. 7, but may determine a layout plan with another design. The layout plan determination unit 505 may use a rectangular, triangular, human-shaped, or other object as an object representing a subject, instead of a circular object. The layout plan determination unit 505 may change the line pattern on the layout plan to another pattern, such as a dotted line pattern.
[0033] 8 is a diagram showing an example of layout plan data used for displaying the layout plan. The layout plan determination unit 505 generates layout plan data as shown in FIG. 8 to determine the layout plan to be displayed on the output device 109, and outputs the generated layout plan data to the drawing unit 206. The table in FIG. 8(a) shows the classification result (group to which each subject belongs) and the position. Here, the two-dimensional position coordinates in the table in FIG. 8(a) are values indicating the position of the subject in the three-dimensional coordinates acquired in S603 projected onto a two-dimensional plane obtained by looking down on the soccer pitch from directly above. The position indicated by these two-dimensional position coordinates is the center position of the object indicating the corresponding subject. The layout plan determination unit 505 acquires coordinates indicating the position of each subject on this two-dimensional plane by projecting the position of each subject in the three-dimensional coordinates acquired in S603 onto this two-dimensional plane.
[0034] In this manner, in this embodiment, the layout plan determination unit 505 determines the layout plan data so that the layout plan is as if the scene were viewed from directly above by acquiring the position projected onto this two-dimensional plane. The layout plan determination unit 505 may also obtain a value indicating the position of the subject in the three-dimensional coordinates acquired in S603 projected onto a two-dimensional plane obtained by viewing the soccer pitch from directly to the side, as the two-dimensional position coordinates in the table of FIG. 8(a). The layout plan determination unit 505 obtains coordinates for each subject by projecting the subject's position in the three-dimensional coordinates obtained in S603 onto a two-dimensional plane obtained by looking down on the soccer pitch from directly above.Then, the layout plan determination unit 505 performs the following process based on the classification results in S606 and S607 for each subject and the coordinates on this two-dimensional plane obtained for each subject.That is, the layout plan determination unit 505 generates a table showing the classification (group to which the subject belongs) and the two-dimensional coordinates (coordinates on this two-dimensional plane) for each subject, as shown in FIG. 8(a).
[0035] The table in Fig. 8(b) shows the display mode of objects corresponding to subjects in the layout diagram for each group. The table in Fig. 8(b) shows the color and size (radius of a circular object) of the object showing the subject for each classification (group to which the object belongs). In this embodiment, it is assumed that HDD 105 stores in advance table information indicating the display mode of objects corresponding to subjects in a layout diagram for each group as shown in FIG. 8(b). The layout plan determination unit 505 determines the table showing the classification and two-dimensional coordinates for each subject as shown in FIG. 8(a) that has been generated, and the table showing the display mode of objects as shown in FIG. 8(b) that has been obtained from the HDD 105, as layout plan data, and outputs them to the drawing unit 206.
[0036] In this embodiment, a table showing the display mode of an object as shown in FIG. 8(b) is stored in advance. However, the layout plan determination unit 505 may generate a table showing the display mode of an object. The layout plan determination unit 505 may determine the color of an object corresponding to each subject based on the color acquired in S604 for each subject. For example, the layout plan determination unit 505 may determine the color with the highest appearance frequency among the colors acquired in S604 for each subject as the color of the object corresponding to each subject. In addition, the layout plan determination unit 505 may determine the color obtained by combining the colors acquired in S604 for each subject as the color of the object corresponding to each subject. In addition, the layout plan determination unit 505 may determine the size of an object corresponding to each subject based on the size of the subject acquired in S603 for each subject. The layout plan determination unit 505 may determine the radius of the circular object corresponding to each subject by multiplying the size of the subject acquired in S603 for each subject by a predetermined coefficient. The layout plan determination unit 505 may also determine the radius of the circular object corresponding to each subject to be a predetermined value. Then, the layout plan determination unit 505 may generate a table showing the display mode of each object as shown in FIG. 8(b) based on the color of the object corresponding to each subject determined for each subject and the size of the object corresponding to the subject.
[0037] When multiple subjects are close to each other, and objects corresponding to those subjects are arranged at positions indicated by the two-dimensional coordinates in the table of Fig. 8(a) in the layout plan, those objects may be displayed overlapping each other. Therefore, in order to avoid such a situation, the layout plan determination unit 505 may modify the display positions (two-dimensional coordinates) of the objects shown in the table of Fig. 8(a) and the sizes (sizes) of the objects shown in the table of Fig. 8(b). For example, the layout plan determination unit 505 specifies the distance between the centers of the objects corresponding to each subject in the layout plan based on the two-dimensional coordinates in the table of FIG. 8(a). Then, the layout plan determination unit 505 specifies the size (radius) of each object based on the size in the table of FIG. 8(b). Then, the layout plan determination unit 505 specifies a pair of objects in which the distance between the objects is smaller than the sum of the radii of the objects as a pair of objects in which the objects overlap. Then, the layout plan determination unit 505 moves, for example, one object in the direction opposite to the direction of the other object as seen from that object, so that the distance between the centers of the objects is equal to or greater than the sum of the radii of both objects. In this way, the layout plan determination unit 505 can eliminate the overlap between the objects. Also, the layout plan determination unit 505 may, for example, move both objects in a direction opposite to the direction of the other object as seen from each object, so that the distance between the centers of the objects is equal to or greater than the sum of the radii of both objects. Also, the layout plan determination unit 505 may, for example, reduce the radii of both objects so that the sum of the radii of both objects is smaller than the distance between both objects.
[0038] Furthermore, the layout plan determination unit 505 may modify the color on the layout plan depending on the position where the layout plan is displayed. For example, when the color in the table of Fig. 8(b) is a color that is predetermined as a color that is difficult to distinguish from the color of the area of the virtual viewpoint image displayed in the transparent area of the layout plan, the layout plan determination unit 505 may do the following. That is, the layout plan determination unit 505 may change the color, among the colors that are predetermined as easy to distinguish, to a color different from the colors corresponding to other classifications (other groups) shown in the table of Fig. 8(b). In this embodiment, the drawing unit 206 displays the layout diagram at the bottom of the virtual viewpoint image in S306, superimposed on the virtual viewpoint image as shown in Fig. 7, but the layout diagram may be displayed at the top of the virtual viewpoint image in superimposed on the virtual viewpoint image, or may be displayed at a position not superimposed on the virtual viewpoint image (for example, displayed side by side with the virtual viewpoint image). Furthermore, the drawing unit 206 may display the layout diagram so as not to overlap with a portion in the virtual viewpoint image in which a person, who is a subject, is displayed, or may display the layout diagram in an area corresponding to the ground or sky in the virtual viewpoint image. In this way, the drawing unit 206 may determine the display position of the layout diagram according to the position and direction of the virtual viewpoint, the position of the subject, the contents of the virtual viewpoint image, and the like. In this embodiment, the information processing device 100 generates and displays a layout diagram showing the position of each subject based on a plurality of images captured by a plurality of imaging units arranged at different positions used to generate a virtual viewpoint image. However, for example, in a case where a GPS terminal is attached to each subject, the information processing device 100 may generate and display a layout diagram showing the position of each subject as follows. That is, the information processing device 100 may receive information on the position of each subject from the GPS terminal of each subject, and generate a layout diagram showing the position of each subject based on the position indicated by the received information.
[0039] As described above, in the present embodiment, the information processing device 100 displays a layout diagram showing the positions of the subjects included in the scene to be rendered by the virtual viewpoint image together with the virtual viewpoint image. In this way, the information processing device 100 can provide the user with both local information shown by the virtual viewpoint image and global information shown by the layout diagram. This allows the information processing device 100 to assist the user in grasping the entire scene to be rendered by the virtual viewpoint image.
[0040] <Embodiment 2> In the first embodiment, the information processing device 100 has been described as displaying a layout diagram showing the position of each subject together with a virtual viewpoint image. However, it is difficult for a user to grasp from where the displayed virtual viewpoint image is viewed from the virtual viewpoint image and the layout diagram provided in the first embodiment. Therefore, in the present embodiment, a process in which the information processing device 100 supports a user in grasping from where the virtual viewpoint image is viewed from will be described. The hardware configuration of the information processing device of this embodiment is the same as that of embodiment 1. The functional configuration of the information processing device 100 of this embodiment is the same as that of embodiment 1, except that the viewpoint control unit 202 also outputs virtual camera parameters to the layout plan generating unit 205, and the details of the layout plan generating unit 205 will be described later with reference to FIG.
[0041] In this embodiment 2, the information processing device 100 helps the user to further improve their understanding of the entire scene by arranging not only an object corresponding to the subject in the layout diagram, but also an object indicating the position and attitude of the virtual camera (virtual viewpoint, virtual line of sight). The processing of this embodiment will be described with reference to differences from the first embodiment. The process of generating a layout plan in this embodiment will be described with reference to Fig. 9 and Fig. 10. Fig. 9 is a diagram showing an example of details of the layout plan generating unit 205 in this embodiment. Fig. 10 is a flowchart showing details of the process of S304 in this embodiment.
[0042] The details of the layout plan generating unit 205 of this embodiment shown in FIG. 9 are different from those of the first embodiment shown in FIG. The virtual viewpoint acquisition unit 1001 acquires virtual camera parameters from the viewpoint control unit 202 . The process of the flowchart in FIG. 10 differs from the process of the first embodiment shown in FIG. 6 in that it includes the process of S1101 and in the content of the process of S608. In S1101, the virtual viewpoint acquisition unit 1001 acquires virtual camera parameters from the viewpoint control unit 202. The viewpoint control unit 202 outputs the virtual camera parameters to the virtual viewpoint acquisition unit 1001 in a process similar to that of S303. The virtual viewpoint acquisition unit 1001 outputs the acquired virtual camera parameters to the layout plan determination unit 505.
[0043] In S608, the layout plan determination unit 505 executes the following process in addition to the same process as in the first embodiment. That is, the layout plan determination unit 505 determines information on an object indicating the position and orientation of a virtual camera to be placed on the layout plan. The layout plan determination unit 505 determines the shape of an object indicating the position and orientation of a virtual camera, for example, to a predetermined shape. Examples of the predetermined shape include a shape indicating two line segments having a common starting point and an acute angle formed by the line segments, such as an object 1201 described later in FIG. 11, a triangular shape, a camera shape, an arrow shape, and the like. In addition, the layout plan determination unit 505 determines the layout position in the layout plan of an object indicating the position and orientation of a virtual camera based on the virtual camera parameters acquired in S1101. For example, the layout plan determination unit 505 specifies the position and orientation in the layout plan corresponding to the position and orientation indicated by the virtual camera parameters acquired in S1101, and determines the specified position and orientation as the position and orientation of the virtual camera in the layout plan. The layout plan determination unit 505 then determines, in addition to the layout plan data as shown in FIG. 8, information on the shape of the object that indicates the position and orientation of the virtual camera, the position of the object in the layout plan, and The rendering unit 206 outputs the position and orientation information acquired from the layout plan determination unit 505 to the rendering unit 206. Then, based on the information acquired from the layout plan determination unit 505, the rendering unit 206 displays an object indicating the position and orientation of the virtual camera in the layout plan in addition to the content displayed in the first embodiment.
[0044] FIG. 11 is a diagram showing an example of a layout diagram displayed together with a virtual viewpoint image in this embodiment. The situation in FIG. 11 shows a situation in which a virtual viewpoint image 1206 is displayed. A layout diagram showing where each player, who is a subject, is located on a soccer pitch is displayed below the virtual viewpoint image 1206. An object 1201 indicates the position and attitude (virtual viewpoint, virtual line of sight) of a virtual camera used to generate the virtual viewpoint image 1206. A circular object 1202 is an object corresponding to a subject 1207 (person). A circular object 1203 is an object corresponding to a subject 1208 (person). A circular object 1204 is an object corresponding to a subject 1209 (person). A circular object 1205 is an object corresponding to a subject 1210 that is not a person (a ball). By further displaying an object indicating the position and orientation of the virtual camera as shown in FIG. 11, the information processing device 100 can assist the user in understanding from which position and in which direction the virtual viewpoint image is viewed, in addition to the effects of the first embodiment. The information processing device 100 may display a layout diagram showing the field of view of the virtual camera in addition to or instead of the position and attitude of the virtual camera. The information processing device 100 may also display a layout diagram showing objects included in the field of view of the virtual camera and objects not included in the field of view of the virtual camera in a distinguishable manner.
[0045] In this embodiment, the information processing device 100 displays an object having a shape like the object 1201 as an object indicating the position and orientation of the virtual camera. However, the information processing device 100 may display an object having another shape, such as an arrow shape, as an object indicating the position and orientation of the virtual camera. The virtual camera parameters may be updated to focus on a specific object. For example, the virtual camera parameters may be updated to follow a specific player. In such a case, the information processing device 100 may display an object corresponding to the specific object to be focused on in the layout plan so as to be emphasized more than other objects. In such a case, the layout plan determination unit 505 accepts, for example, a designation of the object to be focused on via the input device 107. Then, the layout plan determination unit 505 changes, for example, the color of the object corresponding to the designated object to a color that is predetermined as an emphasized color. Furthermore, the layout plan determination unit 505 may output information on an object corresponding to a subject to be focused on to the drawing unit 206. In this case, the drawing unit 206 may, for example, emphasize the object by displaying it in a blinking manner. Furthermore, the drawing unit 206 may identifiably display an object identified from the positions of a plurality of objects, for example, an object closest to the ball.
[0046] In the present embodiment, the information processing device 100 includes an object indicating the position and orientation of the virtual camera in the layout diagram. However, the information processing device 100 may include an object indicating something other than the subject and the position and orientation of the virtual camera in the layout diagram. For example, when the layout plan determination unit 505 receives an instruction from the user via the input device 107 to display an object corresponding to a portion indicating an offside line, the layout plan determination unit 505 may perform the following process. That is, the layout plan determination unit 505 identifies the position of the second player from the back based on the positions of the subjects who are players belonging to the same team. Then, the layout plan determination unit 505 identifies a line that passes through the identified position and is parallel to the center line as the offside line. Then, the layout plan determination unit 505 determines data of the layout plan that includes a linear object in the portion corresponding to the identified offside line. The layout plan determination unit 505 outputs the determined data of the layout plan to the drawing unit 206. Then, the drawing unit 206 outputs a layout plan that includes a linear object indicating the offside line based on the information of the output layout plan. The result may be displayed on the input device 109.
[0047] <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) for implementing one or more of the functions.
[0048] For example, some or all of the functional configuration of the information processing device 100 described above may be implemented in the information processing device 100 as hardware. Although an example of an embodiment of the present invention has been described in detail above, the present invention is not limited to the specific embodiment. The above-described embodiments may be arbitrarily combined, or may be appropriately improved or applied. [Explanation of symbols]
[0049] 100 Information processing device 101 CPU 111 External Server
Claims
1. an acquisition means for acquiring an image showing a layout including a plurality of objects representing positions of a plurality of subjects in an imaging area captured by a plurality of imaging devices and an object representing a position of a virtual viewpoint and a line of sight direction from the virtual viewpoint, and a virtual viewpoint image corresponding to the position of the virtual viewpoint and the line of sight direction from the virtual viewpoint; a display control means for causing a display means to display the image showing the layout plan and the virtual viewpoint image; having When the virtual viewpoint image is generated so as to track a first subject among the plurality of subjects in the image showing the layout plan, an object corresponding to the first subject is displayed so as to be emphasized more than objects corresponding to other subjects; In the image showing the layout plan, among the plurality of subjects, objects corresponding to subjects included in a range specified based on the position of the virtual viewpoint and the line of sight direction from the virtual viewpoint and objects corresponding to subjects not included in the range are displayed in a distinguishable manner.
23. An information processing apparatus comprising:
2. 2 . The information processing apparatus according to claim 1 , wherein a color of the object corresponding to the first subject is changed to a predetermined color as an emphasis color.
3. The information processing apparatus according to claim 1 , wherein the object corresponding to the first subject is displayed in a blinking manner.
4. 4. The information processing apparatus according to claim 1, wherein the acquisition means generates an image showing the layout diagram.
5. The information processing device according to claim 4 , wherein the acquisition means generates an image showing the layout plan based on information indicating the positions of the plurality of subjects and information indicating the position of the virtual viewpoint and a line of sight direction from the virtual viewpoint.
6. The information processing apparatus according to claim 1 , wherein the acquisition means generates the virtual viewpoint image.
7. 7. The information processing apparatus according to claim 1, wherein the plurality of objects are displayed in the image showing the layout plan so as not to overlap each other.
8. 8. The information processing apparatus according to claim 1, wherein a linear object corresponding to a position of the subject is displayed in the image showing the layout plan.
9. the imaging area is a field for playing soccer, The information processing device according to claim 8 , wherein the linear object indicates the position of an offside line in the soccer game.
10. an acquisition step of acquiring an image showing a layout including a plurality of objects representing positions of a plurality of subjects in an imaging area captured by a plurality of imaging devices and an object representing a position of a virtual viewpoint and a line of sight direction from the virtual viewpoint, and a virtual viewpoint image corresponding to the position of the virtual viewpoint and the line of sight direction from the virtual viewpoint; a display control step of displaying the image showing the layout plan and the virtual viewpoint image on a display means; having When the virtual viewpoint image is generated so as to track a first subject among the plurality of subjects in the image showing the layout plan, an object corresponding to the first subject is displayed so as to be emphasized more than objects corresponding to other subjects; In the image showing the layout plan, among the plurality of subjects, objects corresponding to subjects included in a range specified based on the position of the virtual viewpoint and the line of sight direction from the virtual viewpoint and objects corresponding to subjects not included in the range are displayed in a distinguishable manner.
23. An information processing method comprising:
11. A program for causing a computer to function as the information processing device according to any one of claims 1 to 9.
Citation Information
Patent Citations
Auxiliary video effect generator, and video transmitter and video receiver
JP2003008990A
Broadcast receiver and control method thereof
JP2011130323A
Image data generation device and image data reproduction device
JP2015187797A
Information processing device, information processing method and video generation system
JP2017191492A
