Virtual machine position system for augmented reality technology and use method of virtual machine position system
Through the combination of virtual machine bit system and projection transformation matrix, the problems of perspective and space limitations in the prior art are solved, diversified display of virtual scenes and high-quality synthesis effects are achieved, and user experience is enhanced.
Patent Information
- Application Number
- CN202410967396.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-11-05
AI Technical Summary
The existing extended reality technology based on LED screens/green screens has great limitations in perspective, flexibility, synthesis effect and space utilization, and it is difficult to meet the growing demand for high-quality virtual scene display.
By introducing a virtual machine bit system, the pose parameters of the virtual machine bit are managed by the server, the position, orientation and field of view of the virtual machine bit are independently set and adjusted, and the spatial calibration and projection transformation matrix are combined to achieve diversified display of virtual scenes. And seamlessly fuse through synthetic masks.
It breaks through the limitations of real camera position, realizes diversified virtual perspective display, improves the expressiveness and visual effects of virtual scenes, enhances the user's immersion experience, and improves the space utilization rate.
Smart Images

Figure CN118898703A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of extended reality technology, and in particular to a virtual machine position system for extended reality technology and a method of using the same. Background Art
[0002] With the rapid development of extended reality (XR) technology, mixed reality (MR) technology has gradually become an important tool in many fields such as film, television, games, and education. As a cutting-edge technology, XR mixed reality technology based on LED screens / green screens provides users with an immersive experience by combining elements of the real world and the virtual world. In this technology, hardware devices such as LED screens / green screens, cameras, tracking devices, and servers work together to achieve seamless integration of virtual content and real scenes through spatial calibration, real-time tracking, and color calibration technology.
[0003] Traditional XR mixed reality technology mainly relies on the movement and position of real cameras to determine the perspective and display content of virtual scenes. During the shooting process, the camera's posture (including position and orientation) is obtained in real time by the tracking device and used to generate and synthesize virtual scenes. However, this method has some significant disadvantages and limitations:
[0004] Limited viewing angle: Traditional methods can only change the viewing angle by moving the real camera, so the change of viewing angle is limited by the size of the shooting scene. It is impossible to achieve the effect of long-range shooting or displaying the virtual scene from different angles, which limits the expressiveness of the virtual scene and the user's immersive experience.
[0005] Space limitation: In the actual shooting environment, the range of motion of the camera is limited by the size and layout of the shooting site, which greatly limits the flexibility and shooting effect of the camera. In particular, in some applications that require large-scale display of virtual scenes, traditional methods seem to be unable to cope with the situation.
[0006] Poor synthesis effect: Since the synthetic image can only change with the movement of the real camera, it is impossible to fully display the whole picture of the virtual scene during the synthesis process, affecting the final visual effect. Especially when complex scene switching and multi-angle display are required, the synthesis effect of traditional methods often cannot meet the high-quality requirements.
[0007] Low space utilization: Since the camera needs to move in a limited space, the utilization rate of the site is low in actual shooting, making it difficult to give full play to the advantages of the virtual scene.
[0008] In summary, the existing XR mixed reality technology based on LED screens / green screens has great limitations in terms of viewing angle, flexibility, synthesis effect and space utilization, and it is difficult to meet the growing demand for high-quality virtual scene display. Summary of the invention
[0009] The present application provides a virtual machine position system for extended reality technology and a method of using the same, aiming to solve the problem that the existing XR mixed reality technology based on LED screens / green screens has significant limitations in terms of viewing angle, flexibility, synthesis effect and space utilization.
[0010] In a first aspect, a virtual machine positioning system for extended reality technology includes an LED screen / green screen, a camera, a tracking device and a server, and the system also includes:
[0011] The real camera position is obtained by tracking equipment and spatial calibration technology. The position includes internal parameters, position, orientation and field of view.
[0012] A virtual camera, whose pose is independent of the real camera settings, including position, orientation and field of view;
[0013] The reference plane is set up in the virtual scene space, and spatial calibration is achieved by selecting four non-collinear calibration points;
[0014] Projection transformation matrix, by obtaining the posture data of the real camera position and the virtual camera position, the four calibration points of the reference plane are mapped respectively. The mapping result of the real camera position is P_real, and the mapping result of the virtual camera position is P_virtual. The projection transformation matrix is constructed through P_real and P_virtual;
[0015] The image projection transformation and synthesis module projects the image captured by the camera through the projection transformation matrix, determines its position in the synthesized image, and achieves seamless fusion through the synthesis mask.
[0016] In the above solution, optionally, the posture of the virtual camera position is managed and adjusted by the server, and is set to a distant view or close-up view different from the real camera position according to demand.
[0017] In the above solution, optionally, the projection transformation matrix is constructed by a mapping relationship between the image point coordinates of the real machine position and the image point coordinates of the virtual machine position.
[0018] In the above scheme, optionally, the image projection transformation and synthesis module performs projection transformation on the capture card image through a projection transformation matrix, and the synthesis mask adopts the same projection transformation to ensure seamless fusion of the perspective of the virtual machine position and the image of the real machine position.
[0019] In the above solution, optionally, the virtual machine position system ensures that the image coordinate system of the virtual machine position and the real machine position accurately corresponds to each other through spatial calibration, thereby achieving accurate picture synthesis.
[0020] In a second aspect, a virtual machine position method for augmented reality technology, the method comprising:
[0021] Set up a reference plane in the virtual space and select four calibration points that are not collinear with each other;
[0022] Get the pose data of the real camera, and map the four calibration points of the reference plane to the image coordinate system to obtain P_real;
[0023] Set the virtual machine position in the virtual space. The position and posture of the virtual machine position can be bound to the real camera or set independently. The configurable parameters include position, orientation and field of view. Map the four calibration points of the reference plane to the image coordinate system to obtain P_virtual.
[0024] The projection transformation matrix is constructed through real-time calculation of P_real and P_virtual, and the image captured by the camera is projected and transformed to determine its position in the composite image;
[0025] The composite mask is used to achieve seamless fusion of the virtual camera shooting scene image and the real camera image to generate the final composite image.
[0026] In the above solution, optionally, the posture of the virtual camera position is managed and adjusted by the server, and can be set to a distant view or close-up view different from the real camera position according to needs.
[0027] In the above solution, optionally, the projection transformation matrix is constructed by a mapping relationship between the image point coordinates of the real machine position and the image point coordinates of the virtual machine position;
[0028] The picture projection transformation step includes projecting the picture captured by the camera through a projection transformation matrix to determine its position in the virtual scene, and ensuring seamless fusion of the perspective of the virtual camera position with the picture of the real camera position through a synthetic mask.
[0029] Compared with the prior art, this application has at least the following beneficial effects:
[0030] Based on further analysis and research of the existing technical problems, this application recognizes that the existing XR mixed reality technology based on LED screens / green screens has great limitations in terms of viewing angle, flexibility, synthesis effect and space utilization. The posture parameters of the virtual machine position are managed by the server, and these parameters can be independently set and adjusted according to the needs. A reference plane is set up in the virtual space, and space calibration and projection transformation are realized by selecting four non-collinear calibration points. The projection transformation matrix is constructed through the mapping relationship between the calibration points of the real camera position and the virtual machine position, which is used for the projection transformation of the picture. Through the projection transformation matrix, the picture collected by the camera is projected and transformed, its position in the virtual scene is determined, and mask synthesis is performed. It breaks through the limitations of the real camera posture, realizes diversified virtual perspective display, ensures that the image coordinate system of the virtual machine position and the real camera position accurately corresponds, realizes accurate picture synthesis, realizes seamless projection and synthesis of pictures with different perspectives, improves the expressiveness of the virtual scene, realizes accurate synthesis of the perspective of the virtual machine position, and enhances the visual effect and immersion of the virtual scene. By introducing the virtual machine position system, this application realizes the diversification and flexibility of the perspective, is not limited by the movement range of the real camera, and solves the problems of limited perspective and space limitation in the prior art. Through the independent configuration of virtual camera positions and real camera positions, the system can move freely in the virtual space, improving the synthesis effect and space utilization of the virtual scene, thereby enhancing the user's immersive experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A flowchart of a virtual machine position method for extended reality technology provided by one embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0033] In one embodiment, a virtual machine position system for augmented reality technology is provided, comprising an LED screen / green screen, a camera, a tracking device and a server, wherein the system further comprises:
[0034] The real camera position is obtained by tracking equipment and spatial calibration technology. The position includes internal parameters, position, orientation and field of view.
[0035] A virtual camera, whose pose is independent of the real camera settings, including position, orientation and field of view;
[0036] The reference plane is set up in the virtual scene space, and spatial calibration is achieved by selecting four non-collinear calibration points;
[0037] Projection transformation matrix, by obtaining the posture data of the real camera position and the virtual camera position, the four calibration points of the reference plane are mapped respectively. The mapping result of the real camera position is P_real, and the mapping result of the virtual camera position is P_virtual. The projection transformation matrix is constructed through P_real and P_virtual;
[0038] The image projection transformation and synthesis module projects the image captured by the camera through the projection transformation matrix, determines its position in the synthesized image, and achieves seamless fusion through the synthesis mask.
[0039] By introducing the virtual camera system, the diversification and flexibility of the viewing angle are achieved, which is not limited by the movement range of the real camera, and solves the problems of limited viewing angle and space in the existing technology. The system can move freely in the virtual space through the independent configuration of the virtual camera and the real camera, which improves the synthesis effect and space utilization of the virtual scene, thereby enhancing the user's immersive experience.
[0040] In this embodiment, the position and posture of the virtual camera position is managed and adjusted by the server, and is set to a distant view or close-up view different from the real camera position according to needs.
[0041] The posture of the virtual machine is managed and adjusted through the server, and the distant or close-up perspective can be flexibly set according to needs, further enhancing the expressiveness of the virtual scene and the user experience, breaking through the limitations of the real camera posture.
[0042] In this embodiment, the projection transformation matrix is constructed by the mapping relationship between the image point coordinates of the real machine position and the image point coordinates of the virtual machine position.
[0043] By constructing a projection transformation matrix and utilizing the image point coordinate mapping relationship between the real camera position and the virtual camera position, the seamless integration of the perspectives of the virtual camera position and the real camera position is ensured, thereby improving the synthesis effect and accuracy of the picture.
[0044] In this embodiment, the image projection transformation and synthesis module performs projection transformation on the capture card image through a projection transformation matrix, and the synthesis mask uses the same projection transformation to ensure seamless integration of the virtual machine's viewing angle and the real machine's image.
[0045] Through the application of projection transformation matrix and synthesis mask, the seamless integration of the perspective of the virtual camera and the real camera is ensured. The generated synthetic picture is more natural and accurate, which improves the visual effect of the virtual scene.
[0046] In this embodiment, the virtual machine position system ensures that the image coordinate system of the virtual machine position and the real machine position accurately corresponds to each other through space calibration, thereby achieving accurate picture synthesis.
[0047] Through spatial calibration, the image coordinate systems of the virtual machine position and the real machine position are ensured to correspond accurately, which enables accurate display and synthesis of virtual scenes and further enhances the user's immersive experience and visual effects.
[0048] This embodiment proposes a virtual machine position system for extended reality technology, which aims to overcome the limitations of existing technologies and realize the diversified display of virtual scenes through the introduction of virtual machine positions. The system mainly includes hardware devices such as LED screens / green screens, cameras, tracking devices, and servers. The position of the camera is obtained through space calibration and real-time tracking devices, and the picture is projected in the virtual space. The virtual machine position is used to determine the screen / green screen display content and synthetic mask, thereby realizing the flexible display of virtual scenes. The specific technical solution is as follows:
[0049] The hardware components include: LED screen / green screen: used to display the content of the virtual scene, as a fusion medium for the background and foreground. Camera: used to shoot the scene and obtain its real-time posture through the tracking device. Tracking device: used to track the posture information of the camera in real time (including x, y, z position and pan, tilt, roll angle, zoom focal length (which can be converted to field of view fov)). Server: used to process the posture data transmitted by the tracking device, and perform projection transformation calculations of the virtual machine position and the real camera position, as well as merge the captured image and the virtual image into a composite image.
[0050] In the virtual space, a virtual machine position is established, and the posture (including position, orientation and field of view) of the virtual machine position can be set independently of the posture of the real camera.
[0051] The position of the virtual camera is managed and adjusted through the server, and can be set to a distant or close-up perspective different from the real camera according to needs.
[0052] In the world space of the virtual scene, a reference plane is established, and the reference plane is positioned at the location of the main shooting content.
[0053] Four non-collinear points are selected on the reference plane as calibration points. These four points have different mapping relationships in the image coordinates of the real machine position and the virtual machine position.
[0054] By acquiring the pose data of the real camera, the four calibration points of the reference plane are mapped to the image coordinate system to obtain the image point coordinates of the real camera. Similarly, the pose of the virtual camera is applied to the four calibration points on the reference plane to obtain the image point coordinates of the virtual camera. Based on the image point coordinates of the real camera and the virtual camera, a projection transformation matrix is constructed.
[0055] Through the projection transformation matrix, the image captured by the camera is projected and transformed to determine the position of the capture card image in the composite image.
[0056] The compositing mask uses the same projection transform, ensuring that the perspective of the virtual camera blends seamlessly with the real camera's image.
[0057] The final composite image shows the shooting effect of the virtual position, realizing the display of virtual scenes from different perspectives.
[0058] Through the above technical solutions, this embodiment can effectively overcome the limitations of the existing technology, realize the diversified and flexible display of virtual scenes, and enhance the application effect of extended reality technology.
[0059] This embodiment, through the introduction of virtual machine positions, can realize diversified virtual scene display without being restricted by the actual shooting environment. By flexibly adjusting the position of the virtual machine position, various shooting effects such as long-range and close-up can be achieved, which enhances the expressiveness of the virtual scene. This technical solution can fully display the virtual scene and improve the application effect and user experience of XR mixed reality technology.
[0060] Independent configuration of the virtual machine position in this embodiment: the virtual machine position and the position and posture of the real camera are processed independently, allowing the virtual machine position to be freely configured in the virtual space.
[0061] Implementation method: The posture parameters (including position, orientation and field of view) of the virtual machine are managed by the server. These parameters can be set and adjusted independently according to needs. They can also be bound to the posture of the real camera and adjusted based on the real posture to achieve the effect of moving with the real camera posture; breaking through the limitations of the real camera posture and realizing a variety of virtual perspective displays.
[0062] The spatial calibration of the reference plane in this embodiment: a reference plane is set up in the virtual space, and four non-collinear calibration points are selected to achieve spatial calibration and projection transformation. The four calibration points on the reference plane are mapped differently in the image coordinates of the real camera position and the virtual camera position, and the projection transformation matrix is constructed through these mapping relationships. Ensure that the image coordinate system of the virtual camera position and the real camera position accurately corresponds to achieve accurate picture synthesis.
[0063] The construction of the projection transformation matrix in this embodiment: The projection transformation matrix is constructed through the mapping relationship of the calibration points between the real camera and the virtual machine, and is used for the projection transformation of the picture. The image point coordinates of the real camera and the image point coordinates of the virtual machine are projected and transformed by using matrix operations and computer vision technology. Seamless projection and synthesis of pictures from different perspectives are achieved, which improves the expressiveness of the virtual scene.
[0064] The screen projection transformation and synthesis of this embodiment: Through the projection transformation matrix, the screen captured by the camera is projected and transformed to determine its position in the virtual scene, and mask synthesis is performed. The capture card screen is transformed and calculated through the projection transformation matrix, and the synthesis mask uses the same transformation to ensure the accuracy of the final synthesized screen. The precise synthesis of the virtual machine's perspective is achieved, enhancing the visual effect and immersion of the virtual scene.
[0065] In one embodiment, a method for implementing a virtual machine position for augmented reality technology is provided, the method comprising the following steps:
[0066] Set up a reference plane in the virtual space and select four calibration points that are not collinear with each other;
[0067] Get the pose data of the real camera, and map the four calibration points of the reference plane to the image coordinate system to obtain P_real;
[0068] Set the virtual machine position in the virtual space. The position and posture of the virtual machine position can be bound to the real camera or set independently. The configurable parameters include position, orientation and field of view. Map the four calibration points of the reference plane to the image coordinate system to obtain P_virtual.
[0069] The projection transformation matrix is constructed through real-time calculation of P_real and P_virtual, and the image captured by the camera is projected and transformed to determine its position in the composite image;
[0070] The composite mask is used to achieve seamless fusion of the virtual camera shooting scene image and the real camera image to generate the final composite image.
[0071] The position and posture of the virtual camera position is managed and adjusted by the server, and can be set to a distant view or close-up view different from the real camera position according to needs.
[0072] The projection transformation matrix is constructed by the mapping relationship between the image point coordinates of the real machine position and the image point coordinates of the virtual machine position;
[0073] The picture projection transformation step includes projecting the picture captured by the camera through a projection transformation matrix to determine its position in the virtual scene, and ensuring seamless fusion of the perspective of the virtual camera position with the picture of the real camera position through a synthetic mask.
[0074] The virtual machine position system ensures accurate correspondence between the image coordinate systems of the virtual machine position and the real machine position through spatial calibration, thereby achieving accurate picture synthesis.
[0075] The method includes using a depth sensor to obtain depth information of a shooting scene, combining it with the position data of a camera, and generating a depth map of a three-dimensional space to achieve accurate adjustment and positioning of a virtual machine in a virtual space.
[0076] The depth information obtained by the depth sensor can directly map the three-dimensional points to the image coordinates of the virtual machine position, thereby enhancing the natural effect of the deformed picture.
[0077] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
Claims
1. A virtual machine positioning system for extended reality technology, comprising an LED screen / green screen, a camera, a tracking device and a server, characterized in that: The system further comprises: The real camera position is obtained by tracking equipment and spatial calibration technology. The position includes internal parameters, position, orientation and field of view. A virtual camera, whose pose is independent of the real camera settings, including position, orientation and field of view; The reference plane is set up in the virtual scene space, and spatial calibration is achieved by selecting four non-collinear calibration points; Projection transformation matrix, by obtaining the pose data of the real camera and the virtual camera, the four calibration points of the reference plane are mapped respectively. The mapping result of the real camera is P_real, and the mapping result of the virtual camera is For P_virtual, construct the projection transformation matrix through P_real and P_virtual; The image projection transformation and synthesis module projects the image captured by the camera through the projection transformation matrix, determines its position in the synthesized image, and achieves seamless fusion through the synthesis mask.
2. The virtual position system according to claim 1, characterized in that: The position and posture of the virtual camera are managed and adjusted by the server, and are set to a distant view or close-up view different from the real camera according to the requirements.
3. The virtual position system according to claim 1, characterized in that: The projection transformation matrix is constructed by the mapping relationship between the image point coordinates of the real machine position and the image point coordinates of the virtual machine position.
4. The virtual position system according to claim 1, characterized in that: The image projection transformation and synthesis module performs projection transformation on the capture card image through a projection transformation matrix, and the synthesis mask adopts the same projection transformation to ensure seamless fusion of the viewing angle of the virtual machine position and the image of the real machine position.
5. The virtual position system according to claim 1, characterized in that: The virtual machine position system ensures accurate correspondence between the image coordinate systems of the virtual machine position and the real machine position through spatial calibration, thereby achieving accurate picture synthesis.
6. A method for implementing a virtual machine position for extended reality technology, applied to the system according to any one of claims 1 to 5, the method comprising: Set up a reference plane in the virtual space and select four calibration points that are not collinear with each other; Get the pose data of the real camera position, and map the four calibration points of the reference plane to the image coordinate system to obtain P_real; Set the virtual machine position in the virtual space. The position and posture of the virtual machine position can be bound to the real camera or set independently. The configurable parameters include position, orientation and field of view. Map the four calibration points of the reference plane to the image coordinate system to obtain P_virtual. The projection transformation matrix is constructed through real-time calculation of P_real and P_virtual, and the image captured by the camera is projected and transformed to determine its position in the composite image; The composite mask is used to achieve seamless fusion of the virtual camera shooting scene image and the real camera image to generate the final composite image.
7. The method according to claim 6, characterized in that The position and posture of the virtual camera position is managed and adjusted by the server, and can be set to a distant view or close-up view different from the real camera position according to needs.
8. The method according to claim 6, characterized in that The projection transformation matrix is constructed by the mapping relationship between the image point coordinates of the real machine position and the image point coordinates of the virtual machine position; The picture projection transformation step includes projecting the picture captured by the camera through the projection transformation matrix, determining its position in the virtual scene, and ensuring the seamless integration of the perspective of the virtual camera position and the picture of the real camera position through the synthesis mask.
