Image processing apparatus, image processing method, and program

By creating and combining multiple virtual viewpoint images onto a single background, the system addresses the challenge of displaying positional relationships between foreground objects, providing a clear and enlarged view of race dynamics.

JP2024154140AInactive Publication Date: 2024-10-30CANON KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023067798
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-18
Publication Date
2024-10-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing image processing systems struggle to effectively display the positional relationships between foreground objects in competitions like bicycle racing and horse racing, as conventional methods using a single virtual viewpoint may obscure these relationships due to the shape of the stadium or competition content.

Method used

Generate multiple virtual viewpoint images from different perspectives and composite them onto a single background image, ensuring each object is displayed at a consistent scale and orientation, reflecting their actual positional relationships.

Benefits of technology

This approach allows for a clear understanding of the positional relationships between foreground objects by generating a panoramic composite image that maintains object size and alignment, enhancing the visibility of race dynamics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024154140000001_ABST
    Figure 2024154140000001_ABST
Patent Text Reader

Abstract

To generate an image in which a plurality of foreground objects included in a plurality of virtual viewpoint images are re-located on one background image.SOLUTION: A virtual camera disposing unit acquires positional information of a foreground object existing on a field surface to calculate a travelling direction vector of the foreground object. A generating unit generates a virtual viewpoint image representing a sight viewed from a virtual camera with its position and posture set in an object coordinate system formed of the travelling direction vector of each of the foreground objects as a X axis, a Y axis in parallel with the field surface, and a Z axis perpendicular to the field surface. The generating unit generates a background image including an image region associated with the positional information of the field surface. A synthesizing unit generates a panorama composite image in which the virtual viewpoint image generated for each of the foreground objects generated based on the positional information is disposed on the background image based on the positional information.SELECTED DRAWING: Figure 8
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to image processing techniques for generating a virtual viewpoint image from multiple images. [Background technology]

[0002] 2. Description of the Related Art Conventionally, there is an image processing system capable of generating a virtual viewpoint image that represents a view from a virtual viewpoint specified by a user from a plurality of images captured in a time-synchronized manner by an imaging system using a plurality of cameras.

[0003] For example, Patent Document 1 is composed of a plurality of imaging devices for capturing images of an imaging target area from a plurality of directions, a plurality of image processing devices, and an image processing server for generating a virtual viewpoint image. The image processing devices are each connected to the imaging devices and extract an object area from an image obtained from the imaging devices. The image processing devices are connected to the image processing server and transmit the object area extraction results and the image to the image processing server. The image processing server can generate a virtual viewpoint image based on the received plurality of images and the object area extraction results in the plurality of images. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2019-050593 A Summary of the Invention [Problem to be solved by the invention]

[0005] In events such as bicycle racing, horse racing, and track and field events in which foreground objects move within a closed course, it is desirable to display all foreground objects on one screen in order to make it easier to grasp the race development during the event and the positional relationship between the foreground objects. A method for generating such an image using the technology of Patent Document 1 is to set a virtual viewpoint so that all the foreground objects to be targeted fit within the imaging range, and generate a virtual viewpoint image overlooking a wide range. However, depending on the shape of the stadium, which is the background object of the virtual viewpoint image, or the content of the event, it may be difficult to easily grasp the positional relationship between the foreground objects from the overhead virtual viewpoint image. [Means for solving the problem]

[0006] The image processing device according to the present disclosure is characterized by comprising: a generation means for generating a plurality of virtual viewpoint images corresponding to a plurality of different virtual viewpoints at the same time using a plurality of images obtained by synchronously capturing images using a plurality of imaging devices; and a synthesis means for arranging the plurality of virtual viewpoint images on a single background image to generate a composite image. Effect of the Invention

[0007] According to the present disclosure, it is possible to generate an image that allows easy understanding of the positional relationship between foreground objects. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a schematic diagram showing an example of an image processing system according to a first embodiment. [Diagram 2] 1 is a block diagram showing a hardware configuration of an image processing device according to a first embodiment. [Diagram 3] 1 is a block diagram illustrating a functional configuration of an image processing device according to a first embodiment. [Figure 4] 4A to 4C are diagrams illustrating examples of setting a traveling direction vector of a foreground object in the first embodiment. [Diagram 5] 4A to 4C are diagrams illustrating examples of how to arrange virtual cameras in the first embodiment. [Figure 6] 3 is a diagram showing an example of a virtual viewpoint image obtained by a virtual camera in the first embodiment. FIG. [Figure 7] 3A to 3C are diagrams illustrating an example of panoramic composite image generation in the first embodiment. [Figure 8] 4 is a flowchart showing a flow of generating a panoramic composite image in the first embodiment. [Figure 9] FIG. 1 is a diagram showing an example of a bank used in bicycle racing. [Figure 10] FIG. 1 is a diagram showing an image of a case in which the first embodiment is applied to a bank used in bicycle racing. [Figure 11] FIG. 11 is a block diagram illustrating a configuration of an image processing system according to a second embodiment. [Figure 12] 13 is a diagram showing an example of setting a center line on a background object in the second embodiment. FIG. [Figure 13] 13 is a diagram showing an example of setting a midpoint on a background object in the second embodiment. FIG. [Figure 14] 11 is a flowchart showing a flow of generating a panoramic composite image in the second embodiment. [Figure 15] 13 is a diagram showing an example of plane setting in a three-dimensional coordinate space in the second embodiment. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] 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 disclosure is not limited to the configurations shown in the drawings.

[0010] [Embodiment 1] The present embodiment will be described in detail with reference to the drawings.

[0011] FIG. 1 is a schematic diagram showing an example of an image processing system 101 to which the technology of the present disclosure is applied. The image processing system 101 includes a plurality of imaging devices 102 and an image processing device 103 to which the imaging devices 102 are connected. The plurality of imaging devices 102 are arranged so as to surround a field surface 104 of a stadium, which is an imaging range, and a foreground object 105, which is an imaging target, and capture images in a time-synchronized manner. A plurality of captured images obtained from the plurality of imaging devices 102 are collected in an image processing device 103. The image processing device 103 generates and renders three-dimensional shape data using the captured images, and generates and outputs a virtual viewpoint video that represents a view from a specified virtual viewpoint. The virtual viewpoint is a viewpoint specified by a user. In the following description, for convenience of explanation, a camera (hereinafter, referred to as a virtual camera) virtually placed at the position of the virtual viewpoint is used for explanation. That is, the position of the virtual viewpoint and the line of sight direction from the virtual viewpoint correspond to the position and posture of the virtual camera, respectively. In addition, the field of view (field of view) from the virtual viewpoint corresponds to the angle of view of the virtual camera.

[0012] In addition, the virtual viewpoint video in this embodiment is also called a free viewpoint video, but is not limited to a video corresponding to a viewpoint freely (arbitrarily) specified by the user, and for example, an image corresponding to a viewpoint selected by the user from a plurality of candidates is also included in the virtual viewpoint video. In addition, in this embodiment, the case where the virtual viewpoint is specified by a user operation will be mainly described, but the virtual viewpoint may be automatically specified based on the result of image analysis, etc. In addition, in this embodiment, the case where the virtual viewpoint video is a moving image will be mainly described. It can be said that the virtual viewpoint video is a video captured by a virtual camera.

[0013] 1 has a star configuration in which a plurality of imaging devices 102 are each connected to an image processing device 103. However, the configuration is not limited to the above, and the imaging devices 102 may be connected to each other in a daisy chain, and one of the imaging devices 102 may be connected to the image processing device 103. Furthermore, any number of imaging devices 102 may be used, and the number of imaging devices 102 is not limited.

[0014] FIG. 2 is a block diagram showing an example of the hardware configuration of the image processing device 103 in this embodiment. The CPU 201 controls the entire image processing device 103 using computer programs and data stored in the RAM 202 and ROM 203. The RAM 202 temporarily stores data supplied from the outside via the communication unit 205, such as computer programs and intermediate results of calculations provided from the auxiliary storage device 204. The ROM 203 holds computer programs and data that do not require modification. The auxiliary storage device 204 is composed of, for example, an HDD or SSD, and stores various data and programs, such as input data such as video data and audio data, tables referenced in various processes described below, and various application programs. The communication unit 205 has communication means such as Ethernet and USB, and communicates with the imaging device 102 and other external processing devices.

[0015] The input / output unit 206 has a plurality of input units 211 for controlling the virtual camera and a plurality of display units 212 for displaying the state of the virtual camera and the like. The input unit 211 has a stick, a seesaw switch, and a group of buttons. The operator can change the camera parameters of the virtual camera by operating the input unit 211. In addition, the input unit 211 can instruct the reading of a viewpoint preset value. The viewpoint preset value is preset viewpoint information of the virtual camera, and can be read at any timing. The input unit 211 is, for example, a keypad or a mouse, and can read the viewpoint preset value and switch the camera parameters of the virtual camera by performing operations such as key input or clicking an icon. The display unit 212 is display-controlled to display an image including a virtual viewpoint image generated by the image processing device 102.

[0016] FIG. 3 is a block diagram showing an example of the functional configuration of the image processing device 103 in this embodiment.

[0017] The foreground object position acquisition unit 301 acquires position information of the foreground object 105 moving on the field surface 104 of the stadium set as the imaging range as position information in a three-dimensional coordinate system. In this embodiment, the position information of the foreground object 105 is defined using a coordinate system (hereinafter referred to as a world coordinate system) whose origin is the center of the stadium.

[0018] Foreground object traveling direction calculation unit 302 calculates the direction in which foreground object 105 is traveling from the position information of foreground object 105 for each frame, and defines the traveling direction vector of the foreground object. FIG. 4 shows an example of a method for defining the traveling direction vector of a foreground object. When it is desired to generate an image in which multiple foreground objects 105 are arranged in a horizontal line at time T0 (hereinafter referred to as a panoramic composite image), first, position information of position 401 of foreground object 105a at time T0 is obtained from foreground object position acquisition unit 301. Then, position information of position 401 of foreground object 105a at time T0 is obtained from foreground object position acquisition unit 301. -1 Position information of position 402 of foreground object 105b at time T0 is acquired. A vector 403 obtained from these two points is used to define a moving direction vector 404 of the foreground object with position 401 at time T0 as its starting point. Specifically, a vector having the same components as vector 403 and starting point at position 401 is defined as moving direction vector 404. When position information of the foreground object in the previous frame cannot be acquired, such as immediately after the start of imaging, a vector having preset initial vector components and starting point at position 401 is defined as moving direction vector 404. Alternatively, orientation information of foreground object 105 may be extracted from the captured image, and vector components of the moving direction estimated based on the extracted orientation information may be calculated to define moving direction vector 404. When there are multiple foreground objects 105 to be imaged, position information is acquired for each foreground object 105, and moving direction vector 404 is defined.

[0019] The virtual camera placement unit 303 determines the placement of the virtual camera for each foreground object 105 based on the position information and the moving direction vector 404 of the foreground object 105. Specifically, the distance and the optical axis angle between the foreground object 105 and the virtual camera are set in advance, and are applied to each foreground object 105 to determine the placement of the virtual camera 501 corresponding to each foreground object 105. FIG. 5 shows an example of a placement method of the virtual camera 501. It is assumed that the position information of each foreground object 105 moving on the field surface 104 and the moving direction vector 404 corresponding to the position information are acquired. Here, an object coordinate system is set with the position of the foreground object 105 as the origin. In the object coordinate system, the direction of the moving direction vector 404 is the X axis, the normal direction of the field surface 104 is the Z axis, and the direction of 90 degrees clockwise with respect to the X axis on the field surface 104 is the Y axis. In this embodiment, the virtual camera arrangement unit 303 has in advance position information in the world coordinate system for at least one point on the field surface 104, and the plane defined by the position information of the field surface and the traveling direction vector is the field surface 104. The position information of the field surface 104 may be position information of a point on the field surface 104 other than the point where the foreground object is located, for example, position information of a point on the outer edge of the field surface 104. A virtual camera 501 corresponding to the foreground object 105 located at the origin on the YZ plane of this object coordinate system is arranged. Then, the distance from the origin of the virtual camera 501, the angle with the Y axis when the optical axis is directed to the origin, and the focal length are set, and the position, attitude, and angle of view of the virtual camera 501 in the object coordinate system are determined. By performing this procedure for all foreground objects 105, virtual cameras 501 with the same position, attitude, and angle of view are arranged for each of all foreground objects 105. This allows the scale of all foreground objects 105 on the virtual viewpoint image to be uniform.

[0020] In this embodiment, the position, attitude, and angle of view of each virtual camera 501 are set in advance, but they may be changed at any time after the start of image capture.

[0021] The generating unit 304 includes a virtual viewpoint image generating unit 311, a background image generating unit 312, and a synthesizing unit 313. The virtual viewpoint image generating unit 311 generates a plurality of virtual viewpoint images representing views from each of the plurality of virtual cameras 501 arranged by the virtual camera arrangement unit 303. FIG. 6 shows an image diagram of each virtual viewpoint image generated based on each virtual camera 501-1 to 501-3. The background image generating unit 312 generates a background image including an image area associated with position information in the correct coordinate system. The synthesizing unit 313 synthesizes the generated virtual viewpoint image and background image by determining the relative positions based on the position information associated with those image areas, to generate a panoramic composite image. Note that, in this embodiment, the image after synthesis is a panoramic composite image, but the image after synthesis is not limited to a panoramic image, and the aspect ratio of the image after synthesis can be set arbitrarily.

[0022] FIG. 7 shows an image diagram for explaining the generation process of the panoramic composite image in this embodiment. The background image generating unit 312 generates a linear background image as shown in FIG. 7(a). This background image can be generated by synthesizing images generated using a virtual camera or a real camera whose optical axis angle and focal length with respect to the field plane 104 are approximately equal to those of the virtual camera 501. For example, the background image may be generated using a background image area of ​​a virtual viewpoint image generated based on the virtual camera 501. However, the method of generating the background image is not limited to this, and the image area of ​​only the background image may be acquired from an existing virtual viewpoint video and synthesized, or the background image may be generated by synthesizing captured images obtained from a plurality of imaging devices 102. The size of the background image may be determined according to the arrangement of the virtual viewpoint images corresponding to the foreground objects 105-1 to 105-3. Position information of the field surface 104 in the world coordinate system is recorded in association with an image area corresponding to the field surface 104 of the generated background image. The position information may be three-dimensional coordinates, but may also be only one-dimensional coordinates, such as a direction perpendicular to the outer edge of the field surface 104 on the field surface 104. The position information recorded in association with the image area of ​​the background image may be recorded for each pixel of the image area, or may be recorded only for specific pixels.

[0023] The synthesis unit 313 synthesizes the virtual viewpoint images, which show the appearance from each of the virtual cameras 501-1 to 501-3, by superimposing them on the background image. Specifically, the synthesis unit 313 extracts the virtual viewpoint images at the time when the panoramic synthetic image is generated from the virtual viewpoint images including the foreground objects 105-1 to 105-3, and rearranges them on the background image based on the position information associated with the image area. When the background image and the virtual viewpoint image have only one point of position information of the same point, the synthesis unit 313 determines the relative position of the virtual viewpoint image with respect to the background image so as to match the point. When the background image and the virtual viewpoint image have a plurality of points of position information of the same point, the synthesis unit 313 determines the relative position of the virtual viewpoint image with respect to the background image so as to minimize the difference between them. The relative position in the X-axis direction, which is the moving direction of the foreground object 105, is determined so as to fit within the background image while maintaining the ratio of the interval between the foreground objects 105 in the world coordinate system. This makes it possible to synthesize the foreground objects 105 while displaying them large, without causing a misalignment between the background on the virtual viewpoint image and the background on the background image. In this embodiment, the relative positions between the background image and the virtual viewpoint image are determined based on the positional information of the objects in the same three-dimensional coordinate system, but the relative positions may also be determined in other ways, such as based on the similarity in the distribution of pixel values ​​in the image area in which the background object is reflected.

[0024] Further, the synthesis unit 313 calculates the distance between the foreground objects 105 from the position information of each foreground object 105 acquired from the foreground object position acquisition unit 301, and when rearranging the foreground objects 105 on the background image 701, the synthesis unit 313 reflects the distance between the foreground objects 105. If the distance between the foreground objects 105 is long when rearranging the foreground objects 105, the panoramic composite image may end up being too long horizontally. Therefore, the distance between the foreground objects 105 when rearranging the foreground objects 105 is not limited to the actual distance, and the distance between the foreground objects 105 may be reduced while maintaining the ratio thereof according to the size of the desired panoramic composite image. By arranging the foreground objects 105 on the background image 701, a panoramic composite image as shown in FIG. 7(c) is generated.

[0025] The output unit 305 outputs the panoramic composite image generated by the generation unit 304 to the display unit 212 or the like. The output destination may be a dedicated display, or may be output to a display that displays the virtual viewpoint video generated from the captured images.

[0026] 8 is a flowchart showing a series of processing steps in the image processing device 103 of this embodiment, from arranging the virtual camera 501 for each foreground object 105 to generating a plurality of virtual viewpoint images to generating a panoramic composite image. A detailed explanation will be given below with reference to the flowchart in FIG.

[0027] In S801, the foreground object position acquisition unit 301 acquires position information of the foreground object 105 existing on the field plane 104 at an arbitrary time (hereinafter, time T0) at which a panoramic composite image in the generated virtual viewpoint video is to be generated. Note that the position information of the foreground object 105 can be acquired from three-dimensional shape data generated using a plurality of captured images obtained from a plurality of imaging devices 102.

[0028] In S802, the foreground object position acquisition unit 301 acquires the foreground object position at the time one frame before the time T0 in the generated virtual viewpoint video (hereinafter, time T-1 It is determined whether the position information of the foreground object 105 (assumed to be the foreground object 105) can be acquired.

[0029] In S803, if the result of the determination in S701 is that the position information at time T0 can be acquired, the foreground object position acquisition unit 301 -1 The position information of the foreground object 105 is obtained.

[0030] In S804, the foreground object traveling direction calculation unit 302 calculates the foreground object traveling direction based on the time T -1 A vector is calculated with the position information of the foreground object 105 as the start point and the position at time T0 acquired in S802 as the end point. Then, the start point of the calculated vector is translated to the position acquired in S802, and the vector after the translation is set as the moving direction vector 404 of the foreground object 105.

[0031] In S805, if it is determined in S802 that the position information cannot be acquired, the foreground object traveling direction calculation unit 302 sets the starting point of a preset direction vector to the position at time T0 acquired in S802, and sets this as the traveling direction vector 404 of the foreground object 105.

[0032] In S806, the virtual camera arrangement unit 303 defines an object coordinate system, which is a three-dimensional coordinate system corresponding to each foreground object 105, with the position of the foreground object 105 at time T0 acquired in S801 as its origin. The X-axis of the object coordinate system is defined so that the moving direction vector 404 of the foreground object 105 defined in S804 or S805 coincides with the X-axis. The Y-axis of the object coordinate system is defined so as to be located within a plane defined by the moving direction vector 404 and at least one point on the field surface 104. The Z-axis of the object coordinate system is defined in a direction perpendicular to the X-axis and Y-axis.

[0033] In S807, the virtual camera placement unit 303 places the virtual camera 501 at a predetermined position and orientation in the object coordinate system defined in S806. In this embodiment, the position of the virtual camera 501 is specified by the distance from the origin of the object coordinate system, and the orientation of the virtual camera 501 is specified by the angle that the optical axis makes with the Y axis at the origin.

[0034] In S808, the virtual viewpoint image generation unit 311 of the generation unit 304 generates a virtual viewpoint image that represents a view from the virtual camera placed for each foreground object 105 in S807.

[0035] In S809, the background image generation unit 312 of the generation unit 304 generates a linear background image in which the multiple virtual viewpoint images generated for each foreground object 105 generated in S808 are arranged. Position information of the field surface 104 in the world coordinate system is associated with a predetermined image area of ​​the background image.

[0036] In S810, the synthesis unit 313 of the generation unit 304 generates a panoramic composite image by positioning and synthesizing the virtual viewpoint image generated in S808 on the linear background image generated in S809 based on the position information corresponding to those specified image areas.

[0037] In S811, the output unit 305 outputs the panoramic composite image generated in S810.

[0038] In S812, the image processing device 103 confirms with the user whether to continue generating the panoramic composite image, and if the user selects not to continue, ends the processing.

[0039] In S813, if the image processing device 103 selects to end the generation of the panorama composite image, the image processing device 103 ends the generation process of the panorama composite image. If the selection to end is not made, the time one frame after the time T0 is set as the new time T0, and the processes from S801 onwards are performed again.

[0040] As described above, according to this embodiment, it is possible to generate a panoramic composite image by rearranging on one background image a plurality of virtual viewpoint images that represent views from a plurality of virtual viewpoints that are set at the same distance and attitude with respect to each of the foreground objects 105 at the same time. This makes it possible to provide a single panoramic composite image that reflects the actual positional relationship between the foreground objects 105 while displaying each foreground object 105 large.

[0041] [Embodiment 2] In the method of the first embodiment, a plane in a three-dimensional coordinate space is set for each foreground object based on the position information of the foreground object, a virtual camera is positioned, and a panoramic composite image is generated. However, depending on the type of sport to be imaged, the field surface on which the foreground object moves may have a shape in which the corners have angles different from the straight lines, and the heights of the inner edge line and the outer edge line of the corners are different. For example, the field surface 901 of a stadium used for bicycle racing as shown in FIG. 9 has a mortar-shaped structure in which the corners are inclined with respect to the straight lines. Therefore, it is necessary to change the height of the origin of the object coordinate system and the angles of the Y axis and Z axis depending on the position of the foreground object 105 on the field surface 901. When the angle of the field surface 901 changes in this way, a plane defined by the position information of the field surface 901 and the traveling direction vector 404 set regardless of the position of the foreground object 105 as in the first embodiment will be misaligned with the field surface 901. Consider the case where the position information of the field surface 901 corresponds to position A and the case where it corresponds to position B in FIG. 9. At this time, as shown in Fig. 10, the plane defined by position A and the moving direction vector 404 and the plane defined by position B and the moving direction vector 404 have different inclinations by angle α. Since the plane defined by position B and the moving direction vector 404 is substantially parallel to the field plane 901, the plane defined by position A and the moving direction vector 404 is inclined by angle α with respect to the field plane 901. In this way, unless the object coordinate system is defined based on the position information of the field plane 901 at an appropriate position according to the position of the foreground object 105, it becomes impossible to always keep the XY plane of the object coordinate system substantially parallel to the field plane 901. As a result, it becomes impossible to generate a panoramic composite image in which each foreground object is always captured from substantially the same angle and distance.

[0042] In addition, the corner portions of the field surface 901 may not be flat, but may be curved as shown in FIG. 13(c). In such cases, the XY plane must also be made to follow the field surface 901 so as to be approximately parallel to the field surface 901.

[0043] Therefore, in this embodiment, in order to define object coordinates, a panoramic composite image is generated using position information on the center line of the field plane 901 according to the position of the foreground object 105. Note that the description of the contents common to the first embodiment will be omitted or simplified, and the following description will focus on the differences from the first embodiment.

[0044] FIG. 11 is a block diagram showing an example of the arrangement of an image processing system 101 according to this embodiment.

[0045] The background object position acquisition unit 1101 acquires position information of the field surface 901 of the stadium. The position information of the field surface 901 is a data group of three-dimensional coordinates in a world coordinate system of at least points on a surface that contacts the foreground object 105, and can be acquired from an image captured by the imaging device 102. Note that the method of acquiring the position information of the field surface 901 is not limited to this, and it may be acquired from an external device (not shown), for example, an external server that stores the position information of the field surface 901.

[0046] The center line setting unit 1102 sets a center line on the field surface 901 based on the position information of the field surface 901 of the stadium acquired from the background object position acquisition unit 1101. FIG. 12 shows a center line 1207 set on the field surface 901. The center line setting unit 1102 first sets the course inner edge line 1201 and the course outer edge line 1202 based on the position information of the field surface 901 acquired from the background object position acquisition unit 1101. Note that although the setting is based on the position information, this is not limited to this, and the user may set any part on the background object as the course inner edge line 1201 and the course outer edge line 1202, respectively. Next, the center line setting unit 1102 obtains an orthogonal plane of the course inner edge line 1201 at an arbitrary point 1203 of the course inner edge line 1201. Then, the intersection point of this orthogonal plane and the course outer edge line 1202 is set as point 1205, and a center point 1206 is set between point 1203 and point 1205. FIG. 13 shows a center point 1206 on the field surface in a course cross section perpendicular to the inner edge line and the outer edge line of the course. When the field surface 901 is flat as in FIG. 13(a) or 13(b), the center point 1206 is the midpoint of the line segment connecting the point 1203 and the point 1205 with a straight line. However, when the field surface 901 is curved as in FIG. 13(c), the center point 1206 is set so as to be the midpoint of the arc connecting the point 1203 and the point 1105 along the field surface 901. In this way, the center points 1206 are set on the field surface 901, and the curve connecting the set center points 1206 is set as the center line 1207.

[0047] 12 is an example of an elliptical field surface, but is not limited to this. If the field surface is not a closed shape such as an ellipse and the start point and end point are different, a line connecting center point 1206 from one end of the field surface to the other may be set as center line 1207. If the imaging range is determined in more detail and only a portion of field surface 901 is the imaging range, center point 1206 and center line 1207 may be set only for the imaging range of field surface 901.

[0048] A virtual camera placement unit 303 defines an object coordinate system for each foreground object 105 and places a virtual camera, using the center line 1207 set by center line setting unit 1102 and the position information of the foreground object acquired by foreground object position acquisition unit 301. A specific method of defining the object coordinate system and a method of placing the virtual camera will be described later.

[0049] Fig. 14 is a flowchart showing a series of processing steps from placing a virtual camera on a virtual viewpoint video to generating a panoramic composite image in the image processing system 101 of this embodiment. A detailed explanation will be given below with reference to the flowchart in Fig. 14. However, since S1405 to S1411 are the same as S805 to S811, the explanation will be omitted.

[0050] In S1401, the background object position acquisition unit 1101 acquires position information of at least the surface (field surface 901) of the background object that contacts the foreground object 105.

[0051] In S1402, the center line setting unit 1102 sets a center line on the field plane 901 of the background object.

[0052] In S1403, the foreground object position acquisition unit 301 acquires position information of the foreground object 105 present on the field plane 901 at an arbitrary time (hereinafter referred to as time T0) at which a panoramic composite image is to be generated in the generated virtual viewpoint video.

[0053] In S1404, the virtual camera arrangement unit 303 sets an object coordinate system for arranging a virtual camera for each foreground object 105 based on the position information of the center line set in S1402 and the position information of each foreground object 105 acquired in S1403. FIG. 15 shows an image of the generation of the object coordinate system. As a specific method of defining the object coordinate system, first, if the point indicated by the position information of the foreground object 105 acquired in S1403 is set as point 1501, the point where the orthogonal plane including point 1501 intersects with the center line 1207 in the orthogonal plane of the center line 1207 is set as point 1502. A tangent vector 1503 of the center line 1207 at this point 1502 is derived, and the plane defined by point 1501 and tangent vector 1503 is set as the XY plane. A line 1505 is a line connecting point 1501 and center line 1502 on the XY plane. The object coordinate system defines point 1501 as the origin and the X-axis on the XY plane as parallel to tangent vector 1503. Specifically, with point 1501 as the origin, the right direction as viewed from the inner edge of the course on line 1504 is the X-axis, the direction of the inner edge of the course on line 1505 is the Y-axis, and the direction perpendicular to the X-axis and Y-axis is the Z-axis. By applying this to each foreground object 105, it becomes possible to define an object coordinate system having an XY plane that follows the field surface 901, taking into account the slope of the course, etc.

[0054] As described above, according to this embodiment, even when capturing images of a structure with differences in elevation, it is possible to generate virtual viewpoint images that show the appearance from virtual viewpoints set at the same distance and angle for each of the foreground objects 105. As a result, as in the first embodiment, it is possible to provide a single panoramic composite image that reflects the actual positional relationship between the foreground objects 105 while displaying each foreground object 105 large.

[0055] (Other Examples) The present disclosure can also be realized by a process in which a program for implementing one or more 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. It can also be realized by a circuit (e.g., ASIC) that implements one or more functions.

[0056] The present disclosure includes the following configurations and methods. [Configuration 1] a generating means for generating a plurality of virtual viewpoint images representing views from a plurality of different virtual viewpoints at the same time, using a plurality of images obtained by synchronously capturing images using a plurality of imaging devices; a synthesis means for generating a synthetic image by arranging the plurality of virtual viewpoint images on one background image; An image processing device comprising: [Configuration 2] The scales of objects included in the plurality of virtual viewpoint images in the composite image are substantially the same. 2. The image processing device according to claim 1, [Configuration 3] the plurality of virtual viewpoints have substantially the same positional relationship with respect to a foreground object associated with each virtual viewpoint; 3. The image processing device according to configuration 1 or 2. [Configuration 4] the plurality of virtual viewpoints are the same in distance to a foreground object located in a line-of-sight direction of each virtual viewpoint, and the same in angle between the line-of-sight direction and a plane defined based on positional information of a background object with which the foreground object is in contact; 4. The image processing device according to any one of configurations 1 to 3. [Configuration 5] the plane defined based on the position information of the background object is defined based on a moving direction vector of the foreground object and the position of at least one point of the background object; 5. The image processing device according to configuration 4. [Configuration 6] the surface defined based on the position information of the background object is defined based on the position of the foreground object and a tangent at a point on a center line of a surface where the foreground object and the background object are in contact, the point corresponding to the position of the foreground object; 5. The image processing device according to configuration 4. [Configuration 7] the background image includes an image area corresponding to a background object shown in each of the plurality of virtual viewpoint images; 7. The image processing device according to any one of configurations 1 to 6. [Configuration 8] the background image and the plurality of virtual viewpoint images each include an image area associated with position information in a three-dimensional coordinate system; the generating means arranges the plurality of virtual viewpoint images on the background image based on the position information. 8. The image processing device according to any one of configurations 1 to 7. [Configuration 9] The location information includes at least one-dimensional coordinates. 9. The image processing device according to configuration 8. [Configuration 10] The one-dimensional coordinates are coordinates in a direction perpendicular to a moving direction of a foreground object shown in the plurality of virtual viewpoint images. 10. The image processing device according to configuration 9. [Configuration 11] the generating means arranges the plurality of virtual viewpoint images on the background image in accordance with a positional relationship of a foreground object shown in the plurality of virtual viewpoint images. 11. The image processing device according to any one of configurations 8 to 10. [Configuration 12] the background image is an image generated by the generating means using the plurality of images based on a virtual viewpoint image that represents a view from a virtual viewpoint having at least the same orientation as the plurality of virtual viewpoints. 12. The image processing device according to any one of configurations 1 to 11, [Configuration 13] generating a plurality of virtual viewpoint images corresponding to a plurality of different virtual viewpoints at the same time using a plurality of images obtained by synchronously capturing images using a plurality of imaging devices; A step of generating a composite image by arranging the plurality of virtual viewpoint images on one background image; An image processing method comprising: [Configuration 14] A program for causing a computer to function as an image processing device according to any one of configurations 1 to 12. [Explanation of symbols]

[0057] 301 Foreground object position acquisition unit 302 Foreground object movement direction calculation unit 303 Virtual Camera Placement Section 304 Generation part

Claims

1. a generating means for generating a plurality of virtual viewpoint images representing views from a plurality of different virtual viewpoints at the same time, using a plurality of images obtained by synchronously capturing images using a plurality of imaging devices; a synthesis means for generating a synthetic image by arranging the plurality of virtual viewpoint images on one background image; An image processing device comprising:

2. The scales of objects included in the plurality of virtual viewpoint images in the composite image are substantially the same.

2. The image processing device according to claim 1,

3. the plurality of virtual viewpoints have substantially the same positional relationship with respect to a foreground object associated with each virtual viewpoint; 2. The image processing device according to claim 1,

4. the plurality of virtual viewpoints are the same in distance to a foreground object located in a line-of-sight direction of each virtual viewpoint, and the same in angle between the line-of-sight direction and a plane defined based on position information of a background object with which the foreground object is in contact; 2. The image processing device according to claim 1,

5. the plane defined based on the position information of the background object is defined based on a moving direction vector of the foreground object and the position of at least one point of the background object; 5. The image processing device according to claim 4.

6. the surface defined based on the position information of the background object is defined based on the position of the foreground object and a tangent at a point on a center line of a surface where the foreground object and the background object are in contact, the point corresponding to the position of the foreground object; 5. The image processing device according to claim 4.

7. the background image includes an image area corresponding to a background object shown in each of the plurality of virtual viewpoint images; 2. The image processing device according to claim 1,

8. the background image and the plurality of virtual viewpoint images each include an image area associated with position information in a three-dimensional coordinate system, the generating means arranges the plurality of virtual viewpoint images on the background image based on the position information.

2. The image processing device according to claim 1,

9. The position information includes at least one-dimensional coordinates.

9. The image processing device according to claim 8,

10. the one-dimensional coordinates are coordinates in a direction perpendicular to a moving direction of a foreground object shown in the plurality of virtual viewpoint images; 10. The image processing device according to claim 9,

11. the generating means arranges the plurality of virtual viewpoint images on the background image in accordance with a positional relationship of a foreground object shown in the plurality of virtual viewpoint images.

9. The image processing device according to claim 8,

12. the background image is an image generated by the generation means using the plurality of images based on a virtual viewpoint image that represents a view from a virtual viewpoint having at least the same orientation as the plurality of virtual viewpoints.

12. The image processing device according to claim 1,

13. generating a plurality of virtual viewpoint images corresponding to a plurality of different virtual viewpoints at the same time using a plurality of images obtained by synchronously capturing images using a plurality of imaging devices; A step of generating a composite image by arranging the plurality of virtual viewpoint images on one background image; An image processing method comprising:

14. A program for causing a computer to function as the image processing device according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Image processing system, image processor, control method, and program

    JP2019050593A