Video Panoramic Stitching and 3D Fusion Device
By combining the video stream with the 3D scene model, panoramic stitching and 3D reconstruction are integrated, which solves the problem of insufficient expressiveness of panoramic video in the existing technology, generates a 3D panoramic video with higher authenticity and better integration, and improves the User’s virtual experience.
Patent Information
- Application Number
- CN202310699313.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-13
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2043-06-13
AI Technical Summary
Existing panoramic video technology cannot capture objects unless they are in the real environment at all times and cannot move as expected, resulting in insufficient expressiveness.
Combine the video stream with the virtually constructed 3D scene model, capture the video stream through multiple cameras for denoising and image enhancement, perform panoramic stitching, and use 3D modeling software for 3D reconstruction and fusion to generate a more realistic and integrated generation. Good 3D panoramic video.
Achieving higher authenticity and integration of three-dimensional panoramic video, enhancing the user's virtual experience and display effect.
Smart Images

Figure CN116760963B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of video splicing and fusion, and in particular to a method and device for panoramic video splicing and three-dimensional fusion. Background Art
[0002] Panoramic video can achieve a 360-degree video display effect. Panoramic video is generally realized by using video stitching technology, such as using multiple cameras to capture video of the scene, and then stitching the videos captured by multiple cameras in real time to form a panoramic video.
[0003] Chinese patent publication number CN111583116A discloses a method and system for panoramic video stitching and fusion based on multi-camera cross-photography. The method involves obtaining simultaneous images from two cameras with overlapping shooting areas from a video stream; sequentially performing distortion correction and orthorectification on the two images to obtain a corrected image; extracting feature points from the two corrected images, and obtaining feature point matching pairs based on the feature points; obtaining a perspective transformation matrix based on the feature point matching pairs, and obtaining two perspective-transformed images based on the perspective transformation matrix; obtaining masks for the two perspective-transformed images; and stitching the two perspective-transformed images based on the final masks and feature point matching pairs. This technical solution enables stitching of images from cameras with large intersection angles between their principal optical axes.
[0004] However, the above technical solution has the following shortcomings:
[0005] Panoramic videos are limited to capturing real environments or objects. If the desired object isn't always in the frame, it's impossible to capture and shoot a panoramic video of that object. Furthermore, if the desired object doesn't move as expected, even if a panoramic video of the object can be captured, the resulting video won't meet user needs and lacks expressiveness. Summary of the Invention
[0006] The purpose of the present invention is to address the problems existing in the background technology and propose a video panoramic stitching and three-dimensional fusion method and device that can combine the captured video stream with a virtually constructed three-dimensional scene model to produce a three-dimensional panoramic video with higher realism and better integration.
[0007] On the one hand, the present invention proposes a method for panoramic video stitching and three-dimensional fusion, comprising the following steps:
[0008] S1. Use multiple cameras to shoot videos from different angles to obtain multiple video streams;
[0009] S2, performing image processing of denoising and image enhancement on multiple video streams to obtain clearer images;
[0010] S3, performing panoramic stitching on the processed multiple video streams to obtain a panoramic video;
[0011] S4. Use 3D modeling software to construct a 3D scene model;
[0012] S5. Perform three-dimensional reconstruction and fusion on the spliced panoramic video and the three-dimensional scene model to obtain a three-dimensional panoramic video after three-dimensional reconstruction and fusion.
[0013] Preferably, the method further includes S6, wherein the user controls the three-dimensional panoramic video through interaction.
[0014] Preferably, in step S2, the image processing process uses the Gaussian filter formula:
[0015]
[0016] Where G(x, y) represents the Gaussian function, σ represents the standard deviation, and x and y represent the distances of pixels in the horizontal and vertical directions, respectively.
[0017] Preferably, in step S3, panoramic stitching uses perspective transformation to transform the image coordinates before stitching into the image coordinates after stitching, and the perspective transformation formula used is:
[0018]
[0019] in, Represents the coordinate point after transformation, represents the coordinate point in the original image, f represents the focal length of the camera, θ represents the rotation angle of the camera, t x and t y Indicates the camera translation distance.
[0020] Preferably, the triangulation formula used in 3D reconstruction fusion is:
[0021]
[0022] Among them, d represents the distance from the object to the camera, b represents the length of the object on the image, and x b and x a They represent the horizontal coordinate values of the two endpoints of the object on the image.
[0023] Preferably, in step S1, multiple cameras are simultaneously in a stationary state or in a moving state to shoot the video stream.
[0024] On the other hand, the present invention provides a video panoramic stitching and 3D fusion device for implementing the above-mentioned video panoramic stitching and 3D fusion method, the video panoramic stitching and 3D fusion device comprising:
[0025] Video stream shooting module: uses multiple cameras to shoot videos from different angles to obtain multiple video streams;
[0026] Video stream processing module: performs image processing such as denoising and image enhancement on multiple video streams to obtain clearer images;
[0027] Panoramic video stitching module: performs panoramic stitching on multiple processed video streams to obtain panoramic video;
[0028] 3D scene model construction module: Use 3D modeling software to build 3D scene models;
[0029] 3D reconstruction and fusion module: 3D reconstruction and fusion of the spliced panoramic video and the 3D scene model to obtain a 3D panoramic video after 3D reconstruction and fusion;
[0030] Interactive control module: Users control the 3D panoramic video through interaction.
[0031] Preferably, the video stream shooting module includes multiple cameras and is mounted on a UAV platform. The UAV platform includes a mounting ball seat, a counterweight, a guide ring, a rotating ring, a connecting rod, a UAV body, a signal transmitter and a remote control. The mounting ball seat is a spherical structure with a hollow interior. The counterweight is arranged at the inner bottom of the mounting ball seat. Multiple cameras are evenly distributed on the spherical surface of the mounting ball seat. The guide ring is horizontally arranged on the outer circumference of the mounting ball seat. The rotating ring is rotatably arranged on the guide ring. Both ends of the connecting rod are respectively connected to the rotating ring and the UAV body. The signal transmitter is arranged on the UAV body. The signal transmitter is communicatively connected to the UAV body and the camera respectively, and the remote control is communicatively connected to the signal transmitter.
[0032] Preferably, the drone body flies in a manner of horizontally circling the mounting ball seat.
[0033] Compared with the prior art, the present invention has the following beneficial technical effects:
[0034] The present invention first creates a panoramic video by stitching together real video streams, then fuses them with a constructed virtual 3D scene model. The resulting 3D panoramic video is more realistic and integrated than a single panoramic video or 3D scene model. The resulting 3D panoramic video offers users a new and more realistic virtual experience, resulting in a superior presentation. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 Schematic diagram of the process of the method for panoramic video stitching and 3D fusion according to an embodiment of the present invention;
[0036] Figure 2This is a system structure block diagram of a device for panoramic video stitching and 3D fusion according to an embodiment of the present invention;
[0037] Figure 3 This is a structural diagram of the video stream shooting module installed on the UAV platform;
[0038] Figure 4 This is the structural block diagram of the signal transmission principle of the UAV platform;
[0039] Figure 5 The figure shows the flight path of the drone when the video stream capture module is lifted and lowered in a straight line. The solid line represents the movement path of the video stream capture module, and the dotted line represents the flight path of the drone.
[0040] Figure 6 The figure shows the flight path of the drone when the video stream shooting module moves horizontally. The solid line represents the movement path of the video stream shooting module, and the dotted line represents the flight path of the drone.
[0041] Figure 7 This is a flight path diagram of the drone body when the video stream shooting module moves along the tilt direction, where the solid line represents the moving path of the video stream shooting module and the dotted line represents the flight path of the drone body.
[0042] Figure numerals: 1. mounting ball seat; 2. guide ring; 3. rotating ring; 4. connecting rod; 5. drone body; 6. signal transmitter. DETAILED DESCRIPTION
[0043] Example 1
[0044] like Figure 1 As shown, the video panorama stitching and 3D fusion method proposed in this embodiment includes the following steps:
[0045] S1. Use multiple cameras to shoot videos from different angles to obtain multiple video streams, and the multiple cameras are simultaneously in a stationary state or in a moving state to shoot the video streams;
[0046] S2, perform image processing for multiple video streams to remove noise and enhance the image to obtain a clearer image. The image processing uses the Gaussian filter formula:
[0047]
[0048] Where G(x, y) represents the Gaussian function, σ represents the standard deviation, and the σ value is inversely proportional to the image clarity. The higher the σ value, the lower the image clarity, and the lower the σ value, the higher the image clarity. You can choose an appropriate σ value based on the actual situation. x and y represent the distance between pixels in the horizontal and vertical directions, respectively.
[0049] S3. Perform panoramic stitching on the processed multiple video streams to obtain a panoramic video. Panoramic stitching uses perspective transformation to transform the image coordinates before stitching into the image coordinates after stitching. The perspective transformation formula used is:
[0050]
[0051] in, Represents the coordinate point after transformation, represents the coordinate point in the original image, f represents the focal length of the camera, θ represents the rotation angle of the camera. When the camera is not rotated, θ is 0, t x and t y Indicates the camera translation distance;
[0052] S4. Use 3D modeling software to build a 3D scene model. 3D modeling software such as 3DS Max and Maya can be used to build the 3D scene model;
[0053] S5. Perform 3D reconstruction and fusion on the spliced panoramic video and the 3D scene model to obtain a 3D panoramic video after 3D reconstruction and fusion. During the 3D reconstruction and fusion, the 3D scene model is matched to the corresponding position of the panoramic video. The triangulation formula used in the 3D reconstruction and fusion is:
[0054]
[0055] Among them, d represents the distance from the object to the camera, b represents the length of the object on the image, and x b and x a Respectively represent the horizontal coordinate values of the two endpoints of the object on the image;
[0056] S6. The user controls the 3D panoramic video through interaction, thereby improving the user experience and enabling viewing of the 3D panoramic video with greater authenticity.
[0057] This embodiment first stitches together real video streams to create a panoramic video, which is then integrated with the constructed virtual 3D scene model. The reconstructed 3D panoramic video is more realistic and integrated than a single panoramic video or a single 3D scene model. The resulting 3D panoramic video allows users to experience a new and more realistic virtual experience, demonstrating a superior display effect.
[0058] Example 2
[0059] like Figure 1-Figure 7As shown, the video panoramic stitching and three-dimensional fusion device proposed in this embodiment is used to implement the video panoramic stitching and three-dimensional fusion method in the above-mentioned embodiment one. The video panoramic stitching and three-dimensional fusion device includes a video stream shooting module, a video stream processing module, a panoramic video stitching module, a three-dimensional scene model construction module, a three-dimensional reconstruction and fusion module and an interactive control module.
[0060] The video stream shooting module uses multiple cameras to shoot videos at different angles to obtain multiple video streams. Multiple video streams include edge coverage areas. The images of multiple video streams can completely cover the three-dimensional omnidirectional space, and there are no shooting blind spots.
[0061] The video stream processing module is used to perform image processing processes such as denoising and image enhancement on multiple video streams to obtain clearer images.
[0062] The panoramic video stitching module is used to perform panoramic stitching on multiple processed video streams to obtain a panoramic video. During stitching, the overlapping parts between adjacent video streams are cropped and only the non-overlapping video stream images are retained.
[0063] The 3D scene model construction module is used to construct a 3D scene model using 3D modeling software. The 3D scene model corresponds to the captured video stream image. The 3D modeling software used may include 3DS Max and Maya.
[0064] The 3D reconstruction fusion module is used to perform 3D reconstruction fusion on the stitched panoramic video and the 3D scene model to obtain a 3D panoramic video after 3D reconstruction fusion. The 3D panoramic video is a corresponding fusion of the panoramic video and the 3D scene model, making the 3D panoramic video more realistic.
[0065] The interactive control module enables users to control the 3D panoramic video in an interactive manner, making the user's interactive experience of the 3D panoramic video better and enabling them to have an immersive experience.
[0066] like Figure 2-Figure 4As shown, the video stream shooting module includes multiple cameras and is mounted on a UAV platform. The UAV platform includes a mounting ball seat 1, a counterweight, a guide ring 2, a rotating ring 3, a connecting rod 4, a UAV body 5, a signal transmitter 6 and a remote control. The mounting ball seat 1 is a spherical structure with a hollow interior. The counterweight is arranged at the inner bottom of the mounting ball seat 1. Multiple cameras are evenly distributed on the spherical surface of the mounting ball seat 1. The guide ring 2 is horizontally arranged on the outer circumference of the mounting ball seat 1. The rotating ring 3 is rotatably arranged on the guide ring 2. The two ends of the connecting rod 4 are respectively connected to the rotating ring 3 and the UAV body 5. The signal transmitter 6 is arranged on the UAV body 5. The signal transmitter 6 is communicated with the UAV body 5 and the camera respectively. The remote control is communicated with the signal transmitter 6 and can send signals to the UAV body 5 and the camera through the signal transmitter 6 to control the flight of the UAV body 5 and the shooting of the camera. The video stream shot by the camera can be transmitted back to the remote control through the signal transmitter 6 for storage, and the user can collect the video stream shot by the camera by reading the remote control.
[0067] When flying, the drone body 5 flies in a horizontal manner around the mounting ball seat 1. Because a counterweight block is provided on the inside of the mounting ball seat 1, when the drone body 5 revolves around the mounting ball seat 1, the drone body 5 drives the connecting rod 4 and the rotating ring 3 to rotate around the mounting ball seat 1. The guide ring 2 guides the rotating ring 3 to make the rotation process smoother. The multiple cameras on the mounting ball seat 1 can maintain the shooting orientation unchanged, ensuring the continuity and stability of the shooting picture.
[0068] like Figure 5 As shown, when the video stream shooting module is vertically raised and lowered, the mounting ball seat 1 and multiple cameras are vertically raised and lowered, and the drone body 5 is superimposed with a composite flight motion of revolving around the mounting ball seat 1 during the raising and lowering, so that multiple cameras can capture continuous video streams.
[0069] like Figure 6 As shown, when the video stream shooting module moves horizontally, the mounting ball seat 1 and multiple cameras move horizontally, and the drone body 5 is superimposed with a composite flight motion of revolving around the mounting ball seat 1 when moving horizontally, so that multiple cameras can capture continuous video streams.
[0070] like Figure 7 As shown, when the video stream shooting module moves along the tilted direction, the mounting ball seat 1 and multiple cameras also move along the tilted direction. When the drone body 5 moves along the tilted direction, a composite flight motion revolving around the mounting ball seat 1 is superimposed, so that multiple cameras can capture a continuous video stream.
[0071] Similarly, with any movement of the video stream capture module, the mounting base 1 and multiple cameras perform synchronized movement. The drone body 5 can then perform a composite flight motion, orbiting around the mounting base 1, superimposed on this synchronized movement. This allows multiple cameras in different orientations to capture a continuous video stream, ultimately ensuring the integrity and continuity of the resulting panoramic video. When the multiple cameras of the video stream capture module remain stationary in fixed positions to capture video, the drone body 5 only moves around the mounting base 1.
[0072] When the drone body 5 is in front of certain cameras, it will block the cameras' field of view, creating a blind spot. The cameras will not be able to fully capture the video stream in that direction. When the drone body 5 is turned away, the cameras can continue shooting normally, obtaining the video stream captured when the drone body 5 was not blocked. This video stream can be used to simulate the previously incomplete video stream, thereby ensuring the continuity and integrity of the video streams of multiple cameras throughout the entire shooting process.
[0073] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited thereto. Various changes can be made within the scope of knowledge possessed by those skilled in the art without departing from the spirit of the present invention.
Claims
1. A video panorama stitching and three-dimensional fusion device, characterized in that: A video panorama stitching and three-dimensional fusion method can be implemented, the method comprising the following steps: S1. Use multiple cameras to shoot videos from different angles to obtain multiple video streams; S2, performing image processing of denoising and image enhancement on multiple video streams to obtain clearer images; S3, performing panoramic stitching on the processed multiple video streams to obtain a panoramic video; S4, construct a three-dimensional scene model using three-dimensional modeling software; S5, performing three-dimensional reconstruction and fusion of the spliced panoramic video and the three-dimensional scene model to obtain a three-dimensional panoramic video after three-dimensional reconstruction and fusion; In step S1, multiple cameras are simultaneously in a stationary state or simultaneously in a moving state to capture a video stream; The video panorama stitching and 3D fusion device includes: Video stream shooting module: use multiple cameras to shoot videos from different angles to obtain multiple video streams; Video stream processing module: performs image processing of denoising and image enhancement on multiple video streams to obtain clearer images; Panoramic video stitching module: stitches multiple processed video streams to obtain panoramic video; 3D scene model building module: Use 3D modeling software to build 3D scene models; 3D reconstruction fusion module: 3D reconstruction and fusion of the spliced panoramic video and the 3D scene model to obtain a 3D panoramic video after 3D reconstruction and fusion; Interactive control module: users can control the 3D panoramic video through interaction; The video stream shooting module comprises a plurality of cameras and is mounted on a drone platform. The drone platform comprises a mounting ball seat (1), a counterweight, a guide ring (2), a rotating ring (3), a connecting rod (4), a drone body (5), a signal transmitter (6) and a remote controller. The mounting ball seat (1) is a spherical structure with a hollow interior. The counterweight is arranged at the inner bottom of the mounting ball seat (1). The plurality of cameras are evenly distributed on the spherical surface of the mounting ball seat (1). The guide ring (2) is horizontally arranged on the outer peripheral surface of the mounting ball seat (1). The rotating ring (3) is rotatably arranged on the guide ring (2). The two ends of the connecting rod (4) are respectively connected to the rotating ring (3) and the drone body (5). The signal transmitter (6) is arranged on the drone body (5). The signal transmitter (6) is respectively connected to the drone body (5) and the camera. The remote controller is connected to the signal transmitter (6). The drone body (5) flies in a manner of horizontally circling the mounting ball seat (1).
